/* ==========================================================================
   ENTERPRISE GRANT PLATFORM — BRAND DESIGN SYSTEM
   African Enterprise Identity: Trustworthy, Elegant, Modern & Accessible
   ========================================================================== */

:root {
  /* Matured Nigerian Institutional Identity: Sovereign Pine, Banking Emerald, Champagne Bronze */
  --color-forest: #0B3828;
  --color-forest-dark: #062319;
  --color-forest-surface: #0F4432;
  --color-forest-light: #155A43;
  --color-emerald: #0D7A55;
  --color-emerald-light: #E8F5F0;
  --color-emerald-pale: #F2FAF6;
  --color-gold: #B88A44;
  --color-gold-dark: #966D2E;
  --color-gold-light: #F7F3EA;
  --color-gold-pale: #FAF7F2;
  --color-ivory: #F8FAFC;
  --color-ivory-alt: #F1F5F9;
  --color-white: #FFFFFF;
  --color-text: #0F172A;
  --color-text-muted: #475569;
  --color-text-light: #94A3B8;
  --color-border: #E2E8F0;
  --color-border-dark: #CBD5E1;

  /* Status Colors */
  --color-success: #0D7A55;
  --color-warning: #B45309;
  --color-danger: #BE123C;
  --color-info: #1D4ED8;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  /* Shadows (Sophisticated Slate Elevation) */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.09), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-gold: 0 4px 16px rgba(184, 138, 68, 0.20);

  /* Transitions */
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-ivory);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--color-text);
}

/* Accessible Keyboard Focus Ring */
:focus-visible {
  outline: 2px solid var(--color-emerald) !important;
  outline-offset: 3px !important;
}

/* Media reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--color-forest);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1.2rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-text);
}

p.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-emerald);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-forest);
}

/* African Geometric Motifs / Accents */
.pattern-diamond-border {
  background-image: radial-gradient(var(--color-gold) 1px, transparent 1px);
  background-size: 12px 12px;
}

.geometric-accent-line {
  display: inline-block;
  width: 48px;
  height: 4px;
  background: var(--color-gold);
  border-radius: 2px;
  margin-bottom: 1rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-forest);
  background: var(--color-emerald-light);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(13, 122, 85, 0.2);
}

.hero-eyebrow {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #D8B26E !important;
  border-color: rgba(184, 138, 68, 0.35) !important;
}

/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #062319;
  border-bottom: 1px solid rgba(184, 138, 68, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #CBD5E1;
  padding: 0.5rem 0.2rem;
  position: relative;
}

.nav-link:hover {
  color: #D8B26E;
}

.nav-link.active {
  color: #FFFFFF;
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: var(--color-emerald);
  border-radius: 2px;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 992px) {
  .nav-actions {
    display: flex;
  }
}

.btn-outline-light {
  background-color: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
}

/* Mobile Nav Toggle */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  gap: 5px;
}

@media (min-width: 992px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #FFFFFF;
  transition: var(--transition);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 1.5rem;
  overflow-y: auto;
  z-index: 49;
}

.mobile-drawer.open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.mobile-nav-list a {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-forest);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav-list a.active {
  color: var(--color-emerald);
  border-color: var(--color-gold);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-forest);
  color: var(--color-white);
  border-color: var(--color-forest);
  box-shadow: 0 4px 14px rgba(11, 56, 40, 0.22);
}

.btn-primary:hover {
  background-color: var(--color-forest-dark);
  border-color: var(--color-forest-dark);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(11, 56, 40, 0.32);
}

.btn-gold {
  background-color: var(--color-gold);
  color: var(--color-forest-dark);
  font-weight: 700;
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background-color: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-forest);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-ivory-alt);
  border-color: var(--color-border-dark);
  color: var(--color-forest-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-forest);
  border-color: var(--color-border-dark);
}

.btn-outline:hover {
  background-color: var(--color-forest);
  border-color: var(--color-forest);
  color: var(--color-white);
}

.btn-outline-gold {
  background-color: transparent;
  color: #D8B26E;
  border-color: rgba(184, 138, 68, 0.5);
}

.btn-outline-gold:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-forest-dark);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: 12px;
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */
.card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--color-border-dark);
  box-shadow: var(--shadow-md);
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(184, 138, 68, 0.4);
}

