/* ===============================================
   DeepNautic - Premium Maritime Design System
   Human-crafted with refined typography & glass
   =============================================== */

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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

:root {
    /* Apple Liquid Glass Design System - Light Blue Secondary */
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;

    /* Light Blue Secondary Palette */
    --secondary-50: #f0f9ff;
    --secondary-100: #e0f2fe;
    --secondary-200: #bae6fd;
    --secondary-300: #7dd3fc;
    --secondary-400: #38bdf8;
    --secondary-500: #0ea5e9;
    --secondary-600: #0284c7;

    /* Accent Colors */
    --accent-400: #fbbf24;
    --accent-500: #f59e0b;
    --accent-600: #d97706;

    /* Navy for Text (keeping for contrast) */
    --navy-900: #0c1426;
    --navy-800: #1a2744;
    --navy-700: #2d3f5f;
    --navy-600: #415a80;

    /* Text Colors */
    --text-900: #0f172a;
    --text-800: #1e293b;
    --text-700: #475569;
    --text-600: #64748b;
    --muted-500: #94a3b8;
    --muted-400: #cbd5e1;

    /* Background Colors */
    --bg-50: #f8fafc;
    --bg-100: #f1f5f9;
    --bg-200: #e2e8f0;
    --white: #ffffff;
    --cream: #fefdfb;

    /* Apple Liquid Glass Gradients */
    --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #0369a1 100%);
    --gradient-accent: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --gradient-hero: linear-gradient(165deg, rgba(14, 165, 233, 0.85), rgba(2, 132, 199, 0.75));
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(224, 242, 254, 0.15) 50%, rgba(255, 255, 255, 0.25) 100%);
    --gradient-glass-dark: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(186, 230, 253, 0.08) 100%);
    --gradient-subtle: linear-gradient(180deg, var(--bg-50) 0%, var(--white) 100%);
    --gradient-liquid-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(186, 230, 253, 0.25) 40%, rgba(224, 242, 254, 0.2) 70%, rgba(255, 255, 255, 0.35) 100%);

    /* Generous Spacing Scale */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 28px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-14: 56px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;
    --space-32: 128px;

    /* Softer Border Radius */
    --radius-sm: 6px;
    --radius-8: 8px;
    --radius-10: 10px;
    --radius-12: 12px;
    --radius-16: 16px;
    --radius-20: 20px;
    --radius-24: 24px;
    --radius-full: 9999px;

    /* Apple Liquid Glass Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
    --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
    --shadow-glass: 0 8px 32px rgba(14, 165, 233, 0.08), 0 4px 16px rgba(15, 23, 42, 0.06);
    --shadow-glass-hover: 0 16px 48px rgba(14, 165, 233, 0.12), 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-liquid: 0 8px 40px rgba(14, 165, 233, 0.15), 0 2px 8px rgba(15, 23, 42, 0.04);

    /* Apple Liquid Glass Effects */
    --glass-blur: blur(24px);
    --glass-blur-strong: blur(40px);
    --glass-blur-subtle: blur(16px);
    --glass-border: 1px solid rgba(255, 255, 255, 0.25);
    --glass-border-light: 1px solid rgba(255, 255, 255, 0.4);
    --glass-specular: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(255, 255, 255, 0.1);

    /* Typography Scale */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 1.875rem;
    --font-4xl: 2.25rem;
    --font-5xl: 3rem;
    --font-6xl: 3.75rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-800);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    letter-spacing: -0.011em;
}

.container {
    width: min(92%, 1200px);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

a {
    text-decoration: none;
    color: var(--primary-600);
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: var(--primary-700);
}

ul {
    list-style: none;
}

/* Premium Typography System */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', 'Inter', -apple-system, sans-serif;
    color: var(--navy-900);
    font-weight: 600;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
    letter-spacing: -0.035em;
    line-height: 1.15;
    font-weight: 700;
}

h2 {
    font-size: clamp(1.5rem, 3vw + 0.5rem, 2.5rem);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

h3 {
    font-size: clamp(1.25rem, 2vw + 0.25rem, 1.75rem);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

h4 {
    font-size: clamp(1.1rem, 1.5vw + 0.2rem, 1.35rem);
    letter-spacing: -0.015em;
    line-height: 1.4;
}

p,
li {
    color: var(--text-700);
    line-height: 1.75;
    letter-spacing: -0.006em;
}



/* =====================================================
   APPLE LIQUID GLASS HEADER
   Frosted glass with light blue tint & specular highlights
   ===================================================== */
.minimal-header {
    /* Apple Liquid Glass effect with light blue tint */
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.45) 0%,
            rgba(224, 242, 254, 0.25) 40%,
            rgba(186, 230, 253, 0.2) 70%,
            rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border-radius: var(--radius-full);
    padding: var(--space-3) var(--space-8);
    margin: 0;
    box-shadow:
        0 8px 32px rgba(14, 165, 233, 0.08),
        0 4px 16px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(255, 255, 255, 0.15);
    position: fixed;
    top: var(--space-3);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    width: fit-content;
    min-width: 300px;
    max-width: 94vw;
}

/* Scrolled state - more frosted glass */
.minimal-header.scrolled {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(240, 249, 255, 0.92) 50%,
            rgba(255, 255, 255, 0.95) 100%);
    box-shadow:
        0 12px 40px rgba(14, 165, 233, 0.1),
        0 4px 12px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(186, 230, 253, 0.4);
}


.header-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-4);
    display: flex;
    justify-content: center;
    /* Center content in header */
    align-items: center;
    position: relative;
    gap: var(--space-3);
    /* Add space between elements */
}

/* Divider - Hidden per design */
.divider {
    display: none;
    /* Keep gray when scrolled over other sections */
}



/* Logo styling */
.logo a {
    color: var(--white);
    /* White by default for contrast on transparent background */
    font-size: 1.2rem;
    /* Smaller font for more compact look */
    font-weight: 700;
    text-decoration: none;
    position: relative;
    z-index: 101;
    transition: color 0.3s ease;
    pointer-events: auto;
    /* Ensure link still works */
}

.logo a:hover {
    color: var(--white);
    /* Keep white on hover, don't change to blue */
    text-decoration: none;
}

/* Scrolled state for logo */
.minimal-header.scrolled .logo a {
    color: var(--navy-900);
    /* Black when scrolled over other sections */
}

.minimal-header.scrolled .logo a:hover {
    color: var(--navy-900);
    /* Keep black on hover when scrolled */
}

/* Header scrolled state - when over other sections */
.minimal-header.scrolled .logo a {
    color: var(--navy-900);
    /* Black when scrolled over other sections */
}

/* Header layout: logo on left, desktop navigation on right for larger screens */
.header-container {
    justify-content: space-between;
    /* Space between logo and menu */
    align-items: center;
}

/* Logo styling - positioned on left */
.logo {
    flex: 0 0 auto;
}

/* Desktop navigation for larger screens */
.desktop-nav {
    display: flex;
    margin-left: auto;
    /* Push navigation to the right */
}

.desktop-nav ul {
    display: flex;
    gap: var(--space-3);
    /* Reduced gap for more compact layout */
    margin: 0;
    padding: 0;
}

.desktop-nav li {
    list-style: none;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--white);
    /* White by default */
    font-weight: 500;
    padding: var(--space-1) var(--space-3);
    /* Reduced padding for more compact look */
    border-radius: var(--radius-8);
    transition: all 0.3s ease;
    position: relative;
    z-index: 101;
}

.desktop-nav a:hover {
    color: var(--primary-600);
    background: rgba(255, 255, 255, 0.3);
}

/* Header scrolled state - when over other sections */
.minimal-header.scrolled .logo a {
    color: var(--navy-900);
    /* Black when scrolled over other sections */
}

.minimal-header.scrolled .desktop-nav a {
    color: var(--navy-900);
    /* Black when scrolled over other sections */
}

.minimal-header.scrolled .desktop-nav a:hover {
    color: var(--primary-600);
    background: rgba(30, 64, 175, 0.1);
    /* Light blue background on hover */
}

/* Dropdown menu - hidden by default, shown on smaller screens */
.dropdown {
    display: none;
    /* Hidden by default */
    position: relative;
    margin-left: auto;
    /* Push dropdown to the right */
}

.dropdown-btn {
    background: transparent;
    border: none;
    /* Remove border */
    color: var(--white);
    font-weight: 500;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-8);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 101;
}

.dropdown-btn:hover {
    color: var(--primary-600);
    background: rgba(255, 255, 255, 0.3);
}

.minimal-header.scrolled .dropdown-btn {
    color: var(--navy-900);
    border: none;
    /* Remove border */
}

.minimal-header.scrolled .dropdown-btn:hover {
    color: var(--primary-600);
    background: rgba(30, 64, 175, 0.1);
}

/* Dropdown arrow styling */
.dropdown-btn .arrow-down {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-btn .arrow-down {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 200px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    border-radius: var(--radius-12);
    overflow: hidden;
    top: 100%;
    border: none;
    /* Remove border */
}

.dropdown-content a {
    color: var(--navy-900);
    padding: var(--space-4) var(--space-5);
    text-decoration: none;
    display: block;
    font-weight: 500;
    transition: all 0.3s ease;
}


.dropdown-content a:hover {
    background-color: rgba(30, 64, 175, 0.1);
    color: var(--primary-600);
    padding-left: calc(var(--space-5) + 10px);
}

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

/* Mobile toggle button */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--space-2);
    background: transparent;
    border: none;
    z-index: 101;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--navy-900);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile navigation */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0 0 var(--radius-12) var(--radius-12);
    padding: var(--space-4);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin: 0;
    padding: 0;
}

.mobile-nav li {
    list-style: none;
    width: 100%;
}

