/* ═══════════════════════════════════════════════════════════════
   GOPOS 365 — Design System v3
   Built by Kraf Digital · krafdigital.asia
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. DESIGN TOKENS ────────────────────────────────────────── */
:root {
    /* Backgrounds — Light Theme */
    --bg-base: #ffffff;
    --bg-surface: #f8fafc;
    --bg-elevated: #f1f5f9;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;

    /* Text — Dark on Light */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;
    --white: #ffffff;
    --gray-300: #cbd5e1;

    /* Accent System — Navy Blue (client brand colour) */
    --accent: #0061b0;
    --accent-hover: #004d8c;
    --accent-glow: rgba(0, 97, 176, 0.12);
    --accent-soft: rgba(0, 97, 176, 0.06);
    --accent-border: rgba(0, 97, 176, 0.2);
    --amber: #d97706;
    --coral: #dc2626;

    /* Logo 5-Bar Colors */
    --bar-1: #3b4d7a;
    --bar-2: #d4a43d;
    --bar-3: #c75555;
    --bar-4: #4a8c5d;
    --bar-5: #7b6ba0;

    /* Borders & Glass — Light Theme */
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.15);
    --border-accent: rgba(0, 97, 176, 0.25);
    --glass: rgba(255, 255, 255, 0.85);
    --glass-light: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.06);

    /* Shadows — Softer for Light Theme */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(0, 97, 176, 0.06);

    /* Legacy compat */
    --gray-50: var(--bg-surface);
    --gray-300: var(--text-muted);

    /* Typography */
    --font-display: 'Bricolage Grotesque', 'Outfit', system-ui, sans-serif;
    --font-body: 'DM Sans', 'Outfit', system-ui, sans-serif;

    /* Layout */
    --container: 1200px;
    --container-wide: 1400px;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Motion */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
    --duration: 0.5s;
    --duration-fast: 0.3s;
}


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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }
input, textarea, select { font: inherit; }


/* ── 3. TYPOGRAPHY ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    line-height: 1.12;
    font-weight: 700;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    letter-spacing: -0.03em;
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    letter-spacing: -0.025em;
}

h3 {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

h4 {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, var(--amber) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ── 4. LAYOUT ───────────────────────────────────────────────── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
    position: relative;
}


/* ── 5. FIVE-BAR MOTIF ───────────────────────────────────────── */
.five-bar {
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(
        90deg,
        var(--bar-1) 0% 20%,
        var(--bar-2) 20% 40%,
        var(--bar-3) 40% 60%,
        var(--bar-4) 60% 80%,
        var(--bar-5) 80% 100%
    );
}

.five-bar-thin {
    height: 2px;
    opacity: 0.6;
    border-radius: 1px;
    background: linear-gradient(
        90deg,
        var(--bar-1) 0% 20%,
        var(--bar-2) 20% 40%,
        var(--bar-3) 40% 60%,
        var(--bar-4) 60% 80%,
        var(--bar-5) 80% 100%
    );
}


/* ── 6. NAVIGATION ───────────────────────────────────────────── */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease);
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

#navbar.scrolled {
    padding: 10px 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: var(--shadow-md);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 36px;
    width: auto;
}

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

.nav-links li a {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: all var(--duration-fast) var(--ease);
    letter-spacing: -0.01em;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.04);
}

.nav-cta {
    background: var(--accent) !important;
    color: var(--text-inverse) !important;
    font-weight: 600 !important;
    padding: 10px 22px !important;
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--accent-glow);
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    position: relative;
    background: none;
    border: none;
    -webkit-tap-highlight-color: transparent;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
    transform-origin: center;
}

.mobile-toggle span + span {
    margin-top: 5px;
}

/* Hamburger → X animation */
.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ── 7. BUTTONS ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--duration-fast) var(--ease);
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--accent);
    color: var(--text-inverse);
    border: none;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.025);
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-full);
    background: #25d366;
    color: #fff;
    transition: all var(--duration-fast) var(--ease);
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.2);
}


