/* ===================================================================
   GENAXA - National Council for Vocational Education & Certification
   Master Institutional Stylesheet (css/style.css)
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Merriweather:ital,wght@0,300;0,400;0,700;1,300&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  /* System Specified 5-Color Combination Tokens */
  --color-primary: #14532D;
  --color-navy-darkest: #0A2615;
  --color-navy-dark: #0F3D21;
  --color-navy-base: #14532D;
  --color-navy-light: #166534;
  --color-navy-surface: #15803D;
  --color-navy-glass: rgba(20, 83, 45, 0.92);

  /* Royal & Primary Mapped Palette */
  --color-royal-blue: #14532D;
  --color-royal-dark: #0F3D21;
  --color-royal-light: #166534;
  --color-royal-glow: rgba(20, 83, 45, 0.2);
  --color-royal-gradient: linear-gradient(135deg, #14532D 0%, #0F3D21 100%);

  /* Accent Gold Palette */
  --color-accent: #EAB308;
  --color-gold-light: #FEF08A;
  --color-gold-base: #EAB308;
  --color-gold-deep: #CA8A04;
  --color-gold-metallic: linear-gradient(135deg, #FACC15 0%, #EAB308 50%, #CA8A04 100%);
  --color-gold-border: rgba(234, 179, 8, 0.4);
  --color-gold-glow: rgba(234, 179, 8, 0.25);
  --color-saffron: #EAB308;

  /* Emerald & Secondary Accents */
  --color-green-emerald: #14532D;
  --color-green-dark: #0F3D21;
  --color-green-light: #166534;
  --color-green-glow: rgba(20, 83, 45, 0.25);

  /* Page Canvas & Neutral Backgrounds */
  --color-bg-page: #FAF7F0;
  --color-bg-alt: #F4EFE6;
  --color-card-bg: #FFFFFF;
  --color-surface-white: #FFFFFF;
  --color-border-subtle: #E2DDD5;
  --color-border-medium: #CBD5E1;
  --color-text-dark: #17211B;
  --color-text-body: #17211B;
  --color-text-muted: #3D4F43;
  --color-text-light: #64786B;

  /* Typography */
  --font-serif: 'Playfair Display', 'Merriweather', Georgia, serif;
  --font-display: 'Cinzel', 'Playfair Display', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Shadows & Elevations */
  --shadow-card-light: 0 10px 30px -5px rgba(23, 33, 27, 0.07), 0 4px 12px -2px rgba(23, 33, 27, 0.04);
  --shadow-card-hover: 0 20px 40px -10px rgba(20, 83, 45, 0.15), 0 0 0 1px rgba(20, 83, 45, 0.3);
  --shadow-gold-hover: 0 20px 40px -10px rgba(234, 179, 8, 0.25), 0 0 0 1px rgba(234, 179, 8, 0.4);
  --shadow-navy-card: 0 15px 35px -8px rgba(15, 61, 33, 0.4), 0 0 1px 1px rgba(255, 255, 255, 0.08);
}

/* -------------------------------------------------------------
   Base Reset & Global Typography
   ------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-bg-page);
  color: var(--color-text-dark);
  font-family: var(--font-sans);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.65;
  background-color: var(--color-bg-page);
  color: var(--color-text-body);
  overflow-x: hidden;
}

/* -------------------------------------------------------------
   Executive Theme Canvas & Page Section Architecture
   ------------------------------------------------------------- */
section, main, article {
  background-color: var(--color-bg-page);
  position: relative;
}

/* Subtle slate alternate section backgrounds */
section.bg-alt-slate,
.bg-slate-50,
.bg-slate-100 {
  background-color: var(--color-bg-alt) !important;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

/* Dark Imperial Navy Showcase Sections */
section.bg-navy-dark,
section.bg-slate-900,
section.bg-slate-950 {
  background-color: var(--color-navy-dark) !important;
  color: #CBD5E1 !important;
}

section.bg-navy-dark h1, section.bg-navy-dark h2, section.bg-navy-dark h3,
section.bg-slate-900 h1, section.bg-slate-900 h2, section.bg-slate-900 h3,
section.bg-slate-950 h1, section.bg-slate-950 h2, section.bg-slate-950 h3 {
  color: #FFFFFF !important;
}

section.bg-navy-dark p, section.bg-slate-900 p, section.bg-slate-950 p {
  color: #CBD5E1 !important;
}

/* Typography Defaults on Page Canvas */
h1, h2, h3, h4, h5, h6, .font-serif-heading {
  font-family: var(--font-serif);
  color: var(--color-text-dark);
  letter-spacing: -0.01em;
  font-weight: 700;
}

.font-council-title {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

p {
  color: var(--color-text-body);
}

/* Accent Gradients & Motifs */
.text-gold-gradient {
  background: var(--color-gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-royal-gradient {
  background: var(--color-royal-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-green-gradient {
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header-motif {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-header-motif::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #2563EB 0%, #F59E0B 100%);
  border-radius: 2px;
}

.section-header-motif.align-left::after {
  left: 0;
  transform: none;
}

/* -------------------------------------------------------------
   2-TIER MODERN CARDS & BOXES SYSTEM
   ------------------------------------------------------------- */

/* Tier 1: Pristine White Professional Cards (Default for content, features, courses) */
.card-council,
.box-council,
.dash-card,
.admin-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border-subtle);
  border-radius: 16px;
  box-shadow: var(--shadow-card-light);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  color: var(--color-text-body);
}

.card-council:hover,
.box-council:hover {
  transform: translateY(-5px);
  border-color: #93C5FD;
  box-shadow: var(--shadow-card-hover);
}

/* Top micro-gradient border strip on light cards */
.card-accent-top::before,
.card-council::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #1E3A8A 0%, #2563EB 50%, #F59E0B 100%);
  z-index: 2;
}

.card-accent-gold::before {
  background: var(--color-gold-metallic) !important;
}

.card-accent-green::before,
.card-council-green::before {
  background: linear-gradient(90deg, #059669 0%, #10B981 100%) !important;
}

/* Headings & Text inside Pristine White Cards */
.card-council h1, .card-council h2, .card-council h3, .card-council h4, .card-council h5, .card-council h6,
.box-council h1, .box-council h2, .box-council h3, .box-council h4, .box-council h5, .box-council h6 {
  color: var(--color-text-dark);
}

.card-council p, .card-council span, .card-council li,
.box-council p, .box-council span, .box-council li {
  color: var(--color-text-body);
}

/* Tier 2: Dark Executive Imperial Navy Highlight Boxes */
.card-council-dark,
.box-council-dark,
.cert-seal-border,
.wa-popup-card,
.dropdown-menu-council,
.mobile-menu-drawer {
  background: linear-gradient(145deg, #0F1E3D 0%, #0A152C 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  border-radius: 16px !important;
  color: #CBD5E1 !important;
  box-shadow: var(--shadow-navy-card) !important;
  position: relative;
  overflow: hidden;
}

.card-council-dark:hover,
.box-council-dark:hover {
  border-color: rgba(245, 158, 11, 0.6) !important;
  box-shadow: 0 20px 45px -8px rgba(10, 21, 44, 0.6), 0 0 20px rgba(245, 158, 11, 0.25) !important;
}

/* Typography inside Dark Imperial Navy Boxes */
.card-council-dark h1, .card-council-dark h2, .card-council-dark h3, .card-council-dark h4, .card-council-dark h5, .card-council-dark h6,
.box-council-dark h1, .box-council-dark h2, .box-council-dark h3, .box-council-dark h4, .box-council-dark h5, .box-council-dark h6,
.cert-seal-border h1, .cert-seal-border h2, .cert-seal-border h3, .cert-seal-border h4, .cert-seal-border h5, .cert-seal-border h6,
.wa-popup-card h1, .wa-popup-card h2, .wa-popup-card h3, .wa-popup-card h4, .wa-popup-card h5, .wa-popup-card h6 {
  color: #FFFFFF !important;
}

.card-council-dark p, .card-council-dark span, .card-council-dark label, .card-council-dark li,
.box-council-dark p, .box-council-dark span, .box-council-dark label, .box-council-dark li {
  color: #CBD5E1 !important;
}

/* -------------------------------------------------------------
   Top Utility Bar & Sticky Navigation Header
   ------------------------------------------------------------- */
div.bg-slate-950.border-b,
.top-utility-bar {
  background-color: var(--color-navy-dark) !important;
  border-bottom: 1px solid rgba(245, 158, 11, 0.25) !important;
  color: #CBD5E1 !important;
}

.top-utility-bar a {
  color: #FBBF24 !important;
  transition: color 0.2s ease;
}

.top-utility-bar a:hover {
  color: #FFFFFF !important;
}

.navbar-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border-subtle) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  height: 76px;
  display: flex;
  align-items: center;
}

.navbar-scrolled {
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.1) !important;
  border-bottom-color: rgba(245, 158, 11, 0.4) !important;
  background: #FFFFFF !important;
}

.genaxa-header-logo {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.genaxa-header-logo:hover {
  transform: scale(1.025);
  filter: drop-shadow(0 4px 14px rgba(245, 158, 11, 0.4));
}

.nav-link {
  position: relative;
  color: var(--color-text-dark) !important;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
  padding: 8px 2px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  text-decoration: none;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-gold-deep) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--color-gold-metallic);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu */
.dropdown-group, .group {
  position: relative;
}

.dropdown-menu-council {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: linear-gradient(180deg, #0D1D3A 0%, #060E1D 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.4);
  padding: 8px 0;
  z-index: 999;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.dropdown-menu-council::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.dropdown-group:hover > .dropdown-menu-council,
.dropdown-group:focus-within > .dropdown-menu-council,
.group:hover > .dropdown-menu-council,
.group:focus-within > .dropdown-menu-council {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(2px) !important;
  pointer-events: auto !important;
}

.dropdown-item-council {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  color: #CBD5E1;
  font-size: 0.88rem;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-item-council:hover {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #FBBF24 !important;
  padding-left: 22px;
}

/* -------------------------------------------------------------
   Mobile Navigation Drawer & Overlay
   ------------------------------------------------------------- */
body.menu-open {
  overflow: hidden !important;
  touch-action: none;
}

.mobile-menu-backdrop {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(2, 6, 18, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 99998 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-backdrop.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.mobile-menu-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 88% !important;
  max-width: 380px !important;
  height: 100% !important;
  height: 100vh !important;
  background: linear-gradient(180deg, #0A162C 0%, #050B17 100%) !important;
  border-left: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.95);
  z-index: 99999 !important;
  display: flex !important;
  flex-direction: column !important;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  overflow: hidden !important;
}

.mobile-menu-drawer.open {
  transform: translateX(0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.mobile-drawer-header {
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 11, 23, 0.9);
  flex-shrink: 0;
}

.mobile-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.mobile-drawer-close:hover {
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
  border-color: rgba(245, 158, 11, 0.4);
}

.mobile-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  color: #E2E8F0;
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-bottom: 0.25rem;
  background: rgba(255, 255, 255, 0.02);
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  background: rgba(245, 158, 11, 0.1);
  color: #FBBF24;
  border-color: rgba(245, 158, 11, 0.25);
  transform: translateX(4px);
}

/* -------------------------------------------------------------
   Executive Buttons & Interactive CTAs
   ------------------------------------------------------------- */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  padding: 11px 26px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(217, 119, 6, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-gold:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  color: #FFFFFF !important;
}

.btn-royal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  padding: 11px 26px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-royal:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
  color: #FFFFFF !important;
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--color-gold-deep) !important;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  border: 1.5px solid rgba(217, 119, 6, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-outline-gold:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--color-gold-base);
  color: var(--color-gold-base) !important;
  transform: translateY(-2px);
}

.btn-outline-royal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--color-royal-blue) !important;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  border: 1.5px solid rgba(37, 99, 235, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-outline-royal:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--color-royal-blue);
  color: var(--color-royal-dark) !important;
  transform: translateY(-2px);
}

.btn-emerald {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF !important;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
  color: #FFFFFF !important;
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
  color: #FFFFFF !important;
}

/* -------------------------------------------------------------
   Hero Background & Stats Counter Strip
   ------------------------------------------------------------- */
.hero-pattern-bg {
  background-color: var(--color-bg-page) !important;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(37, 99, 235, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(245, 158, 11, 0.05) 0%, transparent 45%),
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px) !important;
  background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
}

.stats-strip {
  background: linear-gradient(135deg, #0F1E3D 0%, #0A152C 100%) !important;
  border-top: 1px solid rgba(245, 158, 11, 0.3);
  border-bottom: 1px solid rgba(245, 158, 11, 0.3);
  color: #FFFFFF !important;
}

.stats-strip h2, .stats-strip h3, .stats-strip p, .stats-strip span {
  color: #FFFFFF !important;
}

/* -------------------------------------------------------------
   Verification UI & Form Controls
   ------------------------------------------------------------- */
.cert-seal-border {
  border: 3px double var(--color-gold-base) !important;
  position: relative;
  background: linear-gradient(145deg, #0F1E3D 0%, #070E1C 100%) !important;
}

.input-council {
  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid var(--color-border-subtle);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--color-text-dark);
  font-size: 0.95rem;
  transition: all 0.2s ease;
  outline: none;
}

.input-council:focus {
  border-color: var(--color-royal-blue);
  box-shadow: 0 0 0 4px var(--color-royal-glow);
}

.card-council-dark .input-council,
.bg-slate-900 .input-council,
.bg-slate-950 .input-council {
  background: #070E1B !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
}

.card-council-dark .input-council:focus {
  border-color: var(--color-gold-base) !important;
  box-shadow: 0 0 0 4px var(--color-gold-glow) !important;
}

.label-council {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.card-council-dark .label-council {
  color: #CBD5E1 !important;
}

/* Status Badges */
.badge-status-valid {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
}

.badge-status-expired {
  background: rgba(245, 158, 11, 0.12);
  color: #D97706;
  border: 1px solid rgba(245, 158, 11, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
}

/* -------------------------------------------------------------
   Master Institutional Footer
   ------------------------------------------------------------- */
.footer-council {
  background: linear-gradient(180deg, #0A152C 0%, #050B17 100%) !important;
  border-top: 2px solid rgba(245, 158, 11, 0.4) !important;
  color: #94A3B8;
  position: relative;
  overflow: hidden;
  margin-top: auto;
}

.footer-council h1, .footer-council h2, .footer-council h3, .footer-council h4, .footer-council h5, .footer-council h6 {
  color: #FFFFFF !important;
}

.footer-link {
  color: #CBD5E1;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-link:hover {
  color: #FBBF24 !important;
  transform: translateX(4px);
}

/* -------------------------------------------------------------
   WhatsApp Floating Helpdesk Widget
   ------------------------------------------------------------- */
.wa-widget-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--font-sans);
}

.wa-launcher-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
}

.wa-launcher-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #FFFFFF;
}

.wa-popup-card {
  width: 340px;
  max-width: calc(100vw - 36px);
  background: linear-gradient(180deg, #0D1D3A 0%, #060E1D 100%);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(37, 211, 102, 0.18);
  overflow: hidden;
  margin-bottom: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.wa-popup-card.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* -------------------------------------------------------------
   Hero Title Left Entrance Animation
   ------------------------------------------------------------- */
@keyframes slideFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-animated-text {
  display: block;
  opacity: 0;
  animation: slideFromLeft 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
}

.hero-animated-line-1 { animation-delay: 0.1s; }
.hero-animated-line-2 { animation-delay: 0.35s; }
.hero-animated-line-3 { animation-delay: 0.6s; }

/* -------------------------------------------------------------
   Custom Scrollbar
   ------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #94A3B8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-base);
}

/* -------------------------------------------------------------
   Program Page Hero Slideshow & Image Carousel
   ------------------------------------------------------------- */
.course-hero-carousel {
  position: relative;
  width: 100%;
  height: 520px;
  min-height: 480px;
  background-color: #070E1B;
  overflow: hidden;
}

@media (min-width: 768px) {
  .course-hero-carousel {
    height: 580px;
  }
}

@media (min-width: 1024px) {
  .course-hero-carousel {
    height: 620px;
  }
}

.course-slide-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
  z-index: 1;
}

.course-slide-item.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.course-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 6s ease-out;
}

.course-slide-item.active .course-slide-img {
  transform: scale(1);
}

.course-slide-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 14, 27, 0.85) 0%,
    rgba(10, 21, 44, 0.75) 45%,
    rgba(7, 14, 27, 0.92) 100%
  );
  z-index: 2;
}

