/* ==========================================================================
   Salvin Brand Theme Stylesheet
   ========================================================================== */

/* Design Tokens & Variables */
:root {
    /* Harmonious Color Palette */
    --color-primary: #1A5336;
    /* Deep Forest Green */
    --color-primary-rgb: 26, 83, 54;
    --color-accent: #4CAF50;
    /* Vibrant Leaf Green */
    --color-accent-hover: #43A047;
    --color-dark: #121212;
    /* Sleek Dark Backgrounds */
    --color-light: #F8F9FA;
    /* Neutral Light Gray */
    --color-text-dark: #333333;
    --color-text-light: #FFFFFF;
    --color-text-muted: #A0AEC0;
    --color-border: #E2E8F0;
    --color-border-light: rgba(255, 255, 255, 0.15);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows & Transitions */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout Constants */
    --header-height: 80px;
    --max-width: 1280px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-light);
    color: var(--color-text-dark);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* Reusable Container Utility */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Button Component Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-text-light);
    box-shadow: 0 4px 14px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.btn-primary:hover .btn-icon-wrapper {
    transform: rotate(45deg);
    background-color: rgba(255, 255, 255, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-light);
    border: 1.5px solid var(--color-text-light);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: var(--color-accent);
}

.btn-secondary:hover .btn-icon-wrapper {
    transform: scale(1.1);
    background-color: rgba(76, 175, 80, 0.2);
}

/* ==========================================================================
   Header Component Styles
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

/* Scroll Activated Header Effect */
.main-header.scrolled {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    border-bottom-color: rgba(0, 0, 0, 0.02);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    display: block;
    height: 75px;
    width: auto;
    object-fit: contain;
}

/* Navigation Links */
.nav-list {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: #4A5568;
    position: relative;
    padding: 0.5rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

/* Subtle line indicator under hover */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown Menu styling */
.dropdown {
    position: relative;
}

.dropdown-arrow {
    transition: var(--transition-smooth);
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: -20px;
    background-color: #FFFFFF;
    min-width: 240px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    z-index: 1010;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 30px;
    width: 12px;
    height: 12px;
    background-color: #FFFFFF;
    transform: rotate(45deg);
    border-top: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #4A5568;
    transition: var(--transition-smooth);
}

.dropdown-menu a:hover {
    background-color: var(--color-light);
    color: var(--color-primary);
    padding-left: 1.85rem;
}

/* Header Button Style */
.btn-consultation-header {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
    border-radius: 4px;
}

.btn-consultation-header:hover {
    background-color: var(--color-accent);
    transform: translateY(-1px);
}

/* Mobile Toggle Hamburger button */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   Hero Section Component
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 7rem;
    display: flex;
    align-items: center;
    min-height: 85vh;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(0, 0, 0, 0.80) 45%,
            rgba(0, 0, 0, 0.50) 80%,
            rgba(0, 0, 0, 0.35) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 680px;
    color: var(--color-text-light);
}

.hero-subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    position: relative;
}

.hero-title {
    font-size: clamp(1.8rem, 3.8vw, 2.6rem); /* Reduced size to cleanly fit long subtitle titles */
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 1.8rem;
    letter-spacing: -0.5px;
    color: var(--color-text-light);
}

.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.hero-slider-btn:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.08);
}

.hero-slider-btn.prev {
    left: 2rem;
}

.hero-slider-btn.next {
    right: 2rem;
}

@media (max-width: 991px) {
    .hero-slider-btn {
        width: 40px;
        height: 40px;
    }
    .hero-slider-btn.prev {
        left: 1rem;
    }
    .hero-slider-btn.next {
        right: 1rem;
    }
}

@media (max-width: 767px) {
    .hero-slider-btn {
        display: none; /* Hide arrow controls on mobile screens to save layout space */
    }
}

.hero-title .highlight {
    color: var(--color-accent);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.2rem;
    max-width: 600px;
}

/* Target Audience Badges */
.audience-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2.8rem;
}

.badge-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.badge-item:hover {
    color: var(--color-accent);
}

.badge-icon {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
}

.badge-divider {
    color: rgba(255, 255, 255, 0.25);
    user-select: none;
}

/* Hero Action buttons layout */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

/* ==========================================================================
   Features Bar (Trust Bar) Component
   ========================================================================== */
.features-bar {
    background-color: #FFFFFF;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 2.2rem 0;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.features-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    transition: var(--transition-smooth);
    border-radius: 6px;
}

.feature-card:hover {
    transform: translateY(-3px);
}

