/**
 * Modern Corporate Landing Page Styles
 * Overrides specific to the homepage to modernize the look.
 * No gradients, flat colors, clean typography, animations.
 */

/* ================================================================
   LATEST NEWS CARDS RAIL (Homepage)
   ================================================================ */

.nrc-section {
    background: #f1f5f9;
    padding-top: 4rem;
    padding-bottom: 4.5rem;
    overflow: hidden;
}

.nrc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

/* Full-bleed overflow rail */
.nrc-outer {
    overflow: hidden;
    position: relative;
    /* Edge fade left and right */
}

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

.nrc-outer::before {
    left: 0;
    background: linear-gradient(to right, #f1f5f9, transparent);
}

.nrc-outer::after {
    right: 0;
    background: linear-gradient(to left, #f1f5f9, transparent);
}

.nrc-rail {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 2rem 1.5rem;
    width: max-content;
    animation: nrcScroll 55s linear infinite;
    will-change: transform;
}

.nrc-rail:hover {
    animation-play-state: paused;
}

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

/* Individual card */
.nrc-card {
    width: 300px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.10), 0 1px 3px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.32s ease;
    cursor: pointer;
}

.nrc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px -8px rgba(15, 23, 42, 0.18),
                0 6px 12px rgba(15, 23, 42, 0.07);
}

/* Image area */
.nrc-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #dbe4f0;
    flex-shrink: 0;
}

.nrc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.nrc-card:hover .nrc-img img {
    transform: scale(1.07);
}

.nrc-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dde8f5 0%, #c2d3e8 100%);
    color: #94a3b8;
}

/* Gradient overlay at bottom of image */
.nrc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 16, 43, 0.55) 0%, transparent 55%);
    pointer-events: none;
}

/* Date badge on image */
.nrc-date {
    position: absolute;
    bottom: 12px;
    left: 14px;
    background: rgba(9, 16, 43, 0.68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #e2e8f0;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.28rem 0.7rem;
    border-radius: 50px;
    white-space: nowrap;
}

/* Category tag on image (top-left) */
.nrc-cat {
    position: absolute;
    top: 12px;
    left: 14px;
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
}

/* Content body */
.nrc-body {
    padding: 1.25rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.nrc-title {
    font-size: 0.975rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
    margin: 0 0 0.55rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.nrc-card:hover .nrc-title {
    color: var(--primary);
}

.nrc-excerpt {
    font-size: 0.83rem;
    color: #64748b;
    line-height: 1.58;
    margin: 0 0 auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nrc-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1.1rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.01em;
    transition: gap 0.2s;
}

.nrc-card:hover .nrc-cta {
    gap: 0.6rem;
}

@media (max-width: 640px) {
    .nrc-section { padding: 3rem 0 3.5rem; }
    .nrc-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .nrc-card { width: 260px; }
    .nrc-img { height: 170px; }
}

:root {
    --primary: #1e3a8a;
    /* NVI Brand Navy */
    --primary-light: #2d5be3;
    --secondary: #1e3a8a;
    --accent: #1e3a8a;
    --text-main: #0F172A;
    --text-muted: #475569;
    --bg-surface: #FFFFFF;
    --bg-alt: #F8FAFC;
    --border-subtle: #E2E8F0;
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 16px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 20px 24px -4px rgba(15, 23, 42, 0.08), 0 8px 8px -4px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 25px 35px -5px rgba(15, 100, 102, 0.15);
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
}

/* --- Hero Section Refinement --- */
/* ================================================================
   GLOBAL SEARCH BAND — dark band just below the hero
   ================================================================ */
.hero-search-band {
    background: linear-gradient(135deg, #07112b 0%, #0f2155 60%, #122060 100%);
    padding: 2.5rem 0 2rem;
    position: relative;
    z-index: 10;
}

.hero-search-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    max-width: 760px;
    margin: 0 auto;
}

.hs-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.hero-search-form {
    width: 100%;
    position: relative;
}

.hero-search-inner {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px) saturate(1.6);
    -webkit-backdrop-filter: blur(20px) saturate(1.6);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    border-radius: 60px;
    padding: 0.45rem 0.45rem 0.45rem 1.4rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        0 2px 8px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: background 0.2s, box-shadow 0.2s;
}

.hero-search-inner:focus-within {
    background: rgba(255, 255, 255, 0.28);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 3px rgba(255, 255, 255, 0.35);
}

.hs-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.85);
    margin-right: 0.65rem;
}

.hs-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1.05rem;
    font-family: inherit;
    line-height: 1.4;
    padding: 0.55rem 0;
    min-width: 0;
}

.hs-input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

/* remove the browser's default search cancel button */
.hs-input::-webkit-search-cancel-button { display: none; }

.hs-btn {
    flex-shrink: 0;
    background: #fff;
    color: #1e3a8a;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, transform 0.1s;
}

.hs-btn:hover  { background: #e8f0fe; }
.hs-btn:active { transform: scale(0.97); }

/* Typeahead dropdown */
.hs-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22), 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    list-style: none;
    margin: 0;
    padding: 0.4rem 0;
    z-index: 30;
}

.hs-dropdown[hidden] { display: none; }

.hs-dropdown li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1.25rem;
    cursor: pointer;
    transition: background 0.12s;
    color: #0f172a;
    font-size: 0.95rem;
    text-decoration: none;
}

.hs-dropdown li:hover,
.hs-dropdown li[aria-selected="true"] {
    background: #f1f5f9;
}

.hs-dropdown li .hs-kind {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 0.2rem 0.55rem;
    border-radius: 50px;
    flex-shrink: 0;
}