/* ── 8. SECTION HEADER ───────────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    font-family: var(--font-body);
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    max-width: 520px;
    margin: 0 auto;
    font-size: 17px;
}


/* ── 9. HERO ─────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(5, 150, 105, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 80% 30%, rgba(59, 77, 122, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    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;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero-badge::before {
    content: '✦';
    font-size: 10px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent) 0%, #0061b0 50%, var(--amber) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    margin: 24px 0 36px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-img-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.35) 100%);
    pointer-events: none;
}

/* Hero floating cards */
.hero-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.hero-float-card .float-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.hero-float-card .float-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
}

.hero-float-card .float-text h4 {
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--text-primary);
}

.hero-float-card .float-text p {
    font-size: 12px;
    color: var(--text-muted);
}

.floating-1 {
    top: 15%;
    right: -20px;
    animation: float-subtle 6s ease-in-out infinite;
}

.floating-2 {
    bottom: 15%;
    left: -30px;
    animation: float-subtle 6s ease-in-out infinite 3s;
}

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


/* ── 10. STATS BAR ───────────────────────────────────────────── */
.stats-bar {
    padding: 0;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.support-specialists-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.coverage-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .stats-bar {
        margin-top: 24px;
    }

    .support-specialists-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .coverage-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .hero-logo {
        margin-left: auto;
        margin-right: auto;
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.stat-item {
    padding: 36px 24px;
    text-align: center;
    position: relative;
    transition: background var(--duration-fast);
}

.stat-item:hover {
    background: rgba(0, 0, 0, 0.015);
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--border);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number span {
    font-size: 0.5em;
    color: var(--accent);
    font-weight: 600;
    margin-left: 2px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.01em;
}


/* ── 11. SERVICES ────────────────────────────────────────────── */
.services {
    background: var(--bg-surface);
}

.services-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.service-card {
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: all var(--duration) var(--ease);
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.service-card:first-child {
    grid-row: span 2;
}

.service-icon {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.service-card:first-child .service-icon {
    height: 100%;
    min-height: 280px;
    flex: 1;
}

.service-card:not(:first-child) .service-icon {
    height: 180px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.service-card:hover .service-icon img {
    transform: scale(1.05);
}

.service-card h3,
.service-card p,
.service-card .service-features {
    padding: 0 24px;
}

.service-card h3 {
    padding-top: 24px;
    margin-bottom: 10px;
}

.service-card > p {
    font-size: 15px;
    margin-bottom: 16px;
}

.service-features {
    padding-bottom: 24px !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.service-features li {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}


/* ── 12. CLIENT MARQUEE ──────────────────────────────────────── */
.partners {
    overflow: hidden;
    background: var(--bg-surface) !important;
    padding: 100px 0 !important;
}

.marquee-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-row {
    display: flex;
    gap: 16px;
    width: max-content;
}

.marquee-row-left {
    animation: marquee-left 60s linear infinite;
}

.marquee-row-right {
    animation: marquee-right 60s linear infinite;
}

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

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

.client-logo-item {
    flex-shrink: 0;
    width: 140px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    padding: 14px;
    transition: all var(--duration-fast);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.client-logo-item:hover {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.client-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity var(--duration-fast);
}

.client-logo-item:hover img {
    opacity: 1;
}

/* Static grid fallback for client logos */
.client-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
}


/* ── 13. INDUSTRIES ──────────────────────────────────────────── */
.industries {
    background: var(--bg-surface);
}

/* Old .industries-grid/.industry-card/.industry-overlay removed — replaced by .ind-grid/.ind-card in index.html <style> */


/* ── 14. CTA SECTION ─────────────────────────────────────────── */
.cta {
    background: var(--bg-base);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 60% at 50% 50%, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    margin-bottom: 16px;
}

.cta h2 span {
    color: var(--accent);
}

.cta p {
    max-width: 480px;
    margin: 0 auto 40px;
    font-size: 17px;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sub-page CTA variant */
.sub-cta {
    text-align: center;
    padding: 80px 0;
    background: var(--bg-surface);
    position: relative;
}

.sub-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 40% 50% at 50% 50%, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.sub-cta h2 {
    margin-bottom: 16px;
    position: relative;
}

.sub-cta h2 span {
    color: var(--accent);
}

.sub-cta p {
    max-width: 480px;
    margin: 0 auto 32px;
    font-size: 17px;
    position: relative;
}

.sub-cta .btn-whatsapp {
    position: relative;
}


/* ── 15. FOOTER ──────────────────────────────────────────────── */
footer {
    background: var(--bg-surface);
    padding: 80px 0 0;
    border-top: 1px solid var(--border);
}

footer .footer-brand .logo img {
    height: 52px !important;
    width: auto !important;
    margin-bottom: 16px !important;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 280px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.025);
    border: 1px solid var(--border);
    transition: all var(--duration-fast);
}

.footer-social a:hover {
    background: var(--accent-soft);
    border-color: var(--accent-border);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
    fill: var(--text-secondary);
    transition: fill var(--duration-fast);
}

.footer-social a:hover svg {
    fill: var(--accent);
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-family: var(--font-body);
}

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

.footer-column li a,
.footer-column li span {
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--duration-fast);
    line-height: 1.5;
}

.footer-column li a:hover {
    color: var(--text-primary);
}

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

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

.footer-bottom a {
    color: var(--accent);
    transition: opacity var(--duration-fast);
}

.footer-bottom a:hover {
    opacity: 0.8;
}


/* ── 16. WHATSAPP FLOAT ──────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    background: #25d366;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: all var(--duration-fast) var(--ease);
}

.whatsapp-float svg {
    width: 22px;
    height: 22px;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}


/* ── 17. SUBPAGE HERO (Full-Bleed) ───────────────────────────── */
.hero-fullbleed {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-fullbleed .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-fullbleed .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    filter: blur(2px);
}

.hero-fullbleed .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.75) 100%);
}

/* Force light nav text on pages with dark fullbleed hero */
/* All hero-fullbleed navbar overrides removed — solid white navbar everywhere */

.hero-fg {
    position: relative;
    z-index: 1;
    max-width: 700px;
    color: #ffffff;
}

.hero-fg h1 {
    color: #ffffff;
}

.hero-fg p {
    color: rgba(255, 255, 255, 0.85);
}

.hero-badge-top {
    display: inline-block;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.hero-fg h1 {
    margin-bottom: 16px;
}

.hero-fg h1 span {
    color: #34d399;
}

.hero-fg p {
    font-size: 18px;
    max-width: 520px;
    margin: 0 auto;
}


/* ── 18. BENTO GRID (Subpages) ───────────────────────────────── */
.bento-section {
    background: var(--bg-base);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 16px;
}

.bento-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s var(--ease);
}

.bento-item:hover img {
    transform: scale(1.05);
}

.bento-item.span-2 {
    grid-column: span 2;
}

.bento-item.span-3 {
    grid-column: span 3;
}

.bento-item.span-row {
    grid-row: span 2;
}


/* ── 19. REGION CARDS ────────────────────────────────────────── */
.regions-section {
    background: var(--bg-surface);
}

.region-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.region-card {
    padding: 32px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: all var(--duration) var(--ease);
}

.region-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.region-card.teal {
    border-color: var(--accent-border);
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.05) 0%, var(--bg-card) 100%);
}

