/* ============================================
   NIDHI AUTO - Modern Professional Website
   ============================================ */

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

:root {
    /* Muted Navy-Blue + brand accent blue */
    --primary-emerald: #27406D;           /* Muted Navy-Blue */
    --primary-emerald-dark: #1b2f52;
    --primary-emerald-light: #34558c;
    --accent-emerald: #34558c;
    --accent-emerald-light: #4a6aa3;
    --accent-teal: #0ea5e9;
    --accent-teal-light: #38bdf8;
    --accent-coral: #257dc2;
    --accent-peach: #fb923c;
    --accent-amber: #fbbf24;
    --secondary-gray: #475569;
    --light-gray: #e2e8f0;
    --bg-gray: #f1f5f9;
    --white: #ffffff;
    --text-dark: #0f172a;
    --text-gray: #64748b;
    --accent-red: #257dc2;
    --success-green: #22c55e;
    --gradient-primary: linear-gradient(135deg, #1b2f52 0%, #27406D 55%, #34558c 100%);
    --gradient-accent: linear-gradient(135deg, #257dc2 0%, #38bdf8 55%, #7dd3fc 100%);
    --gradient-hero: linear-gradient(135deg, #1b2f52 0%, #27406D 55%, #34558c 100%);
    --gradient-teal: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
    
    /* Typography */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-accent: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sx: 0.75rem; /* between xs and sm (nav bar, tight gaps) */
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Transitions & Animations */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(39, 64, 109, 0.12);
    --shadow-md: 0 4px 12px rgba(39, 64, 109, 0.16);
    --shadow-lg: 0 8px 24px rgba(39, 64, 109, 0.22);
    --shadow-xl: 0 12px 32px rgba(39, 64, 109, 0.28);
    /* Hover: same navy as primary / --shadow-* (rgb 39,64,109 ≈ #27406D family) */
    --shadow-hover-sm: 0 4px 14px rgba(39, 64, 109, 0.22);
    --shadow-hover-md: 0 8px 22px rgba(39, 64, 109, 0.28);
    --shadow-hover-lg: 0 12px 30px rgba(39, 64, 109, 0.32);
    --shadow-hover-xl: 0 16px 40px rgba(39, 64, 109, 0.36);

    /* Shared by Infrastructure + Quality content cards */
    --surface-card: rgba(255, 255, 255, 0.92);
    --surface-card-border: 1px solid rgba(39, 64, 109, 0.12);
    --surface-card-shadow: 0 10px 26px rgba(39, 64, 109, 0.10);
    --surface-card-sheen: radial-gradient(circle at 18% 12%, rgba(37, 125, 194, 0.12), transparent 55%),
        radial-gradient(circle at 82% 0%, rgba(14, 165, 233, 0.10), transparent 55%);
}

:root {
    /* Theme overrides (kept for compatibility; values match palette above) */
    --primary-emerald: #27406D;
    --primary-emerald-dark: #1b2f52;
    --primary-emerald-light: #34558c;
    --accent-emerald: #34558c;
    --accent-emerald-light: #4a6aa3;
    --accent-teal: #0ea5e9;
    --accent-teal-light: #38bdf8;
    --accent-coral: #257dc2;
    --accent-peach: #fb923c;
    --accent-amber: #fbbf24;
    --accent-blue: #34558c;
    --accent-red: #257dc2;
    --gradient-primary: linear-gradient(135deg, #1b2f52 0%, #27406D 55%, #34558c 100%);
    --gradient-accent: linear-gradient(135deg, #257dc2 0%, #38bdf8 55%, #7dd3fc 100%);
    --gradient-hero: linear-gradient(135deg, #1b2f52 0%, #27406D 55%, #34558c 100%);
    --gradient-teal: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);

    --surface-card: rgba(255, 255, 255, 0.92);
    --surface-card-border: 1px solid rgba(39, 64, 109, 0.12);
    --surface-card-shadow: 0 10px 26px rgba(39, 64, 109, 0.10);
    --surface-card-sheen: radial-gradient(circle at 18% 12%, rgba(37, 125, 194, 0.12), transparent 55%),
        radial-gradient(circle at 82% 0%, rgba(14, 165, 233, 0.10), transparent 55%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    animation: fadeIn 0.6s ease-in;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Global responsive image defaults */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    overflow: visible;
}

/* ============================================
   STICKY SECTION INDEX (Infrastructure + Quality)
   Index sits left of the 1200px content column (not inside it).
   ============================================ */

.page-index-layout {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xl);
    width: 100%;
    max-width: calc(1200px + 220px + var(--spacing-xl) + 2 * var(--spacing-md));
    margin: 0 auto;
    padding: 0 var(--spacing-md) var(--spacing-md);
    box-sizing: border-box;
}

.page-index-layout__main {
    flex: 1;
    min-width: 0;
    max-width: 1200px;
}

.infra-page__sections,
.quality-page__sections {
    width: 100%;
    min-width: 0;
}

.infra-section__inner,
.quality-section__inner {
    width: 100%;
}

.infra-page__sections .infra-section-header,
.quality-page__sections .quality-section-header {
    max-width: none;
}

.infra-section[id],
.quality-section[id] {
    scroll-margin-top: 7rem;
}

.infra-index {
    flex: 0 0 220px;
    width: 220px;
    max-width: 100%;
    position: sticky;
    top: 110px;
    align-self: flex-start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(39, 64, 109, 0.1);
    padding: var(--spacing-md) var(--spacing-md);
    z-index: 10;
}

.infra-index__nav {
    margin: 0;
}

.infra-index__title {
    margin: 0 0 var(--spacing-sm);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-gray);
}

.infra-index__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.infra-index__list li {
    margin: 0;
}

.infra-index__link {
    display: block;
    padding: 0.45rem 0.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.35;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    border-left: 3px solid transparent;
}

.infra-index__link:hover {
    background: var(--bg-gray);
    color: var(--accent-emerald);
}

.infra-index__link.is-active {
    background: rgba(39, 64, 109, 0.08);
    color: var(--accent-emerald);
    font-weight: 600;
    border-left-color: var(--accent-emerald);
}

@media (max-width: 968px) {
    .page-index-layout {
        flex-direction: column;
        gap: var(--spacing-md);
        max-width: 100%;
    }

    .page-index-layout__main {
        max-width: 100%;
    }

    .infra-index {
        position: static;
        width: 100%;
        flex: none;
        max-height: none;
        top: auto;
    }

    .infra-section[id],
    .quality-section[id] {
        scroll-margin-top: 5rem;
    }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-md);
    animation: slideDown 0.5s ease-out;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

/* Transparent header over hero (home page) – PG Electroplast style */
body.home .header--over-hero {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    box-shadow: none;
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

body.home .header--over-hero .navbar {
    background: transparent;
}

body.home .header--over-hero .logo-text {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
    background: none;
}

body.home .header--over-hero .logo-tagline {
    color: rgba(255, 255, 255, 0.9);
}

body.home .header--over-hero .nav-menu a {
    color: var(--white);
}

body.home .header--over-hero .nav-menu a::before {
    background: var(--white);
}

body.home .header--over-hero .nav-menu a:hover,
body.home .header--over-hero .nav-menu a.active {
    color: var(--white);
    opacity: 0.95;
}

body.home .header--over-hero .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
}

body.home .header--over-hero .btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--white);
}

body.home .header--over-hero .mobile-toggle span {
    background: var(--white);
}

/* Solid header when scrolled */
body.home .header--over-hero.scrolled {
    position: fixed;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
}

body.home .header--over-hero.scrolled .navbar {
    background: transparent;
}

body.home .header--over-hero.scrolled .logo-text {
    color: inherit;
    -webkit-text-fill-color: transparent;
    background: var(--gradient-primary);
    background-clip: text;
}

body.home .header--over-hero.scrolled .logo-tagline {
    color: var(--accent-emerald);
}

body.home .header--over-hero.scrolled .nav-menu a {
    color: var(--text-dark);
}

body.home .header--over-hero.scrolled .nav-menu a::before {
    background: var(--gradient-accent);
}

body.home .header--over-hero.scrolled .nav-menu a:hover,
body.home .header--over-hero.scrolled .nav-menu a.active {
    color: var(--accent-emerald);
}

body.home .header--over-hero.scrolled .btn-primary {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
}

body.home .header--over-hero.scrolled .mobile-toggle span {
    background: var(--primary-emerald);
}

.navbar {
    background: var(--white);
    padding: var(--spacing-xs) 0;
    transition: background 0.35s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

.logo a {
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-block: var(--spacing-xs);
}

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

/* Home transparent header: make SVG visible over video */
body.home .header--over-hero .logo-img {
    filter: brightness(0) invert(1);
}

body.home .header--over-hero.scrolled .logo-img {
    filter: none;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    animation: slideInLeft 0.6s ease-out;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--accent-emerald);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-family: var(--font-accent);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    padding: var(--spacing-xs) 0;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transform: translateX(-50%);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-emerald);
    transform: translateY(-2px);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    list-style: none;
    min-width: 220px;
    padding: var(--spacing-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    margin-top: var(--spacing-xs);
    border-radius: 4px;
}

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

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: var(--spacing-xs) var(--spacing-md);
    color: var(--text-dark);
}

.dropdown-menu a:hover {
    background: var(--bg-gray);
    color: var(--accent-emerald);
}

/* Dropdown always visible: dark text on light background (overrides transparent header) */
body.home .header--over-hero .dropdown-menu,
body.home .header--over-hero.scrolled .dropdown-menu {
    background: var(--white);
}

body.home .header--over-hero .dropdown-menu a,
body.home .header--over-hero.scrolled .dropdown-menu a {
    color: var(--text-dark);
}

body.home .header--over-hero .dropdown-menu a:hover,
body.home .header--over-hero.scrolled .dropdown-menu a:hover {
    color: var(--accent-emerald);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-emerald);
    transition: var(--transition);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.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: var(--transition-slow);
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover-lg);
    animation: pulse 0.6s ease-in-out;
}