.hs-kind-news    { background: #dbeafe; color: #1d4ed8; }
.hs-kind-notice  { background: #fef3c7; color: #92400e; }
.hs-kind-service { background: #dcfce7; color: #166534; }
.hs-kind-program { background: #f3e8ff; color: #6b21a8; }

.hs-dropdown li .hs-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hs-dropdown .hs-footer {
    padding: 0.55rem 1.25rem;
    font-size: 0.82rem;
    color: #64748b;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

/* Quick-topic tags */
.hs-tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hs-tags span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.hs-tags a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.25rem 0.75rem;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    backdrop-filter: blur(8px);
}

.hs-tags a:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* Mobile */
@media (max-width: 640px) {
    .hero-search-wrap {
        bottom: 4.5rem;
    }

    .hs-input { font-size: 0.92rem; }

    .hs-btn {
        padding: 0.55rem 1rem;
        font-size: 0.85rem;
    }
}

/* ================================================================
   END GLOBAL SEARCH BAR
   ================================================================ */

.hero {
    position: relative;
    min-height: 85vh;
    /* Taller hero */
    display: block !important;
    /* Fix: Block container for stacked slides */
    background-color: #FAFAFA;
    color: var(--text-main);
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2 !important;
    opacity: 0.6;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* Ensure slide z-index handles layering */
.hero-slide {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;

    /* Flexbox to position the content at the bottom */
    display: flex !important;
    align-items: stretch;
    justify-content: center;

    /* Ensure local bg var is used */
    background-image: var(--bg);
    background-size: cover;
    background-position: center;

    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.current {
    opacity: 1;
    z-index: 3;
    /* Above other slides, below text if text is z-10 */
}

/* Ensure outgoing slide stays visible during transition */
.hero-slide.leaving {
    opacity: 1;
    z-index: 2;
}

.hero-slide.entering {
    opacity: 1;
    z-index: 4;
}

/* Remove the solid overlay that was hiding the image */
.hero-slide::before {
    display: none !important;
}

.hero-inner {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero-copy {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    /* Above canvas */
    width: fit-content;
    max-width: min(1200px, 90vw);
    min-width: min(320px, 90vw);
    /* Box hugs the copy instead of a fixed width */
    margin: 0;
    /* Center in container if needed, or rely on .container */
    padding: 1rem 2.5rem 1.5rem;
    background: rgba(255, 255, 255, var(--box-opacity, 0.75));
    backdrop-filter: blur(15px);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-lg);
    color: var(--text-main) !important;
    text-align: center;

    /* Slide in animation */
    animation: slideUpFade 0.8s ease-out forwards;
}

/* Revert the first slide to original styling */
.hero-slide:first-child .hero-copy {
    width: fit-content;
    max-width: min(900px, 90vw);
    min-width: min(320px, 90vw);
    margin: 0;
    padding: 1rem 3rem 1.5rem;
}

.hero-copy h1,
.hero-copy h2 {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--primary);
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

/* Revert the first slide's heading */
.hero-slide:first-child .hero-copy h1,
.hero-slide:first-child .hero-copy h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-copy p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.5;
}

/* Revert the first slide's paragraph */
.hero-slide:first-child .hero-copy p {
    font-size: 1.25rem;
    line-height: 1.6;
}

.hero-copy .cta-row {
    justify-content: center;
}

.hero-copy .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    /* Pill shape */
    text-transform: none;
    font-weight: 600;
    letter-spacing: 0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero-copy .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(54, 87, 151, 0.3);
}

.hero-copy .btn.primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.hero-copy .btn.ghost {
    color: var(--primary);
    border-color: var(--primary);
}

/* Mobile adjustments for Hero */
@media (max-width: 768px) {
    .hero-inner {
        padding-bottom: 0;
    }

    /* The desktop slideUpFade entrance animation fades opacity 0 -> 1 on every
       slide change. On mobile that transition window is easy to catch the
       caption looking invisible/"behind" the image. Keep the box fully
       opaque at all times on mobile instead of replaying the fade. */
    .hero-copy {
        animation: none;
    }

    /* Every slide gets the same static, always-visible box on mobile.
       Previously only the first slide kept this box and later slides used a
       scrolling marquee strip instead — but the marquee's text was only
       actually inside the visible frame for a fraction of its cycle (a
       100vw lead-in gap before entering, gone again before it repeats), so
       it read as "no caption" far more often than not. A static box avoids
       that entirely.

       Also note: uses :first-of-type (not :first-child) purely for the
       "restore true first slide" desktop-parity below — bg-animation.js
       inserts #hero-canvas as the actual first child of .hero, which would
       make :first-child never match any .hero-slide. Not load-bearing here
       since all slides now share the same rules either way. */
    .hero-copy {
        margin: 0;
        bottom: 2rem;
        padding: 0.75rem 1.25rem 1rem;
        width: 90%;
    }

    .hero-copy h1,
    .hero-copy h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .hero-copy p {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }

    .hero-copy .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* --- Section Headers --- */
.h2-underline {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    position: relative;
    display: block;
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
}

.h2-underline::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--primary);
    margin: 0.85rem auto 0;
    border-radius: 2px;
}

/* Left-aligned heading for sections with a "View All" sibling button */
.h2-section-left {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
    padding-left: 1rem;
}

.h2-section-left::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* Eyebrow label above a centered heading */
.section-eyebrow {
    display: block;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

/* --- Section Styling --- */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-bg-tint {
    background-color: var(--bg-tint);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.section-bg-alt {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-subtle);
}

.section-bg-white {
    background-color: #fff;
}

.section-bg-services,
.section-bg-events,
#publications {
    background-color: #fff;
    border-bottom: 1px solid var(--border-subtle);
}

.section-bg-news,
.section-bg-partners {
    background-color: var(--bg-tint);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

/* --- Recent Publications Section --- */
.pub-card {
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pub-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.pub-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}

.pub-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--primary);
}

.pub-title {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    flex-grow: 1;
}

.pub-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.pub-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- Find Center Widget --- */
.center-widget-box {
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.widget-form {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.widget-select {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid #cbd5e1;
    font-size: 1rem;
    min-width: 300px;
    background-color: #f8fafc;
}


/* --- Newsletter Section --- */
.newsletter-box {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 3rem;
}

.newsletter-box h2 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.newsletter-box p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    max-width: 350px;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid #cbd5e1;
    background-color: #f8fafc;
    font-size: 1rem;
    color: var(--text-main);
    transition: border-color 0.2s;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #fff;
}

.newsletter-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow-md);
}

.newsletter-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}