.card-accent-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-emerald));
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 1.75rem;
}

.grid-cols-1 {
  grid-template-columns: 1fr;
}

.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .grid-cols-sm-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-cols-sm-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-cols-sm-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) {
  .grid-cols-md-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-cols-md-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-cols-md-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-cols-lg-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-cols-lg-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   BADGES & STATUS LABELS
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.28rem 0.75rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.badge-open {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.badge-upcoming {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.badge-closed {
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.badge-demo {
  background-color: #fff7ed;
  color: #9a3412;
  border: 1px solid #fdba74;
}

.badge-sector {
  background-color: var(--color-ivory);
  color: var(--color-forest);
  border: 1px solid var(--color-border);
  font-size: 0.75rem;
}

/* ==========================================================================
   ALERTS & NOTICES
   ========================================================================== */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.alert-info {
  background-color: #ebf8ff;
  border: 1px solid #bee3f8;
  color: #2b6cb0;
}

.alert-success {
  background-color: #f0fff4;
  border: 1px solid #c6f6d5;
  color: #22543d;
}

.alert-warning {
  background-color: #fffaf0;
  border: 1px solid #feebc8;
  color: #7b341e;
}

.alert-note {
  background-color: var(--color-white);
  border: 1px solid var(--color-gold);
  border-left-width: 5px;
  color: var(--color-text);
}

.alert-demo-banner {
  background-color: #fff7ed;
  border: 1px solid #f97316;
  border-left-width: 6px;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #9a3412;
}

/* ==========================================================================
   FORM CONTROLS
   ========================================================================== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-forest);
  margin-bottom: 0.5rem;
}

.form-label .required {
  color: var(--color-danger);
  margin-left: 0.2rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-emerald);
  box-shadow: 0 0 0 3px rgba(8, 127, 91, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.4rem;
}

.form-error {
  font-size: 0.82rem;
  color: var(--color-danger);
  font-weight: 600;
  margin-top: 0.35rem;
}

/* Search bar */
.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 1.1rem;
  color: var(--color-text-light);
  pointer-events: none;
}

.search-input {
  padding-left: 3rem;
}

/* ==========================================================================
   ACCORDION (FAQs)
   ========================================================================== */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item:hover {
  border-color: var(--color-border-dark);
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  background: transparent;
  border: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-forest);
  cursor: pointer;
  transition: var(--transition);
}

.accordion-trigger:hover {
  color: var(--color-emerald);
}

.accordion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-ivory);
  color: var(--color-forest);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
  background-color: var(--color-gold);
  color: var(--color-forest-dark);
}

.accordion-content {
  display: none;
  padding: 0 1.6rem 1.5rem 1.6rem;
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  border-top: 1px solid rgba(229, 232, 225, 0.6);
  padding-top: 1.25rem;
}

.accordion-content.open {
  display: block;
}

/* ==========================================================================
   HOMEPAGE & SECTION SPECIFIC
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(145deg, #051D14 0%, #0B3828 65%, #0F4834 100%);
  color: var(--color-white);
  padding: 5.5rem 0 6.5rem 0;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(13, 122, 85, 0.20) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(184, 138, 68, 0.12) 0%, transparent 40%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Mobile-first: Place text content and countdown first, then foundation card */
.hero-content {
  order: 1;
  width: 100%;
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
  order: 2;
  width: 100%;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }

  .hero-content {
    order: 1;
  }

  .hero-media {
    order: 2;
  }
}

