:root {
            /* Overriding Bootstrap primary color to match the heading color */
            --bs-primary: #6d9885;
            --bs-primary-rgb: 109, 152, 133;
        }

        html {
            scroll-behavior: smooth;
        }
        
        /* --- Typography & Global Colors --- */
        body {
            font-family: 'Source Sans 3', sans-serif;
            background-color: #f2e7d5;
            color: #000000;
        }

        h1, h2, h3, h4, h5, h6, .navbar-brand {
            font-family: 'Manrope', sans-serif;
            color: #6d9885 !important;
            font-weight: 700;
        }

        /* --- Theme Color Overrides --- */
        .text-primary { color: #6d9885 !important; }
        .bg-primary { background-color: #6d9885 !important; }
        
        .btn-primary { 
            background-color: #6d9885 !important; 
            border-color: #6d9885 !important; 
            color: #ffffff !important;
            border-radius:  5px !important
        }
        section#about {
    background: #fff;
}
        a.btn.btn-outline-light.btn-lg.px-4.rounded-pill.fw-bold.shadow-sm {
            border-radius: 5px !important;
        }
        section#team {
            background: #fff;
        }
        .card.corporate-team-card .rounded-pill {
    border-radius: 5px !important;
    padding: 10px;
    font-size: 16px;
    background: #f2e7d5;
    border-color: #f2e7d5 !important;
    color: #6d9885 !important;
    font-weight: 700;
}
        button#cont-btn {
            border-radius: 5px !important;
        }
        .team-avatar img {
            width: 65px;
        }
        .topbar i.text-primary, .topbar a {
            color: #fff !important;
            font-size: 16px !important;
        }
        .btn-primary:hover { 
            background-color: #5a7d6e !important; 
            border-color: #5a7d6e !important; 
        }
        
        .btn-outline-primary {
            color: #6d9885 !important;
            border-color: #6d9885 !important;
        }
        .btn-outline-primary:hover {
            background-color: #6d9885 !important;
            color: #ffffff !important;
        }

        /* --- Header & Topbar Styling --- */
        .topbar {
            background-color: #6d9885;
            font-size: 0.85rem;
        }
        .topbar a {
        color: #fff;
        text-decoration: none;
        transition: color 0.3s ease;
        font-size: 16px;
        line-height: 25px;
            font-weight: 600;
    }
        .topbar a:hover {
            color: #ffffff;
        }
        .social-icons a {
            width: 30px;
            height: 30px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            border-radius: 50%;
            margin-left: 8px;
            transition: all 0.3s ease;
        }
        .social-icons a:hover {
            background: #6d9885;
            transform: translateY(-2px);
        }
        .brand-logo {
            max-height: 70px;
            width: auto;
            object-fit: contain;
        }
        .navbar-nav .nav-link {
            font-weight: 600;
            text-transform: uppercase;
            font-size: 16px;
            letter-spacing: 0.5px;
            color: #000000 !important;
        }
        .navbar-nav .nav-link:hover {
            color: #6d9885 !important;
        }

        /* --- Modern Full-Width Corporate Hero Carousel --- */
        .hero-carousel {
            position: relative;
        }
        .carousel-item {
            height: 85vh; /* Responsive height */
            min-height: 600px;
        }
        .carousel-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
        }
        .carousel-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /* Gradient overlay to make text pop */
            background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
        }
        .carousel-caption {
            position: relative;
            z-index: 2;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 0 15px;
            text-align: left !important;
            align-items: flex-start !important;
        }
        .hero-title {
            font-size: clamp(2.5rem, 5vw, 4.5rem);
            font-weight: 800;
            color: #ffffff !important;
            text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
            margin-bottom: 1rem;
            line-height: 1.1;
        }
        .hero-subtitle {
            font-size: clamp(1.1rem, 2vw, 1.4rem);
            color: #f8f9fa;
            margin-bottom: 2.5rem;
            max-width: 700px;
            text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
            font-weight: 500;
        }

        .section-padding {
            padding: 80px 0;
        }
        
        /* --- Corporate Services Cards --- */
        .service-card {
            transition: all 0.4s ease;
            border: 1px solid rgba(0,0,0,0.05);
            background-color: #ffffff;
        }
        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(109, 152, 133, 0.15) !important;
            border-color: rgba(109, 152, 133, 0.3);
        }
        .service-icon-box {
            width: 80px; 
            height: 80px;
            transition: all 0.4s ease;
            background-color: rgba(109, 152, 133, 0.1) !important;
        }
        .service-card:hover .service-icon-box {
            background-color: #6d9885 !important;
            color: #ffffff !important;
        }

        /* --- Modern Corporate Team Cards --- */
        .corporate-team-card {
            transition: all 0.4s ease;
            border-radius: 12px;
            border: none;
            background-color: #ffffff;
        }
        .corporate-team-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
        }
        .team-header-bg {
            height: 100px;
               background: linear-gradient(135deg, #212529 0%, #6d9885 100%);
            border-top-left-radius: 12px;
            border-top-right-radius: 12px;
        }
        .team-avatar-wrapper {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translate(-50%, -50%);
            background: #fff;
            padding: 8px;
            border-radius: 50%;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }
        .team-avatar {
            width: 80px;
            height: 80px;
            background-color: #f8f9fa;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #e9ecef;
        }
        .role-text {
            letter-spacing: 1px;
            font-size: 0.8rem;
        }
        
        /* --- Modern Form Styling --- */
        .form-control:focus, .form-select:focus {
            box-shadow: none;
            border-color: #6d9885;
        }
        
        /* --- Floating WhatsApp Button --- */
        .whatsapp-float {
            position: fixed;
            width: 60px;
            height: 60px;
            bottom: 20px;
            left: 20px;
            background-color: #25d366;
            color: #FFF;
            border-radius: 50px;
            text-align: center;
            font-size: 30px;
            box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
            z-index: 100;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: background-color 0.3s ease, transform 0.3s ease;
        }
        .whatsapp-float:hover {
            background-color: #1ebe57;
            color: white;
            transform: scale(1.1);
        }

        /* --- Back to Top Button --- */
        #btn-back-to-top {
            position: fixed;
            bottom: 20px;
            right: 20px;
            display: none;
            z-index: 100;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
            transition: transform 0.3s ease;
        }
        #btn-back-to-top:hover {
            transform: scale(1.1);
        }
        
        /* --- Footer Styling --- */
        footer {
            background-color: #212529;
            color: #ffffff; 
        }
        footer p {
            color: #ffffff !important; 
        }
        .footer-logo {
            max-height: 90px;
            width: auto;
            object-fit: contain;
            transition: transform 0.3s ease;
        }
        .footer-logo:hover {
            transform: scale(1.05);
        }
        .footer-menu a {
            color: #ffffff;
            text-decoration: none;
            font-weight: 500;
            text-transform: uppercase;
            font-size: 0.85rem;
            letter-spacing: 0.5px;
            transition: color 0.3s ease;
        }
        .footer-menu a:hover {
            color: #6d9885;
        }

        /* --- Main Container (Replacing header) --- */
