/* ============================================================
   MASHARIKINET SOLUTIONS — app.css
   Font: Inter — 600 headings | 500 buttons | 400 body
   Light mode: Default (white bg, black logo)
   Dark mode: Optional toggle (black bg, white logo)
   Logo: assets/images/logo/masharikinet-logo.svg (inline SVG)
   Accessibility: WCAG AA compliant
============================================================ */

/* ── CUSTOM FONTS ─────────────────────────────────────────── */
/* Inter loaded via Google Fonts — 400 body | 500 buttons | 600 headings | 700 hero */

/* ── CSS CUSTOM PROPERTIES ────────────────────────────────── */
:root {
    /* Brand */
    --orange:        #FF8B00;
    --orange-light:  #FFB347;
    --orange-dark:   #D97500;
    --orange-glow:   rgba(255, 139, 0, 0.15);
    --teal:          #00B4A6;
    --teal-light:    #4ECDC4;

    /* Light mode (default) */
    --bg-primary:    #F5F5F5;
    --bg-secondary:  #EBEBEB;
    --bg-card:       #FFFFFF;
    --bg-card-alt:   #F0F0F0;
    --bg-border:     rgba(0, 0, 0, 0.08);
    --text-primary:  #1A1A1A;
    --text-secondary: rgba(26, 26, 26, 0.65);
    --text-muted:    rgba(26, 26, 26, 0.4);
    --text-invert:   #FFFFFF;
    --white:         #FFFFFF;
    --shadow-card:   0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-hover:  0 12px 48px rgba(0, 0, 0, 0.12);
    --shadow-orange: 0 8px 32px rgba(255, 139, 0, 0.25);

    /* Typography */
    --font-hero:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Layout */
    --radius:        6px;
    --radius-lg:     12px;
    --transition:    0.3s ease;
    --transition-slow: 0.6s ease;
}

/* Dark mode overrides */
html.dark {
    --bg-primary:    #0A0A0A;
    --bg-secondary:  #111111;
    --bg-card:       #161616;
    --bg-card-alt:   #1A1A1A;
    --bg-border:     rgba(255, 255, 255, 0.07);
    --text-primary:  #F0F0F0;
    --text-secondary: rgba(240, 240, 240, 0.65);
    --text-muted:    rgba(240, 240, 240, 0.38);
    --text-invert:   #0A0A0A;
    --shadow-card:   0 4px 32px rgba(0, 0, 0, 0.6);
    --shadow-hover:  0 16px 56px rgba(0, 0, 0, 0.8);
}

/* Legacy light class (keep for JS compatibility) */
html.light {
    --bg-primary:    #F5F5F5;
    --bg-secondary:  #EBEBEB;
    --bg-card:       #FFFFFF;
    --bg-card-alt:   #F0F0F0;
    --bg-border:     rgba(0, 0, 0, 0.08);
    --text-primary:  #1A1A1A;
    --text-secondary: rgba(26, 26, 26, 0.65);
    --text-muted:    rgba(26, 26, 26, 0.4);
    --text-invert:   #FFFFFF;
    --shadow-card:   0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-hover:  0 12px 48px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    overflow-x: hidden;
    transition: background-color var(--transition), color var(--transition);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
    font-family: var(--font-hero);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.15;
    color: var(--text-primary);
    transition: color var(--transition);
}

h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
    color: var(--text-primary);
    transition: color var(--transition);
}

p { line-height: 1.8; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── SKIP LINK (Accessibility) ────────────────────────────── */
.skip-link {
    position: absolute;
    top: -9999px;
    left: 16px;
    z-index: 100000;
    background: var(--orange);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    font-family: var(--font-display);
}
.skip-link:focus { top: 16px; }


/* ── LOGO THEMING — inline SVG approach ──────────────────── */
.site-logo-svg-themed {
    height: 84px;
    width: auto;
    display: block;
    transition: opacity var(--transition);
    flex-shrink: 0;
}
.site-logo:hover .site-logo-svg-themed { opacity: 0.85; }

/* Footer logo larger */
.footer-logo-svg-themed {
    height: 52px;
    width: auto;
    display: block;
}

.site-logo-svg-themed .logo-dark-fill  { fill: #111111; transition: fill 0.35s ease; }
.site-logo-svg-themed .logo-orange-fill { fill: #FF8B00; }
html.dark .site-logo-svg-themed .logo-dark-fill { fill: #FFFFFF; }

.footer-logo-svg-themed .logo-dark-fill  { fill: #FFFFFF; }
.footer-logo-svg-themed .logo-orange-fill { fill: #FF8B00; }
.footer-logo {
    width: 180px;
    height: auto;
    display: block;
}

/* ── PRELOADER ───────────────────────────────────────────── */
#preloader {
    position: fixed;
    inset: 0;
    background: #000000;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    animation: preloader-auto-hide 0.6s ease 4s forwards;
}
@keyframes preloader-auto-hide {
    to { opacity: 0; visibility: hidden; pointer-events: none; }
}
#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-logo {
    width: 200px;
    animation: preloader-pulse 1.6s ease-in-out infinite;
}

.preloader-bar {
    width: 220px;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
}
.preloader-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    animation: preloader-load 1.8s ease forwards;
}
.preloader-label {
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

@keyframes preloader-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.65; transform: scale(0.97); }
}
@keyframes preloader-load {
    from { width: 0%; }
    to   { width: 100%; }
}

/* ── CUSTOM CURSOR ────────────────────────────────────────── */

html.js-cursor *,
html.js-cursor *::before,
html.js-cursor *::after {
    cursor: none !important;
}

#cursor-dot {
    display: none;        
    position: fixed;
    top: -100px; left: -100px;
    width: 8px; height: 8px;
    background: var(--orange);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, opacity 0.3s ease;
    opacity: 0;
    will-change: left, top;
}
#cursor-ring {
    display: none;          
    position: fixed;
    top: -100px; left: -100px;
    width: 38px; height: 38px;
    border: 1.5px solid rgba(255, 139, 0, 0.55);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99997;
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background 0.25s ease, opacity 0.3s ease;
    opacity: 0;
    will-change: left, top;
}


html.js-cursor #cursor-dot,
html.js-cursor #cursor-ring {
    display: block;
}

#cursor-dot.cursor-active  { opacity: 1; }
#cursor-ring.cursor-active { opacity: 1; }

body.cursor-hover #cursor-dot {
    width: 14px; height: 14px;
    background: var(--orange-light);
}
body.cursor-hover #cursor-ring {
    width: 56px; height: 56px;
    border-color: var(--orange);
    background: rgba(255, 139, 0, 0.06);
}

/* ── LAYOUT UTILITIES ─────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 48px; } }

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

.section-label {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.0rem;
    max-width: 640px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }
.orange { color: var(--orange); }
.teal   { color: var(--teal);   }

.divider {
    width: 40px;
    height: 2px;
    background: var(--orange);
    margin-bottom: 28px;
}
.text-center .divider { margin: 0 auto 28px; }

/* ── SECTION BACKGROUNDS ─────────────────────────────────── */
.section-dark    { background: var(--bg-primary); }
.section-alt     { background: var(--bg-secondary); }
.section-light   { background: var(--bg-card); }

