/* 
  =========================================
  Étoiles d'Afrique — Feuille de Style Commune
  =========================================
*/

:root {
  --gold: #F5A623;
  --gold-dark: #C07D10;
  --brown: #3D1F00;
  --brown-mid: #6B3A0F;
  --cream: #FFF8EE;
  --white: #FFFFFF;
  --text-muted: #7A6A58;
  --section-bg: #FDF5E8;
  --dark: rgba(82, 50, 3, 1);
}

*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

html { 
  scroll-behavior: smooth; 
}

:focus-visible {
  outline: 3px solid rgba(245, 166, 35, 0.45);
  outline-offset: 3px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--white);
  color: var(--brown);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
}

/* ─── NAVBAR ─────────────────────────────────────── */
.navbar {
  background: rgba(61, 31, 0, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  transition: all 0.3s ease;
  z-index: 1030;
}

.navbar.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--gold) !important;
  letter-spacing: 0.5px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px !important;
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active, .nav-link.jaune {
  color: var(--gold) !important;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.25);
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.social-icon {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s;
  text-decoration: none;
}

.social-icon:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--brown) !important;
}

.btn-login {
  background: var(--gold);
  color: var(--brown);
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  border-radius: 30px;
  padding: 8px 20px;
  transition: all 0.3s;
}

.btn-login:hover {
  background: var(--white);
  color: var(--brown);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
}

/* ─── HERO CAROUSEL ──────────────────────────────── */
.hero-carousel {
  margin-top: 64px;
  position: relative;
}

.carousel-item img {
  height: 92vh;
  width: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(61,31,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
}

.carousel-caption {
  bottom: 50%;
  transform: translateY(50%);
  left: 8%;
  right: 8%;
  text-align: left;
  background: none;
  padding: 0;
}

.carousel-caption .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
}

.carousel-caption h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.carousel-caption p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 500px;
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-panel {
  max-width: 640px;
}

.btn-hero {
  background: var(--gold);
  color: var(--brown);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.btn-hero:hover {
  background: #fff;
  color: var(--brown);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(245,166,35,0.5);
}

.carousel-indicators button {
  width: 30px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.5);
}

.carousel-indicators button.active {
  background: var(--gold);
  width: 50px;
}

.carousel-control-prev, .carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.15);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
}

.carousel-control-prev { left: 30px; }
.carousel-control-next { right: 30px; }

/* ─── WHY US SECTION ─────────────────────────────── */
.why-section {
  background: var(--section-bg);
}

.why-section .section-label {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
}

.why-section h2 {
  font-size: 2.5rem;
  color: var(--brown);
  line-height: 1.2;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(61,31,0,0.08);
}

.check-item:last-child { border-bottom: none; }

.check-icon {
  width: 28px;
  height: 28px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--brown);
  font-weight: 700;
  margin-top: 2px;
}

.check-item p {
  margin: 0;
  color: var(--brown-mid);
  font-size: 0.95rem;
  line-height: 1.6;
}

.video-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(61,31,0,0.2);
  position: relative;
}

.video-wrapper::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 3px solid var(--gold);
  border-radius: 26px;
  pointer-events: none;
  z-index: 1;
}

.video-wrapper iframe {
  display: block;
  width: 100%;
  height: 380px;
}

.btn-cta {
  background: var(--brown);
  color: #fff;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.btn-cta:hover {
  background: var(--gold);
  color: var(--brown);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(245,166,35,0.4);
}

/* ─── PROGRAMS SECTION ───────────────────────────── */
.programs-section { background: var(--white); }

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--brown);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 500px;
}

.program-card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(61,31,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  background: #fff;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(61,31,0,0.15);
}

.program-card .img-wrap {
  height: 260px;
  overflow: hidden;
  position: relative;
}

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

.program-card:hover .img-wrap img {
  transform: scale(1.06);
}

.program-card .badge-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(61,31,0,0.95), transparent);
  padding: 40px 20px 16px;
}

.program-card .badge-tag h5 {
  color: #fff;
  font-size: 1rem;
  margin: 0;
  font-weight: 700;
}

.program-card .card-body {
  padding: 20px;
  text-align: center;
}

