/* ============================================================
   NANS GRANT PORTAL — Master Stylesheet
   Fonts: Space Grotesk (hero) + Montserrat (headings) + Poppins (body)
   Colors: Green + Gold/Yellow + White
   Radius: 16px - 24px
   ============================================================ */

/* ---- Custom Properties ---- */
:root {
    --green:           #008751;
    --green-dark:      #005F39;
    --green-darker:    #003D25;
    --green-light:     #E8F5EE;
    --green-lighter:   #F0FDF4;
    --green-success:   #16A34A;

    --gold:            #FFD700;
    --gold-dark:       #C4A500;
    --gold-light:      #FFFBEB;

    --white:           #FFFFFF;
    --off-white:       #FAFBFC;
    --gray-50:         #F8F9FA;
    --gray-100:        #F1F3F5;
    --gray-200:        #E5E7EB;
    --gray-300:        #D1D5DB;
    --gray-400:        #9CA3AF;
    --gray-500:        #6B7280;
    --gray-600:        #4B5563;
    --gray-700:        #374151;
    --gray-800:        #1F2937;
    --gray-900:        #111827;

    --red:             #DC2626;
    --red-light:       #FEF2F2;
    --blue:            #2563EB;

    /* Fonts */
    --font-hero:       'Space Grotesk', sans-serif;
    --font-heading:    'Montserrat', sans-serif;
    --font-body:       'Poppins', sans-serif;

    /* Radius */
    --radius:          16px;
    --radius-lg:       20px;
    --radius-xl:       24px;
    --radius-full:     9999px;

    /* Shadows */
    --shadow-xs:       0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm:       0 2px 6px rgba(0, 0, 0, 0.06);
    --shadow-md:       0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg:       0 8px 32px rgba(0, 0, 0, 0.10);
    --shadow-xl:       0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-green:    0 8px 24px rgba(0, 135, 81, 0.25);
    --shadow-gold:     0 8px 24px rgba(255, 215, 0, 0.30);

    /* Transitions */
    --ease:            cubic-bezier(0.4, 0, 0.2, 1);
    --duration:        0.3s;
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    color: var(--gray-900);
}

a {
    color: var(--green);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}
a:hover { color: var(--green-dark); }

img { max-width: 100%; height: auto; }

.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    padding: 8px 16px;
    background: var(--green);
    color: white;
    z-index: 9999;
}
.skip-link:focus { top: 0; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes checkDraw {
    0%   { stroke-dashoffset: 30; }
    100% { stroke-dashoffset: 0; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.6; }
}

@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Animate on scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.animate-on-scroll.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.animate-on-scroll.animate-visible:nth-child(1) { transition-delay: 0.05s; }
.animate-on-scroll.animate-visible:nth-child(2) { transition-delay: 0.10s; }
.animate-on-scroll.animate-visible:nth-child(3) { transition-delay: 0.15s; }
.animate-on-scroll.animate-visible:nth-child(4) { transition-delay: 0.20s; }
.animate-on-scroll.animate-visible:nth-child(5) { transition-delay: 0.25s; }
.animate-on-scroll.animate-visible:nth-child(6) { transition-delay: 0.30s; }

.animate-fade-in {
    animation: fadeIn 0.5s var(--ease) both;
}

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nans-navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    padding: 14px 0;
    transition: all 0.4s var(--ease);
    z-index: 1030;
}

.nans-navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.nans-logo-img { object-fit: contain; }

.nans-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.nans-brand-main {
    font-family: var(--font-hero);
    font-size: 20px;
    font-weight: 700;
    color: var(--green);
    letter-spacing: -0.5px;
}

.nans-brand-sub {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nans-navbar .nav-link {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: all var(--duration) var(--ease);
    position: relative;
}

.nans-navbar .nav-link:hover,
.nans-navbar .nav-link.active {
    color: var(--green);
    background: var(--green-light);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-nans {
    background: var(--green);
    color: var(--white) !important;
    border: 2px solid var(--green);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    transition: all var(--duration) var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-nans::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 100%);
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}

.btn-nans:hover,
.btn-nans:focus {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

.btn-nans:hover::after { opacity: 1; }
.btn-nans:active { transform: translateY(0); }

.btn-nans-lg {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: var(--radius);
}

.btn-nans-full {
    width: 100%;
    justify-content: center;
}

.btn-outline-nans {
    background: transparent;
    color: var(--green) !important;
    border: 2px solid var(--green);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    transition: all var(--duration) var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
}

.btn-outline-nans:hover,
.btn-outline-nans:focus {
    background: var(--green);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

.btn-gold {
    background: var(--gold);
    color: var(--gray-900) !important;
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    padding: 16px 36px;
    transition: all var(--duration) var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--gray-900) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* Loading state */
.btn-loading {
    pointer-events: none;
    opacity: 0.75;
}

.btn-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.35);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
    background: linear-gradient(160deg, #003D25 0%, var(--green) 40%, #00A86B 100%);
    color: var(--white);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,215,0,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* Decorative grid pattern */
.hero-section .hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.30);
    color: var(--gold);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.6s var(--ease) both;
}

.hero-title {
    font-family: var(--font-hero);
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s var(--ease) 0.1s both;
}

.hero-title span { color: var(--gold); }

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.80);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 540px;
    animation: fadeInUp 0.6s var(--ease) 0.2s both;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    animation: fadeInUp 0.6s var(--ease) 0.3s both;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    animation: fadeInUp 0.6s var(--ease) 0.4s both;
}

