/* ===== RESET ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #000000;
    --primary-soft: rgba(0, 0, 0, 0.8);
    --secondary: #38bdf8;
    --accent-purple: #a78bfa;
    --accent-orange: #fb923c;
    --accent-pink: #f472b6;
    --accent-green: #4ade80;

    --text: #050505;
    --text-secondary: rgba(0, 0, 0, 0.65);
    --text-muted: rgba(0, 0, 0, 0.45);

    /* Glass tokens */
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-bg-strong: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.06);
    --glass-border-hover: rgba(0, 0, 0, 0.12);
    --blur: 40px;
    --blur-light: 20px;

    --bg-color: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #fafafa;

    --radius: 20px;
    --radius-sm: 12px;
    --radius-lg: 32px;
    --radius-pill: 50px;

    --font: 'SF Pro Display', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary: #ffffff;
    --primary-soft: rgba(255, 255, 255, 0.8);
    --secondary: #38bdf8;
    
    --text: #f5f5f5;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-bg-strong: rgba(20, 20, 20, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-hover: rgba(255, 255, 255, 0.2);

    --bg-color: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #151515;
}

html {
    font-size: 15px;
}

body {
    font-family: var(--font);
    color: var(--text);
    background-color: var(--bg-color);
    overflow-x: hidden;
    overflow-y: auto;
    line-height: 1.6;
    transition: background-color var(--transition), color var(--transition);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== MESH BACKGROUND ===== */
.mesh-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-color);
}

.mesh-blob {
    position: absolute;
    filter: blur(120px);
    opacity: 0.8;
    border-radius: 50%;
    z-index: 1;
}

.blob-cyan {
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(162,216,252,0.9) 0%, rgba(255,255,255,0) 60%);
    top: -20vh;
    left: -20vw;
    animation: float 20s ease-in-out infinite;
}

.blob-red {
    width: 80vw; height: 50vw;
    background: radial-gradient(circle, rgba(255,182,193,0.85) 0%, rgba(255,255,255,0) 60%);
    bottom: -20vh;
    left: 10vw;
    transform: scaleX(1.4);
    animation: float 25s ease-in-out infinite reverse;
}

[data-theme="dark"] .blob-cyan {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, rgba(0,0,0,0) 60%);
}

[data-theme="dark"] .blob-red {
    background: radial-gradient(circle, rgba(167, 139, 250, 0.25) 0%, rgba(0,0,0,0) 60%);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ===== HEADER ===== */
#header {
    position: fixed;
    top: 24px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 40px;
    pointer-events: none;
}

#header > * {
    pointer-events: auto;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    gap: 16px;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-logo img {
    height: 28px;
    transition: filter var(--transition);
}

[data-theme="light"] .nav-logo img {
    /* filter: brightness(0); */
}

[data-theme="dark"] .nav-logo img {
    filter: brightness(0) invert(1);
}
.logo-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    white-space: nowrap;
}

/* Pills */
.nav-pill {
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all var(--transition);
}

[data-theme="dark"] .nav-pill {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Center Menu */
.nav-center {
    padding: 6px 12px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text);
    background: var(--glass-border);
}

.nav-link i.fa-chevron-down {
    font-size: 0.6rem;
    transition: var(--transition);
    opacity: 0.6;
}
.nav-item:hover .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
    opacity: 1;
}

/* Actions Right */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.toggles-pill {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    gap: 12px;
}

