/* ═══════════════════════════════════════════════════════
   YE-ETHIOPIA LISAN — Ethiopian Heritage Language School
   CSS Stylesheet | Mobile-First | Ethiopian Design System
═══════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
  /* Ethiopian color palette */
  --eth-green: #1B6B3A;
  --eth-green-lt: #2E8B57;
  --eth-yellow: #DAA520;
  --eth-gold: #C9A227;
  --eth-gold-lt: #F0C040;
  --eth-red: #8B1A1A;
  --eth-red-lt: #C0392B;
  --eth-cream: #FAF3E0;
  --eth-dark: #1A1208;
  --eth-brown: #3D2B1F;
  --eth-tan: #8B6914;

  /* Neutral scale */
  --white: #FFFFFF;
  --gray-50: #FAFAF9;
  --gray-100: #F5F0E8;
  --gray-200: #E8DCC8;
  --gray-400: #9D8A72;
  --gray-600: #5C4A35;
  --gray-800: #2C1F10;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-eth: 'Noto Serif Ethiopic', serif;

  /* Spacing */
  --section-py: clamp(4rem, 8vw, 7rem);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .10);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, .16);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .24);
  --shadow-card: 0 4px 20px rgba(26, 18, 8, .12);

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --tr: .3s var(--ease);
}

/* ── RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: radial-gradient(circle at top right, rgba(255, 255, 255, .92), transparent 26%),
    radial-gradient(circle at left bottom, rgba(201, 162, 39, .08), transparent 24%),
    var(--gray-50);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--eth-gold);
  border-radius: 3px;
}

/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* ── SECTION COMMON ── */
.section {
  padding: var(--section-py) 0;
  position: relative;
}

/* ── ETHIOPIAN BORDER DIVIDERS ── */
.eth-border-top {
  height: 6px;
  background: linear-gradient(90deg, var(--eth-green) 33.3%, var(--eth-yellow) 33.3% 66.6%, var(--eth-red) 66.6%);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.eth-border-top.gold {
  background: linear-gradient(90deg, var(--eth-gold), var(--eth-brown), var(--eth-gold));
}

/* ── SECTION HEADER ── */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--eth-dark);
  margin-bottom: .75rem;
  line-height: 1.2;
}

.section-header p {
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-header.light h2 {
  color: var(--white);
}

.section-header.light p {
  color: rgba(255, 255, 255, .8);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--eth-green);
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 999px;
  margin-bottom: .9rem;
}

.tag-gold {
  background: linear-gradient(135deg, var(--eth-gold), var(--eth-tan));
  color: var(--eth-dark);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--eth-green), var(--eth-green-lt));
  color: var(--white);
  padding: .85rem 2.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--tr);
  box-shadow: 0 4px 16px rgba(27, 107, 58, .35);
  white-space: nowrap;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--eth-green-lt), var(--eth-green));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 107, 58, .45);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 2px solid rgba(255, 255, 255, .6);
  color: var(--white);
  padding: .8rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--tr);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .15);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--tr);
}

