/* ==========================================================================
   GEMS SRI DESIGN SYSTEM & CORE STYLES
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --sapphire: #0F2643;
  --topaz: #4396C9;
  --garnet: #3D2133;
  --peridot: #C9DC50;
  --white: #FFFFFF;
  --light-grey: #F5F7FA;
  --dark-slate: #071526;
  --text-dark: #1F2E44;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --error-color: #EF4444;
  --success-color: #10B981;
  
  /* Typography Scale */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout Settings */
  --header-height: 90px;
  --top-strip-height: 40px;
  --border-radius: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 20px rgba(15, 38, 67, 0.08);
  --shadow-lg: 0 10px 30px rgba(15, 38, 67, 0.15);
  --glow: 0 0 15px rgba(67, 150, 201, 0.4);
}

/* RTL Typography Override */
[dir="rtl"] {
  --font-display: 'Noto Sans Arabic', sans-serif;
  --font-body: 'Noto Sans Arabic', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--sapphire);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; }
.w-full { width: 100%; }
.block-error { display: block; margin-top: 4px; }

/* Subtitles / Section Badges */
.subtitle {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--topaz);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 36px;
  margin-bottom: 20px;
  position: relative;
}

.section-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Custom Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  outline: none;
  white-space: nowrap;
}

.btn-solid {
  background-color: var(--topaz);
  color: var(--white);
}

.btn-solid:hover {
  background-color: #357FA8;
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--topaz);
  color: var(--topaz);
}

.btn-outline:hover {
  background-color: var(--topaz);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--sapphire);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-text {
  background: none;
  border: none;
  color: var(--topaz);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 0;
  transition: var(--transition);
}

.btn-text:hover {
  color: var(--sapphire);
  transform: translateX(5px);
}
[dir="rtl"] .btn-text:hover {
  transform: translateX(-5px);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.top-strip {
  height: var(--top-strip-height);
  background-color: var(--dark-slate);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1001;
}

.top-strip-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info {
  display: flex;
  gap: 24px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-link:hover, .calendar-link:hover {
  color: var(--topaz);
}

.icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(15, 38, 67, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

.main-header.scrolled {
  height: 80px;
  background-color: rgba(7, 21, 38, 0.95);
  box-shadow: var(--shadow-lg);
}

.header-container {
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  height: 50px;
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 100%;
  width: auto;
}

/* Nav Menu */
.desktop-nav {
  display: flex;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  padding: 0 16px;
  color: var(--white);
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
}

.nav-link:hover {
  color: var(--topaz);
}

.chevron {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: var(--transition);
}

.nav-item:hover .chevron {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 15px);
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 12px 0;
  width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}
[dir="rtl"] .dropdown-menu a {
  text-align: right;
}

.dropdown-menu a:hover {
  background-color: var(--light-grey);
  color: var(--topaz);
  padding-left: 24px;
}
[dir="rtl"] .dropdown-menu a:hover {
  padding-right: 24px;
  padding-left: 20px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 12px;
  border-radius: 20px;
  color: var(--white);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  gap: 4px;
  transition: var(--transition);
}

.lang-toggle-btn:hover {
  border-color: var(--topaz);
  color: var(--topaz);
}

.lang-toggle-btn .divider {
  opacity: 0.5;
}

.lang-toggle-btn .active-lang {
  color: var(--topaz);
}

/* Hamburger button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;
}

.hamburger-btn span {
  width: 100%;
  height: 2px;
  background-color: var(--white);
  transition: var(--transition);
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background-color: var(--sapphire);
  padding: 120px 40px 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  z-index: 999;
}

[dir="rtl"] .mobile-nav {
  right: auto;
  left: -100%;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.active {
  right: 0;
}
[dir="rtl"] .mobile-nav.active {
  left: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mobile-nav-group h4 {
  color: var(--topaz);
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 1.5px;
}

.mobile-nav-group a {
  display: block;
  color: var(--white);
  padding: 8px 0;
  font-size: 16px;
  font-weight: 500;
}

.mobile-nav-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  height: calc(100vh - var(--top-strip-height));
  background-color: var(--dark-slate);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding-bottom: 80px;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-image: url('../assets/hero-bg.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: radial-gradient(circle at 20% 50%, rgba(15, 38, 67, 0.9) 0%, rgba(7, 21, 38, 0.8) 50%, rgba(0, 0, 0, 0.75) 100%),
              linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
              linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 60px 60px, 60px 60px;
  pointer-events: none;
}
[dir="rtl"] .hero-grid-overlay {
  background: radial-gradient(circle at 80% 50%, rgba(15, 38, 67, 0.9) 0%, rgba(7, 21, 38, 0.8) 50%, rgba(0, 0, 0, 0.75) 100%),
              linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
              linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 60px 60px, 60px 60px;
}

.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-content {
  max-width: 680px;
  text-align: left;
}
[dir="rtl"] .hero-content {
  text-align: right;
}

.hero-badge {
  background-color: rgba(67, 150, 201, 0.15);
  border: 1px solid rgba(67, 150, 201, 0.3);
  padding: 8px 16px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--topaz);
  margin-bottom: 24px;
  letter-spacing: 1px;
  animation: pulseGlow 3s infinite alternate;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--peridot);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--peridot);
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
}

.hero-trust-badges {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(15, 38, 67, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 24px 0;
  z-index: 4;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-icon {
  width: 24px;
  height: 24px;
  background-color: rgba(201, 220, 80, 0.15);
  border: 1px solid var(--peridot);
  color: var(--peridot);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.badge-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* Animations */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 5px rgba(67, 150, 201, 0.2); }
  100% { box-shadow: 0 0 15px rgba(67, 150, 201, 0.4); }
}

