/* =====================================================
   VARDHAMAN ENGINEERING - MODERN HOMY-INSPIRED CSS
   High-End Industrial Engineering & SPM Website Design
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Montserrat:wght@500;600;700;800;900&display=swap');

/* ===== CSS VARIABLES & DESIGN TOKENS ===== */
:root {
    /* Brand Colors */
    --primary-blue: #334e2b; /* Exact Logo Theme Green */
    --primary-dark: #20331c;
    --primary-midnight: #0f180d;
    --primary-light: #edf3ec;
    
    --accent-orange: #E07B39;
    --accent-orange-hover: #CC6928;
    --accent-orange-light: #FFF4ED;
    
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --text-white: #FFFFFF;
    
    --bg-page: #FFFFFF;
    --bg-subtle: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-dark: #0f180d;
    
    /* Borders */
    --border-subtle: #E5E7EB;
    --border-light: #F3F4F6;
    --border-accent: rgba(52, 79, 46, 0.15);
    
    /* Shadows - Homy Multi-Layered Style */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 25px -3px rgba(15, 24, 13, 0.08), 0 4px 6px -2px rgba(15, 24, 13, 0.04);
    --shadow-xl: 0 20px 40px -10px rgba(15, 24, 13, 0.12), 0 8px 16px -4px rgba(15, 24, 13, 0.06);
    --shadow-glow: 0 12px 32px rgba(224, 123, 57, 0.25);
    --shadow-blue-glow: 0 12px 32px rgba(52, 79, 46, 0.25);
    
    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 150ms var(--ease-in-out);
    --transition-base: 300ms var(--ease-out-cubic);
    --transition-slow: 500ms var(--ease-out-cubic);
}

/* ===== BASE RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-page);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Plus Jakarta Sans', sans-serif;
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

h3 {
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 700;
    line-height: 1.3;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== CONTAINER SYSTEM ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.container-wide {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ===== TOP ANNOUNCEMENT / TRUST BAR ===== */
.top-bar {
    background: var(--primary-midnight);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.825rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar-badges {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.top-bar-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #E2E8F0;
}

.top-bar-badge span.dot {
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10B981;
    display: inline-block;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-contact a {
    color: #E2E8F0;
    font-weight: 500;
}

.top-bar-contact a:hover {
    color: var(--accent-orange);
}

/* ===== MODERN FLOATING NAVBAR ===== */
header.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all var(--transition-base);
}

header.sticky-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

header.sticky-header.scrolled .navbar {
    padding: 4px 0; /* Squeezes slightly on scroll */
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0; 
    transition: padding var(--transition-base);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-brand-img {
    height: 95px; /* Even larger base size */
    width: auto;
    object-fit: contain;
    transition: height var(--transition-base);
}

header.sticky-header.scrolled .nav-brand-img {
    height: 65px; /* Shrinks down when scrolling */
}

.nav-brand-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--primary-dark);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.nav-brand-title span {
    color: var(--accent-orange);
}

.nav-brand-subtitle {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-item a {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    border-radius: 2px;
    transition: width var(--transition-base);
}

.nav-item a:hover,
.nav-item a.active {
    color: var(--primary-blue);
}

.nav-item a:hover::after,
.nav-item a.active::after {
    width: 100%;
}

/* Dropdown Styles */
.nav-item.dropdown,
.menu-item-has-children.dropdown {
    position: relative;
}

.nav-item.dropdown > a,
.menu-item-has-children.dropdown > a {
    padding-right: 20px;
}

.nav-item.dropdown > a::before,
.menu-item-has-children.dropdown > a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0; 
    height: 0; 
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    pointer-events: none;
    opacity: 0.7;
}

.nav-menu .submenu .menu-item-has-children.dropdown > a::before {
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid currentColor;
    right: 15px;
}

.nav-menu .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    background: var(--bg-white, #fff);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    list-style: none;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-radius: 8px;
    z-index: 100;
}

.nav-item.dropdown:hover > .submenu,
.menu-item-has-children.dropdown:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .submenu li {
    position: relative;
    padding: 0;
}

.nav-menu .submenu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-primary, #333);
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
    font-weight: 500;
}

