/********** Template CSS **********/
:root {
    --primary: #484668;
    --secondary: #51cfed;
    --light: #f8f2f0;
    --dark: #060315;
}

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    border: 1px solid #dbb109;
    color: #fff;
    background: #dbb109;
    font-size: 20px;
}

.back-to-top:hover {

    border: 1px solid #dbb109;
    color: #dbb109;
    background: #fff;
    font-size: 20px;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    font-weight: 600;
    transition: 0.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;
}

.btn-custom {
    border: 1px solid #dbb109;
    color: #dbb109;
    background: white;
    padding: 10px 20px;
}

.btn-custom:hover {
    border: 1px solid #fff;
    color: #fff;
    background: #dbb109;
    /* // padding: 10px 20px; */
}

.btn-custom-white {
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
    padding: 10px 20px;
    width: 150px;
    margin-top: 30px;
}

.btn-custom-white:hover {
    border: 1px solid #fff;
    color: #dbb109;
    background: #fff;
}

/****** Header Btn Start *****/
.btn-custom-header {
    height: 40px;
    width: 40px;
    line-height: 0px;
    border: 1px solid #dbb109;
    color: white;
    background: #dbb109;
    padding: 10px;
    border-radius: 50%;
}

.btn-custom-header:hover {
    border: 1px solid #dbb109;
    color: #dbb109;
    background: white;
}

/****** Header Btn End *****/

/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    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 .nav-link.active {
        color: #dbb109;

    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: 0.5s;
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        top: -6px;
        left: 50%;
        background: #ffffff;
        transition: 0.5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: 0.5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: 0.5s;
        opacity: 1;
    }
}

/*** Header ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 45px;
    font-size: 22px;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(6, 3, 21, 0.5), rgba(6, 3, 21, 0.5)),
        url(../img/bg-header.jpg) center center no-repeat;
    background-size: cover;
    padding: 150px 0px;
}

.page-header h1 {
    font-size: 50px;
}

.page-header p {
    font-size: 17px;
    color: white;
}

@media (max-width: 991px) {
    .page-header h1 {
        font-size: 40px;
    }

    .page-header {
        padding: 100px 0px;
    }
}

@media (max-width: 600px) {
    .page-header {
        padding: 70px 0px;
    }

    .page-header h1 {
        font-size: 35px;
        margin-bottom: -70px;
    }
}

/******* Overlap Section Start ********/
/* Ensures the section stays above the carousel */
.overlap-section {
    margin-top: -200px;
    z-index: 1000;
    position: relative;
    /* Add position to manage z-index */
}

/* Style for each section */
.overlap-section-first,
.overlap-section-second,
.overlap-section-third {
    height: 300px;
    /* Adjust as needed */
    background-color: #fff;
    /* Initial background color */
    position: relative;
    z-index: 1;
    overflow: hidden;
    /* Ensures the image doesn't spill over */
    transition: background-color 0.3s ease-in-out;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding: 30px;
}

.overlap-section-first h3,
.overlap-section-second h3,
.overlap-section-third h3 {
    font-size: 22px;
    font-weight: 300;
    margin-top: 10px;
}

.overlap-section-first p,
.overlap-section-second p,
.overlap-section-third p {
    color: black;
}

/* Pseudo-element for the image */
.overlap-section-first::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 205, 6, 0.6), rgba(255, 205, 6, 0.6)),
        url(../img/bg-1.jpg) no-repeat center center;
    background-size: cover;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: -1;
    /* Ensure it's behind the text/content */
}

.overlap-section-second::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 205, 6, 0.6), rgba(255, 205, 6, 0.6)),
        url(../img/bg-2.jpg) no-repeat center center;
    background-size: cover;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: -1;
    /* Ensure it's behind the text/content */
}

.overlap-section-third::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 205, 6, 0.6), rgba(255, 205, 6, 0.6)),
        url(../img/bg-3.jpg) no-repeat center center;
    background-size: cover;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: -1;
    /* Ensure it's behind the text/content */
}

/* On hover, change background color and image opacity */

.overlap-section-first:hover,
.overlap-section-second:hover,
.overlap-section-third:hover {
    background-color: rgba(0,
            0,
            0,
            0.9);
    /* Your desired hover background color */
}

/* Image fades in on hover */
.overlap-section-first:hover::before,
.overlap-section-second:hover::before,
.overlap-section-third:hover::before {
    opacity: 1;
}

@media (max-width: 991px) {
    .overlap-section {
        margin-top: 60px;
        z-index: 0;
    }
}

/******* Overlap Section End ********/

/*** About ***/
.about-rounded {
    border-radius: 30px;
}

.about-container {
    display: flex;
    /* // align-items: center; */
    gap: 20px;
    /* Add space between the icon and content */
    margin-bottom: 13px;
}

.about-social-icon {
    height: 70px;
    width: 70px;
    border-radius: 50%;
    /* // border: 0.5px solid #dbb109; */
    background: #fff;
    box-shadow: 0px 25px 40px 0px #0000001a;
    border: 0.35px solid #060315;
    padding: 10px;
}

.about-social-icon img {
    height: 40px;
    width: 40px;
}

.about-content h5 {
    color: #dbb109;
}

