
   :root {
        --primary-color: #0d6efd;
        --dark-bg: #1a1d23;
        --light-gray: #f8f9fa;
    }

    /* --- GLOBAL FIXES --- */
    .header-area {
        margin-top: 106px; /* Fixes the 'cut at top' issue */
        position: relative;
    }

    /* --- HERO SLIDER (Full Image Overlay) --- */
    
    /* --- HERO SLIDER FIXES --- */
    
    
/*.hero-slider .single-slider {*/
/*    position: relative;*/
    
    /*min-height: 650px; */
    /*height: 80vh; */
/*    display: flex;*/
/*    align-items: center;*/
/*    overflow: hidden;*/
/*    background-color: #000; */
/*    z-index: 1;*/
/*}*/




.hero-slider .single-slider {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #000; 
    z-index: 1;
}





.full-bg-media {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    /* Use 'cover' to fill, but '50% 50%' ensures it crops from the center */
    object-fit: cover; 
    object-position: center;
    transform: translate(-50%, -50%);
    z-index: -1;
}


    
    
    

    .banner-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, rgba(0,0,0,0.75) 20%, rgba(0,0,0,0.2) 100%);
        z-index: 0; 
    }

    .header-content {
        position: relative;
        z-index: 10; /* Ensures text and buttons are on top and clickable */
        color: #fff;
    }

    .header-content h1 {
        font-size: 3.5rem;
        font-weight: 800;
        color: #fff !important;
        line-height: 1.2;
    }

    .header-content p {
        font-size: 1.2rem;
        color: rgba(255,255,255,0.9) !important;
    }

    /* --- OWL NAV FIXES --- */
    .hero-slider .owl-nav {
        pointer-events: none; /* Prevents the invisible nav box from blocking button clicks */
    }
    .hero-slider .owl-nav button {
        pointer-events: auto; /* Re-enables clicks specifically for arrows */
        background: rgba(255,255,255,0.15) !important;
        color: #fff !important;
        border-radius: 50% !important;
        width: 50px !important;
        height: 50px !important;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        transition: 0.3s;
    }
    .hero-slider .owl-nav .owl-prev { left: 20px; }
    .hero-slider .owl-nav .owl-next { right: 20px; }
    .hero-slider .owl-nav button:hover { background: var(--primary-color) !important; }

    /* --- ABOUT SECTION (Left Aligned) --- */
    .about-area .section-title-five h2 {
        border-left: 5px solid var(--primary-color);
        padding-left: 20px;
        font-size: 2.5rem;
    }

    /* --- SERVICES & TEAM --- */
    .single-news {
        background: #fff;
        border-radius: 15px;
        overflow: hidden;
        transition: 0.4s;
        border: 1px solid #eee;
        height: 100%;
    }
    .single-news:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
    
    
    
    
    
    
    
    /* --- ENLARGED TEAM IMAGE --- */



    /* --- MODERN PORTRAIT TEAM UI --- */
.single-team {
    background: #fff;
    border-radius: 12px;
    overflow: hidden; /* Clips the image to the card corners */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #ebebeb;
    height: 100%;
    padding: 0; /* Remove padding so image touches the edges */
    text-align: center;
}

.team-image {
    width: 100%;
    height: 350px; /* Fixed height for a professional vertical look */
    overflow: hidden;
    position: relative;
    background-color: #f8f9fa;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fills the box */
    object-position: top center; /* Keeps the face visible */
    transition: transform 0.6s ease;
}

/* --- TEXT CONTENT AREA --- */
.team-info {
    padding: 20px 15px;
    background: #fff;
}

.team-info h5 {
    font-size: 1.25rem;
    margin-bottom: 5px;
    color: #333;
    font-weight: 700;
}

.team-info .designation {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* --- HOVER EFFECTS --- */
.single-team:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
    border-color: var(--primary-color);
}

.single-team:hover .team-image img {
    transform: scale(1.08); /* Gentle zoom */
}


    /* --- CONTACT --- */
    .contact-form-wrapper {
        background: #fff;
        padding: 40px;
        border-radius: 20px;
        box-shadow: 0 10px 50px rgba(0,0,0,0.05);
    }
    .contact-form input, .contact-form textarea {
        width: 100%;
        padding: 15px;
        border: 1px solid #eee;
        border-radius: 8px;
        margin-bottom: 20px;
    }

    @media (max-width: 768px) {
        .header-area { margin-top: 70px; }
        .header-content h1 { font-size: 2.2rem; }
        
    }
    
    
        /* Add this to your style block for a subtle hover effect on custom images */
    .custom-section-img-wrapper:hover img {
        transform: translateY(-10px);
    }
    
    .bg-light {
        background-color: #f8f9fa !important;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }
    
        /* 1. Target the wrapper to override global 'p' styles */
    .description-content p {
        font-size: 1.1rem !important; /* Adjust size as needed */
        line-height: 1.8 !important;
        margin-bottom: 1.5rem !important; /* Fixes the 'margin: 0px' from theme */
        color: #4a4a4a !important; /* Professional gray */
        text-align: justify;
    }

    /* 2. Fix Lists (Bullets and Numbers) */
    .description-content ul, 
    .description-content ol {
        margin-bottom: 1.5rem !important;
        padding-left: 2.5rem !important;
    }

    .description-content ul {
        list-style-type: disc !important;
    }

    .description-content ol {
        list-style-type: decimal !important;
    }

    .description-content li {
        display: list-item !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.6;
    }

    /* 3. Handle Headings inside CKEditor */
    .description-content h1, 
    .description-content h2, 
    .description-content h3 {
        margin-top: 2rem !important;
        margin-bottom: 1rem !important;
        color: #222 !important;
        font-weight: 700 !important;
    }

    /* 4. Ensure images inside text don't break the layout */
    .description-content img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 8px;
        margin: 1rem 0;
    }
    
    
    
    /* --- CLIENTS SECTION --- */
