@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-subtle: #dbeafe;
  --primary-glow: rgba(37, 99, 235, 0.3);
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --bg-page: #ffffff;
  --bg-surface: #f8fafc;
  --bg-card: #ffffff;
  
  --hero-gradient: linear-gradient(135deg, #ffffff 0%, #f0f7ff 40%, #e0efff 100%);
  --hero-card-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 247, 255, 0.8) 100%);
  
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.9);
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(37, 99, 235, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(37, 99, 235, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.35);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-full: 9999px;
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Utility Classes */
.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2rem;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-header {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 auto 1rem auto;
  border: 1px solid rgba(37, 99, 235, 0.2);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.section-title {
  font-size: 2.75rem;
  text-align: center;
  margin: 0 auto 0.75rem auto;
  color: var(--text-main);
  max-width: 900px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem auto;
  font-weight: 400;
}

/* =========================================
   HEADER / NAVBAR
   ========================================= */
.navbar {
  position: relative;
  z-index: 1000;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  padding: 1.5rem 0;
  transition: var(--transition-normal);
}

.navbar.scrolled {
  padding: 1.5rem 0;
  box-shadow: none;
  border-bottom: none;
  background: transparent;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-container nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 1024px) {
  .nav-container nav {
    position: static;
    transform: none;
  }
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  text-decoration: none;
  color: var(--text-main);
  width: fit-content;
}

.logo span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
}

.logo-img {
  height: 26px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  transition: var(--transition-normal);
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: white;
  min-width: 240px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary);
  transform: translateX(4px);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-actions .btn,
#btn-header-cta,
#btn-contact-us,
#btn-get-started {
  padding: 0.55rem 1.35rem !important;
  font-size: 0.9rem !important;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.01em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
  outline: none;
}

.btn-outline {
  background: white;
  color: var(--text-main);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-dark {
  background: #0f172a;
  color: white;
  padding-right: 0.6rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.btn-dark:hover {
  background: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-icon-circle {
  width: 30px;
  height: 30px;
  background: white;
  color: #0f172a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.btn-dark:hover .btn-icon-circle {
  transform: translateX(4px);
  color: var(--primary);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
  padding: 2.5rem 0 4rem 0;
}

.hero-card {
  position: relative;
  background: #eff6ff;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  padding: 4.5rem 4rem 0 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 640px;
}

/* Decorative background elements inside hero */
.hero-card::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-card::after {
  content: '';
  position: absolute;
  bottom: 20%;
  left: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Top Widget Bar inside Hero Card */
.hero-top-bar {
  position: absolute;
  top: 2rem;
  right: 3rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 10;
}

.widget-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.widget-btn.dark {
  background: #1e3a8a;
  color: white;
  border-color: #1e3a8a;
}

.widget-btn:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  color: var(--primary);
}

.widget-btn.dark:hover {
  color: white;
  background: var(--primary);
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 5;
  padding-bottom: 4rem;
}

/* Dual Tone Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(219, 234, 254, 0.8);
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: var(--radius-full);
  padding: 0.35rem 1.1rem 0.35rem 0.35rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.06);
  backdrop-filter: blur(8px);
}

.badge-tag {
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-right: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
}

.badge-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e3a8a;
}

.hero-title {
  font-size: 3.85rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 540px;
  font-weight: 400;
}

.btn-primary-glow {
  background: var(--primary);
  color: white;
  padding: 1rem 2.4rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.5);
  position: relative;
  overflow: hidden;
}

.btn-primary-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.6s;
}

.btn-primary-glow:hover {
  background: var(--primary-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.65);
}

.btn-primary-glow:hover::before {
  left: 100%;
}

/* Hero Image Side (Full Background Container with White Shader) */
.hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(239, 246, 255, 0.96) 0%, rgba(239, 246, 255, 0.88) 42%, rgba(239, 246, 255, 0.35) 68%, rgba(239, 246, 255, 0) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-img-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 20%;
}

/* Floating badge hidden for clean reference image style */
.hero-floating-badge {
  display: none;
}

/* Bottom Stats Banner (Inside Hero Card!) */
.hero-stats-bar {
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  position: relative;
  z-index: 10;
  margin: 0 -4rem;
}

.stat-item {
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60%;
  width: 1.5px;
  background: linear-gradient(to bottom, transparent, rgba(148, 163, 184, 0.3), transparent);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.03em;
  display: inline-block;
}

.stat-label {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* =========================================
   SOLUTIONS SECTION
   ========================================= */
.solutions-section {
  padding: 6rem 0 1.5rem 0;
  position: relative;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

/* =========================================
   PROGRAM CARDS & CERTIFICATE TRACKS
   ========================================= */
.program-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-color);
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37, 99, 235, 0.4);
}

.program-img-wrapper {
  width: 100%;
  height: 210px;
  overflow: hidden;
  position: relative;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
}

.program-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.program-card:hover .program-img {
  transform: scale(1.08);
}

.program-card-content {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.program-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.program-badge.full-time {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.program-badge.dialect {
  background: #fef3c7;
  color: #b45309;
}

.program-badge.specialist {
  background: #f3e8ff;
  color: #6d28d9;
}

.program-badge.supplementary {
  background: #e0f2fe;
  color: #0369a1;
}

.program-badge.online {
  background: #ecfdf5;
  color: #047857;
}

.cert-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--bg-surface);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.program-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.program-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.program-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  gap: 1rem;
  flex-wrap: wrap;
}

.program-duration {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-learn-more {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-learn-more:hover {
  color: var(--primary-dark);
  transform: translateX(4px);
}

/* Slider / Pagination Indicator */
.slider-indicator-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.slider-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
  z-index: 1;
}

.slider-pill {
  position: relative;
  z-index: 2;
  background: white;
  border: 1.5px solid var(--border-color);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.05);
}

.slider-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* =========================================
   DEDICATED FULL-PAGE FEATURE SECTIONS
   ========================================= */
.dedicated-section {
  padding: 5.5rem 0;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

#courses-showcase {
  padding-top: 2.5rem;
}

.dedicated-section.bg-white {
  background: #ffffff;
}

.dedicated-section.bg-slate {
  background: #f8fafc;
}

.dedicated-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 5rem;
  align-items: center;
}