.page-header {
  position: relative;
  padding: 80px 20px;
  /* Replace with your corporate background image */
  background-image: url('../images/photo-1497366216548-37526070297c.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- Linear Gradient Overlay using ::before --- */
.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Corporate blue-to-slate gradient overlay */
  background: linear-gradient(135deg, rgba(15, 32, 39, 0.9) 0%, rgba(32, 58, 67, 0.8) 50%, rgba(44, 83, 100, 0.7) 100%);
  z-index: 1;
}

/* Elevate content above the absolute overlay */
.page-header .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.page-title {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 15px 0;
  letter-spacing: -0.5px;
}

/* --- Breadcrumb Styles --- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

/* Link Styling */
.breadcrumb-item a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease, text-decoration 0.2s ease;
}

.breadcrumb-item a:hover {
  opacity: 0.8;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Separator (chevron) using sibling combinator and ::before */
.breadcrumb-item + .breadcrumb-item::before {
  content: "›"; 
  display: inline-block;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1;
}

/* Active Page Styling */
.breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  pointer-events: none;
}


.gallery-section {
    padding: 100px 0;
    background: #ffffff;
}

.wrap.gallery-grid.gallery img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.wrap.gallery-grid.gallery div {
    margin-bottom: 20px;
}

section#gallery {
    background: #fff;
    padding: 100px 0 80px;
}
/* --- Video Thumbnail & Play Button Styles --- */
.video-wrapper img {
    display: block;
    transition: transform 0.4s ease;
}