.btn-secondary {
    background: var(--white);
    color: var(--accent-emerald);
    border: 2px solid var(--accent-emerald);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.btn-secondary:hover {
    color: var(--white);
    border-color: var(--accent-emerald);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover-md);
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--accent-emerald);
    border: 2px solid var(--accent-emerald);
}

.btn-outline:hover {
    background: var(--accent-emerald);
    color: var(--white);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

/* Full-viewport video hero (PG Electroplast style) */
.hero--video {
    min-height: 100vh;
    align-items: flex-end;
    padding-bottom: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Fallback when poster/video unavailable */
    background:
        linear-gradient(135deg, rgba(18, 38, 63, 0.75), rgba(0, 0, 0, 0.7)),
        url('../assets/Media/Home/NoidaPlant.jpg') center/cover no-repeat;
    background-size: cover;
    z-index: -2;
}

/* Poster image shows until Vimeo iframe signals ready (see main.js) */
.hero-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
    transition: opacity 0.75s ease, visibility 0.75s ease;
}

.hero-poster.hero-poster--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
}

/* YouTube/Vimeo embed: cover full hero (iframe cannot use object-fit) */
.hero-video--embed {
    width: 100vw;
    height: 56.25vw; /* 16:9 */
    min-height: 100vh;
    min-width: 177.78vh; /* 16:9 */
    border: none;
    object-fit: none;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-video--embed.hero-video--ready {
    opacity: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18, 38, 63, 0.5), rgba(0, 0, 0, 0.45));
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--spacing-xxl) 0;
    animation: slideUp 0.8s ease-out;
}