.dedicated-grid.reverse-grid {
  grid-template-columns: 0.95fr 1.05fr;
}

@media (max-width: 992px) {
  .dedicated-grid,
  .dedicated-grid.reverse-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

.section-pill-badge {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.dedicated-title {
  font-size: 2.85rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.18;
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.03em;
}

.dedicated-desc {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.75;
  margin: 0 0 2.25rem 0;
}

.dedicated-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.dedicated-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.5;
}

.dedicated-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.dedicated-btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Visual Cards & Mockups */
.dedicated-visual {
  position: relative;
  width: 100%;
}

.visual-img-card {
  background: white;
  border-radius: 28px;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.1);
  transition: all 0.35s ease;
}

.visual-img-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.16);
  border-color: #cbd5e1;
}

.visual-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.visual-caption {
  text-align: center;
  padding: 0.5rem 1rem 0.5rem 1rem;
}

.visual-caption h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.4rem 0;
}

.visual-caption p {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Course Explorer Mockup Box */
.course-explorer-card {
  background: white;
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.1);
  border: 1px solid #e2e8f0;
  transition: all 0.35s ease;
}

.course-explorer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.16);
  border-color: #cbd5e1;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.mockup-title {
  margin-left: 12px;
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 700;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.mockup-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.course-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.5rem;
  background: #f8fafc;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
}

.course-item:hover {
  border-color: #3b82f6;
  transform: translateX(8px);
  background: white;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.12);
}

.course-meta {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.course-svg-icon {
  width: 48px;
  height: 48px;
  background: #eff6ff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #bfdbfe;
}

.course-text h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.2rem 0;
}

.course-text p {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
  margin: 0;
}

.course-badge {
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid #bfdbfe;
  flex-shrink: 0;
}

/* =========================================
   PRICING & TUITION SECTION (NEW)
   ========================================= */
.pricing-section {
  padding: 6rem 0 5rem 0;
  background: var(--bg-page);
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  align-items: stretch;
  margin-top: 3.5rem;
}

.pricing-card {
  background: white;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37, 99, 235, 0.3);
}

.pricing-card.featured {
  background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-xl);
  transform: scale(1.03);
  z-index: 5;
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  right: 1.75rem;
  background: var(--primary);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.4);
}

.pricing-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-light);
}

.pricing-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.pricing-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pricing-price {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin-top: 1.35rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.pricing-period {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.25rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.4;
}

.pricing-check {
  width: 22px;
  height: 22px;
  background: #ecfdf5;
  color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card .btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
}

/* =========================================
   TESTIMONIALS / STUDENT VOICES CLEAN 3-COL
   ========================================= */
.testimonials-section-clean {
  padding: 7rem 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.testimonials-clean-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 5rem auto;
}

.testimonials-pill-badge {
  background: white;
  color: #1d4ed8;
  border: 1px solid #cbd5e1;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 1.2rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.testimonials-main-title {
  font-size: 3.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.03em;
}

.testimonials-subtitle {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* 3-Column Grid with Elevated Center */
.testimonials-3col-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .testimonials-3col-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Side Containers */
.testimonial-card-side {
  background: white;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 25px -10px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.96);
  opacity: 0.95;
}

.testimonial-card-side:hover {
  transform: scale(0.98) translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08);
  opacity: 1;
}

/* Center Featured Container (BIGGER) */
.testimonial-card-center {
  background: white;
  border-radius: 32px;
  border: 2px solid #3b82f6;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.18);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.05);
  position: relative;
  z-index: 2;
}

.testimonial-card-center:hover {
  transform: scale(1.07) translateY(-8px);
  box-shadow: 0 30px 60px -12px rgba(37, 99, 235, 0.25);
}

.t-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 1.1rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* Common Anatomy */
.t-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.t-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: white;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.t-avatar-large {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  font-size: 1.25rem;
}

.avatar-blue { background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%); }
.avatar-indigo { background: linear-gradient(135deg, #312e81 0%, #4f46e5 100%); }
.avatar-purple { background: linear-gradient(135deg, #581c87 0%, #9333ea 100%); }

.t-meta h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.15rem 0;
}

.t-name-large {
  font-size: 1.25rem !important;
}

.t-meta span {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

.t-univ-large {
  font-size: 0.9rem !important;
}

.t-rating {
  color: #f59e0b;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
}

.t-rating-large {
  font-size: 1.25rem;
}

.t-quote {
  font-size: 1rem;
  line-height: 1.65;
  color: #334155;
  margin: 0 0 2rem 0;
  font-weight: 400;
}

.t-quote-large {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #1e293b;
  font-weight: 500;
}

.t-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.t-track-pill {
  background: #f1f5f9;
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
}

.t-track-pill-featured {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
}

.t-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #2563eb;
}

/* =========================================
   CALL TO ACTION / FREE TRIAL BANNER
   ========================================= */
.cta-section {
  padding: 5rem 0;
}

.cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1d4ed8 100%);
  border-radius: var(--radius-xl);
  padding: 5rem 4rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
}

.cta-title {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.cta-desc {
  font-size: 1.2rem;
  color: #dbeafe;
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-white-glow {
  background: white;
  color: #1e3a8a;
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25);
  transition: var(--transition-normal);
}

.btn-white-glow:hover {
  background: #eff6ff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.4);
}

/* =========================================
   AL ANDALUS ADMISSIONS & CONTACT SECTION
   ========================================= */
.al-andalus-admissions-section {
  padding: 7rem 0 8rem 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  color: #0f172a;
}

.admissions-grid-layout {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 4.5rem;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

/* Left Panel Typography & Buttons */
.admissions-info-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #0f172a;
}

.admissions-pill-badge {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.admissions-main-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  margin: 0 0 1.75rem 0;
  letter-spacing: -0.03em;
}

.blue-gradient-text {
  color: #2563eb;
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.admissions-desc-primary {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #1e293b;
  font-weight: 500;
  margin: 0 0 1.25rem 0;
  max-width: 520px;
}

.admissions-desc-secondary {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 2.5rem 0;
  max-width: 520px;
}

.admissions-btn-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-admissions-primary {
  background: #0f172a;
  color: white;
  padding: 0.95rem 1.8rem;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3);
  transition: all 0.25s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-admissions-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(15, 23, 42, 0.4);
  background: #1e293b;
  color: white;
}

.btn-admissions-outline {
  background: white;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
  padding: 0.95rem 1.8rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.btn-admissions-outline:hover {
  background: #f8fafc;
  border-color: #0f172a;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.1);
}

.btn-admissions-outline.copied {
  background: #10b981;
  border-color: #10b981;
  color: white;
}

.admissions-contact-direct {
  font-size: 0.95rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  width: 100%;
}

.admissions-contact-direct strong {
  color: #0f172a;
  font-weight: 700;
}

/* Right Panel Floating Form Card */
.admissions-form-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  padding: 2.75rem 3rem;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.8);
  color: #0f172a;
}

.form-card-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.form-card-subtitle {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0 0 2rem 0;
  line-height: 1.5;
}

.admissions-form-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.01em;
}

