/********** Template CSS **********/
:root {
    --primary: #7a7d82;
    --light: #F8F8F8;
    --dark: #656464;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #ffffff;
    /* Background color for the entire website, including individual sections */
    --default-color: #273d4e;
    /* Default color used for the majority of the text content across the entire website */
    --heading-color: #273d4e;
    /* Color for headings, subheadings and title throughout the website */
    --accent-color: #273d4e;
    /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff;
    /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff;
    /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* responsive text */
.responsive-text {
    font-size: clamp(1rem, 2vw, 2rem);
}



/* Add this to your CSS file or <style> tag */
@keyframes fadeInBounce {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }

    60% {
        opacity: 1;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Style for the overlay button */
.btn-overlay {
    position: absolute;
    bottom: 20px;
    /* Adjust this value to position the button vertically */
    left: 50%;
    /* Center the button horizontally */
    transform: translateX(-50%);
    /* Center the button horizontally */
    z-index: 2;
    /* Ensure the button is above the image */
    padding: 10px 20px;
    /* Adjust padding for better appearance */
    font-size: 16px;
    /* Adjust font size */
    border-radius: 5px;
    /* Add rounded corners */
    background-color: #4d5568;
    /* Semi-transparent background */
    border: none;
    /* Remove border */
    color: #fff;
    /* Text color */
    transition: background-color 0.3s ease;
    /* Smooth hover effect */
}


/* Ensure the image container is relative for absolute positioning */
.team-item .position-relative {
    position: relative;
    overflow: hidden;
    /* Ensure the button stays within the image bounds */
}

/* Optional: Add a hover effect to the images */
.team-item img {
    transition: transform 0.3s ease;
}

.team-item:hover img {
    transform: scale(1.05);
    /* Slight zoom effect on hover */
}

.fade-in-bounce {
    animation: fadeInBounce 1.5s ease-out;
}

/* flip CSS */
/* .team-item {
    perspective: 1000px;
}

.team-item .position-relative {
    transition: transform 0.5s;
    transform-style: preserve-3d;
}

.team-item:hover .position-relative {
    transform: rotateY(180deg);
}

.team-item .team-social {
    backface-visibility: hidden;
    transform: rotateY(180deg);
} */

/* Form CSS */
.form-control {
    transition: all 0.3s ease;
}

.form-control:focus {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.partner-container {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px #26578f;
    margin: 20px auto;
    width: 100%;
    /* Make sure it takes full available width */
    max-width: 1000px;
    /* Restrict the maximum width */
    overflow: hidden;
    /* Prevent overflow if images exceed container */
}


.swiper-wrapper {
    display: flex;
    align-items: center;
}




h1, h2, .h1, .h2, .fw-bold,
h3, h4, .h3, .h4, .fw-medium,
h5, h6, .h5, .h6, .fw-normal,
.section-title h4, .section-title h1, .section-title p {
    font-family: 'Cormorant Garamond', serif !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.container {
    width: 100%;
    max-width: 100%;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}



/*** 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;
}

/* Change the color of the hamburger icon (navbar toggler) to white */
.navbar-toggler-icon {
    background-color: rgb(255, 255, 255);
    /* Change the color of the hamburger icon */
    border-radius: 2px;
    /* Optional: Adding a rounded corner to the toggle icon */
}



/*** Button ***/
.btn {
    font-weight: 500;
    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;
}

.btn-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}

/* Ensure container-fluid is responsive across all screen sizes */
.container-fluid {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 auto;
}


/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: #4d5568;
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 76px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color:azure;
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px
}

.section-title p {
  color: azure;
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

@media (max-width: 768px) {
  .section-title p {
    font-size: 24px;
  }
}






/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #4d5568;
    box-shadow: 0 4px 6px #e27f7f00;
    padding: 10px 0;
    height: 70px;
    /* Ensure a fixed height */
}

/* Prevent overlap */
body {
    padding-top: 70px;
    /* Adjust to match header height */
}

@media (min-width: 1200px) {
    .navmenu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;

    }

    .navmenu ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
    }

    .navmenu li {
        position: relative;
    }

    .navmenu>ul>li {
        white-space: nowrap;
        padding: 15px 14px;
    }

    .navmenu>ul>li:last-child {
        padding-right: 0;
    }

    .navmenu a,
    .navmenu a:focus {
        color: #fff;
        font-size: 15px;
        padding: 0 4px;
        font-family: var(--nav-font);
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
        position: relative;
        text-transform: uppercase;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        transition: 0.3s;
    }

    .navmenu>ul>li>a:before {
        content: "";
        position: absolute;
        height: 2px;
        bottom: -6px;
        left: 0;
        background-color: var(--dark);
        visibility: hidden;
        width: 0px;
        transition: all 0.3s ease-in-out 0s;
    }

    .navmenu a:hover:before,
    .navmenu li:hover>a:before,
    .navmenu li.active>a:before {
        visibility: visible;
        width: 100%;
    }

    .navmenu li:hover>a,
    .navmenu li.active>a {
        color: var(--primary);
    }


    .navmenu .dropdown ul {
        margin: 0;
        padding: 10px 0;
        background: var(--nav-dropdown-background-color);
        display: block;
        position: absolute;
        visibility: hidden;
        left: 14px;
        top: 130%;
        opacity: 0;
        transition: 0.3s;
        border-radius: 4px;
        z-index: 99;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }

    .navmenu .dropdown ul li {
        min-width: 200px;
    }

    .navmenu .dropdown ul a {
        padding: 10px 20px;
        font-size: 18px;
        text-transform: none;
        color: var(--light);
    }

    .navmenu .dropdown ul a i {
        font-size: 12px;
    }

    .navmenu .dropdown ul a:hover,
    .navmenu .dropdown ul .active:hover,
    .navmenu .dropdown ul li:hover>a {
        color: var(--light);
    }

    .navmenu .dropdown:hover>ul {
        opacity: 1;
        top: 100%;
        visibility: visible;
    }

    .navmenu .dropdown .dropdown ul {
        top: 0;
        left: -90%;
        visibility: hidden;
    }

    .navmenu .dropdown .dropdown:hover>ul {
        opacity: 1;
        top: 0;
        left: -100%;
        visibility: visible;
    }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
    .mobile-nav-toggle {
        color: var(--light);
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
    }

    .navmenu ul {
        display: none;
        list-style: none;
        position: absolute;
        inset: 60px 20px 20px 20px;
        padding: 10px 0;
        margin: 0;
        border-radius: 6px;
        background-color: var(--light);
        border: 1px solid color-mix(in srgb, var(--dark), transparent 90%);
        box-shadow: none;
        overflow-y: auto;
        transition: 0.3s;
        z-index: 9998;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--primary);
        padding: 10px 20px;
        font-family: var(--nav-font);
        font-size: 17px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: 0.3s;
        background-color: color-mix(in srgb, var(--dark), transparent 90%);
    }

    .navmenu a i:hover,
    .navmenu a:focus i:hover {
        background-color: var(--primary);
        color: var(--dark);
    }

    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-dropdown-hover-color);
    }

    .navmenu .active i,
    .navmenu .active:focus i {
        background-color: var(--primary);
        color: var(--light);
        transform: rotate(180deg);
    }

    .navmenu .dropdown ul {
        position: static;
        display: none;
        z-index: 99;
        padding: 10px 0;
        margin: 10px 20px;
        background-color: var(--primary);
        transition: all 0.5s ease-in-out;
    }

    .navmenu .dropdown ul ul {
        background-color: rgba(33, 37, 41, 0.1);
    }

    .navmenu .dropdown>.dropdown-active {
        display: block;
        background-color: rgba(33, 37, 41, 0.03);
    }

    .mobile-nav-active {
        overflow: hidden;
    }

    .mobile-nav-active .mobile-nav-toggle {
        color: #fff;
        position: absolute;
        font-size: 32px;
        top: 15px;
        right: 15px;
        margin-right: 0;
        z-index: 9999;
    }

    .mobile-nav-active .navmenu {
        position: fixed;
        overflow: hidden;
        inset: 0;
        background: rgba(49, 101, 141, 0.8);
        transition: 0.3s;
    }

    .mobile-nav-active .navmenu>ul {
        display: block;
    }
}

