@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Dark Mode (Default) */
    --bg: #03050a;
    --bg2: #050810;
    --bg3: #0a0e1a;
    --accent: #3b82f6;
    --accent2: #0ea5e9;
    --accent3: #6366f1;
    --gold: #d4af37;
    --text: #f8fafc;
    --muted: #64748b;
    --border: rgba(255, 255, 255, 0.05);
    --glass: rgba(255, 255, 255, 0.02);
    --card: rgba(8, 12, 24, 0.7);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-classic: 'Playfair Display', serif;
    --dot-color: rgba(255, 255, 255, 0.03);
    --nav-bg: rgba(3, 5, 10, 0.85);
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    
    /* Theme-aware WhatsApp variables */
    --wa-bg: linear-gradient(135deg, #0a0e1a 0%, #03050a 100%);
    --wa-color: #25d366;
    --wa-border: rgba(37, 211, 102, 0.45);
    --wa-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(37, 211, 102, 0.2);
    --wa-pulse: rgba(37, 211, 102, 0.35);
    --wa-hover-bg: linear-gradient(135deg, #131c2d 0%, #0a0e1a 100%);
    --wa-hover-border: #25d366;
    --wa-hover-color: #20ba5a;
}

[data-theme="light"] {
    --bg: #f8fafc;
    --bg2: #ffffff;
    --bg3: #f1f5f9;
    --accent: #2563eb;
    --accent2: #0284c7;
    --accent3: #4f46e5;
    --gold: #b45309;
    --text: #0f172a;
    --muted: #475569;
    --border: rgba(15, 23, 42, 0.08);
    --glass: rgba(255, 255, 255, 0.75);
    --card: rgba(255, 255, 255, 0.9);
    --dot-color: rgba(15, 23, 42, 0.06);
    --nav-bg: rgba(248, 250, 252, 0.85);
    --shadow: 0 4px 30px rgba(15, 23, 42, 0.05);
    
    /* Light Mode Theme-aware WhatsApp variables */
    --wa-bg: #ffffff;
    --wa-color: #25d366;
    --wa-border: rgba(37, 211, 102, 0.35);
    --wa-shadow: 0 10px 30px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(37, 211, 102, 0.15);
    --wa-pulse: rgba(37, 211, 102, 0.25);
    --wa-hover-bg: #f8fafc;
    --wa-hover-border: #25d366;
    --wa-hover-color: #20ba5a;
}

/* BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
    background-image: radial-gradient(circle at 2px 2px, var(--dot-color) 1px, transparent 0);
    background-size: 48px 48px;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

/* GRAIN OVERLAY */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.035;
    pointer-events: none;
    z-index: 9999;
}

/* TICKER */
.ticker-wrap {
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.ticker {
    display: flex;
    gap: 40px;
    animation: ticker 35s linear infinite;
    white-space: nowrap;
}

.ticker span {
    font-size: 12px;
    font-weight: 600;
    opacity: .95;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ticker span::before {
    content: "◆ ";
    opacity: .7;
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* NAVBAR */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    transition: all .3s ease;
}

nav.scrolled {
    background: var(--nav-bg);
    box-shadow: var(--shadow);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

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

.logo img {
    height: 48px;
    object-fit: contain;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.2px;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all .25s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
    background: var(--glass);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2.5px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border-radius: 2px;
}

.nav-sep {
    width: 1px;
    height: 24px;
    background: var(--border);
    margin: 0 8px;
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent), #1d4ed8);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-cta:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

/* NAVBAR THEME TOGGLE BUTTON (TOP RIGHT) */
.theme-toggle-nav {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 8px;
}

.theme-toggle-nav:hover {
    background: var(--glass);
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.08) rotate(15deg);
}

.theme-toggle-nav svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* NAV ACTIONS */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.hamburger:hover {
    background: var(--glass);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .3s ease;
}

/* Hamburger active transformation to 'X' close button */
.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    z-index: 999;
    flex-direction: column;
    gap: 6px;
    box-shadow: var(--shadow);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    padding: 12px 18px;
    border-radius: 10px;
    transition: all 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: var(--glass);
    color: var(--text);
}

/* FLOATING WHATSAPP BUTTON (BOTTOM-RIGHT) */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    background: var(--wa-bg);
    color: var(--wa-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--wa-border);
    box-shadow: var(--wa-shadow);
    transition: all 0.3s ease;
}

.whatsapp-icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.08);
}

.whatsapp-float:hover .whatsapp-icon {
    background: var(--wa-hover-bg);
    border-color: var(--wa-hover-border);
    color: var(--wa-hover-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.22), 0 6px 18px rgba(37, 211, 102, 0.3);
    transform: rotate(8deg);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--wa-pulse);
    opacity: 0.6;
    animation: whatsappPulse 2s infinite;
    pointer-events: none;
    transition: border-color 0.4s ease;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.15);
        opacity: 0;
    }
    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}




/* SECTION COMMONS */
section {
    padding: 100px 24px;
}

.section-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.section-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent2);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.section-title span {
    font-family: var(--font-classic);
    font-style: italic;
    font-weight: 400;
    color: var(--accent2);
    text-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
}

.collab-process-section {
    padding: 100px 24px;
}

.collab-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(36px, 4vw, 52px);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
}

.collab-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 90% 15%, rgba(59, 130, 246, 0.12), transparent 24%),
                radial-gradient(circle at 20% 70%, rgba(14, 165, 233, 0.08), transparent 18%);
}

.collab-hero-copy {
    position: relative;
    z-index: 1;
}

.collab-hero-title {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 16px;
    font-size: clamp(40px, 5vw, 68px);
    max-width: 100%;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}

.collab-inline-highlight {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: var(--font-classic);
    font-style: normal;
    font-weight: 600;
    color: var(--accent2);
    font-size: inherit; /* match the h2 headline */
    text-transform: none;
    letter-spacing: -0.02em;
}