.feature-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(26, 83, 54, 0.06);
    color: var(--color-primary);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.feature-icon {
    width: 22px;
    height: 22px;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-stat {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.feature-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: #64748B;
    line-height: 1.3;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Extra Large Screens / Hover effects block */
@media (max-width: 1200px) {
    .features-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .features-bar {
        padding: 3rem 0;
    }
}

/* Tablet Screens */
@media (max-width: 991px) {
    .nav-menu {
        display: none;
        /* Hide navigation, use burger overlay */
    }

    .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Mobile active navigation layout */
    .nav-menu.active {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 320px;
        height: 100vh;
        background-color: #FFFFFF;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1050;
        padding: 6rem 2.5rem 3rem;
        animation: slideIn 0.3s ease-out forwards;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.8rem;
    }

    .nav-link {
        font-size: 1.05rem;
        width: 100%;
        border-bottom: 1px solid #EDF2F7;
        padding-bottom: 0.8rem;
    }

    .nav-link::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        transform: none;
        padding-left: 1rem;
        display: none;
        margin-top: 0.5rem;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu::before {
        display: none;
    }

    /* Hamburger Animation to 'X' */
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Mobile menu overlay shadow background */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 990;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }
}

/* Mobile Screens */
@media (max-width: 767px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero-section {
        padding-top: calc(var(--header-height) + 2rem);
        padding-bottom: 4rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
    }

    .audience-badges {
        gap: 0.5rem 0.8rem;
    }

    .badge-divider {
        display: none;
        /* Stack badges without pipe dividers on small mobile */
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .features-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .features-container {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .feature-card {
        padding: 0.25rem;
    }
}

/* Slide in Keyframe */
@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

/* ==========================================================================
   Section Header Utility Styles
   ========================================================================== */
.section-header {
    margin-bottom: 3rem;
    max-width: 800px;
}

.section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--color-accent);
    letter-spacing: 1.5px;
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: clamp(1.5rem, 3.2vw, 2.1rem);
    line-height: 1.25;
    color: var(--color-dark);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748B;
    max-width: 720px;
    margin: 0 auto;
}

/* ==========================================================================
   Services Grid Section (What We Do)
   ========================================================================== */
.services-section {
    background-color: var(--color-light);
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.2rem;
}

.service-card {
    background-color: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0; /* Clear padding for full image bleed */
    display: flex;
    flex-direction: column;
    height: 300px; /* Uniform height for card proportion */
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden; /* Hide sliding hover overlays outside card boundary */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(76, 175, 80, 0.3);
}

/* Full Size Card Background Image */
.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card-img {
    transform: scale(1.08); /* Zoom effect on background image on hover */
}

/* Card Number Badge (Positioned absolute top-left over image) */
.card-number-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--color-accent);
    color: #FFFFFF;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid #FFFFFF;
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

/* Bottom 20% Solid Color Title Banner */
.service-card-title-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%; /* Exactly bottom 20% */
    background-color: rgba(26, 83, 54, 0.95); /* Forest Green solid background */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    transition: var(--transition-smooth);
    z-index: 5;
}

.service-card-title-new {
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
}

/* Full-Screen Hover Overlay */
.service-card-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 83, 54, 0.96); /* Semi-transparent overlay */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%); /* Start completely below the card */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 15;
}

.service-card:hover .service-card-hover-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Slide up to occupy full card */
}

/* Overlay Elements Styling */
.service-card-icon-wrapper.overlap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-card-icon-wrapper.overlap:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    transform: scale(1.05);
}

.service-card-icon {
    width: 20px;
    height: 20px;
}

.overlay-title {
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    text-align: center;
}

.overlay-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 1.2rem;
    text-align: center;
    padding: 0 0.5rem;
}

.overlay-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition-smooth);
}

.overlay-link:hover {
    color: #FFFFFF;
}

.overlay-link .arrow-right {
    transition: var(--transition-smooth);
}

.overlay-link:hover .arrow-right {
    transform: translateX(4px);
}

/* ==========================================================================
   Core Services Grid Section (End-to-End Solutions)
   ========================================================================== */
.core-services-section {
    background-color: #FFFFFF;
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.core-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.core-service-card {
    position: relative;
    height: 420px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.core-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(76, 175, 80, 0.3);
}

.core-service-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.core-service-card:hover .core-service-bg-img {
    transform: scale(1.08);
}

.core-service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.85); /* Premium dark background overlay */
    transition: var(--transition-smooth);
    z-index: 2;
}

.core-service-card:hover .core-service-overlay {
    background-color: rgba(26, 83, 54, 0.92); /* Transitions to dark forest green */
}

.core-service-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    z-index: 3;
}