.navbar.scrolled {
  background: rgba(26, 18, 8, .95);
  backdrop-filter: blur(16px);
  padding: .7rem 0;
  box-shadow: 0 2px 24px rgba(0, 0, 0, .3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}

/* Inline SVG wordmark logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
}

.logo-icon {
  flex-shrink: 0;
  border-radius: 50%;
  transition: transform .25s ease, box-shadow .25s ease;
}

.logo-link:hover .logo-icon {
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 4px 18px rgba(201, 162, 39, .45);
}

.logo-wordmark {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--white);
  line-height: 1;
  transition: color .2s;
}

.navbar.scrolled .logo-wordmark { color: var(--white); }
html.dark .logo-wordmark { color: var(--eth-gold-lt); }
.logo-link:hover .logo-wordmark { color: var(--eth-gold-lt); }


.logo-eth {
  font-family: var(--font-eth);
  font-size: 1.5rem;
  color: var(--eth-gold-lt);
  line-height: 1;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}

.nav-links {
  display: none;
  align-items: center;
  gap: .25rem;
}

.nav-links.open {
  display: flex;
}

.nav-links li a {
  color: rgba(255, 255, 255, .85);
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 500;
  transition: var(--tr);
}

.nav-links li a:hover {
  color: var(--eth-gold-lt);
  background: rgba(255, 255, 255, .08);
}

.nav-cta {
  background: linear-gradient(135deg, var(--eth-gold), var(--eth-tan)) !important;
  color: var(--eth-dark) !important;
  font-weight: 700 !important;
  padding: .55rem 1.3rem !important;
  border-radius: 999px !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 162, 39, .4);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--tr);
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex !important;
  }
}

@media (max-width: 899px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 18, 8, .98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: .5rem;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    font-size: 1.1rem;
    padding: .75rem 1rem;
    display: block;
    text-align: center;
  }
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }

  to {
    transform: scale(1.15);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      rgba(26, 18, 8, .88) 0%,
      rgba(27, 107, 58, .55) 50%,
      rgba(139, 26, 26, .72) 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(201, 162, 39, .15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(27, 107, 58, .2) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 6rem 1.25rem 4rem;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(201, 162, 39, .25);
  border: 1px solid rgba(201, 162, 39, .5);
  color: var(--eth-gold-lt);
  padding: .45rem 1.2rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
  animation: fadeInDown .8s var(--ease) both;
}

.hero-title {
  margin-bottom: 1rem;
  animation: fadeInUp .8s .2s var(--ease) both;
}

.eth-script {
  display: block;
  font-family: var(--font-eth);
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .4);
  margin-bottom: .4rem;
}

.hero-sub-title {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--eth-gold-lt);
  font-style: italic;
  margin-bottom: .5rem;
}

.hero-desc {
  color: rgba(255, 255, 255, .85);
  font-size: clamp(.95rem, 2vw, 1.1rem);
  max-width: 600px;
  margin: 0 auto 1.5rem;
  animation: fadeInUp .8s .35s var(--ease) both;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 2rem;
  animation: fadeInUp .8s .45s var(--ease) both;
}

.hero-tags span {
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .25);
  padding: .35rem .9rem;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  animation: fadeInUp .8s .55s var(--ease) both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  animation: fadeInUp .8s .65s var(--ease) both;
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--eth-gold-lt);
  line-height: 1;
}

.stat-label {
  font-size: .78rem;
  color: rgba(255, 255, 255, .7);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, .25);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, .6);
  animation: bounce 2s infinite;
}

.hero-scroll svg {
  width: 28px;
  height: 28px;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-highlight {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem;
  margin: 1.8rem auto 2.5rem;
  max-width: 760px;
}

.hero-highlight span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .92);
  padding: .7rem 1rem;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

/* ═══════════════════════════════════════
   WHY ETHIOSPEAK — Cultural Background
═══════════════════════════════════════ */
.value-props {
  position: relative;
  overflow: hidden;
}

/* Background image layer */
.value-props-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.value-props-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: valueBgZoom 22s ease-in-out infinite alternate;
}

@keyframes valueBgZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}

/* Overlay — bright green at top, fades to near-black at bottom
   so the bottom matches the lang-overlay start colour exactly */
.value-props-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 35, 18, .82) 0%,
    rgba(27, 107, 58, .70) 45%,
    rgba(12, 16, 10, .97) 100%
  );
}

/* Ensure content sits above the bg */
.value-props .container {
  position: relative;
  z-index: 1;
}

.value-props .section-header {
  margin-bottom: 2.5rem;
}

.value-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .value-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Glassmorphism cards over the dark cultural background */
.value-card {
  background: rgba(255, 255, 255, .1);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-top: 3px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
  transition: var(--tr), border-top-color .3s;
}

.value-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .16);
  border-color: rgba(201, 162, 39, .45);
  border-top-color: var(--eth-gold);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .35);
}

.value-card-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-family: var(--font-serif);
  color: var(--white);
  margin-bottom: .7rem;
  font-size: 1.15rem;
}

html.dark .value-card h3 { color: #f0e8d8; }

.value-card p {
  color: rgba(255, 255, 255, .78);
  font-size: .95rem;
  line-height: 1.7;
}

/* Dark mode cards — keep glassmorphism but slightly lighter */
html.dark .value-card {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .12);
}

.path-steps {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 2.5rem;
}

@media (min-width: 900px) {
  .path-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.path-step {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.3rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: var(--tr);
}

.path-step:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 162, 39, .4);
}

.step-number {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--eth-green), var(--eth-green-lt));
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.path-step h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: .4rem;
}

.path-step p {
  color: rgba(255, 255, 255, .8);
  font-size: .92rem;
  line-height: 1.7;
  margin: 0;
}

/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */
/* About section — light bg, but fade bottom to ease into value-props dark */
.about {
  background: var(--gray-50);
  padding-top: calc(var(--section-py) + .5rem);
  position: relative;
}

/* Soft bottom vignette — previews the incoming dark section */
.about::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(15, 28, 18, .18)
  );
  pointer-events: none;
  z-index: 1;
}