.region-card.dark {
    background: var(--bg-elevated);
}

.region-card.image-bg {
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.region-card.image-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.region-card.image-bg .region-content {
    position: relative;
    z-index: 1;
}

.region-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.region-card p {
    font-size: 15px;
    margin-bottom: 20px;
}

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

.region-tags span {
    padding: 4px 12px;
    font-size: 13px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
}


/* ── 20. INTERNATIONAL CARDS ─────────────────────────────────── */
.international-section {
    background: var(--bg-base);
}

.intl-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.intl-card {
    padding: 36px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: all var(--duration) var(--ease);
}

.intl-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.intl-flag {
    font-size: 2rem;
    margin-bottom: 16px;
}

.intl-card h3 {
    margin-bottom: 12px;
}

.intl-card p {
    font-size: 15px;
}


/* ── 21. SUPPORT TYPE PAGE ───────────────────────────────────── */
.support-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
}

.support-split.reversed {
    direction: rtl;
}

.support-split.reversed > * {
    direction: ltr;
}

.support-split img {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    width: 100%;
}

.support-split h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.support-split p {
    margin-bottom: 20px;
    font-size: 16px;
}

.support-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.support-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

/* Stats banner (dark) */
.stats-banner {
    background: var(--bg-elevated);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    padding: 48px;
}