/*** General Carousel Styles ***/
.header-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 80px;
    /* Prevents content from being hidden behind navbar */
}



/*** Carousel Inner Styling ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Left-aligned text */
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    text-align: left;
}

/*** Image Styling ***/
.header-carousel .owl-carousel-item {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Full height for large screens */
    min-height: 500px;
}

.header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*** Text & Button Styles ***/
.header-carousel h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    /* Always larger than p */
    font-weight: bold;
    color: white;
}

.header-carousel p {
    font-size: clamp(1rem, 3vw, 1.3rem);
    /* Always smaller than h1 */
    color: white;
    max-width: 700px;
}

.header-carousel .btn {
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    /* Scales for all screens */
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
}

/*** Owl Dots (Only visible on Laptop/PC) ***/
@media (max-width: 1023px) {
    .header-carousel .owl-dots {
        display: none !important;
        /* Hide on tablets & mobiles */
    }
}

@media (min-width: 1024px) {
    .header-carousel .owl-dots {
        position: absolute;
        width: 60px;
        height: 100%;
        top: 0;
        right: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .header-carousel .owl-dots .owl-dot {
        position: relative;
        width: 45px;
        height: 45px;
        margin: 5px 0;
        background: var(--dark);
        border-radius: 8px;
        transition: 0.4s;
    }

    .header-carousel .owl-dots .owl-dot.active {
        width: 55px;
        height: 55px;
        background: var(--primary);
    }

    .header-carousel .owl-dots .owl-dot img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        padding: 2px;
        transition: 0.4s;
        opacity: 0.5;
    }

    .header-carousel .owl-dots .owl-dot.active img {
        opacity: 1;
    }
}