.form-input-clean {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  background: white;
  color: #0f172a;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-input-clean:focus {
  outline: none;
  border-color: #2563eb;
  background: white;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-input-clean::placeholder {
  color: #94a3b8;
}

.select-clean {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 2.5rem;
}

.select-clean option {
  background: white;
  color: #0f172a;
}

.textarea-clean {
  resize: vertical;
  min-height: 100px;
}

.btn-admissions-submit {
  width: 100%;
  padding: 1.1rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: white;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 14px;
  margin-top: 0.5rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.btn-admissions-submit:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.5);
}

.loader-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-success-message {
  text-align: center;
  padding: 3rem 2rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-lg);
}

.success-icon-svg {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.form-success-message h4 {
  font-size: 1.8rem;
  color: #166534;
  margin-bottom: 0.75rem;
}

.form-success-message p {
  color: #15803d;
  font-size: 1.05rem;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .admissions-grid-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .admissions-main-title {
    font-size: 2.8rem;
  }
  .admissions-form-card {
    padding: 2rem 1.5rem;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   MODERN FLOATING CONTAINER CARD FOOTER
   ========================================= */
.footer-section-modern {
  background: transparent;
  padding: 3rem 0 4rem 0;
  position: relative;
  z-index: 10;
}

.footer-section-modern .container {
  max-width: 1500px !important;
  padding: 0 1.5rem !important;
}

.footer-card-modern {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 35%, #0f172a 70%, #030712 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 32px;
  padding: 4.5rem 4rem 3rem 4rem;
  box-shadow: 0 30px 60px -15px rgba(29, 78, 216, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.footer-grid-modern {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 0.3fr;
  gap: 3.5rem;
  align-items: start;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2.5rem;
}

/* Brand & Newsletter Column */
.footer-col-brand {
  display: flex;
  flex-direction: column;
}

.logo-modern {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-bottom: 1.75rem;
}

.logo-img-modern {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}

.logo-text-modern {
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.logo-subtext-modern {
  font-size: 0.8rem;
  font-weight: 500;
  color: #f1f5f9;
  display: block;
  letter-spacing: 0.02em;
}

.footer-slogan-modern {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 2.25rem 0;
  letter-spacing: -0.03em;
}

.slogan-light {
  color: #ffffff;
}

.slogan-dark {
  color: #e2e8f0;
}

.newsletter-label-modern {
  color: #ffffff;
  font-size: 0.95rem;
  margin: 0 0 0.75rem 0;
  font-weight: 500;
}

.newsletter-form-modern {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 0.35rem 0.35rem 0.35rem 1.25rem;
  display: flex;
  align-items: center;
  max-width: 380px;
  transition: all 0.3s ease;
}

.newsletter-form-modern:focus-within {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.newsletter-input-modern {
  background: transparent;
  border: none;
  color: white;
  font-size: 0.95rem;
  outline: none;
  width: 100%;
}

.newsletter-input-modern::placeholder {
  color: #cbd5e1;
}

.newsletter-btn-modern {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.newsletter-btn-modern:hover {
  background: white;
  color: #1d4ed8;
  transform: scale(1.08) rotate(45deg);
}

/* Two-Column Links with Glowing Vertical Dividers */
.footer-col-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 0 3rem;
  position: relative;
  height: 100%;
  align-content: start;
}

.footer-col-links::before,
.footer-col-links::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.15) 25%, rgba(255, 255, 255, 0.15) 75%, transparent 100%);
}

.footer-col-links::before {
  left: 0;
}

.footer-col-links::after {
  right: 0;
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.footer-link-modern {
  color: #ffffff;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.25s ease;
  font-weight: 500;
}

.footer-link-modern:hover {
  color: #93c5fd;
  transform: translateX(4px);
  display: inline-block;
}

/* Stacked Circular Social Icons */
.footer-col-socials {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  justify-content: start;
}

.social-btn-round {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-btn-round:hover {
  background: white;
  color: #1d4ed8;
  transform: scale(1.15) rotate(5deg);
  border-color: white;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Footer Bottom */
.footer-bottom-modern {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #e2e8f0;
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-legal-modern {
  display: flex;
  gap: 2rem;
}

.footer-legal-modern a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-modern a:hover {
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .footer-grid-modern {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .footer-col-socials {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-start;
  }
  .footer-col-links::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .footer-card-modern {
    padding: 3rem 2rem 2.5rem 2rem;
    border-radius: 24px;
  }
  .footer-grid-modern {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-col-links {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-col-links::before,
  .footer-col-links::after {
    display: none;
  }
  .footer-slogan-modern {
    font-size: 1.75rem;
  }
}

/* =========================================
   PLAN DETAILS MODAL POPUP
   ========================================= */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Two-column modal card */
.modal-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  grid-template-rows: 1fr auto;
  border-radius: 28px;
  max-width: 1020px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow:
    0 40px 90px -20px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(30px) scale(0.95);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-card {
  transform: translateY(0) scale(1);
}

/* LEFT PANEL Ã¢â‚¬â€ dark gradient hero */
.modal-header {
  grid-column: 1;
  grid-row: 1 / 3;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 60%, #1e3a8a 100%);
  position: relative;
  overflow: hidden;
}

.modal-header::before {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.modal-header::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.modal-title-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
  flex: 1;
}

.modal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.modal-badge-pill svg {
  flex-shrink: 0;
}

.modal-title-box h3 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff !important;
  margin: 0 0 0.6rem 0;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.modal-subtitle-text {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0 0 1.8rem 0;
  line-height: 1.55;
}

.modal-price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 0.85rem 1.25rem;
  margin-top: auto;
}

.modal-price-tag-amount {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1;
}

.modal-price-tag-period {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0;
}

/* Quick stats inside left panel */
.modal-quick-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 1.4rem;
  z-index: 2;
}

.stat-pill-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: background 0.25s ease;
}

.stat-pill-box:hover {
  background: rgba(255, 255, 255, 0.12);
}

.stat-pill-label {
  font-size: 0.66rem;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.07em;
}

.stat-pill-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

/* CLOSE BUTTON Ã¢â‚¬â€ top right corner of left panel */
.btn-close-modal {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.75);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  flex-shrink: 0;
}

.btn-close-modal:hover {
  background: rgba(239, 68, 68, 0.85);
  border-color: rgba(239, 68, 68, 0.6);
  color: #ffffff;
  transform: rotate(90deg) scale(1.1);
}

/* RIGHT PANEL Ã¢â‚¬â€ scrollable content */
.modal-body {
  grid-column: 2;
  grid-row: 1;
  padding: 2rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: var(--text-main);
  overflow-y: auto;
  background: #f8fafc;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.modal-body::-webkit-scrollbar {
  width: 5px;
}

.modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 99px;
}

/* Features 2x2 Container Grid */
.modal-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}

.modal-feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.modal-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--modal-accent, #2563eb);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}

.modal-feature-card:hover::before {
  opacity: 1;
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
}

.modal-feature-card:hover .feature-card-icon {
  background: var(--modal-accent-bg, rgba(37,99,235,0.08));
  border-color: var(--modal-accent-border, rgba(37,99,235,0.2));
}

.feature-card-header h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
}

.modal-feature-card p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: #64748b;
  margin: 0;
  font-weight: 450;
}

/* Package Highlights Tag Container Box */
.modal-tags-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.modal-tags-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: #94a3b8;
  margin: 0 0 0.75rem 0;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.modal-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.modal-tag-item {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.38rem 0.9rem;
  border-radius: 50px;
  border: 1px solid;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  background: #ffffff;
  color: #1e293b;
}

.modal-tag-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.modal-tag-item svg {
  flex-shrink: 0;
}

/* FOOTER Ã¢â‚¬â€ spans right column only */
.modal-footer {
  grid-column: 2;
  grid-row: 2;
  padding: 1.1rem 2rem;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.modal-guarantee {
  font-size: 0.82rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
}

.modal-guarantee svg {
  flex-shrink: 0;
  color: #10b981;
}

/* Responsive Ã¢â‚¬â€ stack to single column */
@media (max-width: 860px) {
  .modal-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    max-height: 95vh;
  }
  .modal-header {
    grid-column: 1;
    grid-row: 1;
    padding: 1.75rem 1.5rem 1.5rem;
  }
  .modal-quick-stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .modal-body {
    grid-column: 1;
    grid-row: 2;
    padding: 1.5rem;
  }
  .modal-footer {
    grid-column: 1;
    grid-row: 3;
    padding: 1rem 1.5rem;
  }
  .modal-features-grid {
    grid-template-columns: 1fr;
  }
  .modal-title-box h3 {
    font-size: 1.4rem;
  }
  .modal-price-tag-amount {
    font-size: 1.5rem;
  }
  .btn-close-modal {
    top: 1rem;
    right: 1rem;
  }
}

@media (max-width: 560px) {
  .modal-quick-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* View Features button on pricing cards */
.btn-info-popup {
  padding: 0.72rem 1.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  letter-spacing: 0.01em;
}

.btn-info-popup svg {
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-info-popup:hover svg {
  transform: scale(1.15) rotate(-5deg);
}

.pricing-card .btn-info-popup.btn-outline {
  background: #f8fafc;
  color: #334155;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.pricing-card .btn-info-popup.btn-outline:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15,23,42,0.2);
}

.pricing-card.featured .btn-info-popup.btn-primary-glow {
  background: rgba(255, 255, 255, 0.18);
  color: #0f172a;
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.pricing-card.featured .btn-info-popup.btn-primary-glow:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}

/* View features / Get started in comparison table */
.comparison-table .btn-info-popup {
  padding: 0.55rem 1rem;
  font-size: 0.84rem;
  width: 100%;
  border-radius: var(--radius-full);
  margin-top: 0.75rem;
}

.comparison-table .btn-info-popup.btn-outline {
  background: #f8fafc;
  color: #334155;
  border: 1.5px solid #e2e8f0;
}

.comparison-table .btn-info-popup.btn-outline:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(15,23,42,0.18);
}

.comparison-table .btn-info-popup.btn-primary-glow {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.comparison-table .btn-info-popup.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.4);
}

@media (max-width: 768px) {
  .modal-features-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   PROGRAM COMPARISON TABLE
   ========================================= */
.comparison-section {
  padding: 5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.table-responsive {
  overflow-x: auto;
  margin-top: 3rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: white;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 1050px;
  text-align: center;
}

.comparison-table th,
.comparison-table td {
  padding: 1.35rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
  vertical-align: middle;
}

.comparison-table th {
  background: #f8fafc;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.05rem;
  border-bottom: 2px solid #cbd5e1;
  text-align: center;
}

.comparison-table th:first-child {
  background: #f1f5f9;
  color: #1e3a8a;
  position: sticky;
  left: 0;
  z-index: 2;
  text-align: left;
  padding-left: 2rem;
}

.comparison-table td:first-child {
  font-weight: 700;
  color: var(--text-main);
  background: #fdfdfe;
  position: sticky;
  left: 0;
  z-index: 1;
  border-right: 1px solid #f1f5f9;
  text-align: left;
  padding-left: 2rem;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: #f8fafc;
}

.comparison-table tr:hover td:first-child {
  background: #f1f5f9;
}

/* Highlighted Featured Column (Morocco Summer) */
.comparison-table th:nth-child(3),
.comparison-table td:nth-child(3) {
  background: #eff6ff;
  border-left: 2px solid #3b82f6 !important;
  border-right: 2px solid #3b82f6 !important;
}

.comparison-table th:nth-child(3) {
  color: var(--primary);
  border-top: 2px solid #3b82f6 !important;
  background: linear-gradient(180deg, #dbeafe 0%, #eff6ff 100%);
}

.comparison-table tr:last-child td:nth-child(3) {
  border-bottom: 2px solid #3b82f6 !important;
}

.comparison-table tr:hover td:nth-child(3) {
  background: #dbeafe;
}

.comparison-table tr.table-category td {
  background: #f8fafc !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 1.1rem;
  text-align: left !important;
  padding: 1.35rem 2rem;
  border-top: 2px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
  letter-spacing: -0.01em;
}

.comparison-table tr.table-category:hover td {
  background: #f1f5f9 !important;
}

.table-check {
  color: #10b981;
  font-weight: 800;
}

.table-cross {
  color: #cbd5e1;
}

/* =========================================
   COMPARISON TABLE CATEGORY CONTAINERS
   ========================================= */
.comparison-category-card {
  background: white;
  border-radius: 28px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.08);
  margin-bottom: 4rem;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.comparison-category-card:hover {
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.12);
  border-color: #94a3b8;
  transform: translateY(-3px);
}

.comparison-category-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: 1.75rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #3b82f6;
}

.comparison-category-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  letter-spacing: -0.01em;
}

.comparison-category-badge {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.modern-card-table {
  min-width: 1000px !important;
  margin-top: 0 !important;
}

.comparison-category-card .table-responsive {
  margin-top: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* =========================================
   PRICING & BOOKING FAQ ACCORDION
   ========================================= */
.faq-section {
  padding: 5rem 0;
  background: var(--bg-page);
}

.faq-wrapper {
  max-width: 800px;
  margin: 3rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.08);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.75rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: inherit;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.3s ease;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.75rem;
}

.faq-item.active .faq-answer {
  padding: 0 1.75rem 1.5rem 1.75rem;
}

.faq-answer p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  font-size: 0.98rem;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1200px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-card {
    padding: 3rem 3rem 0 3rem;
    gap: 2rem;
  }
  .hero-title {
    font-size: 3.2rem;
  }
}

@media (max-width: 992px) {
  .hero-card {
    padding: 3rem 2rem 0 2rem;
    min-height: 600px;
  }
  .hero-content {
    padding-bottom: 2rem;
    text-align: center;
    max-width: 100%;
  }
  .hero-image-wrapper::after {
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.96) 0%, rgba(239, 246, 255, 0.88) 45%, rgba(239, 246, 255, 0.35) 75%, rgba(239, 246, 255, 0.1) 100%);
  }
  .hero-badge {
    margin: 0 auto 1.5rem auto;
  }
  .hero-desc {
    margin: 0 auto 2rem auto;
  }
  .hero-img-container {
    margin: 0 auto;
  }
  .hero-floating-badge {
    left: 1rem;
    bottom: 1rem;
  }
  .hero-stats-bar {
    margin: 0 -2rem;
    padding: 2rem 1rem;
  }
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .spotlight-showcase {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .spotlight-display {
    padding: 2.5rem 2rem;
    min-height: auto;
  }
  .story-card.active {
    transform: none;
  }
  .story-card:hover {
    transform: none;
  }
  .tab-content.active {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 600px;
    margin: 3.5rem auto 0 auto;
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }
  .contact-card-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-info-panel, .contact-form-panel {
    padding: 3rem 2.5rem;
  }
}

/* =========================================
   PHASE 1: INSTITUTIONAL PAGES (ABOUT, CURRICULUM, FACULTY)
   ========================================= */

/* Institutional Hero Banner (Matches .hero-section dimensions exactly) */
.inst-hero {
  padding: 2.5rem 0 4rem 0;
  position: relative;
}

.inst-hero-card {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.78) 55%, rgba(15, 23, 42, 0.3) 100%), url('./assets/rabat_aerial.jpg') center/cover no-repeat;
  border-radius: 32px;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4.5rem 4rem 0 4rem;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.inst-hero-card.curriculum-bg {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.82) 55%, rgba(15, 23, 42, 0.35) 100%), url('./assets/calligraphy.png') center/cover no-repeat;
}