/* Hero Notification Card Styles */
.hero-notification-card {
  position: relative;
  background: rgba(15, 38, 67, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 20px rgba(67, 150, 201, 0.15);
  animation: floatAnimCard 5s ease-in-out infinite alternate;
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
  z-index: 10;
  cursor: pointer;
}

@keyframes floatAnimCard {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-8px) scale(1.005); }
}

.hero-notification-card.hidden {
  opacity: 0;
  transform: translateY(20px) scale(0.95) !important;
  visibility: hidden;
  pointer-events: none;
}

.notification-close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: rgba(15, 38, 67, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: 50%;
  font-size: 18px;
  line-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 12;
  transition: var(--transition);
}

[dir="rtl"] .notification-close-btn {
  right: auto;
  left: 8px;
}

.notification-close-btn:hover {
  background: var(--error-color);
  border-color: var(--error-color);
  transform: scale(1.1);
}

.notification-image-wrapper {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.notification-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-notification-card:hover .notification-img {
  transform: scale(1.04);
}

.notification-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notification-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--peridot);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.notification-dot {
  width: 8px;
  height: 8px;
  background-color: var(--peridot);
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.notification-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--peridot);
  border-radius: 50%;
  animation: pulseDot 1.8s infinite ease-out;
  opacity: 0;
}

@keyframes pulseDot {
  0% { transform: scale(0.5); opacity: 0; }
  50% { opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0; }
}

.notification-msg {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  font-family: var(--font-display);
}

@media (min-width: 1025px) {
  .hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
  }
  .hero-content {
    flex: 1;
    max-width: 680px;
  }
  .hero-notification-card {
    flex: 0 0 350px;
    max-width: 350px;
  }
}

/* ==========================================================================
   STATISTICS RIBBON
   ========================================================================== */