.stats-banner .stats-grid {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}


/* ── 22. SOFTWARE PAGE ───────────────────────────────────────── */
.software-section {
    background: var(--bg-surface);
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.software-item {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16/9;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--duration-fast);
}

.software-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.software-item img {
    max-width: 80%;
    max-height: 60%;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity var(--duration-fast);
}

.software-item:hover img {
    opacity: 1;
}

.software-item--light {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.software-item--light:hover {
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.software-item--light img {
    opacity: 0.85;
}


/* ── 23. HERO SPLIT (Subpages) ───────────────────────────────── */
.hero-split {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--bg-base);
    position: relative;
    overflow: hidden;
}

.hero-split::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 60% at 30% 50%, rgba(5, 150, 105, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-split .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-split .hero-text .hero-badge-top {
    display: inline-block;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.hero-split h1 { margin-bottom: 16px; }
.hero-split h1 span { color: var(--accent); }
.hero-split .hero-text p {
    font-size: 18px;
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-visual img {
    width: 100%;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}


/* ── 24. LOGO SHOWCASE ───────────────────────────────────────── */
.logo-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 8px;
}

.logo-item {
    width: 160px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(248, 250, 252, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    transition: all var(--duration-fast);
}

.logo-item:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


/* ── 25. PARTNER CARDS (Horizontal) ──────────────────────────── */
.partner-list {
    background: var(--bg-surface);
    padding: 100px 0;
}

.partner-card-h {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding: 32px;
    margin-bottom: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all var(--duration) var(--ease);
}

.partner-card-h:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.partner-logo-box {
    width: 100px;
    height: 72px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: rgba(248, 250, 252, 1);
    border-radius: var(--radius-md);
}

.partner-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-info h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.partner-info p {
    font-size: 15px;
    margin-bottom: 16px;
}

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

.partner-tags span {
    padding: 4px 12px;
    font-size: 13px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-full);
    color: var(--accent);
    font-weight: 500;
}


/* ── 26. MASONRY GRID ────────────────────────────────────────── */
.masonry-section {
    background: var(--bg-base);
    padding: 100px 0;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.masonry-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 4/3;
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.masonry-item:hover img {
    transform: scale(1.05);
}


/* ── 27. PROCESS TIMELINE ────────────────────────────────────── */
.process-section {
    background: var(--bg-surface);
    padding: 100px 0;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 56px;
    right: 56px;
    height: 2px;
    background: linear-gradient(90deg, var(--bar-1) 0% 25%, var(--bar-2) 25% 50%, var(--bar-4) 50% 75%, var(--accent) 75% 100%);
    border-radius: 2px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-circle {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 2px solid var(--accent-border);
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.step-circle svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
}

.process-step h4 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.process-step p {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 200px;
    margin: 0 auto;
}


/* ── 28. STAGGERED LAYOUTS ───────────────────────────────────── */
.staggered-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stag-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
}

.stag-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease);
}

.stag-item:hover img {
    transform: scale(1.05);
}

.stag-caption {
    padding: 14px 18px;
    font-size: 14px;
    color: var(--text-muted);
    background: var(--bg-card);
}

.staggered-gallery {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}

.stagger-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
}

.stagger-item.tall {
    grid-row: span 2;
}

.stagger-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease);
}

