/* ============================================================
   SECURESEC — Premium Design System v2.0
   Extracted palette: Deep Navy #1b2531, Corporate Blue #23496d,
   Electric Cyan #0099d7 from SecureSec logo
   Typography: Work Sans (Google Fonts)
   ============================================================ */

/* --- Design Tokens & CSS Variables --- */
:root {
    /* Brand Palette */
    --navy:          #000D41;
    --navy-mid:      #00104e;
    --navy-soft:     #011463;
    --blue-corp:     #005380;
    --blue-mid:      #1d5f8a;
    --cyan:          #009DD1;
    --cyan-bright:   #00b8ff;
    --cyan-glow:     rgba(0, 157, 209, 0.18);
    --cyan-glow-sm:  rgba(0, 157, 209, 0.08);

    /* Neutrals */
    --white:         #ffffff;
    --off-white:     #f8fafc;
    --surface:       #f1f5f9;
    --border:        #e2e8f0;
    --border-soft:   #f0f4f8;

    /* Text */
    --text-primary:  #0f1923;
    --text-body:     #334155;
    --text-muted:    #64748b;
    --text-faint:    #94a3b8;

    /* Shadows */
    --shadow-xs:    0 1px 3px rgba(15,25,35,0.06), 0 1px 2px rgba(15,25,35,0.04);
    --shadow-sm:    0 4px 12px rgba(15,25,35,0.08), 0 2px 4px rgba(15,25,35,0.04);
    --shadow-md:    0 10px 30px rgba(15,25,35,0.10), 0 4px 8px rgba(15,25,35,0.06);
    --shadow-lg:    0 20px 50px rgba(15,25,35,0.14), 0 8px 16px rgba(15,25,35,0.08);
    --shadow-cyan:  0 8px 30px rgba(0, 153, 215, 0.22);
    --shadow-glow:  0 0 40px rgba(0, 153, 215, 0.15);

    /* Spacing System */
    --space-1:  4px;
    --space-2:  8px;
    --space-3:  12px;
    --space-4:  16px;
    --space-5:  20px;
    --space-6:  24px;
    --space-8:  32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;
    --space-36:144px;

    /* Border Radius */
    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  16px;
    --radius-xl:  24px;
    --radius-full: 9999px;

    /* Typography */
    --font:       'Work Sans', sans-serif;
    --tracking-tight: -0.025em;
    --tracking-wide:  0.08em;

    /* Transitions */
    --ease-out:   cubic-bezier(0.0, 0.0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition: all 0.3s cubic-bezier(0.0, 0.0, 0.2, 1);
    --transition-fast: all 0.18s cubic-bezier(0.0, 0.0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0; padding: 0; box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--text-body);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* --- Typography Scale --- */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: var(--tracking-tight);
    line-height: 1.2;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
    background: var(--navy);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 400;
    padding: var(--space-2) 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    letter-spacing: 0.01em;
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}
.top-info, .top-contacts {
    display: flex;
    align-items: center;
    gap: var(--space-5);
}
.top-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: var(--transition);
}
.top-item:hover { color: var(--cyan); }
.top-item svg { flex-shrink: 0; opacity: 0.7; }
.top-contacts { gap: var(--space-6); }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
header {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(226,232,240,0.6);
    box-shadow: 0 4px 24px rgba(15,25,35,0.04);
    transition: var(--transition);
}
header.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-md);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--space-6);
    gap: var(--space-8);
    /* margin: 10px 0; */
}
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    background: var(--white);
border-radius: var(--radius-md);
padding: var(--space-4);
transition: var(--transition-fast);
width: fit-content;
}
.logo-img-wrap {
    width: 150px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--navy-mid);
    line-height: 1;
    letter-spacing: -0.03em;
}
.logo-text h1 span { color: var(--cyan); }
.logo-text p {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 2px;
    font-weight: 500;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.nav-links a {
    position: relative;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-body);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 2px;
    background: var(--cyan);
    border-radius: var(--radius-full);
    transition: width 0.25s var(--ease-out);
}
.nav-links a:hover { color: var(--cyan); }
.nav-links a:hover::after, .nav-links a.active::after { width: calc(100% - 24px); }
.nav-links a.active { color: var(--cyan); }
.nav-cta-btn {
    background: var(--blue-corp);
    color: var(--white) !important;
    padding: var(--space-2) var(--space-5) !important;
    border-radius: var(--radius-full) !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em;
    transition: var(--transition) !important;
    box-shadow: 0 4px 12px rgba(35,73,109,0.3);
}
.nav-cta-btn:hover {
    background: var(--cyan) !important;
    box-shadow: var(--shadow-cyan) !important;
    transform: translateY(-1px);
}
.nav-cta-btn::after { display: none !important; }

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: var(--space-2);
    border-radius: var(--radius-sm);
}
.menu-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--navy-mid);
    border-radius: var(--radius-full);
    transition: var(--transition);
    transform-origin: center;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 13px var(--space-8);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.12);
    opacity: 0;
    transition: opacity 0.2s;
}
.btn:hover::before { opacity: 1; }
.btn-primary {
    background: var(--blue-corp);
    color: var(--white);
    border-color: var(--blue-corp);
    box-shadow: 0 4px 16px rgba(35,73,109,0.3);
}
.btn-primary:hover {
    background: var(--blue-mid);
    border-color: var(--blue-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(35,73,109,0.4);
}
.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.65);
    transform: translateY(-2px);
}
.btn-cyan {
    background: var(--cyan);
    color: var(--white);
    border-color: var(--cyan);
    box-shadow: var(--shadow-cyan);
}
.btn-cyan:hover {
    background: var(--cyan-bright);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,153,215,0.4);
}
.btn-outline {
    background: transparent;
    color: var(--blue-corp);
    border-color: var(--blue-corp);
}
.btn-outline:hover {
    background: var(--blue-corp);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-block { width: 100%; }
.btn-sm { padding: 9px var(--space-5); font-size: 0.86rem; }
.btn-lg { padding: 16px var(--space-10); font-size: 1rem; }

/* ============================================================
   PAGE BANNER (inner pages)
   ============================================================ */
.page-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue-corp) 60%, var(--blue-mid) 100%);
    color: var(--white);
    padding: var(--space-20) 0 var(--space-16);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0,153,215,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 20% 80%, rgba(0,153,215,0.08) 0%, transparent 60%);
}
.page-banner-inner {
    position: relative;
    z-index: 1;
}
.page-banner-tag {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--cyan);
    background: rgba(0,153,215,0.12);
    border: 1px solid rgba(0,153,215,0.25);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
}
.page-banner h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 500;
    margin-bottom: var(--space-3);
    letter-spacing: -0.03em;
}
.page-banner p {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    letter-spacing: 0.01em;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--navy);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(15,25,35,0.97) 0%, rgba(27,37,49,0.94) 50%, rgba(35,73,109,0.88) 100%),
        url('/img/home-bg.avif') center/cover no-repeat;
    z-index: 0;
}
/* Animated mesh gradient overlay */
.hero-mesh {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: 
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(0,153,215,0.10) 0%, transparent 65%),
        radial-gradient(ellipse 50% 70% at 10% 70%, rgba(35,73,109,0.18) 0%, transparent 60%);
}
/* Floating grid lines */
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: 
        linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
    background-size: 60px 60px;
}
/* .hero-content {
    position: relative;
    z-index: 2;
    padding: var(--space-24) 0;
    max-width: 860px;
} */
 .hero-content {
    position: relative;
    z-index: 2;
    padding: var(--space-24) 0;
    max-width: 1000px;
        margin: 0 auto;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--cyan);
    background: rgba(0,153,215,0.10);
    border: 1px solid rgba(0,153,215,0.25);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-5);
}
.hero-badge span { width: 5px; height: 5px; background: var(--cyan); border-radius: 50%; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}
.hero h2 {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.12;
    margin-bottom: var(--space-5);
}
.hero h2 em {
    font-style: normal;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.6);
}
.hero-sub {
    font-size: 1.08rem;
    color: rgba(255,255,255,0.68);
    max-width: 640px;
    margin-bottom: var(--space-8);
    line-height: 1.7;
    font-weight: 400;
    margin-left: auto;
    margin-right: auto;
}
.hero-ctas {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 50px;

}
.hero-scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255,255,255,0.35);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: float-up 3s ease-in-out infinite;
}
.hero-scroll svg { animation: bounce-down 2s ease-in-out infinite; }
@keyframes bounce-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}
@keyframes float-up {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.65; }
}

