/* =========================================================
   MEVA GLOBAL THEME
   ========================================================= */

:root {
  --gold: #fbbf24;
  --gold-soft: #fde68a;
  --nav-text: #e5e7eb;
}

body {
  margin: 0;
  padding: 0;
  background: #0f172a;
  color: #e5e7eb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
}

/* ============================================
   MEVA PROFESSIONAL HERO IMAGE (CENTERED)
   ============================================ */

.meva-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 1.5rem;
    background: radial-gradient(
        circle at center,
        rgba(255, 215, 100, 0.06),
        rgba(2, 6, 23, 0.95)
    );
    border-radius: 1.5rem;
    margin-bottom: 2.5rem;
}

.meva-hero-image img {
    max-width: 100%;
    width: 960px;          /* Elegant max width */
    height: auto;
    object-fit: contain;   /* NEVER cut image */
    border-radius: 1rem;
    box-shadow: 0 25px 60px rgba(0,0,0,0.45);
}

/* ============================================
   MEVA GOLD LINK HOVER ANIMATION
   ============================================ */

a {
    position: relative;
    color: var(--gold-soft);
    text-decoration: none;
    transition: color 0.25s ease;
}

/* Animated underline */
a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 1.5px;
    background-color: var(--gold);
    transition: width 0.25s ease;
}

/* Hover effect */
a:hover {
    color: var(--gold);
}

a:hover::after {
    width: 100%;
}

/* Visited links stay gold */
a:visited {
    color: var(--gold-soft);
}

/* Ministry / resource link list */
.meva-link-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.meva-link-list a {
  color: var(--gold-soft);
  text-decoration: none;
}

.meva-link-list a:hover {
  text-decoration: underline;
}

.meva-small {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-top: 0.35rem;
}


/* ============================================
   MEVA Global Section Spacing System
   ============================================ */

/* All major sections on every page */
section {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

/* Cards inside sections */
.intro-card,
.unit-card {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

/* Narrow page sections */
.page-narrow {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

/* =========================================================
   MEVA RESPONSIVE HERO IMAGE
   ========================================================= */
   
/* Full-image hero that never crops */
.meva-image-full {
  width: 100%;
  max-width: 100%;
  height: auto;            /* keeps original proportions */
  display: block;
  margin: 1.5rem auto;
  border-radius: 14px;
  object-fit: contain;     /* NEVER crop */
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.meva-image-small {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 5px 12px rgba(0,0,0,0.25);
  margin-bottom: 1rem;
}

.meva-hero-image {
  width: 100%;
/*  max-width: 100%; */
  display: block;

  max-width: 960px;
  margin: 1.2rem auto 0;
  padding: 0 1.5rem;
  
  /* Desktop default height */
  height: 520px;
  border-radius: 14px;
  margin-top: 1.2rem auto 0;
  margin-bottom: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.40);

  object-fit: cover;
  object-position: center top;
}

.hero-full {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

/* =========================================================
   MEVA HERO IMAGE (smaller version)
   ========================================================= */

/* Optional: smaller inline/card image style */
.meva-card-image {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  object-fit: cover;
}


/* =========================================================
   FULL-WIDTH HEADER & FOOTER CONTAINERS
   ========================================================= */

.site-header,
header {
  width: 100%;
  max-width: 100vw;
  margin: 0;
  box-sizing: border-box;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), #020617);
  border-bottom: 1px solid rgba(15, 23, 42, 0.8);
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-footer,
footer {
  width: 100%;
  max-width: 100vw;
  margin: 0;
  box-sizing: border-box;
}

/* ============================================
   MEVA CONTACT FORM STYLES
   ============================================ */

.meva-contact-form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.meva-contact-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.meva-contact-form .form-field {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
}

.meva-contact-form label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: #f2d27f; /* MEVA gold */
}

.meva-contact-form input,
.meva-contact-form select,
.meva-contact-form textarea {
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  background-color: rgba(4, 10, 30, 0.9);
  color: #f7f7f7;
  font-size: 0.95rem;
}

.meva-contact-form input:focus,
.meva-contact-form select:focus,
.meva-contact-form textarea:focus {
  outline: none;
  border-color: #f2d27f;
  box-shadow: 0 0 0 1px rgba(242, 210, 127, 0.6);
}

.meva-contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.meva-alert {
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.meva-alert.success {
  background: rgba(60, 120, 60, 0.25);
  border: 1px solid #7dd38a;
  color: #e4ffe7;
}

.meva-alert.error {
  background: rgba(150, 40, 40, 0.25);
  border: 1px solid #ff9d9d;
  color: #ffecec;
}

/* =========================================================
   MEVA DATE FIELDS (APPLICATION / FORMS)
   ========================================================= */

/* Generic label for compact date fields */
.meva-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #f5c542;
}

/* Wrapper for date input + placeholder behaviour */
.meva-date-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 320px;
}

/* Optional nested label when used inside .meva-date-field */
.meva-date-field > label {
  font-size: 15px;
  font-weight: 600;
  color: #f5c542;
}

/* Base date input inside MEVA field */
.meva-date-field input[type="date"],
.meva-date-field .meva-date {
  width: 100%;
  padding: 14px 42px 14px 14px;
  font-size: 16px;
  border-radius: 12px;
  background-color: #050917;
  border: 1px solid #242b3a;
  color: #ffffff;
  outline: none;
  appearance: auto;
  -webkit-appearance: auto;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: all 0.25s ease;
}

/* Focus state */
.meva-date-field input[type="date"]:focus,
.meva-date-field .meva-date:focus {
  border-color: #f5c542;
  box-shadow: 0 0 8px rgba(245, 197, 66, 0.45);
}

/* Fake placeholder text (yyyy-mm-dd) */
.meva-date-field::before {
  content: attr(data-placeholder);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #80838f;
  font-size: 16px;
}

/* Hide placeholder once there is a value */
.meva-date-field.has-value::before {
  content: "";
}

/* Hide native calendar icon for MEVA-styled fields */
.meva-date-field input[type="date"]::-webkit-calendar-picker-indicator,
.meva-date-field .meva-date::-webkit-calendar-picker-indicator {
  opacity: 0;
  display: block;
}

/* Placeholder colour inside input (fallback browsers) */
.meva-date-field input[type="date"]::placeholder {
  color: #7f7f7f;
}

/* Remove OS-specific buttons inside date field */
.meva-date-field input[type="date"]::-webkit-inner-spin-button,
.meva-date-field input[type="date"]::-webkit-clear-button {
  display: none;
}

/* Application form date field width tuning */
.form-field.date-field input[type="date"] {
  width: 240px;
  max-width: 100%;
  min-width: 180px;
  padding-right: 2.2rem;
  display: inline-block;
}

/* Date field variant with gold calendar icon (used in some forms) */
.date-field input[type="date"] {
  position: relative;
  padding-right: 2.5rem;
  background-color: #020617;
  border-radius: 0.75rem;
  border: 1px solid #1f2937;
  color: #e5e7eb;
  font: inherit;
  cursor: pointer;
  -webkit-appearance: auto;
  -moz-appearance: textfield;
  appearance: auto;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23fbbf24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 18px 18px;
}

.date-field input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
}

.date-field input[type="date"]:hover {
  border-color: #fbbf24;
}

.date-field input[type="date"]:focus {
  border-color: #fbbf24;
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.6);
  outline: none;
}