.hero-stat-item { text-align: center; }

.hero-stat-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--font-hero);
    font-size: 22px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat-label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Visual Card */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s var(--ease) 0.3s both;
}

.hero-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: 36px;
    max-width: 340px;
    width: 100%;
    transition: transform var(--duration) var(--ease);
}

.hero-card:hover {
    transform: translateY(-4px);
}

.hero-card-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.hero-timeline-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--duration) var(--ease);
}

.hero-timeline-dot.active {
    background: var(--green);
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 0 0 4px rgba(0, 135, 81, 0.25);
}

.hero-timeline-dot.upcoming {
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.15);
}

.hero-timeline-content strong {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.hero-timeline-content span {
    font-size: 12px;
    color: rgba(255,255,255,0.50);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

.section-gray {
    background-color: var(--off-white);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.section-label::before {
    content: '';
    display: block;
    width: 28px;
    height: 2.5px;
    background: var(--green);
    border-radius: 4px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.8px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--gray-500);
    line-height: 1.75;
    max-width: 560px;
}

/* ============================================================
   CARDS
   ============================================================ */
.nans-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.35s var(--ease);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.nans-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green), var(--gold));
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}

.nans-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    transform: translateY(-6px);
}

.nans-card:hover::before {
    opacity: 1;
}

.nans-card-icon {
    width: 52px;
    height: 52px;
    background: var(--green-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--green);
    transition: all var(--duration) var(--ease);
}

.nans-card:hover .nans-card-icon {
    background: var(--green);
    color: white;
    transform: scale(1.05);
}

.nans-card-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.nans-card-text {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   ELIGIBILITY
   ============================================================ */
.eligibility-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--gray-100);
    transition: all var(--duration) var(--ease);
}

.eligibility-item:last-child { border-bottom: none; }

.eligibility-item:hover {
    padding-left: 8px;
}

.eligibility-icon {
    width: 40px;
    height: 40px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--green);
    transition: all var(--duration) var(--ease);
}

.eligibility-item:hover .eligibility-icon {
    background: var(--green);
    color: white;
    transform: scale(1.08);
}

.eligibility-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 3px;
}

.eligibility-text span {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============================================================
   GUIDELINES
   ============================================================ */
.guideline-step {
    display: flex;
    gap: 24px;
    margin-bottom: 36px;
    position: relative;
}

.guideline-step::after {
    content: '';
    position: absolute;
    left: 27px;
    top: 60px;
    width: 2px;
    height: calc(100% - 20px);
    background: linear-gradient(to bottom, var(--green-light), transparent);
}

.guideline-step:last-child::after { display: none; }

.guideline-number {
    width: 56px;
    height: 56px;
    background: var(--green);
    color: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-hero);
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 1;
    transition: all var(--duration) var(--ease);
}

.guideline-step:hover .guideline-number {
    transform: scale(1.08);
    box-shadow: var(--shadow-green);
}

.guideline-content { padding-top: 10px; }

.guideline-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.guideline-desc {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
    position: relative;
    padding: 0;
    list-style: none;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--green), var(--gray-200));
}

.timeline-item {
    position: relative;
    padding-left: 72px;
    margin-bottom: 40px;
    transition: all var(--duration) var(--ease);
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-item:hover { padding-left: 78px; }

.timeline-dot {
    position: absolute;
    left: 0;
    top: 4px;
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all var(--duration) var(--ease);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.08);
}

.timeline-dot.open {
    background: var(--green);
    color: white;
    box-shadow: 0 0 0 4px rgba(0, 135, 81, 0.15);
}

.timeline-dot.close {
    background: var(--red);
    color: white;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
}

.timeline-dot.upcoming {
    background: var(--gray-100);
    color: var(--gray-400);
    border: 2px solid var(--gray-200);
}

.timeline-date {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.timeline-label {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.timeline-desc {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.65;
}

/* ============================================================
   FORM STYLES
   ============================================================ */

/* Progress */
.form-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 80px;
}

.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 22px;
    width: 100%;
    height: 2px;
    background: var(--gray-200);
    z-index: 0;
}

.progress-step.completed:not(:last-child)::after {
    background: var(--green);
}

.progress-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-400);
    z-index: 1;
    transition: all var(--duration) var(--ease);
}

.progress-step.active .progress-dot {
    background: var(--green);
    border-color: var(--green);
    color: white;
    box-shadow: 0 0 0 5px rgba(0, 135, 81, 0.15);
}

.progress-step.completed .progress-dot {
    background: var(--green);
    border-color: var(--green);
    color: white;
}

.progress-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--gray-400);
    text-align: center;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.progress-step.active .progress-label { color: var(--green); }

/* Form Sections */
.form-section { margin-bottom: 40px; }

.form-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gray-100);
}

.form-section-icon {
    width: 40px;
    height: 40px;
    background: var(--green-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    flex-shrink: 0;
}

.form-section-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.form-section-subtitle {
    font-size: 12px;
    color: var(--gray-500);
    margin: 2px 0 0;
}

/* Form Controls */
.form-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-label .required {
    color: var(--red);
    margin-left: 2px;
}

.form-control,
.form-select {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gray-900);
    transition: all var(--duration) var(--ease);
    background-color: var(--white);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(0, 135, 81, 0.10);
    outline: none;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

.form-control.is-valid,
.form-select.is-valid {
    border-color: var(--green-success);
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.08);
}