.mobile-nav a {
    display: block;
    text-decoration: none;
    color: var(--white);
    /* White by default to match header text */
    padding: var(--space-4) var(--space-5);
    /* Increased padding for better touch targets and visibility */
    border-radius: var(--radius-8);
    transition: all 0.3s ease;
    font-weight: 600;
    /* Bolder font weight for better visibility */
    font-size: 1.2rem;
    /* Larger font for better readability */
    border: 2px solid rgba(255, 255, 255, 0.3);
    /* More prominent border */
    margin-bottom: var(--space-2);
    /* Increased margin between items */
    background: rgba(255, 255, 255, 0.1);
    /* Subtle background for better visibility */
}

.mobile-nav a:hover {
    color: var(--white);
    background: var(--primary-600);
    border-color: var(--primary-600);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

/* Scrolled state for mobile navigation */
.minimal-header.scrolled .mobile-nav a {
    color: var(--navy-900);
    /* Black when scrolled over other sections */
}

.minimal-header.scrolled .mobile-nav a:hover {
    color: var(--white);
    background: var(--primary-600);
    border-color: var(--primary-600);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .minimal-header {
        margin: 0;
        padding: var(--space-1) var(--space-4);
        /* Reduced horizontal padding */
        border-radius: 50px;
        /* Maintain fully rounded corners */
        width: calc(85% - var(--space-2)) !important;
        /* Narrower width - 85% instead of 100% */
        min-width: auto !important;
        max-width: 500px !important;
        /* Add maximum width constraint */
        top: var(--space-3);
        left: 50%;
        transform: translateX(-50%);
        /* Center the header */
        position: fixed;
    }

    .desktop-nav {
        display: none;
        /* Hide desktop navigation on mobile */
    }

    .dropdown {
        display: block;
        /* Show dropdown menu on mobile */
    }

    .mobile-toggle {
        display: none;
        /* Hide the mobile toggle button */
    }

    .mobile-nav {
        display: none;
        /* Hide the mobile navigation menu completely */
    }

    .header-container {
        padding: 0 var(--space-2);
        flex-wrap: wrap;
        justify-content: space-between;
        /* Maintain space between logo and dropdown */
        align-items: center;
        gap: var(--space-2);
    }

    .divider {
        display: none;
        /* Hide the divider on smaller screens */
    }

    .logo {
        margin-left: var(--space-4);
        /* Position logo at center-left */
        margin-right: auto;
        /* Push to the left */
    }

    .dropdown {
        margin-right: var(--space-4);
        /* Position dropdown at center-right */
        margin-left: auto;
        /* Push to the right */
    }

    /* Animation for hamburger to X */
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

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

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

    .logo a {
        font-size: 1rem;
        /* Smaller font on mobile */
    }
}

@media (max-width: 480px) {
    .minimal-header {
        margin: 0;
        padding: var(--space-1) var(--space-3);
        /* More compact padding for small screens */
        border-radius: 50px;
        /* Maintain fully rounded corners */
        width: calc(80% - var(--space-2)) !important;
        /* Even narrower - 80% */
        min-width: auto !important;
        max-width: 400px !important;
        /* Smaller maximum width */
        top: var(--space-2);
        left: 50%;
        transform: translateX(-50%);
        /* Center the header */
        position: fixed;
        /* Maintain fixed positioning */
    }

    .header-container {
        padding: 0 var(--space-1);
        gap: var(--space-1);
        /* Even smaller gap on very small screens */
    }

    .logo {
        margin-left: var(--space-3);
        /* Position logo at center-left */
        margin-right: auto;
        /* Push to the left */
    }

    .logo a {
        font-size: 0.9rem;
        /* Smaller font on very small screens */
    }

    .dropdown {
        margin-right: var(--space-3);
        /* Position dropdown at center-right */
        margin-left: auto;
        /* Push to the right */
    }

    .dropdown-btn {
        padding: var(--space-1) var(--space-3);
        /* More compact padding */
        font-size: 0.9rem;
        /* Smaller font */
    }

    .divider {
        display: none;
        /* Hide the divider on very small screens */
    }
}

/* Specific styles for the original header (not the minimal header) */
header:not(.minimal-header) .container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

header:not(.minimal-header) nav ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: var(--space-6);
    padding: 0;
    margin: 0;
    width: auto;
}

header:not(.minimal-header) .logo {
    flex: 1;
}

/* Mobile navigation toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
    z-index: 101;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--navy-900);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Animation for hamburger to X */
.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

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

header:not(.minimal-header) nav {
    margin-left: auto;
    flex-shrink: 0;
    order: 2;
}

header:not(.minimal-header) .logo h1 {
    color: var(--primary-600);
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    letter-spacing: 0.3px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

header:not(.minimal-header) .logo a {
    text-decoration: none;
    display: inline-block;
}

header:not(.minimal-header) .logo a:hover {
    opacity: 0.9;
}

header:not(.minimal-header) nav ul li {
    margin: 0;
}

header:not(.minimal-header) nav ul li a {
    color: var(--text-800);
    font-weight: 500;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-color: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

header:not(.minimal-header) nav ul li a:hover,
header:not(.minimal-header) nav ul li a.active {
    color: var(--primary-600);
    background-color: rgba(30, 64, 175, 0.1);
    transform: translateY(-1px);
}

/* Make Contact button unique */
header:not(.minimal-header) nav ul li:last-child a {
    color: var(--text-900);
    background: var(--white);
    border: 2px solid var(--primary-600);
    box-shadow: var(--shadow-md);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

header:not(.minimal-header) nav ul li:last-child a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
    opacity: 0.9;
}

header:not(.minimal-header) nav ul li:last-child a:hover {
    background: var(--primary-600);
    color: var(--white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

header:not(.minimal-header) nav ul li:last-child a:hover::before {
    left: 0;
}

/* Header state when scrolled */
header:not(.minimal-header).scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

/* Header styling when scrolled */
header:not(.minimal-header).scrolled .logo h1 {
    color: var(--primary-600);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header:not(.minimal-header).scrolled nav ul li a {
    color: var(--text-900);
    background-color: transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

header:not(.minimal-header).scrolled nav ul li a:hover,
header:not(.minimal-header).scrolled nav ul li a.active {
    color: var(--primary-600);
    background-color: rgba(30, 64, 175, 0.1);
    transform: translateY(-1px);
}

header:not(.minimal-header).scrolled nav ul li:last-child a {
    color: var(--white);
    background: var(--gradient-primary);
    box-shadow: var(--shadow-lg);
}

header:not(.minimal-header).scrolled nav ul li:last-child a:hover {
    background: var(--gradient-accent);
    box-shadow: var(--shadow-xl);
}

/* Subtle header entrance animation */
@keyframes headerFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header {
    animation: headerFadeIn 400ms ease-out 1;
}

/* =====================================================
   HERO SECTION - Immersive & Cinematic
   ===================================================== */
.hero {
    height: 100vh;
    min-height: 100vh;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 100px;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-video::-webkit-media-controls {
    display: none !important;
}

/* Refined cinematic overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 120% 100% at 50% 0%, rgba(30, 64, 175, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 80% 80% at 50% 100%, rgba(12, 20, 38, 0.7) 0%, transparent 70%),
        linear-gradient(180deg, rgba(12, 20, 38, 0.3) 0%, rgba(12, 20, 38, 0.5) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 3;
    max-width: 850px;
    padding: 0 var(--space-8);
}

.hero h1 {
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--space-8);
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
    color: var(--white);
}

.hero p {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    margin-bottom: var(--space-10);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 400;
}

/* =====================================================
   CTA BUTTON - Apple Liquid Glass Style
   ===================================================== */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(224, 242, 254, 0.25) 40%,
            rgba(186, 230, 253, 0.2) 70%,
            rgba(255, 255, 255, 0.35) 100%);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    color: var(--white);
    padding: var(--space-4) var(--space-10);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    box-shadow:
        0 8px 32px rgba(14, 165, 233, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    text-decoration: none;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.5) 0%,
            rgba(186, 230, 253, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 40px rgba(14, 165, 233, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button:active {
    transform: translateY(0);
}


/* Page Header */
.page-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--space-20) 0;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: var(--space-4);
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* =====================================================
   SECTION STYLES - Refined Spacing & Typography
   ===================================================== */
section {
    padding: var(--space-24) 0;
}

section h2 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--space-6);
    color: var(--navy-900);
    font-weight: 600;
    letter-spacing: -0.03em;
}

section h2+p,
section .section-subtitle {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-16);
    font-size: 1.125rem;
    color: var(--text-600);
    line-height: 1.7;
}

/* Company Overview - Clean & Breathable */
.company-overview {
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
    position: relative;
}

.company-overview .container {
    max-width: 800px;
}

.company-overview h2 {
    text-align: center;
    margin-bottom: var(--space-10);
}

.company-overview p {
    margin-bottom: var(--space-8);
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-700);
    text-align: center;
    letter-spacing: -0.01em;
}

.company-overview p:last-child {
    margin-bottom: 0;
}

/* =====================================================
   SERVICES SECTION - Flowing Content (No Cards)
   ===================================================== */
.services-overview {
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-50) 50%, var(--cream) 100%);
    position: relative;
}

/* Service blocks - flowing typography-first approach */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.service-block {
    padding: var(--space-12) 0;
    border-bottom: 1px solid var(--bg-200);
    text-align: center;
}

.service-block:last-child {
    border-bottom: none;
}

.service-block h3 {
    color: var(--navy-900);
    margin-bottom: var(--space-5);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.service-block h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--primary-600);
    margin: var(--space-4) auto 0;
    border-radius: 1px;
    opacity: 0.7;
}

.service-block p {
    color: var(--text-700);
    line-height: 1.8;
    letter-spacing: -0.008em;
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.05rem;
}



/* Services List Layout - Alternating Image/Text */
.services-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
}

.service-item {
    display: flex;
    align-items: center;
    gap: var(--space-12);
    padding: var(--space-10) 0;
    border-bottom: 1px solid var(--bg-200);
}

.service-item:last-child {
    border-bottom: none;
}

.service-item-left {
    flex-direction: row;
}

.service-item-right {
    flex-direction: row-reverse;
}