.dynamic-word {
    display: inline-block;
    vertical-align: baseline;
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: inherit;
    background: linear-gradient(90deg, #0f4ff7, #22c7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 12px 28px rgba(14, 165, 233, 0.16));
    opacity: 0;
    transform: translateY(12px) scale(0.96);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.dynamic-word.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.collab-hero-sub {
    font-size: clamp(16px, 1.05vw, 18px);
    max-width: 610px;
    color: var(--muted);
}

@media (max-width: 980px) {
    .collab-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .collab-hero-dynamic {
        width: 100%;
        max-width: 720px;
    }

    .dynamic-text-wrap {
        min-height: 76px;
    }
}

@media (max-width: 720px) {
    .collab-hero-title {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .collab-inline-highlight {
        width: 100%;
        justify-content: center;
        margin-top: 6px;
    }
}

@media (max-width: 640px) {
    .collab-hero {
        padding: 24px;
        gap: 20px;
    }

    .collab-hero-title {
        font-size: clamp(32px, 9vw, 42px);
    }

    .dynamic-word {
        font-size: clamp(28px, 9vw, 36px);
    }
}

.section-sub {
    font-size: 16.5px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 600px;
}

/* CARDS */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.card:hover {
    border-color: rgba(37, 99, 235, .25);
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(37, 99, 235, .15);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .7), transparent);
    opacity: 0;
    transition: .35s;
}

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

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    background: rgba(37, 99, 235, .1);
    border: 1px solid rgba(37, 99, 235, .2);
    color: var(--accent);
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
}

.card p {
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.6;
}

/* BUTTONS */
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent3));
    color: #fff !important;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
    background: linear-gradient(135deg, var(--accent3), var(--accent));
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid var(--border);
    transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

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

.btn-white {
    background: #fff;
    color: var(--accent) !important;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* PAGE HERO STRUCTURE (FOR ALL SUB-PAGES) - PREMIUM SAAS OVERHAUL */
.page-hero {
    text-align: center;
    padding: 80px 24px 60px;
    background: 
        radial-gradient(circle 1200px at 50% -300px, rgba(59, 130, 246, 0.18), rgba(99, 102, 241, 0.06), transparent 80%),
        radial-gradient(circle at 1px 1px, var(--dot-color) 1px, transparent 0);
    background-size: 100% 100%, 48px 48px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
}

/* Floating Glow Sphere 1 (Left Ambient Blur) */
.page-hero::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: var(--accent);
    top: 30%;
    left: 15%;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 1;
    transition: all 0.5s ease;
}

/* Floating Glow Sphere 2 (Right Ambient Blur) */
.page-hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--accent3);
    bottom: 15%;
    right: 10%;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 1;
    transition: all 0.5s ease;
}

[data-theme="light"] .page-hero::before,
[data-theme="light"] .page-hero::after {
    opacity: 0.12;
    filter: blur(140px);
}

.page-hero-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 24px;
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 6px 16px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--text);
}

.breadcrumb span {
    color: var(--accent2);
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(38px, 6vw, 62px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    color: var(--text);
    max-width: 900px;
    text-align: center;
}

.page-hero h1 span {
    font-family: var(--font-classic);
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(
        90deg,
        #3b82f6 0%,
        #8b5cf6 25%,
        #ec4899 50%,
        #8b5cf6 75%,
        #3b82f6 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: flowingGlow 4s linear infinite;
    text-shadow: none;
    display: inline-block;
    transition: transform 0.3s ease;
}

.page-hero h1 span:hover {
    transform: scale(1.05);
}

.page-hero p {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--muted);
    max-width: 680px;
    line-height: 1.6;
    margin-bottom: 0px;
    text-align: center;
    font-weight: 400;
}

/* MARQUEE CAROUSEL */
.marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
    position: relative;
    margin-top: 20px;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 160px;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg), transparent);
}

.marquee-row {
    overflow: hidden;
    width: 100%;
    margin: 16px 0;
}

.marquee-track-wrapper {
    display: flex;
    width: max-content;
}

.marquee-track {
    display: flex;
    gap: 24px;
    align-items: center;
    animation-play-state: running;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-left {
    animation: marquee-left linear infinite;
}

.marquee-right {
    animation: marquee-right linear infinite;
}

@keyframes marquee-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes marquee-right {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

.logo-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    width: 160px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.logo-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.02);
}

.logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.4s;
}

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

/* CTA BANNER & GENERAL CTA */
.cta-banner {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent3) 100%);
    padding: 90px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    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='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}

.cta-banner h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    font-size: 17.5px;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-banner .btn-white {
    position: relative;
    z-index: 1;
}

/* FOOTER */
footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 90px 24px 40px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo img {
    height: 52px;
}

.footer-brand p {
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.7;
    margin: 20px 0 24px;
    max-width: 320px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 17px;
    color: var(--muted);
    transition: all .25s ease;
    background: var(--glass);
}

.social-link:hover {
    border-color: var(--accent);
    background: rgba(37, 99, 235, .1);
    color: var(--text);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 24px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
    transition: color .2s;
}

.footer-col ul li a:hover {
    color: var(--text);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

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

.contact-item p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 11px 16px;
    font-size: 13.5px;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-form input:focus {
    border-color: var(--accent);
}

.newsletter-form input::placeholder {
    color: var(--muted);
}

/* AWARDS POPUP */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   PREMIUM AWARDS POPUP — Apple × Framer × Linear Inspired
   Image-First layout: photo at top, clean info panel below
═══════════════════════════════════════════════════════════════════ */

body.awards-popup-open { overflow: hidden; }

/* Cinematic depth blur on page content */
body.awards-popup-open > :not(.awards-popup-overlay):not(.awards-popup-modal) {
    filter: blur(12px) brightness(0.6) saturate(0.7);
    transition: filter 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    user-select: none;
}

/* ── OVERLAY ── Deep immersive cinematic backdrop */
.awards-popup-overlay {
    position: fixed;
    inset: 0;
    /* Deep gradient backdrop — Apple event style */
    background: radial-gradient(
        ellipse 120% 100% at 50% 0%,
        rgba(14, 20, 50, 0.82) 0%,
        rgba(3, 5, 10, 0.92) 60%
    );
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9995;
}

.awards-popup-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ── MODAL WRAPPER ── */
.awards-popup-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 40px);
    pointer-events: none;
    z-index: 9996;
}

.awards-popup-modal.open {
    pointer-events: auto;
}

