:root {
  --primary: #003e6b;
  --primary-light: #0d5c9b;
  --secondary: #c25e00;
  --secondary-light: #e06d06;
  --secondary-dark: #9e4b00;
  --surface: #ffffff;
  --surface-alt: #faf8f5;
  --surface-warm: #faf8f5;
  --text-dark: #0b1c30;
  --text-muted: #475569;
  --border: rgba(157, 189, 226, 0.35);
  --border-warm: rgba(224, 109, 6, 0.18);
  --glass-bg: rgba(255, 255, 255, 0.92);
  
  --font-main: 'Inter', sans-serif;
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 85px;
}

body {
  font-family: var(--font-main);
  background-color: var(--surface-alt);
  color: var(--text-dark);
  line-height: 1.75;
}

/* Typography */
h1 { font-size: 3.5rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; }
h2 { font-size: 2.5rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.35; }
h4 { font-size: 1.2rem; font-weight: 600; line-height: 1.4; }
p { font-size: 1.05rem; color: #334155; line-height: 1.75; }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* Layout & Containers */
.container { max-width: 1280px; margin: 0 auto; padding: 0 5%; }
.section { padding: 5rem 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* Navigation */
header {
  background: rgba(244, 247, 251, 0.94);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 62, 107, 0.06);
  padding: 0.85rem 0;
}
.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.mobile-menu-btn { display: none; }
.logo-img { height: 48px; width: auto; object-fit: contain; border-radius: 8px; }
.logo-footer { height: 58px; }

.nav-menu-container {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}
.nav-links a, .nav-dropdown-trigger {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.96rem;
  transition: color 0.25s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active, .nav-dropdown:hover .nav-dropdown-trigger {
  color: var(--primary);
  font-weight: 600;
}

/* Dropdown Menu */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
  display: block;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0, 62, 107, 0.14);
  min-width: 210px;
  padding: 8px 0;
  margin-top: 8px;
  z-index: 1001;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  color: var(--primary);
  background: var(--surface-alt);
}

/* =========================================================
   STRICT TWO-TYPE UNIFIED BUTTON SYSTEM
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  box-sizing: border-box;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
  border: 2px solid transparent;
}

/* TYPE 1: FILLED BUTTON (Radiant Saffron-Amber Gradient) */
.btn-filled,
.btn-primary {
  background: linear-gradient(135deg, #e06d06 0%, #b85500 100%);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(194, 94, 0, 0.28);
}
.btn-filled:hover,
.btn-primary:hover {
  background: linear-gradient(135deg, #f57c00 0%, #c25e00 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(194, 94, 0, 0.38);
  border-color: transparent;
}
.btn-filled:active,
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(194, 94, 0, 0.25);
}

/* TYPE 2: BORDER BUTTON (Crisp Royal Navy Outline) */
.btn-border,
.btn-outline,
.btn-secondary {
  background: transparent;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
  box-shadow: none;
}
.btn-border:hover,
.btn-outline:hover,
.btn-secondary:hover {
  background: var(--primary);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 62, 107, 0.22);
  border-color: var(--primary);
}
.btn-border:active,
.btn-outline:active,
.btn-secondary:active {
  transform: translateY(0);
}

/* Button Size Modifiers */
.btn-sm {
  height: 38px;
  padding: 0 20px;
  font-size: 0.88rem;
  border-radius: 50px;
}
.btn-lg {
  height: 48px;
  padding: 0 32px;
  font-size: 1rem;
}
.btn-block,
.btn-full {
  width: 100%;
}
.btn-danger {
  background: #ba1a1a;
  color: white !important;
  border-color: transparent;
}
.btn-danger:hover {
  background: #93000a;
  transform: translateY(-2px);
}

/* Utilities & Warm Accents */
.tag-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(194, 94, 0, 0.08);
  color: #b85500;
  border: 1px solid rgba(194, 94, 0, 0.2);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.hero-subtitle {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.18rem;
  line-height: 1.8;
}
.rounded-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}
.shadow-large {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* Warm Design Elements (Harmonizing Navy + Saffron + Ivory) */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(224, 109, 6, 0.14);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 62, 107, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(194, 94, 0, 0.12);
  border-color: rgba(224, 109, 6, 0.32);
}