.inst-hero-card.faculty-bg {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.82) 55%, rgba(15, 23, 42, 0.35) 100%), url('./assets/campus.png') center/cover no-repeat;
}

.inst-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-bottom: 3.5rem;
}

.inst-hero-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.35rem 1.25rem 0.35rem 0.35rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.inst-hero-pill .tag {
  background: #ffffff;
  color: var(--text-main);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.inst-hero-pill .text {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.88rem;
}

.inst-hero-title {
  font-size: 3.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.inst-hero-desc {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 660px;
}

.inst-stats-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2.5rem 2rem;
  margin: 0 -4rem;
}

.inst-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.inst-stat-num {
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.inst-stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =========================================
   SPLIT 2-COLUMN HERO (TEXT LEFT, CONTAINER RIGHT)
   ========================================= */
.about-hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4.5rem;
  align-items: center;
  padding: 3rem 0 3.5rem 0;
}

.about-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.about-hero-pill {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.35rem 1.25rem 0.35rem 0.35rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  align-self: flex-start;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.about-hero-pill .tag {
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.about-hero-pill .text {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
}

.about-hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.14;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.about-hero-desc {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 640px;
}

/* Right Column Luxury Container Card */
.about-hero-right-card {
  position: relative;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.75) 0%, rgba(30, 58, 138, 0.6) 50%, rgba(15, 23, 42, 0.9) 100%), url('./assets/rabat_aerial.jpg') center/cover no-repeat;
  border-radius: 32px;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.8rem;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.3);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
}