/* In dark mode, swap alt/light for proper contrast rhythm */
html.dark .section-alt   { background: var(--bg-secondary); }
html.dark .section-light { background: var(--bg-card); }
html.light .section-dark  { background: var(--bg-secondary); }
html.light .section-alt   { background: var(--bg-primary); }
html.light .section-light { background: var(--bg-card); }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: none;
    padding: 14px 28px;
    border-radius: var(--radius);
    transition: all 0.25s ease;
    cursor: pointer;
    border: 1.5px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--orange);
    color: white;
    border-color: var(--orange);
}
.btn-primary:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: white;
    transform: translateY(-2px);
}

.btn-outline-subtle {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--bg-border);
}
.btn-outline-subtle:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-2px);
}

/* ── SCROLL REVEAL ANIMATIONS ────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.75s ease, transform 0.75s ease;
    animation: reveal-fallback 0.75s ease 3s forwards;
}
@keyframes reveal-fallback {
    to { opacity: 1; transform: translateY(0); }
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
    animation: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── HEADER ───────────────────────────────────────────────── */
#header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
/* Light mode header (default) */
#header {
    background: rgba(245, 245, 245, 0.97);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
#header.scrolled {
    background: rgba(245, 245, 245, 0.99);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 0;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

html.dark #header {
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}
html.dark #header.scrolled {
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 0;
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(255, 139, 0, 0.08);
}
/* Legacy light class */
html.light #header {
    background: rgba(245, 245, 245, 0.97);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
html.light #header.scrolled {
    background: rgba(245, 245, 245, 0.98);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}




/* Desktop Nav */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 36px;
}
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.nav-desktop a {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: none;
    color: rgba(26, 26, 26, 0.65);
    transition: color var(--transition);
    position: relative;
    padding: 4px 0;
}
html.dark .nav-desktop a { color: rgba(255, 255, 255, 0.65); }
html.light .nav-desktop a { color: rgba(26, 26, 26, 0.65); }

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1.5px;
    background: var(--orange);
    transition: width 0.25s ease;
}
.nav-desktop a:hover         { color: #1A1A1A; }
html.dark .nav-desktop a:hover { color: white; }
html.light .nav-desktop a:hover { color: #1A1A1A; }
.nav-desktop a:hover::after  { width: 100%; }
.nav-desktop a.active        { color: var(--orange); }
.nav-desktop a.active::after { width: 100%; }

.nav-cta {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    background: var(--orange);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius);
    transition: all 0.25s ease;
}
.nav-cta:hover {
    background: var(--orange-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-orange);
    color: white;
}

/* Header controls */
.header-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

#theme-toggle {
    background: none;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    width: 36px; height: 36px;
    color: rgba(26, 26, 26, 0.6);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
#theme-toggle:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(255, 139, 0, 0.08);
}
html.dark #theme-toggle {
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.6);
}
html.light #theme-toggle {
    border-color: rgba(0, 0, 0, 0.15);
    color: rgba(26, 26, 26, 0.6);
}

/* Hamburger */
#menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
@media (min-width: 1024px) { #menu-toggle { display: none; } }

.hamburger-line {
    display: block;
    width: 24px; height: 1.5px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}
html.light .hamburger-line { background: rgba(26, 26, 26, 0.8); }
#menu-toggle.open .hamburger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#menu-toggle.open .hamburger-line:nth-child(2) { opacity: 0; width: 0; }
#menu-toggle.open .hamburger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── UPDATED: MOBILE MENU FIXES (Mode Support & Polish) ───── */

#mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 100vw);
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    z-index: 1100;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1), background-color var(--transition);
    padding: 120px 40px 60px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-left: 1px solid var(--bg-border);
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}

#mobile-menu.open {
    transform: translateX(0);
}

#mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-link {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.01em;
    color: var(--text-primary);
    padding: 18px 0;
    border-bottom: 1px solid var(--bg-border);
    transition: color 0.3s ease, transform 0.3s ease, padding-left 0.3s ease;
    opacity: 0;
    transform: translateX(20px);
}

#mobile-menu.open .mobile-nav-link {
    opacity: 1;
    transform: translateX(0);
}

#mobile-menu.open .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-nav-link:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-nav-link:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-nav-link:nth-child(4) { transition-delay: 0.25s; }
#mobile-menu.open .mobile-nav-link:nth-child(5) { transition-delay: 0.3s; }
#mobile-menu.open .mobile-nav-link:nth-child(6) { transition-delay: 0.35s; }

.mobile-nav-link:hover {
    color: var(--orange);
    padding-left: 10px;
}

.mobile-nav-link.cta {
    color: var(--orange);
    margin-top: 30px;
    border-bottom: none;
    font-size: 1.3rem;
    padding-left: 0;
}

#menu-toggle {
    z-index: 1200;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

#menu-toggle:hover {
    background: rgba(255, 139, 0, 0.05);
}

@media (min-width: 1024px) {
    #menu-toggle { display: none; }
}

.hamburger-line {
    display: block;
    width: 26px; height: 2px;
    background: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 2px;
}
html.dark .hamburger-line { background: rgba(255, 255, 255, 0.9); }

#menu-toggle.open .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); width: 28px; }
#menu-toggle.open .hamburger-line:nth-child(2) { opacity: 0; transform: translateX(-10px); }
#menu-toggle.open .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); width: 28px; }

/* ── UPDATED: INDUSTRIES SECTION (Sectors We Serve) ───────── */
.industry-item {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 80px 0;
    border-bottom: 1px solid var(--bg-border);
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .industry-item {
        flex-direction: row;
        align-items: center;
        gap: 80px;
    }
    .industry-item.reverse {
        flex-direction: row-reverse;
    }
    .industry-img-col, .industry-text-col {
        flex: 1;
        width: 50%;
    }
}

.industry-img-col {
    width: 100%;
}

.industry-img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    filter: grayscale(10%) contrast(1.02);
    box-shadow: var(--shadow-card);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.industry-img:hover {
    transform: scale(1.02);
    filter: grayscale(0%) contrast(1.05);
}

.industry-text-col {
    width: 100%;
}

@media (max-width: 1200px) {
    .industry-text-col .section-title {
        font-size: 1.5rem !important;
    }
}

/* ── RESPONSIVE HELPERS (Enhanced styling & Mode Support) ── */
@media (max-width: 768px) {
    .industry-item {
        padding: 56px 0; 
        gap: 24px;
    }
    .industry-tag {
        font-size: 0.65rem;
        padding: 6px 16px;
        letter-spacing: 0.15em;
        margin-bottom: 12px;
        box-shadow: 0 4px 12px rgba(255, 139, 0, 0.2);
    }
    .feature-list li {
        font-size: 0.88rem;
        margin-bottom: 12px;
        line-height: 1.6;
        color: var(--text-secondary);
    }
    .industry-text-col .section-title {
        margin-bottom: 16px;
    }
}

/* ── HERO SECTION ─────────────────────────────────────────── */
#home {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #F5F5F5;
    padding-top: 120px; 
}
html.dark #home { background: #0A0A0A; }

.hero-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Background image layers */
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.6s ease;
}

/* Light mode background: bright modern workspace */
.hero-bg-light {
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=85&w=1920');
    opacity: 1;
    transition: opacity 0.6s ease;
}
/* Dark mode background: sleek tech / night city */
.hero-bg-dark {
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&q=85&w=1920');
    opacity: 0;
    transition: opacity 0.6s ease;
}

html.dark .hero-bg-light { opacity: 0; }
html.dark .hero-bg-dark  { opacity: 1; }