/* --- Connect Section Visibility Fix --- */
.section-bg-connect {
    background-color: #111827;
    /* Dark slate/navy */
    color: #fff !important;
    position: relative;
    z-index: 1;
}

.section-bg-connect .h2-underline {
    color: #fff !important;
}

.section-bg-connect .h2-underline::after {
    background: rgba(255, 255, 255, 0.45);
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.welcome-photo img {
    border-radius: var(--radius);
    box-shadow: 20px 20px 0 var(--primary-light);
    /* Solid shadow blocks */
    transition: transform 0.3s ease;
}

.welcome-photo img:hover {
    transform: scale(1.02);
}

.welcome-text h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.welcome-text .prose {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.ceo-name {
    margin-top: 2rem;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    border-left: 4px solid var(--accent);
    padding-left: 1rem;
}

/* --- Services & Events Grid Adjustments --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card-premium {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-radius: var(--radius);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.service-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.svc-icon-container {
    width: 60px;
    height: 60px;
    background: var(--bg-alt);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    transition: background 0.3s, color 0.3s;
}

.service-card-premium:hover .svc-icon-container {
    background: var(--primary);
    color: #fff;
}

.svc-content h3 {
    font-size: 1.35rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.svc-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    /* push footer down */
}

.svc-footer {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.svc-arrow {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.service-card-premium:hover .svc-arrow {
    transform: translateX(5px);
}

.event-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    border: 1px solid var(--border-subtle);
    transition: box-shadow 0.3s;
}

.event-card:hover {
    box-shadow: var(--shadow-md);
}

.event-date {
    background: var(--primary);
    color: #fff;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    text-align: center;
}

.event-date .day {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.event-date .month {
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.25rem;
    opacity: 0.9;
}

.event-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-details h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.event-details .meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin-top: 0.75rem;
}

.event-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.event-meta-item svg {
    flex-shrink: 0;
    stroke: var(--primary);
    opacity: 0.7;
}

/* --- CTA Animated Section Overrides --- */
.cta-inner {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
}

.cta-inner h2 {
    color: var(--primary) !important;
    font-weight: 800;
}

.cta-inner .btn {
    background-color: #1e3a8a !important;
    border-color: #1e3a8a !important;
    color: #fff !important;
    border-radius: 50px;
}

/* Animations */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translate(-50%, 30px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* --- Partners (Tint) --- */
.section-bg-partners {
    background-color: #f8fafc;
    /* Slightly lighter slate */
    border-top: 1px solid var(--border-subtle);
}

/* --- Partners Rail --- */
.partners-rail {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 1rem 0;
}

.partners-track {
    display: inline-flex;
    animation: scrollPartners 40s linear infinite;
    gap: 1rem;
}

.partner-card {
    width: 180px;
    height: 100px;
    padding: 0 1.5rem;
    box-sizing: content-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    transition: transform 0.2s;
}

.partner-card img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain !important;
    /* Fix truncation */
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.partner-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partner-card figcaption {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0;
    /* Hidden by default for clean look */
    transition: opacity 0.3s;
    text-align: center;
    white-space: normal;
    /* Allow wrapping */
}

@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partners-section {
    background-color: #f8fafc;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.partner-card a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    border-radius: 8px;
}

.partner-card a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

/* Pause the marquee on hover or keyboard focus so logos/links can be read */
.partners-rail:hover .partners-track,
.partners-rail:focus-within .partners-track {
    animation-play-state: paused;
}

.partner-card:hover figcaption,
.partner-card:focus-within figcaption {
    opacity: 1;
}

/* Respect reduced-motion: freeze the marquee and let it wrap as a static row */
@media (prefers-reduced-motion: reduce) {
    .partners-rail {
        overflow-x: auto;
        white-space: normal;
    }

    .partners-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
    }

    .partners-track figure[aria-hidden="true"] {
        display: none;
    }
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {

    .hero-copy h1,
    .hero-copy h2 {
        font-size: 2rem;
    }

    .welcome-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .welcome-photo {
        order: -1;
        margin-bottom: 2rem;
    }
}

/* --- Premium Inline Service Expansion --- */

/* Wrapper Structure */
.service-card-wrapper {
    display: flex;
    flex-direction: column;
    /* Important for grid placement when expanding */
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
}

/* Expanded State: Takes full row */
.service-card-wrapper.expanded {
    grid-column: 1 / -1;
    margin-bottom: 2rem;
    z-index: 10;
}

/* Base Card Style */
.service-card-premium {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--shadow-sm);
}

/* Hover Effect (Non-Expanded) */
.service-card-wrapper:not(.expanded) .service-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

/* "Active" Card Header (When Expanded) */
.service-card-wrapper.expanded .service-card-premium {
    border-radius: 12px 12px 0 0;
    /* Open bottom */
    background: var(--primary);
    /* Brand Color Background */
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Horizontal Layout Transformation */
    flex-direction: row;
    align-items: center;
    height: auto;
    padding: 1.5rem 2rem;
    gap: 1.5rem;
}

/* Adjust children when expanded (White Text) */
.service-card-wrapper.expanded .service-card-premium h3,
.service-card-wrapper.expanded .service-card-premium p,
.service-card-wrapper.expanded .svc-footer {
    color: #fff !important;
    margin: 0;
}

.service-card-wrapper.expanded .svc-icon-container {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    margin: 0;
}

.service-card-wrapper.expanded .svc-content {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
}

.service-card-wrapper.expanded .svc-content h3 {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.service-card-wrapper.expanded .svc-content p {
    flex: 1;
    font-size: 1rem;
    opacity: 0.9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 2rem;
    /* Hide summary if overly long in bar */
    max-width: 400px;
}

@media(max-width: 900px) {
    .service-card-wrapper.expanded .svc-content p {
        display: none;
    }
}

.service-card-wrapper.expanded .svc-link-text {
    display: none;
    /* Hide 'View Details' text, just show chevron */
}

.service-card-wrapper.expanded .svc-arrow svg {
    transform: rotate(180deg);
    color: #fff;
    width: 28px;
    height: 28px;
}

/* Triangle Pointing Down Indicator */
.service-card-wrapper.expanded .service-card-premium::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    /* Ideally centered, or follows click? centering is safer */
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid var(--primary);
    z-index: 20;
}

/* Expanded Details Pane */
.svc-inline-details {
    background: #f8fafc;
    /* Light grey/slate tint */
    border: 1px solid var(--border-subtle);
    border-top: none;
    border-radius: 0 0 16px 16px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    position: relative;
    /* Subtle inner glow */
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

    animation: slideDownFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: top;
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: scaleY(0.95) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: scaleY(1) translateY(0);
    }
}

.svc-inline-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.svc-details-header {
    display: none;
    /* Hidden because we use the active card as the header now! */
}

.svc-details-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.svc-details-media img {
    border-radius: 12px;
    width: 100%;
    box-shadow: var(--shadow-md);
    /* Float animation */
    animation: floatIn 0.6s ease-out backwards 0.1s;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.svc-details-body {
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.7;
    animation: floatIn 0.6s ease-out backwards 0.2s;
}

.svc-details-body .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.svc-details-body p {
    margin-bottom: 1.5rem;
    color: #4b5563;
}

/* Close/Collapse Logic - Reusing same card */

/* Responsive Stacking */
@media (max-width: 768px) {
    .service-card-wrapper.expanded .service-card-premium {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .service-card-wrapper.expanded .svc-content {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .service-card-wrapper.expanded .svc-arrow {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }

    .svc-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* --- Corporate "Wow" Modal Styles (Glassmorphism) --- */
.service-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem;
}

.service-modal-backdrop.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.service-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    /* Navy tint */
    backdrop-filter: blur(6px);
    transition: background 0.3s ease;
}

.service-modal-container {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9) translateY(40px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.service-modal-backdrop.open .service-modal-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.service-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(239, 246, 255, 0.8);
    /* Slightly more opaque/blue tint backdrop for contrast */
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b !important;
    /* Force Dark Slate/Ink */
    cursor: pointer;
    transition: all 0.2s;
    z-index: 20;
}

.service-modal-close svg {
    stroke: #1e293b !important;
    width: 24px;
    height: 24px;
}

.service-modal-close:hover {
    background: #fff;
    color: var(--primary);
    transform: rotate(90deg);
    box-shadow: var(--shadow-md);
}

.service-modal-content-inner {
    padding: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    height: 100%;
}

.modal-svc-header {
    background: transparent;
    padding: 3rem 3rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
}

.modal-svc-icon {
    width: 4rem;
    height: 4rem;
    background: var(--primary);
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 800;
    box-shadow: 0 10px 15px -3px rgba(54, 87, 151, 0.3);
}

.modal-svc-title {
    font-size: 2.25rem;
    margin: 0;
    color: var(--text-main);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.modal-svc-meta {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.modal-svc-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.modal-svc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-svc-body {
    padding: 3rem;
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.7;
}

.modal-svc-body p {
    margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
    .modal-svc-header {
        padding: 2rem 1.5rem;
        flex-direction: column;
    }

    .modal-svc-body {
        padding: 2rem 1.5rem;
    }
}

/* --- Mobile Optimization (Latest) --- */
@media (max-width: 768px) {

    /* Global Adjustments */
    :root {
        --radius: 8px;
    }

    /* Force scroll on mobile */
    html,
    body {
        overflow-x: hidden;
        overflow-y: auto !important;
        height: auto;
    }

    .section {
        padding: 3rem 0;
        /* Reduced padding from large defaults */
    }

    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* Typography Scaling */
    h1,
    .hero-copy h1,
    .hero-copy h2 {
        font-size: 2rem;
    }

    .hero-slide:first-child .hero-copy h1,
    .hero-slide:first-child .hero-copy h2 {
        font-size: 2.5rem;
    }

    .h2-underline {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .h2-section-left {
        font-size: 1.4rem;
    }

    .section-eyebrow {
        font-size: 0.72rem;
    }

    /* Hero Section */
    .hero {
        min-height: 60vh;
        /* Compact hero */
    }

    .hero-copy {
        width: auto;
        margin: 3rem 1rem 0;
        padding: 1.5rem;
        /* Tighter padding */
    }

    .hero-slide:first-child .hero-copy {
        margin: 0 1rem;
    }

    .hero-copy p {
        font-size: 1rem;
        line-height: 1.4;
    }

    .hero-copy .btn {
        width: 100%;
        /* Full width buttons */
        margin-bottom: 0.5rem;
        display: block;
        text-align: center;
    }

    .cta-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Welcome Section */
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .welcome-photo {
        margin: 0 auto 1.5rem;
        max-width: 300px;
    }

    /* Impact Stats - 2x2 Grid */
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* 2 cols */
        gap: 1rem;
    }

    .stat-card {
        padding: 1rem;
    }

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

    /* Services - Stacked handled by previous @media, ensuring spacing */
    .services-grid {
        gap: 1.5rem;
    }

    /* Find Center - Stacked */
    .find-center-box {
        padding: 1.5rem;
        flex-direction: column;
    }

    .find-center-form {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .find-center-form select,
    .find-center-form button {
        width: 100%;
        margin: 0;
    }

    /* Publications - Stack Cards */
    #publications .row {
        display: flex;
        flex-direction: column;
    }

    #publications .col-md-4 {
        width: 100%;
        max-width: 100%;
    }

    /* Events & News Grids */
    .event-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    /* Newsletter Stack */
    .newsletter-box {
        padding: 2rem 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-input,
    .newsletter-btn {
        width: 100%;
        margin: 0;
    }

    /* Social Hub */
    .social-hub {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cards per row on mobile */
    }

    /* Footer Stack */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    /* Make sure hidden elements stay hidden */
    .desktop-only {
        display: none !important;
    }
}

@media (max-width: 400px) {

    /* Very small screens */
    .stats-grid {
        grid-template-columns: 1fr;
        /* 1 col */
    }

    .hero-copy h1 {
        font-size: 1.75rem !important;
    }
}

/* --- Redesigned CEO Card Section --- */
.ceo-message-card {
    display: flex;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.ceo-visual {
    flex: 0 0 42%;
    position: relative;
    min-height: 420px;
    background: linear-gradient(145deg, #b8d0e8 0%, #cddff2 45%, #e4eef8 100%);
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 1.5rem 1.25rem;
}

/* subtle vignette overlay for depth */
.ceo-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, transparent 55%, rgba(10,30,80,0.12) 100%);
    pointer-events: none;
    z-index: 0;
}

.ceo-visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    /* no fixed height — image determines its own height so the full person is always shown */
    object-fit: cover;
    object-position: center top; /* anchor face at top; photo background may crop at sides/bottom */
    display: block;
    border-radius: 16px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.22),
        0 6px 18px rgba(0, 0, 0, 0.12);
}

.ceo-content {
    flex: 1;
    padding: 3rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Quote/Label */
.ceo-label {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: rgba(54, 87, 151, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.ceo-header h2 {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.ceo-body {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    text-align: justify;
}

.ceo-body p {
    margin-bottom: 0.75rem;
}

.ceo-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

.ceo-sig {
    display: flex;
    flex-direction: column;
}

.ceo-sig strong {
    font-size: 1.15rem;
    color: var(--text-main);
}

.ceo-sig span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.ceo-brand-icon {
    color: var(--primary);
    opacity: 0.8;
}

/* Mobile Responsive For CEO Card */
@media (max-width: 900px) {
    .ceo-message-card {
        flex-direction: column;
    }

    .ceo-visual {
        flex: none;
        width: 100%;
        padding: 1.25rem 1rem;
        /* height driven by image aspect ratio — no max-height clipping */
    }

    .ceo-content {
        padding: 2rem 1.5rem;
    }

    .ceo-header h2 {
        font-size: 1.6rem;
    }

    .ceo-body {
        font-size: 1rem;
    }
}

/* ================================================================
   SERVICES SECTION — ORBITAL RING · LIGHT THEME
   ================================================================ */

.section-bg-services {
    background: #0a1628 url('hero-services.jpg') center center / cover no-repeat;
    border-top: none;
    border-bottom: none;
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

.section-bg-services::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 12, 38, 0.83);
    z-index: 1;
    pointer-events: none;
}

/* ---- Ambient blobs ---- */
.svc-scene {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.svc-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
}

.svc-blob-1 {
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.05), transparent 65%);
    top: -160px;
    left: -130px;
    animation: svcBlob1 24s ease-in-out infinite;
}

.svc-blob-2 {
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.04), transparent 65%);
    top: 18%;
    right: -110px;
    animation: svcBlob2 30s ease-in-out infinite;
}

.svc-blob-3 {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.03), transparent 65%);
    bottom: -60px;
    left: 42%;
    animation: svcBlob3 20s ease-in-out infinite;
}