.form-control::placeholder {
    color: var(--gray-400);
    font-size: 13px;
}

.invalid-feedback {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--red);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
}

.valid-feedback {
    font-size: 12px;
    color: var(--green-success);
    margin-top: 6px;
}

.form-text {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 6px;
    line-height: 1.55;
}

/* File Upload */
.file-upload-area {
    border: 2px dashed var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    background: var(--off-white);
    position: relative;
}

.file-upload-area:hover,
.file-upload-area.drag-over {
    border-color: var(--green);
    background: var(--green-lighter);
    transform: scale(1.01);
}

.file-upload-area.upload-error {
    border-color: var(--red);
    background: var(--red-light);
}

.file-upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.file-upload-icon {
    color: var(--green);
    margin-bottom: 12px;
}

.file-upload-title {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 4px;
}

.file-upload-hint {
    font-size: 12px;
    color: var(--gray-400);
}

.file-upload-preview {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--green-lighter);
    border: 1px solid var(--green);
    border-radius: var(--radius);
    margin-top: 12px;
}

.file-upload-preview.show { display: flex; }

.file-upload-preview-name {
    flex: 1;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--green-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-upload-preview-size {
    font-size: 11px;
    color: var(--gray-500);
}

.file-upload-preview-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--red);
    padding: 4px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    transition: background var(--duration) var(--ease);
}

.file-upload-preview-remove:hover {
    background: rgba(220, 38, 38, 0.08);
}

/* Word Counter */
.word-counter {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-500);
    transition: color var(--duration) var(--ease);
}

.word-counter.approaching { color: #F59E0B; }
.word-counter.exceeded    { color: var(--red); font-weight: 600; }

.word-counter-bar {
    flex: 1;
    height: 4px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.word-counter-fill {
    height: 100%;
    background: var(--green);
    border-radius: var(--radius-full);
    transition: width 0.3s var(--ease), background 0.3s var(--ease);
    width: 0%;
}

.word-counter-fill.approaching { background: #F59E0B; }
.word-counter-fill.exceeded    { background: var(--red); }

/* Captcha */
.captcha-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--off-white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 16px 20px;
}

.captcha-question {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    white-space: nowrap;
}

.captcha-input {
    width: 90px !important;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
}

/* Declaration */
.declaration-box {
    background: var(--off-white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
}

.declaration-box .form-check-label {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.65;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--green);
    border-color: var(--green);
}

.form-check-input:focus {
    box-shadow: 0 0 0 4px rgba(0, 135, 81, 0.15);
}

/* Eligibility Notice */
.eligibility-notice {
    background: linear-gradient(135deg, var(--green-lighter) 0%, #D1FAE5 100%);
    border: 1px solid #A7F3D0;
    border-left: 5px solid var(--green);
    border-radius: var(--radius);
    padding: 22px 24px;
    margin-bottom: 36px;
}

.eligibility-notice-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--green-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.eligibility-notice ul {
    margin: 0;
    padding-left: 20px;
}

.eligibility-notice ul li {
    font-size: 13px;
    color: var(--green-dark);
    margin-bottom: 5px;
    line-height: 1.55;
}

/* Form Warning */
.form-warning {
    background: var(--gold-light);
    border: 1px solid #FCD34D;
    border-left: 5px solid #F59E0B;
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-top: 10px;
}

.form-warning p {
    font-size: 12px;
    color: #92400E;
    margin: 0;
    line-height: 1.55;
}

/* ============================================================
   SUCCESS PAGE
   ============================================================ */
.success-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.success-checkmark {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.checkmark-circle {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--green-lighter);
    border: 3px solid var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s var(--ease);
}

.checkmark-svg {
    animation: fadeIn 0.4s var(--ease) 0.3s both;
}

.reg-code-box {
    background: linear-gradient(135deg, var(--green-lighter) 0%, #D1FAE5 100%);
    border: 2px solid var(--green);
    border-radius: var(--radius-xl);
    padding: 36px;
    text-align: center;
    margin: 28px 0;
    position: relative;
    overflow: hidden;
}

.reg-code-box::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(0,135,81,0.06) 0%, transparent 70%);
}

.reg-code-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    color: var(--green-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.reg-code-value {
    font-family: var(--font-hero);
    font-size: 36px;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 5px;
    display: block;
    line-height: 1;
    margin-bottom: 16px;
}

.reg-code-copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--green-dark);
    background: none;
    border: 1.5px solid var(--green);
    border-radius: var(--radius-full);
    padding: 6px 18px;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
}

.reg-code-copy:hover {
    background: var(--green);
    color: white;
}

/* ============================================================
   STATUS PAGE
   ============================================================ */
.status-page {
    min-height: 75vh;
    display: flex;
    align-items: center;
}

.status-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
}

.status-result {
    text-align: center;
    padding: 36px 0 24px;
    border-top: 1px solid var(--gray-100);
}

.status-result-icon { margin-bottom: 18px; }