/* Gradient overlay – adapts to theme */
.hero-gradient {
    position: absolute;
    inset: 0;
    /* Light: soft white fade from left */
    background: linear-gradient(
        105deg,
        rgba(245, 245, 245, 0.97) 0%,
        rgba(245, 245, 245, 0.90) 45%,
        rgba(245, 245, 245, 0.55) 100%
    );
    transition: background 0.5s ease;
}

html.dark .hero-gradient {
    background: linear-gradient(
        105deg,
        rgba(8, 8, 8, 0.98) 0%,
        rgba(10, 10, 10, 0.90) 50%,
        rgba(10, 10, 10, 0.60) 100%
    );
}

/* Animated grid lines */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 139, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 139, 0, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: grid-drift 24s linear infinite;
    opacity: 0.6;
}
html.dark .hero-grid { opacity: 1; }

@keyframes grid-drift {
    from { transform: translate(0, 0); }
    to   { transform: translate(60px, 60px); }
}

/* Orange glow accents */
.hero-glow {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 139, 0, 0.06) 0%, transparent 70%);
    pointer-events: none;
}
html.dark .hero-glow {
    background: radial-gradient(circle, rgba(255, 139, 0, 0.10) 0%, transparent 70%);
}

/* ── HERO LAYOUT (split) ──────────────────────────────────── */
.hero-split {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
    padding: 56px 0 40px;
}

@media (min-width: 1024px) {
    .hero-split {
        grid-template-columns: 55% 45%;
        padding: 40px 0 40px;
    }
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0 24px;
}

.hero-right {
    display: none;
    position: relative;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}
@media (min-width: 1024px) { .hero-right { display: flex; } }

/* ── HERO TYPOGRAPHY ─────────────────────────────────────── */
.hero-eyebrow {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}
.hero-eyebrow::before {
    content: '';
    display: block;
    width: 36px; height: 1.5px;
    background: var(--orange);
}

.hero-title {
    font-family: var(--font-hero);
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 700;
    color: #0D0D0D;
    max-width: 100%;
    margin-bottom: 20px;
    line-height: 1.08;
    letter-spacing: -0.025em;
    transition: color var(--transition);
}
html.dark .hero-title { color: #F2F2F2; }
.hero-title .highlight { color: var(--orange); }

/* Animated stroke-fill word */
.hero-title .stroke-fill {
    position: relative;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--orange);
    animation: stroke-fill-anim 1s ease 1s forwards;
}
@keyframes stroke-fill-anim {
    to { color: var(--orange); -webkit-text-stroke: 1px transparent; }
}

/* Typing cursor text */
.hero-title .typed-word {
    color: var(--orange);
    border-right: 3px solid var(--orange);
    animation: blink-cursor 0.75s step-end infinite;
}
@keyframes blink-cursor {
    50% { border-color: transparent; }
}

.hero-tagline {
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    color: rgba(20, 20, 20, 0.72);
    max-width: 950px; /* Increased from 500px to allow a 2-line fit */
    margin-bottom: 32px;
    line-height: 1.8;
    font-weight: 400;
    transition: color var(--transition);
}

html.dark .hero-tagline { color: rgba(255, 255, 255, 0.60); }

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 0;
}

/* Light mode CTA outline button */
.btn-outline {
    background: transparent;
    color: #1A1A1A;
    border-color: rgba(26, 26, 26, 0.3);
}
.btn-outline:hover {
    background: rgba(26, 26, 26, 0.06);
    border-color: #1A1A1A;
    transform: translateY(-2px);
    color: #1A1A1A;
}
html.dark .btn-outline {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}
html.dark .btn-outline:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: white;
    color: white;
}

/* ── HERO VISUAL PANEL (right side) ─────────────────────── */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 380px;
    margin: 0 auto;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── FLOATING GLASS CARDS ─────────────────────────────────── */

.hero-float-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.09), 0 1px 0 rgba(255,255,255,0.8) inset;
    position: absolute;
    min-width: 152px;
    max-width: 200px;
    width: max-content;
    box-sizing: border-box;
    transition: background 0.5s, border 0.5s, box-shadow 0.5s;
    /* Unique float per card via class — no nth-child used */
}
html.dark .hero-float-card {
    background: rgba(22, 22, 22, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.65);
}

/* Float keyframes — small amplitude so vertical spread stays controlled */
@keyframes fc-float-a { 0%,100% { transform: translateY(0);   } 50% { transform: translateY(-6px); } }
@keyframes fc-float-b { 0%,100% { transform: translateY(-3px);} 50% { transform: translateY(3px);  } }
@keyframes fc-float-c { 0%,100% { transform: translateY(-2px);} 50% { transform: translateY(4px);  } }
@keyframes fc-float-d { 0%,100% { transform: translateY(0);   } 50% { transform: translateY(-5px); } }


.hfc-top-right {
    top: 8px;
    right: 0;
    animation: fc-float-a 5.0s ease-in-out infinite;
}

.hfc-mid-left {
    top: 155px;
    left: 0;
    animation: fc-float-b 6.5s ease-in-out infinite;
}

.hfc-mid-right {
    bottom: 115px;
    right: 0;
    animation: fc-float-c 4.5s ease-in-out infinite;
}

.hfc-bottom-left {
    bottom: 8px;
    left: 0;
    animation: fc-float-d 5.8s ease-in-out infinite;
}

.hero-float-card .card-label {
    font-family: var(--font-display);
    font-size: 0.60rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 6px;
}
.hero-float-card .card-value {
    font-family: var(--font-hero);
    font-size: 1.6rem;
    color: #1A1A1A;
    line-height: 1;
    transition: color 0.5s;
}
html.dark .hero-float-card .card-value { color: #F0F0F0; }
.hero-float-card .card-desc {
    font-size: 0.78rem;
    color: rgba(26, 26, 26, 0.55);
    margin-top: 3px;
    transition: color 0.5s;
}
html.dark .hero-float-card .card-desc { color: rgba(255, 255, 255, 0.45); }

/* Progress bar inside cards */
.hero-progress {
    height: 3px;
    background: rgba(0,0,0,0.07);
    border-radius: 3px;
    margin-top: 12px;
    overflow: hidden;
}
html.dark .hero-progress { background: rgba(255,255,255,0.08); }
.hero-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    border-radius: 3px;
    animation: progress-fill 2.5s ease forwards 1.5s;
    width: 0%;
}
@keyframes progress-fill { to { width: var(--fill-width, 75%); } }

/* Card dot indicator */
.hero-dot {
    display: inline-block;
    width: 8px; height: 8px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
    50%       { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.08); }
}

/* The central circle visual */
.hero-circle-wrap {
    width: 320px;
    height: 320px;
    position: relative;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 139, 0, 0.15);
    animation: ring-rotate 20s linear infinite;
}
.hero-ring:nth-child(1) { width: 100%; height: 100%; }
.hero-ring:nth-child(2) { width: 75%; height: 75%; border-color: rgba(255, 139, 0, 0.10); animation-direction: reverse; animation-duration: 15s; }
.hero-ring:nth-child(3) { width: 50%; height: 50%; border-color: rgba(255, 139, 0, 0.08); animation-duration: 10s; }
@keyframes ring-rotate { to { transform: rotate(360deg); } }

.hero-logo-center {
    position: relative;
    z-index: 2;
    width: 90px;
    height: 90px;
    background: rgba(255,139,0,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,139,0,0.2);
}
.hero-logo-center svg { width: 50px; height: 50px; }