.gradient-sunrise {
  background: linear-gradient(180deg, #fffbf5 0%, #fef7ee 60%, #faf5ee 100%);
}
.bg-warm-creme {
  background-color: #faf8f5;
}
.bg-sunrise {
  background: linear-gradient(180deg, #fffbf5 0%, #fef7ee 100%);
}
.bg-light-blue {
  background-color: #faf8f5;
}
.bg-primary-tint {
  background: rgba(194, 94, 0, 0.08);
}

.icon-box {
  width: 52px;
  height: 52px;
  background: white;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(194, 94, 0, 0.1);
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  border: 1px solid rgba(224, 109, 6, 0.16);
}

/* Responsive 16:9 Video */
.video-responsive {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: 16px; box-shadow: 0 10px 25px rgba(0, 75, 131, 0.1); background: #000;
}
.video-responsive iframe, .video-responsive video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;
}

/* Enhanced Videos Grid & Cards Spacing */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 30px;
  align-items: stretch;
}
@media (max-width: 820px) {
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}
.video-card {
  background: white;
  border-radius: 20px;
  padding: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 25px rgba(0, 75, 131, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0, 75, 131, 0.12);
}
.video-card-title {
  margin: 16px 6px 6px 6px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
}

/* Preset Donation Amount Chips */
.amount-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 12px;
}
.amount-chip {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.amount-chip:hover, .amount-chip.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(0, 75, 131, 0.2);
}

/* Sliders */
.slider-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 0.75rem 0;
  margin-bottom: 2.5rem;
}
/* Completely remove edge white glow gradient overlays */
.slider-container::before, .slider-container::after {
  display: none !important;
  content: none !important;
}

.slider-track {
  display: inline-flex;
  gap: 16px;
  will-change: transform;
}
.slider-item {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.slider-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0, 62, 107, 0.16);
}

@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.marquee-smooth-left {
  animation: marquee-left 36s linear infinite;
}
.marquee-smooth-right {
  animation: marquee-right 36s linear infinite;
}
.slider-container:hover .slider-track {
  animation-play-state: paused;
}

/* Gallery Filter Tabs & Grid */
.gallery-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 3rem;
}
.tab-btn {
  padding: 10px 22px; border-radius: 30px; background: white; border: 1px solid var(--border);
  font-weight: 600; color: var(--text-muted); cursor: pointer; transition: all 0.3s ease; font-family: inherit;
}
.tab-btn:hover, .tab-btn.active {
  background: var(--primary); color: white; border-color: var(--primary); box-shadow: 0 4px 15px rgba(0,75,131,0.2);
}
.gallery-grid-dynamic {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.gallery-card {
  border-radius: 16px; overflow: hidden; position: relative; aspect-ratio: 4/3;
  background: #e2e8f0;
  cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.06); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-card:hover { transform: scale(1.02); box-shadow: 0 10px 25px rgba(0,75,131,0.15); }
.gallery-card:hover img { transform: scale(1.06); }
.gallery-card-badge {
  position: absolute; bottom: 12px; left: 12px; background: rgba(0,0,0,0.65);
  color: white; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; backdrop-filter: blur(4px);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(11, 28, 48, 0.9); backdrop-filter: blur(10px);
  align-items: center; justify-content: center; padding: 20px;
}
.lightbox-modal.active { display: flex; }
.lightbox-content { max-width: 90vw; max-height: 85vh; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close {
  position: absolute; top: 25px; right: 30px; color: white; font-size: 2.5rem;
  cursor: pointer; font-weight: bold; transition: color 0.2s;
}
.lightbox-close:hover { color: #ff9933; }

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-dark); font-size: 0.95rem; }
.form-control {
  width: 100%; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--border);
  font-family: inherit; font-size: 1rem; color: var(--text-dark); background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,75,131,0.15); }

/* Founder Cards */
.founder-card { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: flex-start; }
.founder-photo {
  width: 100%; height: 400px; background: transparent; display: flex; align-items: center; justify-content: center; padding: 0;
}
.founder-photo img { width: 100%; height: 100%; object-fit: contain; border-radius: 24px; }