.course-slide-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

@media (min-width: 640px) {
  .course-slide-content {
    padding: 3rem 2rem;
  }
}

@media (min-width: 1024px) {
  .course-slide-content {
    padding: 3.5rem 3rem;
  }
}

/* Entrance animation for slide content elements */
.course-slide-item .slide-anim {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-slide-item.active .slide-anim-1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.course-slide-item.active .slide-anim-2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

.course-slide-item.active .slide-anim-3 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.course-slide-item.active .slide-anim-4 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.65s;
}

/* Slideshow Navigation Arrows */
.slide-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 21, 44, 0.7);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  outline: none;
}

.slide-arrow-btn:hover {
  background: rgba(245, 158, 11, 0.9);
  color: #070E1B;
  border-color: #F59E0B;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.slide-arrow-prev {
  left: 16px;
}

.slide-arrow-next {
  right: 16px;
}

@media (min-width: 768px) {
  .slide-arrow-prev { left: 24px; }
  .slide-arrow-next { right: 24px; }
}

/* Slide Indicator Dots */
.slide-dots-container {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

.slide-dot {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  padding: 0;
}

.slide-dot:hover {
  background: rgba(245, 158, 11, 0.7);
  border-color: #F59E0B;
}

.slide-dot.active {
  width: 32px;
  background: #F59E0B;
  border-color: #F59E0B;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

/* ===================================================================
   GENAXAGROUP.COM LIVE DESIGN SYSTEM OVERRIDES
   White Theme & Unified Dark Navy Boxes System
   =================================================================== */

html, body, section, main, article {
  background-color: #FFFFFF !important;
  color: #1E293B !important;
}

.hero-pattern-bg {
  background-color: #FFFFFF !important;
  background-image: radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.05) 0%, transparent 40%), linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px) !important;
}