/* Optional decorative calendar icon container */
.calendar-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.9;
}

/* Keep DOB / start-date reasonably narrow on desktop */
#dob,
#start-date {
  max-width: 260px;
}

/* =========================================================
   MEVA PRIMARY BUTTON (used on all pages)
   ========================================================= */

/* Core MEVA button style */
.meva-btn,
a.meva-btn,
button.meva-btn,
input[type="submit"].meva-btn,
.apply-button,
.gold-button,
.hero-btn,
.contact-button,
.button-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.7rem 1.7rem;
  border-radius: 999px;

  border: none;
  outline: none;

  background: linear-gradient(90deg, #fbbf24, #f97316);
  color: #111827;

  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;

  cursor: pointer;

  box-shadow: 0 14px 32px rgba(251, 191, 36, 0.45);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease,
    background 0.18s ease;
}

/* Hover effect – slightly lifted, brighter */
.meva-btn:hover,
a.meva-btn:hover,
button.meva-btn:hover,
input[type="submit"].meva-btn:hover,
.apply-button:hover,
.gold-button:hover,
.hero-btn:hover,
.contact-button:hover,
.button-home:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 18px 40px rgba(251, 191, 36, 0.6);
}

/* Focus outline for accessibility */
.meva-btn:focus-visible,
a.meva-btn:focus-visible,
button.meva-btn:focus-visible,
input[type="submit"].meva-btn:focus-visible,
.apply-button:focus-visible,
.gold-button:focus-visible,
.hero-btn:focus-visible,
.contact-button:focus-visible,
.button-home:focus-visible {
  outline: 2px solid #facc15;
  outline-offset: 3px;
}

/* Disabled state (optional) */
.meva-btn[disabled],
button.meva-btn[disabled],
input[type="submit"].meva-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-row{
    margin-top:1.2rem;
    display:flex;
    flex-wrap:
    wrap;gap:0.7rem;
    align-items:center;
    
}

.btn-primary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0.55rem 1.4rem;
    border-radius:999px;
    border:none;
    background:linear-gradient(135deg,#facc15,#f97316);
    color:#111827;font-weight:600;font-size:0.9rem;
    box-shadow:0 15px 35px rgba(251,191,36,0.5);
    
}