/* Admin Dashboard */
.admin-card {
  background: white; border-radius: 16px; border: 1px solid var(--border);
  box-shadow: 0 4px 15px rgba(0,0,0,0.04); padding: 1.5rem;
}
.admin-table { width: 100%; border-collapse: collapse; text-align: left; }
.admin-table th {
  background: #f1f5f9; padding: 12px 16px; font-size: 0.85rem; text-transform: uppercase;
  color: var(--text-muted); font-weight: 600; border-bottom: 1px solid var(--border);
}
.admin-table td { padding: 14px 16px; border-bottom: 1px solid #f1f5f9; font-size: 0.95rem; vertical-align: top; }
.admin-table tr:hover { background: #f8fafc; }
.badge-course {
  display: inline-block; padding: 4px 10px; border-radius: 20px;
  background: rgba(0,75,131,0.1); color: var(--primary); font-size: 0.8rem; font-weight: 600;
}

/* Footer */
footer {
  background: white;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 2rem;
}
.footer-links h4 {
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.3px;
}
.footer-links a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 0.75rem;
  font-size: 0.94rem;
  line-height: 1.5;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-links a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.footer-bottom a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-bottom a:hover {
  text-decoration: underline;
  color: var(--primary-light);
}

/* Animations */
.animate-on-scroll {
  opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive Mobile */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .grid-2, .founder-card { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  h1 { font-size: clamp(1.85rem, 6.5vw, 2.4rem); line-height: 1.18; }
  h2 { font-size: clamp(1.45rem, 5vw, 1.95rem); }
  .section { padding: 3rem 0; }
  .hero-subtitle { font-size: 1rem !important; }

  /* Mobile Header & Animated Toggle */
  .nav-content {
    position: relative;
    justify-content: center;
  }
  .logo {
    margin: 0 auto;
    justify-content: center;
  }
  .mobile-menu-btn {
    display: flex;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--primary);
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.25s ease;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 62, 107, 0.06);
    z-index: 1002;
  }
  .mobile-menu-btn.active {
    background: var(--surface-alt);
    border-color: var(--primary);
    color: var(--primary);
  }

  /* Fixed Slide-Down Frosted Glass Drawer */
  .nav-menu-container {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - 65px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0, 62, 107, 0.15);
    border-top: 1px solid var(--border);
    border-bottom: 3px solid var(--primary);
    padding: 1.25rem 1.25rem 2rem;
    flex-direction: column;
    gap: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 999;
  }
  .nav-menu-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: flex !important;
  }

  /* Mobile Nav Links */
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }
  .nav-links > a, .nav-dropdown-trigger {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface-alt);
    border: 1px solid transparent;
    transition: all 0.2s ease;
  }
  .nav-links > a:hover, .nav-links > a.active {
    background: rgba(0, 62, 107, 0.08);
    color: var(--primary);
    border-color: rgba(0, 62, 107, 0.15);
  }

  /* Mobile Courses Accordion */
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown-trigger {
    cursor: pointer;
  }
  .nav-dropdown.open .nav-dropdown-trigger {
    background: rgba(0, 62, 107, 0.08);
    color: var(--primary);
    border-color: rgba(0, 62, 107, 0.15);
  }
  .nav-dropdown-menu {
    display: none;
    position: static;
    box-shadow: none;
    border: 1px solid var(--border);
    background: #ffffff;
    border-radius: 12px;
    padding: 8px;
    margin-top: 6px;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .nav-dropdown-menu a {
    padding: 10px 14px;
    font-size: 0.94rem;
    color: var(--text-dark);
    border-radius: 8px;
    text-decoration: none;
    display: block;
    font-weight: 500;
  }
  .nav-dropdown-menu a:hover {
    background: var(--surface-alt);
    color: var(--primary);
  }

  /* Full-Width Drawer Donation & Language Dropdown */
  .nav-menu-container .lang-dropdown {
    width: 100%;
    margin-top: 4px;
  }
  .nav-menu-container .lang-dropdown-btn {
    width: 100%;
    height: 46px;
    font-size: 1rem;
    justify-content: space-between;
    padding: 0 18px;
    border-radius: 12px;
  }
  .nav-menu-container .lang-dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: 1px solid var(--border);
    margin-top: 6px;
    border-radius: 12px;
  }
  .nav-menu-container .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 1.05rem;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 62, 107, 0.25);
    margin-top: 6px;
  }


  /* Mobile Imagery & Sliders */
  .founder-photo {
    height: auto !important;
    max-width: 260px !important;
    margin: 0 auto 1.5rem !important;
  }
  .founder-photo img {
    max-height: 280px;
    width: auto;
    border-radius: 16px;
  }
  .rounded-image {
    height: auto !important;
    max-height: 280px !important;
    width: 100% !important;
    object-fit: cover !important;
  }
  .slider-item {
    height: 140px !important;
  }
  .logo-img { height: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
}