.video-wrapper:hover img {
    transform: scale(1.03); /* Subtle zoom effect on the thumbnail */
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #0d6efd; /* Adjust this color to match your theme */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 2;
    /* Pushes the icon slightly to the right to visually center the play triangle */
    padding-left: 5px; 
}

/* Hover effects for the play button */
.video-wrapper:hover .play-icon-overlay {
    background-color: #0d6efd; /* Adjust to your theme color */
    color: #ffffff;
    transform: translate(-50%, -50%) scale(1.1);
}
.video-section {
    padding: 100px 0;
    background: #f1f1f1 !important;
}
/* 1. Change text color on hover and active state */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #0d6efd !important; /* Replace with your brand's primary color */
}

/* 2. Create the animated underline using ::after */
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 4px; /* Positions the line just below the text */
    left: 50%;
    transform: translateX(-50%);
    width: 0; /* Starts hidden at 0 width */
    height: 2px; /* Thickness of the underline */
    background-color: #6d9885; /* Line color */
    transition: width 0.3s ease;
}

/* 3. Expand the underline on hover and active state */
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    /* Because Bootstrap's 'px-3' adds 1rem of padding to the left and right, 
       calc(100% - 2rem) ensures the underline is exactly the width of the text */
    width: calc(100% - 2rem); 
}
.navbar-nav .nav-item {
    margin: 0 2px;
}

.navbar-nav .nav-link {
    position: relative;
    color: #333333 !important; /* Default link color */
    font-weight: 500;
    transition: color 0.3s ease;
}

/* 1. Change text color on hover and active state */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #6d9885 !important; /* Replace with your brand's primary color */
}
.home-btm a {
    display: inline-block;
    width: auto !important;
    padding: 10px 30px !important;
    font-size: 16px;
}





/* --- Core Services Page Styling --- */
.services-header {
    /* Matches the warm beige background from the screenshot */
    background-color: #f9f8f4 !important; 
}

/* Round icon wrappers mimicking the screenshot's design */
.icon-box {
    width: 60px;
    height: 60px;
    background-color: #e8eee9; /* Soft green background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Checkmark List Styling */
.service-list li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #333;
    display: flex;
    align-items: center;
}

.service-list li i {
    color: #6b8e7b; /* The sage green from the screenshot */
    margin-right: 12px;
    font-size: 1.2rem;
}

/* Image Hover Effect */
.service-image-wrapper {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.service-image-wrapper img {
    transition: transform 0.6s ease;
}

.service-image-wrapper:hover img {
    transform: scale(1.03);
}


/* --- 404 Error Page Styling --- */
.error-404-section {
    /* Ensures the section takes up at least the full height of the screen minus header/footer */
    min-height: 70vh !important; 
}

.error-code {
    color: #6b8e7b; /* Matches your core services theme color */
    font-size: 8rem; 
    letter-spacing: -3px;
    text-shadow: 3px 3px 15px rgba(107, 142, 123, 0.15);
}

/* Primary Button Styling (Solid) */
.btn-404-primary {
    background-color: #6b8e7b;
    color: #ffffff;
    border: 2px solid #6b8e7b;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-404-primary:hover {
    background-color: #557262; /* Slightly darker shade on hover */
    border-color: #557262;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 142, 123, 0.3) !important;
}

/* Secondary Button Styling (Outline) */
.btn-404-secondary {
    color: #6b8e7b;
    border: 2px solid #6b8e7b;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-404-secondary:hover {
    background-color: #6b8e7b !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 142, 123, 0.3) !important;
}
/* --- Mobile Responsiveness for 404 Page --- */
@media (max-width: 767.98px) {
    /* Scale down the giant 404 number for mobile */
    .error-code {
        font-size: 5rem;
        letter-spacing: -2px;
    }
    
    /* Slightly reduce the size of the headings and text */
    .error-404-section h2 {
        font-size: 1.5rem;
    }
    
    .error-404-section p {
        font-size: 1rem !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Ensure buttons stack neatly or scale properly on very small screens */
    .btn-404-primary, 
    .btn-404-secondary {
        width: 100%;
        text-align: center;
    }
    
    /* Adjust icon size */
    .error-404-section .fa-route {
        font-size: 3rem;
    }
    section#gallery {
    padding: 50px 0 !important;
}

.video-section {
    padding: 50px 0 !important;
}
}