/*** Mobile Adjustments ***/
@media (max-width: 768px) {
    .header-carousel {
        margin-top: 100px;
        /* Adjust for navbar */
    }

    .owl-carousel-inner {
        padding: 1rem;
    }

    @media (max-width: 768px) {

        /* Ensure the carousel takes enough height */
        .header-carousel .owl-carousel-item {
            min-height: 100vh;
            /* Full viewport height */
            height: auto;
        }

        .header-carousel .owl-carousel-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Ensure text is readable and fully visible */
        .owl-carousel-inner {
            min-height: 100vh;
            padding: 2rem 1rem;
            text-align: left;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        /* Ensure h1 is larger than p */
        .header-carousel h1 {
            font-size: clamp(2rem, 9vw, 3.5rem);
            font-weight: bold;
            color: white;
        }

        .header-carousel p {
            font-size: clamp(0.7rem, 3.5vw, 1.2rem);
            color: white;
        }

        /* Make the button responsive */
        .header-carousel .btn {
            font-size: 0.9rem;
            padding: 0.5rem 1rem;
        }
    }


    .header-carousel .btn {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
}

/*** Mobile Adjustments for 320px Screen ***/
@media (max-width: 320px) {
    .header-carousel {
        margin-top: 100px;
        /* Adjust for navbar */
    }

    .owl-carousel-inner {
        padding: 1rem;
        /* Adjust padding */
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }


    /* Adjust text size for smaller screens */
    .header-carousel h1 {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
        /* Smaller h1 size */
        font-weight: bold;
        color: white;
    }

    .header-carousel p {
        font-size: clamp(0.6rem, 3vw, 1rem);
        /* Smaller paragraph size */
        color: white;
        max-width: 90%;
        /* Reduce max width to fit smaller screens */
    }

}



/* Brands section  */

.carousel-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh;
    background-color: #f8f9fa;
    overflow: hidden;
}
.carousel-container {
    overflow: hidden;
    width: 80%;
    height: 180px;
    background: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(221, 219, 219, 0.1);
    position: relative;
}
.carousel-track {
    display: flex;
    gap: 30px;
    width: max-content;
    position: absolute;
    white-space: nowrap;
    animation: scroll 15s linear infinite;
}
.carousel-track img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}
@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
@media (max-width: 768px) {
    .carousel-container {
        width: 95%;
        height: 140px;
        padding: 10px;
    }
    .carousel-track {
        gap: 15px;
    }
    .carousel-track img {
        width: 100px;
        height: 100px;
    }
}



/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}



/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}

/* facts  */
@media (max-width: 1200px) {
    .container-fluid {
        width: 100%;
        padding: 4rem 2rem !important;
    }

    .fact-item {
        padding: 3rem 2rem !important;
    }
}

@media (max-width: 992px) {
    .container-fluid {
        width: 100%;
        height: auto !important;
        padding: 4rem 2rem !important;
    }

    .fact-item {
        padding: 2rem 1.5rem !important;
    }
}

@media (min-width: 992px) and (max-width:1200px) {
    .container-fluid {
        width: 100%;
        height: auto !important;
        padding: 4rem 2rem !important;
    }

    .fact-item {
        padding: 2rem 1.5rem !important;
    }
}