html.dark .about { background: #141210; }


.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 5fr 7fr;
    gap: 3.5rem;
  }
}

.about-image-wrap {
  position: relative;
}

.about-img-gallery {
  display: grid;
  grid-template-rows: auto auto;
  gap: .55rem;
}

/* Top: full-width landscape */
.about-img-main {
  aspect-ratio: 4/3;
  width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
  transition: transform .5s ease;
}

.about-img-main:hover {
  transform: scale(1.04);
}

/* Bottom row: two side-by-side */
.about-img-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
}

.about-img-col {
  aspect-ratio: 4/3;
  width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: block;
  transition: transform .5s ease;
}

.about-img-col:hover {
  transform: scale(1.04);
}

.about-img-badge {
  position: absolute;
  bottom: -1.2rem;
  right: 1.5rem;
  background: linear-gradient(135deg, var(--eth-gold), var(--eth-tan));
  color: var(--eth-dark);
  padding: .6rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.eth-cross {
  font-size: 1.3rem;
}

.about-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--eth-dark);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--eth-brown);
  font-weight: 500;
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--eth-green);
  transition: var(--tr);
}

.pillar:hover {
  background: var(--eth-cream);
  transform: translateX(4px);
}

.pillar-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.pillar strong {
  display: block;
  color: var(--eth-dark);
  margin-bottom: .15rem;
}

.pillar p {
  color: var(--gray-600);
  font-size: .9rem;
  margin: 0;
}

/* ═══════════════════════════════════════
   LANGUAGES
═══════════════════════════════════════ */
.languages {
  position: relative;
  overflow: hidden;
}

/* Keep the tricolor band always on top */
.languages .eth-border-top {
  z-index: 3;
}


.lang-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lang-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Start very dark (blends with value-props bottom), open up to deep green */
.lang-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 6, .98) 0%,
    rgba(18, 60, 32, .88) 30%,
    rgba(27, 107, 58, .80) 70%,
    rgba(20, 40, 25, .92) 100%
  );
}

.languages .container {
  position: relative;
  z-index: 1;
}

.lang-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .lang-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1050px) {
  .lang-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.lang-card {
  position: relative;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--tr);
  backdrop-filter: blur(12px);
}

.lang-card:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(201, 162, 39, .5);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .3);
}

.lang-card.featured {
  border-color: var(--eth-gold);
  background: rgba(201, 162, 39, .12);
}

.lang-card-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, var(--eth-gold), var(--eth-tan));
  color: var(--eth-dark);
  font-size: .75rem;
  font-weight: 700;
  padding: .35rem .9rem;
  border-bottom-left-radius: var(--radius-sm);
  letter-spacing: .05em;
}

.lang-card-inner {
  padding: 2rem 1.5rem;
}

.lang-flag {
  font-size: 2.5rem;
  margin-bottom: .5rem;
}

.lang-flag-svg {
  font-size: 0;
  display: flex;
  align-items: center;
  margin-bottom: .5rem;
}

.lang-script {
  font-family: var(--font-eth);
  font-size: 1.5rem;
  color: var(--eth-gold-lt);
  margin-bottom: .5rem;
  line-height: 1.2;
}

.lang-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: .4rem;
}

.lang-spoken {
  font-size: .82rem;
  color: rgba(255, 255, 255, .6);
  margin-bottom: .9rem;
}

.lang-spoken strong {
  color: var(--eth-gold-lt);
}

.lang-desc {
  color: rgba(255, 255, 255, .75);
  font-size: .9rem;
  margin-bottom: 1.1rem;
  line-height: 1.6;
}

.lang-features {
  margin-bottom: 1.5rem;
}

.lang-features li {
  color: rgba(255, 255, 255, .7);
  font-size: .85rem;
  padding: .25rem 0;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.lang-cta {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--eth-green), var(--eth-green-lt));
  color: var(--white);
  padding: .75rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  transition: var(--tr);
}

.lang-cta:hover {
  background: var(--eth-gold);
  color: var(--eth-dark);
  transform: scale(1.02);
}

.lang-card.featured .lang-cta {
  background: var(--eth-gold);
  color: var(--eth-dark);
}

.lang-card.featured .lang-cta:hover {
  background: var(--eth-gold-lt);
}

/* ═══════════════════════════════════════
   INSTRUCTOR
═══════════════════════════════════════ */
.instructor {
  background: var(--eth-cream);
  padding-top: calc(var(--section-py) + .5rem);
}

.instructor-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 800px) {
  .instructor-card {
    grid-template-columns: 360px 1fr;
  }
}