.btn-primary:hover{
    transform:translateY(-1px);
    box-shadow:0 18px 45px rgba(251,191,36,0.65);
}

.btn-ghost{
    font-size:0.85rem;
    color:var(--text-soft);
    text-decoration:none;
    
}

/* =========================================================
   HEADER LAYOUT (LOGO + SCHOOL NAME + TAGLINE + MAIN NAV)
   ========================================================= */

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1rem 2rem 0.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.branding-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.logo-link {
  display: inline-block;
}

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

.school-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-main {
  font-size: 1rem;
  font-weight: 700;
 /* text-transform: none; uppercase; */
  letter-spacing: 0.08em;
  color: var(--gold);
}

.logo-sub {
  font-size: 0.82rem;
  color: #cbd5e1;
  margin-top: 2px;
}

/* Main navigation row under header */

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  width: 100%;
  margin-top: 1rem;
}
/*
/* =========================================================
   TOP-LEVEL MENU LINKS + COURSES DROPDOWN TRIGGERS
   ========================================================= 

/* Base style for top navigation links (HOME, COURSES, TEACHER, ABOUT, POLICIES, etc.) */
.main-nav a,
.nav-courses > a {
  position: relative;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
  text-decoration: none;
  padding: 0.25rem 0;
  opacity: 0.9;
  transition: color 0.25s ease, opacity 0.25s ease;
}

/* Gold underline on hover for top-level menu items */
.main-nav a::after,
.nav-courses > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #facc15, #f97316);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

/* Hover state: gold text + underline */
.main-nav a:hover,
.nav-courses > a:hover {
  color: var(--gold);
  opacity: 1;
}

.main-nav a:hover::after,
.nav-courses > a:hover::after {
  width: 70%;
}

/* Active top-level page (add class="active" in HTML if needed) */
.main-nav a.active {
  color: var(--gold);
}


/* =========================================================
   COURSES DROPDOWN (DESKTOP)
   ========================================================= */

/* Courses top-level item */
.nav-courses {
  position: relative;
}

/* Small down-arrow beside COURSES */
.nav-courses .arrow {
  font-size: 0.7rem;
  margin-left: 0.18rem;
}

/* Submenu container */
.nav-courses .dropdown {
  position: absolute;
  top: 100%;
  left: 0;

  width: max-content;     /* grows only as wide as longest text */
  min-width: 270px;
  max-width: 390px;
  white-space: nowrap;

  background: #020617;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 0.4rem 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);

  display: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 999;
}

/* Show dropdown on hover or on .open (mobile toggle) */
.nav-courses:hover .dropdown,
.nav-courses.open .dropdown {
  display: inline-block;
  opacity: 1;
  transform: translateY(0);
}

/* Remove bullets + spacing */
.nav-courses .dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Remove any separator/border */
.nav-courses .dropdown li,
.nav-courses .dropdown a {
  border: none;
  box-shadow: none;
  margin: 0;
  text-align: left;  
}

/* Base submenu link */
.nav-courses .dropdown a {
  display: inline-block;
  width: auto;
  min-width: fit-content;
  white-space: nowrap;
  padding: 0.55rem 1.6rem 0.55rem 1.1rem;
  font-size: 0.86rem;
  color: #e5e7eb;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  text-align: left;  
  transition:
  color 0.18s ease,
  padding-left 0.18s ease;
}

/* Text span — underline attaches ONLY to this */
.nav-courses .dropdown a .submenu-label {
  position: relative;
  display: inline-block;   /* width = text only */
}

/* GOLD UNDERLINE (correct length, no background) */
.nav-courses .dropdown a .submenu-label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.35em;           /* makes line slightly shorter than text */
  bottom: -4px;
  height: 2px;

  background: linear-gradient(to right, #facc15, #f97316);
  border-radius: 2px;

  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

/* HOVER — NO BACKGROUND, ONLY TEXT + UNDERLINE */
.nav-courses .dropdown a:hover {
  color: var(--gold);
  padding-left: 1.4rem;
}

/* Animate underline in */
.nav-courses .dropdown a:hover .submenu-label::after {
  transform: scaleX(1);
}

/* =========================================================
   GLOBAL PAGE LAYOUT / TYPOGRAPHY
   ========================================================= */

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  box-sizing: border-box;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--gold);
}

h2 {
  font-size: 1.4rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--gold);
}

h3 {
  font-size: 1.1rem;
  margin: 1.2rem 0 0.3rem;
  color: var(--gold);
}

p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0.2rem 0 0.6rem 0;
}

/* Narrow layout used on text-heavy pages (course / policies) */
.page-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}