@media (max-width: 768px) {
    .container-fluid {
        width: 100%;
        height: auto !important;
        padding: 3rem 1.5rem !important;
    }

    .fact-item {
        padding: 2rem 1rem !important;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        width: 100%;
        height: auto !important;
        padding: 2rem 1rem !important;
    }

    .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .fact-item {
        padding: 1.5rem 1rem !important;
        text-align: center;
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .fact-icon img {
        width: 45px;
        height: auto;
    }

    .fact-item h3 {
        font-size: 1.2rem;
    }

    .fact-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .container-fluid {
        width: 100%;
        padding: 1.5rem 1rem !important;
    }

    .fact-item {
        width: 100%;
        padding: 1.2rem 0.8rem !important;
    }

    .fact-icon img {
        width: 40px;
    }

    .fact-item h3 {
        font-size: 1.1rem;
    }

    .fact-item p {
        font-size: 0.85rem;
    }
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

/* Add margin to separate the About section from other containers */
.container-fluid.py-5.bg-dark.bg-gradient.mb-2 {
    min-height: 100vh;
    /* Ensures it at least covers full viewport height */
    height: auto;
    /* Allows height to adjust dynamically */
    padding-bottom: 50px;
    /* Adds space at bottom */
}


/* Ensure the inner container has space */
.container {
    padding: 20px;
}

/* Add spacing between images */
.about-img img {
    width: 48%;
    /* Make images responsive */
    margin: 10px;
    /* Add space around images */
}

/* Ensure content does not touch the container edges */
.col-lg-6 {
    padding: 20px;
}


.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}

@media (max-width: 1200px) {

    .feature-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .feature-img img:last-child {
        margin: 0;
    }

    .feature-img::before {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }
}

@media (min-width:1440px) {

    .container {
        padding: 50px;
    }
}


/*--------------------------------------------------------------
# About Section for about.html
--------------------------------------------------------------*/
.about h3 {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  .about .fst-italic {
    color: color-mix(in srgb, var(--default-color), var(--contrast-color) 50%);
  }
  
  .about .content ul {
    list-style: none;
    padding: 0;
  }
  
  .about .content ul li {
    padding: 0 0 10px 30px;
    position: relative;
  }
  
  .about .content ul i {
    position: absolute;
    font-size: 20px;
    left: 0;
    top: -3px;
    color: var(--accent-color);
  }
  
  .about .content p:last-child {
    margin-bottom: 0;
  }
  
  .about .pulsating-play-btn {
    position: absolute;
    left: calc(50% - 47px);
    top: calc(50% - 47px);
  }


  /*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
    padding: 20px 0;
  }
  
  .clients .client-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  
  .clients .client-logo img {
    padding: 20px 40px;
    max-width: 90%;
    transition: 0.3s;
    opacity: 0.5;
    filter: grayscale(100);
  }
  
  .clients .client-logo img:hover {
    filter: none;
    opacity: 1;
  }
  
  @media (max-width: 640px) {
    .clients .client-logo img {
      padding: 20px;
    }
  }

  
/*--------------------------------------------------------------
# Services 2 Section
--------------------------------------------------------------*/
.services-2 .service-item {
  background-color: var(--surface-color);
  padding: 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  transition: 0.3s;
}

.services-2 .service-item .icon {
  font-size: 36px;
  line-height: 0;
  margin-right: 30px;
  color: var(#4d5568);
}

.services-2 .service-item .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.services-2 .service-item .title a {
  color: var(--heading-color);
}

.services-2 .service-item .description {
  line-height: 24px;
  font-size: 14px;
  margin: 0;
}

.services-2 .service-item:hover {
  border-color: var(--accent-color);
}

.services-2 .service-item:hover .title a {
  color: var(--accent-color);
}
  


/*******************************/
/*********** FAQs CSS **********/
/*******************************/
.faqs {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.faqs .row {
    position: relative;
}

.faqs .row::after {
    position: absolute;
    content: "";
    width: 1px;
    height: 100%;
    top: 0;
    left: calc(50% - 0.5px);
    background: #fffffe;
}

.faqs #accordion-1 {
    padding-right: 15px;
}

.faqs #accordion-2 {
    padding-left: 15px;
}

@media (max-width: 767.98px) {
    .faqs .row::after {
        display: none;
    }
    
    .faqs #accordion-1,
    .faqs #accordion-2 {
        padding: 0;
    }
    
    .faqs #accordion-2 {
        padding-top: 15px;
    }
}