.stats-ribbon {
  background-color: var(--light-grey);
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.stat-card {
  position: relative;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 10%;
  right: -20px;
  height: 80%;
  width: 1px;
  background-color: var(--border-color);
}
[dir="rtl"] .stat-card::after {
  right: auto;
  left: -20px;
}

.stat-card:last-child::after {
  display: none;
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--sapphire);
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.stat-description {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   VISIONARY LEADERSHIP
   ========================================================================== */

.leadership-section {
  background-color: var(--white);
}

.section-header {
  margin-bottom: 60px;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.profile-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

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

.profile-img-container {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.profile-card:hover .profile-img {
  transform: scale(1.05);
}

.profile-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
}
[dir="rtl"] .profile-overlay {
  left: auto;
  right: 20px;
}

.profile-tag {
  background-color: var(--sapphire);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.profile-info {
  padding: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.profile-name {
  font-size: 24px;
  margin-bottom: 4px;
}

.profile-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--topaz);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.profile-credentials {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 500;
}

.profile-quote {
  font-size: 15px;
  color: var(--text-dark);
  font-style: italic;
  padding-left: 16px;
  border-left: 3px solid var(--garnet);
  margin-bottom: 24px;
  flex-grow: 1;
}
[dir="rtl"] .profile-quote {
  padding-left: 0;
  padding-right: 16px;
  border-left: none;
  border-right: 3px solid var(--garnet);
}

/* Drawer / Modal Overlay */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 21, 38, 0.7);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  display: flex;
  justify-content: flex-end;
}
[dir="rtl"] .drawer-overlay {
  justify-content: flex-start;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.drawer-content {
  width: 100%;
  max-width: 550px;
  height: 100%;
  background-color: var(--white);
  padding: 60px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
[dir="rtl"] .drawer-content {
  transform: translateX(-100%);
}

.drawer-overlay.active .drawer-content {
  transform: translateX(0);
}

.drawer-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 32px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}
[dir="rtl"] .drawer-close {
  right: auto;
  left: 24px;
}

.drawer-close:hover {
  color: var(--sapphire);
}

.drawer-header {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.drawer-name {
  font-size: 28px;
  margin-bottom: 4px;
}

.drawer-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
}

.drawer-body p {
  margin-bottom: 20px;
}

/* ==========================================================================
   THE PIONEER FRAMEWORK
   ========================================================================== */

.pioneer-section {
  background-color: var(--light-grey);
}

.pioneer-tabs-container {
  margin-top: 48px;
}

.pioneer-tabs {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 40px;
  overflow-x: auto;
  white-space: nowrap;
  gap: 12px;
  padding-bottom: 4px;
}

.pioneer-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  outline: none;
}

.tab-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.pioneer-tab:hover {
  color: var(--topaz);
}

.pioneer-tab.active {
  color: var(--topaz);
  border-bottom-color: var(--topaz);
}

.pioneer-details-box {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 48px;
  box-shadow: var(--shadow);
}

.pioneer-tab-content {
  display: none;
}

.pioneer-tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.pioneer-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.pioneer-detail-title {
  font-size: 28px;
  margin-bottom: 16px;
}

.pioneer-detail-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.pioneer-tools-list h5 {
  font-size: 14px;
  color: var(--sapphire);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.tools-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.tool-tag {
  background-color: var(--light-grey);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sapphire);
}

.pioneer-project {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  font-size: 14px;
}

.pioneer-project strong {
  color: var(--garnet);
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
}

.pioneer-project span {
  color: var(--text-dark);
  font-weight: 500;
}

.pioneer-visual .image-wrapper {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 300px;
}

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

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   CURRICULUM PATHWAYS
   ========================================================================== */

.curriculum-section {
  background-color: var(--white);
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.curriculum-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.curriculum-card:hover {
  border-color: var(--topaz);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.curr-card-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.curr-stage {
  font-size: 20px;
  margin-bottom: 6px;
}

.curr-ages {
  font-size: 13px;
  color: var(--topaz);
  font-weight: 700;
}

.curr-summary {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.curr-expandable {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.expand-btn {
  background: none;
  border: none;
  color: var(--sapphire);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  outline: none;
}

.expand-btn .chevron {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.expand-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.expand-content.active {
  max-height: 500px;
  transition: max-height 0.4s ease-in-out;
  margin-top: 16px;
}

.outcomes-list {
  list-style: none;
}

.outcomes-list li {
  font-size: 13px;
  color: var(--text-dark);
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}
[dir="rtl"] .outcomes-list li {
  padding-left: 0;
  padding-right: 20px;
}

.outcomes-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--peridot);
  font-weight: 700;
}
[dir="rtl"] .outcomes-list li::before {
  left: auto;
  right: 0;
}

/* Inclusion Block */
.inclusion-block {
  background-color: var(--light-grey);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.inclusion-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.inclusion-text h4 {
  font-size: 22px;
  margin-bottom: 10px;
}

.inclusion-text p {
  font-size: 15px;
  color: var(--text-muted);
}

/* ==========================================================================
   FACILITIES CAROUSEL (SECTION 7)
   ========================================================================== */

.facilities-section {
  background-color: var(--light-grey);
}

.facilities-carousel-outer {
  position: relative;
  margin-top: 48px;
  display: flex;
  align-items: center;
}

.facilities-carousel-container {
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
}

.facilities-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 24px;
}

.facility-slide {
  flex: 0 0 calc(50% - 12px); /* Display 2 per screen on desktop */
  min-width: calc(50% - 12px);
}

.facility-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.facility-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.facility-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.facility-name {
  font-size: 22px;
  margin-bottom: 12px;
}

.facility-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.facility-spec, .facility-project {
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  margin-top: 12px;
  font-size: 13px;
}

.facility-spec strong, .facility-project strong {
  color: var(--sapphire);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--white);
  border: 1px solid var(--border-color);
  color: var(--sapphire);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  outline: none;
}

.carousel-nav:hover {
  background-color: var(--topaz);
  color: var(--white);
  border-color: var(--topaz);
}

.carousel-nav.prev {
  left: -22px;
}

.carousel-nav.next {
  right: -22px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.indicator-dot {
  width: 8px;
  height: 8px;
  background-color: var(--border-color);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.indicator-dot.active {
  background-color: var(--topaz);
  width: 24px;
  border-radius: 4px;
}

/* ==========================================================================
   CAMPUS GALLERY
   ========================================================================== */

.gallery-section {
  background-color: var(--white);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: var(--light-grey);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.filter-btn:hover {
  background-color: var(--border-color);
}

.filter-btn.active {
  background-color: var(--sapphire);
  color: var(--white);
  border-color: var(--sapphire);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 250px;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 38, 67, 0.95) 0%, rgba(15, 38, 67, 0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
  color: var(--white);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

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

.gallery-tag {
  color: var(--peridot);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}

.gallery-title {
  color: var(--white);
  font-size: 18px;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 21, 38, 0.95);
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: var(--white);
  font-size: 40px;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--topaz);
}

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  box-shadow: var(--shadow-lg);
  border-radius: 4px;
  animation: zoom 0.3s ease;
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin-top: 20px;
  font-weight: 500;
}

@keyframes zoom {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   PARENT DECISION SUPPORT HUB
   ========================================================================== */

.support-section {
  background-color: var(--light-grey);
}

.support-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  margin-top: 48px;
}

.support-box {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.box-title {
  font-size: 22px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--light-grey);
  padding-bottom: 12px;
}

.table-responsive {
  overflow-x: auto;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.fee-table th, .fee-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}
[dir="rtl"] .fee-table th, [dir="rtl"] .fee-table td {
  text-align: right;
}

.fee-table th {
  font-weight: 700;
  background-color: var(--light-grey);
  color: var(--sapphire);
}

.fee-table tbody tr:hover {
  background-color: var(--light-grey);
}

.table-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* Calculator Box */
.calculator-box {
  background-color: var(--dark-slate);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.1);
}

.calculator-box .box-title {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.form-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
}

.form-control {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 4px;
  outline: none;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-control option {
  background-color: var(--dark-slate);
  color: var(--white);
}

.form-control:focus {
  border-color: var(--topaz);
  box-shadow: 0 0 0 2px rgba(67, 150, 201, 0.2);
}

.inline-checkbox {
  flex-direction: row !important;
  align-items: center;
}

.inline-checkbox input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.inline-checkbox label {
  cursor: pointer;
  user-select: none;
}

.calculator-results {
  background-color: rgba(15, 38, 67, 0.5);
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.result-row.discount {
  color: var(--peridot);
  font-weight: 600;
}

.result-row.total {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 12px;
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.result-row.total span:last-child {
  color: var(--topaz);
  font-size: 22px;
}

/* Hub Details Cards */
.hub-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.hub-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hub-icon {
  width: 32px;
  height: 32px;
  fill: var(--topaz);
}

.hub-card h4 {
  font-size: 18px;
}

.hub-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ==========================================================================
   VOICES OF GEMS SRI (TESTIMONIALS)
   ========================================================================== */

.testimonials-section {
  background-color: var(--white);
}

.testimonial-carousel-container {
  max-width: 800px;
  margin: 48px auto 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: none;
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.testimonial-card-inner {
  background-color: var(--light-grey);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 48px;
  box-shadow: var(--shadow);
  position: relative;
  text-align: center;
}

.testimonial-quote-mark {
  font-size: 80px;
  color: var(--garnet);
  opacity: 0.15;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.author-details {
  text-align: left;
}
[dir="rtl"] .author-details {
  text-align: right;
}

.author-name {
  font-size: 16px;
  margin-bottom: 2px;
}

.author-info {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.stars {
  color: #FBBF24;
  font-size: 16px;
}

.testimonial-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

.test-control-btn {
  background: none;
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.test-control-btn:hover {
  background-color: var(--topaz);
  color: var(--white);
  border-color: var(--topaz);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.test-dot {
  width: 8px;
  height: 8px;
  background-color: var(--border-color);
  border-radius: 50%;
  cursor: pointer;
}

.test-dot.active {
  background-color: var(--topaz);
}

/* ==========================================================================
   ADMISSIONS TIMELINE & FORM
   ========================================================================== */

.admissions-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

.admissions-timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  padding-left: 20px;
}
[dir="rtl"] .admissions-timeline {
  padding-left: 0;
  padding-right: 20px;
}

.admissions-timeline::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 36px;
  width: 2px;
  height: calc(100% - 30px);
  background-color: var(--border-color);
  z-index: 1;
}
[dir="rtl"] .admissions-timeline::before {
  left: auto;
  right: 36px;
}

.timeline-step {
  display: flex;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.step-num {
  width: 34px;
  height: 34px;
  background-color: var(--white);
  border: 2px solid var(--topaz);
  color: var(--topaz);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.timeline-step:nth-child(even) .step-num {
  border-color: var(--garnet);
  color: var(--garnet);
}

.step-details h4 {
  font-size: 18px;
  margin-bottom: 6px;
}

.step-details p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Native Admissions Form */
.admissions-form-box {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-box-title {
  font-size: 24px;
  margin-bottom: 8px;
}

.form-box-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.form-group-row:has(#parentName) {
  grid-template-columns: 1fr;
}

.admissions-form-box .form-group {
  margin-bottom: 0;
}

.admissions-form-box label {
  font-size: 13px;
  font-weight: 700;
  color: var(--sapphire);
}

.admissions-form-box .form-control {
  background-color: var(--light-grey);
  border-color: var(--border-color);
  color: var(--text-dark);
}

.admissions-form-box .form-control:focus {
  border-color: var(--topaz);
  background-color: var(--white);
}

.admissions-form-box select.form-control option {
  background-color: var(--white);
  color: var(--text-dark);
}

.error-msg {
  font-size: 12px;
  color: var(--error-color);
  margin-top: 4px;
  display: none;
}

.form-control.invalid {
  border-color: var(--error-color);
  animation: shake 0.3s ease;
}

.small-text {
  font-size: 12px;
  color: var(--text-muted);
}

/* Success Modal */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 21, 38, 0.7);
  z-index: 2200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.success-modal-content {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: zoom 0.3s ease;
}

.success-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(16, 185, 129, 0.1);
  border: 2px solid var(--success-color);
  color: var(--success-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 24px auto;
}

.success-modal-content h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.success-modal-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* ==========================================================================
   GLOBAL FOOTER
   ========================================================================== */

.global-footer {
  background-color: var(--dark-slate);
  color: var(--white);
  padding: 80px 0 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  height: 48px;
  margin-bottom: 24px;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.footer-links h4, .footer-contact-item strong {
  color: var(--topaz);
}

.footer-links h4 {
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--topaz);
  transform: translateX(5px);
}
[dir="rtl"] .footer-links a:hover {
  transform: translateX(-5px);
}

.footer-contact-item {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 16px;
}

.footer-contact-item a:hover {
  color: var(--topaz);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-gems-credit {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   MOBILE INTERACTION & STICKY BOTTOM BAR
   ========================================================================== */

.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: var(--white);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.08);
  z-index: 998;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border-color);
}

.mobile-cta-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
}

.mobile-cta-link.btn-outline {
  color: var(--sapphire);
  background-color: var(--white);
}

.mobile-cta-link.btn-solid {
  color: var(--white);
  background-color: var(--topaz);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-title { font-size: 48px; }
  .curriculum-grid { grid-template-columns: repeat(2, 1fr); }
  .facilities-carousel-outer { padding: 0 40px; }
  .carousel-nav.prev { left: 0; }
  .carousel-nav.next { right: 0; }
  .facility-slide { flex: 0 0 100%; min-width: 100%; }
  .hero-notification-card {
    max-width: 450px;
    margin: 32px auto 0 auto;
  }
  .notification-image-wrapper {
    height: 180px;
  }
}

@media (max-width: 900px) {
  .leadership-grid, .support-grid, .admissions-layout, .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pioneer-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pioneer-visual .image-wrapper {
    height: 250px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hub-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 60px; /* space for mobile-cta-bar */
  }

  .top-strip { display: none; }
  
  .desktop-nav { display: none; }
  .hamburger-btn { display: flex; }
  
  .hero-section {
    height: calc(100vh - 80px);
    padding-bottom: 120px;
  }
  
  .hero-title { font-size: 38px; }
  .hero-subtitle { font-size: 16px; }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-ctas .btn {
    width: 100%;
  }

  .hero-trust-badges {
    flex-direction: column;
    gap: 16px;
    padding: 16px 24px;
    align-items: flex-start;
  }

  .stats-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stat-card::after { display: none; }

  .mobile-cta-bar {
    display: grid;
  }
  
  .pioneer-tab {
    padding: 12px 14px;
    font-size: 13px;
  }

  .pioneer-details-box {
    padding: 24px;
  }
  
  .curriculum-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .inclusion-split {
    flex-direction: column;
    text-align: center;
  }
  
  .admissions-timeline::before {
    display: none;
  }
  
  .timeline-step {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    background-color: var(--light-grey);
  }
  
  .step-num {
    margin: 0 auto;
  }

  .form-group-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .hero-notification-card {
    max-width: 100%;
    margin-top: 24px;
    padding: 12px 16px;
  }
  .notification-image-wrapper {
    display: none;
  }
  .notification-body {
    padding-right: 28px;
  }
  [dir="rtl"] .notification-body {
    padding-right: 0;
    padding-left: 28px;
  }
  .notification-close-btn {
    top: 50%;
    transform: translateY(-50%);
    right: 12px;
  }
  [dir="rtl"] .notification-close-btn {
    right: auto;
    left: 12px;
  }
}

/* Scroll Reveal CSS Styles */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Floating Animations for trust/hero elements */
.hero-badge, .trust-badge-item {
  animation: floatAnim 4s ease-in-out infinite alternate;
}

.trust-badge-item:nth-child(2) {
  animation-delay: 0.8s;
}
.trust-badge-item:nth-child(3) {
  animation-delay: 1.6s;
}

@keyframes floatAnim {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

/* Color Revolving Shimmer Text & Animation Utilities */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer-text {
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(90deg, #fff 0%, var(--peridot) 45%, #fff 55%, #fff 100%) 0 0 / 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: 6s linear infinite shimmer;
  display: inline-block;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 var(--peridot); }
  70% { box-shadow: 0 0 0 18px rgba(201, 220, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 220, 80, 0); }
}

.pulse-dot {
  animation: 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite pulse-ring;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }

.lift {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}

.lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -24px rgba(15, 38, 67, 0.35);
}

.underline-grow {
  position: relative;
}

.underline-grow:after {
  content: "";
  transform-origin: 100%;
  background: currentColor;
  width: 100%;
  height: 2px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: absolute;
  bottom: -3px;
  left: 0;
  transform: scaleX(0);
}

.underline-grow:hover:after {
  transform-origin: 0;
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .animate-ken-burns, .animate-float, .animate-orbit, .shimmer-text, .pulse-dot {
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transition: none;
    transform: none;
  }
}