.nav-menu .submenu li a::after {
    display: none;
}

.nav-menu .submenu li a:hover {
    background: #f8f9fa;
    color: var(--accent-orange, #E07B39);
}

/* 3rd level dropdown */
.nav-menu .submenu .submenu {
    top: 0;
    left: 100%;
    transform: translateX(10px);
}

.nav-menu .submenu .menu-item-has-children.dropdown:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.6rem;
    color: var(--primary-dark);
    cursor: pointer;
    padding: 6px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 28px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(31, 71, 136, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(31, 71, 136, 0.35);
}

.btn-accent {
    background: var(--accent-orange);
    color: var(--text-white);
    box-shadow: var(--shadow-glow);
}

.btn-accent:hover {
    background: var(--accent-orange-hover);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(224, 123, 57, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-dark);
    border-color: rgba(31, 71, 136, 0.25);
}

.btn-outline:hover {
    background: var(--primary-light);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
    background: var(--text-white);
    color: var(--primary-dark);
    border-color: var(--text-white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 9px 20px;
    font-size: 0.85rem;
}

.btn-icon {
    font-size: 1.1em;
    transition: transform var(--transition-base);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* ===== PILL BADGES (HOMY STYLE) ===== */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(31, 71, 136, 0.08);
    color: var(--primary-blue);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid rgba(31, 71, 136, 0.12);
}

.badge-pill.badge-orange {
    background: rgba(224, 123, 57, 0.1);
    color: var(--accent-orange);
    border-color: rgba(224, 123, 57, 0.2);
}

.badge-pill.badge-white {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-orange);
    box-shadow: 0 0 8px var(--accent-orange);
    display: inline-block;
}

.badge-dot.green {
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
}

/* ===== SECTION HEADERS (HOMY CLEAN STYLE) ===== */
.section-header {
    margin-bottom: 56px;
}

.section-header.text-center {
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-eyebrow {
    margin-bottom: 12px;
}

.section-title {
    margin-bottom: 16px;
    color: #334e2b !important;
}

.section-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ===== HERO SECTION (SCROLL-DRIVEN CINEMATIC) ===== */
.hero-section {
    position: relative;
    height: 100vh; /* Exactly one viewport height as requested */
    min-height: 600px;
    background: #08162E; /* Fallback */
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    /* Simulate background-attachment: fixed by fixing it to the viewport until section scrolls */
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(4, 10, 24, 0.5), rgba(4, 10, 24, 0.7));
    z-index: 0;
}

.hero-text-layer {
    position: absolute; 
    top: 42%; /* Shifted higher up so the massive text and buttons fit perfectly without scaling down */
    left: 50%;
    transform: translate(-50%, -50%); /* Perfectly centered */
    z-index: 1;
    width: 100%;
    text-align: center;
}

.hero-heading {
    margin-top: 24px;
    margin-bottom: 24px;
    color: #ffffff;
    font-size: clamp(2.5rem, 5vw, 4.5rem); /* Scaled down slightly to be less overwhelming */
    line-height: 1.05;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 0, 0, 0.6);
}

.hero-heading span.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}

.hero-lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 36px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    font-weight: 500;
}

.hero-actions.justify-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.hero-image-layer {
    position: absolute;
    bottom: 0; /* Set to 0 so it's always at the bottom, moving naturally with the page */
    left: 0;
    width: 100%;
    height: 80vh; /* Reduced from 100vh so it doesn't overlap text layout */
    display: flex;
    justify-content: center;
    z-index: 2;
    transform: translateY(100%); /* Hides the image initially before GSAP loads (prevents flash) */
    pointer-events: none; /* Let clicks pass through empty areas to the text/buttons */
}

.hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    height: 100%;
    position: relative;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    bottom: -35%; /* Shift cloud image further downside */
    background: url('../images/cloud.png') no-repeat center bottom;
    background-size: cover;
    z-index: 1;
}

.hero-worker {
    position: absolute;
    bottom: 80px; /* Attach to the metrics section which moved up */
    left: 50%;
    transform: translateX(-50%);
    width: 35%; 
    max-width: 400px; 
    height: auto;
    z-index: 2;
    object-fit: contain !important; 
    object-position: center bottom !important;
}