/* Orbit dots */
.orbit-dot {
    position: absolute;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--orange);
    opacity: 0.8;
}
.orbit-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(255,139,0,0.2);
}
.orbit-dot-1 { top: 0%; left: 50%; transform: translate(-50%, -50%); }
.orbit-dot-2 { top: 50%; right: 0%; transform: translate(50%, -50%); opacity: 0.5; width: 7px; height: 7px; }
.orbit-dot-3 { bottom: 10%; left: 15%; opacity: 0.35; width: 6px; height: 6px; }

/* ── STATS BAR ────────────────────────────────────────────── */
.hero-stats {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--bg-border);
    padding: 24px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (min-width: 640px) {
    .hero-stats { grid-template-columns: repeat(4, 1fr); }
}

.hero-stat-item { text-align: center; }
.hero-stat-value {
    font-family: var(--font-hero);
    font-size: 1.8rem;
    font-weight: normal;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}
.hero-stat-label {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 500;
    color: rgba(80, 80, 80, 0.75);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
html.dark .hero-stat-label { color: rgba(255,255,255,0.38); }


/* ── HERO TRUST BADGES ────────────────────────────────────── */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.hero-trust-label {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.hero-trust-badges {
    display: flex;
    align-items: center;
    gap: 0;
}
.hero-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 5px 12px;
    border: 1px solid var(--bg-border);
    border-radius: 20px;
    background: var(--bg-card);
    transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.hero-trust-badge i { color: var(--orange); font-size: 0.7rem; }
.hero-trust-divider { width: 1px; height: 20px; background: var(--bg-border); margin: 0 8px; }
html.dark .hero-trust-badge { background: rgba(255,255,255,0.04); }

/* ── HERO MARQUEE STRIP ───────────────────────────────────── */
.hero-marquee-wrap {
    position: relative;
    z-index: 3;
    overflow: hidden;
    border-top: 1px solid var(--bg-border);
    border-bottom: 1px solid var(--bg-border);
    padding: 14px 0;
    margin: 0;
    /* fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.hero-marquee { overflow: hidden; }
.marquee-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: marquee-scroll 38s linear infinite;
}
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.hero-marquee-wrap:hover .marquee-track { animation-play-state: paused; }
.marquee-word {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
    padding: 0 6px;
    transition: color var(--transition);
}
.marquee-word:hover { color: var(--orange); }
.marquee-sep {
    color: var(--orange);
    font-size: 0.6rem;
    padding: 0 10px;
    opacity: 0.6;
}

/* ── HERO SCROLL CUE ──────────────────────────────────────── */
.hero-scroll-cue {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 0 16px;
    cursor: pointer;
}
.scroll-cue-text {
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.scroll-cue-line {
    width: 1.5px;
    height: 36px;
    background: var(--bg-border);
    border-radius: 1px;
    position: relative;
    overflow: hidden;
}
.scroll-cue-dot {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--orange);
    animation: scroll-cue-drop 1.6s ease-in-out infinite;
}
@keyframes scroll-cue-drop {
    0%   { top: -8px; opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { top: 40px; opacity: 0; }
}

/* ── HERO FLOATING PARTICLES ──────────────────────────────── */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}
.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: var(--orange);
    opacity: 0;
    animation: particle-float 8s ease-in-out infinite;
}
.hero-particle:nth-child(1) { width: 5px;  height: 5px;  top: 15%; left: 10%; animation-delay: 0s;   animation-duration: 9s;  opacity: 0; }
.hero-particle:nth-child(2) { width: 3px;  height: 3px;  top: 60%; left: 6%;  animation-delay: 2s;   animation-duration: 7s;  opacity: 0; }
.hero-particle:nth-child(3) { width: 4px;  height: 4px;  top: 30%; left: 92%; animation-delay: 1s;   animation-duration: 11s; opacity: 0; }
.hero-particle:nth-child(4) { width: 3px;  height: 3px;  top: 75%; left: 85%; animation-delay: 3.5s; animation-duration: 8s;  opacity: 0; }
.hero-particle:nth-child(5) { width: 6px;  height: 6px;  top: 80%; left: 25%; animation-delay: 1.5s; animation-duration: 10s; opacity: 0; }
.hero-particle:nth-child(6) { width: 3px;  height: 3px;  top: 20%; left: 78%; animation-delay: 4s;   animation-duration: 7s;  opacity: 0; }
@keyframes particle-float {
    0%   { opacity: 0; transform: translateY(0px) scale(1); }
    20%  { opacity: 0.25; }
    50%  { opacity: 0.15; transform: translateY(-18px) scale(1.1); }
    80%  { opacity: 0.22; }
    100% { opacity: 0; transform: translateY(0px) scale(1); }
}
html.light .hero-particle { background: rgba(255, 139, 0, 0.7); }


/* ── CARD COMPONENTS ──────────────────────────────────────── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}
.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
    border-color: rgba(255, 139, 0, 0.2);
}

.card-icon {
    width: 52px; height: 52px;
    background: rgba(255, 139, 0, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 1.3rem;
    margin-bottom: 24px;
}

.card-title   { font-size: 1.45rem; margin-bottom: 6px; }
.card-subtitle {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--orange);
    margin-bottom: 16px;
}

.feature-list { margin-bottom: 28px; }
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.feature-list li i {
    color: var(--orange);
    font-size: 0.65rem;
    margin-top: 6px;
    flex-shrink: 0;
}

.card-link {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: bold;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease;
}
.card-link:hover { gap: 14px; }

.ideal-tag {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--text-muted);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--bg-border);
}

/* ── GRIDS ────────────────────────────────────────────────── */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 640px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }

.grid-4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (min-width: 768px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ── PLATFORM TRUST BAR ──────────────────────────────────── */
.trust-bar {
    border-top: 1px solid var(--bg-border);
    border-bottom: 1px solid var(--bg-border);
    padding: 44px 0;
}
.platform-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 56px;
}
.platform-badge {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color var(--transition);
}
.platform-badge:hover     { color: var(--text-secondary); }
.platform-badge i         { font-size: 1.4rem; }
.platform-badge.ms        { color: #0078D4; opacity: 0.7; }
.platform-badge.ms:hover  { opacity: 1; }
.platform-badge.zoho      { color: #C8202F; opacity: 0.7; }
.platform-badge.zoho:hover { opacity: 1; }

/* ── ABOUT SECTION ────────────────────────────────────────── */
.about-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    align-items: center;
}
@media (min-width: 1024px) { .about-layout { grid-template-columns: 1fr 1fr; } }

.about-image-wrap { position: relative; }
.about-image-wrap img {
    border-radius: var(--radius);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.05);
}
.about-image-badge {
    position: absolute;
    bottom: -20px; right: -20px;
    background: var(--orange);
    color: white;
    padding: 20px 24px;
    border-radius: var(--radius);
    font-family: var(--font-hero);
    text-align: center;
}
.about-image-badge .badge-num {
    font-size: 2.2rem;
    line-height: 1;
}
.about-image-badge .badge-label {
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 60px;
}
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }

.value-item { text-align: center; }
.value-icon-wrap {
    width: 64px; height: 64px;
    margin: 0 auto 16px;
    background: var(--bg-card);
    border-radius: 50%;
    border: 1px solid var(--bg-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--orange);
    transition: transform 0.35s ease, border-color 0.35s ease;
}
.value-item:hover .value-icon-wrap {
    transform: scale(1.12);
    border-color: var(--orange);
}
.value-title { font-size: 0.9rem; margin-bottom: 8px; }
.value-desc  { font-size: 0.82rem; color: var(--text-muted); }