header.navbar-sticky {
  height: 76px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 1px solid #E2E8F0 !important;
}

.genaxa-header-logo {
  height: 48px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain !important;
  display: block !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12)) !important;
  transition: transform 0.25s ease, filter 0.25s ease !important;
}

.genaxa-header-logo:hover {
  transform: scale(1.025) !important;
}

header.navbar-sticky .nav-link {
  color: #1E293B !important;
  font-size: 0.92rem !important;
}

header.navbar-sticky .nav-link:hover, header.navbar-sticky .nav-link.active {
  color: #D97706 !important;
}

/* UNIFIED DARK NAVY BOXES across website */
.card-council,
.card-council-green,
.box-council,
.cert-seal-border,
.wa-popup-card,
.dropdown-menu-council,
.mobile-menu-drawer,
.dash-card,
.admin-card,
div[class*="bg-slate"],
div[class*="bg-[#"],
div[class*="shadow"],
div[class*="card-accent"],
div[class*="bg-gradient"] {
  background-color: #0A152C !important;
  background-image: none !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  border-radius: 16px !important;
  color: #CBD5E1 !important;
  box-shadow: 0 12px 32px -6px rgba(10, 21, 44, 0.25) !important;
}

/* ALL Headings inside cards/boxes MUST be crisp white */
div[class*="shadow"] h1, div[class*="shadow"] h2, div[class*="shadow"] h3, div[class*="shadow"] h4, div[class*="shadow"] h5, div[class*="shadow"] h6,
div[class*="card-accent"] h1, div[class*="card-accent"] h2, div[class*="card-accent"] h3, div[class*="card-accent"] h4, div[class*="card-accent"] h5, div[class*="card-accent"] h6,
div[class*="bg-gradient"] h1, div[class*="bg-gradient"] h2, div[class*="bg-gradient"] h3, div[class*="bg-gradient"] h4, div[class*="bg-gradient"] h5, div[class*="bg-gradient"] h6,
div[class*="bg-[#"] h1, div[class*="bg-[#"] h2, div[class*="bg-[#"] h3, div[class*="bg-[#"] h4, div[class*="bg-[#"] h5, div[class*="bg-[#"] h6,
div[class*="bg-slate"] h1, div[class*="bg-slate"] h2, div[class*="bg-slate"] h3, div[class*="bg-slate"] h4, div[class*="bg-slate"] h5, div[class*="bg-slate"] h6,
.card-council h1, .card-council h2, .card-council h3, .card-council h4, .card-council h5, .card-council h6 {
  color: #FFFFFF !important;
}

/* ALL Paragraphs and Spans inside cards/boxes MUST be light silver */
div[class*="shadow"] p, div[class*="shadow"] span, div[class*="shadow"] label,
div[class*="card-accent"] p, div[class*="card-accent"] span, div[class*="card-accent"] label,
div[class*="bg-gradient"] p, div[class*="bg-gradient"] span, div[class*="bg-gradient"] label,
div[class*="bg-[#"] p, div[class*="bg-[#"] span, div[class*="bg-[#"] label,
div[class*="bg-slate"] p, div[class*="bg-slate"] span, div[class*="bg-slate"] label,
.card-council p, .card-council span, .card-council label {
  color: #CBD5E1 !important;
}

/* BUTTONS & INPUT SIZING ALIGNMENT */
.btn-gold, .btn-royal, .btn-emerald, .btn-outline-gold, .btn-outline-royal {
  padding: 11px 26px !important;
  font-size: 0.88rem !important;
  border-radius: 8px !important;
}

.input-council {
  padding: 12px 16px !important;
  font-size: 0.95rem !important;
  border-radius: 8px !important;
}
