/********** Template CSS **********/


/* body {
    overflow-x: hidden;
} */

:root {
    --primary: #58170d;
    --light: #F0FBFC;
    --dark: #181d38;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


** Spinner ***/ #spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.logo-1 {
    position: absolute;
    top: -23px;
    left: 90px;
    height: 185px;
    width: 145px;
}

/* Mobile  */
@media (max-width: 768px) {
    .logo-1 {
        top: -7px;
        left: 17px;
        height: 140px;
        width: auto;
    }
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 107px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header carousel ***/
/* @media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
} */


/* @media (max-width: 768px) {
    .header-carousel .owl-carousel-item,
    .header-carousel .owl-item {
        min-height: 500px !important;
        height: auto !important;
    }
} */






.header-carousel .owl-nav {
    position: absolute;
    top: 30%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    font-weight: bolder;
}

/* =========================
   BOOTSTRAP CAROUSEL
========================= */

.home {
    height: 770px;
    border-radius: 0px !important;
}

.carousel-item {
    position: relative;
}

.carousel-caption-custom {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 750px;
}

/* .carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
} */

/* =========================
   FIRST SLIDE
========================= */

.head-1 {
    font-size: 90px;
    font-weight: 900;
    color: gold;
    letter-spacing: 9px;
    text-transform: uppercase;
    line-height: 1;
    text-shadow: 0px 5px 25px rgba(0, 0, 0, .6);
    font-family: 'Nunito', sans-serif;
    margin-left: 50px;
}

.head-1::after {
    content: "AI FINISHING SCHOOL";
    display: block;
    font-size: 22px;
    letter-spacing: 10px;
    color: #fff;
    margin-top: 15px;
    margin-left: 90px;
    font-weight: 800;
}

.hero-text {
    color: #fff;
    font-size: 18px;
    line-height: 1.8;
    max-width: 650px;
    font-weight: 600;
    margin-left: 50px;
}

/* =========================
   OTHER SLIDES
========================= */

.slider-h,
.slider-h-3,
.slider-h-4 {
    font-size: 65px;
    font-weight: 800;
    line-height: 1.2;
    margin-left: 55px;
}

.slider-h-p,
.slider-h-p-3,
.slider-h-p-4 {
    font-size: 18px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: 55px;
}

/* =========================
   BUTTON
========================= */

.slider-btn,
.btn-primary {
    background: goldenrod;
    border: none;
    font-weight: 700;
    border-radius: 10px;
    padding: 8px 40px;
    color: #fff;
    margin-left: 55px;
}

.slider-btn:hover,
.btn-primary:hover {
    background: brown;
}

/* =========================
   MOBILE
========================= */

@media (max-width:768px) {

    .home {
        min-height: 700px;
        object-fit: cover;
    }

    .carousel-caption-custom {
        left: 2%;
        right: 5%;
        max-width: 85%;
    }

    .head-1 {
        font-size: 30px;
        letter-spacing: 4px;
        margin-top: 100px;
        margin-left: 55px;
    }

    .head-1::after {
        font-size: 12px;
        letter-spacing: 4px;
        margin-left: 1px;
    }

    .hero-text {
        font-size: 10px;
        line-height: 1.6;
        width: 80%;
        margin-left: 30px;
        margin-top: -35px;
    }

    .slider-h,
    .slider-h-3,
    .slider-h-4 {
        font-size: 20px;
        line-height: 1.3;
        margin-top: 80px;
        margin-left: 20px;
    }

    .slider-h-p,
    .slider-h-p-3,
    .slider-h-p-4 {
        font-size: 11px;
        line-height: 1.6;
        margin-left: 20px;

    }

    .slider-btn,
    .btn-primary {
        padding: 6px 16px;
        font-size: 10px;
        margin-bottom: 40px;
    }

    /* REMOVE GAP */

    .container-fluid.p-0.mb-5 {
        margin-bottom: 2 !important;
    }

    .carousel {
        margin-bottom: 45px !important;
    }

    .carousel-inner {
        margin-bottom: 0 !important;
    }

    .mobile-no-gap {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

@media (max-width: 768px) {

    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }

}


/* about start */

.about-h {
    font-weight: bold;
    font-size: 40px;
}

.about-p {
    line-height: 35px;
    font-weight: bold;
    color: #58170d;
}

.abt-p-h {
    font-size: 30px;
}

/* COURSE CARD */
.course-item {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    transition: 0.4s ease;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    gap: 30px;

}

/* IMAGE */
.course-item img {
    width: 600px;
    height: 300px;
    object-fit: cover;
    transition: 0.5s ease;
    border-radius: 20px 20px 0 0;

}

/* CARD HOVER */
.course-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

/* IMAGE ZOOM */
.course-item:hover img {
    transform: scale(1.08);
}

/* COURSE NAME AREA */
.course-item .text-center {
    padding: 12px 10px !important;
    background: white;
}

/* COURSE NAME */
.course-item h5 {
    margin-top: -5px;
    min-height: 70px;
    font-size: 20px;
    font-weight: 800;
    color: #58170d;
    letter-spacing: 1px;
    transition: 0.3s ease;
    font-style: inherit;
    border-radius: 20px;
    overflow: hidden;
}

.course-h {
    font-size: 50px;
    font-weight: bolder;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;

}

/* TEXT HOVER */
.course-item:hover h5 {
    color: black;
}

.explr-btn {
    background: #58170d;
    border: none;
    font-weight: 700;
    border-radius: 10px;
    padding: 9px 33px;
    color: white;
    position: relative;
    top: -25px
}

.explr-btn:hover {
    background-color: black;
    color: darkgoldenrod;
}

/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** Service ***/
.service-item {
    background: var(--light);
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}


/*** Categories & Courses ***/
.category img,
.course-item img {
    transition: .5s;
}

.category a:hover img,
.course-item:hover img {
    transform: scale(1.1);
}


/*** Team ***/

.team-h {
    font-size: 50px;
    font-weight: bolder;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
}

@media (max-width: 768px) {
    .team-h {
        font-size: 32px;
        line-height: 1.3;
        padding: 0 10px;
    }
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.feed-h {
    font-size: 50px;
    font-weight: bolder;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

@media (max-width: 768px) {
    .feed-h {
        font-size: 40px;
        line-height: 1.4;
        text-align: center;
        padding: 0 10px;
    }
}


/*** Footer ***/
.footer-logo {
    max-width: 350px;
    height: 130px;
    margin-left: 185px;
    margin-top: -35px;
}

.footer-p {
    max-width: 360px;
    line-height: 1.8;
    margin-left: 180px;
    margin-bottom: 20px;
    width: 400px;
}

@media (max-width: 991px) {

    .footer-logo {
        margin: auto;
        display: block;
        max-width: 300px;
    }

    .footer-p {
        text-align: center;
        margin: auto;
        display: block;
        max-width: 300px;
    }

}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


/* courses page */

html,
body {
    overflow-x: hidden;
}

.course-img-box {
    border-radius: 25px;
}

.course-main-img {
    width: 100%;
    object-fit: cover;
    border-radius: 28px;
}

/* .course-main-img:hover {
    transform: scale(1.05);
} */

.course-tag {
    background-color: #58170d;
    color: gold;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.course-title {
    font-size: 55px;
    font-weight: 800;
    color: #181d38;

}

.course-description {
    color: #666;
    line-height: 1.9;
    font-size: 17px;
}

.info-box {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    transition: 0.4s;
    height: 100%;
}

.info-box:hover {
    transform: translateY(-8px);
}

.info-box i {
    font-size: 28px;
    color: #58170d;
    margin-bottom: 15px;
}



.course-btn {
    background-color: #58170d;
    color: gold;
    padding: 14px 35px;
    border-radius: 40px;
    font-weight: 600;
}

.course-btn:hover {
    background-color: #3f0f08;
    color: white;
}

.course-btn-outline {
    border: 2px solid #58170d;
    color: #58170d;
    padding: 14px 35px;
    border-radius: 40px;
    font-weight: 600;
}

.course-btn-outline:hover {
    background-color: #58170d;
    color: white;
}

.module-box {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.05);
    transition: 0.4s;
    text-align: center;
    height: 100%;
}

.module-box:hover {
    transform: translateY(-10px);
}

.module-box i {
    font-size: 35px;
    color: #58170d;
    margin-bottom: 20px;
}

.why-img {
    border-radius: 25px;
}

.why-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 600;
}

.why-item i {
    color: green;
    font-size: 22px;
}

@media(max-width:768px) {

    .course-title {
        font-size: 38px;
    }

}

/* counciling */

.counselling-section {
    background: #58170d;
    border-radius: 30px;
    margin: 80px auto;
    width: 95%;
    box-shadow: 0px 10px 35px rgba(0, 0, 0, 0.15);
}

.counselling-title {
    color: white;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
}

.counselling-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    line-height: 32px;
    margin: 0;
}

.counselling-btn {
    background-color: gold;
    color: #58170d;
    padding: 16px 38px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: 0.4s;
}

.counselling-btn:hover {
    background-color: white;
    color: #58170d;
    transform: translateY(-5px);
}

/* MOBILE */

@media(max-width:768px) {

    .counselling-section {
        text-align: center;
        padding: 40px 20px !important;
    }

    .counselling-title {
        font-size: 30px;
    }

    .counselling-text {
        font-size: 16px;
        line-height: 28px;
    }

    .counselling-btn {
        width: 100%;
    }

}


/* blogs */

.blog-box {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: .4s;
    height: 100%;
}

.blog-box:hover {
    transform: translateY(-10px);
}

.blog-img {
    position: relative;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: .5s;
}

/* .blog-box:hover .blog-img img {
    transform: scale(1.1);
} */

.blog-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #58170d;
    color: gold;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

.blog-content {
    padding: 25px;
}

.blog-content small {
    color: #888;
    font-weight: 600;
}

.blog-content h5 {
    margin: 12px 0;
    line-height: 1.5;
    font-weight: 700;
    min-height: 80px;
}

.blog-content a {
    color: #58170d;
    font-weight: 700;
    text-decoration: none;
}

.blog-content a:hover {
    color: brown;
}


/* blogg pagessss */

/* BLOG PAGE TITLE */
h1,
h3,
h5 {
    font-family: 'Nunito', sans-serif;
}

/* MAIN TEXT */
p {
    line-height: 1.7;
    font-size: 15px;
}

/* IMAGE STYLE */
/* FEATURE BOX (3 boxes at bottom) */
.border.rounded.shadow-sm {
    transition: 0.3s ease;
    background: #fff;
}

.border.rounded.shadow-sm:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* LIST ITEMS */
.list-group-item {
    border: none;
    padding-left: 0;
    font-size: 15px;
}

/* BUTTON */
.btn-dark {
    background-color: #58170d;
    border: none;
    border-radius: 30px;
}

.btn-dark:hover {
    background-color: #3f0f08;
}

/* RESPONSIVE IMAGE CONTROL */
@media (max-width: 768px) {
    img {
        max-height: 500px;
    }
}


/* conatct page */

.form-control:focus {
    border-color: #58170d;
    box-shadow: 0 0 0 0.15rem rgba(88, 23, 13, 0.2);
}

.contact-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
}

.contact-card:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}