.stagger-item:hover img {
    transform: scale(1.05);
}

.stagger-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}


/* ── 29. GLOW STATS ──────────────────────────────────────────── */
.glow-stats {
    background: var(--bg-base);
    padding: 80px 0;
}

.glow-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.glow-stat {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all var(--duration) var(--ease);
    box-shadow: var(--shadow-sm);
}

.glow-stat:hover {
    border-color: var(--accent-border);
    box-shadow: var(--shadow-glow);
}

.glow-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
}

.glow-number span {
    color: var(--accent);
    font-size: 0.5em;
}

.glow-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}


/* ── 30. TRAINING LIST ───────────────────────────────────────── */
.training-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.training-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.tl-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-sm);
    margin-top: 2px;
}

.tl-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent);
}

.training-list h4 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.training-list p {
    font-size: 14px;
    color: var(--text-muted);
}


/* ── 31. QUOTE SECTION ───────────────────────────────────────── */
.quote-section {
    background: var(--bg-elevated);
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.quote-section blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-style: italic;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.quote-section blockquote strong {
    color: var(--accent);
    font-style: italic;
}


/* ── 32. TAGLINE SECTION ─────────────────────────────────────── */
.tagline-section {
    padding: 60px 0;
    text-align: center;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.tagline-section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--text-secondary);
    font-weight: 400;
}

.tagline-section h2 strong {
    color: var(--text-primary);
    font-weight: 700;
}


/* ── 33. FEATURE ROWS (Support Type) ─────────────────────────── */
.feature-rows {
    background: var(--bg-surface);
    padding: 100px 0;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-row-img {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
}

.feature-row-img img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease);
}

.feature-row-img:hover img {
    transform: scale(1.05);
}

.feature-row-text h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.feature-row-text > p {
    font-size: 16px;
    margin-bottom: 24px;
}

.feature-row-text ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.feature-row-text ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.feature-row-text ul li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: var(--accent);
}


/* ── 34. SLA STATS ───────────────────────────────────────────── */
.sla-stats {
    background: var(--bg-elevated);
    padding: 80px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.sla-item {
    text-align: center;
    padding: 32px 16px;
}

.sla-number {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 8px;
}

.sla-number span {
    color: var(--accent);
    font-size: 0.6em;
    font-weight: 600;
}

.sla-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}


/* ── 35. IMAGE OVERLAY ───────────────────────────────────────── */
.image-overlay-section {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.image-overlay-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.overlay-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.overlay-text h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    max-width: 600px;
}

.overlay-text h2 strong {
    color: #ffffff;
    font-weight: 700;
}


/* ── 36. ABOUT TIMELINE ──────────────────────────────────────── */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--bar-2) 25%, var(--bar-3) 50%, var(--bar-4) 75%, var(--bar-5) 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -46px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg-base);
}

.timeline-year {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.timeline-item h4 {
    margin-bottom: 8px;
}

.timeline-item p {
    font-size: 15px;
}


/* ── 37. CONTACT FORM ────────────────────────────────────────── */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 15px;
    transition: border-color var(--duration-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-border);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}


/* ── 38. CLIENTS PAGE WALL ───────────────────────────────────── */
.client-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.client-wall-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    height: 80px;
    background: rgba(248, 250, 252, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    transition: all var(--duration-fast);
}

.client-wall-item:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.client-wall-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.75;
    transition: opacity var(--duration-fast);
}

.client-wall-item:hover img {
    opacity: 1;
}


/* ── 39. CLIENT TABS ──────────────────────────────────────────── */
.client-tab-section {
    background: var(--bg-surface);
    padding: 100px 0;
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--duration-fast);
}

.tab-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.tab-btn.active {
    color: var(--text-inverse);
    background: var(--accent);
    border-color: var(--accent);
}

.tab-content {
    display: none;
}

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

.client-logo-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.client-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    height: 100px;
    background: rgba(248, 250, 252, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    transition: all var(--duration-fast);
}

.client-logo-card:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.client-logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity var(--duration-fast);
}