.clients-section {
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid #eee;
}

.client-logo-wrapper {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px; /* Consistent height for all logos */
}

.client-logo-wrapper img {
    max-width: 160px;
    max-height: 80px;
    width: auto !important; /* Overrides OwlCarousel default */
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
}

.client-logo-wrapper:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.clients-carousel .owl-item {
    display: flex;
    justify-content: center;
    align-items: center;
}



/* Csutom css   */


/* Gallery Card Design */
.gallery-item {
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    transition: transform 0.6s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Glassmorphism Overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 1.5rem;
    color: #333;
    padding: 15px;
    border-radius: 50%;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: translateY(0);
}

/* Modal UI Improvement */
#galleryPreviewModal .modal-content {
    background: transparent;
}

#galleryPreviewModal .modal-body img {
    border: 5px solid white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
}

#modalTitle {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 1px;
    font-weight: 300;
}

/* Darker backdrop for cinematic feel */
.modal-backdrop.show {
    opacity: 0.85;
}

.bannerButton {
    position:relative; z-index: 20;
}
.aboutusSeciton {
    margin-top: 146px;
}

.aboutPageBanner {
    position: relative; width: 100%; overflow: hidden;
}

.aboutPageBanner_img {
    width: 100%; height: 450px; object-fit: cover;
}

.aboutPageBannerTitle {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4);
}

.customSectionsSection {
    padding: 100px 0 !important;
}

.customSectionsSectionImage {
  
   transition: transform 0.3s ease; border: 8px solid #fff    
}

.customSectionsSectionImage-div {
   position: absolute; top: -15px; left: -15px; width: 100px; height: 100px; background: var(--primary-color); opacity: 0.1; border-radius: 50%; z-index: -1;    
}

.service_section {
    height:220px; object-fit:cover;
}

.team_section {
    width:100%; height:320px; object-fit:cover;
}

.client_section {
    /*max-height: 80px; width: auto; object-fit: contain;*/
    
    max-height: 60px; filter: grayscale(100%);
}

.gallery-section {
    cursor: pointer; height: 250px;
}

.gallery-section-img {
   object-fit: cover; 
}









   /* Target the specific container */
.text-muted.fs-5 {
    /* Fluid Font: Min 16px, Scales with width, Max 20px */
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem) !important;
    
    /* Fluid Line Height: Tightens on mobile, breathes on desktop */
    line-height: clamp(1.5, 1.2rem + 1vw, 1.8) !important;
    
    /* Universal Mobile Spacing */
    padding-left: 5%;
    padding-right: 5%;
    width: 100%;
    box-sizing: border-box;
}

/* Fix for the internal headings */
.text-muted.fs-5 h4 {
    font-size: clamp(1.2rem, 1.1rem + 1vw, 1.5rem);
    margin-top: 1.5rem;
    color: #333; /* Ensuring contrast on mobile */
}

/* Remove awkward gaps from &nbsp; on small screens */
@media (max-width: 576px) {
    .text-muted.fs-5 p {
        margin-bottom: 1rem;
    }
    /* Hides the empty space paragraphs you have in the HTML */
    .text-muted.fs-5 p:empty {
        display: none;
    }
}

.product-card-hover {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
    }
    
    .product-card-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    }
    
    a {
        text-decoration: none;
    }






/* external CSS file */

.navbar-area.navbar-nine .navbar-nav .nav-item a:hover {
    color: var(--hover-color) !important;
    opacity: 1;
}

.navbar-area.navbar-nine .navbar-nav .nav-item a.active {
    color: var(--hover-color) !important;
    border-bottom-color: var(--hover-color) !important;
}

.navbar-nine .toggler-icon {
    background-color: var(--text-color) !important;
}

.navbar-nine .menu-bar i {
    color: var(--text-color) !important;
}

.navbar-nine .menu-bar:hover i {
    color: var(--hover-color) !important;
}


.navbar-area-navbar-nine {
    background-color :var(--bg-color) !important; ;
}




/* 1. Background and General Text */
.footer-eleven {
    background-color: var(--footer-bg) !important;
}

.footer-eleven .footer-widget p, 
.footer-eleven .footer-widget ul li,
.footer-eleven .footer-widget.f-link ul li a {
    color: var(--footer-text) !important;
}

/* 2. Widget Titles (H5) */
.footer-eleven .footer-widget h5 {
    color: var(--footer-hover) !important;
}

/* 3. Footer Link Hover */
.footer-area.footer-eleven .footer-widget.f-link ul li a:hover {
    color: var(--footer-hover) !important;
    padding-left: 5px;
}

/* 4. Newsletter Button */
.footer-eleven .newsletter-form .button .sub-btn {
    background-color: var(--footer-hover) !important;
    color: var(--footer-bg) !important;
}