/* ── CARD — The Star ── */
.awards-popup-card {
    position: relative;
    width: clamp(340px, 52vw, 780px);
    max-width: 95vw;
    max-height: 88vh;
    /* Premium dark glass — dark mode default */
    background: rgba(8, 12, 28, 0.75);
    /* Animated gradient border — the signature premium effect */
    border: 1px solid transparent;
    background-clip: padding-box;
    border-radius: 32px;
    backdrop-filter: blur(40px) saturate(1.8);
    -webkit-backdrop-filter: blur(40px) saturate(1.8);
    box-shadow:
        0 0 0 1px rgba(99, 102, 241, 0.18),          /* inner glow ring */
        0 2px 4px rgba(0, 0, 0, 0.4),                 /* tight shadow */
        0 12px 40px rgba(0, 0, 0, 0.55),              /* main depth */
        0 40px 80px rgba(0, 0, 0, 0.4),               /* atmospheric depth */
        0 0 120px rgba(99, 102, 241, 0.08),           /* purple ambient glow */
        inset 0 1px 0 rgba(255, 255, 255, 0.06),      /* top edge highlight */
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);            /* bottom edge shadow */
    overflow: visible;
    /* Entry state: scale down + translate up */
    transform: translateY(40px) scale(0.93);
    opacity: 0;
    transition:
        transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease;
    pointer-events: auto;
}

/* Open state: spring into view */
.awards-popup-modal.open .awards-popup-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* ── ANIMATED GRADIENT BORDER RING ── */
.awards-popup-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 33px;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.7) 0%,
        rgba(14, 165, 233, 0.5) 25%,
        rgba(139, 92, 246, 0.4) 50%,
        rgba(59, 130, 246, 0.6) 75%,
        rgba(99, 102, 241, 0.7) 100%
    );
    background-size: 300% 300%;
    animation: premiumBorderFlow 6s ease infinite;
    z-index: -1;
    opacity: 0.7;
}

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

/* ── AMBIENT GLOW ORBS — Floating light particles inside card ── */
.awards-popup-card::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -15%;
    width: 60%;
    height: 60%;
    background: radial-gradient(
        circle,
        rgba(99, 102, 241, 0.18) 0%,
        rgba(14, 165, 233, 0.1) 40%,
        transparent 70%
    );
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
    animation: orbFloat1 8s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(30px, 20px) scale(1.15); }
}

/* ── POPUP INNER SHELL ── */
.awards-popup-shell {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
    overflow: hidden;
    border-radius: 32px;
}

/* ── HEADER SECTION — Premium authority header ── */
.awards-popup-header {
    padding: 36px 36px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    position: relative;
}

/* ── PREMIUM INFO FOOTER ── */
.awards-popup-footer {
    padding: 24px 36px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    position: relative;
    background: rgba(10, 15, 36, 0.5); /* frosted dark blue matching card background */
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 3;
    flex-shrink: 0; /* Strict flex constraint to prevent overlapping compression */
}

/* Badge pill — "Award Winning Organization" */
.awards-popup-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 16px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(165, 180, 252, 0.95);
    animation: badgeFadeIn 0.6s 0.2s ease both;
}

.awards-popup-badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #818cf8;
    box-shadow: 0 0 6px rgba(129, 140, 248, 0.8);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(1.5); }
}

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

/* Premium logo strip in header */
.awards-popup-logos-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    animation: badgeFadeIn 0.6s 0.35s ease both;
}

.awards-popup-logo-pill {
    height: 38px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.awards-popup-logo-pill:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.awards-popup-logo-pill img {
    height: 28px !important;
    width: auto !important;
    max-width: 80px !important;
    object-fit: contain !important;
    filter: brightness(0.9) contrast(1.1);
    transition: filter 0.25s ease;
}

.awards-popup-logo-pill:hover img {
    filter: brightness(1) contrast(1.1);
}

/* Main title — premium weight hierarchy */
.awards-popup-title {
    font-family: var(--font-heading);
    font-size: clamp(20px, 3.5vw, 32px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--text);
    text-align: center;
    margin: 0;
    animation: titleReveal 0.7s 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
    /* Premium text glow */
    text-shadow: 0 0 40px rgba(99, 102, 241, 0.2);
}

.awards-popup-title span {
    font-family: var(--font-classic);
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(135deg, #818cf8, #38bdf8, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: titleReveal 0.7s 0.25s cubic-bezier(0.16, 1, 0.3, 1) both,
               gradientShift 4s ease infinite 1s;
}

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

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

/* Subtitle */
.awards-popup-subtitle {
    font-size: 13px;
    color: rgba(148, 163, 184, 0.8);
    font-weight: 400;
    letter-spacing: 0.1px;
    text-align: center;
    margin: 0;
    animation: badgeFadeIn 0.6s 0.4s ease both;
}

/* Elegant divider line */
.awards-popup-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(99, 102, 241, 0.4) 20%,
        rgba(14, 165, 233, 0.3) 50%,
        rgba(99, 102, 241, 0.4) 80%,
        transparent
    );
    margin: 24px 0 0;
    animation: dividerGrow 0.8s 0.5s ease both;
}

@keyframes dividerGrow {
    from { transform: scaleX(0); opacity: 0; }
    to   { transform: scaleX(1); opacity: 1; }
}

/* ── IMAGE SHOWCASE — Cinematic award image ── */
.awards-popup-image-area {
    padding: 28px 36px 36px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.3) transparent;
}

.awards-popup-image-area::-webkit-scrollbar { width: 4px; }
.awards-popup-image-area::-webkit-scrollbar-track { background: transparent; }
.awards-popup-image-area::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 99px;
}