/* Content images inside main sections */
main img,
.page-panel img,
.page-section img,
.policy-section img,
section img {
  max-width: 220px;
  height: auto;
  border-radius: 0.5rem;
  display: block;
  margin: 0.75rem auto;
}

/* Logo exception for thank-you layout */
.thankyou-wrapper img {
  width: 110px;
  height: auto;
}

/* =========================================================
   HERO & PRIMARY GOLD BUTTONS
   ========================================================= */

.hero-content {
  text-align: center;
  width: 100%;
  margin-top: 2rem;
}

.hero-button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Primary gold button family */
button,
.btn,
.btn-primary,
.apply-button,
.contact-button,
.button-home,
.hero-btn,
.gold-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  background: linear-gradient(90deg, #fbbf24, #ffd65b);
  color: #000;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 12px 30px rgba(250, 204, 21, 0.4);
}

button:hover,
.btn:hover,
.btn-primary:hover,
.apply-button:hover,
.contact-button:hover,
.button-home:hover,
.hero-btn:hover,
.gold-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(250, 204, 21, 0.55);
  filter: brightness(1.05);
}

/* Outline / ghost buttons */
.btn-ghost,
.gold-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.gold-outline-btn {
  border: 2px solid var(--gold);
  color: var(--gold);
  letter-spacing: 0.5px;
}