.program-card .sub-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.btn-discover {
  background: var(--gold);
  color: var(--brown);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 28px;
  border-radius: 50px;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.btn-discover:hover {
  background: var(--brown);
  color: #fff;
}

/* ─── STATS BAR ──────────────────────────────────── */
.stats-bar {
  background: var(--brown);
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
}

.stat-item .number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.stat-item .label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 6px;
}

.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.1);
  margin: 20px 0;
}

/* ─── TEAM SECTION ───────────────────────────────── */
.team-section { background: var(--section-bg); }

.team-card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 25px rgba(61,31,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(61,31,0,0.12);
}

.team-card .avatar-wrap {
  height: 220px;
  overflow: hidden;
}

.team-card .avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.team-card:hover .avatar-wrap img {
  transform: scale(1.05);
}

.team-card .card-body { padding: 20px 16px; }

.team-card h5 {
  font-size: 1.1rem;
  color: var(--brown);
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 0.8rem;
  color: var(--gold-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.team-card .desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.stars { color: var(--gold); font-size: 0.95rem; }

/* ─── TESTIMONIAL ────────────────────────────────── */
.testimonial-section {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-mid) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 18rem;
  color: rgba(245,166,35,0.06);
  position: absolute;
  top: -40px;
  left: 40px;
  line-height: 1;
}

.testimonial-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  margin-bottom: 24px;
}

.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #fff;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ─── BLOG SECTION ───────────────────────────────── */
.blog-section { background: #fff; }

.blog-card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(61,31,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  background: #fff;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(61,31,0,0.12);
}

.blog-card .img-wrap {
  height: 220px;
  overflow: hidden;
}

.blog-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.blog-card:hover .img-wrap img { transform: scale(1.06); }

.blog-card .card-body { padding: 24px; }

.blog-card .category {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 8px;
}

.blog-card h5 {
  font-size: 1.1rem;
  color: var(--brown);
  line-height: 1.4;
  margin-bottom: 10px;
}

.blog-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.btn-read {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brown);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.btn-read:hover { color: var(--gold-dark); }

/* ─── FOOTER ─────────────────────────────────────── */
.footer {
  background: var(--brown);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 30px;
}

.footer h4 {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}

.footer address {
  font-size: 0.88rem;
  line-height: 2;
  color: rgba(255,255,255,0.7);
}

.footer address i {
  color: var(--gold);
  width: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  margin-right: 8px;
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--brown);
}

.footer-divider {
  border-color: rgba(255,255,255,0.1);
  margin: 40px 0 24px;
}

.footer-bottom {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

.newsletter-input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px 0 0 10px;
  color: #fff;
  padding: 12px 16px;
  font-size: 0.88rem;
  width: 100%;
}

.newsletter-input::placeholder { color: rgba(255,255,255,0.4); }

.newsletter-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: none;
  background: rgba(255,255,255,0.1);
}

.newsletter-btn {
  background: var(--gold);
  border: none;
  color: var(--brown);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 12px 20px;
  border-radius: 0 10px 10px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s;
  cursor: pointer;
}

.newsletter-btn:hover { background: #fff; }

/* ─── WHATSAPP FLOAT ─────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(37,211,102,0.5);
  color: #fff;
}

/* ─── MODAL AUTH ─────────────────────────────────── */
.modal-content {
  border-radius: 24px;
  overflow: hidden;
  border: none;
  box-shadow: 0 30px 80px rgba(61,31,0,0.25);
}

.modal-header {
  background: var(--brown);
  border-bottom: none;
  padding: 28px 32px 0;
  flex-direction: column;
  align-items: flex-start;
}

.modal-header .modal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.modal-header .modal-brand span {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
}

.modal-header .btn-close {
  filter: invert(1);
  position: absolute;
  top: 18px;
  right: 18px;
}

.auth-tabs {
  display: flex;
  gap: 0;
  width: 100%;
}

.auth-tab-btn {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: rgba(255,255,255,0.5);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 0;
  cursor: pointer;
  transition: all 0.25s;
}

.auth-tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.auth-tab-btn:hover:not(.active) { color: rgba(255,255,255,0.8); }

.modal-body { padding: 32px; background: var(--cream); }

.auth-panel { display: none; }

.auth-panel.active { display: block; }

.modal-body .form-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--brown);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.modal-body .form-control {
  border-radius: 12px;
  padding: 13px 16px;
  border: 1.5px solid rgba(61,31,0,0.12);
  font-size: 0.92rem;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-body .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.18);
  outline: none;
}