.service-image-placeholder {
    flex: 0 0 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-16);
    aspect-ratio: 1/1;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover .service-image {
    box-shadow: var(--shadow-xl);
    transform: scale(1.02);
}

.image-placeholder {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--bg-100) 0%, var(--bg-200) 100%);
    border-radius: var(--radius-16);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-600);
    font-weight: 500;
    text-align: center;
    padding: var(--space-6);
    font-style: italic;
}

.service-content {
    flex: 1;
    padding: var(--space-6) var(--space-8);
}

.service-content h3 {
    color: var(--navy-900);
    margin-bottom: var(--space-5);
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: -0.02em;
}

.service-content p {
    color: var(--text-700);
    line-height: 1.75;
    margin: 0;
    text-align: center;
    font-size: 1.05rem;
    letter-spacing: -0.006em;
}

/* =====================================================
   VISION & MISSION - Flowing Typography-First Layout
   ===================================================== */
.vision-mission {
    background: linear-gradient(180deg, var(--cream) 0%, var(--bg-50) 50%, var(--white) 100%);
    position: relative;
    padding: var(--space-24) 0;
}

.vision-mission .container {
    max-width: 800px;
}

/* Flowing content blocks - no cards */
.vision-block,
.mission-block {
    text-align: center;
    padding: var(--space-12) 0;
}

.vision-block h2,
.mission-block h2 {
    color: var(--navy-900);
    margin-bottom: var(--space-8);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    position: relative;
}

.vision-block h2::after,
.mission-block h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--gradient-primary);
    margin: var(--space-5) auto 0;
    border-radius: 2px;
}

.vision-block p,
.mission-block p {
    color: var(--text-700);
    line-height: 1.85;
    margin: 0;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Section divider - clean line only, no dots */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--secondary-200) 20%,
            var(--secondary-200) 80%,
            transparent 100%);
    margin: var(--space-8) 0;
    position: relative;
}

/* Dot removed per design */
.section-divider::before {
    display: none;
}

/* Company Vision Mission (About Page) - inherits flowing design */
.company-vision-mission {
    background: linear-gradient(180deg, var(--cream) 0%, var(--bg-50) 50%, var(--white) 100%);
    padding: var(--space-24) 0;
}

.company-vision-mission .container {
    max-width: 800px;
}



/* Hero Services */
.hero-services {
    background: var(--gradient-hero);
    color: var(--white);
    padding: var(--space-20) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(30, 64, 175, 0.4) 0%, rgba(15, 23, 42, 0.7) 100%);
}

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

.hero-services .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-services h1 {
    font-size: clamp(36px, 6vw, 48px);
    margin-bottom: var(--space-4);
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-services p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto var(--space-8);
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* CTA Section */

/* CTA Section */
.cta-section {
    background: var(--gradient-hero), url('https://images.unsplash.com/photo-1579207484173-7a3c9c75e45a?ixlib=rb-4.0.3') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(30, 64, 175, 0.4) 0%, rgba(15, 23, 42, 0.7) 100%);
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: var(--space-6);
    font-size: clamp(28px, 4vw, 40px);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.95);
}

/* ==============================================
   ABOUT PAGE - UNIQUE GLASS DESIGNS
   ============================================== */

/* About Hero with Asymmetrical Glass Design */
.about-hero-glass {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.15), rgba(15, 23, 42, 0.3));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    padding: var(--space-20) 0 var(--space-16);
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-glass-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-16);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-glass-main h1 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: var(--space-4);
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-6);
}

.hero-glass-accent {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.glass-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-glass-visual {
    position: relative;
}

.floating-glass-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: var(--space-8);
    border-radius: var(--radius-16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-glass-card:hover {
    transform: translateY(-8px) rotate(2deg);
    box-shadow: 0 12px 40px rgba(30, 64, 175, 0.3);
}

.glass-card-icon {
    font-size: 2rem;
    margin-bottom: var(--space-4);
    display: block;
}

.floating-glass-card h3 {
    color: var(--white);
    margin-bottom: var(--space-3);
    font-size: 1.2rem;
}

.floating-glass-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
}

.glass-background-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 5%;
    animation-delay: 2s;
}

.orb-3 {
    width: 100px;
    height: 100px;
    top: 40%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Story Glass Sections */
.story-glass-sections {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(241, 245, 249, 0.2));
    padding: var(--space-20) 0;
    position: relative;
}

.story-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.story-glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: var(--space-10);
    border-radius: var(--radius-16);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.story-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(241, 245, 249, 0.1));
    z-index: -1;
}

.glass-card-header {
    margin-bottom: var(--space-8);
}

.glass-card-header h2 {
    color: var(--white);
    margin-bottom: var(--space-4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.glass-accent-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-500), var(--accent-600));
    border-radius: 2px;
}

.story-glass-card p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: var(--space-5);
}

.side-story {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.mini-glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: var(--space-6);
    border-radius: var(--radius-12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.mini-glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 1.5rem;
    margin-bottom: var(--space-3);
    display: block;
}

.mini-glass-card h4 {
    color: var(--white);
    margin-bottom: var(--space-2);
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.mini-glass-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Vision Mission Glass Cards */
.vision-mission-glass {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.1), rgba(30, 64, 175, 0.1));
    padding: var(--space-20) 0;
    position: relative;
}

.glass-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    max-width: 1000px;
    margin: 0 auto;
}

.vision-glass-card,
.mission-glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: var(--space-12);
    border-radius: var(--radius-16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vision-glass-card:hover,
.mission-glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.glass-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vision-glass-card:hover .glass-card-glow,
.mission-glass-card:hover .glass-card-glow {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-icon-large {
    font-size: 3rem;
    margin-bottom: var(--space-6);
    display: block;
    text-align: center;
}

.vision-glass-card h3,
.mission-glass-card h3 {
    color: var(--white);
    margin-bottom: var(--space-6);
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.vision-glass-card p,
.mission-glass-card p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    font-size: 1rem;
    text-align: center;
}

/* Quality Policy Glass Frame */
.quality-glass-frame {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(30, 64, 175, 0.1));
    padding: var(--space-20) 0;
    position: relative;
}

.glass-frame-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: var(--space-12);
    border-radius: var(--radius-16);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.glass-frame-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(241, 245, 249, 0.05));
    z-index: -1;
}

.frame-header {
    text-align: center;
    margin-bottom: var(--space-10);
}

.frame-header h2 {
    color: var(--white);
    margin-bottom: var(--space-4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.frame-accent {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-600), var(--primary-700));
    border-radius: 2px;
    margin: 0 auto;
}

.frame-body {
    margin-bottom: var(--space-10);
}

.frame-body p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: var(--space-6);
    text-align: center;
    font-size: 1.1rem;
}

.frame-footer {
    text-align: center;
}

.quality-metrics {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    flex-wrap: wrap;
}

.metric-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: var(--space-6);
    border-radius: var(--radius-12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    min-width: 120px;
    transition: all 0.3s ease;
}

.metric-glass:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.metric-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-2);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.metric-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Market Glass Cards */
.market-glass-cards {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(15, 23, 42, 0.2));
    padding: var(--space-20) 0;
}

.market-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    max-width: 1000px;
    margin: 0 auto;
}

.market-glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: var(--space-8);
    border-radius: var(--radius-16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.market-glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(30, 64, 175, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.market-glass-card:hover .card-overlay {
    opacity: 1;
}

.market-glass-card .card-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.market-glass-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
    display: block;
}

.market-glass-card h3 {
    color: var(--white);
    margin-bottom: var(--space-4);
    font-size: 1.3rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.market-glass-card p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin: 0;
}

.card-hover-effect {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-500), var(--accent-600));
    border-radius: 2px;
    opacity: 0;
    transition: all 0.3s ease;
}

.market-glass-card:hover .card-hover-effect {
    opacity: 1;
    bottom: 10px;
}

/* About CTA Glass */
.about-cta-glass {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.2), rgba(30, 64, 175, 0.15));
    padding: var(--space-20) 0;
    position: relative;
    overflow: hidden;
}

.cta-glass-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: var(--space-4);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-8);
    font-size: 1.1rem;
}

.cta-glass-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.cta-primary-glass,
.cta-secondary-glass {
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-12);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-primary-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cta-primary-glass:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.3);
}