/* Single award image — cinema frame */
.awards-logo-card {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    /* Layered premium frame */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.4),
        0 12px 48px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    cursor: zoom-in;
    transition:
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease;
    animation: imageReveal 0.7s 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes imageReveal {
    from { opacity: 0; transform: scale(0.96) translateY(12px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.awards-logo-card:hover {
    transform: scale(1.015) translateY(-4px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.5),
        0 20px 60px rgba(0, 0, 0, 0.35),
        0 0 60px rgba(99, 102, 241, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Shimmer sweep on hover — premium reflection effect */
.awards-logo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.awards-logo-card:hover::before {
    left: 140%;
}

/* Subtle color glow corner */
.awards-logo-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.08), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* The award image itself */
.awards-logo-card img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 420px;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    transition:
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.5s ease;
    padding: 16px;
}

.awards-logo-card:hover img {
    transform: scale(1.03);
    filter: brightness(1.04) contrast(1.02);
}

/* ── AWARDS LOGO GRID (for multi-image mode) ── */
.awards-logo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    justify-items: stretch;
    align-items: stretch;
    min-height: 0;
}

/* ── CLOSE BUTTON — Futuristic minimal ── */
.awards-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    /* Glassmorphic close button */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(148, 163, 184, 0.8);
    border-radius: 12px;
    display: grid;
    place-items: center;
    cursor: pointer;
    /* Premium transitions */
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.25s ease;
    backdrop-filter: blur(8px);
    z-index: 10;
    line-height: 1;
    font-size: 0; /* hide text — use SVG icon */
}

/* SVG X icon inside close button */
.awards-popup-close::before,
.awards-popup-close::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 1.5px;
    background: currentColor;
    border-radius: 2px;
    transition: background 0.25s ease;
}

.awards-popup-close::before { transform: rotate(45deg); }
.awards-popup-close::after  { transform: rotate(-45deg); }

.awards-popup-close:hover {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
    color: rgba(252, 165, 165, 0.9);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.15);
    outline: none;
}

/* ── TITLE ROW (legacy compat) ── */
.awards-title-row {
    display: none; /* replaced by new header layout */
}

.small-aw-logos { display: none; }
.small-aw-logo  { display: none; }

/* ── SCROLLBAR ── */
.awards-logo-grid::-webkit-scrollbar { width: 4px; }
.awards-logo-grid::-webkit-scrollbar-track { background: transparent; }
.awards-logo-grid::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 99px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1080px) {
    .awards-popup-card {
        width: clamp(320px, 70vw, 700px);
    }
}

@media (max-width: 780px) {
    .awards-popup-card {
        width: min(94vw, 600px);
        border-radius: 24px;
    }
    .awards-popup-card::before { border-radius: 25px; }
    .awards-popup-shell { border-radius: 24px; }
    .awards-popup-header { padding: 28px 24px 0; }
    .awards-popup-image-area { padding: 20px 24px 28px; }
    .awards-popup-footer { padding: 20px 24px 24px; gap: 10px; }
    .awards-popup-title { font-size: clamp(18px, 5vw, 26px); }
    .awards-logo-card { min-height: 200px; }
}

@media (max-width: 520px) {
    .awards-popup-card {
        width: min(95vw, 420px);
        border-radius: 20px;
        max-height: 92vh;
    }
    .awards-popup-card::before { border-radius: 21px; }
    .awards-popup-shell { border-radius: 20px; }
    .awards-popup-header { padding: 24px 20px 0; gap: 10px; }
    .awards-popup-image-area { padding: 16px 20px 24px; }
    .awards-popup-footer { padding: 16px 20px 20px; gap: 8px; }
    .awards-popup-title { font-size: clamp(16px, 6vw, 22px); }
    .awards-popup-badge { font-size: 9px; letter-spacing: 1.2px; }
    .awards-popup-close { top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 10px; }
    .awards-logo-card { min-height: 160px; }
    .awards-logo-card img { padding: 10px; max-height: 280px; }
}










.newsletter-form button {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 11px 20px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}

.newsletter-form button:hover {
    background: #1d4ed8;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 13.5px;
    color: var(--muted);
}

.footer-bottom a {
    color: var(--muted);
    text-decoration: none;
    font-size: 13.5px;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: var(--text);
}

/* TOAST */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--accent);
    color: #fff;
    padding: 14px 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    z-index: 9999;
    transform: translateX(130%);
    transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(37, 99, 235, .35);
}

.toast.show {
    transform: translateX(0);
}

/* LOADING SCREEN */
#loader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .6s, visibility .6s;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-logo {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.loader-bar {
    width: 220px;
    height: 4px;
    background: rgba(255, 255, 255, .08);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border-radius: 4px;
    animation: load 1.6s ease forwards;
}

@keyframes load {
    from { width: 0; }
    to { width: 100%; }
}

/* REVEAL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: all .75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* MEDIA RESPONSIVE */
@media(max-width:1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media(max-width:768px) {
    /* Prevent horizontal scrolling on html and body */
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    .nav-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 16px;
    }

    .theme-toggle-nav {
        order: 1;
        display: flex;
        margin-left: 0;
    }

    .logo {
        order: 2;
    }

    .logo img {
        height: 40px;
    }

    .nav-links,
    .nav-sep,
    .nav-cta {
        display: none;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        left: auto;
    }
    
    .whatsapp-icon {
        width: 44px;
        height: 44px;
    }
    
    .whatsapp-icon svg {
        width: 22px;
        height: 22px;
    }

    /* Home Page & General Responsive Grid Overrides */
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

    .hero-btns {
        justify-content: center;
    }

    .hero-badge {
        margin: 0 auto 24px;
    }

    .hero-orb {
        width: 280px;
        height: 280px;
        max-width: 100%;
    }

    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* --- HOME PAGE STYLE EXTENSIONS --- */

/* HERO SECTION & ORBS */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 24px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37, 99, 235, .2) 0%, transparent 60%), radial-gradient(ellipse 60% 40% at 80% 60%, rgba(6, 182, 212, .1) 0%, transparent 50%), radial-gradient(ellipse 40% 40% at 20% 80%, rgba(139, 92, 246, .1) 0%, transparent 50%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--dot-color) 1px, transparent 1px), linear-gradient(90deg, var(--dot-color) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, .15);
    border: 1px solid rgba(37, 99, 235, .3);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent2);
    letter-spacing: 1px;
    margin-bottom: 24px;
    animation: fadeUp .8s ease both;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--accent2);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.5); }
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(44px, 7vw, 84px);
    font-weight: 800;
    line-height: 0.9;
    margin-bottom: 24px;
    letter-spacing: -0.05em;
    animation: textReveal 1.2s cubic-bezier(0.77, 0, 0.175, 1) both;
}

@keyframes textReveal {
    0% { opacity: 0; transform: translateY(40px) skewY(2deg); }
    100% { opacity: 1; transform: translateY(0) skewY(0deg); }
}

.hero h1 span {
    font-family: var(--font-classic);
    font-style: italic;
    font-weight: 400;
    color: var(--accent2);
}