.instructor-img-wrap {
  position: relative;
  background: linear-gradient(160deg, var(--eth-dark), var(--eth-brown));
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.instructor-img-frame {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--eth-gold);
  box-shadow: 0 0 0 12px rgba(201, 162, 39, .2), 0 20px 40px rgba(0, 0, 0, .4);
}

.instructor-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.instructor-langs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}

.instructor-langs span {
  background: rgba(201, 162, 39, .2);
  border: 1px solid rgba(201, 162, 39, .4);
  color: var(--eth-gold-lt);
  padding: .3rem .8rem;
  border-radius: 999px;
  font-size: .82rem;
  font-family: var(--font-eth);
}

.instructor-content {
  padding: 2.5rem 2.5rem 2.5rem 1rem;
}

@media (max-width: 799px) {
  .instructor-content {
    padding: 2rem;
  }
}

.instructor-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: linear-gradient(135deg, var(--eth-gold), var(--eth-tan));
  color: var(--eth-dark);
  padding: .4rem 1rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: .04em;
}

.instructor-content h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--eth-dark);
  margin-bottom: .25rem;
}

.instructor-title {
  color: var(--eth-green);
  font-weight: 600;
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.instructor-bio {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.instructor-qualities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

@media (max-width: 600px) {
  .instructor-qualities {
    grid-template-columns: 1fr;
  }
}

.quality {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  transition: var(--tr);
}

.quality:hover {
  border-color: var(--eth-green);
  background: #f0faf5;
}

.quality-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.quality strong {
  display: block;
  color: var(--eth-dark);
  font-size: .9rem;
  margin-bottom: .1rem;
}

.quality span {
  color: var(--gray-600);
  font-size: .82rem;
}

/* ═══════════════════════════════════════
   CLASS STRUCTURE
═══════════════════════════════════════ */
.structure {
  position: relative;
  overflow: hidden;
}

.structure-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.structure-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.structure-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(61, 43, 31, .95), rgba(27, 107, 58, .88));
}

.structure .container {
  position: relative;
  z-index: 1;
}

.structure-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 700px) {
  .structure-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.structure-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: var(--tr);
  backdrop-filter: blur(10px);
}

.structure-card:hover {
  background: rgba(255, 255, 255, .14);
  transform: translateY(-4px);
}

.structure-card.featured-card {
  border-color: var(--eth-gold);
  background: rgba(201, 162, 39, .1);
}

.structure-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.structure-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: .75rem;
}

.structure-card p,
.structure-card ul {
  color: rgba(255, 255, 255, .75);
  margin-bottom: 1.2rem;
}

.structure-card li {
  color: rgba(255, 255, 255, .7);
  padding: .3rem 0;
  padding-left: 1.2rem;
  position: relative;
  font-size: .9rem;
}

.structure-card li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--eth-gold-lt);
  font-size: .65rem;
  top: .45rem;
}

.structure-badge {
  display: inline-block;
  margin-top: 1.2rem;
  background: rgba(201, 162, 39, .25);
  border: 1px solid rgba(201, 162, 39, .4);
  color: var(--eth-gold-lt);
  padding: .35rem .9rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
}

.teams-info {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  backdrop-filter: blur(10px);
}

.teams-logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

.teams-logo svg {
  width: 36px;
  height: 36px;
}

.teams-info p {
  color: rgba(255, 255, 255, .75);
  font-size: .9rem;
  flex: 1;
  min-width: 200px;
}

.structure-note {
  color: rgba(255, 255, 255, .65);
  font-size: .9rem;
  text-align: center;
  font-style: italic;
  padding: 1rem;
  background: rgba(0, 0, 0, .2);
  border-radius: var(--radius-sm);
}

/* ═══════════════════════════════════════
   SCHEDULE
═══════════════════════════════════════ */
.schedule {
  background: var(--white);
  padding-top: calc(var(--section-py) + .5rem);
}

.schedule-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.schedule-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--tr);
}

.schedule-card:hover {
  border-color: var(--eth-green);
  box-shadow: var(--shadow-sm);
}

.schedule-lang-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
}

.amharic-dot {
  background: var(--eth-green);
  box-shadow: 0 0 0 4px rgba(27, 107, 58, .2);
}

.tigrigna-dot {
  background: var(--eth-red);
  box-shadow: 0 0 0 4px rgba(139, 26, 26, .2);
}

.oromo-dot {
  background: var(--eth-green-lt);
  box-shadow: 0 0 0 4px rgba(46, 139, 87, .2);
}

.english-dot {
  background: var(--eth-gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, .2);
}