.cta-secondary-glass {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.cta-secondary-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.cta-visual-glass {
    position: relative;
}

.cta-floating-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--space-6);
    border-radius: var(--radius-12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-floating-card:hover {
    transform: translateY(-4px) rotate(1deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.card-glow-effect {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-floating-card:hover .card-glow-effect {
    opacity: 1;
}

.cta-floating-card .card-icon {
    font-size: 1.5rem;
    margin-bottom: var(--space-2);
    display: block;
}

.cta-floating-card h4 {
    color: var(--white);
    margin-bottom: var(--space-2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-floating-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
}

.service-detail {
    margin-bottom: var(--space-12);
}

.service-detail h2 {
    text-align: left;
    margin-bottom: var(--space-5);
    color: var(--primary-600);
}

.service-detail ul {
    margin: var(--space-5) 0;
    padding-left: var(--space-6);
}

.service-detail ul li {
    margin-bottom: var(--space-3);
    list-style-type: disc;
    color: var(--text-700);
}

/* About Page Sections */
.page-header,
.company-overview,
.vision-mission,
.quality-policy,
.team-info,
.partnerships,
.target-market {
    background: var(--white);
    padding: var(--space-16) 0;
    text-align: center;
}

.page-header .container,
.company-overview .container,
.vision-mission .container,
.quality-policy .container,
.team-info .container,
.partnerships .container,
.target-market .container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.page-header h1,
.company-overview h2,
.vision-mission h2,
.quality-policy h2,
.team-info h2,
.partnerships h2,
.target-market h2 {
    margin-bottom: var(--space-8);
    text-align: center;
}

.page-header p,
.company-overview p,
.vision-mission blockquote,
.quality-policy p,
.team-info p {
    margin-bottom: var(--space-5);
    font-size: 1.1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-align: center;
}

.partnership-item {
    max-width: 900px;
    margin: 0 auto var(--space-8);
    text-align: center;
}

.partnership-item h3 {
    color: var(--primary-600);
    margin-bottom: var(--space-3);
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-8);
    justify-content: center;
}

.market-item {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-12);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.market-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.market-item h3 {
    color: var(--primary-600);
    margin-bottom: var(--space-4);
}

/* Additional spacing for content sections */
.company-overview p,
.quality-policy p,
.team-info p {
    margin-bottom: var(--space-6);
}

.team-info ul {
    max-width: 900px;
    margin: var(--space-6) auto;
    text-align: left;
    display: inline-block;
}

.team-info li {
    margin-bottom: var(--space-3);
    padding-left: var(--space-4);
    position: relative;
    line-height: 1.6;
}

/* Ensure proper spacing in partnerships section */
.partnerships {
    padding: var(--space-20) 0;
}

.partnership-item p {
    margin-bottom: var(--space-4);
}

/* Services Section */
.services-section {
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, var(--bg-100) 0%, var(--bg-50) 100%);
}

.services-section .container {
    max-width: 1200px;
}

.services-section h2 {
    text-align: center;
    margin-bottom: var(--space-16);
    color: var(--navy-900);
    font-weight: 600;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-header h2 {
    font-size: clamp(28px, 3.6vw, 36px);
    margin-bottom: var(--space-4);
    color: var(--navy-900);
    font-weight: 600;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-700);
}

/* Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: start;
}

.contact-info {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-16);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.contact-info h2 {
    color: var(--navy-900);
    margin-bottom: var(--space-6);
    font-size: 1.5rem;
    font-weight: 600;
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--bg-200);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: var(--space-6);
    padding-bottom: 0;
}

.contact-icon {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-600);
    color: var(--white);
    border-radius: var(--radius-12);
}

.contact-text {
    flex: 1;
}

.contact-text h3 {
    color: var(--navy-900);
    margin-bottom: var(--space-2);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
}

.contact-text p {
    color: var(--text-700);
    margin: 0;
    line-height: 1.6;
}

.map-container {
    margin-top: var(--space-8);
    border-radius: var(--radius-8);
    overflow: hidden;
    height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Update contact form to be centered with decreased width and increased spacing from map */
.contact-form {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-16);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226, 232, 240, 0.5);
    max-width: 600px;
    margin: var(--space-16) auto 0;
    /* Increase top margin for more spacing from map */
    justify-self: center;
}

.contact-form h2 {
    color: var(--navy-900);
    margin-bottom: var(--space-4);
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

.contact-form p {
    color: var(--text-700);
    margin-bottom: var(--space-6);
    line-height: 1.6;
    text-align: center;
}

/* On mobile, stack the contact info and form */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .contact-form {
        width: 100%;
        max-width: 100%;
        margin: var(--space-12) 0 0;
    }
}

/* Contact section specific heading alignment and spacing */
.contact-section h2 {
    text-align: center !important;
}

.contact-section h3 {
    text-align: center;
}

.contact-section p {
    margin-bottom: var(--space-4);
}

.info-grid {
    margin-top: var(--space-6);
}

.info-item {
    margin-bottom: var(--space-8);
}

.info-content h3 {
    margin-bottom: var(--space-2);
    text-align: center;
}

.info-content p {
    margin-bottom: 0;
}

/* Hero contact section */
.hero-contact h1 {
    text-align: center;
    margin-top: var(--space-4);
    /* Reduced top margin */
    margin-bottom: var(--space-6);
    /* Keep original bottom margin */
}

.hero-contact p {
    text-align: center;
    margin-bottom: var(--space-6);
}

/* Override default section h2 center alignment for contact page */
section.contact-section h2 {
    text-align: center;
    margin-bottom: var(--space-8);
}

/* Proper spacing between headings and paragraphs in contact page */
.contact-section .info-content>h3+p,
.contact-section .info-content>h4+p,
.contact-section .contact-details h3+p,
.contact-section .contact-form-section h3+p {
    margin-top: var(--space-2);
}

/* Forms */
.form-group {
    margin-bottom: var(--space-5);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 500;
    color: var(--text-800);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-3);
    border: 2px solid var(--bg-200);
    border-radius: var(--radius-8);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-600);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
    background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted-500);
}

.submit-button {
    background: var(--white);
    color: var(--text-900);
    padding: var(--space-3) var(--space-8);
    border: 2px solid var(--primary-600);
    border-radius: var(--radius-8);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.submit-button:hover {
    background: var(--primary-600);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.email-subscription {
    background: linear-gradient(135deg, var(--bg-100) 0%, var(--bg-50) 100%);
    padding: var(--space-20) 0;
    text-align: center;
}

.email-subscription h2 {
    margin-bottom: var(--space-5);
    color: var(--navy-900);
}

.email-subscription p {
    max-width: 600px;
    margin: 0 auto var(--space-8);
    color: var(--text-700);
}

.email-subscription form {
    max-width: 500px;
    margin: 0 auto;
}

/* Footer - Apple Liquid Glass Light Blue */
footer {
    background: linear-gradient(135deg,
            rgba(240, 249, 255, 0.95) 0%,
            rgba(224, 242, 254, 0.9) 50%,
            rgba(186, 230, 253, 0.85) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--navy-900);
    padding: var(--space-20) 0 var(--space-10);
    position: relative;
    border-top: 1px solid rgba(186, 230, 253, 0.5);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--secondary-400) 50%, transparent 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-10);
    margin-bottom: var(--space-10);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: var(--space-5);
    color: var(--navy-900);
    font-weight: 600;
}

.footer-section ul li {
    margin-bottom: var(--space-2);
}

.footer-section ul li a {
    color: var(--text-700);
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: var(--secondary-600);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-8);
    border-top: 1px solid rgba(14, 165, 233, 0.15);
    color: var(--text-600);
}

/* Footer text colors for light background */
footer p,
footer li,
footer address,
footer span {
    color: var(--text-700);
}

footer a {
    color: var(--secondary-600);
}

footer a:hover {
    color: var(--secondary-500);
}

/* Enhanced Responsive Design System */
/* Mobile-first approach with comprehensive breakpoints */

/* Base mobile styles (320px+) - already defined above */

/* Small tablets and large phones (480px+) */
@media (min-width: 481px) and (max-width: 767px) {
    .container {
        width: min(95%, 1200px);
        padding: 0 var(--space-6);
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: var(--space-6);
    }

    .services-list {
        gap: 0;
    }

    .service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
        padding: var(--space-6) 0;
        border-bottom: 1px solid var(--bg-200);
    }

    .service-item:last-child {
        border-bottom: none;
    }

    .service-image-placeholder {
        width: 100%;
        flex: 0 0 auto;
    }

    .image-placeholder {
        height: 150px;
    }

    .service-content {
        padding: var(--space-4) var(--space-6);
        text-align: center;
    }

    .hero {
        height: 75vh;
        padding: var(--space-12) 0;
    }

    .cta-button {
        padding: var(--space-4) var(--space-7);
        font-size: 1.05rem;
    }
}

/* Tablets (768px+) */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        width: min(90%, 1200px);
        padding: 0 var(--space-8);
    }

    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 var(--space-6);
    }

    header nav ul {
        justify-content: flex-end;
        gap: var(--space-5);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
    }

    .services-list {
        gap: var(--space-8);
    }

    .service-item {
        align-items: flex-start;
        padding: var(--space-6) 0;
    }

    .service-item-left {
        flex-direction: row;
    }

    .service-item-right {
        flex-direction: row-reverse;
    }

    .service-image-placeholder {
        flex: 0 0 200px;
    }

    .image-placeholder {
        height: 150px;
    }

    .hero {
        height: 85vh;
    }

    section {
        padding: var(--space-18) 0;
    }

    .service-card {
        padding: var(--space-7);
    }

    /* Better Vision & Mission styling for tablets */
    .vision-mission-content {
        gap: var(--space-8);
    }

    .vision-section,
    .mission-section {
        padding: var(--space-8);
    }

    .vision-section p,
    .mission-section p {
        font-size: 1rem;
    }
}

/* Large tablets and small laptops (1024px+) */
@media (min-width: 1024px) and (max-width: 1199px) {
    .container {
        width: min(85%, 1200px);
        max-width: 1200px;
    }

    header .container {
        max-width: 1200px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-8);
    }

    .services-list {
        gap: var(--space-10);
    }

    .service-item {
        align-items: flex-start;
        padding: var(--space-8) 0;
    }

    .service-item-left {
        flex-direction: row;
    }

    .service-item-right {
        flex-direction: row-reverse;
    }

    .service-image-placeholder {
        flex: 0 0 250px;
    }

    .image-placeholder {
        height: 180px;
    }

    .hero h1 {
        font-size: clamp(40px, 4vw, 56px);
    }

    .hero p {
        font-size: clamp(18px, 1.8vw, 22px);
    }

    section h2 {
        font-size: clamp(30px, 3vw, 36px);
    }

    /* Enhanced card hover effects for larger screens */
    .vision-mission-content {
        gap: var(--space-12);
    }

    .vision-section,
    .mission-section {
        padding: var(--space-10);
    }

    .service-card:hover {
        transform: translateY(-12px);
    }
}

/* Desktops (1200px+) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .container {
        max-width: 1200px;
    }

    header .container {
        max-width: 1200px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-10);
    }

    .services-list {
        gap: var(--space-12);
    }

    .service-item {
        align-items: flex-start;
        padding: var(--space-10) 0;
    }

    .service-item-left {
        flex-direction: row;
    }

    .service-item-right {
        flex-direction: row-reverse;
    }

    .service-image-placeholder {
        flex: 0 0 300px;
    }

    .image-placeholder {
        height: 200px;
    }

    .hero {
        height: 92vh;
    }

    .hero h1 {
        font-size: clamp(48px, 3.5vw, 60px);
    }

    .hero p {
        font-size: clamp(20px, 1.6vw, 24px);
    }

    section {
        padding: var(--space-20) 0;
    }

    .vision-mission-content {
        gap: var(--space-14);
    }

    .vision-section,
    .mission-section {
        padding: var(--space-12);
    }

    .service-card {
        padding: var(--space-8);
    }

    /* Better spacing for larger screens */
    section h2 {
        margin-bottom: var(--space-18);
    }
}