/* Mission / Vision block */
.mv-block {
    background: #050505;
    border: 1px solid rgba(255, 139, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: 56px;
    margin-top: 64px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    position: relative;
    overflow: hidden;
}
html.light .mv-block { background: var(--bg-card); }
@media (min-width: 768px) { .mv-block { grid-template-columns: 1fr 1fr; } }
.mv-block::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 320px; height: 320px;
    border: 60px solid rgba(255, 139, 0, 0.04);
    border-radius: 50%;
    pointer-events: none;
}
.mv-label {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: bold;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 12px;
}
.mv-heading { font-size: 1.1rem; color: var(--text-primary); margin-bottom: 12px; }
.mv-text    { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.85; }

/* Regional */
.region-list {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (min-width: 768px) { .region-list { grid-template-columns: repeat(4, 1fr); } }

.region-item {
    background: var(--bg-card);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius);
    padding: 20px;
    transition: border-color var(--transition);
}
.region-item:hover { border-color: rgba(255, 139, 0, 0.25); }
.region-flag  { font-size: 1.6rem; margin-bottom: 8px; }
.region-name  { font-size: 0.85rem; color: var(--text-primary); margin-bottom: 4px; font-family: var(--font-display); letter-spacing: 0.06em; }
.region-desc  { font-size: 0.78rem; color: var(--text-muted); }

/* ── SOLUTIONS SECTION ────────────────────────────────────── */
.solution-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    padding-bottom: 64px;
    margin-bottom: 64px;
    border-bottom: 1px solid var(--bg-border);
}
@media (min-width: 1024px) { .solution-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .solution-row.reverse { direction: rtl; } }
@media (min-width: 1024px) { .solution-row.reverse > * { direction: ltr; } }

.solution-img-wrap img {
    border-radius: var(--radius);
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    filter: grayscale(15%) contrast(1.05);
    transition: filter 0.4s ease;
}
.solution-img-wrap:hover img { filter: grayscale(0%) contrast(1.1); }

.solution-number {
    font-family: var(--font-hero);
    font-size: 5rem;
    color: var(--orange);
    opacity: 0.1;
    line-height: 1;
    margin-bottom: -20px;
    letter-spacing: 0.1em;
}

/* Mini-cards */
.mini-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.3s ease;
}
.mini-card:hover {
    border-color: rgba(255, 139, 0, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(255, 139, 0, 0.08);
}
.mini-card i           { color: var(--orange); font-size: 1.4rem; margin-bottom: 14px; display: block; }
.mini-card h4          { font-size: 0.95rem; margin-bottom: 8px; }
.mini-card p           { font-size: 0.82rem; color: var(--text-muted); }

/* Platform approach */
.platform-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}
@media (min-width: 768px) { .platform-grid { grid-template-columns: 1fr 1fr; } }

.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius);
    padding: 36px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: border-color var(--transition);
}
.platform-card:hover       { border-color: rgba(255, 139, 0, 0.3); }
.platform-card-icon        { font-size: 2rem; flex-shrink: 0; }
.platform-card h4          { font-size: 1.05rem; margin-bottom: 8px; }
.platform-card p           { font-size: 0.85rem; color: var(--text-muted); }

/* Ideal-for inset box */
.ideal-box {
    background: rgba(0, 180, 166, 0.06);
    border-radius: var(--radius);
    padding: 16px 20px;
    border-left: 3px solid var(--teal);
    margin-bottom: 24px;
}
.ideal-box-label {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--teal);
    margin-bottom: 6px;
}
.ideal-box p { font-size: 0.85rem; color: var(--text-muted); }

/* ── INDUSTRIES SECTION ───────────────────────────────────── */
.industry-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    padding: 64px 0;
    border-bottom: 1px solid var(--bg-border);
}
@media (min-width: 1024px) { .industry-item { grid-template-columns: 1fr 1fr; } }
.industry-item:last-child  { border-bottom: none; padding-bottom: 0; }

/* Reverse column order on desktop only */
@media (min-width: 1024px) {
    .industry-item.reverse .industry-img-col { order: 2; }
    .industry-item.reverse .industry-text-col { order: 1; }
}

.industry-img {
    border-radius: var(--radius);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.05);
    transition: filter 0.4s ease;
}
.industry-img:hover { filter: grayscale(0%); }

.industry-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: bold;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: white;
    background: var(--orange);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.industry-solution-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: bold;
    letter-spacing: 0.06em;
    color: var(--orange);
    margin-top: 16px;
}

/* ── APPROACH SECTION ─────────────────────────────────────── */
.approach-steps {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 64px;
    position: relative;
}
@media (min-width: 1024px) { .approach-steps { grid-template-columns: repeat(4, 1fr); gap: 0; } }

@media (min-width: 1024px) {
    .approach-steps::before {
        content: '';
        position: absolute;
        top: 48px;
        left: calc(12.5% + 28px);
        right: calc(12.5% + 28px);
        height: 1px;
        background: linear-gradient(to right, var(--orange), var(--teal));
        z-index: 0;
    }
}

.step-item {
    position: relative;
    z-index: 1;
    padding: 0 24px;
    text-align: center;
}
@media (max-width: 1023px) {
    .step-item {
        display: flex;
        gap: 24px;
        text-align: left;
        padding: 32px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }
    .step-item:last-child { border-bottom: none; }
}

.step-num-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step-number {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1.5px solid var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-hero);
    font-size: 1rem;
    color: var(--orange);
    margin: 0 auto 28px;
    letter-spacing: 0.08em;
}
@media (max-width: 1023px) { .step-number { margin: 0; } }

.step-tag {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: bold;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 8px;
}
.step-title { font-size: 1.2rem; color: var(--text-primary); margin-bottom: 12px; }
.step-desc  { font-size: 0.82rem; color: var(--text-muted); line-height: 1.75; }
.step-outcome {
    display: block;
    margin-top: 14px;
    font-size: 0.78rem;
    font-style: italic;
    color: var(--teal-light);
    line-height: 1.7;
}

/* ── PROOF OF IMPACT ──────────────────────────────────────── */
.case-study-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--bg-border);
    transition: all 0.35s ease;
}
.case-study-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 139, 0, 0.2);
}
.case-study-header {
    background: #050505;
    padding: 24px 28px;
    border-bottom: 2px solid var(--orange);
}
html.light .case-study-header { background: var(--bg-card-alt); }
.case-sector {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: bold;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 6px;
}
.case-title   { font-size: 1.1rem; color: var(--text-primary); }
.case-study-body { padding: 28px; }
.case-label {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.case-text    { font-size: 0.86rem; color: var(--text-secondary); margin-bottom: 20px; }
.case-outcome {
    background: rgba(255, 139, 0, 0.05);
    border-radius: var(--radius);
    padding: 16px;
    border-left: 2px solid var(--orange);
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Outcomes grid */
.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 56px;
}
@media (min-width: 768px) { .outcomes-grid { grid-template-columns: repeat(3, 1fr); } }

.outcome-item {
    text-align: center;
    padding: 28px 20px;
    background: var(--bg-card);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}
.outcome-item:hover { border-color: var(--orange); transform: translateY(-3px); }
.outcome-item i     { color: var(--orange); font-size: 1.4rem; margin-bottom: 12px; display: block; }
.outcome-item h4    { font-size: 0.88rem; margin-bottom: 6px; }
.outcome-item p     { font-size: 0.78rem; color: var(--text-muted); }

/* ── CTA BANNER / QUOTE ───────────────────────────────────── */
.quote-banner {
    background: var(--orange);
    padding: 48px 0;
}
.quote-banner blockquote {
    font-family: var(--font-hero);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: white;
    text-align: center;
    line-height: 1.4;
    letter-spacing: 0.04em;
}
.quote-banner cite {
    display: block;
    margin-top: 16px;
    font-family: var(--font-display);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    font-style: normal;
}

/* ── ASSESSMENT SECTION ───────────────────────────────────── */
.assessment-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
}
@media (min-width: 1024px) { .assessment-layout { grid-template-columns: 1fr 1fr; } }