/* Mobile Screen Specific (Phones <= 600px) */
@media (max-width: 600px) {
  .gallery-grid-dynamic {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .gallery-card {
    border-radius: 12px;
  }
  .gallery-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
    gap: 8px;
  }
  .gallery-tabs::-webkit-scrollbar { display: none; }
  .tab-btn {
    white-space: nowrap;
    padding: 8px 16px;
    font-size: 0.88rem;
    flex-shrink: 0;
  }
}

/* Dim Backdrop Overlay for Mobile Drawer */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: 65px;
  background: rgba(11, 28, 48, 0.45);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-overlay.active {
  display: block;
  opacity: 1;
}

/* =========================================================
   NEW ENHANCEMENTS: BRANDING, CREATIVE CTA, PILLARS, TIMELINE & MODALS
   ========================================================= */

/* Header & Footer Brand Titles */
.logo-brand-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1;
  margin: 0;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-bottom: 12px;
}
.footer-brand-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  letter-spacing: -0.01em;
}

/* Creative CTA Box (High Contrast, Distinct Box Design) */
.creative-cta-box {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 44px;
  border-radius: 28px;
  background: #ffffff;
  border: 2px solid rgba(224, 109, 6, 0.32);
  border-top: 5px solid var(--secondary);
  box-shadow: 0 22px 55px rgba(0, 62, 107, 0.09), 0 6px 22px rgba(194, 94, 0, 0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.creative-cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(224, 109, 6, 0.04) 0%, transparent 70%);
  pointer-events: none;
}
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  background: #fff8f0;
  color: #b85500;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 22px;
  border: 2px solid rgba(224, 109, 6, 0.38);
  box-shadow: 0 3px 10px rgba(194, 94, 0, 0.12);
}
.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.cta-trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 500;
  border-top: 1px solid rgba(224, 109, 6, 0.18);
  padding-top: 22px;
  margin-top: 10px;
}
.cta-trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Core Educational Pillars (Pillars Grid) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 24px;
}
@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.pillar-card {
  background: white;
  border-radius: 22px;
  padding: 32px 26px;
  border: 1px solid rgba(224, 109, 6, 0.18);
  box-shadow: 0 10px 25px rgba(0, 62, 107, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(194, 94, 0, 0.14);
  border-color: var(--secondary);
}
.pillar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.pillar-number {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(194, 94, 0, 0.1);
  padding: 5px 14px;
  border-radius: 20px;
}
.pillar-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #fff8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--secondary);
  border: 1px solid rgba(224, 109, 6, 0.16);
}
.pillar-card h3,
.pillar-card h4 {
  font-size: 1.28rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
}
.pillar-card p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #475569;
}

/* Creative Curriculum Pathway Timeline */
.curriculum-timeline {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.curriculum-step {
  background: white;
  border-radius: 20px;
  padding: 26px 30px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 62, 107, 0.05);
  display: flex;
  gap: 22px;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.curriculum-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 62, 107, 0.1);
}
.step-number-node {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 62, 107, 0.25);
}
.step-number-node.theme-orange {
  background: linear-gradient(135deg, #e06d06, #b85500);
  box-shadow: 0 4px 14px rgba(194, 94, 0, 0.25);
}
.step-number-node.theme-green {
  background: linear-gradient(135deg, #16a34a, #15803d);
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
}
.step-body {
  flex-grow: 1;
}
.step-body h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.step-tag {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

/* Quick Enrolment Popup Modal */
.enrol-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 28, 48, 0.65);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.3s ease;
}
.enrol-modal-box {
  background: white;
  border-radius: 28px;
  max-width: 540px;
  width: 100%;
  padding: 36px 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid rgba(157, 189, 226, 0.4);
}
.enrol-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: all 0.2s ease;
}
.enrol-modal-close:hover {
  background: #ba1a1a;
  color: white;
}