.submitt-btn {
    background: goldenrod;
    border: none;
    font-weight: 700;
    border-radius: 10px;
    padding: 8px 40px;
    color: #fff;
    margin-left: 0px;
}

.submitt-btn:hover {
    background-color: #58170d;
}


/* SECTION GAP */

.hero-banner-section {
    margin-top: 70px;
    margin-bottom: 70px;
}

/* MAIN BANNER */

.hero-banner {
    background: linear-gradient(135deg, #58170d, #2a0805);
    border-radius: 30px;
    padding: 70px 60px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
}

/* BADGE */

.hero-badge {
    display: inline-block;
    background: gold;
    color: #58170d;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* TITLE */

.hero-banner-title {
    color: #fff;
    font-size: 58px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-banner-title span {
    color: gold;
}

/* TEXT */

.hero-banner-text {
    color: white;
    font-size: 18px;
    line-height: 1.9;
    max-width: 700px;
    font-weight: bold;
}

/* BUTTONS */

.hero-btn {
    background: gold;
    color: #58170d;
    font-weight: bolder;
    padding: 14px 35px;
    border-radius: 50px;
    border: none;
}

.hero-btn:hover {
    background: white;
    color: #58170d;
}

.hero-btn-outline {
    border: 2px solid #fff;
    color: #fff;
    padding: 14px 35px;
    border-radius: 50px;
}

.hero-btn-outline:hover {
    background: #fff;
    color: #58170d;
}

/* IMAGE */

.hero-banner-img {
    max-width: 320px;
    height: 250px;
    border-radius: 20px;
    object-fit: cover;
}

/* MOBILE */

@media(max-width:768px) {

    .hero-banner-section {
        display: none !important;
    }
}


/* after course bannner */

.course-banner {
    background: linear-gradient(135deg, #58170d, #2a0805);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    color: white;
}

.course-banner h3 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 15px;
    color: whitesmoke;
}

.course-banner p {
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto 20px;
    color: rgba(255, 255, 255, .9);
}

.course-banner-btn {
    background: gold;
    color: #58170d;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
}

.course-banner-btn:hover {
    background: white;
    color: #58170d;
}

@media(max-width:768px) {

    .course-banner {
        display: none !important;
    }
}