/* Left-aligned hero content (PG style) */
.container--hero {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.hero-content--left {
    text-align: left;
    padding: var(--spacing-xxl) 0 var(--spacing-xxl);
    max-width: 720px;
}

.hero-content--left .hero-title {
    margin-bottom: var(--spacing-lg);
}

/* Read more CTA with circle arrow (PG style) */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: var(--transition);
    margin-bottom: var(--spacing-xl);
    animation: slideUp 1s ease-out 0.4s both;
}

.hero-cta:hover {
    color: var(--white);
    opacity: 0.9;
    transform: translateX(4px);
}

.hero-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    transition: var(--transition);
}

.hero-cta:hover .hero-cta-icon {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(2px);
}

.hero-cta-icon i {
    font-size: 0.9rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.0rem;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5), 0 0 20px rgba(0,0,0,0.3);
    animation: slideUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    color: var(--white);
    opacity: 1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4), 0 0 10px rgba(0,0,0,0.2);
    animation: slideUp 1s ease-out 0.4s both;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-xxl);
    flex-wrap: wrap;
    animation: slideUp 1s ease-out 0.6s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-coral);
    margin-bottom: var(--spacing-xs);
    animation: scaleIn 0.6s ease-out;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--white);
    opacity: 1;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    font-weight: 400;
}

/* ============================================
   VALUE PROPOSITIONS
   ============================================ */

.value-props {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-gray);
    overflow: visible;
    position: relative;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    position: relative;
    overflow: visible;
}

.value-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
    position: relative;
    z-index: 1;
}

a.value-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

a.value-card:focus-visible {
    outline: 2px solid var(--accent-emerald);
    outline-offset: 3px;
}

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }
.value-card:nth-child(4) { animation-delay: 0.4s; }