.hero p {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 36px;
    animation: fadeUp .8s .2s ease both;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeUp .8s .3s ease both;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeUp .8s .4s ease both;
}

.hero-orb {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(37, 99, 235, .4), rgba(6, 182, 212, .2), transparent 70%);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

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

.hero-orb::before {
    content: '';
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    border: 1px solid rgba(37, 99, 235, .2);
    animation: spin 20s linear infinite;
}

.hero-orb::after {
    content: '';
    position: absolute;
    inset: 60px;
    border-radius: 50%;
    border: 1px solid rgba(6, 182, 212, .15);
    animation: spin 30s linear infinite reverse;
}

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

.hero-stat-card {
    position: absolute;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 20px;
    backdrop-filter: blur(20px);
}

.hero-stat-card:nth-child(2) {
    top: 10%;
    right: -20px;
    animation: float 5s 1s ease-in-out infinite;
}

.hero-stat-card:nth-child(3) {
    bottom: 20%;
    left: -20px;
    animation: float 5s 2s ease-in-out infinite;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--accent2);
}

.stat-label {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

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

/* STATS SECTION */
.stats-section {
    padding: 60px 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg2);
}

.stats-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

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

.stat-item .num {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item .lbl {
    font-size: 14px;
    color: var(--muted);
    margin-top: 6px;
}

/* ABOUT PREVIEW */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* PRODUCT PREVIEWS */
.products-section {
    background: var(--bg2);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all .35s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(37, 99, 235, .3);
}

.product-img {
    height: 180px;
    background: var(--bg3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, var(--card));
}

.product-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: .5px;
}

.product-body {
    padding: 20px;
}

.product-body h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-body p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-link {
    font-size: 13.5px;
    color: var(--accent2);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

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

/* IP SECTION */
.ip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.ip-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all .35s;
    position: relative;
}

.ip-card:hover {
    border-color: rgba(139, 92, 246, .35);
    transform: translateY(-4px);
}

.ip-num {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent3);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.ip-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ip-card p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.6;
}

/* COLLABORATION TABS */
.collab-section {
    background: var(--bg2);
}

.collab-tabs {
    display: flex;
    gap: 12px;
    margin-top: 40px;
    flex-wrap: wrap;
    padding: 6px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 100px;
    width: max-content;
    border: 1px solid var(--border);
}

.tab-btn {
    padding: 10px 24px;
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 100px;
    transition: all .3s;
}

.tab-btn.active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.tab-content {
    display: none;
    margin-top: 28px;
}

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

/* TESTIMONIALS */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.testimonial {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: transform 0.3s;
}

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

.testimonial .quote {
    font-size: 32px;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 16px;
}

.testimonial p {
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent3));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: white;
}

.author-name {
    font-size: 14.5px;
    font-weight: 600;
}

.author-role {
    font-size: 12px;
    color: var(--muted);
}

/* ALLIANCES */
.alliances {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.alliance-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 28px;
    text-align: center;
    flex: 1;
    min-width: 160px;
    transition: border-color 0.2s;
}

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

.alliance-item .icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.alliance-item h4 {
    font-size: 14.5px;
    font-weight: 600;
    margin-bottom: 4px;
}

.alliance-item p {
    font-size: 12px;
    color: var(--muted);
}

.link-card {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    cursor: pointer;
}

/* PERSPECTIVES GRID & CARDS */
.perspective-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 24px;
}

.perspective-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(30px);
}

.tab-content.active .perspective-card {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.tab-content.active .perspective-card:nth-child(1) { animation-delay: 0.1s; }
.tab-content.active .perspective-card:nth-child(2) { animation-delay: 0.25s; }
.tab-content.active .perspective-card:nth-child(3) { animation-delay: 0.4s; }

.perspective-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.perspective-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    opacity: 0.8;
}

.perspective-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.perspective-icon svg {
    width: 26px;
    height: 26px;
    stroke-width: 2;
}

.perspective-card:hover .perspective-icon {
    transform: scale(1.1) rotate(5deg);
}

.pi-smps {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--accent);
}

.pi-industry {
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    color: var(--accent2);
}

.pi-employment {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--accent3);
}

.perspective-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: -10px;
}

.perspective-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.perspective-card p {
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

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

/* PREMIUM AWARDS GLOWING LIGHTS */
.awards-section {
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.12) 0%, rgba(3, 5, 10, 0.6) 50%, var(--bg) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
    overflow: hidden;
    padding: 90px 24px;
}

.awards-section .section-inner {
    position: relative;
    z-index: 2;
}

.awards-light {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.18;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.4s ease;
}

[data-theme="light"] .awards-light {
    opacity: 0.08;
    filter: blur(100px);
}

.awards-light-1 {
    top: -10%;
    left: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    animation: awardsFloat 12s ease-in-out infinite;
}

.awards-light-2 {
    bottom: -15%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    animation: awardsFloat 16s ease-in-out infinite reverse;
}

.awards-light-3 {
    top: 25%;
    left: 45%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent3) 0%, transparent 70%);
    animation: awardsFloat 14s ease-in-out infinite 3s;
}

@keyframes awardsFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.15); }
}

[data-theme="light"] .awards-section {
    background: radial-gradient(circle at 50% 50%, rgba(217, 119, 6, 0.08) 0%, rgba(255, 255, 255, 0.6) 60%, var(--bg) 100%);
    border-top: 1px solid rgba(217, 119, 6, 0.2);
    border-bottom: 1px solid rgba(217, 119, 6, 0.2);
}

.awards-section::before,
.awards-section::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
}

.awards-section::before { top: 0; }
.awards-section::after { bottom: 0; }

[data-theme="light"] .awards-section::before,
[data-theme="light"] .awards-section::after {
    background: linear-gradient(90deg, transparent, rgba(217, 119, 6, 0.4), transparent);
}

.awards-section .section-title span {
    color: var(--gold);
    text-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
}

.award-card {
    background: rgba(212, 175, 55, 0.02) !important;
    border: 1px solid rgba(212, 175, 55, 0.12) !important;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

[data-theme="light"] .award-card {
    background: rgba(217, 119, 6, 0.02) !important;
    border: 1px solid rgba(217, 119, 6, 0.12) !important;
}

.award-card:hover {
    border-color: rgba(212, 175, 55, 0.6) !important;
    background: rgba(212, 175, 55, 0.05) !important;
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.18), 0 0 0 1px rgba(212, 175, 55, 0.2) !important;
    transform: translateY(-6px) scale(1.03) !important;
}