.status-result-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.status-result-title.pending     { color: #F59E0B; }
.status-result-title.shortlisted { color: var(--green); }
.status-result-title.rejected    { color: var(--red); }
.status-result-title.winner      { color: #7C3AED; }

.status-result-message {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 360px;
    margin: 0 auto;
}

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
    border-radius: var(--radius);
    border: none;
    font-family: var(--font-body);
    font-size: 14px;
}

.alert-success {
    background: var(--green-lighter);
    border-left: 5px solid var(--green-success);
    color: #14532D;
}

.alert-danger {
    background: var(--red-light);
    border-left: 5px solid var(--red);
    color: #7F1D1D;
}

.alert-warning {
    background: var(--gold-light);
    border-left: 5px solid #F59E0B;
    color: #78350F;
}

.alert-info {
    background: #EFF6FF;
    border-left: 5px solid var(--blue);
    color: #1E3A5F;
}

/* ============================================================
   FORM CLOSED
   ============================================================ */
.form-closed {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

.form-closed-icon { color: var(--gray-400); margin-bottom: 24px; }

.form-closed-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 14px;
}

.form-closed-text {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--gray-500);
    max-width: 460px;
    margin: 0 auto 32px;
    line-height: 1.75;
}

/* ============================================================
   FOOTER
   ============================================================ */
.nans-footer {
    background-color: var(--gray-900);
    color: rgba(255, 255, 255, 0.70);
    padding: 80px 0 0;
}

.footer-top {
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-brand-desc {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.50);
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.55);
    transition: all var(--duration) var(--ease);
}

.footer-social-link:hover {
    background: var(--green);
    color: white;
    transform: translateY(-3px);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.50);
    text-decoration: none;
    transition: all var(--duration) var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.50);
}

.footer-contact [data-lucide] {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--green);
}

.footer-dates { margin-top: 18px; }

.footer-date-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.50);
    margin-bottom: 8px;
}

.footer-date-item strong {
    color: var(--gold);
    margin-left: 3px;
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-copy {
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.30);
    margin: 0;
}

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-body {
    background-color: #F1F5F9;
    font-family: var(--font-body);
}

.admin-sidebar {
    width: 270px;
    min-height: 100vh;
    background-color: var(--gray-900);
    position: fixed;
    left: 0; top: 0; bottom: 0;
    z-index: 1040;
    overflow-y: auto;
    transition: transform 0.3s var(--ease);
}

.admin-sidebar.collapsed { transform: translateX(-270px); }

.admin-sidebar-brand {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-sidebar-brand-text {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.admin-sidebar-brand-sub {
    font-family: var(--font-body);
    font-size: 10px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

.admin-nav { padding: 16px 12px; }

.admin-nav-label {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 14px 6px;
    margin-top: 10px;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.60);
    text-decoration: none;
    transition: all var(--duration) var(--ease);
    margin-bottom: 2px;
}

.admin-nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
}

.admin-nav-link.active {
    background: var(--green);
    color: var(--white);
    box-shadow: var(--shadow-green);
}

.admin-nav-link [data-lucide] {
    flex-shrink: 0;
    opacity: 0.7;
}

.admin-nav-link.active [data-lucide] { opacity: 1; }

.admin-nav-badge {
    margin-left: auto;
    background: var(--red);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.admin-main {
    margin-left: 270px;
    min-height: 100vh;
    transition: margin 0.3s var(--ease);
}

.admin-main.expanded { margin-left: 0; }

.admin-topbar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 0 28px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-xs);
}

.admin-topbar-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.admin-content { padding: 32px 28px; }