.about-hero-right-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

/* Full-Width Foundation Stats Bar Spanning Under Both Columns */
.inst-stats-foundation {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow-lg);
  margin-top: 1rem;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 5;
}

.inst-foundation-stat {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.inst-foundation-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--primary-subtle);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s;
}

.inst-foundation-stat:hover .inst-foundation-icon {
  transform: scale(1.08) rotate(-6deg);
  background: var(--primary);
  color: white;
}

.inst-foundation-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.inst-foundation-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.inst-foundation-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 1024px) {
  .about-hero-split { grid-template-columns: 1fr; gap: 3rem; }
  .inst-stats-foundation { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; padding: 2rem; }
  .about-hero-title { font-size: 2.8rem; }
}

@media (max-width: 640px) {
  .inst-stats-foundation { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-hero-title { font-size: 2.3rem; }
  .about-hero-right-card { padding: 2rem; min-height: 460px; }
}

/* =========================================
   INSTITUTIONAL ANIMATIONS & MICRO-INTERACTIONS
   ========================================= */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(37, 99, 235, 0); }
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes shimmerBar {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.floating-badge-anim {
  animation: floatSlow 4s ease-in-out infinite;
}

/* =========================================
   PEDAGOGY / PILLARS SHOWCASE GRID
   ========================================= */
.pedagogy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  margin-top: 3.5rem;
}