.core-service-title {
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.core-service-list {
    margin-bottom: auto; /* Pushes the CTA link to the absolute bottom of the card content */
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.core-service-list li {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    padding-left: 1.25rem;
    list-style: none;
    line-height: 1.4;
}

/* Custom chevron bullet */
.core-service-list li::before {
    content: '\25B8'; /* small black right-pointing triangle ▸ */
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--color-accent);
    font-size: 0.8rem;
    line-height: 1;
}

.core-service-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
    margin-top: 1.5rem;
    width: fit-content;
}

.core-service-link:hover {
    color: var(--color-accent);
}

.core-service-link .link-arrow {
    transition: var(--transition-smooth);
}

.core-service-link:hover .link-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   Industries We Serve Section (3D Flip Cards)
   ========================================================================== */
.industries-section {
    background-color: var(--color-light);
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* 3D Flip Card Container */
.flip-card {
    background-color: transparent;
    perspective: 1000px; /* Enable 3D space */
    height: 280px;
    border-radius: 8px;
}

/* Inner wrapper containing front and back */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    box-shadow: var(--shadow-sm);
    border-radius: 8px;
}

/* Hover rotation */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Front & Back basic styling */
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
}

/* Front view styling */
.flip-card-front {
    background-color: #F1F5F9;
    color: black;
    z-index: 2;
}

.industry-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Front title banner (matching the bottom 20% overlay look) */
.industry-front-title-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 22%;
    background-color: rgba(26, 83, 54, 0.9); /* Forest Green translucent overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    z-index: 5;
}

.industry-front-title {
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
}

/* Back view styling */
.flip-card-back {
    background-color: #FFFFFF;
    border: 1px solid var(--color-border);
    color: var(--color-text-dark);
    transform: rotateY(180deg);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

.industry-back-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.8rem;
}

.industry-back-desc {
    font-family: var(--font-body);
    font-size: 0.82rem;
    line-height: 1.5;
    color: #4A5568;
    margin-bottom: 1.2rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-back-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition-smooth);
}

.industry-back-link:hover {
    color: var(--color-primary);
}

.industry-back-link .link-arrow {
    transition: var(--transition-smooth);
}

.industry-back-link:hover .link-arrow {
    transform: translateX(3px);
}

/* ==========================================================================
   Expertise Journey Section
   ========================================================================== */
.journey-section {
    background-color: #FFFFFF;
    padding: 3.5rem 0;
}

.journey-flowchart {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4rem;
    gap: 0.25rem;
}

.journey-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 0;
    /* Prevents overflow inside flexbox */
    position: relative;
}

/* Step Image Circular Wrap with Double Border */
.step-image-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    padding: 3px;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    transition: var(--transition-smooth);
    box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 4px #CBD5E1;
}

.journey-step:hover .step-image-circle {
    box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 5px var(--color-accent);
    transform: scale(1.05);
}

.step-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.step-number-badge {
    background-color: var(--color-accent);
    color: #FFFFFF;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    border: 1px solid #FFFFFF;
    box-shadow: var(--shadow-sm);
}

.step-title {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.4;
    padding: 0 0.15rem;
}

.journey-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    margin-bottom: 4.8rem;
    /* Aligns vertically with the center of circular step images */
    flex-shrink: 0;
}

.arrow-icon {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   Bottom Green Vision Banner Section
   ========================================================================== */
.bottom-banner-section {
    background-color: var(--color-primary);
    color: #FFFFFF;
    padding: 2.2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-container-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.banner-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.banner-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-accent);
    flex-shrink: 0;
}

.banner-icon-circle svg {
    width: 22px;
    height: 22px;
}

.banner-text {
    display: flex;
    flex-direction: column;
}

.banner-highlight {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.2;
}