/* Stat Cards */
.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 26px 28px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.3s var(--ease);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon.green  { background: var(--green-light); color: var(--green); }
.stat-icon.yellow { background: var(--gold-light);  color: #F59E0B; }
.stat-icon.blue   { background: #EFF6FF;            color: #2563EB; }
.stat-icon.red    { background: var(--red-light);    color: var(--red); }
.stat-icon.purple { background: #F5F3FF;            color: #7C3AED; }
.stat-icon.teal   { background: #F0FDFA;            color: #0D9488; }
.stat-icon.orange { background: #FFF7ED;            color: #EA580C; }

.stat-value {
    font-family: var(--font-hero);
    font-size: 30px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-500);
}

/* Admin Table */
.admin-table-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.admin-table {
    margin: 0;
    font-family: var(--font-body);
    font-size: 13px;
}

.admin-table thead th {
    background: var(--off-white);
    border-bottom: 2px solid var(--gray-200);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    padding: 14px 18px;
    white-space: nowrap;
}

.admin-table tbody td {
    padding: 16px 18px;
    vertical-align: middle;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
}

.admin-table tbody tr {
    transition: background var(--duration) var(--ease);
}

.admin-table tbody tr:hover { background: var(--off-white); }
.admin-table tbody tr:last-child td { border-bottom: none; }

/* Badges */
.nans-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.badge-pending     { background: #FEF3C7; color: #92400E; }
.badge-shortlisted { background: var(--green-light); color: var(--green-dark); }
.badge-rejected    { background: var(--red-light); color: #7F1D1D; }
.badge-winner      { background: #F5F3FF; color: #4C1D95; }

/* Pagination */
.nans-pagination {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nans-pagination .page-link {
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
    border-radius: var(--radius) !important;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    transition: all var(--duration) var(--ease);
}

.nans-pagination .page-link:hover {
    background: var(--green-light);
    border-color: var(--green);
    color: var(--green);
}

.nans-pagination .page-item.active .page-link {
    background: var(--green);
    border-color: var(--green);
    color: white;
}

/* Chart */
.chart-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.chart-card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.chart-card-subtitle {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--gray-400);
    margin-bottom: 24px;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-green  { color: var(--green) !important; }
.text-gold   { color: var(--gold) !important; }
.bg-green    { background-color: var(--green) !important; }
.bg-green-lt { background-color: var(--green-light) !important; }

.divider {
    height: 1px;
    background: var(--gray-200);
    margin: 36px 0;
}

.rounded-nans { border-radius: var(--radius) !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    .admin-sidebar { transform: translateX(-270px); }
    .admin-sidebar.show { transform: translateX(0); }
    .admin-main { margin-left: 0; }
    .hero-section { padding: 80px 0 60px; }
    .hero-visual { margin-top: 48px; }
    .section-padding { padding: 72px 0; }
}

@media (max-width: 767.98px) {
    .hero-title { font-size: 2.2rem; letter-spacing: -1px; }
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-cta-group .btn {
        justify-content: center;
    }
    .hero-stats { gap: 20px; }
    .status-card { padding: 36px 28px; }
    .reg-code-value { font-size: 26px; letter-spacing: 3px; }
    .admin-content { padding: 20px; }
    .section-padding { padding: 56px 0; }
}

@media (max-width: 575.98px) {
    .nans-navbar .navbar-brand .nans-brand-sub { display: none; }
    .admin-table-wrap { overflow-x: auto; }
    .footer-top { padding-bottom: 40px; }
    .hero-section { padding: 64px 0 48px; }
    .hero-title { font-size: 1.9rem; }
    .guideline-number { width: 48px; height: 48px; font-size: 15px; }
    .guideline-step { gap: 16px; }
    .guideline-step::after { left: 23px; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    .nans-navbar, .nans-footer, .btn,
    .admin-sidebar, .admin-topbar { display: none !important; }
    body { font-size: 12pt; }
}

/* ============================================================
   ULTRA-MODERN HERO — Override
   ============================================================ */

/* Background */
.hero-section {
    background: #020F08;
    color: var(--white);
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,135,81,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,135,81,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    pointer-events: none;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(0,135,81,0.25) 0%, transparent 70%);
    animation: glowFloat 8s ease-in-out infinite alternate;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -50px;
    background: radial-gradient(circle, rgba(255,215,0,0.10) 0%, transparent 70%);
    animation: glowFloat 10s ease-in-out infinite alternate-reverse;
}

.hero-glow-3 {
    width: 300px;
    height: 300px;
    top: 40%;
    left: 50%;
    background: radial-gradient(circle, rgba(0,168,107,0.12) 0%, transparent 70%);
    animation: glowFloat 12s ease-in-out infinite alternate;
}

@keyframes glowFloat {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(30px, -20px) scale(1.1); }
    100% { transform: translate(-20px, 30px) scale(0.95); }
}

/* Badge */
.hero-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,135,81,0.10);
    border: 1px solid rgba(0,135,81,0.20);
    color: #4ADE80;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s var(--ease) both;
    backdrop-filter: blur(8px);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ADE80;
    flex-shrink: 0;
}

.hero-badge-dot.pulse-live {
    animation: pulseDot 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(74,222,128,0.6);
}

@keyframes pulseDot {
    0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.6); }
    70%  { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
    100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

.hero-badge-tag {
    background: #4ADE80;
    color: #020F08;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

/* Title */
.hero-title-modern {
    font-family: var(--font-hero);
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -3px;
    margin-bottom: 28px;
    color: var(--white);
}

.hero-title-line {
    display: block;
    overflow: hidden;
}

.hero-anim-1 { animation: fadeInUp 0.7s var(--ease) 0.1s both; }
.hero-anim-2 { animation: fadeInUp 0.7s var(--ease) 0.2s both; }
.hero-anim-3 {
    animation: fadeInUp 0.7s var(--ease) 0.3s both;
    position: relative;
}

.hero-title-gradient {
    background: linear-gradient(135deg, var(--gold), #FDE68A, var(--gold));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%   { background-position: 0% center; }
    50%  { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.hero-title-accent {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: super;
    animation: pulseDot 3s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(255,215,0,0.4);
}

@keyframes pulseDot {
    0%   { box-shadow: 0 0 0 0 rgba(255,215,0,0.4); transform: scale(1); }
    50%  { box-shadow: 0 0 20px 4px rgba(255,215,0,0); transform: scale(1.1); }
    100% { box-shadow: 0 0 0 0 rgba(255,215,0,0); transform: scale(1); }
}

/* Description */
.hero-desc {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 500px;
    animation: fadeInUp 0.7s var(--ease) 0.4s both;
}

/* CTA Buttons */
.hero-cta-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 48px;
    animation: fadeInUp 0.7s var(--ease) 0.5s both;
}

.btn-hero-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    border: none;
    border-radius: var(--radius);
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255,215,0,0.30);
}

.btn-hero-primary.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold), #FDE68A);
    border-radius: var(--radius);
    transition: opacity 0.3s var(--ease);
}

.btn-hero-primary:hover .btn-hero-bg {
    opacity: 0.9;
}

.btn-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: #020F08;
    letter-spacing: -0.2px;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    color: rgba(255,255,255,0.80) !important;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--ease);
    backdrop-filter: blur(8px);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
    color: white !important;
    transform: translateY(-2px);
}

/* Metrics Bar */
.hero-metrics {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 4px;
    animation: fadeInUp 0.7s var(--ease) 0.6s both;
    backdrop-filter: blur(8px);
    max-width: fit-content;
}

.hero-metric {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
}

.hero-metric-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0,135,81,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4ADE80;
    flex-shrink: 0;
}

.hero-metric-value {
    display: block;
    font-family: var(--font-hero);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.hero-metric-label {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.hero-metric-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}

/* ---- FLOATING CARDS ---- */
.hero-visual-modern {
    position: relative;
    height: 520px;
    animation: fadeIn 1s var(--ease) 0.6s both;
}

/* Main Card */
.hero-float-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: absolute;
    transition: transform 0.4s var(--ease);
}

.hero-float-main {
    width: 320px;
    top: 20px;
    right: 0;
    animation: floatCard 6s ease-in-out infinite;
}

.hero-float-status {
    width: 240px;
    bottom: 60px;
    left: -20px;
    padding: 14px 18px;
    background: white;
    border: 1px solid var(--gray-200);
    animation: floatCard 6s ease-in-out infinite 1s;
    box-shadow: var(--shadow-lg);
}

.hero-float-badge {
    width: auto;
    top: 0;
    left: 10px;
    padding: 10px 18px;
    background: white;
    border: 1px solid var(--gray-200);
    animation: floatCard 6s ease-in-out infinite 2s;
    box-shadow: var(--shadow-md);
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50%      { transform: translateY(-10px); }
}

.hero-float-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero-float-dots {
    display: flex;
    gap: 5px;
}

.hero-float-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.hero-float-dots span:nth-child(1) { background: #EF4444; }
.hero-float-dots span:nth-child(2) { background: #F59E0B; }
.hero-float-dots span:nth-child(3) { background: #22C55E; }

.hero-float-card-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.50);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-float-card-body {
    padding: 20px 18px;
}

.hero-float-field {
    margin-bottom: 16px;
}

.hero-float-field-label {
    display: block;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.hero-float-field-bar {
    height: 8px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.hero-float-field-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,135,81,0.40), rgba(0,135,81,0.20));
    border-radius: var(--radius-full);
    animation: shimmerFill 3s ease-in-out infinite;
}

@keyframes shimmerFill {
    0%, 100% { opacity: 0.6; }
    50%      { opacity: 1; }
}

.hero-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(0,135,81,0.30), rgba(0,135,81,0.15));
    border: 1px solid rgba(0,135,81,0.20);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: #4ADE80;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Hero */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding: 120px 0 80px;
    }
    .hero-title-modern {
        font-size: clamp(2.2rem, 6vw, 3.5rem);
        letter-spacing: -2px;
    }
    .hero-metrics {
        flex-wrap: wrap;
    }
    .hero-metric-divider {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    .hero-title-modern {
        font-size: 2.2rem;
        letter-spacing: -1.5px;
    }
    .hero-cta-modern {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-hero-primary,
    .btn-hero-secondary {
        justify-content: center;
        text-align: center;
    }
    .btn-hero-content {
        justify-content: center;
    }
    .hero-metrics {
        flex-direction: column;
        gap: 0;
    }
    .hero-metric {
        padding: 12px 20px;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    .hero-metric:last-child {
        border-bottom: none;
    }
    .hero-desc {
        font-size: 15px;
    }
}

/* ============================================================
   MOBILE OVERFLOW FIX — Prevent horizontal scroll
   ============================================================ */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

.container, .container-fluid,
.row, [class*="col-"] {
    max-width: 100%;
}

/* Hero mobile fixes */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 80px 0 48px;
        min-height: auto;
    }
    .hero-title-modern {
        font-size: 2rem;
        letter-spacing: -1px;
        word-break: break-word;
    }
    .hero-desc {
        font-size: 14px;
        max-width: 100%;
    }
    .hero-badge-modern {
        font-size: 11px;
        padding: 6px 14px;
        gap: 6px;
    }
    .hero-cta-modern {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .btn-hero-content {
        padding: 14px 24px;
        font-size: 15px;
        justify-content: center;
    }
    .btn-hero-secondary {
        padding: 14px 24px;
        font-size: 14px;
        justify-content: center;
    }
    .hero-metrics {
        flex-direction: column;
        gap: 0;
        max-width: 100%;
    }
    .hero-metric {
        padding: 12px 16px;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    .hero-metric:last-child { border-bottom: none; }
    .hero-metric-divider { display: none; }
    .hero-glow-1 { width: 300px; height: 300px; }
    .hero-glow-2 { width: 200px; height: 200px; }
    .hero-glow-3 { display: none; }
}

/* Navbar mobile */
@media (max-width: 991.98px) {
    .nans-navbar .navbar-collapse {
        padding: 16px 0;
    }
    .nans-navbar .nav-link {
        padding: 10px 14px;
    }
    .nans-navbar .d-flex.gap-2 {
        flex-direction: column;
        gap: 8px !important;
    }
    .nans-navbar .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Form mobile */
@media (max-width: 575.98px) {
    .section-padding { padding: 48px 0; }
    .section-title { font-size: 1.5rem; }
    .form-section-header { gap: 10px; }
    .form-section-title { font-size: 15px; }
    .captcha-box {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        text-align: center;
    }
    .captcha-input { width: 100% !important; }
    .reg-code-value {
        font-size: 22px;
        letter-spacing: 2px;
    }
    .status-card {
        padding: 28px 20px;
        border-radius: var(--radius);
    }
    .eligibility-notice {
        padding: 16px;
    }
    .file-upload-area {
        padding: 24px 16px;
    }
    .accordion-button {
        padding: 14px 16px !important;
        font-size: 13px !important;
    }
    .accordion-body {
        padding: 0 16px 16px 40px !important;
        font-size: 13px !important;
    }
    .guideline-step {
        gap: 14px;
    }
    .guideline-number {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    .guideline-step::after {
        left: 19px;
    }
    .timeline-item {
        padding-left: 56px;
    }
    .timeline-dot {
        width: 40px;
        height: 40px;
    }
    .timeline::before {
        left: 19px;
    }
    .footer-top { padding-bottom: 32px; }
    .nans-footer { padding: 48px 0 0; }

    /* Prevent any element overflow */
    img, svg, video, iframe, table {
        max-width: 100%;
        height: auto;
    }
}

/* Admin mobile table scroll */
@media (max-width: 991.98px) {
    .admin-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .admin-table {
        min-width: 800px;
    }
}

/* ============================================================
   FINAL MOBILE OVERFLOW FIX
   ============================================================ */

/* Prevent ALL horizontal overflow */
html {
    overflow-x: hidden;
    width: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Admin main on mobile — no left margin (sidebar is hidden) */
@media (max-width: 991.98px) {
    .admin-main {
        margin-left: 0 !important;
        width: 100%;
        max-width: 100vw;
    }
    .admin-sidebar {
        transform: translateX(-100%);
    }
    .admin-sidebar.show {
        transform: translateX(0);
    }
    .admin-content {
        padding: 20px 16px;
        max-width: 100%;
        overflow-x: hidden;
    }
    .admin-topbar {
        padding: 0 16px;
    }
}

/* Every container respects viewport */
.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
}

/* Prevent row negative margins from causing overflow */
.row {
    margin-left: 0;
    margin-right: 0;
}

.row > * {
    padding-left: 8px;
    padding-right: 8px;
}

@media (min-width: 992px) {
    .container,
    .container-fluid,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl {
        padding-left: 24px;
        padding-right: 24px;
    }
    .row {
        margin-left: -12px;
        margin-right: -12px;
    }
    .row > * {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Table wraps — force scroll not overflow */
.admin-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Cards can't push out */
.chart-card,
.stat-card,
.nans-card {
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
}

/* Long text doesn't break layout */
.admin-table td,
.admin-table th {
    word-break: normal;
    overflow-wrap: break-word;
}

/* Images and iframes contained */
img, iframe, video, embed, object {
    max-width: 100%;
    height: auto;
}

/* Chart canvas responsive */
canvas {
    max-width: 100%;
    height: auto !important;
}

/* ============================================================
   LOGO SQUARE BOX
   ============================================================ */
.nans-logo-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    overflow: hidden;
    flex-shrink: 0;
    transition: all 0.3s var(--ease);
}

.nans-logo-box:hover {
    border-color: var(--green);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 135, 81, 0.15);
}

.nans-logo-box .nans-logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.nans-logo-box svg {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Admin sidebar logo box */
.admin-sidebar-brand .nans-logo-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 5px;
}

.admin-sidebar-brand .nans-logo-box:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: none;
    box-shadow: none;
}

/* Footer logo box */
.footer-logo-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.footer-logo-box img,
.footer-logo-box svg {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ============================================================
   ENHANCED FOOTER
   ============================================================ */
.nans-footer {
    background: linear-gradient(160deg, #020F08 0%, var(--gray-900) 100%);
    color: rgba(255, 255, 255, 0.70);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.nans-footer::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,135,81,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.nans-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,215,0,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.nans-footer .container {
    position: relative;
    z-index: 1;
}

.footer-top {
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.footer-brand-desc {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.50);
    max-width: 320px;
    margin-bottom: 20px;
}

/* Status Badge in Footer */
.footer-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 135, 81, 0.10);
    border: 1px solid rgba(0, 135, 81, 0.20);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: #4ADE80;
    margin-bottom: 20px;
}

.footer-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.footer-status-dot.live {
    background: #4ADE80;
    animation: pulseDotFooter 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(74,222,128,0.6);
}

.footer-status-dot.closed {
    background: #DC2626;
}

@keyframes pulseDotFooter {
    0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.6); }
    70%  { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
    100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

/* Social */
.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.55);
    transition: all 0.3s var(--ease);
}

.footer-social-link:hover {
    background: var(--green);
    color: white;
    border-color: var(--green);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 135, 81, 0.25);
}

/* Footer Headings */
.footer-heading {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.50);
    text-decoration: none;
    transition: all 0.25s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a [data-lucide] {
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.25s var(--ease);
    color: var(--gold);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-links a:hover [data-lucide] {
    opacity: 1;
    transform: translateX(0);
}

/* Contact */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.50);
}