.svc-blob-4 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.04), transparent 65%);
    top: 60%;
    left: 6%;
    animation: svcBlob1 18s ease-in-out infinite reverse;
}

@keyframes svcBlob1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(70px, 80px) scale(1.07);
    }

    50% {
        transform: translate(110px, 20px) scale(0.94);
    }

    75% {
        transform: translate(30px, 110px) scale(1.05);
    }
}

@keyframes svcBlob2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-60px, 50px) scale(1.06);
    }

    66% {
        transform: translate(-90px, -40px) scale(0.92);
    }
}

@keyframes svcBlob3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(60px, -55px) scale(1.12);
    }

    66% {
        transform: translate(-55px, 40px) scale(0.9);
    }
}

.section-bg-services .container,
.find-center-section .container {
    position: relative;
    z-index: 2;
}

/* ---- Section header ---- */
.services-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-title {
    display: block;
    font-size: clamp(2rem, 5vw, 3.1rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.services-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    background: rgba(255, 255, 255, 0.55);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.services-subtitle {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ================================================================
   ORBITAL RING
   ================================================================ */

.svc-interactive {
    position: relative;
    min-height: 840px;
}

/* ---- Ring view ---- */
.svc-ring-view {
    position: relative;
    width: 840px;
    height: 840px;
    max-width: 100%;
    margin: 0 auto;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.svc-ring-view.svc-ring-hidden {
    opacity: 0;
    transform: scale(0.82);
    pointer-events: none;
}

/* Orbit track circle */
.svc-orbit-track {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Hub */
.svc-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 190px;
    height: 190px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow:
        0 0 0 10px rgba(255, 255, 255, 0.08),
        0 0 0 22px rgba(255, 255, 255, 0.04),
        0 8px 40px rgba(0, 0, 0, 0.5);
    animation: svcHubPulseNavy 4s ease-in-out infinite;
}

.svc-hub-logo-img {
    width: 158px;
    height: 158px;
    object-fit: contain;
    border-radius: 50%;
    display: block;
}

@keyframes svcHubPulseNavy {

    0%,
    100% {
        box-shadow:
            0 0 0 10px rgba(255, 255, 255, 0.08),
            0 0 0 22px rgba(255, 255, 255, 0.04),
            0 8px 40px rgba(0, 0, 0, 0.5);
    }

    50% {
        box-shadow:
            0 0 0 14px rgba(255, 255, 255, 0.12),
            0 0 0 30px rgba(255, 255, 255, 0.06),
            0 8px 55px rgba(0, 0, 0, 0.6);
    }
}

.svc-hub-inner {
    text-align: center;
}

.svc-hub-logo {
    font-size: 1.7rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.05em;
    line-height: 1;
}

.svc-hub-sub {
    font-size: 0.62rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-top: 3px;
}

/* Ring rotation */
.svc-ring {
    position: absolute;
    inset: 0;
    animation: svcRingRotate 42s linear infinite;
}

@keyframes svcRingRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.svc-ring.svc-ring-paused,
.svc-ring.svc-ring-paused .svc-card-counter {
    animation-play-state: paused;
}

/* Pause ring when hovering any card */
.svc-interactive:has(.svc-orbit-card:hover) .svc-ring,
.svc-interactive:has(.svc-orbit-card:hover) .svc-card-counter {
    animation-play-state: paused;
}

/* Orbit cards */
.svc-orbit-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 182px;
    height: 182px;
    margin-top: -91px;
    margin-left: -91px;
    transform: rotate(var(--angle, 0deg)) translateX(var(--ring-radius, 320px)) rotate(calc(-1 * var(--angle, 0deg)));
    cursor: pointer;
    outline: none;
}

.svc-card-counter {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: svcCounterSpin 42s linear infinite;
}

@keyframes svcCounterSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

.svc-card-face {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 14px;
    box-shadow:
        0 4px 20px rgba(30, 58, 138, 0.1),
        0 0 0 1px rgba(30, 58, 138, 0.1);
    border: 1.5px solid rgba(30, 58, 138, 0.14);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: transform;
}

.svc-orbit-card:hover .svc-card-face,
.svc-orbit-card:focus-visible .svc-card-face {
    transform: scale(1.12);
    box-shadow:
        0 12px 36px rgba(30, 58, 138, 0.2),
        0 0 0 2px rgba(30, 58, 138, 0.25);
    border-color: rgba(30, 58, 138, 0.4);
}

.svc-card-icon {
    width: 68px;
    height: 68px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    font-weight: 700;
    color: #1e3a8a;
    flex-shrink: 0;
}

.svc-card-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    text-align: center;
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    max-width: 144px;
}

/* Ring hint text */
.svc-ring-hint {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    white-space: nowrap;
    pointer-events: none;
    margin: 0;
}

/* ================================================================
   DETAIL PANEL
   ================================================================ */

.svc-detail-panel {
    position: absolute;
    inset: 0;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: scale(0.1);
    pointer-events: none;
    transition:
        opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-detail-panel.svc-detail-visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* Close button (X icon, top-right) */
.svc-close-btn {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    z-index: 20;
    width: 42px;
    height: 42px;
    background: #ffffff;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: background 0.2s, border-color 0.2s, transform 0.25s, box-shadow 0.2s;
    flex-shrink: 0;
    padding: 0;
}

.svc-close-btn:hover {
    background: #fee2e2;
    border-color: #f87171;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.25);
    transform: rotate(90deg) scale(1.1);
}

.svc-close-btn svg {
    display: block;
    stroke: #374151;
}

.svc-close-btn:hover svg {
    stroke: #dc2626;
}

/* Scrollable inner content */
.svc-detail-inner {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.12) transparent;
}

.svc-detail-inner::-webkit-scrollbar {
    width: 5px;
}

.svc-detail-inner::-webkit-scrollbar-track {
    background: transparent;
}

.svc-detail-inner::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 3px;
}

/* Detail hero */
.svc-detail-hero {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 2rem 3.5rem 1.75rem 2rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border-bottom: 1px solid #dbeafe;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.svc-detail-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.07), transparent 65%);
    pointer-events: none;
}

.svc-detail-hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -30px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.04), transparent 65%);
    pointer-events: none;
}