.faqs .card {
    margin-bottom: 15px;
    border: none;
    border-radius: 0;
}

.faqs .card:last-child {
    margin-bottom: 0;
}

.faqs .card-header {
    padding: 0;
    border: none;
    background: #ffffff;
}

.faqs .card-header a {
    display: block;
    padding: 10px 25px;
    width: 100%;
    color: #121518;
    font-size: 16px;
    line-height: 40px;
    border: 1px solid rgba(0, 0, 0, .1);
    transition: 0.5s;
}

.faqs .card-header [data-toggle="collapse"][aria-expanded="true"] {
    background: #be9c53;
}

.faqs .card-header [data-toggle="collapse"]:after {
    font-family: 'Font Awesome 5 Free';
    content: "\f067";
    float: right;
    color: #b79140;
    font-size: 12px;
    font-weight: 900;
    transition: 0.5s;
}

.faqs .card-header [data-toggle="collapse"][aria-expanded="true"]:after {
    font-family: 'Font Awesome 5 Free';
    content: "\f068";
    float: right;
    color: #030f27;
    font-size: 12px;
    font-weight: 900;
    transition: 0.5s;
}

.faqs .card-body {
    padding: 20px 25px;
    font-size: 16px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, .1);
    border-top: none;
}




/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/

.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    scroll-margin-top: 90px;
    overflow: clip;
}

.stats .stats-item {
    background-color: var(--surface-color);
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.stats .stats-item i {
    color: var(--accent-color);
    font-size: 42px;
    line-height: 0;
    margin-right: 20px;
}

.stats .stats-item span {
    color: var(--heading-color);
    font-size: 36px;
    display: block;
    font-weight: 600;
}

.stats .stats-item p {
    padding: 0;
    margin: 0;
    font-family: var(--heading-font);
    font-size: 16px;
}



/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .7);
}

.service-item * {
    transition: .5;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}

/*--------------------------------------------------------------
# Services Section in service.html
--------------------------------------------------------------*/
.services .img {
    border-radius: 8px;
    overflow: hidden;
  }
  
  .services .img img {
    transition: 0.6s;
  }
  
  .services .details {
    background: color-mix(in srgb, var(--surface-color), transparent 5%);
    padding: 50px 30px;
    margin: -100px 30px 0 30px;
    transition: all ease-in-out 0.3s;
    position: relative;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0px 0 25px rgba(0, 0, 0, 0.1);
  }
  
  .services .details .icon {
    margin: 0;
    width: 72px;
    height: 72px;
    background: #4d5568;
    color: var(--contrast-color);
    border: 6px solid var(--contrast-color);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    transition: ease-in-out 0.3s;
    position: absolute;
    top: -36px;
    left: calc(50% - 36px);
  }
  
  .services .details h3 {
    font-weight: 700;
    margin: 10px 0 15px 0;
    font-size: 22px;
    transition: ease-in-out 0.3s;
  }
  
  .services .details p {
    color: color-mix(in srgb, var(--default-color), transparent 10%);
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
  }
  
  .services .service-item:hover .details h3 {
    color: var(--accent-color);
  }
  
  .services .service-item:hover .details .icon {
    background: var(--surface-color);
    border: 2px solid var(--accent-color);
  }
  
  .services .service-item:hover .details .icon i {
    color: var(--accent-color);
  }
  
  .services .service-item:hover .img img {
    transform: scale(1.2);
  }



/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}




/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .nav-tabs {
    border: 0;
  }
  
  .features .nav-link {
    background-color: var(--surface-color);
    color: var(--heading-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    padding: 15px 20px;
    transition: 0.3s;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100%;
  }
  
  .features .nav-link i {
    padding-right: 15px;
    font-size: 48px;
  }
  
  .features .nav-link h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
  }
  
  .features .nav-link:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
  }
  
  .features .nav-link.active {
    background: var(--accent-color);
    color: var(--contrast-color);
    border-color: var(--accent-color);
  }
  
  .features .nav-link.active h4 {
    color: var(--contrast-color);
  }
  
  @media (max-width: 768px) {
    .features .nav-link i {
      padding: 0;
      line-height: 1;
      font-size: 36px;
    }
  }
  
  @media (max-width: 575px) {
    .features .nav-link {
      padding: 15px;
    }
  
    .features .nav-link i {
      font-size: 24px;
    }
  }
  
  .features .tab-content {
    margin-top: 30px;
  }
  
  .features .tab-pane h3 {
    color: var(--heading-color);
    font-weight: 700;
    font-size: 26px;
  }
  
  .features .tab-pane ul {
    list-style: none;
    padding: 0;
  }
  
  .features .tab-pane ul li {
    padding-bottom: 10px;
  }
  
  .features .tab-pane ul i {
    font-size: 20px;
    padding-right: 4px;
    color: var(--accent-color);
  }
  
  .features .tab-pane p:last-child {
    margin-bottom: 0;
  }

  