.footer-contact [data-lucide] {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--green);
    opacity: 1 !important;
    transform: none !important;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.65);
}

.footer-contact a:hover {
    color: var(--gold);
    padding-left: 0;
}

/* Dates */
.footer-dates {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-date-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.50);
    margin-bottom: 8px;
}

.footer-date-item [data-lucide] {
    color: var(--green);
    flex-shrink: 0;
}

.footer-date-item strong {
    color: var(--gold);
    margin-left: 4px;
    font-weight: 600;
}

/* Footer CTA Row */
.footer-cta {
    background: linear-gradient(135deg, rgba(0,135,81,0.10) 0%, rgba(255,215,0,0.06) 100%);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: var(--radius-xl);
    padding: 32px 36px;
    margin: 48px 0 32px;
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,215,0,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.footer-cta-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.3px;
}

.footer-cta-desc {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.6;
}

/* Footer Bottom */
.footer-bottom {
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-copy {
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
    line-height: 1.6;
}

.footer-legal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}

.footer-legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}

.footer-legal-divider {
    opacity: 0.4;
}

/* Fraud Warning */
.footer-warning {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.10);
    border-radius: var(--radius);
    padding: 12px 18px;
    margin-top: 20px;
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.60);
    line-height: 1.6;
}

.footer-warning [data-lucide] {
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-warning a {
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
}

.footer-warning a:hover {
    text-decoration: underline;
}

/* Mobile Footer */
@media (max-width: 767.98px) {
    .nans-footer {
        padding: 56px 0 0;
    }
    .footer-top {
        padding-bottom: 32px;
    }
    .footer-brand-desc {
        max-width: 100%;
    }
    .footer-cta {
        padding: 24px 20px;
        margin: 32px 0 20px;
    }
    .footer-cta-title {
        font-size: 17px;
    }
    .footer-cta-desc {
        font-size: 13px;
    }
    .footer-cta .btn-gold {
        width: 100%;
        justify-content: center;
        margin-top: 12px;
    }
    .footer-legal {
        flex-wrap: wrap;
        gap: 8px;
    }
    .footer-copy {
        text-align: center;
    }
    .footer-bottom .col-md-6.text-md-end {
        text-align: center !important;
    }
    .footer-warning {
        font-size: 11px;
        padding: 10px 14px;
    }
}

/* ============================================================
   NEW INSTITUTIONAL HEADER
   ============================================================ */

/* Hide old navbar since we're replacing it */
.nans-navbar {
    display: none !important;
}

/* ---- TOP STRIP (Green Bar) ---- */
.top-strip {
    background: var(--green);
    color: white;
    font-family: var(--font-body);
    font-size: 12px;
    padding: 8px 0;
}

.top-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.top-strip-left,
.top-strip-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.top-strip-brand {
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 0.3px;
}

.top-strip-brand strong {
    font-weight: 700;
    color: var(--gold);
}

.top-strip-divider {
    opacity: 0.4;
    font-weight: 300;
}

.top-strip-text {
    opacity: 0.85;
}

.top-strip-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--gold);
}