.schedule-info {
  flex: 1;
}

.schedule-info h4 {
  color: var(--eth-dark);
  font-weight: 700;
  margin-bottom: .15rem;
}

.schedule-info p {
  color: var(--gray-600);
  font-size: .88rem;
  margin: 0;
}

.schedule-status {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  padding: .25rem .8rem;
  border-radius: 999px;
  margin-top: .35rem;
}

.enrolling {
  background: #e8f5e9;
  color: var(--eth-green);
}

.schedule-action a {
  background: var(--eth-green);
  color: var(--white);
  padding: .55rem 1.2rem;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  transition: var(--tr);
  white-space: nowrap;
}

.schedule-action a:hover {
  background: var(--eth-green-lt);
  transform: scale(1.03);
}

.schedule-note {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: linear-gradient(135deg, var(--eth-cream), #fff);
  border: 1px solid var(--eth-gold);
  border-left: 5px solid var(--eth-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.note-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.schedule-note strong {
  display: block;
  color: var(--eth-dark);
  margin-bottom: .3rem;
}

.schedule-note p {
  color: var(--gray-600);
  font-size: .92rem;
  margin: 0;
}

/* ═══════════════════════════════════════
   PRICING
═══════════════════════════════════════ */
.pricing {
  background: var(--gray-100);
  overflow: hidden;
}

.pricing-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 50%, rgba(27, 107, 58, .07) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(201, 162, 39, .08) 0%, transparent 40%);
  pointer-events: none;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .pricing-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.pricing-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--gray-200);
  transition: var(--tr);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured-price {
  border-color: var(--eth-gold);
  background: linear-gradient(160deg, #fff 60%, var(--eth-cream));
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--eth-gold), var(--eth-tan));
  color: var(--eth-dark);
  padding: .3rem 1.2rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
}

.pricing-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.pricing-card h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--eth-dark);
  margin-bottom: 1rem;
}

.pricing-amount {
  margin-bottom: 1.5rem;
}

.price-label {
  display: block;
  color: var(--gray-400);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.price-value {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--eth-green);
}

.pricing-features {
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: .55rem 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-600);
  font-size: .92rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.pricing-note {
  text-align: center;
  color: var(--gray-600);
  font-size: .92rem;
  margin-top: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
}

/* ═══════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════ */
.testimonials {
  background: var(--eth-cream);
  padding-top: calc(var(--section-py) + .5rem);
}

.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .testi-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .testi-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.testi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-200);
  border-bottom: 4px solid var(--eth-green);
  transition: var(--tr);
  position: relative;
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testi-quote {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--eth-green);
  opacity: .2;
  line-height: .8;
  margin-bottom: .5rem;
}

.testi-card p {
  color: var(--gray-600);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--eth-green), var(--eth-green-lt));
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  color: var(--eth-dark);
  font-size: .95rem;
}

.testi-author span {
  color: var(--gray-400);
  font-size: .8rem;
}

/* ═══════════════════════════════════════
   REGISTRATION FORM
═══════════════════════════════════════ */
.register {
  position: relative;
  overflow: hidden;
}

.register-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.register-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.register-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26, 18, 8, .94), rgba(27, 107, 58, .85));
}

.register .container {
  position: relative;
  z-index: 1;
}

.form-wrap {
  max-width: 740px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 5vw, 3rem);
  backdrop-filter: blur(16px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  color: rgba(255, 255, 255, .9);
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: .45rem;
}

.form-group label small {
  color: rgba(255, 255, 255, .55);
  font-weight: 400;
  font-size: .8rem;
}

.req {
  color: var(--eth-gold-lt);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, .1);
  border: 1.5px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: .95rem;
  transition: var(--tr);
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, .35);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--eth-gold);
  background: rgba(255, 255, 255, .15);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, .2);
}

.form-group select option {
  background: var(--eth-dark);
  color: var(--white);
}

/* Language checkboxes */
.lang-checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
}

@media (min-width: 600px) {
  .lang-checkboxes {
    grid-template-columns: repeat(4, 1fr);
  }
}

.check-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  cursor: pointer;
  user-select: none;
  background: rgba(255, 255, 255, .07);
  border: 1.5px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-sm);
  padding: .65rem .85rem;
  transition: var(--tr);
}

.check-item:hover {
  background: rgba(255, 255, 255, .12);
  border-color: var(--eth-gold);
}

.check-item input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, .4);
  flex-shrink: 0;
  position: relative;
  transition: var(--tr);
}

.check-item input:checked+.checkmark {
  background: var(--eth-gold);
  border-color: var(--eth-gold);
}

