@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --primary-color: #ffb506;
    --third-color: #e5a000;
    --secondary-color: #121212;
    --white-color: #FFFFFF;
    --footer-color: #F8ECE0;
    --text-color: #434343;
    --text-color-2: #727272;
    --my-font: "Playfair Display", serif;
    --box-shadow: 2px 2px 15px 0px rgba(58, 58, 58, 0.155);
    --box-shadow-2: 0px 0px 25px 1px rgba(75, 75, 75, 0.1);
    --box-shadow-3: 0px 0px 20px 1px rgba(75, 75, 75, 0.1);
    --box-shadow-4: 0px 2px 15px 1px rgba(58, 58, 58, 0.1);
}

*,
html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-size: 100%;
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif;
    letter-spacing: 0.25px;
    color: #121212;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.1s ease-in;
}

h1,
h2,
h3,
h4 {
    font-weight: 500;
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

ul,
ol {
    padding: 0;
    margin: 0;
}

ul {
    list-style: none;
}

.bg-gradient {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%)
}

.bg-primary{
    background: var(--third-color) !important;
}

/* ================================ 
Button styles section 
=================================== */
.btn1 {
    font-family: inherit;
    display: inline-block;
    padding: 10px 16px;
    line-height: 1;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--primary-color);
    transition: color .5s;
    z-index: 1;
    font-size: 14px;
    border-radius: 6px;
    font-weight: 500;
    color: var(--primary-color);
    text-transform: capitalize;
}

.btn1:before {
    content: "";
    position: absolute;
    z-index: -1;
    background: var(--primary-color);
    height: 150px;
    width: 200px;
    border-radius: 50%;
}

.btn1:hover {
    color: var(--secondary-color);
}

.btn1:before {
    top: 100%;
    left: 100%;
    transition: all 1s;
}

.btn1:hover:before {
    top: -30px;
    left: -30px;
    transform: scale(2);
}

.btn1:active:before {
    background: var(--primary-color);
    transition: background 0s;
}

.btn2 {
    font-family: inherit;
    display: inline-block;
    padding: 10px 16px;
    line-height: 1;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-color);
    transition: color .5s;
    z-index: 1;
    font-size: 14px;
    border-radius: 6px;
    font-weight: 500;
    border: 1px solid var(--primary-color);
    color: var(--secondary-color);
    text-transform: capitalize;
    transition: all 0.25s ease-in-out;
}

.btn2:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}


.sub-title {
    font-size: 18px;
    padding-bottom: 5px;
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
}


.title {
    font-size: 40px;
    font-weight: 600;
    padding-bottom: 30px;
    text-transform: capitalize;
    font-family: var(--my-font);
    margin: 0;
    color: var(--third-color);
}

.title span {
    color: var(--secondary-color);
}

/* Custom Css */


/* ================================ 
Header Section 
=================================== */
.navbar {
    position: relative;
    z-index: 110;
    background-color: #000000d6;
}
.navbar .navbar-brand>img {
    width: 100px;
}

.navbar .nav-link {
    text-decoration: none;
    color: #fff;
    padding: 1.5rem 0 !important;
    margin: 0 20px;
    font-size: 16px;
    position: relative;
    text-transform: uppercase;
    font-weight: 500;
}


.navbar .nav-item:hover .nav-link {
    color: var(--primary-color);
}

.navbar .nav-link::before {
    position: absolute;
    content: "";
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    left: 0;
    bottom: 0px;
    transition: all 0.25s ease-in-out;
}

.navbar .nav-link:hover::before {
    width: 100%;
}

/* navbar on scroll animation */
.navbar.scroll-on {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #000000af;
    backdrop-filter: blur(30px);
    transition: all ease-in-out 0.2s;
    box-shadow: 0 -2px 20px 5px #3c600541;
    animation: fadeInDown 0.45s ease-in-out;
}

.scroll-on .nav-item .nav-link {
    color: var(--white-color);
}

@keyframes fadeInDown {
    0% {
        top: -30%;
    }

    50% {
        top: -15%;
    }

    100% {
        top: 0;
    }
}