.top-strip-status.closed {
    color: #FCA5A5;
}

.top-strip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
    animation: statusPulse 2s ease-in-out infinite;
}

.top-strip-status.closed .top-strip-dot {
    animation: none;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.5; }
}

.top-strip-link {
    color: white !important;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.top-strip-link:hover {
    color: var(--gold) !important;
    opacity: 1;
}


/* ---- MAIN HEADER (Logo + Brand) ---- */
.main-header {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-100);
}

.main-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.main-header-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.main-header-brand:hover {
    opacity: 0.85;
    color: inherit;
}

.main-header-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.main-header-logo-fallback {
    flex-shrink: 0;
}

.main-header-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.main-header-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
    letter-spacing: -0.5px;
}

.main-header-tagline {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-500);
    margin: 4px 0 0;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.mobile-nav-toggle {
    background: none;
    border: 1px solid var(--gray-200);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mobile-nav-toggle:hover {
    background: var(--gray-50);
}


/* ---- MAIN NAV (Underline Style) ---- */
.main-nav {
    background: var(--gray-900);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: box-shadow 0.3s ease;
}

.main-nav.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.main-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.main-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.main-nav-list li {
    margin: 0;
}

.main-nav-list a {
    display: block;
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    position: relative;
}

.main-nav-list a:hover {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.03);
}