/* ===== METRICS STRIP (SIGNATURE HOMY VALUE BAR) ===== */
.metrics-section {
    padding: 0;
    margin-top: -100px; /* Moved upside into the hero section */
    position: relative;
    z-index: 10;
}

.metrics-card {
    background: var(--primary-midnight);
    color: white;
    border-radius: var(--radius-xl);
    padding: 40px 48px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.metric-item {
    text-align: left;
    position: relative;
}

.metric-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -16px;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.metric-number-wrapper {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.metric-number {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.4rem, 3.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1;
    color: white;
}

.metric-suffix {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-orange);
}

.metric-label {
    font-size: 1rem;
    font-weight: 700;
    color: #E2E8F0;
    margin-bottom: 4px;
}

.metric-sublabel {
    font-size: 0.825rem;
    color: #94A3B8;
    margin-bottom: 0;
}

/* ===== INFINITE MARQUEE (TRUST / SECTORS TICKER) ===== */
.marquee-section {
    padding: 40px 0;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
}

.marquee-title {
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 40px;
    animation: scrollMarquee 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    background: white;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.marquee-item .item-icon {
    font-size: 1.2rem;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== FEATURED PRODUCTS / TOP PROPERTIES STYLE ===== */
.solutions-section {
    padding: 100px 0;
    background: #FFFFFF;
}

.category-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.category-tab {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    background: var(--bg-subtle);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    font-size: 0.925rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.category-tab:hover,
.category-tab.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 14px rgba(31, 71, 136, 0.25);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Homy Property / Product Card Style */
.solution-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    position: relative;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(31, 71, 136, 0.2);
}

.solution-card-media {
    position: relative;
    height: 240px;
    background: #E2E8F0;
    overflow: hidden;
}

.solution-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.solution-card:hover .solution-card-media img {
    transform: scale(1.06);
}

.solution-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: rgba(8, 22, 46, 0.85);
    color: white;
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.solution-card-icon-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-md);
}

.solution-card-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.solution-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.solution-card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.solution-card-specs {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 16px;
    margin-bottom: 20px;
    border-top: 1px solid var(--border-subtle);
}

.spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: var(--bg-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.solution-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.solution-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-blue);
}

.solution-card-link:hover {
    color: var(--accent-orange);
    gap: 10px;
}

/* ===== NUMBERED SERVICES SECTION (.01, .02, .03, .04 - ICONIC HOMY STYLE) ===== */
.services-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 100px 0;
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.services-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.services-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 20, 40, 0.75); /* Deep dark overlay */
    z-index: 2;
}

.services-container {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.services-section .section-header {
    width: 45%;
    text-align: left;
    margin-bottom: 0;
}

.services-section .section-title,
.services-section .section-description {
    color: #ffffff !important;
}

.services-section .badge-pill {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.services-grid {
    position: relative;
    width: 50%;
    height: 70vh; /* Plenty of space for the cards to stack */
    display: flex;
    justify-content: flex-start; /* Align to left so they fan out to the right */
    align-items: center;
    perspective: 1500px; /* REQUIRED FOR 3D EFFECT */
}

.service-box {
    position: absolute; /* Stack them in the center */
    width: 100%;
    max-width: 650px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: 48px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-xl);
    transition: box-shadow var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--accent-orange) 100%);
    transition: height var(--transition-base);
}

.service-box:hover {
    box-shadow: var(--shadow-xl);
    border-color: rgba(31, 71, 136, 0.18);
}

.service-box:hover::before {
    height: 100%;
}

.service-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.service-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(31, 71, 136, 0.18);
    line-height: 1;
    transition: color var(--transition-base);
}

.service-box:hover .service-number {
    color: var(--accent-orange);
}

.service-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-blue);
    transition: all var(--transition-base);
}

.service-box:hover .service-icon-wrap {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.05);
}

.service-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #334e2b !important;
    margin-bottom: 14px;
}

.service-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-feature-list {
    list-style: none;
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.service-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
}

.service-feature-item span.check {
    color: #10B981;
    font-weight: 800;
}