.value-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover-xl);
    z-index: 10;
    opacity: 1;
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-md);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
    transition: var(--transition);
    position: relative;
    overflow: visible;
}

.value-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    animation: rotate 3s linear infinite;
    pointer-events: none;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-hover-md);
}

.value-card h3 {
    font-family: var(--font-heading);
    color: var(--primary-emerald);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.value-card p {
    color: var(--text-dark);
    line-height: 1.7;
    font-weight: 400;
}

/* Generic image handling for cards/placeholders */
.image-placeholder {
    overflow: hidden;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

/* ============================================
   PRODUCT CATEGORIES
   ============================================ */

.product-categories {
    padding: var(--spacing-xxl) 0;
    background: var(--white);
    overflow: visible;
    position: relative;
}

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--primary-emerald);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 400;
    opacity: 0.9;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    position: relative;
    overflow: visible;
}

.product-categories .text-center {
    margin-top: var(--spacing-xl);
}

.category-card {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
    z-index: 1;
}

a.category-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(50, 130, 184, 0.1), transparent);
    transition: var(--transition-slow);
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    border-color: var(--accent-emerald);
    box-shadow: var(--shadow-hover-lg);
    transform: translateY(-4px);
    z-index: 10;
    opacity: 1;
}

/* Top image strip — aligned with featured product cards */
.category-image {
    width: calc(100% + 2 * var(--spacing-lg));
    max-width: none;
    height: 200px;
    margin: calc(-1 * var(--spacing-lg)) calc(-1 * var(--spacing-lg)) var(--spacing-md);
    background: var(--light-gray);
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-emerald);
    font-size: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-image i {
    position: relative;
    z-index: 1;
}

.category-card h3 {
    font-family: var(--font-heading);
    color: var(--primary-emerald);
    margin-bottom: var(--spacing-sm);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.category-card p {
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    font-weight: 400;
}

/* ============================================
   FEATURED PRODUCTS
   ============================================ */

.featured-products {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-gray);
    overflow: visible;
    position: relative;
}

.featured-products .text-center {
    margin-top: var(--spacing-xl);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    position: relative;
    overflow: visible;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: visible;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    animation: scaleIn 0.5s ease-out forwards;
    opacity: 0;
    position: relative;
    z-index: 1;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover-xl);
    z-index: 10;
    opacity: 1;
}

.product-image {
    width: 100%;
    height: 200px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-emerald);
    font-size: 3rem;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.product-image .product-img-default {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.product-image .product-img-hover {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.product-card:hover .product-image .product-img-hover {
    opacity: 1;
}

.product-image.product-image-clickable {
    cursor: pointer;
}

.product-info {
    padding: var(--spacing-md);
}

.product-info h3 {
    font-family: var(--font-heading);
    color: var(--primary-emerald);
    margin-bottom: var(--spacing-xs);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.product-info p {
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 400;
    line-height: 1.6;
}

.product-actions {
    display: flex;
    gap: var(--spacing-xs);
}

.product-actions .btn {
    flex: 1;
    padding: 0.5rem;
    font-size: 0.875rem;
}

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

/* ============================================
   COMPANY STATS
   ============================================ */

.company-stats {
    padding: var(--spacing-xxl) 0;
    background: var(--gradient-hero);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.company-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.stat-card {
    text-align: center;
    padding: var(--spacing-lg);
}

.company-stats .stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: var(--spacing-md);
    text-align: center;
}

.company-stats .stat-icon {
    margin-bottom: 0;
    order: 0;
    background: linear-gradient(135deg, #c2410c 0%, #ea580c 38%, #fb923c 72%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.company-stats .stat-label {
    order: 2;
    margin-top: 0;
}

.stat-icon {
    font-size: 3rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
    animation: float 3s ease-in-out infinite;
    display: inline-block;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: var(--spacing-xs);
    color: var(--accent-coral);
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
}

.company-stats .stat-number {
    order: 1;
    margin-bottom: 0;
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.06em;
}

.company-stats .stat-number__value {
    font-weight: bold;
    line-height: 1.1;
}

.company-stats .stat-number__unit {
    font-size: 0.4em;
    font-weight: 600;
    letter-spacing: 0.03em;
    opacity: 0.95;
}

.company-stats .stat-number__plus {
    font-size: 0.38em;
    font-weight: 700;
    opacity: 0.92;
    margin-left: 0.04em;
    position: relative;
    top: -0.42em;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--white);
    opacity: 1;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    font-weight: 400;
}

/* ============================================
   CLIENT LOGOS
   ============================================ */

.client-logos {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-gray);
}

.logos-carousel {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-xl);
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-md);
    opacity: 0.88;
    transition: opacity var(--transition), transform var(--transition);
}

