:root {
    --navy-950: #081226;
    --navy-900: #0c1c3a;
    --navy-800: #122a52;
    --navy-700: #1c3a6b;
    --navy-500: #345591;
    --red-600: #d5342b;
    --red-500: #e8453a;
    --red-100: #fce7e5;
    --off-white: #faf9f6;
    --white: #ffffff;
    --grey-100: #f2f3f5;
    --grey-200: #e7e9ed;
    --grey-400: #a8adb8;
    --grey-600: #5c6270;
    --green-500: #1fae66;
    --green-100: #e3f8ed;
    --display: 'Fraunces', serif;
    --body: 'Manrope', sans-serif;
    --ease: cubic-bezier(.22, .9, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    padding: 0;
    font-family: var(--body);
    color: var(--navy-900);
    background: var(--off-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    width: 100%;
}

h1, h2, h3, h4 {
    font-family: var(--display);
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.01em;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .wrap { padding: 0 16px; } }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid transparent;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
    white-space: nowrap;
}
.btn-hospital-login {
    background: var(--navy-900);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 14px rgba(12, 28, 58, 0.25);
}
.btn-hospital-login:hover {
    background: var(--red-600);
    border-color: var(--red-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(213, 52, 43, 0.4);
}

/* ============ HEADER ============ */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 20px;
    transition: padding .3s var(--ease);
}
header.compact { padding: 8px 16px; }

header .navbar {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(250, 249, 246, 0.88);
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 100px;
    box-shadow: 0 8px 30px -18px rgba(8, 18, 38, 0.25);
    transition: all .3s var(--ease);
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.site-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
}

.navlinks { 
    display: flex; 
    gap: 26px; 
    font-size: 14.5px; 
    font-weight: 600; 
    color: var(--navy-800); 
    list-style: none;
    margin: 0;
    padding: 0;
}
.navlinks a { position: relative; padding: 4px 0; }
.navlinks a::after {
    content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
    background: var(--red-600); transition: width .25s var(--ease);
}
.navlinks a:hover::after { width: 100%; }

.navctas { display: flex; align-items: center; gap: 12px; }

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
}
.hamburger span { 
    width: 22px; 
    height: 2px; 
    background: var(--navy-950); 
    border-radius: 2px;
}

@media (max-width: 991px) {
    header { padding: 10px 12px; }
    header .navbar { padding: 8px 14px; border-radius: 40px; }
    .site-logo img { height: 40px; max-width: 140px; }
    .navlinks { display: none; }
    .hamburger { display: flex; }
    .btn-hospital-login { padding: 8px 14px; font-size: 12px; }
}

@media (max-width: 420px) {
    header { padding: 6px 8px; }
    header .navbar { padding: 6px 12px; }
    .site-logo img { height: 34px; max-width: 120px; }
    .btn-hospital-login { padding: 7px 11px; font-size: 11.5px; }
    .navctas { gap: 6px; }
}

/* Floating Emergency Contacts */
.ritika-floating-buttons {
    position: fixed;
    left: 18px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ritika-call-btn {
    position: relative;
    width: 48px;
    height: 48px;
    background: var(--red-600);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 8px 20px rgba(213, 52, 43, 0.45);
}
.ritika-whatsapp-btn {
    width: 48px;
    height: 48px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s ease;
}
.ritika-whatsapp-btn:hover { transform: scale(1.1); }

/* ============ PREMIUM FOOTER ============ */
footer.site-premium-footer {
    position: relative;
    background: linear-gradient(180deg, #081226 0%, #050b18 100%);
    color: rgba(255, 255, 255, .75);
    padding: 85px 0 32px;
    font-family: var(--body);
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-pattern-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.06) 1.2px, transparent 1.2px),
        linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 24px 24px, 48px 48px, 48px 48px;
    opacity: 0.7;
    pointer-events: none;
    z-index: 1;
}

.footer-glow-blob {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(213, 52, 43, 0.15) 0%, transparent 70%);
    top: -120px;
    left: -100px;
    pointer-events: none;
    z-index: 1;
}

/* Responsive 4-Column Layout */
.footer-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
    gap: 36px;
}
@media (max-width: 991px) {
    .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}