/* Large desktops (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    header .container {
        max-width: 1400px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-12);
    }

    .hero {
        height: 95vh;
    }

    .hero h1 {
        font-size: clamp(56px, 3vw, 72px);
    }

    .hero p {
        font-size: clamp(22px, 1.4vw, 26px);
    }

    section h2 {
        font-size: clamp(36px, 2.5vw, 42px);
        margin-bottom: var(--space-20);
    }

    .service-card {
        padding: var(--space-10);
    }

    .vision-mission blockquote {
        font-size: 1.25rem;
        padding: var(--space-12);
    }

    /* Enhanced animations for large screens */
    .service-card:hover {
        transform: translateY(-16px);
    }


}

/* Ultra-wide screens (1800px+) */
@media (min-width: 1800px) {
    .container {
        max-width: 1600px;
    }

    header .container {
        max-width: 1600px;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-12);
    }

    .hero h1 {
        font-size: clamp(64px, 2.5vw, 80px);
    }

    .hero p {
        font-size: clamp(24px, 1.2vw, 28px);
    }

}

/* Mobile Navigation Enhancement - Mobile visibility handled in media query below */

/* Hide mobile navigation toggle on desktop and tablet screens */
@media (min-width: 768px) {}

/* Enhanced mobile navigation - HIDDEN ON MOBILE */
@media (max-width: 767px) {
    .nav-toggle {
        display: none !important;
        z-index: 101;
    }

    header nav ul {
        display: none !important;
    }

    .logo h1 {
        font-size: clamp(1rem, 5vw, 1.4rem);
    }

    /* Ensure logo stays on left and dropdown stays on right */
    .minimal-header .header-container {
        justify-content: space-between;
    }

    .logo {
        margin-left: var(--space-4);
        /* Position logo at center-left */
        margin-right: auto;
        /* Push to the left */
    }

    .dropdown {
        margin-right: var(--space-4);
        /* Position dropdown at center-right */
        margin-left: auto;
        /* Push to the right */
    }
}

/* Page blur effect when menu is open */
body.menu-open {
    overflow: hidden;
}

body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
    z-index: 95;
    animation: fadeIn 0.4s ease;
}

/* Compact menu styling */
header nav ul.active {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Animation keyframes for menu items */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced hamburger animation */
.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-3);
        width: min(98%, 1200px);
    }

    section {
        padding: var(--space-8) 0;
    }

    .service-card {
        padding: var(--space-4);
    }

    /* Stack all service cards on very small screens */
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .services-list {
        gap: 0;
    }

    .service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
        padding: var(--space-6) 0;
        border-bottom: 1px solid var(--bg-200);
    }

    .service-item:last-child {
        border-bottom: none;
    }

    .service-image-placeholder {
        width: 100%;
        flex: 0 0 auto;
    }

    .image-placeholder {
        height: 150px;
    }

    .service-content {
        padding: var(--space-4) var(--space-6);
        text-align: center;
    }

    .vision-mission-content {
        flex-direction: column;
        gap: var(--space-6);
    }

    .vision-section,
    .mission-section {
        padding: var(--space-6);
    }

    /* Better mobile typography for very small screens */
    .logo h1 {
        font-size: clamp(1rem, 5vw, 1.4rem);
    }

    h1 {
        font-size: clamp(20px, 7vw, 32px);
    }

    h2 {
        font-size: clamp(18px, 5vw, 24px);
    }

    h3 {
        font-size: clamp(16px, 4vw, 20px);
    }
}

/* ==============================================
   ABOUT PAGE STYLES - LIGHT MODE DESIGN
   ============================================== */

/* ==============================================
   ENHANCED ABOUT PAGE STYLES - MODERN DESIGN
   ============================================== */

/* Enhanced About Hero Section */
.about-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: var(--space-20) 0;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 64, 175, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%);
    z-index: 1;
}

.about-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2310b981' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    /* Animation removed per design */
    z-index: 1;
}

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

.about-hero .hero-content {
    position: relative;
}

.about-hero h1 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--text-900);
    margin-bottom: var(--space-6);
    font-family: 'Poppins', sans-serif;
    position: relative;
    display: inline-block;
}

.about-hero h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-500), var(--secondary-600));
    border-radius: 2px;
    /* Animation removed per design */
}

.about-hero .hero-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--text-700);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
    position: relative;
    padding: 0 var(--space-4);
}

/* Enhanced Section Headers */
section h2 {
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-8);
}

section h2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -40px;
    transform: translateY(-50%);
    width: 6px;
    height: 40px;
    background: linear-gradient(180deg, #10b981, #059669);
    border-radius: 3px;
    opacity: 0.8;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #10b981, transparent);
    border-radius: 2px;
}

/* Enhanced Vision and Mission Cards */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    margin-top: var(--space-12);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.vision-card,
.mission-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-12);
    border-radius: var(--radius-20);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 16px rgba(16, 185, 129, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.vision-card::before,
.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #059669);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.vision-card:hover::before,
.mission-card:hover::before {
    transform: scaleX(1);
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.15),
        0 8px 32px rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
}

.vision-card h3,
.mission-card h3 {
    color: var(--primary-600);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-5);
    font-family: 'Poppins', sans-serif;
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.vision-card h3::before {
    content: '🎯';
    font-size: 1.2rem;
}

.mission-card h3::before {
    content: '🚀';
    font-size: 1.2rem;
}

/* Enhanced Quality Policy Section */
.quality-policy {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: var(--space-20) 0;
    position: relative;
    overflow: hidden;
}

.quality-policy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(30, 64, 175, 0.05) 0%, transparent 50%);
}

.quality-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.quality-intro {
    font-size: 1.2rem;
    color: var(--text-800);
    margin-bottom: var(--space-8);
    line-height: 1.7;
    font-weight: 500;
    position: relative;
    padding: var(--space-6);
    border-left: 4px solid #10b981;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0 var(--radius-12) var(--radius-12) 0;
    backdrop-filter: blur(10px);
}

.quality-content p:last-child {
    font-size: 1.05rem;
    color: var(--text-700);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* Enhanced Team Excellence Section */
.team-excellence {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: var(--space-20) 0;
    position: relative;
}

.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.team-text {
    padding-right: var(--space-8);
}

.team-intro {
    font-size: 1.1rem;
    color: var(--text-800);
    margin-bottom: var(--space-6);
    line-height: 1.7;
    font-weight: 500;
    position: relative;
}

.team-text p:last-child {
    font-size: 1rem;
    color: var(--text-700);
    line-height: 1.7;
}

.team-photo-container {
    display: flex;
    justify-content: center;
    position: relative;
}

.team-photo-frame {
    position: relative;
    border-radius: var(--radius-20);
    overflow: hidden;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 32px rgba(16, 185, 129, 0.1);
    max-width: 400px;
    width: 100%;
    transition: all 0.4s ease;
}

.team-photo-frame:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.2),
        0 16px 48px rgba(16, 185, 129, 0.15);
}

.team-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.team-photo-frame:hover .team-photo {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(16, 185, 129, 0.9));
    color: white;
    padding: var(--space-8);
    text-align: center;
    backdrop-filter: blur(10px);
}

.photo-overlay p {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Enhanced Services Section */
.services-offered {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: var(--space-20) 0;
    position: relative;
}

.services-grid-about {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-10);
    max-width: 1100px;
    margin: 0 auto;
}

.service-card-about {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: var(--space-10);
    border-radius: var(--radius-16);
    text-align: center;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.08),
        0 2px 12px rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #059669);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card-about:hover::before {
    transform: scaleX(1);
}

.service-card-about:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--space-5);
    display: block;
    filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.2));
    transition: all 0.3s ease;
}

.service-card-about:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.3));
}

.service-card-about h3 {
    color: var(--primary-600);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
    font-family: 'Poppins', sans-serif;
}

.service-card-about p {
    color: var(--text-700);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Enhanced Company Commitment */
.company-commitment {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: var(--space-20) 0;
    text-align: center;
    position: relative;
}

.company-commitment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(30, 64, 175, 0.05) 0%, transparent 50%);
}

.commitment-text {
    font-size: 1.2rem;
    color: var(--text-800);
    margin-bottom: var(--space-8);
    line-height: 1.7;
    font-weight: 500;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-16);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.company-commitment p:last-child {
    font-size: 1.05rem;
    color: var(--text-700);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* Enhanced CTA Section */
.contact-cta {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: var(--space-20) 0;
    text-align: center;
    border-top: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2310b981' fill-opacity='0.02'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E");
    animation: backgroundMove2 25s linear infinite;
}

@keyframes backgroundMove2 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(-40px, -40px) rotate(-360deg);
    }
}

.cta-buttons {
    display: flex;
    gap: var(--space-6);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-10);
    position: relative;
    z-index: 2;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: var(--space-5) var(--space-10);
    border-radius: var(--radius-16);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-width: 180px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow:
        0 8px 24px rgba(16, 185, 129, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 16px 40px rgba(16, 185, 129, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: #10b981;
    border: 2px solid #10b981;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.1);
}

.btn-secondary:hover {
    background: #10b981;
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 12px 32px rgba(16, 185, 129, 0.3),
        0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Enhanced Contact Information */
.contact-info-section {
    background: linear-gradient(135deg, #f1f5f9 0%, #f8fafc 100%);
    padding: var(--space-20) 0;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-10);
    max-width: 700px;
    margin: 0 auto;
}

.contact-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: var(--space-10);
    border-radius: var(--radius-16);
    text-align: center;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.06),
        0 2px 12px rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #059669);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.contact-item:hover::before {
    transform: scaleX(1);
}