.svc-detail-icon-wrap {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 20px;
    background: #eff6ff;
    border: 2px solid #bfdbfe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: #1e3a8a;
    box-shadow:
        0 0 0 5px rgba(30, 58, 138, 0.07),
        0 6px 24px rgba(30, 58, 138, 0.15);
    position: relative;
    z-index: 1;
}

.svc-detail-title {
    font-size: clamp(1.2rem, 2.5vw, 1.65rem) !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.2 !important;
    position: relative;
    z-index: 1;
}

/* Detail image */
.svc-detail-img-wrap {
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.svc-detail-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6));
    pointer-events: none;
}

.svc-detail-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Detail body */
.svc-detail-body {
    padding: 1.5rem 2rem 2rem;
    color: #475569;
    line-height: 1.75;
    flex: 1;
}

.svc-detail-lead {
    font-size: 1rem;
    color: #334155;
    line-height: 1.72;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.svc-detail-body p,
.svc-detail-body li {
    color: #475569;
    font-size: 0.93rem;
    line-height: 1.75;
}

.svc-detail-body h2,
.svc-detail-body h3,
.svc-detail-body h4 {
    color: #0f172a;
    margin-top: 1.5rem;
    font-size: 1.05rem;
}

.svc-detail-body a {
    color: var(--primary);
}

.svc-detail-body ul,
.svc-detail-body ol {
    padding-left: 1.35rem;
    margin-bottom: 1rem;
}

/* ---- Quick links ---- */
.section-bg-services .quick-links {
    justify-content: center;
    margin-top: 2.5rem;
}

.section-bg-services .ql {
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1.15rem;
    font-size: 0.84rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.section-bg-services .ql:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
}

/* ---- Pagination ---- */
.section-bg-services .pagination a,
.section-bg-services .pagination span {
    color: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.section-bg-services .pagination a:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
}

.section-bg-services .pagination .activepage {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}

/* ---- Empty state ---- */
.section-bg-services .muted {
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding: 3rem;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
    .services-section-header {
        margin-bottom: 2rem;
    }

    .svc-interactive {
        min-height: 580px;
    }

    .svc-ring-view {
        width: 100%;
        height: 580px;
    }

    .svc-orbit-card {
        width: 138px;
        height: 138px;
        margin-top: -69px;
        margin-left: -69px;
    }

    .svc-card-icon {
        width: 54px;
        height: 54px;
        font-size: 1.4rem;
    }

    .svc-card-label {
        font-size: 0.72rem;
        max-width: 108px;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .svc-hub {
        width: 136px;
        height: 136px;
    }

    .svc-hub-logo-img {
        width: 112px;
        height: 112px;
    }

    .svc-hub-logo {
        font-size: 1.2rem;
    }

    .svc-hub-sub {
        font-size: 0.55rem;
    }

    .svc-detail-panel {
        min-height: 480px;
    }

    .svc-detail-hero {
        padding: 1.5rem 3rem 1.25rem 1.25rem;
    }

    .svc-detail-body {
        padding: 1.25rem 1.25rem 1.75rem;
    }

    .svc-blob-2,
    .svc-blob-3,
    .svc-blob-4 {
        display: none;
    }
}

/* ================================================================
   SEAMLESS SECTION FLOW — diagonal bleed between sections
   ================================================================ */

/* Define --bg-tint if not already set */
:root {
    --bg-tint: #f1f5f9;
}

/* Strip all hard 1px borders between sections */
.section-bg-tint,
.section-bg-alt,
.section-bg-services,
.section-bg-events,
.section-bg-news,
.section-bg-partners,
#publications,
.find-center-section,
.stats-section {
    border: none !important;
}

/* Services section: allow ::after to bleed below
   (blobs stay contained inside .svc-scene which has overflow:hidden) */
.section-bg-services {
    overflow: visible;
}

/* Z-index stacking — each section sits above the one after it */
.welcome-section {
    position: relative;
    z-index: 11;
}

.stats-section {
    z-index: 10;
}

.cta-animated {
    position: relative;
    z-index: 9;
    margin-bottom: 2.5rem;
}

.section-bg-services {
    z-index: 8;
}

.find-center-section {
    position: relative;
    z-index: 7;
    background: #0d1f3c url('hero-find-center.jpg') center 40% / cover no-repeat;
    border: none;
    overflow: visible;
}

.find-center-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 12, 38, 0.83);
    z-index: 1;
    pointer-events: none;
}

