/* ==========================================================================
   INAPS Circles — Unified Shared Stylesheet (DIS Ecosystem)
   Compliant with WCAG AAA and White Paper / Print-Readiness Standards
   Zero Emoji Policy strictly enforced.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    --bg-page: #FFFFFF;
    --bg-surface: #F8FAFC;
    --bg-surface-elevated: #FFFFFF;
    --border-card: #CBD5E1;
    --border-subtle: #E2E8F0;
    --text-heading: #0F172A;
    --text-body: #1E293B;
    --text-muted: #475569;
    --accent-green: #0033FF;
    --accent-green-neon: #0033FF;
    --accent-green-dark: #0022AA;
    --accent-green-light: rgba(0, 51, 255, 0.12);
    --accent-amber: #854D0E;
    --accent-amber-light: #FEF3C7;
    --accent-blue: #1E40AF;
    --accent-blue-light: #EFF6FF;
    --max-w: 1240px;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-page);
    color: var(--text-body);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   TOP NAVIGATION BAR & DROPDOWN MENU
   ========================================================================== */
.nav-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.brand-cluster {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-heading);
    flex-shrink: 0;
    white-space: nowrap;
}

.brand-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-text-block {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}

.brand-title {
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-heading);
    line-height: 1.1;
    white-space: nowrap;
}

.brand-sub {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-green);
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(0.6rem, 1.2vw, 1.4rem);
    list-style: none;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-links li {
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: clamp(0.78rem, 0.82vw, 0.88rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color 0.15s ease;
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.nav-links a:hover {
    color: var(--accent-green);
}

.nav-links a.active {
    color: var(--accent-green);
    font-weight: 700;
    position: relative;
}

/* Programs Dropdown */
.nav-dropdown-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.dropdown-trigger {
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-muted);
    font-size: clamp(0.78rem, 0.82vw, 0.88rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color 0.15s ease;
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}

.dropdown-trigger:hover,
.dropdown-trigger.active,
.nav-dropdown-wrap:hover .dropdown-trigger,
.nav-dropdown-wrap.open .dropdown-trigger {
    color: var(--accent-green);
}

.dropdown-caret {
    transition: transform 0.2s ease;
}

.nav-dropdown-wrap:hover .dropdown-caret,
.nav-dropdown-wrap.open .dropdown-caret {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    padding: 0.6rem;
    min-width: 290px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-dropdown-wrap::before {
    content: '';
    position: absolute;
    top: 100%;
    left: -10px;
    right: -10px;
    height: 18px;
}

.nav-dropdown-wrap:hover .nav-dropdown-menu,
.nav-dropdown-wrap.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-heading);
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown-item:hover {
    background: #F1F5F9;
    color: var(--accent-green);
}

.nav-dropdown-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(0, 51, 255, 0.08);
    color: var(--accent-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-dropdown-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.nav-dropdown-item-title {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.2;
}

.nav-dropdown-item:hover .nav-dropdown-item-title {
    color: var(--accent-green);
}

.nav-dropdown-item-sub {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.2;
}

/* CTAs */
.nav-cta-cluster {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    color: var(--text-heading);
    padding: 0.55rem 1.15rem;
    border-radius: 9999px;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap !important;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--bg-surface);
    border-color: var(--text-heading);
}

.btn-portal-entry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: var(--accent-green);
    color: #FFFFFF !important;
    padding: 0.55rem 1.15rem;
    border-radius: 9999px;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap !important;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 51, 255, 0.25);
    transition: all 0.2s ease;
}

.btn-portal-entry:hover {
    background: var(--accent-green-dark);
    box-shadow: 0 4px 14px rgba(0, 51, 255, 0.35);
    transform: translateY(-1px);
}

/* ==========================================================================
   PAGE HERO & SECTION CONTAINERS
   ========================================================================== */
.page-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem 1.5rem;
}

.hero-banner {
    padding: 3.5rem 0 2.5rem 0;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.35rem 0.9rem;
    background: var(--accent-green-light);
    color: var(--accent-green-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 9999px;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2.2rem, 3.8vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--text-heading);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.12rem;
    color: var(--text-muted);
    max-width: 820px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Standard Section Block */
.section-block {
    margin-bottom: 4rem;
}

.section-head {
    margin-bottom: 2rem;
}

.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-green);
    margin-bottom: 0.4rem;
    display: block;
}

.section-heading {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 0.5rem;
    max-width: 800px;
}

/* Card Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.content-card {
    background: #FFFFFF;
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.content-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    border-color: var(--accent-green);
}

/* ==========================================================================
   FOOTER (Identical to Site G index.html brand green)
   ========================================================================== */
footer.site-footer {
    background: var(--accent-green);
    color: #F0FDF4;
    padding: 4rem 1.5rem 2rem 1.5rem;
    border-top: 1px solid var(--accent-green-dark);
    position: relative;
    z-index: 10;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand h4 {
    color: #FFFFFF;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.footer-brand p {
    color: rgba(0, 51, 255, 0.12);
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 440px;
}

.footer-col h5 {
    color: #FFFFFF;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-col a {
    color: #BBF7D0;
    text-decoration: none;
    font-size: 0.84rem;
    transition: color 0.15s ease;
}

.footer-col a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    max-width: var(--max-w);
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: rgba(0, 51, 255, 0.12);
}

/* Responsive */
@media (max-width: 1060px) {
    .nav-links {
        display: none;
    }
}

@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .grid-4, .grid-3 {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