.gold-outline-btn:hover {
  color: #000;
  background: linear-gradient(90deg, #fbbf24, #ffd65b);
  border-color: #ffd65b;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(251, 191, 36, 0.25);
}

/* Shared button rows */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

/* =========================================================
   FOOTER (SINGLE LINE WITH ICONS + LINKS)
   ========================================================= */

.site-footer {
  background-color: #020617;
  color: #e5e7eb;
  font-size: 0.9rem;
  padding: 12px 18px;
  border-top: 1px solid rgba(250, 191, 36, 0.35);
  text-align: center;
  white-space: nowrap;
  overflow-x: auto;
}

.site-footer-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-logo {
  width: 36px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

.site-footer p {
  margin: 0;
  display: inline;
}

.site-footer span.sep {
  margin: 0 6px;
  opacity: 0.6;
}

.footer-link {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-link:hover {
  color: var(--gold);
  text-decoration: none;
}

/* =========================================================
   COURSE PAGE SHARED STYLES
   ========================================================= */

.course-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.course-meta {
  margin: 0.75rem 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cbd5e1;
  letter-spacing: 0.5px;
}

.course-meta .pill {
  display: inline-block;
  padding: 0.15rem 0.75rem;
  margin: 0 0.35rem 0.35rem 0;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.6);
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Course intro card */
.intro-card {
  margin-top: 1.5rem;
  padding: 1.75rem 1.75rem 1.5rem;
  border-radius: 14px;
  background: radial-gradient(circle at top left, #111827, #020617 65%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.intro-card h2 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  color: var(--gold);
}

.intro-card p {
  margin-bottom: 0.6rem;
}

/* Course unit blocks */
.unit-card {
  margin-top: 1.2rem;
  padding: 1.2rem 1.4rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(30, 64, 175, 0.5);
}

.unit-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  color: var(--gold);
  font-size: 1rem;
}

.unit-card ul {
  margin: 0.3rem 0 0;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =========================================================
   POLICY / MINISTRY PAGES (body.policy-page)
   ========================================================= */

body.policy-page {
  background: #020617;
  color: #e5e7eb;
}

body.policy-page main {
  max-width: 900px;
}

/* Policy header block */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
}

.brand h1 {
  font-size: 1.1rem;
  margin: 0 0 0.1rem 0;
  color: var(--gold);
}

.brand p {
  font-size: 0.8rem;
  margin: 0;
  color: #9ca3af;
}

/* Back-to-home pill link */
.back-link a {
  font-size: 0.75rem;
  color: var(--gold-soft);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
}

.back-link a:hover {
  background: var(--gold);
  color: #111827;
}

/* =========================================================
   CONTACT FORM LAYOUT
   ========================================================= */

.contact-wrapper {
  max-width: 750px;
  margin: 100px auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-title {
  font-size: 2rem;
  text-align: center;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 700;
}

.contact-subtitle {
  text-align: center;
  color: #d1d1d1;
  margin-bottom: 30px;
}

/* Two-column grid for contact form (desktop) */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.contact-form label {
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 600;
}

.contact-form span {
  color: #ff5555;
}

.contact-form input,
.contact-form textarea {
  width: 95%;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: #0d1528;
  color: white;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 6px rgba(255, 193, 7, 0.4);
}

.full-width {
  grid-column: span 2;
}

/* Gold button in contact form uses global .gold-button */
.gold-button {
  width: auto;
}

/* =========================================================
   APPLICATION PAGE LAYOUT
   ========================================================= */

.application-page {
  background: #020617;
  color: #e5e7eb;
}

/* Header image above application form */
.application-hero {
  max-width: 960px;
  margin: 1.5rem auto 0;
  padding: 0 1.5rem;
}

.application-hero-img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

/* Application main content container */
.application-main {
  max-width: 960px;
  margin: 0 auto 3rem;
  padding: 1.5rem 1.5rem 3rem;
}

.application-main .page-title {
  font-size: 1.8rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.page-intro,
.page-note,
.section-description,
.note,
.small-note {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e5e7eb;
}

.page-note strong {
  color: var(--gold);
}

/* Application form card container */
.card.form-card {
  background: radial-gradient(circle at top left, #020617, #020617 35%, #020617);
  border-radius: 14px;
  padding: 2rem 1.75rem 2.25rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
}

/* Two-column form grid (application + other forms) */
.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  margin-top: 0.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-soft);
  margin-bottom: 0.15rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 95%;
  font: inherit;
  color: #e5e7eb;
  background: #020617;
  border-radius: 0.75rem;
  border: 1px solid #1f2937;
  padding: 0.7rem 0.85rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.6);
}

.helper-text {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Applicant-type radio “pill” buttons */
.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid #4b5563;
  padding: 0.35rem 0.9rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #e5e7eb;
  background: #020617;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.radio-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-pill span {
  pointer-events: none;
}

.radio-pill:hover {
  border-color: var(--gold);
  background: radial-gradient(circle at top left, rgba(251, 191, 36, 0.14), #020617 55%);
  transform: translateY(-1px);
}

/* Checked state using :has */
.radio-pill:has(input:checked) {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  border-color: transparent;
  color: #111827;
}

/* Consent checkbox row */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.85rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: var(--gold);
}

/* =========================================================
   HERO / LEARNING / GALLERY SECTIONS
   ========================================================= */

.photo-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  margin: 40px auto;
  flex-wrap: wrap;
}

.photo-row img {
  width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.photo-row img:hover {
  transform: scale(1.05);
}

.gallery-item {
  text-align: center;
}

.gallery-item img {
  width: 100%;
  max-width: 330px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

.gallery-item p {
  color: #d1d5db;
  font-size: 1rem;
  margin-top: 10px;
}

/* Three feature cards on home hero */
.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.hero-card {
  background: #020617;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  overflow: hidden;
  text-align: center;
  padding-bottom: 1rem;
}

.hero-card img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-card p {
  margin-top: 0.8rem;
  padding: 0 0.9rem;
}

/* =========================================================
   THANK-YOU PAGE
   ========================================================= */

.thankyou-wrapper {
  max-width: 600px;
  margin: 120px auto;
  text-align: center;
  color: #f5f5f5;
}

.thankyou-wrapper h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}

.thankyou-wrapper p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #d1d1d1;
}

/* =========================================================
   HOME HERO IMAGE + TAGLINE
   ========================================================= */

.home-hero {
  max-width: 1100px;
  margin: 2.5rem auto 3rem;
  padding: 0 1.5rem;
}

.home-hero-inner {
  text-align: center;
}

.home-hero-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 18px;
  display: block;
  margin: 0 auto 1.2rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.hero-tagline {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--gold);
  font-size: clamp(1.6rem, 3.3vw, 2.4rem);
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

/* Soft animated glow for tagline */
.hero-tagline-glow {
  animation: heroTaglineGlow 2.6s ease-in-out infinite alternate;
}


/* ============================================
   MEVA GLOBAL SECTION SPACING (CLEAN-UP)
   ============================================ */

/* Reset weird margins on all sections and cards */
section,
.page-narrow,
.intro-card,
.unit-card {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

/* Main vertical rhythm: every major section on a page */
.meva-section {
    margin: 3rem auto;           /* vertical gap above and below */
}

/* For sections that already use .page-narrow as container */
.meva-section .page-narrow {
    margin: 0 auto;
}

/* Cards inside sections: smaller internal spacing only */
.intro-card,
.unit-card {
    padding-top: 2rem;
    padding-bottom: 2rem;
}


@keyframes heroTaglineGlow {
  from {
    text-shadow:
      0 0 6px rgba(251, 191, 36, 0.35),
      0 0 14px rgba(251, 191, 36, 0.25);
    transform: translateY(0);
  }
  to {
    text-shadow:
      0 0 10px rgba(251, 191, 36, 0.55),
      0 0 26px rgba(251, 191, 36, 0.4);
    transform: translateY(-1px);
  }
}

/* Make the two date fields a bit narrower on desktop */
#dob,
#start-date {
  max-width: 260px;
}

/* MEVA GLOBAL SECTION SPACING */

section.meva-section {
    margin: 3rem auto;
}

/* ============================================
   REMOVE UNDERLINE FROM ALL BUTTONS
   ============================================ */

/* Primary buttons */
.meva-btn,
.meva-btn:hover,
.meva-btn:focus,
.meva-btn:active {
    text-decoration: none !important;
}

/* Ghost / outline buttons */
.btn-ghost,
.btn-ghost:hover,
.btn-ghost:focus,
.btn-ghost:active {
    text-decoration: none !important;
}

/* Remove animated underline pseudo-element from buttons */
.meva-btn::after,
.btn-ghost::after {
    display: none !important;
}



/* =========================================================
   RESPONSIVE – MOBILE (<= 768px)
   ========================================================= */

@media (max-width: 768px) {
  /* Home hero spacing and image */
  .home-hero {
    margin: 1.8rem auto 2.5rem;
    padding: 0 1rem;
  }

  /* On small screens, let date fields be full width */
  #dob,
  #start-date {
    max-width: 90%;
  }

  .home-hero-img {
    border-radius: 14px;
    margin-bottom: 0.9rem;
  }

  .hero-tagline {
    font-size: clamp(1.4rem, 5vw, 1.9rem);
    line-height: 1.3;
  }

  /* Header layout on mobile */
  .header-inner {
    align-items: center;
    padding-inline: 1.1rem;
  }

  .branding-area {
    flex-direction: column;
    text-align: center;
  }

  .logo-img {
    max-height: 50px;
  }

  .logo-main {
    font-size: 0.9rem;
  }

  .logo-sub {
    font-size: 0.7rem;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.6rem;
  }

  .main-nav a,
  .nav-courses > a {
    font-size: 0.85rem;
  }

  /* Courses dropdown positioning on mobile (centered, fixed width) */
  .nav-courses {
    position: relative;
  }

  .nav-courses .dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: min(260px, 90vw);
    background: #000;
    border-radius: 0.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  }

  .nav-courses .dropdown a {
    width: 100%;
    text-align: left;
  }

  /* Learning / hero / cards stack vertically */
  .learning-grid {
    flex-direction: column;
    align-items: center;
  }

  .learning-card {
    width: 100%;
    max-width: 360px;
  }

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

  .page-narrow {
    padding: 1.8rem 1.1rem 2.4rem;
  }

  /* Forms stack into single column */
  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-group,
  .full-width {
    grid-column: span 1;
  }

  /* Buttons do not stretch full width */
  .btn-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .btn-primary,
  .btn-ghost {
    width: auto;
    justify-content: center;
  }

  /* Application page padding on mobile */
  .application-hero,
  .application-main {
    padding: 1rem 1.2rem 2.5rem;
  }

  /* Footer wraps neatly */
  .site-footer {
    white-space: normal;
  }

  .site-footer-inner {
    flex-wrap: wrap;
    row-gap: 4px;
    justify-content: center;
  }

  /* Image sections: stack images in rows on mobile */
  .hero-grid,
  .learning-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .three-column-gallery {
    grid-template-columns: 1fr;
  }

  .photo-row {
    flex-direction: column;
    align-items: center;
  }

  .photo-row img,
  .three-column-gallery img,
  .hero-grid img,
  .learning-grid img {
    width: 100%;
    max-width: 380px;
    height: auto;
    margin: 0 auto;
  }
}