.section-bg-events {
    z-index: 6;
}

.section-bg-news {
    z-index: 5;
}

#publications {
    z-index: 4;
}

.section-bg-partners {
    z-index: 3;
}

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

.section-bg-connect {
    z-index: 1;
}

/* Shared ::after diagonal bleed properties */
.welcome-section::after,
.stats-section::after,
.section-bg-services::after,
.find-center-section::after,
.section-bg-events::after,
.section-bg-news::after,
#publications::after,
.section-bg-partners::after {
    content: '';
    position: absolute;
    bottom: -32px;
    left: -2%;
    right: -2%;
    height: 64px;
    pointer-events: none;
    z-index: 2;
}

/* Alternate skew direction: A = right side dips (/), B = left side dips (\) */
.welcome-section::after,
.section-bg-services::after,
.section-bg-events::after,
#publications::after {
    transform: skewY(-1.8deg);
    transform-origin: top right;
}

.stats-section::after,
.find-center-section::after,
.section-bg-news::after,
.section-bg-partners::after {
    transform: skewY(1.8deg);
    transform-origin: top left;
}

/* Explicit background colours for each bleed shape */
.welcome-section::after {
    background: #ffffff;
}

.stats-section::after {
    background: #f1f5f9;
}

.section-bg-services::after {
    background: #f1f5f9;
}