.toggle-btn {
    background: transparent;
    border: none;
    font-size: 1rem;
    color: var(--text-muted);
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.toggle-btn.active {
    background: var(--text);
    color: var(--bg-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

[data-theme="dark"] .toggle-btn.active {
    box-shadow: 0 4px 12px rgba(255,255,255,0.2);
}

.divider {
    width: 1px;
    height: 18px;
    background: var(--glass-border);
}

.lang-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
}

/* Action Buttons */
.btn-pill {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.btn-brochure {
    color: #000;
    background: rgba(245, 245, 245, 0.75);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}
.btn-brochure:hover {
    background: rgba(230, 230, 230, 0.8);
}

.btn-contact {
    background: #000;
    color: #fff;
}
.btn-contact:hover {
    background: #222;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition);
    z-index: 200;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius);
    padding: 12px;
    min-width: 240px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-menu.two-col {
    min-width: 440px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #444;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dropdown-link:hover {
    color: #000;
    background: rgba(0, 0, 0, 0.04);
}

.dropdown-link i {
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
    color: #000;
    opacity: 0.8;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    z-index: 101;
}

.hamburger .bar {
    width: 22px;
    height: 2px;
    background: #000;
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Main Content */
.main-content {
    padding-top: 100px;
}

@media (max-width: 768px) {
    .main-content {
        padding-top: 80px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding-top: 70px;
    }
}

/* ===== CURVED SECTION DIVIDERS ===== */
.curve-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.curve-svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ============================================
   HERO → ABOUT: CSS concave bowl curve
   The About section's ::before creates a wide
   ellipse with white fill that curves upward
   into the hero area, creating the Oreus effect
   ============================================ */
.section-curve-top {
    position: relative;
    margin-top: 0;
    padding-top: 180px; /* extra padding for the deeper overlap */
}

.section-curve-top::before {
    content: '';
    position: absolute;
    top: -120px;
    left: -10%;
    width: 120%;
    height: 280px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.06);
    z-index: -1;
    pointer-events: none;
}

/* Push section content above the pseudo-element */
.section-curve-top > * {
    position: relative;
    z-index: 2;
}

/* Convex (outward bulge) curve — between sections */
.curve-convex {
    margin-top: -1px;
    margin-bottom: -1px;
    background: #ffffff;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.curve-convex .curve-svg {
    height: 120px;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.04));
}

/* Concave upward curve */
.curve-concave-up {
    margin-top: -1px;
    margin-bottom: -1px;
    background: transparent;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.curve-concave-up .curve-svg {
    height: 120px;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.04));
}

/* Tinted section background */
.section-tinted {
    background: #f8f9fa;
}

/* ===== UTILITY ===== */
.gradient-text {
    background: linear-gradient(135deg, #000, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HERO ===== */
.hero {
    padding: 80px 48px 100px;
    text-align: center;
    position: relative;
}

.hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 28px;
    letter-spacing: 0.3px;
}

.hero-badge i {
    color: #f59e0b;
    font-size: 0.7rem;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    color: #000;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #444;
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font);
    letter-spacing: 0.01em;
    will-change: transform, box-shadow;
}

.btn-primary {
    background: #000;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.btn-primary:hover {
    background: #1a1a1a;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    color: #000;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 24px 36px;
    margin-top: 56px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #000;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: #555;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(0, 0, 0, 0.08);
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 48px;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: #000;
}

.section-desc {
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
}

/* ===== GLASS CARDS ===== */
.card-grid {
    display: grid;
    gap: 20px;
}

.col-4 {
    grid-template-columns: repeat(4, 1fr);
}

.col-3 {
    grid-template-columns: repeat(3, 1fr);
}

.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #000;
    opacity: 0;
    transition: var(--transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.glass-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.04);
    color: #000;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.card-icon.accent-teal,
.card-icon.accent-blue,
.card-icon.accent-purple,
.card-icon.accent-orange,
.card-icon.accent-green,
.card-icon.accent-pink {
    background: rgba(0, 0, 0, 0.04);
    color: #000;
    border-color: rgba(0, 0, 0, 0.06);
}

.glass-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000;
    letter-spacing: -0.01em;
}

.glass-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
}

/* ===== CONTENT ROW (Image + Text Layout) ===== */
.content-row-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.content-row-img {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.content-row-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition);
}

.content-row-img:hover img {
    transform: scale(1.03);
}

.content-row-text {
    padding: 24px;
}

.content-row-text h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #000;
}

.content-row-text p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: #444;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .content-row-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #000;
    margin-top: 16px;
    transition: var(--transition);
}

.card-link:hover {
    gap: 10px;
}

/* ===== WHY SECTION ===== */
.why-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.why-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
    transform: translateX(6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.why-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ccc;
    min-width: 56px;
    transition: var(--transition);
}

.why-card:hover .why-number {
    color: #000;
}

.why-body {
    flex: 1;
}

.why-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #000;
}

.why-body p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

.why-icon {
    font-size: 1.4rem;
    color: #aaa;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    color: #000;
}

/* ===== CONTACT ===== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: 56px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.contact-info .section-tag {
    margin-bottom: 16px;
}

.contact-info .section-title {
    text-align: left;
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: #000;
}

.contact-info>p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.95rem;
    color: #444;
    font-weight: 500;
}

.contact-item i {
    color: #000;
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

/* Form */
.form-row {
    margin-bottom: 16px;
}

.form-input {
    width: 100%;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-sm);
    color: #000;
    font-size: 0.9rem;
    font-family: var(--font);
    font-weight: 500;
    transition: var(--transition);
    outline: none;
    resize: vertical;
}

.form-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.form-input:focus {
    border-color: #000;
    background: transparent;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

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

/* ===== FOOTER ===== */
.footer {
    padding: 64px 48px 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: #fafafa;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo {
    height: 28px;
    /* filter: brightness(0); */
}

.footer-logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.01em;
}