/* ===== HIGHLIGHTED INNOVATION SECTION (HOMY "HIGHLIGHTED HOME" STYLE) ===== */
.highlight-section {
    padding: 100px 0;
    background: var(--primary-midnight);
    color: white;
    position: relative;
    overflow: hidden;
}

.highlight-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(31, 71, 136, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

.highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.highlight-content h2 {
    color: white;
    margin-bottom: 20px;
}

.highlight-content p.lead {
    color: #CBD5E1;
    font-size: 1.15rem;
    line-height: 1.75;
    margin-bottom: 32px;
}

.highlight-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 16px;
}

.highlight-nav-btn {
    background: transparent;
    border: none;
    color: #94A3B8;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.highlight-nav-btn:hover,
.highlight-nav-btn.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.highlight-nav-btn.active {
    color: var(--accent-orange);
}

.highlight-tab-pane {
    display: none;
}

.highlight-tab-pane.active {
    display: block;
    animation: fadeInTab 400ms ease-out forwards;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.highlight-feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.highlight-feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: var(--radius-md);
}

.highlight-feature-card h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.highlight-feature-card p {
    color: #94A3B8;
    font-size: 0.88rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.highlight-visual-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.highlight-visual-card img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.highlight-floating-stat {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(8, 22, 46, 0.92);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.floating-stat-item {
    text-align: center;
}

.floating-stat-item strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--accent-orange);
    display: block;
}

.floating-stat-item span {
    font-size: 0.8rem;
    color: #CBD5E1;
}

/* ===== WHY CHOOSE US (MODERN BENTO GRID) ===== */
.why-us-section {
    padding: 100px 0;
    background: #FFFFFF;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.bento-card {
    background: var(--bg-subtle);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(31, 71, 136, 0.2);
    background: white;
}

.bento-card.bento-span-2 {
    grid-column: span 2;
}

.bento-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary-blue);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
}

.bento-title {
    font-size: 1.35rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.bento-text {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ===== TESTIMONIALS / CLIENT REVIEWS (HOMY STYLE) ===== */
.reviews-section {
    padding: 100px 0;
    background: var(--bg-subtle);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.review-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 36px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-base);
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.review-stars {
    color: #F59E0B;
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--border-subtle);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-orange) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--primary-dark);
}

.author-info span {
    font-size: 0.825rem;
    color: var(--text-muted);
}

/* ===== FAQ SECTION (HOMY ACCORDION STYLE) ===== */
.faq-section {
    padding: 100px 0;
    background: #FFFFFF;
}

.faq-wrapper {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    overflow: hidden;
    transition: all var(--transition-base);
    background: white;
}

.faq-item:hover,
.faq-item.active {
    border-color: rgba(31, 71, 136, 0.3);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.faq-toggle-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-blue);
    transition: transform var(--transition-base), background var(--transition-base);
    flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
    background: var(--accent-orange);
    color: white;
}

.faq-answer {
    padding: 0 28px 24px;
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.7;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeInTab 300ms ease-out forwards;
}

/* ===== HIGH-CONVERSION CTA CARD ===== */
.cta-section {
    padding: 60px 0 100px;
    background: #FFFFFF;
}