.find-center-section::after {
    background: #ffffff;
}

.section-bg-events::after {
    background: #ffffff;
}

.section-bg-news::after {
    background: #f1f5f9;
}

#publications::after {
    background: #ffffff;
}

.section-bg-partners::after {
    background: #f8fafc;
}

/* Mobile: reduce diagonal depth */
@media (max-width: 640px) {

    .welcome-section::after,
    .stats-section::after,
    .section-bg-services::after,
    .find-center-section::after,
    .section-bg-events::after,
    .section-bg-news::after,
    #publications::after,
    .section-bg-partners::after {
        bottom: -20px;
        height: 40px;
    }
}
/* ================================================================
   STAT CARDS — clickable + modal
   ================================================================ */
.stat-card--clickable {
    all: unset;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: transform .2s, box-shadow .2s;
}
.stat-card--clickable:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 32px rgba(0,0,0,.22);
}
.stat-card--clickable:focus-visible {
    outline: 3px solid rgba(255,255,255,.7);
    outline-offset: 3px;
}
.stat-card-hint {
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    margin-top: .55rem;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .2s, transform .2s;
}
.stat-card--clickable:hover .stat-card-hint {
    opacity: 1;
    transform: translateY(0);
}

/* ── Modal backdrop ─────────────────────────────────── */
.stat-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5,12,38,.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: smFadeIn .2s ease;
}
.stat-modal-backdrop[hidden] { display: none; }