.input-icon-wrap {
  position: relative;
}

.input-icon-wrap .bi {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
}

.input-icon-wrap .form-control, .input-icon-wrap .form-select { padding-left: 40px; }

.btn-modal-submit {
  background: var(--gold);
  color: var(--brown);
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 50px;
  border: none;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  width: 100%;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-modal-submit:hover {
  background: var(--brown);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(61,31,0,0.2);
}

.modal-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 18px 0;
}

.modal-divider::before, .modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(61,31,0,0.12);
}

.modal-link-row {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.modal-link-row a {
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: none;
}

.modal-link-row a:hover { text-decoration: underline; }

/* ─── WELCOME POPUP ───────────────────────────────── */
#welcomePopup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

#welcomePopup.show { opacity: 1; }

.welcome-box {
  background: var(--brown);
  border-radius: 28px;
  overflow: hidden;
  max-width: 520px;
  width: 100%;
  position: relative;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 40px 100px rgba(0,0,0,0.4);
}

#welcomePopup.show .welcome-box {
  transform: translateY(0) scale(1);
}

.welcome-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: brightness(0.6);
  display: block;
}

.welcome-badge {
  position: absolute;
  top: 160px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--brown);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 50px;
  white-space: nowrap;
}

.welcome-body {
  padding: 48px 36px 36px;
  text-align: center;
}

.welcome-body h2 {
  color: #fff;
  font-size: 1.9rem;
  line-height: 1.25;
  margin-bottom: 14px;
}

.welcome-body h2 span { color: var(--gold); }

.welcome-body p {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.welcome-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-welcome-primary {
  background: var(--gold);
  color: var(--brown);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  padding: 13px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.btn-welcome-primary:hover {
  background: #fff;
  color: var(--brown);
  transform: translateY(-2px);
}

.btn-welcome-secondary {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 13px 24px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-welcome-secondary:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.welcome-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  background: rgba(0,0,0,0.35);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

.welcome-close:hover { background: rgba(0,0,0,0.6); }

/* ─── SCROLL ANIMATIONS ──────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── MEDIA QUERIES ─────────────────────────────── */
@media (max-width: 768px) {
  .hero-carousel {
    margin-top: 72px;
  }
  .carousel-item img { height: 70vh; }
  .carousel-caption {
    display: block !important;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
  }
  .carousel-caption h2 { font-size: 1.8rem; }
  .carousel-caption p {
    font-size: 0.9rem;
    margin-bottom: 22px;
  }
  .carousel-control-prev,
  .carousel-control-next {
    width: 42px;
    height: 42px;
  }
  .carousel-control-prev { left: 14px; }
  .carousel-control-next { right: 14px; }
  .why-section .row > div:first-child,
  .why-section .row > div:last-child {
    padding: 48px 20px !important;
  }
  .video-wrapper iframe {
    height: 240px;
  }
  .welcome-body {
    padding: 42px 22px 28px;
  }
  .welcome-body h2 {
    font-size: 1.55rem;
  }
  .stat-divider { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .fade-up {
    opacity: 1;
    transform: none;
  }
}

/* ─── SUBPAGES HERO & MODULES ─────────────────────── */
.hero-section {
  background: linear-gradient(135deg, var(--brown), var(--brown-mid));
  color: white;
  padding: 140px 0 80px;
}
.hero-section h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--brown);
}
.card {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  border: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.card:hover {
  transform: translateY(-5px);
}
.card-header {
  background-color: var(--brown) !important;
  color: white;
  font-weight: 600;
}
.card-header h5 {
  margin: 0;
}
.feature-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* Custom Auth Field Styles to optimize markup and remove inline styles */
.auth-field {
  border-radius: 0 8px 8px 0 !important;
  box-shadow: none !important;
  padding: 12px !important;
  font-size: 0.9rem !important;
}