.logo-item img {
    display: block;
    max-height: 170px;
    width: auto;
    max-width: min(160px, 28vw);
    height: auto;
    object-fit: contain;
    object-position: center;
    filter: grayscale(0.08);
    transition: opacity var(--transition), transform var(--transition), filter var(--transition);
}

.logo-item:hover {
    opacity: 1;
    transform: translateY(-4px);
}

.logo-item:hover img {
    filter: grayscale(0);
    transform: scale(1.06);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: var(--spacing-xxl) 0;
    background: var(--gradient-hero);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xl);
    color: var(--white);
    opacity: 1;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--primary-emerald-dark);
    color: var(--white);
}

.footer-main {
    padding: var(--spacing-xxl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.footer-col h3 {
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-md);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.footer-col p {
    color: rgba(255,255,255,0.95);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    font-weight: 400;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-col ul li a {
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 400;
}

.footer-col ul li a:hover {
    color: var(--accent-teal-light);
    padding-left: 5px;
}

/* Footer Contact Us: icon column + left-aligned text */
.footer .contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.footer .contact-list > li.contact-list__item {
    margin-bottom: var(--spacing-sm);
}

.footer .contact-list > li.contact-list__item:last-child {
    margin-bottom: 0;
}

.footer .contact-list__item {
    display: grid;
    grid-template-columns: 1.375rem 1fr;
    column-gap: 0.75rem;
    align-items: start;
    text-align: left;
}

.footer .contact-list__item > i {
    color: var(--white);
    font-size: 1rem;
    line-height: 1.5;
    width: 1.375rem;
    text-align: center;
    justify-self: center;
    margin-top: 0.12em;
}

.footer .contact-list__text {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.55;
    font-weight: 400;
    min-width: 0;
}

.footer .contact-list a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
}

.footer .contact-list a:hover {
    color: var(--accent-teal-light);
    text-decoration: underline;
    padding-left: 0;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-emerald);
    transform: translateY(-3px);
}

.footer-bottom {
    background: var(--primary-emerald);
    padding: var(--spacing-md) 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.95);
    font-size: 0.9rem;
    font-weight: 400;
}

/* ============================================
   SCROLL TO TOP & WHATSAPP
   ============================================ */

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-emerald);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    animation: slideUp 0.4s ease-out, bounce 2s ease-in-out infinite;
}

.scroll-top:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-hover-lg);
    animation: pulse 0.6s ease-in-out;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: float 3s ease-in-out infinite, pulse 2s infinite;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.whatsapp-float.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: pulse 2s infinite;
    opacity: 0.6;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: var(--shadow-hover-lg);
    animation: bounce 0.6s ease-in-out;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        transform: translateX(-100%);
        transition: var(--transition);
        gap: var(--spacing-md);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: var(--spacing-xs);
        padding-left: var(--spacing-md);
    }
    
    .hero--video {
        min-height: 85vh;
    }

    .hero-content--left {
        max-width: 100%;
    }

    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        font-size: 0.9rem;
    }

    .hero-cta-icon {
        width: 40px;
        height: 40px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .whatsapp-float {
        bottom: 90px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero--video {
        min-height: 80vh;
    }

    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }

    .hero-cta--read-more {
        flex-wrap: wrap;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   PAGE HEADER (Global)
   ============================================ */

.page-header {
    background: var(--gradient-hero);
    color: var(--white);
    padding: calc(var(--spacing-xxl) + 1.25rem) 0;
    min-height: 360px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Media background (image fallback + optional video/iframe) */
.page-header .page-header-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(27, 47, 82, 0.82), rgba(0, 0, 0, 0.58)),
        url('../assets/images/factory-hero.jpg') center/cover no-repeat;
}

/* Contact / About / Products: no video or photo — primary navy gradient only */
.page-header.page-header--gradient {
    background: var(--gradient-primary);
}

.page-header.page-header--gradient .page-header-bg {
    background: var(--gradient-primary);
}

.page-header.page-header--gradient .page-header-bg::after {
    background: radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.1), transparent 52%),
        radial-gradient(circle at 78% 85%, rgba(37, 125, 194, 0.22), transparent 48%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.12), transparent 45%);
}

.page-header.page-header--gradient .page-header-video {
    display: none;
}