.client-logo-card:hover img {
    opacity: 1;
}

/* Override reveal transform for logo cards — translateY breaks image sizing on first paint */
.client-logo-card.reveal {
    transform: none;
    transition: opacity 0.5s var(--ease);
}

.client-logo-card.reveal.active {
    transform: none;
}


/* ── 40. CONTACT PAGE ────────────────────────────────────────── */
.page-hero {
    padding: 120px 0 60px;
    background: var(--bg-base);
}

.page-hero h1 {
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 17px;
    max-width: 480px;
}

.contact-split {
    background: var(--bg-surface);
    padding: 80px 0;
}

.contact-split-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: flex-start;
}

.contact-form-premium h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.contact-form-premium > p {
    margin-bottom: 24px;
    font-size: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    background: var(--accent);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease);
    margin-top: 16px;
}

.btn-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

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

.contact-detail-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--duration-fast);
}

.contact-detail-item:hover {
    border-color: var(--border-hover);
}

.cd-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-md);
}

.cd-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
}

.cd-icon.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.2);
}

.cd-icon.whatsapp svg {
    stroke: #25d366;
}

.contact-detail-item h4 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.contact-detail-item p,
.contact-detail-item a {
    font-size: 14px;
    color: #1e293b;
}

.map-section {
    background: var(--bg-base);
    padding: 60px 0;
}

.map-section iframe {
    width: 100%;
    height: 300px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}


/* ── 41. INDUSTRY LARGE CARDS (Clients page) ─────────────────── */
.industry-showcase {
    background: var(--bg-base);
    padding: 100px 0;
}

.industry-large-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.industry-large-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 3/4;
    border: 1px solid var(--border);
}

.industry-large-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.industry-large-card:hover img {
    transform: scale(1.05);
}

.industry-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 24px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 60%, transparent 100%);
}

.industry-label h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 4px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}

.industry-label p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}


/* ── 42. MARQUEE SECTION (Clients page bottom) ──────────────── */
.marquee-section {
    background: var(--bg-surface);
    padding: 60px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: marquee-left 45s linear infinite;
}

.marquee-logo {
    flex-shrink: 0;
    width: 120px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.marquee-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.8;
}


/* ── 43. ABOUT PAGE ──────────────────────────────────────────── */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro-text .section-badge {
    margin-bottom: 16px;
}

.stat-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-block {
    padding: 32px 24px;
    text-align: center;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all var(--duration) var(--ease);
}

.stat-block:hover {
    border-color: var(--accent-border);
    box-shadow: var(--shadow-glow);
}

.sb-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 6px;
}

.sb-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}


/* ── 44. MDEC SECTION ────────────────────────────────────────── */
.mdec-section {
    background: #0f172a;
    padding: 100px 0;
    text-align: center;
}

.mdec-section .section-badge {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #0061b0;
}

.mdec-section h2 {
    color: #ffffff;
    margin-bottom: 8px;
}

.mdec-section > .container > p {
    color: rgba(255, 255, 255, 0.6);
}

.mdec-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 800px;
    margin: 48px auto 0;
}

.mdec-badge {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--duration) var(--ease);
}

.mdec-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.mdec-badge img {
    width: 100%;
    display: block;
}

.mdec-badge p {
    padding: 14px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
}


/* ── 45. VERTICAL TIMELINE ───────────────────────────────────── */
.timeline-v {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 60px;
}

.timeline-v::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--bar-2) 25%, var(--bar-3) 50%, var(--bar-4) 75%, var(--bar-5) 100%);
    border-radius: 2px;
}

.timeline-v-item {
    position: relative;
    padding-bottom: 36px;
}

.timeline-v-item:last-child {
    padding-bottom: 0;
}

.timeline-v-item::before {
    content: '';
    position: absolute;
    left: -48px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg-surface);
    z-index: 1;
}