/* Course Photo HD Framing */
.course-hero-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 440px;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 62, 107, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease;
}
.course-hero-img:hover {
  transform: scale(1.015);
}

/* Collapsible Read More Details (Standardized Border Button) */
.read-more-btn {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  height: 44px;
  padding: 0 24px;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  margin-bottom: 14px;
  transition: all var(--transition);
}
.read-more-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 62, 107, 0.2);
}
.collapsible-details {
  display: none;
  animation: modalFadeIn 0.35s ease;
}

/* Standardized Course Hero & Action Button Spacing */
.course-hero {
  padding-top: 5rem;
  padding-bottom: 2.75rem;
}
.course-hero-subtitle {
  max-width: 800px;
  margin: 0 auto 24px auto;
  font-size: 1.12rem;
  line-height: 1.8;
  color: #334155;
}
.course-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
  margin-bottom: 0;
}
.course-overview-section {
  padding-top: 2.75rem;
  padding-bottom: 5rem;
}
@media (max-width: 768px) {
  .course-hero {
    padding-top: 3.5rem;
    padding-bottom: 2rem;
  }
  .course-hero-subtitle {
    font-size: 1rem !important;
    margin-bottom: 20px;
  }
  .course-hero-actions {
    gap: 12px;
  }
  .course-overview-section {
    padding-top: 2rem;
    padding-bottom: 3.5rem;
  }
}

/* Animations */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Language Selector: Header Dropdown (Pure Text: English & हिन्दी)
   ========================================================================== */

.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-dropdown-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 18px;
  border-radius: 50px;
  background: #ffffff;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 62, 107, 0.08);
  transition: all var(--transition);
  white-space: nowrap;
}

.lang-dropdown-btn:hover,
.lang-dropdown.open .lang-dropdown-btn {
  background: var(--surface-alt);
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 62, 107, 0.15);
}

.lang-dropdown-btn .lang-arrow {
  font-size: 0.72rem;
  transition: transform 0.25s ease;
}

.lang-dropdown.open .lang-dropdown-btn .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 62, 107, 0.16), 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 62, 107, 0.12);
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 3px;
  z-index: 1005;
  animation: modalFadeIn 0.2s ease;
}

.lang-dropdown.open .lang-dropdown-menu {
  display: flex !important;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 9px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  text-align: center;
}

.lang-option:hover {
  background: #f1f5f9;
  color: var(--primary);
}

.lang-option.active {
  background: rgba(224, 109, 6, 0.12);
  color: var(--secondary);
  font-weight: 700;
}

/* Mobile responsive navigation & language dropdown */
@media (max-width: 768px) {
  .lang-dropdown {
    width: 100%;
    margin-top: 10px;
  }
  .lang-dropdown-btn {
    width: 100%;
    justify-content: center;
  }
  .lang-dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: 1px solid #e2e8f0;
    margin-top: 6px;
  }
}

/* 3. Google Translate Suppression & Anti-Layout Shift */
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
}

body {
  top: 0px !important;
  position: static !important;
}

#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

.goog-text-highlight {
  background: transparent !important;
  box-shadow: none !important;
}

/* 4. Tone-Specific Bilingual Thank You Modal */
.thankyou-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 28, 48, 0.7);
  backdrop-filter: blur(8px);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.3s ease;
}

.thankyou-box {
  background: #ffffff;
  border-radius: 28px;
  max-width: 580px;
  width: 100%;
  padding: 40px 36px;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.3);
  position: relative;
  text-align: center;
  border: 2px solid rgba(224, 109, 6, 0.2);
  max-height: 90vh;
  overflow-y: auto;
}

.thankyou-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
}

.thankyou-en h3 {
  color: var(--primary);
  font-size: 1.45rem;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.thankyou-en p {
  color: #334155;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.thankyou-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 109, 6, 0.4), transparent);
  margin: 18px 0 20px 0;
}

.thankyou-hi h4 {
  color: #b85500;
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.4;
}

.thankyou-hi p {
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 24px;
}