.check-item input:checked+.checkmark::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: 2px solid var(--eth-dark);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.check-item input:checked~.check-label {
  color: var(--eth-gold-lt);
}

.check-label {
  color: rgba(255, 255, 255, .8);
  font-size: .85rem;
  line-height: 1.2;
}

.check-label em {
  color: rgba(255, 255, 255, .5);
  font-size: .78rem;
}

/* Submit */
.form-submit {
  text-align: center;
  margin-top: .5rem;
}

.btn-submit {
  background: linear-gradient(135deg, var(--eth-gold), var(--eth-tan));
  color: var(--eth-dark);
  padding: 1rem 3rem;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: var(--tr);
  min-width: 200px;
  box-shadow: 0 4px 16px rgba(201, 162, 39, .35);
}

.btn-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--eth-gold-lt), var(--eth-gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 162, 39, .45);
}

.btn-submit:disabled {
  opacity: .7;
  cursor: not-allowed;
}

.form-success,
.form-error {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
}

.form-success {
  background: rgba(27, 107, 58, .2);
  border: 1px solid rgba(27, 107, 58, .4);
}

.success-icon {
  font-size: 2.5rem;
  margin-bottom: .5rem;
}

.form-success h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: .5rem;
}

.form-success p {
  color: rgba(255, 255, 255, .8);
  font-size: .95rem;
}

.form-error {
  background: rgba(139, 26, 26, .25);
  border: 1px solid rgba(139, 26, 26, .4);
  color: #ff9999;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  background: var(--eth-dark);
  color: rgba(255, 255, 255, .75);
  position: relative;
  overflow: hidden;
}

.footer-pattern {
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: repeating-linear-gradient(45deg,
      var(--eth-gold) 0, var(--eth-gold) 1px,
      transparent 0, transparent 50%);
  background-size: 30px 30px;
}

.footer .container {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

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

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
  }
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  padding: 6px 12px;
}

.footer-brand p {
  font-size: .9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-eth-symbol {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-top: 1.2rem;
}

.footer-eth-symbol span {
  font-size: 1.8rem;
  color: var(--eth-gold);
  opacity: .6;
  font-family: var(--font-eth), serif;
  transition: opacity .2s, transform .2s;
  cursor: default;
}

.footer-eth-symbol span:hover {
  opacity: 1;
  transform: scale(1.18);
}

/* Stagger the opacity slightly for visual rhythm */
.footer-eth-symbol span:nth-child(2) { opacity: .5; }
.footer-eth-symbol span:nth-child(3) { opacity: .45; }
.footer-eth-symbol span:nth-child(4) { opacity: .4; font-style: italic; font-size: 1.55rem; }


.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.footer-links a {
  color: rgba(255, 255, 255, .6);
  font-size: .9rem;
  transition: var(--tr);
}

.footer-links a:hover {
  color: var(--eth-gold-lt);
}

.footer-contact p {
  font-size: .9rem;
  margin-bottom: .5rem;
}

.footer-contact a {
  color: var(--eth-gold-lt);
}

.footer-cta {
  display: inline-block;
  margin-top: 1rem;
  background: linear-gradient(135deg, var(--eth-gold), var(--eth-tan));
  color: var(--eth-dark);
  padding: .6rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .88rem;
  transition: var(--tr);
}

.footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 162, 39, .4);
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .15), transparent);
  margin-bottom: 1.5rem;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .45);
  margin-bottom: .4rem;
}

.footer-amharic {
  font-family: var(--font-eth);
  color: rgba(201, 162, 39, .5) !important;
  font-size: .9rem !important;
}

.footer-amharic em {
  font-family: var(--font-sans);
  font-style: italic;
  color: rgba(255, 255, 255, .3) !important;
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--eth-gold);
  color: var(--eth-dark);
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--tr);
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--eth-gold-lt);
  transform: translateY(-2px);
}

/* ── INTERSECTION OBSERVER ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Ensure form and register section always visible */
.register .form-wrap,
.register .section-header,
#registrationForm,
.form-group,
.form-submit {
  opacity: 1 !important;
  transform: none !important;
}

/* ═══════════════════════════════════════
   DARK MODE — token overrides on html.dark
═══════════════════════════════════════ */
html.dark {
  --gray-50: #0f0e0b;
  --gray-100: #1a1710;
  --gray-200: #2a2418;
  --gray-400: #7a6a52;
  --gray-600: #b09070;
  --gray-800: #f0e8d8;
  --white: #1e1a12;
  --eth-cream: #181410;
  --eth-dark: #f5ede0;
  --eth-brown: #c9a87a;
}