/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}




/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}

.email-id {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

@media (max-width: 576px) {
    .email-id {
        font-size: 24px;
        /* Adjust the font size if needed */
        word-break: break-all;
    }
}



/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

/* Owl Dots (Navigation) */
.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
    cursor: pointer;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
    border-radius: 50%;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

/* Testimonial Cards */
.testimonial-item {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.testimonial-item:hover {
    transform: scale(1.05);
}

/* Client Image */
.testimonial-item img {
    border: 3px solid var(--primary);
    padding: 5px;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

/* Bounce Animations */
.wow.bounceIn {
    animation-name: bounceIn;
}

.wow.bounceInLeft {
    animation-name: bounceInLeft;
}

.wow.bounceInRight {
    animation-name: bounceInRight;
}

/* faq section */

.container mt-5 p-4 rounded shadow-lg{
    max-width: 900px;
    background-color: #334155;
    color: white;
    font-family: Arial, sans-serif;
}

.faq-title {
    color: #4d5568;
    font-weight: bold;
    font-size: 28px;
}

.accordion-button {
    background-color: #4d5568;
    color: #1E293B;
    font-weight: bold;
    transition: 0.3s;
}

.accordion-button:not(.collapsed) {
    background-color: #4d5568;
    color: #4d5568;
}

.accordion-body {
    background-color: #CBD5E1;
    color: #1E293B;
    font-weight: bold;
}

.accordion-item {
    border: none;
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-button:focus {
    box-shadow: none;
}

@media (max-width: 768px) {
    .faq-title {
        font-size: 24px;
    }
    .accordion-button {
        font-size: 14px;
        padding: 10px;
    }
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #ffffff;
    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;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: #777777;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}





/* Portfolio Section - Custom Button Styles */
.filter-btn {
    transition: all 0.3s ease;
    font-weight: bold;
    border-radius: 0.5rem; /* Stylish rounded buttons */
    border: 2px solid transparent; /* Add border for visual consistency */
    display: inline-block; /* Ensure buttons behave properly */
    text-align: center; /* Center text inside buttons */
    margin: 0.3rem; /* Space between buttons */
    padding: 0.5rem 1rem; /* Default padding */
    width: auto; /* Allow buttons to adjust based on content */
    min-width: 120px; /* Prevent buttons from being too small */
}

/* Hover/Focus Effects */
.filter-btn:hover,
.filter-btn:focus {
    transform: scale(1.05);  /* Slight zoom effect on hover */
    background-color: #0056b3;  /* Change background color on hover */
    border-color: #004085;  /* Darker border on hover */
    color: #fff; /* White text on hover for better contrast */
}



/* Mobile Devices (Small Screens - max-width: 576px) */
@media (max-width: 576px) {
    
    .filter-btn {
        font-size: 0.8rem; /* Smaller font size */
        padding: 0.4rem 0.8rem; /* Adjust padding */
        width: 50%; /* Ensure buttons are centered and full width */
        min-width: 150px; /* Prevent overly small buttons */
        text-align: center; /* Center text */
    }
}

/* Tablets (Medium Screens - min-width: 576px and max-width: 768px) */
@media (min-width: 576px) and (max-width: 768px) {
    .filter-btn {
        font-size: 0.9rem; /* Slightly larger font */
        padding: 0.5rem 1rem; /* Adjust padding */
        width: auto; /* Auto width for flexibility */
    }
}

/* Desktops and Larger Screens (min-width: 768px) */
@media (min-width: 768px) {
    .filter-btn {
        font-size: 1rem; /* Regular font size */
        padding: 0.6rem 1.2rem; /* Comfortable padding */
        width: auto; /* Let buttons adjust width dynamically */
    }
}


/* General Styles for Images */
.img-fluid {
    width: 400px; /* Make images responsive */
    height: 450px; /* Maintain aspect ratio */
    object-fit: cover; /* Ensure images cover the frame without distortion */
    border-radius: 8px; /* Optional: Add rounded corners */
}

.img-flood {
    width: 100%; /* Make images responsive */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Ensure images cover the frame without distortion */
    border-radius: 5px; /* Optional: Add rounded corners */
}
/* Gallery Container */
#gallery {
    display: flex;
    flex-wrap: wrap; /* Allow images to wrap to the next line */
    gap: 1rem; /* Space between images */
}

/* Image Container */
.image-container {
    position: relative;
    overflow: hidden; /* Ensure images don't overflow */
    border-radius: 8px; /* Optional: Add rounded corners */
}

/* Caption Styling */
.caption {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    color: white;
    width: 100%;
    text-align: center;
    padding: 0.5rem;
    border-radius: 0 0 8px 8px; /* Rounded corners at the bottom */
}

/* Mobile Screens (Below 576px) */
@media (max-width: 575px) {
    .gallery-item {
        width: 100%; /* Full width on mobile */
    }
}

/* Tablet Screens (576px - 992px) */
@media (min-width: 576px) and (max-width: 992px) {
    .gallery-item {
        width: calc(50% - 1rem); /* Two images per row with gap */
    }
}

/* Desktop Screens (Above 992px) */
@media (min-width: 993px) {
    .gallery-item {
        width: calc(33.333% - 1rem); /* Three images per row with gap */
    }
}
/* Style for popup */
.modal-content {
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: #f8f8f8;
    border-bottom: none;
    padding: 15px 20px;
}

.modal-title {
    font-size: 20px;
    font-weight: bold;
    color: #8a5a38;
}

.btn-close {
    font-size: 18px;
}

/* ---------- Floating Label Fix ---------- */
.form-floating input,
.form-floating textarea {
    padding-top: 1.2rem;
    padding-bottom: 0.5rem;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.form-floating label {
    padding: 0.5rem 1rem;
    font-size: 16px;
    color: #777;
    transition: all 0.3s ease-in-out;
}

.form-floating input:focus+label,
.form-floating textarea:focus+label {
    top: -10px;
    font-size: 14px;
    color: #007bff;
    background: white;
    padding: 0 5px;
}

/* ---------- Select Dropdown Styling ---------- */
.form-select {
    font-size: 16px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

/* ---------- Checkbox Styling ---------- */
.form-check-label {
    font-size: 16px;
    color: #444;
    padding-left: 5px;
}

/* ---------- Button Styling ---------- */
.btn-primary {
    background-color: #4d5568;
    border: none;
    padding: 12px;
    font-size: 18px;
    border-radius: 8px;
}

.btn-primary:hover {
    background-color: #4d5568;
}

/* ---------- Responsive Fixes ---------- */
@media (max-width: 768px) {
    .modal-content {
        padding: 15px;
    }

    .form-floating label {
        font-size: 14px;
    }

    .form-control,
    .form-select {
        font-size: 14px;
        padding: 10px;
    }

    .form-check-label {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .form-floating label {
        font-size: 13px;
    }

    .form-control,
    .form-select {
        font-size: 13px;
        padding: 8px;
    }

    .form-check-label {
        font-size: 13px;
    }
}


/*** Contact Start ***/
.contact-detail::before {
    position: absolute;
    content: "";
    height: 50%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(rgb(210, 243, 235, 1), rgba(230, 250, 245, .3)), url(../img/background.jpg) center center no-repeat;
    background-size: cover;
    border-radius: 10px;
    z-index: -1;
}

.contact-map {
    background: #26d48c;
}

.contact-form {
    background: #26d48c;
}

/*** Contact End ***/
/* For about section responsiveness */
.about-section .row {
  flex-wrap: wrap;
}

/* Stack columns vertically on screens below 992px */
@media (max-width: 991.98px) {
  .about-section .row {
    flex-direction: column !important;
  }
  .about-section .col-lg-6 {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .about-img {
    max-width: 100% !important;
    margin: 0 auto 20px auto;
    padding-right: 0 !important;
  }
  .img-flood {
    width: 100% !important;
    height: auto !important;
    max-height: 500px;
    border-radius: 8px;
    object-fit: cover;
  }
}

/* Adjust padding of text for extra small devices */
@media (max-width: 575.98px) {
  .about-section p,
  .about-section h1,
  .about-section h4 {
    padding-left: 10px;
    padding-right: 10px;
  }
  .about-section .btn.btn-primary {
    width: 100%;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
  }
}