.hero-title {
  color: var(--color-white);
  font-size: clamp(1.65rem, 4.2vw, 3.1rem);
  line-height: 1.22;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

@media (max-width: 576px) {
  .hero-title {
    font-size: clamp(1.4rem, 6.2vw, 1.75rem);
    line-height: 1.24;
    margin-bottom: 1rem;
  }
}

.hero-description {
  font-size: 1.18rem;
  line-height: 1.7;
  color: #CBD5E1;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
}

/* Hero Unified Executive Intake Card */
.hero-intake-card {
  width: 100%;
  max-width: 520px;
  background: linear-gradient(135deg, rgba(8, 36, 25, 0.98) 0%, rgba(5, 26, 18, 0.99) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid rgba(216, 178, 110, 0.5);
  border-radius: 20px;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 35px rgba(216, 178, 110, 0.16);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.hero-intake-card:hover {
  border-color: rgba(216, 178, 110, 0.8);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 45px rgba(216, 178, 110, 0.25);
}

.intake-brand-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.intake-brand-emblem {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #0E2E21;
  border: 1px solid rgba(216, 178, 110, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  padding: 5px;
}

.intake-brand-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.intake-brand-info {
  flex: 1;
  min-width: 0;
}

.intake-brand-org {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #D8B26E;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.intake-brand-tagline {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 0;
}

.intake-deadline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.deadline-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #FCA5A5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.deadline-pulse-radar {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 10px #EF4444;
  animation: pulse-dot 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }

  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.deadline-date-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: #D8B26E;
  letter-spacing: 0.02em;
}

.deadline-tiles-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0;
}

.deadline-tile {
  flex: 1;
  min-width: 0;
  background: rgba(14, 48, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 2.5px solid #D8B26E;
  border-radius: 12px;
  padding: 0.65rem 0.35rem;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}

.deadline-tile:hover {
  background: rgba(18, 60, 42, 0.95);
  transform: translateY(-2px);
}

.tile-number {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.tile-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  color: #D8B26E;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

.tile-divider {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: rgba(216, 178, 110, 0.6);
  line-height: 1;
  user-select: none;
  padding: 0 0.1rem;
}

.intake-beneficiaries {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.95rem 1.05rem;
}

.intake-beneficiaries-label {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #D8B26E;
  margin-bottom: 0.6rem;
}

.intake-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.beneficiary-chip {
  display: inline-flex;
  align-items: center;
  background: rgba(14, 48, 34, 0.85);
  border: 1px solid rgba(216, 178, 110, 0.35);
  color: #E2E8F0;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.beneficiary-chip:hover {
  background: rgba(18, 60, 42, 0.95);
  border-color: #D8B26E;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.intake-cta-wrap {
  margin-top: 0.25rem;
}

.intake-cta-btn {
  width: 100%;
  padding: 0.95rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Trust features row */
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.88rem;
  color: #CBD5E1;
  margin-top: 1.75rem;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-trust-item svg {
  color: var(--color-gold);
  flex-shrink: 0;
}

@media (max-width: 576px) {
  .hero-intake-card {
    padding: 1.25rem 1.15rem;
    gap: 1rem;
  }

  .intake-brand-tagline {
    font-size: 1.05rem;
  }

  .intake-deadline-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .tile-number {
    font-size: 1.45rem;
  }

  .tile-label {
    font-size: 0.58rem;
  }

  .tile-divider {
    font-size: 1.2rem;
    padding: 0;
  }

  .beneficiary-chip {
    font-size: 0.76rem;
    padding: 0.25rem 0.55rem;
  }
}

/* Hero Image Showcase */
.hero-image-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  aspect-ratio: 4 / 3;
}

.hero-main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-main-photo {
  transform: scale(1.03);
}

.hero-floating-badge-top {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 3;
}

.hero-floating-card-bottom {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 3;
  background: rgba(6, 35, 25, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 1.15rem 1.35rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.hero-showcase-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 0.85rem 1.25rem;
  text-align: center;
}

.hero-strip-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

.hero-strip-item span {
  font-size: 0.78rem;
  color: #94A3B8;
}

.hero-strip-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.12);
}

/* Hero Group Showcase (Cutout of Nigerian Entrepreneurs, Farmers, Students) */
.hero-group-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 520px;
}

.hero-group-glow {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  height: 85%;
  background: radial-gradient(circle, rgba(13, 122, 85, 0.4) 0%, rgba(184, 138, 68, 0.15) 50%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

.hero-group-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.45));
  transition: transform 0.4s ease;
}

.hero-group-showcase:hover .hero-group-img {
  transform: scale(1.02);
}