.main-nav-list a.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
    background: rgba(255, 215, 0, 0.05);
}

.main-nav-cta {
    display: flex;
    align-items: center;
}

.main-nav-btn {
    display: inline-block;
    background: var(--gold);
    color: var(--gray-900);
    padding: 10px 24px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: background 0.2s ease;
    border: none;
    cursor: pointer;
}

.main-nav-btn:hover {
    background: #E8C500;
    color: var(--gray-900);
}

.main-nav-btn.disabled {
    background: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.50);
    cursor: not-allowed;
}


/* ---- MOBILE ---- */
@media (max-width: 991.98px) {

    .top-strip {
        font-size: 11px;
        padding: 6px 0;
    }

    .top-strip-inner {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .top-strip-divider {
        display: none;
    }

    .main-header {
        padding: 14px 0;
    }

    .main-header-logo {
        height: 48px;
    }

    .main-header-logo-fallback svg {
        width: 48px;
        height: 48px;
    }

    .main-header-title {
        font-size: 17px;
    }

    .main-header-tagline {
        font-size: 10px;
    }

    /* Mobile nav collapse */
    .main-nav-inner {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 0;
    }

    .main-nav-inner.show {
        display: flex;
    }

    .main-nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .main-nav-list a {
        padding: 14px 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        border-left: 3px solid transparent;
    }

    .main-nav-list a.active {
        border-bottom-color: rgba(255, 255, 255, 0.06);
        border-left-color: var(--gold);
    }

    .main-nav-cta {
        padding: 12px 16px 4px;
    }

    .main-nav-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .top-strip-brand {
        font-size: 12px;
    }
    .top-strip-text {
        display: none;
    }
    .main-header-brand {
        gap: 12px;
    }
    .main-header-title {
        font-size: 15px;
    }
    .main-header-tagline {
        font-size: 9px;
    }
    .main-header-logo {
        height: 42px;
    }
    .main-header-logo-fallback svg {
        width: 42px;
        height: 42px;
    }
}