[data-theme="light"] .award-card:hover {
    border-color: rgba(217, 119, 6, 0.6) !important;
    background: rgba(217, 119, 6, 0.05) !important;
    box-shadow: 0 12px 35px rgba(217, 119, 6, 0.15), 0 0 0 1px rgba(217, 119, 6, 0.15) !important;
}

[data-theme="light"] .collab-hero {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(59, 130, 246, 0.14);
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.08);
}

/* ── LIGHT MODE: Premium popup adjustments ── */
[data-theme="light"] .awards-popup-overlay {
    background: radial-gradient(ellipse 120% 100% at 50% 0%, rgba(99, 102, 241, 0.1) 0%, rgba(248, 250, 252, 0.9) 60%);
    backdrop-filter: blur(20px) saturate(1.6);
}
[data-theme="light"] .awards-popup-card {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.12), 0 12px 40px rgba(15, 23, 42, 0.1), 0 40px 80px rgba(15, 23, 42, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
[data-theme="light"] .awards-popup-footer {
    background: rgba(248, 250, 252, 0.6);
    border-top-color: rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .awards-popup-badge {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
    color: #4f46e5;
}
[data-theme="light"] .awards-popup-badge-dot { background: #6366f1; box-shadow: 0 0 6px rgba(99,102,241,0.6); }
[data-theme="light"] .awards-popup-title { color: #0f172a; text-shadow: none; }
[data-theme="light"] .awards-popup-subtitle { color: rgba(71,85,105,0.9); }
[data-theme="light"] .awards-popup-divider {
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.3) 30%, rgba(14,165,233,0.2) 50%, rgba(99,102,241,0.3) 70%, transparent);
}
[data-theme="light"] .awards-popup-logo-pill { background: rgba(15,23,42,0.03); border-color: rgba(15,23,42,0.08); }
[data-theme="light"] .awards-popup-close { background: rgba(15,23,42,0.04); border-color: rgba(15,23,42,0.1); color: rgba(71,85,105,0.7); }
[data-theme="light"] .awards-popup-close:hover,
[data-theme="light"] .awards-popup-close:focus-visible { background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.25); color: rgb(185,28,28); }
[data-theme="light"] .awards-logo-card {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(99, 102, 241, 0.1);
    box-shadow: 0 4px 20px rgba(15,23,42,0.07), 0 12px 40px rgba(15,23,42,0.04);
}
[data-theme="light"] .awards-logo-card:hover { border-color: rgba(99,102,241,0.3); box-shadow: 0 8px 30px rgba(15,23,42,0.1), 0 20px 50px rgba(15,23,42,0.07); }
[data-theme="light"] .awards-logo-card img { filter: none; }

.award-card img {
    transition: all 0.4s ease !important;
}

.award-card:hover img {
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.45));
    transform: scale(1.08);
}

.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(45deg, transparent, rgba(245, 158, 11, 0.05), transparent);
    transform: rotate(45deg);
    animation: shimmer 4s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

@media(max-width: 768px) {
    .logo-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 12px;
    }

    .logo-card {
        height: 80px;
        padding: 16px;
        width: auto;
    }
}


/* --- ABOUT PAGE VM / STORY / VALUES / TEAM / ACHIEVEMENTS --- */
.vm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.vm-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.vm-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.vm-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 28px;
}

.vm-card h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 16px;
}

.vm-card p {
    font-size: 15.5px;
    color: var(--muted);
    line-height: 1.7;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.story-text p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.story-stat {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
}

.story-stat .num {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    color: var(--accent2);
}

.story-stat .lbl {
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 4px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.team-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all .3s;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.team-card:hover {
    border-color: rgba(37, 99, 235, .3);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent3));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin: 0 auto 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.team-card h3 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.2;
}

.team-card .role {
    font-size: 13px;
    color: var(--accent2);
    margin-bottom: 0;
    line-height: 1.3;
}

.team-card p {
    display: none;
}

.ach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.ach-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
}

.ach-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.ach-num {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: var(--gold);
}

.ach-label {
    font-size: 14px;
    color: var(--muted);
    margin-top: 4px;
}

@media(max-width: 1024px) {
    .vm-grid, .values-grid, .ach-grid { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .story-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media(max-width: 768px) {
    .vm-grid, .values-grid, .ach-grid, .team-grid { grid-template-columns: 1fr; }
}


/* --- PRODUCTS PAGE FILTER, GRID & DETAIL MODALS --- */
.products-filter {
    margin-bottom: 40px;
}

.filter-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-groups {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.search-box {
    position: relative;
    width: 300px;
}

.search-box input {
    width: 100%;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 11px 20px 11px 48px;
    font-size: 13.5px;
    color: var(--text);
    outline: none;
    transition: all 0.3s;
}

.search-box input:focus {
    border-color: var(--accent);
    background: var(--bg2);
}

.search-box svg {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-top: 8px;
}

.product-status {
    font-size: 11.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-live { color: #10b981; }
.status-live::before { background: #10b981; }
.status-dev { color: #f59e0b; }
.status-dev::before { background: #f59e0b; }

/* MODAL OVERLAY & CONTENT */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 5, 10, 0.45);
    backdrop-filter: blur(0px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
    perspective: 1200px;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(16px);
}

.modal {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 32px;
    max-width: 850px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: rotateX(15deg) translateY(40px) scale(0.92);
    transform-origin: bottom center;
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.modal-overlay.open .modal {
    transform: rotateX(0deg) translateY(0) scale(1);
    opacity: 1;
}

.modal-header {
    padding: 24px 32px 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.modal-close {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
    transform: rotate(90deg);
}

.modal-body {
    padding: 0;
    text-align: left;
}

.modal-content-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    padding: 8px 40px 48px;
}

.modal-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid var(--border);
    padding-right: 32px;
}

.modal-left-avatar {
    width: 150px;
    height: 150px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--accent), var(--accent3));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 54px;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 24px;
    transition: all 0.4s ease;
    object-fit: cover;
}

.modal-left h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
    text-align: center;
}

.modal-left-role {
    font-size: 12.5px;
    color: var(--accent2);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-align: center;
}

.modal-right {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.modal-quote-block {
    position: relative;
    padding-left: 24px;
    border-left: 3px solid var(--accent);
}

.modal-quote-text {
    font-family: var(--font-classic);
    font-size: 17.5px;
    font-style: italic;
    color: var(--text);
    line-height: 1.6;
}

.modal-section-title {
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent3);
    margin-bottom: 12px;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-tag {
    font-size: 11px;
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.12);
    color: var(--accent2);
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 600;
}

.modal-bio-text {
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.7;
}

.modal-achievements {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-achievement-item {
    font-size: 13.5px;
    color: var(--text);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
}

.modal-achievement-item::before {
    content: '✦';
    color: var(--accent2);
    font-size: 12px;
    margin-top: 1px;
    flex-shrink: 0;
}

.modal-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent3));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    font-weight: 800;
}

.modal-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.modal-feature {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 12px;
}

.modal-feature h5 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.modal-feature p {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.5;
}

@media(max-width: 768px) {
    .modal-content-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 8px 24px 32px;
    }
    .modal-left {
        text-align: center;
        border-right: none !important;
        border-bottom: 1px solid var(--border);
        padding-bottom: 28px !important;
        padding-right: 0 !important;
    }
    .modal-left-avatar {
        margin: 0 auto 20px !important;
    }
    .modal-features {
        grid-template-columns: 1fr;
    }
}


/* --- EXECOM PAGE --- */
.execom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.execom-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    transition: all .4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.execom-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.08), transparent 70%);
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: 0.5;
}