.hero-floating-stat-card {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 490px;
  margin-top: 0;
  background: rgba(8, 35, 24, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(216, 178, 110, 0.35);
  border-radius: 18px;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 0 25px rgba(13, 122, 85, 0.2);
}

.hero-floating-stat-footer {
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #CBD5E1;
}

/* Responsive refinements for mobile hero display */
@media (max-width: 768px) {
  .hero-section {
    padding: 3.5rem 0 4.5rem 0;
  }

  .hero-group-img {
    max-height: 420px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 2.5rem 0 3.5rem 0;
  }

  .hero-grid {
    gap: 2.25rem;
  }

  .hero-group-img {
    max-height: 340px;
  }

  .hero-floating-stat-card {
    margin-top: 0;
    padding: 1.25rem 1.25rem;
  }
}

/* Sector Card Image Styles */
.sector-card {
  padding: 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sector-card-media {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  background-color: var(--color-forest);
}

.sector-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.sector-card:hover .sector-card-img {
  transform: scale(1.05);
}

.sector-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(6, 35, 25, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #D8B26E;
  border: 1px solid rgba(184, 138, 68, 0.35);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
}

.sector-card-body {
  padding: 1.5rem 1.6rem 1.75rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sector-card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-forest);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  transition: var(--transition);
}

.sector-card-link:hover {
  color: var(--color-emerald);
  transform: translateX(3px);
}

/* Section Containers */
.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--color-white);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

/* Step Cards */
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #D8B26E;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* Grant Opportunity Card */
.grant-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.grant-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.grant-card-body {
  flex-grow: 1;
}

.grant-card-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.grant-amount-tag {
  display: flex;
  flex-direction: column;
}

.grant-amount-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  font-weight: 600;
}

.grant-amount-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-forest);
  font-family: var(--font-display);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--color-white);
  border: 1px dashed var(--color-border-dark);
  border-radius: 16px;
  max-width: 600px;
  margin: 2rem auto;
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--color-ivory);
  color: var(--color-forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--color-forest-dark);
  color: #94A3B8;
  padding: 4.5rem 0 2rem 0;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.8fr 1.1fr 1.1fr;
  }
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #D8B26E;
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  color: #64748B;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--color-gold);
  border-radius: 8px;
  padding: 1.25rem 1.4rem;
  margin-bottom: 2.5rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #CBD5E1;
}

/* ==========================================================================
   Gloxen/Gaviro Floating Bottom Navigation Capsule Bar
   (Home, Apply, Submissions, Notices, Me)
   ========================================================================== */
.portal-bottom-nav {
  position: fixed !important;
  bottom: 0.85rem !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  margin: 0 auto !important;
  z-index: 99999 !important;
  background: rgba(7, 21, 9, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(116, 219, 19, 0.4);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  max-width: 95vw;
  width: max-content;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.portal-bottom-nav-item {
  color: #A1C4A5;
  text-decoration: none;
  padding: 4px 11px;
  border-radius: 9999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
}

.portal-bottom-nav-item:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

.portal-bottom-nav-item.active {
  background: linear-gradient(135deg, #246A14 0%, #74DB13 100%);
  color: #061309;
  font-weight: 900;
  padding: 6px 14px;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(116, 219, 19, 0.35);
}

.portal-bottom-nav-item.active:hover {
  background: linear-gradient(135deg, #246A14 0%, #86ED20 100%);
  color: #061309;
}

.portal-bottom-nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.2s ease, stroke 0.2s ease;
}

.portal-bottom-nav-item.active .portal-bottom-nav-icon {
  stroke: #061309;
  stroke-width: 2.2;
}

.portal-bottom-nav-item:active {
  transform: scale(0.95);
}

.portal-bottom-nav-label {
  letter-spacing: -0.01em;
}

.portal-bottom-nav-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: #EF4444;
  color: #FFFFFF;
  border-radius: 9999px;
  font-size: 9px;
  font-weight: 800;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #071509;
  line-height: 1;
}

.portal-bottom-nav-item.active .portal-bottom-nav-badge {
  border-color: #246A14;
}

@media (max-width: 380px) {
  .portal-bottom-nav {
    padding: 4px 6px;
    gap: 2px;
  }

  .portal-bottom-nav-item {
    padding: 3px 7px;
    font-size: 10px;
  }

  .portal-bottom-nav-item.active {
    padding: 5px 10px;
  }

  .portal-bottom-nav-icon {
    width: 18px;
    height: 18px;
  }
}