.banner-sub {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.banner-center {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
    flex-grow: 1;
}

.banner-leaf-icon {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.banner-message {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

.banner-right {
    flex-shrink: 0;
}

.btn-banner-cta {
    background-color: #FFFFFF;
    color: var(--color-primary);
    padding: 0.75rem 1.4rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.btn-banner-cta:hover {
    background-color: var(--color-accent);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.main-footer {
    background-color: #0F2116; /* Deep forest green-black background */
    color: #E2E8F0;
    padding: 5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* Brand Column styling */
.brand-col .footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.footer-brand-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #CBD5E1;
    margin-bottom: 1.8rem;
}

/* Social Icon styling */
.social-links {
    display: flex;
    gap: 0.85rem;
}

.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    color: #FFFFFF;
    transition: var(--transition-smooth);
}

.social-icon-link:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px);
}

.social-icon-link svg {
    width: 16px;
    height: 16px;
}

/* Common Link list styling */
.footer-col-title {
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-link-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link-list li {
    font-size: 0.88rem;
}

.footer-link-list a {
    color: #CBD5E1;
    transition: var(--transition-smooth);
}

.footer-link-list a:hover {
    color: var(--color-accent);
    padding-left: 4px;
}

/* Contact Column styling */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #CBD5E1;
}

.contact-icon {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 3px;
}

/* Footer Bottom section styling */
.footer-bottom {
    background-color: #0A170F; /* Even deeper tone for copyright */
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-text {
    font-size: 0.8rem;
    color: #94A3B8;
}

.footer-policy-links {
    display: flex;
}

.footer-policy-links a {
    font-size: 0.8rem;
    color: #94A3B8;
    margin-left: 1.8rem;
    transition: var(--transition-smooth);
}

.footer-policy-links a:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   Service Pages Core Styles
   ========================================================================== */
.service-hero {
    position: relative;
    padding-top: calc(var(--header-height) + 5rem);
    padding-bottom: 5rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    min-height: 45vh;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.service-hero-subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    color: var(--color-accent);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.service-hero-title {
    font-size: clamp(1.6rem, 4vw, 3.2rem);
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: var(--color-text-light);
}

.service-hero-desc {
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

/* Service Detail Section styling */
.service-detail-section {
    padding: 5rem 0;
    background-color: #FFFFFF;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 4rem;
}

.service-text-block h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1.2rem;
}

.service-text-block p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4A5568;
    margin-bottom: 1.5rem;
}

.service-text-block .methodology-box {
    background-color: rgba(26, 83, 54, 0.04);
    border-left: 4px solid var(--color-primary);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin-top: 2rem;
}

.methodology-box h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.6rem;
}

.methodology-box p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Deliverables Card styling */
.deliverables-card {
    background-color: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 2.2rem;
    height: fit-content;
    box-shadow: var(--shadow-sm);
}

.deliverables-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.deliverables-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.deliverables-list li {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-dark);
    position: relative;
    padding-left: 1.5rem;
    list-style: none;
    line-height: 1.4;
}

.deliverables-list li::before {
    content: '\25B8'; /* Small triangle arrow ▸ */
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--color-accent);
    font-size: 0.9rem;
    line-height: 1;
}

/* Inquiry Form Section styling */
.service-inquiry-section {
    padding: 5rem 0;
    background-color: var(--color-light);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.inquiry-form-container {
    max-width: 760px;
    margin: 0 auto;
    background-color: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.inquiry-form-container h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 0.6rem;
}

.inquiry-form-container p {
    font-size: 0.9rem;
    color: #64748B;
    text-align: center;
    margin-bottom: 2.2rem;
}

.inquiry-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group-full {
    grid-column: span 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-dark);
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-smooth);
    background-color: #FFFFFF;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-form-submit {
    background-color: var(--color-primary);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    grid-column: span 2;
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    box-shadow: 0 4px 10px rgba(26, 83, 54, 0.15);
}

.btn-form-submit:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.25);
}