.cta-banner-card {
    background: var(--primary-blue);
    border-radius: var(--radius-xl);
    padding: 72px 64px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-banner-card::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(224, 123, 57, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner-card::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(31, 71, 136, 0.5) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
}

.cta-banner-content h2 {
    color: white;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 20px;
}

.cta-banner-content p {
    color: #E2E8F0;
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.cta-buttons-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== QUICK CONTACT / CONSULTATION MODAL/STRIP ===== */
.quick-contact-section {
    padding: 90px 0;
    background: var(--bg-subtle);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.contact-info-text strong {
    display: block;
    font-size: 1.05rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.contact-info-text p,
.contact-info-text a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.contact-form-panel {
    background: white;
    padding: 48px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: var(--bg-subtle);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.98rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(31, 71, 136, 0.1);
}

/* ===== ULTRA-SLEEK MODERN FOOTER ===== */
footer.modern-footer {
    background: var(--primary-midnight);
    color: #94A3B8;
    padding: 80px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand h3 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.footer-brand h3 span {
    color: var(--accent-orange);
}

.footer-brand p {
    color: #94A3B8;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-column h4 {
    color: white;
    font-size: 1.15rem;
    margin-bottom: 24px;
    position: relative;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94A3B8;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: white;
    padding-left: 6px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.925rem;
}

.footer-contact-item span.icon {
    color: var(--accent-orange);
    font-size: 1.1rem;
}

.footer-contact-item a {
    color: #94A3B8;
}

.footer-contact-item a:hover {
    color: white;
}

.footer-social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--transition-base);
}

.footer-social-btn:hover {
    background: var(--accent-orange);
    transform: translateY(-3px);
}

.footer-bottom-strip {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.88rem;
}

.footer-bottom-strip p {
    margin-bottom: 0;
    color: #64748B;
}

.footer-cert-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-cert-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    color: #CBD5E1;
}

/* ===== INNER PAGES (ABOUT, SERVICES, PRODUCTS) ===== */
.inner-page-hero {
    position: relative;
    padding: 180px 0 100px 0;
    background: linear-gradient(135deg, var(--primary-midnight) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    overflow: hidden;
}

.inner-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=1600&q=80') no-repeat center center / cover;
    opacity: 0.15;
    z-index: 0;
}

.inner-hero-content {
    position: relative;
    z-index: 1;
}

.inner-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    color: #ffffff;
}

.inner-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Glass Stat Card */
.stat-card-glass {
    background: rgba(31, 71, 136, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.stat-item {
    text-align: center;
    margin-bottom: 24px;
}
.stat-item:last-child {
    margin-bottom: 0;
}
.stat-item h3 {
    font-size: 3rem;
    color: var(--accent-orange);
    margin-bottom: 4px;
    font-weight: 800;
}
.stat-item p {
    font-size: 1.1rem;
    margin: 0 0 4px 0;
    color: #ffffff;
    font-weight: 600;
}
.stat-item span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}
.stat-divider {
    border-top: 1px solid rgba(255,255,255,0.15);
    margin: 24px 0;
}

/* Value Cards */
.value-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 4px 20px rgba(8, 22, 46, 0.05);
    border-bottom: 3px solid var(--primary-blue);
    transition: all var(--transition-base);
    height: 100%;
}
.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(8, 22, 46, 0.1);
}
.value-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(31, 71, 136, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
    color: var(--primary-blue);
}
.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}
.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Certificate Cards */
.cert-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition-base);
    height: 100%;
}
.cert-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}
.cert-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}
.cert-card h3 {
    font-size: 1.35rem;
    color: white;
    margin-bottom: 16px;
}
.cert-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

/* Team Cards */
.team-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 4px 20px rgba(8, 22, 46, 0.05);
    transition: all var(--transition-base);
    text-align: center;
    border-bottom: 3px solid transparent;
}
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(8, 22, 46, 0.1);
    border-bottom-color: var(--primary-blue);
}
.team-avatar {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-midnight) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 4rem;
}
.team-card h3 {
    color: var(--primary-midnight);
    margin-bottom: 4px;
    font-size: 1.25rem;
}
.team-card .team-role {
    color: var(--accent-orange);
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .solutions-grid,
    .bento-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-card.bento-span-2 {
        grid-column: span 1;
    }
    
    .footer-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .metrics-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .metric-item:not(:last-child)::after {
        display: none;
    }

    .services-container {
        flex-direction: column;
        gap: 20px;
    }
    .services-section .section-header {
        width: 100%;
        text-align: center;
    }
    .services-grid {
        width: 100%;
        height: 50vh;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 74px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        box-shadow: var(--shadow-xl);
        border-bottom: 1px solid var(--border-subtle);
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    .solutions-grid,
    .services-grid,
    .bento-grid,
    .reviews-grid,
    .highlight-grid,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .metrics-card {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }
    
    .floating-badge {
        display: none;
    }
    
    .service-box,
    .contact-form-panel,
    .cta-banner-card {
        padding: 32px 24px;
    }
    
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
}

/* ==========================================================================
   ABOUT US PAGE SPECIFIC STYLES
   ========================================================================== */

/* Hero Section */
.inner-page-hero {
    position: relative;
    padding: 180px 0 120px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    color: white;
    text-align: center;
}

.inner-page-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 79, 46, 0.9) 0%, rgba(31, 71, 136, 0.7) 100%);
    z-index: 1;
}