.page-header .page-header-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(37, 125, 194, 0.25), transparent 55%),
        radial-gradient(circle at 70% 10%, rgba(14, 165, 233, 0.22), transparent 55%),
        rgba(0, 0, 0, 0.2);
}

.page-header .page-header-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 56.25vw; /* 16:9 */
    min-width: 177.78vh;
    min-height: 100%;
    border: none;
    pointer-events: none;
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

/* Straight bottom edge (no wave) */
.page-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .page-header .page-header-video {
        display: none;
    }
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 2px 6px 18px rgba(0,0,0,0.45), 0 0 22px rgba(0,0,0,0.25);
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--white);
    opacity: 1;
    text-shadow: 1px 3px 10px rgba(0,0,0,0.35);
    position: relative;
    z-index: 1;
    font-weight: 400;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .page-header {
        min-height: 320px;
        padding: calc(var(--spacing-xxl) + 0.5rem) 0;
    }
    .page-header h1 {
        font-size: 2.4rem;
    }
    .page-header p {
        font-size: 1.05rem;
    }
    .page-header::after {
        height: 1px;
    }
}

.breadcrumb {
    background: var(--bg-gray);
    padding: var(--spacing-sm) 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--accent-emerald);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb span {
    color: var(--text-dark);
    font-weight: 500;
}

/* ============================================
   ABOUT: TOP INTRO
   ============================================ */

.about-top-intro {
    padding: var(--spacing-xxl) 0;
    background: var(--white);
}

.about-top-intro-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.about-top-intro-title {
    color: var(--primary-emerald);
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.about-top-intro p {
    color: var(--text-dark);
    font-size: 1.05rem;
}

.about-top-highlights {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    border-radius: 12px;
    background: var(--bg-gray);
    border: 1px solid rgba(39, 64, 109, 0.12);
    box-shadow: var(--shadow-sm);
}

.about-top-highlights h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.35rem;
    color: var(--primary-emerald);
}

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.25rem;
}

.highlights-list li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    color: var(--text-dark);
}

.highlights-list li::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 999px;
    margin-top: 0.35rem;
    background: var(--accent-emerald);
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .about-top-intro {
        padding: var(--spacing-xl) 0;
    }
    .about-top-intro-title {
        font-size: 1.85rem;
    }
    .highlights-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ABOUT: ACHIEVEMENTS (Cards)
   ============================================ */

.achievements {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-gray);
}

.achievements .section-header p {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

/* About: Journey image block */
.company-journey .journey-image {
    margin-top: var(--spacing-xl);
    border-radius: 16px;
    overflow: hidden;
    /* box-shadow: 0 14px 34px rgba(39, 64, 109, 0.18);
    border: 1px solid rgba(39, 64, 109, 0.12); */
    background: var(--white);
}

.company-journey .journey-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   TYPOGRAPHY ENHANCEMENTS
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--primary-emerald);
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 2rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-weight: 400;
}

strong {
    font-weight: 600;
    color: var(--text-dark);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

/* ============================================
   GALLERY MODAL (image slider for 3+ images)
   ============================================ */

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

.gallery-modal-content {
    position: relative;
    z-index: 1;
    background: var(--white);
    border-radius: 12px;
    max-width: 90vw;
    max-height: 90vh;
    width: 700px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    animation: scaleIn 0.3s ease-out;
}

.gallery-modal-close {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 36px;
    height: 36px;
    border: none;
    background: var(--white);
    color: var(--text-dark);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2;
}

.gallery-modal-close:hover {
    background: var(--accent-emerald);
    color: var(--white);
}

.gallery-modal-title {
    padding: var(--spacing-md) var(--spacing-lg);
    margin: 0;
    font-size: 1.25rem;
    color: var(--primary-emerald);
    border-bottom: 1px solid var(--light-gray);
}

.gallery-slider {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    min-height: 280px;
}

.gallery-slider-prev,
.gallery-slider-next {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 2px solid var(--light-gray);
    background: var(--white);
    color: var(--primary-emerald);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
}

.gallery-slider-prev:hover,
.gallery-slider-next:hover {
    background: var(--primary-emerald);
    color: var(--white);
    border-color: var(--primary-emerald);
}

.gallery-slider-track {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slider-inner {
    width: 100%;
    max-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slide-image {
    max-width: 100%;
    max-height: 60vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    border-top: 1px solid var(--light-gray);
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--light-gray);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-dot:hover {
    background: var(--accent-emerald);
}

.gallery-dot.active {
    background: var(--primary-emerald);
    transform: scale(1.2);
}