/* LARGE LAPTOPS (slightly smaller height) */
@media (max-width: 1400px) {
  .meva-hero-image {
    height: 480px;
  }
}

/* TABLETS */
@media (max-width: 992px) {
  .meva-hero-image {
    height: 360px;
    object-position: center top;
  }
}

/* MOBILE LANDSCAPE */
@media (max-width: 768px) {
  .meva-hero-image {
    height: 260px;
    object-position: center top;
  }
}

/* MOBILE PORTRAIT */
@media (max-width: 480px) {
  .meva-hero-image {
    height: 200px;
    object-position: center top;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .meva-image-medium {
    width: 85%;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .meva-image-medium {
    width: 100%;
  }
}


/* Mobile layout: stack fields nicely */
@media (max-width: 768px) {
  .meva-contact-form .form-row {
    flex-direction: column;
  }
}

/* Optional: slightly tighter spacing on mobile */
@media (max-width: 768px) {
    section,
    .page-narrow {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    .intro-card,
    .unit-card {
        margin-top: 1.8rem;
        margin-bottom: 1.8rem;
    }
}

/* Tighter spacing on mobile */
@media (max-width: 768px) {
    .meva-section {
        margin: 2rem auto;
    }
    .intro-card,
    .unit-card {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}


@media (max-width: 768px) {
    section.meva-section {
        margin: 2rem auto;
    }
}


/* Tablet */
@media (max-width: 1024px) {
    .meva-hero-image img {
        width: 90%;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .meva-hero-image {
        padding: 1.5rem 1rem;
    }
}

/* =========================================================
   MOBILE SPACING COMPRESSION (MEVA)
   Applies automatically on phones
   ========================================================= */

@media (max-width: 768px) {

  /* Reduce global line height slightly on mobile */
  body {
    line-height: 1.45;
  }

  /* Paragraphs */
  p {
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
  }

  /* Headings */
  h1, h2, h3 {
    margin-top: 0.75rem;
    margin-bottom: 0.6rem;
  }

  /* Sections / cards */
  section {
    margin-bottom: 1.2rem !important;
    padding: 1.1rem !important;
  }

  /* Form labels */
  label,
  .meva-label {
    margin-bottom: 0.35rem;
  }

  /* Form fields */
  input,
  select,
  textarea {
    margin-bottom: 0.9rem;
  }

  /* MEVA date fields */
  .meva-date-field {
    gap: 4px;
  }

  /* Buttons */
  .meva-btn,
  .btn-ghost {
    margin-top: 0.6rem;
    margin-bottom: 0.6rem;
  }
}

/* =========================================================
   MOBILE FOOTER GAP FIX (MEVA)
   ========================================================= */

@media (max-width: 768px) {

  /* Reduce bottom spacing of main content */
  main {
    padding-bottom: 1.2rem !important;
    margin-bottom: 0 !important;
  }

  /* Remove extra space after the last section */
  main section:last-of-type {
    margin-bottom: 0 !important;
  }

  /* Tighten footer spacing */
  footer {
    margin-top: 1.2rem !important;
    padding-top: 1.2rem !important;
  }

  /* Prevent accidental extra spacing elements */
  footer > *:last-child {
    margin-bottom: 0 !important;
  }
}


/* =========================================================
   MEVA MOBILE SPACING COMPRESSION (GLOBAL)
   Fixes too much gap between sections/cards on phones
   ========================================================= */

@media (max-width: 768px) {

  /* 1) Tighten overall vertical rhythm */
  :root{
    --meva-gap-section: 1.4rem;
    --meva-gap-card: 1rem;
    --meva-gap-text: 0.7rem;
  }

  /* 2) Reduce default paragraph spacing */
  p{
    margin: 0.5rem 0 var(--meva-gap-text) 0;
  }

  /* 3) Reduce heading spacing */
  h1,h2,h3{
    margin: 0.8rem 0 0.6rem 0;
  }

  /* 4) Reduce spacing between major sections */
  section,
  .meva-section{
    margin: var(--meva-gap-section) auto !important;
  }

  /* 5) Reduce card spacing and padding */
  .intro-card,
  .unit-card{
    padding: 1.1rem !important;
    margin: 0 auto !important;
  }

  /* 6) Contact forms: tighten label/field gaps */
  label{
    margin-bottom: 0.35rem !important;
  }

  input, select, textarea{
    margin-bottom: 0.85rem !important;
  }

  /* 7) Reduce gap above footer */
  main{
    padding-bottom: 1rem !important;
    margin-bottom: 0 !important;
  }

  main section:last-of-type{
    margin-bottom: 0 !important;
  }

  footer{
    margin-top: 1.2rem !important;
    padding-top: 1.2rem !important;
  }
}



/* =========================================================
   MEVA DATE PICKER RELIABILITY (DESKTOP CHROME)
   - Do NOT disable native appearance on type="date"
   - Keep picker indicator present (can be transparent), so Chrome can open calendar
   ========================================================= */
.meva-date-field input[type="date"],
input[type="date"].meva-date{
  -webkit-appearance: auto !important;
  appearance: auto !important;
}

/* Keep indicator available (even if visually hidden elsewhere) */
.meva-date-field input[type="date"]::-webkit-calendar-picker-indicator,
input[type="date"].meva-date::-webkit-calendar-picker-indicator{
  display: block !important;
  opacity: 0 !important;
  cursor: pointer;
}


/* =========================================================
   FOOTER QUICK LINKS (SEO / NAVIGATION)
   ========================================================= */
.footer-quick-links {
  margin-top: 0.85rem;
}

.footer-quick-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.25rem;
}

.footer-quick-links a {
  color: var(--gold-soft);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.92;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.footer-quick-links a:hover,
.footer-quick-links a:focus {
  color: var(--gold);
  text-decoration: none;
  opacity: 1;
}


/* Keep footer content centered and readable */
.site-footer .header-inner {
  align-items: center;
  text-align: center;
}

/* --- Dropdown behavior (shared for any item that has submenu) --- */
.nav-dropdown{ position: relative; }
/*
.nav-dropdown .dropdown{
  display:none;
  position:absolute;
  top: calc(100% + 10px);
  left:50%;
  transform: translateX(-50%);
  min-width: 260px;
  z-index: 9999;
} */

/* === LEFT-ALIGNED SUBMENUS (professional look) === 
.nav-dropdown .dropdown{
  background: #020617;
  border: 1px solid rgba(148,163,184,0.35);
  border-radius: 14px;
  padding: 8px 0;
  box-shadow: 0 18px 45px rgba(0,0,0,0.65);

  min-width: 280px;
  max-width: 420px;

  left: 0;              /* align to left edge of parent 
  right: auto;
  transform: none;      /* remove centering 
  text-align: left;
} */

/* === FINAL OVERRIDE: dropdown alignment (put at VERY BOTTOM) === */
.main-nav .nav-dropdown{
  position: relative; /* make dropdown align to this item */
}

.main-nav .nav-dropdown .dropdown{
  left: 0 !important;          /* align to the menu item */
  right: auto !important;
  transform: none !important;  /* cancel any centering transform */
  top: calc(100% + 12px) !important;

  width: max-content;          /* shrink to content */
  min-width: 260px;
  max-width: min(420px, 92vw); /* keep inside screen */
}

/* submenu text alignment */
.main-nav .nav-dropdown .dropdown a{
  text-align: left !important;
}



/* Desktop: open on hover + keyboard */
@media (min-width: 769px){
  .nav-dropdown:hover .dropdown,
  .nav-dropdown:focus-within .dropdown{
    display:block;
  }
}

/* Mobile: open when JS adds .open */
@media (max-width: 768px){
  .nav-dropdown.open .dropdown{ display:block; }
}

/* --- Remove bullet dots from dropdown lists --- */
.nav-dropdown .dropdown ul,
.nav-dropdown .dropdown li{
  list-style: none !important;
  margin: 0;
  padding: 0;
}
.nav-dropdown .dropdown ul{ padding: 10px 0; }

/* --- Caret toggle button (only appears for items with submenu) --- */
.nav-dropdown{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-parent{ white-space: nowrap; }

.nav-caret{
  appearance: none;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 8px 8px;
  line-height: 1;
  border-radius: 999px;
}

.nav-caret:focus{ outline: 2px solid rgba(246,178,26,0.35); outline-offset: 2px; }

/* --- Ensure no underline on nav items or dropdown links --- */
.main-nav a:hover,
.main-nav a:focus{
  text-decoration: none;
}

/* --- CTA buttons (Apply Now / Contact) --- */
.nav-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
}

.nav-btn-primary{
  background: var(--gold, #f6b21a);
  color: #0b1220;
  border: 1px solid rgba(255,255,255,0.08);
}

.nav-btn-outline{
  background: transparent;
  color: var(--gold, #f6b21a);
  border: 1px solid rgba(246,178,26,0.45);
}

/* === MEVA NAV CLEANUP: keep dropdowns professional (fix big yellow caret + dots) === */
/* 1) STOP global button styles from turning the caret into a big gold pill */
.main-nav .nav-caret{
  all: unset;                 /* cancels global button styles in this file */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: 6px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--gold-soft);
  line-height: 1;
}

.main-nav .nav-caret:hover{
  color: var(--gold);
  background: rgba(251,191,36,0.14);
}

.main-nav .nav-caret:focus-visible{
  outline: 2px solid rgba(251,191,36,0.45);
  outline-offset: 2px;
}

/* 2) Desktop: open dropdown on hover (clean). Hide caret button on desktop. */
@media (min-width: 769px){
  .main-nav .nav-caret{ display:none; }
  .main-nav .nav-parent::after{
    content: " ▾";
    font-size: 0.75rem;
    opacity: 0.9;
  }
}

/* 3) Dropdown panel styling (consistent for Courses / Academics / School / Compliance) */
.nav-dropdown .dropdown{
  background: #020617;
  border: 1px solid rgba(148,163,184,0.35);
  border-radius: 14px;
  padding: 8px 0;
  box-shadow: 0 18px 45px rgba(0,0,0,0.65);
  min-width: 260px;
  max-width: 420px;
  margin-top: 10px;
}

/* 4) Remove bullets + left indent (the “dots” you are seeing) */
.nav-dropdown .dropdown ul{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-dropdown .dropdown li{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 5) Make submenu links clean (no animated underline inside dropdown) */
.nav-dropdown .dropdown a{
  display: block;
  padding: 10px 18px;
  font-size: 0.86rem;
  text-transform: none;
  letter-spacing: 0.02em;
  color: #e5e7eb;
  opacity: 0.95;
  text-align: left;
}

.nav-dropdown .dropdown a::after{
  display: none !important;   /* disables global underline animation for submenu */
}

.nav-dropdown .dropdown a:hover{
  color: var(--gold);
  background: rgba(251,191,36,0.08);
  opacity: 1;
}