.deliverable-list   { margin-top: 32px; }
.deliverable-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--bg-border);
    align-items: flex-start;
}
.deliverable-item:first-child { border-top: 1px solid var(--bg-border); }
.deliverable-num {
    width: 30px; height: 30px;
    background: var(--orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-hero);
    font-size: 0.8rem;
    flex-shrink: 0;
}
.deliverable-content strong {
    display: block;
    font-size: 0.88rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.deliverable-content span { font-size: 0.8rem; color: var(--text-muted); }

/* Form */
.assessment-form-wrap {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 44px;
    border: 1px solid var(--bg-border);
}

.form-title    { font-size: 1.5rem; margin-bottom: 6px; }
.form-subtitle { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 28px; }

.form-group { margin-bottom: 20px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

input, select, textarea {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    cursor: text;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 139, 0, 0.1);
}
textarea         { resize: vertical; min-height: 100px; }
select           { cursor: pointer; }

.assessment-covers     { margin: 28px 0; }
.assessment-covers li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.assessment-covers li i {
    color: var(--teal);
    font-size: 0.75rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.info-box {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-top: 24px;
}
.info-box h5  {
    font-size: 0.75rem;
    margin-bottom: 6px;
    color: var(--text-primary);
    font-family: var(--font-display);
    letter-spacing: 0.1em;
}
.info-box p   { font-size: 0.82rem; color: var(--text-muted); }

/* Form alerts */
.form-message {
    display: none;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    margin-bottom: 16px;
    font-family: var(--font-display);
    letter-spacing: 0.06em;
}
.form-message.error {
    background: rgba(192, 57, 43, 0.1);
    border: 1px solid rgba(192, 57, 43, 0.3);
    color: #e74c3c;
}
.form-message.success {
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.3);
    color: #2ecc71;
}

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
    background: #030303;
    padding: 64px 0 32px;
    border-top: 1px solid rgba(255, 139, 0, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand    { display: flex; flex-direction: column; gap: 16px; }
.footer-logo     { width: 160px; }
.footer-tagline  {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.75;
    max-width: 280px;
}

.footer-col h5 {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-links a:hover { color: rgba(255, 255, 255, 0.85); padding-left: 4px; }

.footer-contact p  { font-size: 0.85rem; color: rgba(255, 255, 255, 0.4); margin-bottom: 8px; }
.footer-contact strong { color: rgba(255, 255, 255, 0.7); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.footer-copy       { font-size: 0.75rem; color: rgba(255, 255, 255, 0.2); font-family: var(--font-display); font-weight: 400; letter-spacing: 0.03em; }
.footer-copy a     { color: rgba(255, 255, 255, 0.3); }
.footer-copy a:hover { color: var(--orange); }

/* ── BACK TO TOP ──────────────────────────────────────────── */
#back-to-top {
    position: fixed;
    bottom: 32px; right: 32px;
    width: 44px; height: 44px;
    background: var(--orange);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 139, 0, 0.4);
}
#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover   { background: var(--orange-dark); transform: translateY(-3px); }

/* ── HORIZONTAL RULE DIVIDER ──────────────────────────────── */
.hr-orange {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--orange), transparent);
    opacity: 0.25;
    margin: 48px 0;
}

/* ── APPROACH BOX CARDS ───────────────────────────────────── */
.approach-boxes-grid {
    margin-top: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
@media (max-width: 767px) {
    .approach-boxes-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 48px;
    }
}

/* ── COST OF SKIPPING STRUCTURE ───────────────────────────── */
.cost-block {
    margin-top: 80px;
    background: var(--bg-card);
    border: 1px solid var(--bg-border);
    border-top: 3px solid var(--orange);
    border-radius: var(--radius-lg);
    padding: 48px 52px 52px;
    position: relative;
    overflow: hidden;
}

/* Decorative orange radial glow — top right */
.cost-block::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--orange-glow) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.cost-block-header {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    margin-bottom: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--bg-border);
    position: relative;
    z-index: 1;
}

.cost-block-label {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding-top: 2px;
}

.cost-block-label i {
    color: var(--orange);
    font-size: 0.85rem;
}

.cost-block-intro {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin: 0;
    max-width: 640px;
}

/* Three tiles */
.cost-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.cost-tile {
    background: var(--bg-card-alt);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.cost-tile:hover {
    border-color: rgba(255, 139, 0, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(255, 139, 0, 0.08);
}

/* Last tile — "our approach" — gets orange accent */
.cost-tile:last-child {
    border-color: rgba(255, 139, 0, 0.18);
    background: rgba(255, 139, 0, 0.04);
}

.cost-tile:last-child:hover {
    border-color: rgba(255, 139, 0, 0.4);
    box-shadow: 0 8px 40px rgba(255, 139, 0, 0.12);
}

.cost-tile-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 139, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-bottom: 2px;
}

.cost-tile h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.cost-tile p {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
    flex: 1;
}

.cost-tile-badge {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--orange);
    background: rgba(255, 139, 0, 0.1);
    border: 1px solid rgba(255, 139, 0, 0.2);
    border-radius: 4px;
    padding: 3px 10px;
    align-self: flex-start;
}

@media (max-width: 767px) {
    .cost-block {
        padding: 32px 24px 36px;
        margin-top: 48px;
    }
    .cost-block-header {
        flex-direction: column;
        gap: 14px;
        margin-bottom: 28px;
        padding-bottom: 24px;
    }
    .cost-tiles {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .cost-tiles {
        grid-template-columns: 1fr 1fr;
    }
    .cost-tile:last-child {
        grid-column: 1 / -1;
    }
}

.approach-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.approach-box.orange-tint {
    background: rgba(255, 139, 0, 0.04);
    border-color: rgba(255, 139, 0, 0.12);
}
.approach-box-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 139, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-bottom: 4px;
}
.approach-box h3 { font-size: 1.05rem; color: var(--text-primary); margin: 0; }
.approach-box p  { font-size: 0.86rem; color: var(--text-muted); line-height: 1.85; margin: 0; }

.approach-box-short { display: none; }
.approach-box-full  { display: block; }