/* Hero stats strip */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    z-index: 3;
    background: rgba(255,255,255,0.04);
    border-top: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
}
.hero-stats-inner {
    display: flex;
    justify-content: center;
    align-items: stretch;
}
.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-5) var(--space-10);
    border-right: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    flex: 1;
    max-width: 200px;
}
.hero-stat-item:last-child { border-right: none; }
.hero-stat-item .num {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1;
}
.hero-stat-item .num span { color: var(--cyan); }
.hero-stat-item .label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.45);
    margin-top: 4px;
    font-weight: 500;
}

.home-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-16);
    align-items: start;
}

/* ============================================================
   SECTION HELPERS
   ============================================================ */
.section-eyebrow {
    display: inline-block;
    font-size: 1.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--cyan);
    margin-bottom: var(--space-3);
}
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    margin-bottom: var(--space-4);
}
.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 560px;
}
.section-header { margin-bottom: var(--space-12); }
.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

/* Decorative section divider */
.section-divider {
    width: 48px; height: 3px;
    background: linear-gradient(90deg, var(--cyan), transparent);
    border-radius: var(--radius-full);
    margin-top: var(--space-4);
}
.text-center .section-divider { margin: var(--space-4) auto 0; }

/* ============================================================
   PILLARS SECTION
   ============================================================ */