@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* Brand Column */
.footer-brand .footer-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
}
.footer-brand .footer-logo-badge img {
    height: 46px;
    max-width: 170px;
    object-fit: contain;
    display: block;
}
.footer-brand .company-subname {
    display: block;
    margin-top: 14px;
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.02em;
}
.footer-brand p {
    margin-top: 8px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 320px;
    line-height: 1.65;
}
.footer-stores {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.store-btn {
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 100px;
    padding: 8px 16px;
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    transition: all .25s ease;
}
.store-btn:hover {
    background: rgba(255, 255, 255, .15);
    border-color: #fff;
    transform: translateY(-2px);
}

/* Generic Column Titles */
.footer-col h4 {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 8px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 24px;
    height: 2px;
    background: var(--red-600);
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.footer-col a {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.7);
    transition: color .2s;
    display: inline-block;
}
.footer-col a:hover { color: #fff; }

/* ⚡ Enhanced Support & Contact Items */
.support-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.support-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.support-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ff4d4d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-top: 2px;
}
.support-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.support-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 700;
}
.support-val {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.45;
    font-weight: 500;
}
.support-val a {
    color: #ffffff;
    font-weight: 600;
}
.support-val a:hover {
    color: #ff6b6b;
    text-decoration: underline;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.5);
}
.footer-bottom-links {
    display: flex;
    gap: 18px;
}
.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    transition: color .2s;
}
.footer-bottom-links a:hover { color: #fff; }



/* ================== Hereo Section Start ===================== */
.hero {
    position: relative; 
    min-height: 100vh; 
    padding: 130px 0 90px;
    display: flex; 
    align-items: center; 
    overflow: hidden;
    background: 
        radial-gradient(1100px 700px at 82% 8%, rgba(213,52,43,.09), transparent 60%),
        radial-gradient(900px 600px at 6% 90%, rgba(12,28,58,.06), transparent 60%),
        var(--off-white);
}
.hero-grid { 
    display: grid; 
    grid-template-columns: 1.05fr .95fr; 
    gap: 40px; 
    align-items: center; 
    position: relative; 
    z-index: 2; 
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.hero .eyebrow { font-size: 13px; letter-spacing: .06em; color: var(--red-600); font-weight: 800; }
.hero h1 { font-size: clamp(40px, 5.4vw, 70px); line-height: 1.05; color: var(--navy-950); font-weight: 700; }
.hero h1 .accent { color: var(--red-600); font-style: italic; }
.hero-sub { margin-top: 24px; font-size: 17.5px; line-height: 1.6; color: var(--grey-600); max-width: 480px; }
.hero-ctas { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-tags { margin-top: 42px; display: flex; gap: 24px; flex-wrap: wrap; }
.hero-tag { font-size: 12.5px; font-weight: 700; color: var(--navy-700); display: flex; align-items: center; gap: 8px; }
.hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px var(--green-100); }

/* Device Stage */
.device-stage { 
    position: relative; 
    height: 660px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
.map-particle { 
    position: absolute; 
    border-radius: 50%; 
    background: radial-gradient(circle, rgba(213,52,43,.35), transparent 70%); 
}

/* Outer Android Body */
.hero-android-phone {
    position: relative;
    width: 315px;
    height: 640px;
    background: #0d1527;
    border-radius: 37px;
    padding: 6px;
    box-shadow: 
        0 0 0 2px #22324d,
        0 35px 80px -20px rgba(8, 18, 38, 0.45);
    /*border: 3.5px solid #162238;*/
    box-sizing: border-box;
    z-index: 3;
}

/* Punch Hole on Chassis */
.hero-android-phone::before {
    content: '';
    position: absolute;
    top: 17px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #000000;
    border: 1px solid #23344e;
    border-radius: 50%;
    z-index: 20;
    pointer-events: none;
}

/* Screen Wrapper */
.hero-screen-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden !important;
    background: #ffffff !important;
    position: relative;
}

/* Raw Image Fit */
.hero-screen-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
    display: block !important;
    border: none !important;
}

/* Floating Badges */
.float-card {
    position: absolute; 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px);
    border-radius: 18px; 
    padding: 11px 15px;
    box-shadow: 0 16px 36px -12px rgba(8,18,38,.2); 
    display: flex; 
    align-items: center; 
    gap: 11px;
    z-index: 5; 
    border: 1px solid rgba(255,255,255,.9);
}
.float-card .ic { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.float-card .ic.navy { background: var(--navy-900); color: #fff; }
.float-card .ic.red { background: var(--red-100); color: var(--red-600); }
.float-card .ic.green { background: var(--green-100); color: var(--green-500); }
.float-card .t1 { font-size: 12px; font-weight: 800; color: var(--navy-950); }
.float-card .t2 { font-size: 10px; color: var(--grey-600); }
.fc-1 { top: 8%; left: -8%; }
.fc-2 { bottom: 18%; left: -10%; }
.fc-3 { top: 14%; right: -10%; }
.fc-4 { bottom: 6%; right: -8%; }
@media (max-width: 1180px) { .fc-1, .fc-2, .fc-3, .fc-4 { display: none; } }
@media (max-width: 980px) {
    .device-stage { height: auto; margin-top: 40px; }
    .hero-android-phone { width: 280px; height: 560px; }
}


/* ================== Hereo Section End ===================== */


/* PINNED CHAPTER SCROLLYTELLING (MOBILE ADAPTIVE) ========== */

.vx-section {
    position: relative;
    background: var(--navy-950, #081226);
    color: #ffffff;
    width: 100%;
}
.vx-intro {
    padding: 60px 0 20px;
    text-align: center;
}
.vx-intro .eyebrow {
    font-size: 13px;
    letter-spacing: .08em;
    color: var(--red-500, #d5342b);
    font-weight: 800;
    text-transform: uppercase;
}
.vx-intro h2 {
    font-size: clamp(28px, 4.4vw, 56px);
    line-height: 1.15;
    color: #ffffff;
    margin-top: 14px;
}
.vx-intro .accent { color: var(--red-500, #d5342b); }

/* Desktop Scroller Pin Setup */
.vx-pin-container {
    position: relative;
    width: 100%;
    height: 800vh;
}
.vx-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.vx-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.vx-progress {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.vx-progress span {
    width: 28px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    transition: all .35s var(--ease, ease);
    cursor: pointer;
}
.vx-progress span.active {
    background: var(--red-500, #d5342b);
    width: 44px;
}

.vx-index {
    font-family: var(--display, inherit);
    font-size: 14px;
    color: var(--red-500, #d5342b);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: .06em;
}
.vx-title {
    font-size: clamp(32px, 4.5vw, 58px);
    line-height: 1.05;
    font-weight: 700;
    color: #ffffff;
}
.vx-desc {
    margin-top: 16px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 440px;
    line-height: 1.6;
}

.vx-feats {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    list-style: none;
}
.vx-feats li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
}
.vx-feats li .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red-500, #d5342b);
    flex-shrink: 0;
}

.vx-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Outer Android Body (Desktop) */
.vx-phone-mockup {
    position: relative;
    width: 315px;
    height: 640px;
    background: #090d16;
    border-radius: 37px;
    padding: 6px;
    box-shadow: 
        0 0 0 2px #1f2b3e,
        0 30px 80px -15px rgba(0, 0, 0, 0.85);
    border: 3.5px solid #141c2c;
    box-sizing: border-box;
    z-index: 3;
}

.vx-phone-mockup::before {
    content: '';
    position: absolute;
    top: 17px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #000000;
    border: 1px solid #23344e;
    border-radius: 50%;
    z-index: 20;
    pointer-events: none;
}

.vx-screen-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden !important;
    position: relative;
    background: #ffffff !important;
}
.vx-screen-img {
    width: 96% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
    display: block !important;
    border: none !important;
    transition: opacity .25s ease, transform .25s ease;
}
.vx-screen-img.fade-out {
    opacity: 0.15;
    transform: scale(0.97);
}

/* ============ MOBILE MODE: IMAGE HIDE & CLEAN TOUCH CARD ============ */
@media (max-width: 980px) {
    .vx-pin-container {
        height: auto !important; /* Cancel 800vh trap */
    }
    .vx-stage {
        position: relative !important;
        top: auto !important;
        height: auto !important;
        min-height: auto !important;
        padding: 20px 0 60px !important;
        overflow: visible !important;
    }
    .vx-inner {
        grid-template-columns: 1fr !important;
        padding: 0 20px !important;
        gap: 0 !important;
    }
    
    /* Phone image completely hidden on mobile */
    .vx-visual {
        display: none !important;
    }

    .vx-text-col {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 24px;
        padding: 28px 20px;
        text-align: left;
    }
    .vx-progress {
        justify-content: flex-start;
        gap: 6px;
        margin-bottom: 20px;
    }
    .vx-progress span {
        width: 24px;
        height: 6px;
    }
    .vx-progress span.active {
        width: 38px;
    }
    .vx-title {
        font-size: 28px !important;
    }
    .vx-desc {
        font-size: 15px !important;
        margin-top: 10px;
    }
    .vx-feats {
        margin-top: 20px;
    }
    .vx-feats li {
        font-size: 14px;
        background: rgba(255, 255, 255, 0.04);
        padding: 8px 12px;
        border-radius: 10px;
    }
}


/* ==============  APPS SECTION Start  ================= */

.two-apps-section { 
    padding: 100px 0 110px; 
    background: var(--grey-100); 
    position: relative;
}
.two-apps-grid { 
    display: grid; 
    grid-template-columns: 1fr auto 1fr; 
    gap: 40px; 
    align-items: start; 
}
@media (max-width: 900px) { 
    .two-apps-grid { 
        grid-template-columns: 1fr; 
        gap: 50px; 
    } 
}
.ta-col { 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
}
.ta-label { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-size: 12px; 
    font-weight: 800; 
    letter-spacing: .06em; 
    color: var(--navy-800); 
    text-transform: uppercase;
}
.ta-dot { 
    width: 8px; 
    height: 8px; 
    border-radius: 50%; 
}
.ta-dot.red { background: var(--red-600); }
.ta-dot.green { background: var(--green-500); }
.ta-title { 
    margin-top: 12px; 
    font-size: 30px; 
    color: var(--navy-950); 
    font-weight: 700; 
}
.ta-desc { 
    margin-top: 10px; 
    font-size: 15px; 
    color: var(--grey-600); 
    line-height: 1.6; 
    max-width: 360px; 
}

/* Android Chassis */
.ta-phone-box {
    margin: 30px auto 0;
    width: 310px;
    height: 630px;
    border-radius: 37px;
    background: #0f172a;
    box-shadow: 
        0 0 0 2px #22324d,
        0 30px 70px -20px rgba(8,18,38,.35);
    border: 3.5px solid #162238;
    padding: 6px;
    position: relative;
    box-sizing: border-box;
}
@media (max-width: 480px) {
    .ta-phone-box {
        width: 280px;
        height: 560px;
        border-radius: 34px;
    }
}
.ta-phone-box::before {
    content: '';
    position: absolute;
    top: 17px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #000000;
    border: 1px solid #23344e;
    border-radius: 50%;
    z-index: 20;
    pointer-events: none;
}
.ta-phone-inner {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden !important;
    background: #ffffff !important;
    position: relative;
}
.ta-app-img {
    width: 96% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
    display: block !important;
    border: none !important;
}

.ta-connector { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 12px; 
    padding-top: 170px; 
    color: var(--grey-400); 
}
.ta-connector span { 
    font-size: 11px; 
    font-weight: 800; 
    letter-spacing: .08em; 
    writing-mode: vertical-rl; 
}
@media (max-width: 900px) { 
    .ta-connector { 
        flex-direction: row; 
        padding-top: 0; 
        justify-content: center; 
        margin: -10px 0; 
    } 
    .ta-connector span { 
        writing-mode: horizontal-tb; 
    } 
    .ta-connector svg { 
        transform: rotate(90deg); 
    } 
}


/* ==============  APPS SECTION END  ================= */


/* ============ SERVICES BENTO GRID  END  ========= */

.services-template-section { padding: 60px 0; background: var(--off-white); }
.services-template-section .section-head { max-width: 680px; margin-bottom: 50px; }
.services-template-section .eyebrow { font-size: 13px; letter-spacing: .06em; color: var(--red-600); font-weight: 800; text-transform: uppercase; display: inline-block; margin-bottom: 12px; }
.services-template-section .section-head h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; color: var(--navy-950); font-weight: 700; }
.services-template-section .section-head p { margin-top: 14px; font-size: 16.5px; color: var(--grey-600); line-height: 1.6; }

.svc-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card { background: #fff; border-radius: 22px; padding: 32px; border: 1px solid var(--grey-200); transition: transform .3s var(--ease), box-shadow .3s var(--ease); display: flex; flex-direction: column; justify-content: space-between; }
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -24px rgba(8,18,38,.28); border-color: transparent; }
.svc-card.large { grid-row: span 2; background: var(--navy-950); color: #fff; border: none; }
.svc-card.large h3 { color: #fff; font-size: 24px; margin-bottom: 12px; }
.svc-card.large p { color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.6; }
.svc-num { font-size: 15px; color: #002353; font-weight: 800; margin-bottom: 18px; letter-spacing: .04em; }
.svc-ic { width: 48px; height: 48px; border-radius: 13px; background: var(--red-100); color: var(--red-600); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.svc-card.large .svc-ic { background: rgba(255,255,255,.1); color: var(--red-500); width: 56px; height: 56px; }
.svc-card h3 { font-size: 19px; color: var(--navy-950); margin-bottom: 8px; font-weight: 700; }
.svc-card p { font-size: 14px; color: var(--grey-600); line-height: 1.55; }
.svc-mini-chip { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 100px; padding: 8px 15px; font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 8px; color: #fff; }
.svc-mini-chip .d { width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); }
.svc-link-trigger { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--red-600); text-decoration: none; }

.svc-card.large.sos-animated-card {
    position: relative;
    background: radial-gradient(circle at 85% 15%, #1c3a6b 0%, #0c1c3a 45%, #081226 100%) !important;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(213, 52, 43, 0.25) !important;
}
.svc-card.large.sos-animated-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.2px, transparent 1.2px);
    background-size: 18px 18px;
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
}
.sos-radar-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(213, 52, 43, 0.35) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}
.sos-radar-ring {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1.5px solid rgba(213, 52, 43, 0.4);
    animation: sosRadarPulse 3.5s cubic-bezier(0.22, 0.9, 0.3, 1) infinite;
    pointer-events: none;
    z-index: 1;
}
.sos-radar-ring:nth-child(2) { animation-delay: 1.75s; }
@keyframes sosRadarPulse {
    0% { transform: scale(0.3); opacity: 0.9; }
    100% { transform: scale(1.6); opacity: 0; }
}
.sos-ecg-svg {
    position: absolute;
    bottom: 90px;
    left: 0;
    width: 100%;
    height: 60px;
    opacity: 0.22;
    z-index: 1;
    pointer-events: none;
}
.sos-ecg-path {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: ecgFlow 3.8s linear infinite;
}
@keyframes ecgFlow {
    0% { stroke-dashoffset: 600; }
    100% { stroke-dashoffset: 0; }
}
.sos-card-content { position: relative; z-index: 2; }
.svc-card.large .svc-ic.sos-live-ic {
    position: relative;
    box-shadow: 0 0 25px rgba(213, 52, 43, 0.45);
}
.svc-card.large .svc-ic.sos-live-ic::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 16px;
    border: 1.5px solid rgba(232, 69, 58, 0.6);
    animation: sosIconPulse 2s infinite;
}
@keyframes sosIconPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.25); opacity: 0; }
}


/* ============ SERVICES BENTO GRID  END   ========= */



/* ============= INTERACTIVE NETWORK GRAPH & ECOSYSTEM ================= */
.net-section { 
    background: var(--navy-950, #081226); 
    color: #fff; 
    padding: 50px 0 90px; 
    position: relative;
    overflow: hidden;
}
.net-wrap { 
    display: grid; 
    grid-template-columns: 1.15fr 0.85fr; 
    gap: 45px; 
    align-items: center; 
}
@media (max-width: 980px) { .net-wrap { grid-template-columns: 1fr; } }

.net-svg-container {
    position: relative;
    height: 520px;
    width: 100%;
    background: radial-gradient(circle at center, rgba(28,58,107,0.35) 0%, rgba(8,18,38,0.98) 75%);
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 30px 70px -20px rgba(0,0,0,0.6);
}

.net-info-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 24px 26px;
    backdrop-filter: blur(14px);
}
.net-info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.net-info-badge {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .08em;
    color: #e8453a;
    text-transform: uppercase;
    background: rgba(213, 52, 43, 0.15);
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid rgba(213, 52, 43, 0.3);
}
.net-info-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--display, serif);
}
.net-info-desc {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-top: 8px;
    min-height: 50px;
}