.contact-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.1),
        0 8px 24px rgba(16, 185, 129, 0.1);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
    display: block;
    filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.2));
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.3));
}

.contact-item h3 {
    color: var(--primary-600);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
    font-family: 'Poppins', sans-serif;
}

.contact-item p {
    color: var(--text-700);
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

/* Active Navigation State */
.minimal-header .desktop-nav ul li a.active {
    color: #10b981;
    font-weight: 600;
    position: relative;
}

.minimal-header .desktop-nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
}

/* Animation on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vision-card,
.mission-card,
.service-card-about,
.contact-item {
    animation: fadeInUp 0.6s ease forwards;
}

.vision-card:nth-child(1) {
    animation-delay: 0.1s;
}

.mission-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card-about:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card-about:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card-about:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card-about:nth-child(4) {
    animation-delay: 0.4s;
}

.service-card-about:nth-child(5) {
    animation-delay: 0.5s;
}

.service-card-about:nth-child(6) {
    animation-delay: 0.6s;
}

/* Company Vision and Mission Section */
.company-vision-mission {
    background: #ffffff;
    padding: var(--space-20) 0;
}

.company-vision-mission .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-8);
    align-items: start;
    max-width: 1100px;
}

.company-vision-mission h2 {
    text-align: center;
}

.company-vision-mission .vision-block,
.company-vision-mission .mission-block {
    text-align: center;
}

.company-vision-mission .section-divider {
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(14, 165, 233, 0.2), transparent);
    align-self: stretch;
    min-height: 100px;
}

/* Responsive: stack on tablet/mobile */
@media (max-width: 900px) {
    .company-vision-mission .container {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .company-vision-mission .section-divider {
        width: 60px;
        height: 2px;
        background: var(--gradient-primary);
        justify-self: center;
        min-height: auto;
        border-radius: var(--radius-full);
    }
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    margin-top: var(--space-12);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.vision-card,
.mission-card {
    background: #ffffff;
    padding: var(--space-10);
    border-radius: var(--radius-16);
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(30, 64, 175, 0.1);
}

.vision-card h3,
.mission-card h3 {
    color: var(--primary-600);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
    font-family: 'Poppins', sans-serif;
}

.vision-card p,
.mission-card p {
    color: var(--text-700);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* Quality Policy Section */
.quality-policy {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: var(--space-20) 0;
}

.quality-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.quality-content h2 {
    text-align: center;
    margin-bottom: var(--space-8);
}

.qhse-list {
    list-style: disc;
    text-align: left;
    padding-left: var(--space-6);
    max-width: 800px;
    margin: 0 auto;
}

.qhse-list>li {
    font-size: 1.05rem;
    color: var(--text-700);
    line-height: 1.8;
    margin-bottom: var(--space-4);
}

.qhse-list ul {
    list-style: circle;
    margin-top: var(--space-2);
    padding-left: var(--space-6);
}

.qhse-list ul li {
    font-size: 1rem;
    margin-bottom: var(--space-2);
}

/* Team Collaboration Section */
.team-collaboration {
    background: #ffffff;
    padding: var(--space-20) 0;
}

.team-collaboration h2 {
    display: block;
    text-align: center;
    margin: 0 auto var(--space-4);
}

.collab-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-600);
    margin-bottom: var(--space-12);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    max-width: 1000px;
    margin: 0 auto;
}

.partner-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: var(--space-8);
    border-radius: var(--radius-12);
    border: 1px solid rgba(15, 23, 42, 0.06);
    text-align: center;
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.12);
    border-color: rgba(14, 165, 233, 0.2);
}

.partner-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-600);
    margin-bottom: var(--space-3);
}

.partner-card p {
    font-size: 0.95rem;
    color: var(--text-600);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 900px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .team-collaboration h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }
}

.team-text {
    padding-right: var(--space-8);
}

.team-intro {
    font-size: 1.1rem;
    color: var(--text-800);
    margin-bottom: var(--space-6);
    line-height: 1.7;
    font-weight: 500;
}

.team-text p:last-child {
    font-size: 1rem;
    color: var(--text-700);
    line-height: 1.7;
}

.team-photo-container {
    display: flex;
    justify-content: center;
}

.team-photo-frame {
    position: relative;
    border-radius: var(--radius-16);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    width: 100%;
}

.team-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: var(--space-6);
    text-align: center;
}

.photo-overlay p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Services Offered Section */
.services-offered {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: var(--space-20) 0;
}

.services-grid-about {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    max-width: 1000px;
    margin: 0 auto;
}

.service-card-about {
    background: #ffffff;
    padding: var(--space-8);
    border-radius: var(--radius-12);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card-about:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(30, 64, 175, 0.1);
}

.service-card-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #059669);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
    display: block;
}

.service-card-about h3 {
    color: var(--primary-600);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
    font-family: 'Poppins', sans-serif;
}

.service-card-about p {
    color: var(--text-700);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Past Projects Section - Clean Aesthetic */
.past-projects {
    background: #f8fafc;
    padding: var(--space-24) 0;
}

.past-projects h2 {
    display: block;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--navy-900);
    margin-bottom: var(--space-12);
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
    counter-reset: project-counter;
}

.projects-list li {
    background: #ffffff;
    color: var(--navy-900);
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.6;
    padding: var(--space-5) var(--space-6);
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
    transition: all 0.3s ease;
    position: relative;
    padding-left: var(--space-14);
    counter-increment: project-counter;
}

.projects-list li::before {
    content: counter(project-counter, decimal-leading-zero);
    position: absolute;
    left: var(--space-5);
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-500);
    letter-spacing: 0;
}

.projects-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    border-color: rgba(14, 165, 233, 0.2);
}

@media (max-width: 768px) {
    .past-projects {
        padding: var(--space-16) 0;
    }

    .projects-list li {
        font-size: 0.95rem;
        padding: var(--space-4) var(--space-5);
        padding-left: var(--space-9);
    }
}

/* ==============================================
   TEAM PAGE STYLES - Clean Grid Layout
   ============================================== */
.page-team main {
    padding-top: 90px;
}

.team-hero {
    background: #ffffff;
    padding: var(--space-20) 0 var(--space-12);
    text-align: center;
}

.team-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.3;
    max-width: 700px;
    margin: 0 auto var(--space-6);
    letter-spacing: -0.03em;
}

.team-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: var(--text-600);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
}

.team-members {
    background: #ffffff;
    padding: var(--space-12) 0 var(--space-24);
}

.team-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    max-width: 1000px;
    margin: 0 auto;
}

.team-member-card {
    text-align: center;
    transition: all 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-4px);
}

.member-image-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #f1f5f9;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.member-image-placeholder span {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-500);
    font-weight: 500;
}

.team-member-card:hover .member-image-placeholder {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    border-color: rgba(14, 165, 233, 0.2);
}

.member-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy-900);
    margin: 0 0 var(--space-1);
}

.member-role {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-500);
    margin: 0;
}

@media (max-width: 900px) {
    .team-grid-new {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-6);
    }
}

@media (max-width: 600px) {
    .team-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-5);
    }

    .member-image-placeholder {
        width: 110px;
        height: 110px;
    }

    .member-name {
        font-size: 0.95rem;
    }

    .member-role {
        font-size: 0.8rem;
    }

    .team-hero h1 {
        font-size: 1.5rem;
    }
}

/* Company Commitment Section */
.company-commitment {
    background: #ffffff;
    padding: var(--space-20) 0;
    text-align: center;
}

.commitment-text {
    font-size: 1.1rem;
    color: var(--text-800);
    margin-bottom: var(--space-6);
    line-height: 1.7;
    font-weight: 500;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.company-commitment p:last-child {
    font-size: 1rem;
    color: var(--text-700);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact CTA Section */
.contact-cta {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: var(--space-20) 0;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-8);
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-12);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: #10b981;
    border: 2px solid #10b981;
}