.tv-year {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.tv-card {
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.tv-card h4 {
    margin-bottom: 6px;
}

.tv-card p {
    font-size: 15px;
}


/* ── 46. LEGACY VARS ─────────────────────────────────────────── */
:root {
    --dark: #0f172a;
    --gray-500: #64748b;
    --primary-light: #34d399;
}


/* ── 34. ANIMATIONS ──────────────────────────────────────────── */
/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* Staggered children reveal */
.stagger-reveal > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.stagger-reveal.active > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-reveal.active > *:nth-child(2) { transition-delay: 0.10s; }
.stagger-reveal.active > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-reveal.active > *:nth-child(4) { transition-delay: 0.20s; }
.stagger-reveal.active > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-reveal.active > *:nth-child(6) { transition-delay: 0.30s; }

.stagger-reveal.active > * {
    opacity: 1;
    transform: translateY(0);
}

/* Pulse glow */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
    50% { box-shadow: 0 0 24px 4px var(--accent-glow); }
}


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

    .mdec-badges {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .timeline-v {
        padding-left: 48px;
    }

    .hero-split .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-split .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-split .hero-text div[style*="flex"] {
        justify-content: center;
    }

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

    .process-timeline::before {
        display: none;
    }

    .staggered-2col {
        grid-template-columns: 1fr;
    }

    .staggered-gallery {
        grid-template-columns: 1fr;
    }

    .stagger-item.tall {
        grid-row: auto;
    }

    .glow-stats-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .partner-card-h {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

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

    .partner-tags {
        justify-content: center;
    }

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

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

    .feature-row.reverse {
        direction: ltr;
    }

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

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

    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .floating-1,
    .floating-2 {
        display: none;
    }

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

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card:first-child {
        grid-row: auto;
    }

    .service-card:first-child .service-icon {
        min-height: 200px;
    }

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

    .region-cards {
        grid-template-columns: 1fr;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .bento-item.span-row {
        grid-row: auto;
    }

    .support-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .support-split.reversed {
        direction: ltr;
    }

    .intl-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 64px 0;
    }

    .container {
        padding: 0 20px;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 0 24px;
        gap: 0;
        z-index: 1001;
        border-top: 1px solid rgba(0,0,0,0.06);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
        display: flex;
    }

    .nav-links[data-open="true"] {
        max-height: 600px;
        padding: 12px 24px 16px;
    }

    /* Force dark text in mobile menu — overrides hero-fullbleed white text */
    .nav-links li a,
    .nav-links li a.active,
    .nav-links li a:hover {
        color: #1a1a1a !important;
        background: transparent !important;
    }

    .nav-links li a:hover {
        background: rgba(0, 0, 0, 0.04) !important;
    }

    .nav-links li a {
        display: block;
        font-size: 15px;
        font-weight: 500;
        padding: 12px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .nav-cta {
        margin-left: 0 !important;
        margin-top: 8px;
        width: 100%;
        text-align: center;
        display: block !important;
    }

    .mobile-toggle {
        display: block;
    }

    /* Lock body scroll when menu is open */
    body.nav-open {
        overflow: hidden;
    }

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 40px;
    }

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

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .stat-item {
        padding: 24px 16px;
    }

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

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

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

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        padding: 12px 16px;
        font-size: 13px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 180px;
    }

    .bento-item.span-2,
    .bento-item.span-3 {
        grid-column: auto;
    }

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

    .comm-grid {
        grid-template-columns: 1fr !important;
    }

    .training-split {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .training-split img {
        height: 300px !important;
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .about-values-grid {
        grid-template-columns: 1fr !important;
    }

    .about-partnership-grid {
        grid-template-columns: 1fr !important;
        padding: 32px !important;
    }

    .clients-industry-grid {
        grid-template-columns: 1fr !important;
    }

    .clients-industry-grid h3,
    .clients-industry-grid p {
        text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    }

    /* Contact page */
    .contact-split-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .form-row {
        grid-template-columns: 1fr !important;
    }

    .map-section {
        padding: 32px 0 !important;
    }

    .map-section iframe {
        height: 250px !important;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

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

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
    }
}