.pillars-section {
    padding: var(--space-24) 0;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}
.pillars-section::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0,153,215,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    align-items: stretch;
}
.pillar-card {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: var(--space-8) var(--space-6);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: default;
}
.pillar-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--blue-mid));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease-out);
}
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border);
}
.pillar-card.featured {
    background: linear-gradient(135deg, var(--navy-mid) 0%, var(--blue-corp) 100%);
    border-color: transparent;
}
.pillar-card.featured::before {
    background: linear-gradient(90deg, var(--cyan-bright), var(--cyan));
}
.pillar-card.featured:hover { box-shadow: var(--shadow-cyan); }
.pillar-icon-wrap {
    width: 52px; height: 52px;
    background: var(--cyan-glow-sm);
    border: 1px solid rgba(0,153,215,0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
    color: var(--cyan);
    transition: var(--transition);
}
.pillar-card.featured .pillar-icon-wrap {
    background: rgba(0,153,215,0.15);
    border-color: rgba(0,153,215,0.3);
}
.pillar-card:hover .pillar-icon-wrap {
    background: var(--cyan-glow);
    transform: scale(1.05);
}
.pillar-card h4 {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}
.pillar-card.featured h4 { color: var(--white); }
.pillar-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}
.pillar-card.featured p { color: rgba(255,255,255,0.65); }

/* ============================================================
   CLIENTS / LOGO STRIP
   ============================================================ */
.clients-section {
    padding: var(--space-12) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--off-white);
}
/* Text-intro variant: first .clients-section on Home wraps a heading + paragraphs,
   not the logo strip — give it readable spacing & remove the strip border styling */
.clients-section:has(.section-title) {
    border-top: none;
    border-bottom: 1px solid var(--border);
    background: var(--white);
    padding: var(--space-16) 0;
    text-align: center;
}
.clients-section:has(.section-title) .section-title {
    margin-bottom: var(--space-5);
}
.clients-section:has(.section-title) p {
    max-width: 760px;
    margin: 0 auto var(--space-4);
    color: var(--text-body);
    line-height: 1.75;
    font-size: 0.97rem;
}
.clients-section:has(.section-title) p:last-of-type { margin-bottom: 0; }
.clients-label {
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--text-faint);
    text-align: center;
    margin-bottom: var(--space-8);
}
.clients-track-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.clients-track {
    display: flex;
    gap: var(--space-36);
    align-items: center;
    width: max-content;
    /* animation: scroll-logos 20s linear infinite; */
    will-change: transform;
}
.clients-section .clients-label {
    text-align: center !important;
    width: 100%;
    display: block;
}


/* .clients-track {
    display: flex;
    gap: var(--space-12);
    align-items: center;
    width: max-content;
    animation: scroll-logos 28s linear infinite;
} */
.clients-track:hover { animation-play-state: paused; }
/* @keyframes scroll-logos {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
} */
.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 100px;
    /* filter: grayscale(100%) opacity(0.45); */
    transition: filter 0.3s ease;
    cursor: pointer;
}
.client-logo-item:hover { filter: grayscale(0%) opacity(1); }
.client-logo-item img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

/* ============================================================
   FRAMEWORK / CTA STRIP
   ============================================================ */