.pedagogy-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.75rem 2.25rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.pedagogy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), #38bdf8);
  border-radius: 0 4px 4px 0;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pedagogy-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.18);
  border-color: var(--primary);
}

.pedagogy-card:hover::before {
  width: 100%;
}

.pedagogy-icon-box {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: var(--primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(191, 219, 254, 0.8);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pedagogy-card:hover .pedagogy-icon-box {
  transform: rotate(-8deg) scale(1.12);
  background: linear-gradient(135deg, var(--primary), #1e40af);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.4);
}

.pedagogy-card h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.pedagogy-card .lead-quote {
  font-size: 0.98rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1.35rem;
  font-style: italic;
  padding-left: 0.85rem;
  border-left: 2.5px solid var(--primary);
}

.pedagogy-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.pedagogy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 1.75rem;
}

.pedagogy-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.94rem;
  color: var(--text-main);
  font-weight: 600;
}

.pedagogy-list li svg {
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.pedagogy-card:hover .pedagogy-list li svg {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .pedagogy-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .pedagogy-grid { grid-template-columns: 1fr; }
}

/* =========================================
   FACULTY PROFILE CARDS
   ========================================= */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  margin-top: 3.5rem;
}

.faculty-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 2.5rem 2.25rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.faculty-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.18);
}