/***** Counter Start ******/
.counter-section {
    background: white;
    border: 1px solid #dbb109;
    border-radius: 20px;
}

.counter-section h2 {
    color: #484668;
    font-size: 30px;
}

/***** Counter End ******/

/*** Feature ***/

/*** Service, Price & Team ***/
.service-item,
.price-item,
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
    border-radius: 20px;
}


.team-item img {
    transition: 0.5s;
    border-radius: 20px;

    width: 100%;
}

.service-item img {
    transition: 0.5s;
    border-radius: 20px;
    height: 30vh;
    width: 100%;
}

.service-item:hover img,
.team-item:hover img {
    transform: scale(1.1);
    border-radius: 20px;
}

.service-item a.btn-slide,
.price-item a.btn-slide,
.team-item div.btn-slide {
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-size: 0;
}

.service-item a.btn-slide i,
.service-item a.btn-slide span,
.price-item a.btn-slide i,
.price-item a.btn-slide span,
.team-item div.btn-slide i,
.team-item div.btn-slide span {
    position: relative;
    height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: #ffffff;
    background: var(--primary);
    border-radius: 0 35px 35px 0;
    transition: 0.5s;
    z-index: 2;
}

.service-item h4 {
    font-weight: 200;
    font-size: 22px;
}

.team-item div.btn-slide span a i {
    padding: 0 10px;
}

/* .team-item div.btn-slide span a:hover i {
    // background: var(--secondary);
} */

.service-item a.btn-slide span,
.price-item a.btn-slide span,
.team-item div.btn-slide span {
    padding-left: 0;
    left: -100%;
    z-index: 1;
}

.service-item:hover a.btn-slide i,
.price-item:hover a.btn-slide i,
.team-item:hover div.btn-slide i {
    border-radius: 0;
}

.service-item:hover a.btn-slide span,
.price-item:hover a.btn-slide span,
.team-item:hover div.btn-slide span {
    left: 0;
}

/* .service-item a.btn-slide:hover i,
.service-item a.btn-slide:hover span,
.price-item a.btn-slide:hover i,
.price-item a.btn-slide:hover span {
    //background: var(--secondary);
} */

/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item {
    position: relative;
    transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
    animation: pulse 1s ease-out 0.5s;
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border: 5px solid var(--light);
    border-radius: 15px;
    transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--light);
    border-color: var(--primary);
}

/*** Contact ***/
@media (min-width: 992px) {
    .container.contact-page {
        max-width: 100% !important;
    }

    .contact-page .contact-form {
        padding-left: calc(((100% - 960px) / 2) + 0.75rem);
    }
}

@media (min-width: 1200px) {
    .contact-page .contact-form {
        padding-left: calc(((100% - 1140px) / 2) + 0.75rem);
    }
}

@media (min-width: 1400px) {
    .contact-page .contact-form {
        padding-left: calc(((100% - 1320px) / 2) + 0.75rem);
    }
}

/*** Footer ***/
.footer {
    background: linear-gradient(rgba(6, 3, 21, 0.5), rgba(6, 3, 21, 0.5)),
        url(../img/map.png) center center no-repeat;
    background-size: cover;
    margin-top: 90px;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #ffffff;
    border-radius: 35px;
    transition: 0.3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer p {
    font-size: 15px;
    font-weight: 200 !important;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #ffffff;
    font-size: 15px;
    font-weight: 200 !important;
    text-transform: capitalize;
    transition: 0.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, 0.1);
}

.footer .copyright a {
    color: var(--light);
}

/****** Company Slider Start ******/
.company-slider {
    margin-top: 90px;
}

@media (max-width: 991px) {
    .company-slider {
        margin-top: 55px;
    }

    .footer {
        margin-top: 60px;
    }
}

/****** Company Slider End ******/

/****** small-intro-section start*****/
.small-intro-section {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
        url(../img/bg-4.jpg) no-repeat center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 70px 0px;
    margin-top: 90px;
    color: white;
}

@media (max-width: 991px) {
    .small-intro-section {
        margin-top: 50px;
    }
}

/****** small-intro-section end*****/

/********* Contact Card Start *********/
.contact-card {
    background: #dbb109;
    padding: 20px;
    color: white;
    border-radius: 30px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.contact-container {
    display: flex;
    /* // align-items: center; */
    gap: 20px;
    /* Add space between the icon and content */
    margin-bottom: 13px;
}

.contact-social-icon {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    border: 0.5px solid #dbb109;
    background: #fff;
}

.contact-social-icon i {
    color: #dbb109;
    font-size: 30px;
    padding: 16px;
}

/********* Contact Card End *********/

/************  Fixed Footer Start ***************/
.footer-fixed-nav {
    height: 50px !important;
    position: fixed;
    bottom: -3px;
    display: none;
    z-index: 1000;
    padding-top: 10px;
    background: black;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    background: white;
}

.footer-fixed-nav img {
    margin-top: 2px;
    height: 20px;
    width: 20px;
}

.footer .copyright {
    padding: 25px 0 25px 0px;
}

@media (max-width: 991px) {
    .footer-fixed-nav {
        display: block;
    }

    .back-to-top {
        bottom: 60px;
        right: 15px;
    }

    .footer .copyright {
        padding: 25px 0 65px 0px;
    }
}



/************  Fixed Footer End ***************/