.framework-strip {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue-corp) 100%);
    padding: var(--space-12) 0;
    position: relative;
    overflow: hidden;
}
.framework-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 50% 100% at 100% 50%, rgba(0,153,215,0.12) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.framework-inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-8);
    flex-wrap: wrap;
}
/* When a framework-strip has no action buttons, center the text block */
.framework-inner:not(:has(.framework-actions)) {
    justify-content: center;
    text-align: center;
}
.framework-inner:not(:has(.framework-actions)) .framework-text {
    max-width: 720px;
}
/* Visual separation when two strips sit back-to-back */
.framework-strip + .framework-strip {
    border-top: 1px solid rgba(255,255,255,0.08);
}
.framework-text h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    margin-bottom: var(--space-2);
}
.framework-text p { color: rgba(255,255,255,0.6); font-size: 0.99rem; max-width: 600px; }
.framework-text strong { color: var(--cyan); font-weight: 500; }
.framework-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-section { padding: var(--space-24) 0; }
.about-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-16);
    align-items: start;
}
.about-profile-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}
.profile-card-header {
    background: linear-gradient(135deg, var(--navy-mid) 0%, var(--blue-corp) 100%);
    padding: var(--space-8);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.profile-card-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 80% at 50% 120%, rgba(0,153,215,0.2) 0%, transparent 60%);
}
.profile-avatar {
    width: 80px; height: 80px;
    background: rgba(0,153,215,0.15);
    border: 2px solid rgba(0,153,215,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    position: relative;
    z-index: 1;
}
.profile-avatar svg { color: var(--cyan); }
.profile-name {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
    margin-bottom: 2px;
}
.profile-role {
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 1;
}
.profile-card-body { padding: var(--space-6); }
.profile-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}
.pstat {
    text-align: center;
    padding: var(--space-3) var(--space-2);
    background: var(--off-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
}
.pstat .num {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--blue-corp);
    letter-spacing: -0.03em;
    line-height: 1;
}
.pstat .lbl {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 3px;
    font-weight: 500;
}
.profile-geo {
    background: var(--off-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.6;
}
.profile-geo strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.profile-geo .geo-dots { color: var(--blue-corp); font-weight: 500; }

.about-narrative h3 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    letter-spacing: -0.03em;
}
.about-narrative .subtitle {
    color: var(--cyan);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.about-narrative .subtitle::before {
    content: '';
    width: 28px; height: 2px;
    background: var(--cyan);
    border-radius: var(--radius-full);
    flex-shrink: 0;
}
.about-narrative p {
    font-size: 0.97rem;
    color: var(--text-body);
    margin-bottom: var(--space-5);
    line-height: 1.75;
}
.about-expertise {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-8);
}
.expertise-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--off-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    transition: var(--transition);
}
.expertise-item:hover {
    border-color: rgba(0,153,215,0.25);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.expertise-icon {
    width: 36px; height: 36px;
    background: var(--cyan-glow-sm);
    border: 1px solid rgba(0,153,215,0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    flex-shrink: 0;
}
.expertise-item h6 {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2px;
}
.expertise-item p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline-section {
    padding: var(--space-24) 0;
    background: var(--off-white);
    position: relative;
}
.timeline-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 40% at 0% 50%, rgba(0,153,215,0.04) 0%, transparent 60%);
    pointer-events: none;
}
.timeline-track {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding-bottom: var(--space-4);
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    align-items: stretch;
}
.timeline-track::-webkit-scrollbar { display: none; }

.t-node {
    flex: 0 0 240px;
    position: relative;
    padding: 0 var(--space-3);
    display: flex;
    flex-direction: column;
}
.t-node::after {
    content: '';
    position: absolute;
    top: 18px;
    right: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--cyan) 0%, var(--border) 100%);
    z-index: 0;
}
.t-node:last-child::after { display: none; }
.t-dot {
    width: 14px; height: 14px;
    background: var(--white);
    border: 2.5px solid var(--cyan);
    border-radius: 50%;
    position: relative;
    z-index: 1;
    margin-bottom: var(--space-3);
    transition: var(--transition);
}
.t-node:hover .t-dot {
    background: var(--cyan);
    box-shadow: 0 0 0 4px rgba(0,153,215,0.2);
}
.t-node.current .t-dot {
    background: var(--cyan);
    box-shadow: 0 0 0 4px rgba(0,153,215,0.2);
}
.t-year {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-3);
}
.t-card {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: var(--space-4) var(--space-4);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.t-card::after {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.t-node:hover .t-card::after { opacity: 1; }
.t-node.current .t-card::after { opacity: 1; }
.t-node:hover .t-card {
    border-color: rgba(0,153,215,0.25);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.t-node.current .t-card {
    border-color: rgba(0,153,215,0.25);
    background: linear-gradient(135deg, var(--white) 0%, #f0f9ff 100%);
}
.t-card-logo {
    height: 32px;
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
}
.t-card-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    max-width: 120px;
}
.t-card h5 {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 3px;
}
.t-card p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.45;
}
.t-card .badge-current {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cyan);
    background: rgba(0,153,215,0.1);
    border: 1px solid rgba(0,153,215,0.2);
    padding: 2px 7px;
    border-radius: var(--radius-full);
    margin-top: var(--space-2);
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-section {
    padding: var(--space-24) 0;
    background: var(--off-white);
}
.services-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-8);
    align-items: start;
}
.services-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: var(--space-5); }
.sidebar-card {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-xs);
}
.sidebar-card h4 {
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--border-soft);
}
.sidebar-list { display: flex; flex-direction: column; gap: var(--space-1); }
.sidebar-list li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-body);
    transition: var(--transition-fast);
    cursor: default;
}
.sidebar-list li::before {
    content: '';
    width: 4px; height: 4px;
    background: var(--cyan);
    border-radius: 50%;
    flex-shrink: 0;
}
.sidebar-list li:hover {
    background: var(--off-white);
    color: var(--blue-corp);
    padding-left: var(--space-4);
}
.sidebar-list.highlight li { color: var(--blue-corp); font-weight: 500; }