.execom-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.execom-card:hover::before {
    opacity: 1;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 70%);
}

.execom-avatar {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent3));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.15);
    transition: all 0.4s ease;
    border: 3px solid rgba(255, 255, 255, 0.05);
    object-fit: cover;
}

.execom-card:hover .execom-avatar {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.35);
    border-color: var(--accent);
}

.execom-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.execom-role {
    font-size: 13px;
    color: var(--accent2);
    font-weight: 600;
    margin-bottom: 12px;
}

.execom-expertise {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 16px;
}

.execom-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.execom-social a {
    color: var(--muted);
    text-decoration: none;
    font-size: 16px;
    transition: color .2s;
}

.execom-social a:hover {
    color: var(--accent2);
}

.message-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, .1), rgba(139, 92, 246, .05));
    border: 1px solid rgba(139, 92, 246, .3);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    margin-top: 60px;
}

.message-card .quote {
    font-size: 48px;
    color: var(--accent3);
    opacity: .5;
    margin-bottom: 16px;
}

.message-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.message-card p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 24px;
}

.advisor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

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

@media(max-width: 768px) {
    .execom-grid, .advisor-grid { grid-template-columns: 1fr; }
    .message-card { padding: 24px; }
}


/* --- CONTACT PAGE --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    gap: 20px;
    transition: transform 0.3s;
}

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

.info-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.info-details h4 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.info-details p {
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.6;
}

.contact-form {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
    backdrop-filter: blur(16px);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 14.5px;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent), var(--accent3));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

@media(max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media(max-width: 768px) {
    .contact-form { padding: 24px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
}


/* --- EVENTS PAGE TIMELINE --- */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s;
}

.timeline-content:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.timeline-date {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent2);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.6;
}

.timeline-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg2);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    color: var(--accent);
    font-size: 16px;
}

@media(max-width: 768px) {
    .timeline-line { left: 24px; }
    .timeline-item { flex-direction: row !important; margin-bottom: 40px; }
    .timeline-content { width: calc(100% - 60px); margin-left: 60px; }
    .timeline-icon { left: 24px; }
}

/* ==========================================================================
   DESKTOP/LAPTOP LAYOUT OPTIMIZATIONS & OVERLAP FIXES
   ========================================================================== */

/* 1. Equal Heights and Alignment for Cards Across All Pages */
.products-grid, .events-grid, .execom-grid, .vm-grid, .values-grid, .perspective-grid, .testimonials-grid {
    display: grid !important;
    align-items: stretch !important;
}

.product-card, .event-card, .execom-card, .vm-card, .values-grid .card, .perspective-card, .testimonial {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    justify-content: space-between !important;
}