@media all and (min-width: 992px) {
    .navbar .dropdown-menu-end {
        right: 0;
        left: auto;
        min-height: auto !important;
        border-radius: 0;
    }

    .navbar .dropdown-menu-end a i {
        background-color: var(--bs-gray-500);
        color: var(--white-color);
        font-size: 0.6rem;
        min-width: 1.1rem;
        height: 1.1rem;
        line-height: 1.1rem;
        border-radius: var(--bs-border-radius-xl);
        text-align: center;
        margin-right: 0.5rem;
    }

    .navbar .dropdown-menu-end a:hover i {
        background-color: var(--bs-link-hover-color);
    }

    .navbar .dropdown-menu {
        display: block;
        opacity: 1;
        transform: translateY(20px);
        transition: all 0.3s ease-in;
        visibility: hidden;
        /* min-height: 35vh; */
        min-width: 22rem;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        margin-top: 0;
        min-width: 14rem;
        border-radius: 0;
        border: 0;
        box-shadow: -2px 3px 10px rgba(0, 0, 0, 0.1);
        padding: 0;
    }

    .navbar .dropdown-menu .dropdown-submenu.dropend .dropdown-menu {
        left: 100%;
        right: 0;
        top: -8px;
        border-radius: 0;
        /* box-shadow: none; */
    }

    .navbar .dropdown-submenu:hover>.dropdown-menu,
    .navbar .dropdown:hover>.dropdown-menu {
        opacity: 1;
        transform: scaleY(1);
        visibility: visible;
    }

    .dropdown-menu a,
    .dropdown-submenu a {
        color: var(--secondary-color);
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: var(--fw-500);
    }

    .dropdown-menu a:hover,
    .dropdown-submenu a:hover,
    .dropdown-menu a:focus,
    .dropdown-submenu a:focus {
        color: var(--primary-color);
        background-color: var(--white-color);
    }
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: var(--white-color);
}
@media all and (min-width: 992px) {
    .dropdown-menu li {
        position: relative;
    }

    .nav-item .submenu {
        display: none;
        position: absolute;
        left: 100%;
        top: -7px;
    }

    .nav-item .submenu-left {
        right: 100%;
        left: auto;
    }

    .dropdown-menu>li:hover {
        background-color: #f1f1f1
    }

    .dropdown-menu>li:hover>.submenu {
        display: block;
        opacity: 1;
        visibility: visible;
    }
}

/* ============ small devices ============ */
@media (max-width: 991px) {
    .dropdown-menu .dropdown-menu {
        margin-left: 0.7rem;
        margin-right: 0.7rem;
        margin-bottom: .5rem;
    }
}
/* ================================ 
            Banner Section 
=================================== */
.banner {
    width: 100%;
    color: var(--white-color);
    margin-top: -91px;
}

.banner .banner-img {
    width: 100%;
    object-fit: cover;
    object-position: top;
    height: 100vh;
    filter: brightness(0.6);
}

.heading {
    overflow: hidden;
}

.heading,
.heading>h2 {
    display: inline-block;
    margin: 0px 1px;

}

.heading>h2 {
    font-size: 50px;
    line-height: 1.25;
    letter-spacing: 1px;
    font-family: var(--my-font);
}

/* .heading>h2 span {
    color: transparent;
    background: linear-gradient(to right, #eb1040 7%, #FFED00 100%);
    background-clip: border-box;
    -webkit-background-clip: text;
} */

.heading>h2 span {
    color: var(--primary-color);
}

.banner .short-desc {
    color: #dbdbdb;
}

.bannerContent {
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    flex-direction: column;
    /* align-items: self-start; */
    color: var(--white-color);
    z-index: 10;
    /*min-height: 640px;*/
}

.banner .slick-dots {
    bottom: 20px;
}

.banner .btn1,
.banner .btn2 {
    font-size: 18px;
    padding: 12px 16px;
}

/* ================================ 
            About Section 
=================================== */
.about .title {
    font-size: 40px;
}

.about .inner-contain {
    padding: 15px;
    box-shadow: 2px 2px 20px 2px #00000016;
    width: 50%;
    border-radius: 10px;
}