/* ESRM Main Content */
.esrm-block {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.esrm-header {
    background: linear-gradient(135deg, var(--navy-mid) 0%, var(--blue-corp) 100%);
    padding: var(--space-6) var(--space-8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
}
.esrm-header-text h3 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 3px;
}
.esrm-header-text p { color: rgba(255,255,255,0.55); font-size: 0.82rem; }
.esrm-cycle {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.cycle-step {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(0,153,215,0.4);
    color: var(--cyan);
    background: rgba(0,153,215,0.1);
}
.cycle-arrow { color: rgba(255,255,255,0.3); font-size: 0.8rem; }
.esrm-body { padding: var(--space-8); }
.esrm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}
.esrm-quadrant {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-soft);
    transition: var(--transition);
}
.esrm-quadrant:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.quad-head {
    padding: var(--space-4) var(--space-5);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.diagnosis-q .quad-head { background: linear-gradient(135deg, #1d3557, var(--blue-corp)); }
.treatment-q .quad-head { background: linear-gradient(135deg, #0c4a6e, var(--blue-mid)); }
.quad-head-text h5 { color: var(--white); font-size: 0.92rem; font-weight: 500; margin-bottom: 1px; }
.quad-head-text span { color: rgba(255,255,255,0.5); font-size: 0.72rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.quad-badge {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.15);
}
.quad-content { padding: var(--space-5); background: var(--off-white); }
.quad-service-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}
.service-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    border: 1px solid var(--border-soft);
    transition: var(--transition-fast);
}
.service-item:hover { border-color: rgba(0,153,215,0.25); box-shadow: var(--shadow-xs); }
.service-item h6 {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--border-soft);
}
.service-item ol {
    padding-left: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}
.service-item ol li {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    padding: 2px 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { padding: var(--space-20) 0; }
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: start;
}
.credentials-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.credentials-card-header {
    background: linear-gradient(135deg, var(--navy-mid) 0%, var(--blue-corp) 100%);
    padding: var(--space-6) var(--space-8);
}
.credentials-card-header h3 { color: var(--white); font-size: 1.1rem; font-weight: 500; margin-bottom: 2px; }
.credentials-card-header p { color: rgba(255,255,255,0.5); font-size: 0.8rem; }
.credentials-body { padding: var(--space-6) var(--space-8); }
.cred-row {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-soft);
}
.cred-row:last-child { border-bottom: none; }
.cred-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-faint);
    font-weight: 500;
}
.cred-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-body);
}
.cred-value a { color: var(--blue-corp); }
.cred-value a:hover { color: var(--cyan); text-decoration: underline; }
.cred-highlight .cred-value { color: var(--cyan); font-weight: 500; font-size: 1rem; }

/* Contact Quick Cards */
.contact-quick {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}
.quick-card {
    background: var(--off-white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-4);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}
.quick-card:hover {
    border-color: rgba(0,153,215,0.25);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
.quick-card .icon {
    width: 42px; height: 42px;
    background: var(--cyan-glow-sm);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    margin: 0 auto var(--space-3);
}
.quick-card .label { font-size: 0.7rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-faint); margin-bottom: 3px; }
.quick-card .value { font-size: 0.82rem; font-weight: 500; color: var(--text-body); word-break: break-all; }

/* Form */
.form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.form-card-header {
    background: var(--off-white);
    border-bottom: 1px solid var(--border-soft);
    padding: var(--space-6) var(--space-8);
}
.form-card-header h3 { font-size: 1.1rem; font-weight: 500; color: var(--text-primary); margin-bottom: 2px; }
.form-card-header p { font-size: 0.85rem; color: var(--text-muted); }
.form-body { padding: var(--space-8); }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--space-5); }
.form-group label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-body);
    letter-spacing: 0.01em;
}
.form-group input,
.form-group textarea {
    padding: 12px var(--space-4);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font);
    font-size: 0.92rem;
    color: var(--text-body);
    background: var(--white);
    transition: var(--transition);
    resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0,153,215,0.12);
    background: var(--white);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-faint); font-size: 0.88rem; }