@media (max-width: 767px) {
    .approach-box {
        padding: 24px 20px;
        gap: 10px;
        flex-direction: column;
    }
    .approach-box-full  { display: none; }
    .approach-box-short { display: block; }
    .approach-box h3 { font-size: 0.95rem; }
    .approach-box p  { font-size: 0.83rem; line-height: 1.7; }
    .approach-box-icon {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
}

/* ── HERO RESPONSIVE FIXES ────────────────────────────────── */
@media (max-width: 1023px) {
    .hero-scroll-cue { display: none; }
    .hfc-mid-left { display: none; }
    .hero-particles { display: none; }
}
@media (max-width: 639px) {
    .hero-trust { margin-top: 20px; }
    .hero-marquee-wrap { padding: 12px 0; }
    .hero-body { justify-content: flex-start; }
}

/* ── RESPONSIVE HELPERS ───────────────────────────────────── */
@media (max-width: 639px) {
    .mv-block { padding: 36px 24px; }
    .assessment-form-wrap { padding: 28px 20px; }
    .hero-title { font-size: 2.2rem; }
    .about-image-badge { bottom: -10px; right: -10px; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    .platform-badges { gap: 32px; }
    .step-item { padding: 24px 0; }
    .card { padding: 28px 24px; }
    .solution-row { padding-bottom: 48px; margin-bottom: 48px; }
    .industry-item { padding: 40px 0; gap: 32px; }
    .footer-grid { gap: 32px; }
    .outcomes-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .section-title { font-size: clamp(1.5rem, 5vw, 2rem); }
    .form-row { grid-template-columns: 1fr; }
}

/* Medium screens */
@media (min-width: 640px) and (max-width: 1023px) {
    .hero-title { font-size: clamp(2.4rem, 5vw, 3.5rem); }
    .industry-item { padding: 48px 0; }
    .card { padding: 32px; }
}

/* Large screens / ultra-wide */
@media (min-width: 1440px) {
    .container { max-width: 1320px; }
    .hero-title { font-size: 5.5rem; }
}
@media (min-width: 1920px) {
    .container { max-width: 1600px; }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: clamp(2.2rem, 2.2vw, 3.4rem);
        white-space: nowrap;
    }
}

/* ── FLAGSHIP CARD IMAGES ─────────────────────────────────── */
.flagship-card-img-wrap {
    margin: -40px -40px 28px -40px;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    aspect-ratio: 1 / 1;
    width: calc(100% + 80px); 
}
@media (max-width: 639px) {
    .flagship-card-img-wrap {
        margin: -28px -24px 24px -24px;
        width: calc(100% + 48px);
        aspect-ratio: 1 / 1;
    }
}
.flagship-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.5s ease, filter 0.4s ease;
    filter: grayscale(10%) contrast(1.05) brightness(0.98);
}
.card:hover .flagship-card-img {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1.08) brightness(1);
}

/* ── TRUST BADGE LOGOS ────────────────────────────────────── */
.trust-badge-logo {
    height: 22px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
    flex-shrink: 0;
    transition: filter 0.3s ease;
}
.zoho-badge-logo {
    height: 28px;
}
.ms-badge-logo {
    height: 22px;
}

html.dark .zoho-badge-logo,
html.dark .ms-badge-logo {
    filter: invert(1) hue-rotate(180deg);
}
/* In light mode, ensure no filter is applied */
html.light .zoho-badge-logo,
html.light .ms-badge-logo {
    filter: none;
}

/* ── PLATFORM BADGE LOGOS ─────────────────────────────────── */
.platform-badge-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

/* ── PLATFORM CARD LOGO ───────────────────────────────────── */
.platform-card-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}
.platform-card-logo-img {
    width: 56px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ── HERO LAYOUT FIX — large screens ─────────────────────── */
@media (min-width: 1024px) {
    .hero-split {
        grid-template-columns: 52% 48%;
        gap: 48px;
    }
    .hero-left {
        padding-right: 32px;
    }
}

@media (min-width: 1440px) {
    .hero-split {
        grid-template-columns: 55% 45%;
    }
    .hero-title {
        font-size: clamp(3.5rem, 4.5vw, 5.5rem);
        max-width: 100%;
    }
}
@media (min-width: 1920px) {
    .hero-title {
        font-size: clamp(4rem, 4vw, 6rem);
    }
}


/* ── SITE LOGO SIZING ─────────────────────────────────────── */
/* Ensure logo is properly sized */
.site-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* ── HERO EYEBROW — always visible on all screen sizes ─────── */
.hero-eyebrow {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ── HERO TITLE — no forced break, use whitespace for flow ──── */
.hero-title {
    white-space: normal;
}
@media (min-width: 768px) {
    .hero-title {
        font-size: clamp(2.2rem, 3.8vw, 3.8rem);
    }
}
@media (max-width: 767px) {
    .hero-title {
        font-size: clamp(1.9rem, 7vw, 2.8rem);
    }
    .hero-left {
        padding-top: 32px;
    }
}

/* ── AFRICA COVERAGE COMPONENT ──────────────────────────────── */
.africa-coverage {
    position: relative;
}
.coverage-label {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 20px;
}
.coverage-regions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 24px 0;
    position: relative;
}
.coverage-region {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: relative;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius);
    min-width: 130px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.coverage-region.active {
    border-color: rgba(255, 139, 0, 0.25);
}
.coverage-region.expanding {
    border-color: rgba(255, 139, 0, 0.12);
    border-style: dashed;
}
.coverage-region:hover {
    border-color: var(--orange);
    box-shadow: 0 4px 16px rgba(255, 139, 0, 0.12);
}
.coverage-region-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 139, 0, 0.18);
    margin-bottom: 4px;
    flex-shrink: 0;
}
.coverage-region-dot.expanding-dot {
    background: transparent;
    border: 2px solid var(--orange);
    animation: expand-pulse 2s ease-in-out infinite;
}
@keyframes expand-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(255, 139, 0, 0.1); }
    50%       { box-shadow: 0 0 0 6px rgba(255, 139, 0, 0.04); }
}
.coverage-region-text {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.01em;
    line-height: 1.2;
}
.coverage-region-sub {
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}
.coverage-connector {
    width: 20px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,139,0,0.4), rgba(255,139,0,0.4));
    align-self: center;
    flex-shrink: 0;
    position: relative;
    margin: 0 2px;
}
.coverage-connector.expanding {
    background: linear-gradient(90deg, rgba(255,139,0,0.3), rgba(255,139,0,0.08));
    border-top: 1px dashed rgba(255,139,0,0.3);
    background: none;
    height: 0;
}

@media (max-width: 639px) {
    .coverage-regions {
        flex-direction: column;
        gap: 8px;
    }
    .coverage-connector {
        width: 1px;
        height: 12px;
        background: linear-gradient(180deg, rgba(255,139,0,0.4), rgba(255,139,0,0.4));
        margin: 0 20px;
        align-self: flex-start;
    }
    .coverage-connector.expanding {
        border-top: none;
        border-left: 1px dashed rgba(255,139,0,0.3);
        width: 0;
        height: 12px;
        background: none;
    }
}

/* ── INDUSTRIES GRID — 3 columns ─────────────────────────────── */
.industries-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 768px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
}

.industry-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: var(--shadow-card);
}
.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 139, 0, 0.2);
}

.industry-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}
.industry-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(10%) contrast(1.02);
    transition: transform 0.5s ease, filter 0.4s ease;
}
.industry-card:hover .industry-card-img-wrap img {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1.05);
}
.industry-card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: white;
    background: var(--orange);
    padding: 5px 12px;
    border-radius: 4px;
}