html.dark body {
  background: radial-gradient(circle at top right, rgba(26,20,10,.92), transparent 26%),
    radial-gradient(circle at left bottom, rgba(201,162,39,.06), transparent 24%),
    #0f0e0b;
  color: #e0d4c0;
}

html.dark .about           { background: #141210; }
html.dark .instructor      { background: #111009; }
html.dark .schedule        { background: #0f0e0b; }
html.dark .pricing         { background: #141210; }
html.dark .testimonials    { background: #111009; }
html.dark .value-card,
html.dark .testi-card,
html.dark .pricing-card,
html.dark .quality,
html.dark .pillar           { background: #1e1a12; border-color: #2e2818; }
html.dark .schedule-card    { background: #1a1710; border-color: #2a2418; }
html.dark .schedule-note    { background: linear-gradient(135deg,#1e1a12,#1a1710); }
html.dark .footer           { background: #080705; }

/* Dark mode toggle button */
.dark-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--tr);
  flex-shrink: 0;
  color: var(--white);
}
.dark-toggle:hover {
  background: rgba(201,162,39,.25);
  border-color: var(--eth-gold);
  transform: rotate(15deg);
}

/* ═══════════════════════════════════════
   SCROLL PROGRESS BAR
═══════════════════════════════════════ */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--eth-green), var(--eth-gold));
  z-index: 9999;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* ═══════════════════════════════════════
   ACTIVE NAV LINK
═══════════════════════════════════════ */
.nav-links li a.active {
  color: var(--eth-gold-lt) !important;
  background: rgba(255,255,255,.1) !important;
}

/* ═══════════════════════════════════════
   FLOATING CTA BUTTON
═══════════════════════════════════════ */
.floating-cta {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 998;
  opacity: 0;
  transform: translateY(20px) scale(.95);
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.floating-cta.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.floating-cta a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--eth-green), var(--eth-green-lt));
  color: #fff;
  padding: .75rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  box-shadow: 0 8px 28px rgba(27,107,58,.45);
  white-space: nowrap;
  transition: var(--tr);
}
.floating-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(27,107,58,.6);
  background: linear-gradient(135deg, var(--eth-green-lt), var(--eth-green));
}

/* ═══════════════════════════════════════
   TESTIMONIAL CAROUSEL
═══════════════════════════════════════ */
.testi-carousel-wrap {
  position: relative;
  overflow: hidden;
}
.testi-track {
  display: flex;
  transition: transform .5s var(--ease);
}
.testi-slide {
  min-width: 100%;
  padding: 0 .25rem;
  box-sizing: border-box;
}
@media (min-width: 700px)  { .testi-slide { min-width: 50%;  } }
@media (min-width: 1000px) { .testi-slide { min-width: 33.333%; } }

.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.testi-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--eth-gold);
  background: transparent;
  color: var(--eth-gold);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--tr);
}
.testi-btn:hover {
  background: var(--eth-gold);
  color: var(--eth-dark);
}
.testi-dots {
  display: flex;
  gap: .5rem;
}
.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  cursor: pointer;
  transition: var(--tr);
  border: none;
}
.testi-dot.active {
  background: var(--eth-gold);
  transform: scale(1.3);
}

/* Star ratings on testimonial cards */
.testi-stars {
  color: var(--eth-gold);
  font-size: .9rem;
  letter-spacing: .1em;
  margin-bottom: .5rem;
}

/* ═══════════════════════════════════════
   FAQ SECTION
═══════════════════════════════════════ */
.faq {
  background: var(--gray-100);
  padding-top: calc(var(--section-py) + .5rem);
}
html.dark .faq { background: #141210; }

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: box-shadow .3s var(--ease);
}
html.dark .faq-item { background: #1e1a12; border-color: #2e2818; }
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item.open { border-color: var(--eth-gold); }

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--eth-dark);
  cursor: pointer;
  background: none;
  font-family: var(--font-sans);
  transition: color .25s;
}
html.dark .faq-question { color: #f0e8d8; }
.faq-item.open .faq-question { color: var(--eth-green); }
html.dark .faq-item.open .faq-question { color: var(--eth-gold-lt); }

.faq-icon {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 700;
  transition: transform .35s var(--ease), background .25s;
  color: var(--eth-green);
}
html.dark .faq-icon { background: #2a2418; }
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--eth-gold);
  color: var(--eth-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), padding .3s;
  padding: 0 1.5rem;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}