.form-status {
    margin-top: var(--space-4);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 500;
    display: none;
}
.form-status.success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; display: block; }
.form-status.error   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: var(--navy);
    color: rgba(255,255,255,0.55);
    padding: var(--space-16) 0 var(--space-8);
    border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
    gap: var(--space-12);
    padding-bottom: var(--space-10);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: var(--space-8);
}
.footer-brand .logo-text h1 { color: var(--white); font-size: 1.4rem; }
.footer-brand .logo-text h1 span { color: var(--cyan); }
.footer-brand .logo-text p { color: rgba(255,255,255,0.3); }
.footer-brand-desc {
    font-size: 0.88rem;
    color: var(--white);
    line-height: 1.7;
    margin-top: var(--space-4);
    max-width: 300px;
}
.footer-col h5 {
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: var(--space-5);
}
.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links a {
    font-size: 0.88rem;
    color: var(--white);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.footer-links a:hover { color: var(--cyan); padding-left: 4px; }
.footer-contact-items { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: 0.85rem;
    color: var(--white);
    line-height: 1.5;
}
.footer-contact-item svg { flex-shrink: 0; color: var(--white); opacity: 0.7; margin-top: 1px; }
.footer-contact-item a:hover { color: var(--cyan); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: var(--white); }
.footer-bottom a { color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.4s; }
.delay-4 { transition-delay: 0.5s; }
.delay-5 { transition-delay: 0.6s; }
.delay-6 { transition-delay: 0.7s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .about-layout { grid-template-columns: 1fr; }
    .about-profile-card { position: static; }
    .profile-stat-row { grid-template-columns: repeat(3, 1fr); }
    .about-expertise { grid-template-columns: 1fr; }
    .services-layout { grid-template-columns: 1fr; }
    .services-sidebar { position: static; }
    .esrm-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .home-layout { grid-template-columns: 1fr; }
    .home-card { position: static; }
    .quad-home-pair { grid-template-columns: 1fr 1fr; }
    .quad-about-pair { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .pillars-grid { grid-template-columns: 1fr; gap: var(--space-5); }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-quick { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
    .hero-stats-inner { flex-wrap: wrap; }
    .hero-stat-item { min-width: 50%; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .quad-home-pair { grid-template-columns: 1fr; }
    .quad-about-pair { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .top-bar { display: none; }
    .menu-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0; right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-4) var(--space-6);
        gap: var(--space-1);
        border-bottom: 1px solid var(--border);
    }
    .nav-links.active { display: flex; }
    .nav-links a {  border-radius: var(--radius-md); }
    .nav-links a::after { display: none; }
    .nav-cta-btn { text-align: center; margin-top: var(--space-2); }
    /* .hero { min-height: 85vh; }
    .hero-content { padding: var(--space-16) 0 var(--space-12); }
    .hero-ctas { flex-direction: column; }
    .hero-stats-inner { flex-direction: column; }
    .hero-stat-item { max-width: 100%; border-right: none; } */
    
    .hero {
        min-height: auto;
        text-align: center;
        padding-top: 40px;
    }

    .hero-content {
        padding: var(--space-16) 0 60px;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-badge {
        margin: 0 auto var(--space-5);
    }

    .hero h2 {
        text-align: center;
    }

    .hero-sub {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-bottom: 156px; /* buttons ke neeche extra space */
    }

    .hero-ctas .btn {
        width: 100%;
        max-width: 320px;
    }

    /* Stats ko 2x2 grid banao */
    /* .hero-stats {
        position: relative;
    } */

    .hero-stats-inner {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stat-item {
        max-width: 100%;
        border-right: 1px solid rgba(255,255,255,0.08);
        border-bottom: 1px solid rgba(255,255,255,0.08);
        padding: 20px;
    }

    .hero-stat-item:nth-child(2n) {
        border-right: none;
    }

    .hero-stat-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .framework-inner { flex-direction: column; text-align: center; }
    .framework-actions { justify-content: center; }
    .esrm-grid, .quad-service-pair { grid-template-columns: 1fr; }
    .esrm-cycle { display: none; }
    .page-banner { padding: var(--space-12) 0 var(--space-10); }
    .navbar{ margin: 10px 0; }
}
@media (max-width: 480px) {
    .container { padding: 0 var(--space-5); }
    .hero h2 { font-size: 1.8rem; }
}

.hide { display: none !important; }
.p-5 { padding-bottom: 5px; }
.home-section { padding: var(--space-16) 0; }
.home-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: sticky;
}
.home-card .sidebar-card {
    border: none;
    box-shadow: none;
    border-radius: 0;
    background: linear-gradient(135deg, var(--navy-mid) 0%, var(--blue-corp) 100%);
    padding: var(--space-5);
}
.home-card .sidebar-card h3 {
    color: var(--white);
}
.home-card .sidebar-card p {
    color: var(--white);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: var(--space-5);
}
.home-card h3 {
    font-size: clamp(1rem, 2vw, 1.6rem);
    font-weight: 500;
    margin-bottom: var(--space-3);
}
.home-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}
.home-list li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    padding: 0 !important;
}
.home-list li::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--cyan);
    border-radius: 50%;
    flex-shrink: 0;
}

.quad-home-pair {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-4);
}

.quad-about-pair {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: var(--space-4);
}