.industry-card-body {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.industry-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0;
}
.industry-card-desc {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}
.industry-card-list {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.industry-card-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.55;
}
.industry-card-list li i {
    color: var(--orange);
    font-size: 0.75rem;
    margin-top: 3px;
    flex-shrink: 0;
}
.industry-card .industry-solution-tag {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--bg-border);
    font-size: 0.72rem;
    color: var(--text-muted);
}
.industry-card .industry-solution-tag i {
    color: var(--orange);
    margin-right: 4px;
}
.industry-card .industry-solution-tag strong {
    color: var(--orange);
}


.platform-card-logo-img {
    width: auto;
    height: 28px;
    object-fit: contain;
    display: block;
    transition: filter 0.3s ease;
}
/* Platform section logos: same dark-mode filter treatment */
html.dark .platform-card-logo-img {
    filter: invert(1) hue-rotate(180deg);
}
html.light .platform-card-logo-img {
    filter: none;
}
/* ── ADVANCED CORE SYSTEM VISUAL (HERO RIGHT) ─────────────── */
.mk-core-system {
    width: 340px;
    height: 340px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Central Liquid Glass Container */
.core-center-glass {
    position: relative;
    z-index: 10;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Light Mode Glass Default */
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 36px rgba(255, 139, 0, 0.15), inset 0 4px 18px rgba(255, 255, 255, 0.6);
    transition: all var(--transition-slow);
    animation: core-pulse 4s ease-in-out infinite alternate;
}

/* Dark Mode Glass */
html.dark .core-center-glass {
    background: rgba(10, 10, 10, 0.55);
    border: 1px solid rgba(255, 139, 0, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 139, 0, 0.15), inset 0 4px 18px rgba(255, 139, 0, 0.15);
}

.core-logo { 
    width: 50px; 
    height: 50px; 
    z-index: 11; 
    filter: drop-shadow(0 4px 8px rgba(255, 139, 0, 0.25)); 
}

/* Dynamic Glow Underneath */
.core-glow {
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(255,139,0,0.12) 0%, transparent 60%);
    z-index: 0;
    animation: glow-breathe 6s infinite ease-in-out;
    pointer-events: none;
}
html.dark .core-glow { background: radial-gradient(circle, rgba(255,139,0,0.22) 0%, transparent 65%); }

/* Orbital Rings */
.core-ring {
    position: absolute;
    border-radius: 50%;
    top: 50%; left: 50%;
    transform-origin: center center;
}

.core-ring-1 {
    width: 100%; height: 100%;
    border: 1px dashed rgba(26, 26, 26, 0.12);
    animation: orbit-spin-right 35s linear infinite;
}
html.dark .core-ring-1 { border-color: rgba(255, 255, 255, 0.15); }

.core-ring-2 {
    width: 75%; height: 75%;
    border: 1px solid rgba(255, 139, 0, 0.2);
    animation: orbit-spin-left 25s linear infinite;
}

.core-ring-3 {
    width: 50%; height: 50%;
    border: 2px solid transparent;
    border-top-color: var(--orange);
    border-right-color: rgba(255,139,0,0.2);
    animation: orbit-spin-right 12s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

/* Secondary Liquid Glass Ring Structure */
.core-ring-glass {
    position: absolute;
    top: 50%; left: 50%;
    width: 88%; height: 88%;
    border-radius: 50%;
    border: 12px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1;
    animation: orbit-spin-left 45s linear infinite;
}
html.dark .core-ring-glass { border-color: rgba(255, 139, 0, 0.04); }

/* SVG Data Connections */
.core-connections {
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    z-index: 2;
    pointer-events: none;
    animation: rotate-center 50s linear infinite;
    transform-origin: center center;
}
.conn-path { fill: none; stroke: rgba(26,26,26,0.04); stroke-width: 1; }
.conn-line { 
    fill: none; 
    stroke: var(--orange); 
    stroke-width: 1.5; 
    stroke-dasharray: 4 6; 
    opacity: 0.6; 
    animation: dash-flow 20s linear infinite;
}
html.dark .conn-path { stroke: rgba(255,255,255,0.06); }
html.dark .conn-line { opacity: 0.9; stroke-dasharray: 2 6; }

/* Floating Data Nodes */
.core-node {
    position: absolute;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--orange);
    box-shadow: 0 0 12px rgba(255, 139, 0, 0.3);
    z-index: 5;
    transition: background var(--transition), border-color var(--transition);
}
html.dark .core-node { background: #111; box-shadow: 0 0 16px rgba(255, 139, 0, 0.5); }

.node-a { width: 14px; height: 14px; top: 8%; left: 50%; transform: translate(-50%, 0); animation: node-float-y 3.5s infinite alternate ease-in-out; }
.node-b { width: 10px; height: 10px; top: 70%; right: 12%; transform: translate(0, -50%); animation: node-float-x 4.5s infinite alternate ease-in-out; }
.node-c { 
    width: 18px; height: 18px; 
    bottom: 15%; left: 15%; 
    background: var(--orange); 
    border-color: #fff; 
    animation: node-float-y-rev 3s infinite alternate ease-in-out; 
}
html.dark .node-c { border-color: #111; }

/* Keyframe Animations */
@keyframes orbit-spin-right { 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes orbit-spin-left { 100% { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes rotate-center { 100% { transform: rotate(360deg); } }
@keyframes core-pulse { 0% { transform: scale(0.97); } 100% { transform: scale(1.04); } }
@keyframes glow-breathe { 0%, 100% { opacity: 0.7; transform: scale(0.95); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes dash-flow { to { stroke-dashoffset: -200; } }
@keyframes node-float-y { 0% { transform: translate(-50%, -8px); } 100% { transform: translate(-50%, 8px); } }
@keyframes node-float-y-rev { 0% { transform: translate(0, 8px); } 100% { transform: translate(0, -8px); } }
@keyframes node-float-x { 0% { transform: translate(-8px, -50%); } 100% { transform: translate(8px, -50%); } }

/* ── LAPTOP & SHORT SCREEN ADAPTATIONS ────────────────────── */
@media (max-height: 850px) and (min-width: 1024px) {
    #home {
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-split {
        padding: 10px 0;
    }
    .hero-title {
        font-size: clamp(2.2rem, 3.2vw, 3.4rem);
        margin-bottom: 16px;
    }
    .hero-tagline {
        margin-bottom: 24px;
    }

    .hero-visual {
        transform: scale(0.85);
        transform-origin: center right;
    }
}

/* ── SINGLE ROW "OPERATING FOOTPRINT" ON LAPTOPS ──────────────── */
@media (min-width: 1024px) {
    .coverage-regions {
        flex-wrap: nowrap; 
        width: 100%;
    }
    .coverage-region {
        min-width: 0; 
        flex: 1 1 0; 
        padding: 10px 12px; 
    }
    .coverage-region-text {
        font-size: 0.72rem; 
        white-space: nowrap; 
    }
    .coverage-region-sub {
        font-size: 0.62rem;
    }
    .coverage-connector {
        width: 12px; 
}

/* ── SINGLE ROW "OPERATING FOOTPRINT" ON LAPTOPS ──────────────── */
@media (min-width: 1024px) {
    .coverage-regions {
        flex-wrap: nowrap; 
        width: 100%;
    }
    .coverage-region {
        min-width: 0; 
        flex: 1 1 0; 
        padding: 10px 12px; 
    }
    .coverage-region-text {
        font-size: 0.72rem; 
        white-space: normal; 
        line-height: 1.3;
    }
    .coverage-region-sub {
        font-size: 0.62rem;
        margin-top: 4px; 
    }
    .coverage-connector {
        width: 12px; 
    }
}}