.faq-answer p {
  color: var(--gray-600);
  font-size: .95rem;
  line-height: 1.75;
  margin: 0;
}
html.dark .faq-answer p { color: #b09070; }

/* ═══════════════════════════════════════
   TOAST NOTIFICATIONS
═══════════════════════════════════════ */
#toastContainer {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  min-width: 280px;
  max-width: 380px;
  background: #1a1a1a;
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  pointer-events: auto;
  animation: toastIn .35s var(--ease) both;
  border-left: 4px solid var(--eth-green);
  font-size: .92rem;
  line-height: 1.5;
}
.toast.error   { border-left-color: var(--eth-red-lt); }
.toast.success { border-left-color: var(--eth-green); }
.toast-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: .05rem; }
.toast-msg  { flex: 1; }
.toast-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.5);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 0 0 .5rem;
  flex-shrink: 0;
  transition: color .2s;
}
.toast-close:hover { color: #fff; }
.toast.hide { animation: toastOut .3s var(--ease) both; }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(30px) scale(.95); }
  to   { opacity: 1; transform: translateX(0)   scale(1); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(30px); max-height: 0; padding: 0; margin: 0; }
}

/* ═══════════════════════════════════════
   MULTI-STEP FORM
═══════════════════════════════════════ */
.form-steps-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.2rem;
}
.step-ind {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  position: relative;
  z-index: 1;
}
.step-ind-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.5);
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--tr);
  background: rgba(255,255,255,.05);
}
.step-ind.active   .step-ind-circle { border-color: var(--eth-gold); color: var(--eth-gold); background: rgba(201,162,39,.15); }
.step-ind.done     .step-ind-circle { border-color: var(--eth-green); background: var(--eth-green); color: #fff; }
.step-ind-label {
  font-size: .7rem;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.step-ind.active .step-ind-label { color: var(--eth-gold-lt); }
.step-ind.done   .step-ind-label { color: rgba(255,255,255,.7); }

.step-ind-line {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,.15);
  margin: 0 .5rem;
  margin-bottom: 1.4rem;
  min-width: 40px;
  max-width: 80px;
  transition: background .4s;
}
.step-ind-line.done { background: var(--eth-green); }

/* Step panes */
.form-step { display: none; }
.form-step.active { display: block; animation: fadeInUp .4s var(--ease) both; }

/* Navigation row */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.btn-step-next,
.btn-step-prev {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--tr);
  font-family: var(--font-sans);
  border: none;
}
.btn-step-next {
  background: linear-gradient(135deg, var(--eth-gold), var(--eth-tan));
  color: var(--eth-dark);
  box-shadow: 0 4px 16px rgba(201,162,39,.3);
  margin-left: auto;
}
.btn-step-next:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,162,39,.45); }
.btn-step-prev {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.2);
}
.btn-step-prev:hover { background: rgba(255,255,255,.18); }

/* ── inline validation feedback ── */
.form-group .field-error {
  color: #ff9999;
  font-size: .8rem;
  margin-top: .3rem;
  display: none;
}
.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
  border-color: var(--eth-red-lt);
  box-shadow: 0 0 0 3px rgba(192,57,43,.2);
}
.form-group.invalid .field-error { display: block; }
.form-group.valid input,
.form-group.valid select {
  border-color: var(--eth-green);
}

/* ═══════════════════════════════════════
   COUNTER ANIMATION
═══════════════════════════════════════ */
.stat-num[data-target] { display: block; }

/* ═══════════════════════════════════════
   ENHANCED MICRO-INTERACTIONS
═══════════════════════════════════════ */
/* Subtle shimmer on primary button */
.btn-primary,
.btn-submit,
.btn-step-next {
  position: relative;
  overflow: hidden;
}
.btn-primary::after,
.btn-submit::after,
.btn-step-next::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform .55s ease;
}
.btn-primary:hover::after,
.btn-submit:hover:not(:disabled)::after,
.btn-step-next:hover::after {
  transform: translateX(100%);
}

/* Pulsing glow on "Enroll Now" nav CTA */
.nav-cta {
  animation: navCtaPulse 3s ease-in-out infinite;
}
@keyframes navCtaPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(201,162,39,.0); }
  50%      { box-shadow: 0 0 0 6px rgba(201,162,39,.25); }
}

/* Improved schedule card hover */
.schedule-card {
  cursor: default;
  transform-origin: left center;
}
.schedule-card:hover {
  transform: translateX(4px);
  border-color: var(--eth-green);
}

/* Value card top accent */
.value-card {
  border-top: 3px solid transparent;
  transition: var(--tr), border-top-color .3s;
}
.value-card:hover { border-top-color: var(--eth-gold); }