.f-2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    margin-bottom: var(--space-4);
}
.box-section {
    padding: var(--space-16) 0;
    max-width: 1240px;
    margin: 0 auto;
    padding-left: var(--space-6);
    padding-right: var(--space-6);
}
.box-section .quad-content {
    background: transparent;
    padding: 0;
    margin-top: var(--space-8);
}
.box-section .service-item {
    padding: var(--space-6) var(--space-5);
    text-align: center;
}
.box-section .service-item h6 {
    justify-content: center;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 1.15rem;
    border-bottom: none;
    padding-bottom: var(--space-3);
    margin-bottom: var(--space-3);
}
.box-section .service-item ol {
    padding-left: 0;
    list-style: none;
}
.box-section .service-item ol li {
    font-size: 0.99rem;
    text-align: center;
    padding: 0;
}

.clients-section:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.box-section:hover {
    background: var(--off-white);
    box-shadow: var(--shadow-sm);
}

/* ============================================================
   PREMIUM SECTION DIVIDERS
   ============================================================ */
.section-divider-wave {
    position: relative;
    width: 100%;
    height: 60px;
    overflow: hidden;
    line-height: 0;
}
.section-divider-wave svg {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
}
.section-divider-wave.flip svg { transform: rotate(180deg); }

/* Simple gradient line divider used inline between content blocks */
.divider-line {
    position: relative;
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
    margin: 0 auto;
}
.divider-line::before {
    content: '';
    position: absolute;
    top: -2px; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 5px;
    background: var(--cyan);
    border-radius: var(--radius-full);
    box-shadow: 0 0 12px rgba(0,153,215,0.5);
}

/* ============================================================
   FLOATING BACKGROUND ELEMENTS (premium ambient motion)
   ============================================================ */
.float-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
    animation: float-blob 16s ease-in-out infinite;
}
.float-blob.cyan {
    background: radial-gradient(circle, rgba(0,153,215,0.18) 0%, transparent 70%);
}
.float-blob.navy {
    background: radial-gradient(circle, rgba(35,73,109,0.16) 0%, transparent 70%);
}
@keyframes float-blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(30px, -24px) scale(1.08); }
    66%      { transform: translate(-22px, 18px) scale(0.96); }
}

/* Position-aware blobs for specific sections */
.content-section-relative { position: relative; overflow: hidden; }
.blob-tr { top: -80px; right: -80px; width: 320px; height: 320px; }
.blob-bl { bottom: -100px; left: -100px; width: 360px; height: 360px; animation-delay: -6s; }
.blob-center { top: 40%; left: 50%; width: 280px; height: 280px; animation-delay: -3s; }

/* ============================================================
   ANIMATED HEADING UNDERLINE / SPAN ACCENTS
   ============================================================ */
.heading-accent {
    position: relative;
    display: inline-block;
    font-size: 1.5rem;
}

/* Eyebrow with decorative line + icon */
.eyebrow-row {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}
.eyebrow-row .eyebrow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    color: var(--cyan);
    flex-shrink: 0;
}
.eyebrow-row .eyebrow-line {
    width: 28px; height: 1px;
    background: linear-gradient(90deg, var(--cyan), transparent);
    flex-shrink: 0;
}

/* ============================================================
   PILLAR / SERVICE CARD MICRO-INTERACTIONS
   ============================================================ */
.pillar-card {
    position: relative;
}
.pillar-card .pillar-icon-wrap {
    position: relative;
    transition: var(--transition);
}
.pillar-card:hover .pillar-icon-wrap {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 6px 18px rgba(0,153,215,0.25);
}
.pillar-card::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 80px; height: 80px;
    background: radial-gradient(circle at top right, rgba(0,153,215,0.10), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
    pointer-events: none;
}
.pillar-card:hover::after { opacity: 1; }

/* Expertise item icon pulse on hover */
.expertise-item .expertise-icon {
    transition: var(--transition);
}
.expertise-item:hover .expertise-icon {
    transform: scale(1.12) rotate(-4deg);
    background: var(--cyan-glow);
    color: var(--blue-mid);
}

/* Industry tag stagger pop */
.home-list li {
    transition: var(--transition-fast);
}
.home-list li:hover {
    background: var(--cyan-glow-sm);
    transform: translateX(4px);
    color: var(--cyan);
}
.home-list li:hover::before {
    box-shadow: 0 0 8px rgba(0,153,215,0.8);
}

/* ============================================================
   BOX-SECTION (360 APPROACH) ENHANCEMENTS
   ============================================================ */
.box-section { position: relative; }
.box-section .service-item {
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.box-section .service-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,153,215,0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.box-section .service-item:hover::before { opacity: 1; }
.box-section .service-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0,153,215,0.25);
}
.box-section .service-item h6 svg {
    transition: var(--transition);
}
.box-section .service-item:hover h6 svg {
    transform: scale(1.15);
    color: var(--cyan);
}