.btn-secondary:hover {
    background: #10b981;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Contact Information Section */
.contact-info-section {
    background: linear-gradient(135deg, #f1f5f9 0%, #f8fafc 100%);
    padding: var(--space-20) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    background: #ffffff;
    padding: var(--space-8);
    border-radius: var(--radius-12);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: var(--space-3);
    display: block;
}

.contact-item h3 {
    color: var(--primary-600);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-2);
    font-family: 'Poppins', sans-serif;
}

/* Page-level tweaks for About to avoid header overlap and improve spacing */
.page-about main {
    padding-top: 90px;
}

/* Professional tone overrides for About page */
.page-about .about-hero::before,
.page-about .about-hero::after {
    opacity: 0.6;
}

.page-about .vision-card,
.page-about .mission-card,
.page-about .quality-content,
.page-about .team-photo-frame,
.page-about .contact-item {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.page-about .vision-card:hover,
.page-about .mission-card:hover,
.page-about .contact-item:hover,
.page-about .team-photo-frame:hover {
    transform: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.page-about .service-icon,
.page-about .card-icon,
.page-about .card-icon-large {
    display: none;
}

.page-about .btn-primary,
.page-about .btn-secondary {
    border-radius: 10px;
    box-shadow: 0 6px 14px rgba(16, 185, 129, 0.25);
}

.page-about .btn-primary:hover,
.page-about .btn-secondary:hover {
    transform: none;
}

.page-about h2::before,
.page-about h2::after {
    opacity: 0.6;
}

.page-about .photo-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
}

/* Typography and layout scaling for About page */
.page-about .quality-content {
    box-shadow: none !important;
    border: none !important;
}

/* ==============================================
   Professional theme tweaks - remove green lines, unify header active color
   ============================================== */

/* Remove decorative green accent lines globally */
section h2::before,
section h2::after,
.about-hero h1::after,
.frame-accent,
.glass-accent-line,
.service-card-about::before,
.contact-item::before {
    display: none !important;
    content: none !important;
}

/* Header active state: use brand blue instead of green */
.minimal-header .desktop-nav ul li a.active {
    color: var(--primary-600) !important;
}

.minimal-header .desktop-nav ul li a.active::after {
    background: var(--primary-600) !important;
}

.page-services main {
    padding-top: 90px;
}

.page-services .container {
    width: min(92%, 1080px);
}

.page-services section {
    padding: var(--space-16) 0;
}

.page-services .hero-services {
    padding: var(--space-20) 0 var(--space-16);
}

.page-services .hero-services h1 {
    letter-spacing: -0.3px;
}

.page-services .hero-services .hero-subtitle {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.page-services .section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.page-services .service-detail {
    max-width: 860px;
    margin: 0 auto var(--space-12);
}

.page-services .service-detail h2 {
    text-align: left;
    margin-bottom: var(--space-3);
}

.page-services .service-detail h3 {
    text-align: left;
    margin-top: var(--space-4);
    margin-bottom: var(--space-3);
}

.page-services .service-detail p {
    text-align: left;
    margin-bottom: var(--space-3);
}

.page-services .service-detail ul {
    margin: var(--space-3) 0 var(--space-1) var(--space-6);
}

.page-services .service-detail ul li {
    list-style: disc;
    margin-bottom: var(--space-2);
}

@media (max-width: 768px) {
    .page-services .container {
        width: min(94%, 720px);
    }

    .page-services section {
        padding: var(--space-14) 0;
    }

    .page-services .service-detail {
        margin-bottom: var(--space-10);
    }
}

@media (max-width: 480px) {
    .page-services .container {
        width: min(96%, 480px);
    }

    .page-services section {
        padding: var(--space-12) 0;
    }
}

/* Services header: force black text and disable color transitions */
.page-services .minimal-header .logo a,
.page-services .minimal-header .desktop-nav a,
.page-services .minimal-header .dropdown-btn {
    color: inherit;
}

.page-contact main {
    padding-top: 90px;
}

.page-contact .container {
    width: min(92%, 900px);
}

.page-contact section {
    padding: var(--space-16) 0;
}

.page-contact .hero-contact .hero-subtitle {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.page-contact .company-overview h2 {
    margin-bottom: var(--space-6);
}

.page-contact .contact-form {
    max-width: 700px;
    margin: var(--space-12) auto 0;
}

/* Contact header: black text, no transitions */
.page-contact .minimal-header .logo a,
.page-contact .minimal-header .desktop-nav a,
.page-contact .minimal-header .dropdown-btn {
    color: inherit;
}

/* Keep same style when scrolled */
.page-services .minimal-header.scrolled .logo a,
.page-services .minimal-header.scrolled .desktop-nav a,
.page-services .minimal-header.scrolled .dropdown-btn {
    color: var(--navy-900) !important;
}

/* Mobile nav links on services: black text, no transitions */
.page-services .minimal-header .mobile-nav a {
    color: var(--navy-900) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    transition: none !important;
}

.page-services .minimal-header .mobile-nav a:hover {
    color: var(--navy-900) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    transform: none !important;
    box-shadow: none !important;
}

.page-about .about-hero h1 {
    letter-spacing: -0.3px;
}

.page-about .hero-subtitle {
    max-width: 760px;
}

.page-about section {
    padding: var(--space-16) 0;
    /* slightly tighter rhythm */
}

.page-about .container {
    width: min(92%, 1080px);
}

.page-about .vision-mission-grid {
    gap: var(--space-12);
}

.page-about .vision-card,
.page-about .mission-card {
    padding: var(--space-10);
}

.page-about .team-content {
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-12);
}

.page-about .team-photo {
    height: 280px;
}

.page-about .commitment-text {
    max-width: 760px;
}

@media (max-width: 768px) {
    .page-about .container {
        width: min(94%, 720px);
    }

    .page-about .team-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .page-about section {
        padding: var(--space-14) 0;
    }
}

@media (max-width: 480px) {
    .page-about .container {
        width: min(96%, 480px);
    }

    .page-about .about-hero h1 {
        font-size: clamp(24px, 6vw, 32px);
    }

    .page-about .team-photo {
        height: 240px;
    }

    .page-about section {
        padding: var(--space-12) 0;
    }
}

/* ==============================================
   RESPONSIVE DESIGN FOR ABOUT PAGE
   ============================================== */

/* Tablet Styles */
@media (max-width: 768px) {
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .team-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
    }

    .team-text {
        padding-right: 0;
    }

    .services-grid-about {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 250px;
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    .about-hero {
        padding: var(--space-16) 0;
    }

    .about-hero .hero-content h1 {
        font-size: clamp(24px, 6vw, 32px);
        margin-bottom: var(--space-4);
    }

    .about-hero .hero-subtitle {
        font-size: clamp(16px, 4vw, 18px);
    }

    .vision-card,
    .mission-card {
        padding: var(--space-6);
    }

    .team-photo {
        height: 250px;
    }

    .service-card-about {
        padding: var(--space-6);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .contact-item {
        padding: var(--space-6);
    }
}

/* ==============================================
   CORE SERVICES SECTION - Grid Layout with Visual Interest
   ============================================== */
.services-overview {
    padding: var(--space-32) 0;
    background: linear-gradient(180deg, var(--bg-50) 0%, var(--white) 100%);
    position: relative;
}

.services-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, rgba(14, 165, 233, 0.15), transparent 90%);
}

.services-overview .container {
    position: relative;
    max-width: 1100px;
}

.services-overview h2 {
    text-align: center;
    margin-bottom: var(--space-16);
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--navy-900);
    animation: fadeInUp 0.8s ease forwards;
}

.services-overview h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    margin: var(--space-6) auto 0;
    border-radius: var(--radius-full);
}

/* Services List - 2 Column Grid */
.services-overview ul.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: service-counter;
}

.services-overview ul.services-list li {
    position: relative;
    padding: var(--space-6) var(--space-6) var(--space-6) var(--space-14);
    background: var(--white);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: var(--radius-12);
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.5;
    color: var(--text-800);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    counter-increment: service-counter;
}

/* Numbered badge */
.services-overview ul.services-list li::before {
    content: counter(service-counter, decimal-leading-zero);
    position: absolute;
    left: var(--space-5);
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-500);
    letter-spacing: 0;
}

/* Staggered animation delays */
.services-overview ul.services-list li:nth-child(1) {
    animation-delay: 0.1s;
}

.services-overview ul.services-list li:nth-child(2) {
    animation-delay: 0.15s;
}

.services-overview ul.services-list li:nth-child(3) {
    animation-delay: 0.2s;
}

.services-overview ul.services-list li:nth-child(4) {
    animation-delay: 0.25s;
}

.services-overview ul.services-list li:nth-child(5) {
    animation-delay: 0.3s;
}

.services-overview ul.services-list li:nth-child(6) {
    animation-delay: 0.35s;
}

.services-overview ul.services-list li:nth-child(7) {
    animation-delay: 0.4s;
}

.services-overview ul.services-list li:nth-child(8) {
    animation-delay: 0.45s;
}

.services-overview ul.services-list li:nth-child(9) {
    animation-delay: 0.5s;
}

.services-overview ul.services-list li:nth-child(10) {
    animation-delay: 0.55s;
}

/* Hover state */
.services-overview ul.services-list li:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.06) 0%, rgba(255, 255, 255, 1) 100%);
    border-color: rgba(14, 165, 233, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.1);
}

.services-overview ul.services-list li:hover::before {
    color: var(--primary-600);
}

/* Responsive - Tablet */
@media (max-width: 900px) {
    .services-overview ul.services-list {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }

    .services-overview ul.services-list li {
        padding: var(--space-5) var(--space-5) var(--space-5) var(--space-12);
    }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .services-overview {
        padding: var(--space-20) 0;
    }

    .services-overview h2 {
        font-size: 1.75rem;
        margin-bottom: var(--space-10);
    }

    .services-overview ul.services-list li {
        padding: var(--space-4) var(--space-4) var(--space-4) var(--space-10);
        font-size: 0.95rem;
    }

    .services-overview ul.services-list li::before {
        left: var(--space-3);
        font-size: 0.8rem;
    }
}

/* ==============================================
   GLOBAL ANIMATIONS
   ============================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation utility classes */
.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

/* ==============================================
   COMPANY OVERVIEW - Enhanced Typography
   ============================================== */
.company-overview {
    padding: var(--space-32) 0;
    background: var(--bg-50);
    position: relative;
    overflow: hidden;
}

.company-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.08), transparent);
}

.company-overview .container {
    max-width: 850px;
    text-align: center;
}

.company-overview h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--navy-900);
    margin-bottom: var(--space-12);
    line-height: 1.1;
    animation: fadeInUp 0.8s ease forwards;
}

.company-overview p {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.05rem, 2.2vw, 1.2rem);
    line-height: 1.9;
    color: var(--text-600);
    letter-spacing: -0.01em;
    margin-bottom: var(--space-8);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.15s;
    opacity: 0;
}

.company-overview p:last-child {
    margin-bottom: 0;
    animation-delay: 0.25s;
}

/* Company Overview Responsive */
@media (max-width: 768px) {
    .company-overview {
        padding: var(--space-20) 0;
    }

    .company-overview h2 {
        margin-bottom: var(--space-8);
    }
}

/* ==============================================
   VISION & VALUES - Refined Layout
   ============================================== */
.vision-mission {
    padding: var(--space-32) 0;
    background: var(--white);
    position: relative;
}

.vision-mission .container {
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: var(--space-12);
    align-items: start;
}

.vision-block,
.mission-block {
    padding: var(--space-6);
}

.vision-block {
    text-align: left;
    animation: fadeInUp 0.8s ease forwards;
}

.mission-block {
    text-align: left;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.vision-mission h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--navy-900);
    margin-bottom: var(--space-6);
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.vision-mission h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    margin-top: var(--space-3);
    border-radius: var(--radius-full);
}

.vision-mission p {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    line-height: 1.8;
    color: var(--text-700);
    letter-spacing: -0.005em;
    text-align: left;
}