/* ==========================================================================
   Responsive Adjustments for new sections
   ========================================================================== */

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem 1.5rem;
    }

    .core-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .journey-flowchart {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem 1.5rem;
    }

    .journey-arrow {
        display: none;
        /* Hide horizontal arrows on grid layout */
    }

    .journey-step {
        max-width: 150px;
        margin: 0 auto;
    }

    .banner-container-inner {
        gap: 1.5rem;
    }

    .banner-message {
        font-size: 0.9rem;
    }

    .footer-container {
        gap: 2.5rem;
    }
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .journey-flowchart {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.2rem;
    }

    /* Vertical stack for the bottom banner on tablet/mobile */
    .banner-container-inner {
        flex-direction: column;
        text-align: center;
        gap: 1.8rem;
    }

    .banner-left {
        flex-direction: column;
        gap: 0.6rem;
    }

    .banner-center {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn-banner-cta {
        display: block;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 540px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2.2rem;
        /* Give space for floated number badges */
    }

    .core-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .industries-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    /* Transform journey into a clean vertical timeline on mobile */
    .journey-flowchart {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: relative;
        padding-left: 2rem;
        gap: 2rem;
        margin-top: 3rem;
    }

    /* Vertical Timeline Connector Line */
    .journey-flowchart::before {
        content: '';
        position: absolute;
        top: 20px;
        left: 32px;
        width: 2px;
        height: calc(100% - 40px);
        background-color: #E2E8F0;
        z-index: 1;
    }

    .journey-step {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 1.5rem;
        width: 100%;
        max-width: none;
        margin: 0;
        position: relative;
        z-index: 2;
    }

    .step-image-circle {
        margin-bottom: 0;
        background-color: #FFFFFF;
        padding: 2px;
        border-radius: 50%;
        border: 1.5px solid var(--color-accent);
        width: 64px;
        height: 64px;
        flex-shrink: 0;
        box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 3px #CBD5E1;
    }

    .step-img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }

    /* Step content block alignment on mobile */
    .journey-step .step-number-badge {
        margin-bottom: 0;
        font-size: 0.8rem;
        color: #FFFFFF;
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .journey-step .step-title {
        font-size: 0.95rem;
        padding: 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-policy-links {
        justify-content: center;
    }

    .footer-policy-links a {
        margin: 0 0.9rem;
    }

    .inquiry-form-container {
        padding: 2rem 1.5rem;
    }

    .inquiry-form {
        grid-template-columns: 1fr;
    }

    .form-group-full, .btn-form-submit {
        grid-column: span 1;
    }
}

/* ==========================================================================
   About Us Page Component Styles
   ========================================================================== */
.section-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--color-accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.about-story-section {
    padding: 6rem 0 4rem;
    background-color: #FFFFFF;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.story-content .section-badge,
.founder-content .section-badge {
    margin-bottom: 1rem;
}

.story-content h2 {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    line-height: 1.25;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.story-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4A5568;
    margin-bottom: 1.5rem;
}

.story-image-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.story-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.about-pillars-section {
    padding: 5rem 0;
    background-color: var(--color-light);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-header-center h2 {
    font-size: clamp(2rem, 3.5vw, 2.4rem);
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.section-header-center p {
    font-size: 1rem;
    color: #64748B;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar-card {
    background-color: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.pillar-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.pillar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.pillar-card:hover .pillar-img {
    transform: scale(1.06);
}

.pillar-card-content {
    padding: 1.8rem;
    text-align: left;
}

.pillar-card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--color-primary);
}

.pillar-card-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #4A5568;
}

.founder-section {
    padding: 6rem 0;
    background-color: #FFFFFF;
}

.founder-profile-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.founder-image-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    background-color: #FFFFFF;
}

.founder-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.founder-meta {
    padding: 1.5rem;
    background-color: var(--color-primary);
    color: #FFFFFF;
    text-align: center;
}

.founder-meta h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.25rem;
}

.founder-meta span {
    font-size: 0.85rem;
    font-family: var(--font-heading);
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.founder-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.founder-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4A5568;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Case Studies Page Component Styles
   ========================================================================== */
.case-studies-section {
    padding: 6rem 0;
    background-color: #FFFFFF;
}

.case-studies-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.case-study-card {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-color: #FFFFFF;
    transition: var(--transition-smooth);
}

.case-study-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(26, 83, 54, 0.2);
}

.case-study-image-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 380px;
}

.case-study-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.case-study-card:hover .case-study-img {
    transform: scale(1.05);
}

.metric-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background-color: #E55B13; /* Vibrant Orange */
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(229, 91, 19, 0.35);
    z-index: 5;
}

.case-study-body {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-category {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.case-study-body h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 2rem;
}

.case-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.2rem;
}

.detail-block h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.4rem;
    font-family: var(--font-heading);
}

.detail-block p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #4A5568;
}

.btn-case-enquiry {
    background-color: var(--color-primary);
    color: #FFFFFF;
    align-self: flex-start;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(26, 83, 54, 0.15);
}

.btn-case-enquiry:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(76, 175, 80, 0.2);
}

/* ==========================================================================
   Contact Us Page Component Styles
   ========================================================================== */
.contact-page-section {
    padding: 6rem 0;
    background-color: #FFFFFF;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-details-card h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.contact-details-card .card-lead {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748B;
    margin-bottom: 2.5rem;
}

.contact-detail-items {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-bottom: 3rem;
}

.contact-detail-items .detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.item-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(26, 83, 54, 0.06);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-text strong {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-dark);
}

.item-text span {
    font-size: 0.9rem;
    color: #4A5568;
    line-height: 1.5;
}

.mock-location-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.location-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.location-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 83, 54, 0.95);
    padding: 0.8rem 1.5rem;
    text-align: center;
}

.location-overlay span {
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
}

.contact-form-card {
    margin: 0;
    box-shadow: var(--shadow-lg);
}

/* Media Query overrides for subpages */
@media (max-width: 991px) {
    .about-story-grid, .contact-grid, .founder-profile-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .founder-image-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .case-study-card {
        grid-template-columns: 1fr;
    }

    .case-study-image-wrapper {
        min-height: 280px;
    }

    .case-study-body {
        padding: 2.2rem;
    }

    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 540px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }
}