/* ============================================================
   FRAMEWORK STRIP ENHANCEMENTS
   ============================================================ */
.framework-strip { position: relative; }
.framework-strip .framework-text h3 {
    position: relative;
}
.framework-strip .framework-text h3::before {
    content: '';
    position: absolute;
    left: -16px; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 70%;
    background: var(--cyan);
    border-radius: var(--radius-full);
    box-shadow: 0 0 10px rgba(0,153,215,0.6);
}
@media (max-width: 640px) {
    .framework-strip .framework-text h3::before { display: none; }
}

/* ============================================================
   HOME CARD GLOW BORDER ANIMATION
   ============================================================ */
.home-card {
    position: relative;
}
.home-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(0,153,215,0.4), transparent 40%, transparent 60%, rgba(0,153,215,0.4));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}
.home-card:hover::before { opacity: 1; }

/* ============================================================
   LOGO STRIP SECTION SPAN / LABEL ACCENT
   ============================================================ */
.clients-label {
    position: relative;
    display: inline-block;
    padding: 0 var(--space-8);
}
.clients-label::before,
.clients-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 28px; height: 1px;
    background: var(--border);
}
.clients-label::before { right: 100%; }
.clients-label::after { left: 100%; }

/* ============================================================
   SCROLL-TRIGGERED ICON SPIN-IN (applies to icon wraps in revealed cards)
   ============================================================ */
@keyframes icon-pop-in {
    0%   { transform: scale(0.4) rotate(-15deg); opacity: 0; }
    60%  { transform: scale(1.08) rotate(4deg);  opacity: 1; }
    100% { transform: scale(1) rotate(0deg);     opacity: 1; }
}
.reveal.revealed .pillar-icon-wrap,
.reveal.revealed .expertise-icon {
    animation: icon-pop-in 0.6s var(--ease-spring) both;
}

/* ============================================================
   HERO BADGE REFINEMENT — subtle shimmer
   ============================================================ */
@keyframes shimmer-sweep {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.hero-badge {
    background-image: linear-gradient(
        100deg,
        rgba(0,153,215,0.10) 30%,
        rgba(0,153,215,0.22) 50%,
        rgba(0,153,215,0.10) 70%
    );
    background-size: 200% 100%;
    animation: shimmer-sweep 6s ease-in-out infinite;
}

/* ============================================================
   NAVBAR DROPDOWN REFINEMENTS
   ============================================================ */
.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-menu {
    position: absolute;
    top: 100%;
    left: -82px;
    min-width: 240px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.2s ease;
    z-index: 999;
}

.nav-links .dropdown-menu li {
    display: block;
}

.nav-links .dropdown-menu a {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}

.nav-links .dropdown-menu a:hover {
    background: #f5f5f5;
}

.nav-links .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links .dropdown-toggle {
    gap: 6px;
}

.nav-links .dropdown-toggle .arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

.nav-links .dropdown:hover .arrow,
.nav-links .dropdown.open .arrow {
    transform: rotate(180deg);
}

.nav-links .dropdown-menu a.active {
    background: rgba(0, 153, 215, 0.12);
    color: #0099d7;
    font-weight: 600;
    border-left: 3px solid #0099d7;
}

@media (max-width: 768px) {
    .nav-links .dropdown-toggle {
        justify-content: space-between;
        width: 100%;
    }

    .nav-links .dropdown-toggle .arrow {
        margin-left: auto;
    }

    .nav-links .dropdown-menu {
        position: static;
        min-width: 100%;
        box-shadow: none;
        border-radius: 0;
        padding: 0 0 0 10px;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-links .dropdown.open .dropdown-menu {
        display: block;
    }
}

.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    align-items: stretch;
}

@media (max-width: 768px) {
    .quad-home-pair {
        grid-template-columns: 1fr;
    }

    .quad-about-pair {
        grid-template-columns: 1fr;
    }

    .about-pillars-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .about-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-eyebrow {
        font-size: 0.85rem;
        letter-spacing: 1px;
        line-height: 1.4;
    }

    .heading-accent {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .section-desc {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0 10px;
    }

    .section-header {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section-eyebrow {
        font-size: 1.1rem;
        letter-spacing: 0.5px;
    }

    .heading-accent {
        font-size: 1rem;
    }

    .section-desc {
        font-size: 0.9rem;
    }

    p {
        font-size: 0.9rem !important;
    }

    .box-section .service-item ol li {
        font-size: 0.9rem;
    }

    .box-section .service-item h6 {
        font-size: 0.99rem;
    }

    .page-banner-tag {
        letter-spacing: 1.5px;
    }

    .framework-text h3 {
        font-size: 1rem;
    }

  

    .expertise-item h6 {
        font-size: 1rem;
    }

   


    .pillar-card h4 {
        font-size: 0.99rem;
    }
}