.product-body, .event-content, .vm-card, .perspective-card, .testimonial {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Ensure paragraph wraps properly and takes remaining space, pushing action links/meta to bottom */
.product-body p, .event-content p, .execom-card p, .vm-card p, .perspective-card p, .testimonial p {
    flex-grow: 1 !important;
}

/* 2. Mid-size Laptop Responsiveness (769px to 1280px) */
@media (max-width: 1280px) and (min-width: 769px) {
    /* Navbar text sizing & padding tweaks to prevent overflow wrapping */
    .nav-inner {
        padding: 0 24px !important;
        gap: 16px !important;
    }
    .nav-links {
        gap: 16px !important;
    }
    .nav-links a {
        font-size: 13px !important;
        padding: 6px 4px !important;
    }
    .nav-cta {
        padding: 10px 18px !important;
        font-size: 13px !important;
    }
    
    /* Hero section scaling adjustment to avoid overlapping with Orb */
    .hero-inner {
        gap: 40px !important;
        grid-template-columns: 1.1fr 0.9fr !important;
    }
    .hero h1 {
        font-size: clamp(38px, 5.5vw, 64px) !important;
    }
    .hero-orb {
        width: 320px !important;
        height: 320px !important;
    }
    
    /* Footer Grid Layout adjustment to prevent collapse/squeezing */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 40px !important;
    }
    
    /* Stats Layout adjustment */
    .stats-inner {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
    
    /* Cards grids adjustment to 2-columns if 3-columns squeeze too much */
    .products-grid, .events-grid, .perspective-grid, .testimonials-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* 3. Small Laptop Responsiveness (769px to 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-inner {
        padding: 0 16px !important;
        gap: 10px !important;
    }
    .nav-links {
        gap: 10px !important;
    }
    .nav-links a {
        font-size: 12px !important;
        padding: 4px !important;
    }
    .nav-cta {
        padding: 8px 14px !important;
        font-size: 12px !important;
    }
    
    /* Main sections margin & padding */
    .section-inner, .page-hero-inner {
        padding: 0 20px !important;
    }
    
    /* Executive Committee grid */
    .execom-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

/* 4. Large Screens Centering & Containment (1920px+) */
.section-inner, .nav-inner, .footer-inner, .hero-inner, .page-hero-inner, .ticker-wrap {
    max-width: 1440px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

body {
    overflow-x: hidden !important;
}

/* ==========================================================================
   GLOBAL RESPONSIVE TYPOGRAPHY & OVERFLOW PREVENTION SYSTEM
   ========================================================================== */

/* 1. Global Typography & Heading Adaptation Definitions */
:root {
    --fs-h1: clamp(2rem, 4.5vw + 0.8rem, 5rem);
    --fs-h2: clamp(1.6rem, 3.2vw + 0.6rem, 3rem);
    --fs-h3: clamp(1.25rem, 2.2vw + 0.5rem, 2rem);
    --fs-body: clamp(0.9rem, 0.4vw + 0.8rem, 1.1rem);
    --fs-small: clamp(0.75rem, 0.25vw + 0.7rem, 0.9rem);
    
    --lh-h1: 1.15;
    --lh-h2: 1.25;
    --lh-h3: 1.35;
    --lh-body: 1.6;
    
    --section-pad-vertical: clamp(2.5rem, 5.5vw, 6.5rem);
    --section-pad-horizontal: clamp(1rem, 2.5vw, 2rem);
}

/* Apply Responsive Hierarchy Site-wide */
h1, .hero h1, .page-hero h1 {
    font-size: var(--fs-h1) !important;
    line-height: var(--lh-h1) !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    letter-spacing: -0.02em !important;
}

h2, .section-title, .modal-header h2 {
    font-size: var(--fs-h2) !important;
    line-height: var(--lh-h2) !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    letter-spacing: -0.01em !important;
}

h3, .event-card h3, .product-body h3, .timeline-content h3, .perspective-card h3, .modal-body h3 {
    font-size: var(--fs-h3) !important;
    line-height: var(--lh-h3) !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
}

p, .hero p, .product-body p, .timeline-content p, .perspective-card p, .modal-body p {
    font-size: var(--fs-body) !important;
    line-height: var(--lh-body) !important;
    overflow-wrap: break-word !important;
}

/* Fix global spacing rhythm on sections */
section, .section-padding, .gallery-section, .contact-section {
    padding: var(--section-pad-vertical) var(--section-pad-horizontal) !important;
}

/* 2. Global Media Constraints to Prevent Layout Blowing */
img, video {
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
}

/* Eliminate horizontal scrolls completely */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================================================
   STRICT BREAKPOINT ADAPTATION (320px, 480px, 768px, 1024px, 1280px, 1440px, 1920px)
   ========================================================================== */

/* --- 1920px+ (Ultra-Wides & Large Screens) --- */
@media (min-width: 1920px) {
    .section-inner, .nav-inner, .footer-inner, .hero-inner, .page-hero-inner {
        max-width: 1440px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* --- 1440px (Large Desktops/Laptops) --- */
@media (max-width: 1440px) {
    .section-inner, .nav-inner, .footer-inner, .hero-inner {
        max-width: 1200px !important;
    }
}

/* --- 1280px (Standard Laptops) --- */
@media (max-width: 1280px) and (min-width: 1025px) {
    .hero-inner {
        gap: 40px !important;
    }
    .hero-orb {
        width: 350px !important;
        height: 350px !important;
    }
    .footer-grid {
        gap: 30px !important;
    }
}

/* --- 1024px (Small Laptops & Tablets Landscape) --- */
@media (max-width: 1024px) {
    .products-grid, .events-grid, .perspective-grid, .testimonials-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    .stats-inner {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
    .about-grid, .story-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
}

/* --- 768px (Tablets Portrait / Mobile Viewport Adaptations) --- */
@media (max-width: 768px) {
    /* Navbar styling updates */
    .nav-inner {
        padding: 0 16px !important;
    }
    .nav-links, .nav-cta, .nav-sep {
        display: none !important;
    }
    .hamburger {
        display: flex !important;
    }
    
    /* Layout transformations to single columns */
    .products-grid, .events-grid, .perspective-grid, .testimonials-grid, .execom-grid, .values-grid, .about-cards {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .stats-inner {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .hero-inner {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 30px !important;
    }
    .hero-btns {
        justify-content: center !important;
    }
    .hero-orb {
        width: 280px !important;
        height: 280px !important;
        margin: 0 auto !important;
    }
    .hero-badge {
        margin: 0 auto 16px !important;
    }
}

/* --- 480px (Standard Mobile Landscape & Portrait) --- */
@media (max-width: 480px) {
    :root {
        --fs-h1: clamp(1.8rem, 8vw, 2.5rem);
        --fs-h2: clamp(1.4rem, 6vw, 2rem);
        --fs-h3: clamp(1.2rem, 5vw, 1.6rem);
    }
    
    .hero-btns {
        flex-direction: column !important;
        width: 100% !important;
    }
    .hero-btns .btn-primary, .hero-btns .btn-secondary {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
    
    .section-inner {
        padding: 0 12px !important;
    }
    
    .whatsapp-float {
        bottom: 16px !important;
        right: 16px !important;
    }
    .whatsapp-icon {
        width: 40px !important;
        height: 40px !important;
    }
}

/* --- 320px (Small Mobile Adaptation) --- */
@media (max-width: 320px) {
    :root {
        --fs-h1: 1.6rem;
        --fs-h2: 1.3rem;
        --fs-h3: 1.15rem;
    }
    
    .logo img {
        height: 32px !important;
    }
    
    .nav-inner {
        padding: 0 8px !important;
    }
}

/* ============================================================ UPDATES TICKER ============================================================ */
.updates-ticker-wrap {
    background: #0f4c81;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    height: 38px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 10;
}
.updates-label {
    background: var(--accent);
    color: #fff;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 700;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 2;
}
.ticker-content-container {
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 100%;
    z-index: 1;
}
.ticker-track {
    display: flex;
    gap: 50px;
    white-space: nowrap;
    animation: scroll-ticker 30s linear infinite;
    padding-left: 20px;
}
.ticker-track span {
    display: inline-flex;
    align-items: center;
}
@keyframes scroll-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}