.faculty-card-top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.faculty-avatar {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.faculty-avatar.gold {
  background: linear-gradient(135deg, #b45309, #f59e0b);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
}

.faculty-avatar.emerald {
  background: linear-gradient(135deg, #047857, #10b981);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

.faculty-avatar.purple {
  background: linear-gradient(135deg, #5b21b6, #8b5cf6);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.25);
}

.faculty-meta h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.faculty-meta .faculty-title {
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
  display: block;
}

.faculty-credentials {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  font-size: 0.84rem;
  color: #475569;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.faculty-credentials svg {
  color: var(--primary);
  flex-shrink: 0;
}

.faculty-bio {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.faculty-courses {
  border-top: 1px solid var(--border-light);
  padding-top: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.faculty-courses .course-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.faculty-course-tags {
  display: flex;
  gap: 0.5rem;
}

.faculty-course-tag {
  background: #eff6ff;
  color: var(--primary);
  border: 1px solid #bfdbfe;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
}

@media (max-width: 1024px) {
  .faculty-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .faculty-grid { grid-template-columns: 1fr; }
}

/* =========================================
   INTERACTIVE CAMPUS TABS & DYNAMIC PANES
   ========================================= */
.campus-tabs-section {
  padding: 6.5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.campus-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.campus-tab-btn {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
}

.campus-tab-btn:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
}

.campus-tab-btn.active {
  background: linear-gradient(135deg, var(--primary), #1e40af);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 12px 30px -5px rgba(37, 99, 235, 0.5);
  transform: scale(1.05);
}

.campus-tab-btn.active svg {
  animation: iconPulse 2s infinite;
}

.campus-pane {
  display: none;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.12);
}

.campus-pane.active {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  animation: slideUpFade 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.campus-pane-img-wrapper {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.campus-pane-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.campus-pane:hover .campus-pane-img {
  transform: scale(1.06);
}

.campus-pane-badge {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 5;
}

.campus-pane-info {
  padding: 2.2rem 2.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}

.campus-pane-info h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.campus-pane-info .campus-desc {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.campus-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.campus-spec-box {
  background: #f8fafc;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.campus-spec-box:hover {
  transform: translateY(-4px);
  background: #eff6ff;
  border-color: #bfdbfe;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.1);
}

.campus-spec-box h5 {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.campus-spec-box p {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin: 0;
}

/* =========================================
   ADVISORY BOARD & GOVERNANCE CARDS
   ========================================= */
.governance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  margin-top: 3.5rem;
}

.governance-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.75rem 2.25rem;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

.governance-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #38bdf8);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.governance-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 45px -10px rgba(37, 99, 235, 0.16);
  border-color: var(--primary);
}

.governance-card:hover::after {
  opacity: 1;
}

.governance-header {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-bottom: 1.75rem;
}

.governance-avatar {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--primary), #38bdf8);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.governance-card:hover .governance-avatar {
  transform: scale(1.1) rotate(6deg);
}

.governance-title h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.governance-title span {
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.governance-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

/* =========================================
   DIFFERENTIATORS ADVANTAGE GRID
   ========================================= */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.diff-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.75rem 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
}

.diff-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.18);
}

.diff-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  color: #0f172a;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  border: 1px solid #cbd5e1;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.diff-card:hover .diff-icon {
  background: linear-gradient(135deg, var(--primary), #1e40af);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-4px) rotate(-8deg);
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.35);
}

.diff-card h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.diff-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

/* Responsive Institutional Pages (Matching .hero-card breakpoints precisely) */
@media (max-width: 1200px) {
  .inst-hero-card {
    padding: 3rem 3rem 0 3rem;
  }
  .inst-stats-bar {
    margin: 0 -3rem;
  }
}

@media (max-width: 1024px) {
  .inst-stats-bar { grid-template-columns: repeat(2, 1fr); }
  .pedagogy-grid { grid-template-columns: 1fr; }
  .campus-pane.active { grid-template-columns: 1fr; }
  .governance-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .inst-hero-card {
    padding: 3rem 2rem 0 2rem;
    min-height: 600px;
  }
  .inst-hero-content {
    padding-bottom: 2rem;
    text-align: center;
    max-width: 100%;
  }
  .inst-hero-pill {
    margin: 0 auto 1.5rem auto;
  }
  .inst-hero-desc {
    margin: 0 auto 2rem auto;
  }
  .inst-stats-bar {
    margin: 0 -2rem;
    padding: 2rem 1rem;
  }
  .inst-cta-card {
    padding: 3.5rem 2rem !important;
  }
}

@media (max-width: 640px) {
  .inst-hero-card { padding: 2.5rem 1.5rem 0 1.5rem; }
  .inst-stats-bar { margin: 0 -1.5rem; grid-template-columns: 1fr; padding: 1.75rem 1.25rem; }
  .inst-hero-title { font-size: 2.6rem; }
  .governance-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .campus-pane-info { padding: 2.5rem 1.5rem; }
  .campus-specs-grid { grid-template-columns: 1fr; }
  .inst-cta-card { padding: 2.5rem 1.5rem !important; }
}




/* =========================================
   HAMBURGER & MOBILE NAVIGATION OVERLAY
   ========================================= */

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
  transition: all 0.25s ease;
  flex-shrink: 0;
  z-index: 1100;
}

.hamburger-btn:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.ham-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.hamburger-btn.active .ham-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.active .ham-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger-btn.active .ham-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 92vw);
  height: 100%;
  background: #ffffff;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.active .mobile-nav-inner {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-close {
  width: 38px;
  height: 38px;
  background: #f8fafc;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.mobile-nav-close:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  margin-bottom: 1.5rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: var(--primary-light);
  color: var(--primary);
}

.mobile-nav-group {
  display: flex;
  flex-direction: column;
}

.mobile-nav-label {
  display: block;
  padding: 0.85rem 1rem 0.4rem 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mobile-nav-sublink {
  display: block;
  padding: 0.65rem 1rem 0.65rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mobile-nav-sublink:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.mobile-nav-cta {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

/* =========================================
   TABLET BREAKPOINT (max-width: 900px)
   ========================================= */
@media (max-width: 900px) {

  /* --- NAV --- */
  .hamburger-btn { display: flex; }
  .mobile-nav-overlay { display: block; }
  .nav-container nav,
  .nav-actions { display: none !important; }

  .container { padding: 0 1.25rem; }

  /* -----------------------------------------------
     HERO: Switch from absolute-image overlay to
     a clean stacked card (text top, image bottom)
  ----------------------------------------------- */
  .hero-section { padding: 1.5rem 0 3rem 0; }

  .hero-card {
    /* Kill the fixed height Ã¢â‚¬â€ let content breathe */
    min-height: unset;
    padding: 0;
    border-radius: 24px;
    /* Stack children vertically */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
  }


  /* Content block sits on top */
  .hero-content {
    position: relative;
    z-index: 5;
    padding: 2.5rem 1.75rem 2rem 1.75rem;
    padding-bottom: 2rem;
    text-align: center;
    max-width: 100%;
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Hide the image wrapper on mobile */
  .hero-image-wrapper {
    display: none;
  }

  /* Stats bar sits below the image (or content now since image is hidden) */
  .hero-stats-bar {
    order: 3;
    margin: 0;
    grid-template-columns: repeat(3, 1fr);
    padding: 1.5rem 1.25rem;
    gap: 0;
  }

  /* Hide the floating widget buttons (they're decorative on mobile) */
  .hero-top-bar { display: none; }

  .hero-title {
    font-size: 2.4rem;
    margin-bottom: 1rem;
  }

  .hero-badge { margin: 0 auto 1.25rem auto; }

  .hero-desc {
    font-size: 1rem;
    margin-bottom: 1.75rem;
    max-width: 100%;
  }

  .hero-cta-group {
    justify-content: center;
    width: 100%;
  }

  .stat-number { font-size: 2rem; }

  /* --- SOLUTIONS --- */
  .solutions-section { padding: 4rem 0 1rem 0; }
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  /* --- DEDICATED FEATURE SECTIONS --- */
  .dedicated-section { padding: 4rem 0; }
  .dedicated-grid,
  .dedicated-grid.reverse-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .dedicated-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .dedicated-list {
    text-align: left;
  }

  .dedicated-btn-group {
    justify-content: center;
  }

  /* Hide the mockup card on mobile to save space */
  .course-explorer-card { display: none; }

  .dedicated-title { font-size: 2rem !important; }

  /* reverse grid: on mobile show visual after content */
  .dedicated-grid.reverse-grid .dedicated-visual {
    order: 2;
  }
  .dedicated-grid.reverse-grid .dedicated-content {
    order: 1;
  }


  /* --- TESTIMONIALS --- */
  .testimonials-section-clean { padding: 4rem 0; }
  .testimonials-3col-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .testimonial-card-side {
    transform: none;
    opacity: 1;
  }
  .testimonial-card-center {
    transform: none;
    padding: 2rem 1.75rem;
  }
  .testimonials-main-title { font-size: 2.2rem; }
  .testimonials-clean-header { margin-bottom: 3rem; }

  /* --- CTA BANNER --- */
  .cta-section { padding: 3rem 0; }
  .cta-banner {
    padding: 3rem 1.75rem;
    border-radius: 24px;
  }
  .cta-title { font-size: 2rem; }
  .cta-desc { font-size: 1rem; }
  .cta-buttons { gap: 1rem; }

  /* --- ADMISSIONS / CONTACT --- */
  .al-andalus-admissions-section { padding: 4rem 0 5rem 0; }
  .admissions-grid-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .admissions-info-panel {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .admissions-pill-badge {
    margin: 0 auto 1.25rem auto;
  }
  .admissions-main-title { font-size: 2.2rem; }
  .admissions-form-card { padding: 2rem 1.5rem; }
  .form-row-2 { grid-template-columns: 1fr; }

  /* --- FOOTER --- */
  .footer-card-modern {
    padding: 3rem 1.75rem 2rem 1.75rem;
    border-radius: 20px;
  }
  .footer-grid-modern {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
  }
  .footer-col-links {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .footer-col-links::before,
  .footer-col-links::after { display: none; }
  .footer-col-socials {
    flex-direction: row;
    justify-content: flex-start;
  }
  .footer-slogan-modern { font-size: 1.75rem; }
  .footer-bottom-modern {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .newsletter-form-modern { max-width: 100%; }

  /* --- PRICING --- */
  .pricing-section { padding: 4rem 0; }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    gap: 1.5rem;
  }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-8px); }

  /* --- ABOUT / INSTITUTIONAL PAGES --- */
  .about-hero-split {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0 2.5rem 0;
  }
  .about-hero-left {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .about-hero-title { font-size: 2.4rem; }
  .about-hero-right-card {
    display: none;
  }
  .inst-stats-foundation {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 1.75rem;
  }
  .pedagogy-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .faculty-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .governance-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .campus-pane.active { grid-template-columns: 1fr; }
  .campus-pane-img-wrapper { min-height: 240px; }
  .campus-pane-info { padding: 2rem 1.5rem; }

  /* Inst hero (about, curriculum, faculty pages) */
  .inst-hero { padding: 1.5rem 0 2.5rem 0; }
  .inst-hero-card {
    padding: 2.5rem 1.5rem 0 1.5rem;
    min-height: auto;
    border-radius: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .inst-hero-title { font-size: 2.5rem; }
  .inst-hero-desc { font-size: 1rem; margin-bottom: 2rem; max-width: 100%; }
  .inst-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    margin: 0 -1.5rem;
    padding: 1.75rem 1.25rem;
    gap: 1rem;
  }

  /* Section headings */
  .section-title { font-size: 2.2rem !important; }

  /* --- MODAL --- */
  .modal-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    max-height: 96vh;
    border-radius: 20px;
  }
  .modal-header {
    grid-column: 1; grid-row: 1;
    padding: 1.5rem;
  }
  .modal-body {
    grid-column: 1; grid-row: 2;
    padding: 1.5rem;
  }
  .modal-footer {
    grid-column: 1; grid-row: 3;
  }
  .modal-features-grid { grid-template-columns: 1fr; }
  .modal-quick-stats { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================
   SMALL PHONE (max-width: 640px)
   ========================================= */
@media (max-width: 640px) {

  .hero-title { font-size: 2rem; }
  .hero-image-wrapper { height: 220px; }

  .hero-stats-bar {
    grid-template-columns: repeat(3, 1fr);
    padding: 1.25rem 1rem;
  }
  .stat-number { font-size: 1.8rem; }
  .stat-label { font-size: 0.85rem; }

  /* One column for solutions on very small screens */
  .solutions-grid { grid-template-columns: 1fr; }

  .inst-stats-foundation { grid-template-columns: 1fr; }
  .inst-stats-bar { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }

  .about-hero-title { font-size: 2rem; }
  .admissions-main-title { font-size: 1.9rem; }
  .testimonials-main-title { font-size: 1.9rem; }
  .cta-title { font-size: 1.75rem; }

  .modal-quick-stats { grid-template-columns: repeat(2, 1fr); }

  .footer-legal-modern { flex-direction: column; gap: 0.75rem; }

  .section-badge { font-size: 0.72rem; padding: 0.4rem 0.9rem; }

  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; justify-content: center; }
}

/* =========================================
   EXTRA SMALL (max-width: 420px)
   ========================================= */
@media (max-width: 420px) {
  .container { padding: 0 1rem; }

  .hero-content { padding: 2rem 1.25rem 1.75rem 1.25rem; }
  .hero-title { font-size: 1.8rem; }
  .hero-image-wrapper { height: 200px; }

  .about-hero-title,
  .inst-hero-title { font-size: 1.75rem; }

  .admissions-main-title,
  .testimonials-main-title { font-size: 1.7rem; }

  .cta-title { font-size: 1.55rem; }
  .cta-banner { padding: 2.5rem 1.25rem; border-radius: 20px; }

  .footer-card-modern {
    padding: 2.5rem 1.25rem 1.75rem 1.25rem;
    border-radius: 16px;
  }
  .admissions-form-card { padding: 1.75rem 1.25rem; }

  .hero-stats-bar { grid-template-columns: repeat(3, 1fr); padding: 1rem 0.5rem; }
  .stat-number { font-size: 1.4rem; }
  .stat-label { font-size: 0.7rem; }
}