@keyframes smFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Modal box ──────────────────────────────────────── */
.stat-modal-box {
    background: linear-gradient(145deg, #0d1f4a 0%, #1a3570 100%);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;
    max-width: 480px;
    width: 100%;
    padding: 2.5rem 2.25rem 2.25rem;
    position: relative;
    box-shadow:
        0 32px 80px rgba(0,0,0,.45),
        0 0 0 1px rgba(255,255,255,.06) inset;
    animation: smSlideUp .25s cubic-bezier(.34,1.4,.64,1);
    color: #fff;
    text-align: center;
}

@keyframes smSlideUp {
    from { transform: translateY(24px) scale(.96); opacity: 0; }
    to   { transform: translateY(0)    scale(1);   opacity: 1; }
}

.stat-modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    background: rgba(255,255,255,.1);
    border: none; border-radius: 50%;
    width: 32px; height: 32px;
    font-size: 1.2rem; line-height: 1;
    color: rgba(255,255,255,.75);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s, color .15s;
}
.stat-modal-close:hover { background: rgba(255,255,255,.2); color: #fff; }

.stat-modal-inner { display: flex; flex-direction: column; align-items: center; gap: .6rem; }

.stat-modal-icon {
    font-size: 2.8rem;
    line-height: 1;
    margin-bottom: .25rem;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.3));
}
.stat-modal-num {
    font-size: 3.6rem;
    font-weight: 900;
    letter-spacing: -.03em;
    line-height: 1;
    background: linear-gradient(135deg, #fff 30%, rgba(255,255,255,.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-modal-lbl {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
}
.stat-modal-desc {
    font-size: .97rem;
    line-height: 1.7;
    color: rgba(255,255,255,.82);
    margin: .75rem 0 0;
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 1.1rem;
    white-space: pre-wrap;
    text-align: left;
}

@media (max-width: 500px) {
    .stat-modal-box { padding: 2rem 1.5rem 1.75rem; }
    .stat-modal-num { font-size: 2.8rem; }
}
/* ================================================================
   END STAT MODAL
   ================================================================ */

/* ================================================================
   SHARED PAGE HERO  (services-style, used by events/faq/gallery/downloads)
   ================================================================ */
.ph-hero {
    position: relative; min-height: 480px;
    overflow: hidden; display: flex; align-items: flex-end;
    background: #07112b;
}
.ph-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
    animation: phKbZoom 9s ease-in-out infinite alternate;
}
.ph-slide.active { opacity: 1; }
@keyframes phKbZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.ph-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(5,12,38,.5) 0%, rgba(5,12,38,.82) 100%);
    pointer-events: none;
}
.ph-inner {
    position: relative; z-index: 2;
    padding-top: 7rem; padding-bottom: 3.5rem; width: 100%;
}
.ph-breadcrumb {
    display: flex; align-items: center; gap: .4rem;
    font-size: .78rem; color: rgba(255,255,255,.6); margin-bottom: 1rem;
}
.ph-breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.ph-breadcrumb a:hover { color: #fff; }
.ph-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900;
    color: #fff; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .7rem;
}
.ph-hero-sub {
    font-size: 1.05rem; color: rgba(255,255,255,.78);
    max-width: 560px; line-height: 1.6; margin: 0;
}
.ph-dots {
    position: absolute; bottom: 1.1rem; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: .4rem; z-index: 3;
}
.ph-dots span {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255,255,255,.35); cursor: pointer;
    transition: background .3s, transform .3s;
}
.ph-dots span.active { background: #fff; transform: scale(1.3); }
@media(max-width: 600px) {
    .ph-hero { min-height: 360px; }
    .ph-inner { padding-top: 5rem; padding-bottom: 2.5rem; }
    .ph-breadcrumb { display: none; }
}
/* END SHARED PAGE HERO */