.footer-brand p {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #444;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

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

.footer-col a {
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
    transition: var(--transition);
}

.footer-col a:hover {
    color: #000;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.85rem;
    color: #666;
}

/* ===== HEADER SCROLL STATE ===== */
#header.scrolled {
    top: 12px;
}

#header.scrolled .nav-pill,
#header.scrolled .btn-brochure {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
    #header {
        padding: 0 24px;
    }

    .hero {
        padding: 60px 32px 80px;
    }

    .section {
        padding: 64px 32px;
    }

    .contact-wrapper {
        padding: 48px;
        gap: 48px;
    }
}

/* Tablets */
@media (max-width: 1100px) {
    .col-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .col-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .nav-center {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .dropdown-menu.two-col {
        min-width: 360px;
    }

    /* Adjust curve heights for tablets */
    .section-curve-top {
        padding-top: 140px;
    }

    .section-curve-top::before {
        top: -100px;
        height: 240px;
    }

    .curve-convex .curve-svg,
    .curve-concave-up .curve-svg {
        height: 100px;
    }
}

/* Small Tablets */
@media (max-width: 900px) {
    .hero-stats {
        gap: 20px;
        padding: 20px 24px;
        flex-wrap: wrap;
    }

    .stat-item {
        min-width: 120px;
    }

    .content-row-wrapper {
        gap: 36px;
    }

    .contact-wrapper {
        gap: 40px;
    }
}

/* Mobile Landscape and Portrait */
@media (max-width: 768px) {
    #header {
        padding: 0 16px;
        top: 8px;
        left: 8px;
        right: 8px;
        width: calc(100% - 16px);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-radius: var(--radius);
        border: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .header-inner {
        padding: 8px 16px;
    }

    .hamburger {
        display: flex;
        order: 3;
    }

    .nav-center {
        display: none;
    }

    .toggles-pill {
        display: none;
    }

    .btn-brochure {
        display: none;
    }

    .nav-actions {
        gap: 8px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile */
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 24px 24px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        border-left: 1px solid rgba(0, 0, 0, 0.08);
        z-index: 1001;
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        padding: 14px 18px;
        font-size: 1rem;
        color: #222;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease;
        padding: 0;
        background: rgba(0, 0, 0, 0.02);
        border: none;
        box-shadow: none;
        min-width: unset;
    }

    .dropdown-menu.two-col {
        display: flex;
        flex-direction: column;
        min-width: unset;
    }

    .nav-item.dropdown-open .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        max-height: 500px;
        padding: 8px 0 8px 16px;
    }

    .hero {
        padding: 48px 24px 60px;
    }

    .section {
        padding: 56px 24px;
    }

    /* Adjust curves for mobile - reduce height to prevent covering content */
    .section-curve-top {
        padding-top: 100px;
    }

    .section-curve-top::before {
        top: -60px;
        height: 160px;
        left: -5%;
        width: 110%;
    }

    .curve-convex .curve-svg,
    .curve-concave-up .curve-svg {
        height: 60px;
    }

    .footer {
        padding: 48px 24px 24px;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .hero-stats {
        gap: 16px;
        padding: 20px 16px;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-suffix {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .col-4,
    .col-3 {
        grid-template-columns: 1fr;
    }

    .why-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
        gap: 16px;
    }

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

    .why-number {
        font-size: 1.8rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 32px;
    }

    .contact-info .section-title {
        text-align: center;
        font-size: 1.6rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .content-row-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .content-row-text {
        padding: 0;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    #header {
        padding: 0 8px;
        top: 4px;
        left: 4px;
        right: 4px;
        width: calc(100% - 8px);
    }

    .header-inner {
        padding: 6px 12px;
    }

    .hero {
        padding: 40px 16px 48px;
    }

    .section {
        padding: 48px 16px;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        padding: 16px 12px;
        gap: 12px;
    }

    .glass-card {
        padding: 24px 20px;
    }

    .contact-wrapper {
        padding: 24px 16px;
        gap: 24px;
    }

    .why-card {
        padding: 20px 16px;
    }

    .footer {
        padding: 40px 16px 20px;
    }

    /* Further reduce curve heights on very small screens */
    .section-curve-top {
        padding-top: 80px;
    }

    .section-curve-top::before {
        top: -40px;
        height: 120px;
    }

    .curve-convex .curve-svg,
    .curve-concave-up .curve-svg {
        height: 40px;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .nav-menu {
        width: 90%;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-item {
        padding: 8px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

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