.inner-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.inner-hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.1;
    color: white;
    text-shadow: 0 10px 30px rgba(0,0,0,0.4);
    letter-spacing: -1px;
}

.inner-hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    line-height: 1.6;
}

/* Stats Ribbon */
.stats-ribbon {
    background: var(--primary-midnight);
    color: white;
    padding: 40px 0;
    border-top: 4px solid var(--accent-orange);
    position: relative;
    z-index: 10;
    margin-top: -30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: var(--radius-lg);
}

.stats-ribbon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stats-ribbon-item {
    padding: 20px;
}

.stats-ribbon-item h3 {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: white;
    margin-bottom: 10px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-ribbon-item h3 span.suffix {
    color: var(--accent-orange);
    font-size: 3rem;
    margin-left: 5px;
}

.stats-ribbon-item p {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Our Story Split Layout */
.story-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.story-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    .services-container {
        flex-direction: column;
        gap: 20px;
    }
    .services-section .section-header {
        width: 100%;
        text-align: center;
    }
    .services-grid {
        width: 100%;
        height: 50vh;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 74px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        box-shadow: var(--shadow-xl);
        border-bottom: 1px solid var(--border-subtle);
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    .solutions-grid,
    .services-grid,
    .bento-grid,
    .reviews-grid,
    .highlight-grid,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .metrics-card {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }
    
    .floating-badge {
        display: none;
    }
    
    .service-box,
    .contact-form-panel,
    .cta-banner-card {
        padding: 32px 24px;
    }
    
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
}

/* ==========================================================================
   ABOUT US PAGE SPECIFIC STYLES
   ========================================================================== */

/* Hero Section */
.inner-page-hero {
    position: relative;
    padding: 180px 0 120px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    color: white;
    text-align: center;
}

.inner-page-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 79, 46, 0.9) 0%, rgba(31, 71, 136, 0.7) 100%);
    z-index: 1;
}

.inner-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.inner-hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.1;
    color: white;
    text-shadow: 0 10px 30px rgba(0,0,0,0.4);
    letter-spacing: -1px;
}

.inner-hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    line-height: 1.6;
}

/* Stats Ribbon */
.stats-ribbon {
    background: var(--primary-midnight);
    color: white;
    padding: 40px 0;
    border-top: 4px solid var(--accent-orange);
    position: relative;
    z-index: 10;
    margin-top: -30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: var(--radius-lg);
}

.stats-ribbon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stats-ribbon-item {
    padding: 20px;
}

.stats-ribbon-item h3 {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: white;
    margin-bottom: 10px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-ribbon-item h3 span.suffix {
    color: var(--accent-orange);
    font-size: 3rem;
    margin-left: 5px;
}

.stats-ribbon-item p {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Our Story Split Layout */
.story-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.story-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    pointer-events: none;
}

.story-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
}

/* Mission & Vision Premium Cards */
.mission-vision-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    box-shadow: 0 10px 40px rgba(52, 79, 46, 0.08); /* subtle green shadow */
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.mission-vision-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 6px; height: 100%;
    background: var(--primary-midnight); /* #344f2e */
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.mission-vision-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(52, 79, 46, 0.15);
}

.mv-card-icon {
    font-size: 3.5rem;
    background: var(--primary-light);
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.mv-card-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.mv-card-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Core Values Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.bento-item {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bento-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(52, 79, 46, 0.3);
    transform: translateY(-5px);
}

.bento-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-midnight);
    margin-bottom: 20px;
    transition: transform var(--transition-base), background var(--transition-base), color var(--transition-base);
}

.bento-item:hover .bento-icon {
    transform: scale(1.1);
    background: var(--primary-midnight);
    color: white;
}

.bento-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.bento-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Certifications Section */
.cert-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    color: white;
    transition: all var(--transition-base);
}

.cert-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.cert-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.cert-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--accent-orange);
}

.cert-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== GRID SYSTEM ===== */
.grid {
    display: grid;
    gap: 30px;
}
.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

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

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}