.about .inner-contain h4 {
    font-size: 22px;
    font-weight: 600;
    margin-left: 14px;
    color: var(--third-color);
}

.about .btn2 {
    font-size: 18px;
}


/* ===============================
        Courses
======================================*/
.courseBox {
    aspect-ratio: 2 / 2.8; /* e.g., 350x490 */
    overflow: hidden;
    position: relative;
}

.courseBox img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.courseBox .bottomPart {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: calc(100% - 40px)
}

.contentDetails ul{
    list-style: circle;
    padding-left: 20px;
}
.contentDetails li{
    margin-bottom: 0.75rem;
}
.sidebar.sticky-top {
    top: 85px;
    z-index: 100;
}
.sidebar .leadBox{
    background: linear-gradient(to bottom, #ffc10e 0%, #f58a29 100%);
    padding: 2rem;
    position: relative;
    border-radius: 0.5rem;
}

.leadBox .form-control{
    border: 0;
    background: transparent;
    border-bottom: 1px solid #595959;
    border-radius: 0;
    padding: 0;
    min-height: 40px;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* ================================ 
            Service Section 
=================================== */
.service {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('../images/banner/banner-4.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.service .title span {
    color: var(--white-color);
}

.service .card {
    background-color: rgba(255, 255, 255, 0.104);
    backdrop-filter: blur(5px);
    color: var(--white-color);
    padding: 15px;
    border-radius: 20px;
    transition: all 0.25s ease-in-out;
}

.service .card .card-title {
    font-size: 26px;
    font-family: var(--my-font);
    letter-spacing: 0.75px;
    font-weight: 600;
    transition: all 0.25s ease-in-out;
}

.service .card .card-text {
    font-size: 14px;
    color: #e6e6e6;
}

/* .service .card:hover {
    box-shadow: 2px 2px 30px 2px rgba(229, 160, 0, 0.226);
} */

.service .card .card-img-top {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: all 0.35s ease-in-out;
}

.service .card:hover .card-img-top {
    transform: scale(1.05);
}

.service .card:hover .card-title {
    color: var(--primary-color);
}

/* ================================ 
            Why Choose Us Section 
=================================== */

.why-choose-us h4 {
    font-family: var(--my-font);
    font-weight: 600;
    font-size: 26px;
}

.why-choose-us .counter-img {
    height: 70px;
}

.why-choose-us .odometer,
.why-choose-us .plus {
    font-size: 28px;
}

.why-choose-us .counter-div {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px dashed rgb(224, 168, 0);
    border-width: 2px;
}

/* ================================ 
            Galley Section 
=================================== */
.gallery {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../images/banner/banner-4.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.gallery .title span {
    color: var(--white-color);
}

.gallery .inner-contain {
    overflow: hidden;
    height: 280px;
    width: 100%;
    border-radius: 10px;
    border: 2px solid #ffae0051;
    position: relative;
    transition: all 0.25s ease-in-out;
}


.gallery .inner-contain img {
    width: 100%;
    border-radius: 10px;
    height: 280px;
    object-fit: cover;
    transition: all 0.25s ease-in-out;
}

.gallery .inner-contain:hover img {
    filter: brightness(0.4);
}

.gallery .arrow {
    width: 50px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #121212;
    background-color: var(--primary-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 26px;
    pointer-events: none;
    transition: all 0.35s ease-in-out;
}

.gallery .inner-contain:hover .arrow {
    transform: translate(-50%, -50%) scale(1);
}

.gallery .nav-tabs .nav-link.active {
    color: var(--secondary-color);
    font-weight: 600;
    background-color: var(--primary-color);
    border-radius: 5px;
    border: 1px solid var(--primary-color);
}

.gallery .nav-tabs .nav-link {
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    color: var(--primary-color);
}


/* ================================ 
Blogs Section 
=================================== */
.blogs .inner-contain img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.blogs .inner-contain .date-badge {
    font-size: 16px;
    font-weight: 500;
    display: inline-block;
    padding-bottom: 4px;
}

.blogs .inner-contain h3 {
    font-size: 20px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 30px;
    font-weight: 600;
    color: #353535;
}


.latest {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background-color: #eef4f9;
    border-radius: 8px;
    transition: all 0.25s ease-in-out;
}
.latest .lat-post {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: var(--white-color);
    border-radius: 0.5rem;
}

.latest .lat-post img {
    width: 100px;
    border-radius: 5px;

}

.latest .lat-post h6 {
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    color: #000;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: all 0.25s ease-in-out;
    margin-bottom: 10px;
}

.latest .lat-post:hover h6 {
    color: var(--red-color);
}

.latest .lat-post p {
    color: var(--secondary-color);
    font-size: 13px;
    margin-bottom: 0;
}



/* ================================ 
            Testimonials Section 
=================================== */
.testimonial {
    background-color: #fff8e9;
}
.testimonial .inner-contain {
    padding: 20px;
    border-radius: 15px;
    border: 2px solid var(--primary-color);
    background: var(--white-color);
    position: relative;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.testimonial .inner-contain .quote-1 , .testimonial .inner-contain .quote-2 {
    font-size: 50px;
    color: #f0a800;
    position: absolute;
}
.testimonial .inner-contain .quote-1 {
    top: 7%;
    left: 7%;
}
.testimonial .inner-contain .quote-2 {
    bottom: 7%;
    right: 7%;
}
.walkthrough {
    position: absolute;
    right: 80px;
    top: 80px;
}
.walkthrough h4 {
    font-family: var(--my-font);
    color: var(--third-color);
        font-size: 28px;
        font-weight: 600;
}
.contact .call-btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: var(--third-color);
    color: var(--white-color);
    text-align: center;
    font-size: 30px;
}
.pulse2 {
    animation: pulse-animation2 1.5s infinite;
  }
  
@keyframes pulse-animation2 {
    0% {
      box-shadow: 0 0 0 0px rgba(243, 198, 0, 0.42);
    }
    100% {
      box-shadow: 0 0 0 30px rgba(255, 255, 255, 0);
    }
}


/* ================================ 
            Footer Section 
=================================== */
footer {
    width: 100%;
    background: #1e1e1e;
    color: var(--white-color);
    font-size: 14px;
}

footer ul li a {
    position: relative;
    display: flex;
    align-items: center;
    transition: all 0.25s;
    font-weight: 500;
    color: var(--white-color);
}

footer ul li a::before {
    content: "-";
    padding-right: 5px;
    font-size: 20px;
    color: var(--primary-color);
}

footer ul li a:hover {
    padding-left: 10px;
    color: var(--primary-color);
}

footer .copy {
    border-top: 1px solid #d5b100af;
    padding: 12px 0;
}

footer .copy p {
    color: var(--white-color);
    font-weight: 500;
}



.callus {
    position: fixed;
    bottom: 20px;
    right: 10px;
    z-index: 999;
}

.callus img {
    width: 50px;
}

.innerBanner {
    min-height: 100px;
    position: relative;
    text-align: center;
}

/* ================================ 
            Modal Section 
=================================== */
.getquoteModal .modal-content {
    border: 0;
    border-radius: 0;
}

.getquoteModalPanel {
    display: flex;
    justify-content: center;
    border-radius: 1.25rem;
}
.getquoteModal .btn-close {
    position: absolute;
    top: -12px;
    right: -12px;
    border-radius: 50%;
    padding: 10px;
}


/* @media(max-width:800px){
    .testimonial{
        padding-bottom: 4rem !important;
    }
    .slick-prev,
    .slick-next {
        top: calc(100% + 30px)
    }

    .slick-next {
        right: calc(50% - 40px)
    }

    .slick-prev {
        right: calc(50% + 0px);
        left: inherit
    }
    .slick-prev, .slick-next {
        width: 30px;
        height: 30px;
    }
} */

@media(max-width:800px){
    .walkthrough {
        right: 10px;
        top: 0;
        transform: scale(0.8);
    }
    .heading>h2{
        font-size: 36px;
    }
    .navbar .nav-link{
        padding: 0.75rem 0 !important;
    }
    .offcanvas-body{
        background-color: var(--secondary-color);
    }
}