.net-pathways-wrap {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.net-pathways-header {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.net-path-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 12px 14px;
    border-radius: 14px;
    transition: all .25s ease;
}
.net-path-item i {
    color: #e8453a;
    margin-top: 3px;
    flex-shrink: 0;
}

.net-node-item { cursor: pointer; }
.net-node-circle { transition: fill 0.3s ease, stroke 0.3s ease; }
.net-node-line { transition: stroke 0.3s ease, stroke-width 0.3s ease, opacity 0.3s ease; }

.partners-container {
    margin-top: 70px;
    padding-top: 45px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.partners-label {
    font-size: 12px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    margin-bottom: 22px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.partners-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.partner-pill {
    border: 1px dashed rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.02);
    transition: all .3s ease;
}
.partner-pill:hover {
    border-color: #e8453a;
    color: #fff;
    background: rgba(213, 52, 43, 0.12);
}

.stats-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 980px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

.stat-cell {
    background: var(--navy-950, #081226);
    padding: 30px 16px;
    text-align: center;
    transition: background .3s ease;
}
.stat-cell:hover {
    background: rgba(18, 42, 82, 0.55);
}
.stat-num {
    font-family: var(--display, serif);
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 700;
    color: #fff;
}
.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
    font-weight: 600;
}
.stats-note {
    text-align: center;
    margin-top: 18px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}


/*  ============= FAQ SECTION ================= */
.faq-section { 
    padding: 110px 0 100px; 
    background: var(--grey-100, #f2f3f5); 
    position: relative;
    font-family: var(--body, 'Manrope', sans-serif);
}
.faq-section .section-head {
    max-width: 680px;
    margin: 0 auto 50px auto;
    text-align: center;
}
.faq-section .eyebrow {
    font-size: 13px;
    letter-spacing: .08em;
    color: var(--red-600, #d5342b);
    font-weight: 800;
    text-transform: uppercase;
}
.faq-section .section-head h2 {
    font-size: clamp(30px, 3.8vw, 48px);
    line-height: 1.15;
    color: var(--navy-950, #081226);
    margin-top: 10px;
    font-weight: 700;
    font-family: var(--display, 'Fraunces', serif);
}
.faq-section .section-head p {
    margin-top: 12px;
    font-size: 16px;
    color: var(--grey-600, #5c6270);
    line-height: 1.6;
}

.faq-list { 
    max-width: 860px; 
    margin: 0 auto; 
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item { 
    background: #ffffff;
    border: 1px solid var(--grey-200, #e7e9ed);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(8, 18, 38, 0.03);
    transition: all 0.35s cubic-bezier(0.22, 0.9, 0.3, 1);
}
.faq-item:hover {
    border-color: rgba(213, 52, 43, 0.35);
    box-shadow: 0 8px 24px -10px rgba(8, 18, 38, 0.12);
}
.faq-item.open {
    border-color: rgba(213, 52, 43, 0.4);
    box-shadow: 0 14px 32px -12px rgba(213, 52, 43, 0.14);
}
.faq-q {
    width: 100%; 
    text-align: left; 
    background: none; 
    border: none; 
    padding: 22px 26px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 20px;
    font-size: 16.5px; 
    font-weight: 700; 
    color: var(--navy-950, #081226);
    cursor: pointer;
    transition: color 0.25s ease;
}
.faq-item.open .faq-q {
    color: var(--red-600, #d5342b);
}
.faq-q .plus { 
    width: 32px; 
    height: 32px; 
    border-radius: 50%;
    border: 1.5px solid var(--grey-400, #a8adb8);
    flex-shrink: 0;
    position: relative; 
    background: #ffffff;
    transition: transform 0.35s cubic-bezier(0.22, 0.9, 0.3, 1), border-color 0.35s ease, background 0.35s ease;
}
.faq-q .plus::before, 
.faq-q .plus::after { 
    content: ''; 
    position: absolute; 
    background: var(--navy-900, #0c1c3a); 
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.22, 0.9, 0.3, 1);
}
.faq-q .plus::before { 
    left: 8px; 
    right: 8px; 
    top: 50%; 
    height: 2px; 
    transform: translateY(-50%); 
}
.faq-q .plus::after { 
    top: 8px; 
    bottom: 8px; 
    left: 50%; 
    width: 2px; 
    transform: translateX(-50%); 
}
.faq-item.open .faq-q .plus { 
    border-color: var(--red-600, #d5342b);
    background: var(--red-100, #fce7e5);
    transform: rotate(45deg);
}
.faq-item.open .faq-q .plus::before,
.faq-item.open .faq-q .plus::after {
    background: var(--red-600, #d5342b);
}
.faq-a { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.4s cubic-bezier(0.22, 0.9, 0.3, 1), opacity 0.35s ease;
    opacity: 0;
}
.faq-item.open .faq-a {
    opacity: 1;
}
.faq-a p { 
    padding: 0 26px 24px; 
    font-size: 15px; 
    color: var(--grey-600, #5c6270); 
    line-height: 1.7; 
    border-top: 1px dashed rgba(0,0,0,0.06);
    padding-top: 14px;
}