.vision-mission b {
    font-weight: 600;
    color: var(--primary-600);
    transition: color 0.3s ease;
}

.vision-mission b:hover {
    color: var(--navy-900);
}

/* Values List Styling */
.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-list li {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 1.6vw, 1rem);
    line-height: 1.7;
    color: var(--text-700);
    padding: var(--space-3) 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.values-list li:last-child {
    border-bottom: none;
}

.values-list li b {
    display: inline;
}

.section-divider {
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(14, 165, 233, 0.2), transparent);
    align-self: stretch;
    min-height: 150px;
}

/* Vision/Values Responsive */
@media (max-width: 900px) {
    .vision-mission .container {
        grid-template-columns: 1fr;
        gap: var(--space-10);
        max-width: 650px;
    }

    .section-divider {
        width: 60px;
        height: 2px;
        background: var(--gradient-primary);
        justify-self: center;
        min-height: auto;
        border-radius: var(--radius-full);
    }

    .vision-block,
    .mission-block {
        text-align: center;
        padding: 0;
    }

    .vision-mission h2::after {
        margin: var(--space-3) auto 0;
    }
}

@media (max-width: 480px) {
    .vision-mission {
        padding: var(--space-16) 0;
    }

    .vision-mission h2 {
        font-size: 1.5rem;
    }
}

/* ==============================================
   CTA SECTION - Premium Design
   ============================================== */
.cta-section {
    padding: var(--space-24) 0;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section .container {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: var(--space-10);
    line-height: 1.3;
    animation: fadeInUp 0.8s ease forwards;
}

.cta-section .cta-button {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--navy-900);
    background: var(--white);
    padding: var(--space-5) var(--space-12);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.cta-section .cta-button:hover {
    background: var(--primary-500);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.4);
}

/* CTA Responsive */
@media (max-width: 480px) {
    .cta-section {
        padding: var(--space-16) 0;
    }

    .cta-section .cta-button {
        padding: var(--space-4) var(--space-8);
        font-size: 0.95rem;
    }
}

/* ==============================================
   FOOTER - Refined Typography
   ============================================== */
footer {
    padding: var(--space-20) 0 var(--space-10);
    background: var(--white);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

footer .container {
    max-width: 1100px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-16);
    margin-bottom: var(--space-16);
    align-items: start;
}

.footer-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--navy-900);
    margin-bottom: var(--space-4);
}

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-600);
    margin-bottom: var(--space-5);
}

.footer-section p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-600);
    line-height: 1.7;
    margin-bottom: var(--space-2);
}

.footer-section:first-child p {
    font-size: 1.1rem;
    color: var(--text-700);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: var(--space-3);
}

.footer-section ul li a {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-600);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-section ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-600);
    transition: width 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-600);
}

.footer-section ul li a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-10);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.footer-bottom p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-500);
    letter-spacing: 0.01em;
}

/* Footer Responsive */
@media (max-width: 768px) {
    footer {
        padding: var(--space-16) 0 var(--space-8);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-10);
        text-align: center;
    }

    .footer-section ul li a::after {
        display: none;
    }
}

@media (max-width: 480px) {
    footer {
        padding: var(--space-12) 0 var(--space-6);
    }

    .footer-section h3 {
        font-size: 1.5rem;
    }

    .footer-section h4 {
        font-size: 0.85rem;
    }
}

/* =====================================================
   TEXT-ONLY TEAM GRID - Dark Theme
   Multi-column grid, no photos, just name/role/bio
   ===================================================== */

.team-hero {
    padding: var(--space-16) 0 var(--space-6);
    text-align: center;
    background: var(--gradient-subtle);
}

.team-hero h1 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-dark {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 50%, #0f0f1a 100%);
    padding: var(--space-24) 0;
}

.team-text-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-10);
}

.team-text-card {
    padding: var(--space-6);
}

.team-text-card .member-name {
    font-size: var(--font-xl);
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 var(--space-2) 0;
    letter-spacing: -0.02em;
}

.team-text-card .member-role {
    font-size: var(--font-sm);
    color: #0ea5e9;
    font-weight: 500;
    margin: 0 0 var(--space-4) 0;
    text-transform: capitalize;
}

.team-text-card .member-bio {
    font-size: var(--font-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0;
}

/* Classified Member Points (bullet list) */
.team-text-card .member-points {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-4) 0;
}

.team-text-card .member-points li {
    font-size: var(--font-sm);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    padding-left: var(--space-4);
    position: relative;
    margin-bottom: var(--space-2);
}

.team-text-card .member-points li::before {
    content: "○";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.6em;
    top: 0.4em;
}

/* Classified Sections (Experience, Expertise, Projects) */
.team-text-card .member-section {
    font-size: var(--font-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: var(--space-2) 0 0 0;
}

.team-text-card .section-label {
    color: #ffffff;
    font-weight: 600;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .team-text-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
    }
}

@media (max-width: 768px) {
    .team-text-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .team-dark {
        padding: var(--space-16) 0;
    }

    .team-text-card .member-name {
        font-size: var(--font-lg);
    }
}

@media (max-width: 480px) {
    .team-text-card {
        padding: var(--space-4);
    }

    .team-text-card .member-bio {
        font-size: var(--font-xs);
    }
}

/* ==============================================
   ORGANIZATION CHART - Team Page
   Hierarchical structure with connecting lines
   ============================================== */

.org-chart-section {
    padding: var(--space-24) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow-x: auto;
}

.org-chart-section h2 {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--navy-900);
    margin-bottom: var(--space-16);
}

.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 900px;
    padding: 0 var(--space-4);
}

/* Organization Levels */
.org-level {
    display: flex;
    justify-content: center;
    position: relative;
}

.org-level-root {
    margin-bottom: 0;
}

.org-level-divisions {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    position: relative;
    padding-top: 20px;
}

/* Horizontal connector line between divisions - SOLID LINE */
.org-level-divisions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #3b82f6;
}

/* Organization Branches */
.org-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 280px;
}

/* Vertical connector from horizontal line to division node */
.org-branch::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: #3b82f6;
}

.org-branch-center {
    max-width: 320px;
}

/* Organization Nodes */
.org-node {
    background: var(--white);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: var(--radius-12);
    padding: var(--space-4) var(--space-6);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 2;
}

.org-node:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.12);
    border-color: var(--primary-400);
}

/* Root Node (DeepNautic) */
.org-node-root {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    border: none;
    padding: var(--space-5) var(--space-10);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.25);
}

.org-node-root .org-node-title {
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.org-node-root:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.35);
}

/* Division Nodes */
.org-node-division {
    background: var(--white);
    padding: var(--space-4) var(--space-5);
    min-width: 180px;
}

.org-node-division .org-node-title {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy-900);
    letter-spacing: -0.01em;
    margin-bottom: var(--space-1);
}

.org-node-division .org-node-lead {
    display: block;
    font-size: 0.8rem;
    color: var(--primary-600);
    font-weight: 500;
}

/* Connector Lines - Visible solid lines */
.org-connector {
    background: #3b82f6;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.org-connector-root {
    width: 2px;
    height: 40px;
}

.org-connector-vertical {
    width: 2px;
    height: 30px;
}

/* Sub Nodes Container */
.org-sub-nodes {
    display: flex;
    gap: var(--space-3);
    position: relative;
    padding-top: 15px;
}

/* Horizontal connector above sub-nodes - SOLID LINE */
.org-sub-nodes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #3b82f6;
}

/* Sub Nodes */
.org-node-sub {
    background: rgba(14, 165, 233, 0.06);
    border: 1px solid rgba(14, 165, 233, 0.2);
    padding: var(--space-3) var(--space-4);
    min-width: 120px;
    position: relative;
}

/* Vertical connector from horizontal line to sub node */
.org-node-sub::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 15px;
    background: #3b82f6;
}

.org-node-sub span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-700);
}

.org-node-sub:hover {
    background: rgba(14, 165, 233, 0.12);
    border-color: var(--primary-400);
}

/* Tertiary Nodes Container */
.org-sub-nodes-tertiary {
    gap: var(--space-2);
    padding-top: 15px;
}

/* Tertiary Nodes */
.org-node-tertiary {
    background: rgba(14, 165, 233, 0.03);
    border: 1px solid rgba(14, 165, 233, 0.15);
    padding: var(--space-2) var(--space-3);
    min-width: 100px;
    position: relative;
}

/* Vertical connector from horizontal line to tertiary node */
.org-node-tertiary::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 15px;
    background: #3b82f6;
}

.org-node-tertiary span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-600);
}

.org-node-tertiary:hover {
    background: rgba(14, 165, 233, 0.08);
    border-color: var(--primary-300);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .org-chart-section {
        padding: var(--space-16) 0;
    }

    .org-chart-section .container {
        overflow-x: auto;
        padding-bottom: var(--space-4);
    }

    .org-chart {
        min-width: 800px;
    }

    .org-level-divisions {
        gap: var(--space-4);
    }

    .org-branch {
        max-width: 240px;
    }

    .org-branch-center {
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .org-chart-section h2 {
        font-size: 1.5rem;
        margin-bottom: var(--space-10);
    }

    .org-chart {
        min-width: 750px;
    }

    .org-node-division .org-node-title {
        font-size: 0.85rem;
    }

    .org-node-division .org-node-lead {
        font-size: 0.75rem;
    }

    .org-node-sub span,
    .org-node-tertiary span {
        font-size: 0.7rem;
    }
}

/* Page-specific header styling for team page */
.page-team main {
    padding-top: 90px;
}

.page-team .minimal-header .logo a,
.page-team .minimal-header .desktop-nav a,
.page-team .minimal-header .dropdown-btn {
    color: inherit;
}

.page-team .minimal-header.scrolled .logo a,
.page-team .minimal-header.scrolled .desktop-nav a,
.page-team .minimal-header.scrolled .dropdown-btn {
    color: var(--navy-900) !important;
}