/* Demo 5 - Al-Azhar Pathways & Islamic Learning CSS */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --primary-dark: #0a2f24;
  --primary-green: #0e4031;
  --primary-accent: #134e3d;
  --gold-primary: #c99c4c;
  --gold-hover: #b3883b;
  --gold-light: #f7eecf;
  --bg-cream: #f9f7f1;
  --bg-card: #ffffff;
  --text-main: #1d2b27;
  --text-muted: #5e706b;
  --border-color: #e6dfd3;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(10, 47, 36, 0.05);
  --shadow-md: 0 8px 24px rgba(10, 47, 36, 0.08);
  --shadow-lg: 0 16px 32px rgba(10, 47, 36, 0.12);
  --font-heading: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1650px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAVBAR */
.navbar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo-badge {
  display: inline-flex;
  align-items: center;
  background-color: #ffffff;
  padding: 8px 16px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  margin-bottom: 8px;
}

.footer-logo-badge .site-logo-img {
  height: 48px;
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  background-color: var(--primary-dark);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
}

.brand-text-wrapper {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--gold-primary);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-menu li {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  transition: color 0.2s;
}

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

/* NAVBAR DROPDOWN MENU */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(10, 47, 36, 0.12);
  padding: 12px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1100;
}

.nav-menu li.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: var(--bg-cream);
  color: var(--gold-primary);
  padding-left: 24px;
}

.dropdown-item-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-green);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.1rem;
  padding: 6px;
  transition: color 0.2s;
}

.search-btn:hover {
  color: var(--primary-dark);
}

.btn-enroll-nav {
  padding: 10px 24px;
  background-color: var(--primary-dark);
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(10, 47, 36, 0.15);
}

.btn-enroll-nav:hover {
  background-color: var(--gold-primary);
  color: var(--primary-dark);
  transform: translateY(-1px);
}

/* HERO SECTION FULL SLIDER */
.hero-section {
  padding: 16px 0;
}

.hero-slider-card {
  position: relative;
  border-radius: 20px;
  height: 380px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(10, 47, 36, 0.2);
}

.hero-slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 6s ease;
}

.hero-slide.active .slide-bg-img {
  transform: scale(1.05);
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10, 47, 36, 0.92) 0%, rgba(10, 47, 36, 0.7) 40%, rgba(10, 47, 36, 0) 75%);
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  padding: 40px 60px;
  max-width: 680px;
  color: #ffffff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-title span {
  color: var(--gold-primary);
}

.arabic-subhead {
  display: block;
  font-size: 1.15rem;
  font-family: 'Amiri', 'Traditional Arabic', serif;
  color: #e5c178;
  font-weight: 500;
  margin-top: 4px;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  line-height: 1.55;
}

/* FLOATING GLASSMORPHIC BADGES */
.hero-floating-badges {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.glass-badge {
  background: rgba(10, 47, 36, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 156, 76, 0.4);
  padding: 14px 20px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  min-width: 220px;
}

.glass-badge:hover {
  transform: translateX(-6px);
  border-color: var(--gold-primary);
  background: rgba(10, 47, 36, 0.85);
}

.glass-badge.gold-highlight {
  border-color: var(--gold-primary);
  background: rgba(201, 156, 76, 0.2);
}

.badge-icon {
  font-size: 1.6rem;
}

.badge-number {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1.2;
}

.badge-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-hero-primary {
  padding: 11px 26px;
  background-color: var(--gold-primary);
  color: var(--primary-dark);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-hero-primary:hover {
  background-color: var(--gold-hover);
  transform: translateY(-2px);
}

.btn-hero-secondary {
  padding: 11px 26px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-hero-secondary:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
}

.hero-controls {
  position: absolute;
  bottom: 20px;
  left: 60px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background-color: var(--gold-primary);
  width: 22px;
  border-radius: 10px;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 47, 36, 0.8);
  border: 1px solid var(--gold-primary);
  color: #ffffff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.carousel-nav-btn:hover {
  background: var(--gold-primary);
  color: var(--primary-dark);
  transform: translateY(-50%) scale(1.08);
}

.carousel-nav-btn.prev { left: 16px; }
.carousel-nav-btn.next { right: 16px; }

/* POPULAR COURSES SECTION */
.courses-section {
  padding: 48px 0;
}

.section-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title svg {
  color: var(--gold-primary);
}

.course-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background-color: #ffffff;
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tab-btn.active {
  background-color: var(--primary-dark);
  color: #ffffff;
  border-color: var(--primary-dark);
}

.tab-btn:hover:not(.active) {
  border-color: var(--gold-primary);
}

.view-all-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.view-all-link:hover {
  color: var(--primary-dark);
}

/* COURSE CARDS GRID */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.course-card {
  background-color: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

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

.course-card.popular {
  border: 2px solid var(--gold-primary);
  box-shadow: 0 8px 20px rgba(201, 156, 76, 0.15);
}

.popular-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--gold-primary);
  color: var(--primary-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  z-index: 5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.course-img-wrapper {
  height: 140px;
  overflow: hidden;
  position: relative;
}

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

.course-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
  line-height: 1.25;
}

.course-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.4;
  flex-grow: 1;
}

.course-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.course-stats .rating {
  color: #d97706;
  font-weight: 600;
}

.course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-top: 8px;
  border-top: 1px dashed #efe9dc;
  font-weight: 500;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}

.course-price {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary-dark);
}

.btn-card-enroll {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--primary-dark);
  background: transparent;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-card-enroll:hover, .btn-card-enroll.primary {
  background-color: var(--primary-dark);
  color: #ffffff;
  border-color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(10, 47, 36, 0.15);
}
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background-color 0.2s;
}

.btn-enroll-popular:hover {
  background-color: var(--primary-green);
}

/* 3-COLUMN LAYOUT SECTION */
.overview-section {
  padding: 24px 0 48px 0;
}

.three-col-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1.1fr;
  gap: 24px;
}

.col-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
}

.col-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.col-title svg {
  color: var(--gold-primary);
}

/* PACKAGES COLUMN */
.packages-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pkg-item {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px 16px;
  background: #faf8f3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pkg-item.popular-pkg {
  background: var(--primary-dark);
  color: #ffffff;
  border-color: var(--primary-dark);
}

.pkg-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pkg-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.popular-pkg .pkg-icon {
  background: rgba(201, 156, 76, 0.2);
  color: var(--gold-primary);
}

.pkg-name {
  font-weight: 700;
  font-size: 0.88rem;
}

.pkg-details {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.popular-pkg .pkg-details {
  color: rgba(255, 255, 255, 0.7);
}

.pkg-price-btn {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pkg-price {
  font-weight: 700;
  font-size: 1rem;
}

.btn-pkg-choose {
  padding: 5px 12px;
  background: var(--gold-primary);
  color: var(--primary-dark);
  border: none;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

/* PATHWAY STEPPERS COLUMN */
.steps-horizontal {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  align-items: flex-start;
  margin-top: 12px;
}

.step-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.step-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #f5efe3;
  border: 1px solid var(--border-color);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.step-box:hover .step-icon-wrapper {
  background: var(--primary-dark);
  color: var(--gold-primary);
  border-color: var(--primary-dark);
}

.step-title {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-dark);
}

/* WHY CHOOSE US GRID */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.why-card {
  background: #fbf9f4;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px;
}

.why-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(10, 47, 36, 0.06);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.why-title {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.why-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* WHY CHOOSE US - MODERN SPLIT FEATURE LAYOUT STYLES */
.why-us-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #fdfbf7 0%, #f7f3e9 100%);
  border-top: 1px solid rgba(201, 156, 76, 0.2);
  border-bottom: 1px solid rgba(201, 156, 76, 0.2);
}

.why-us-split-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

/* Left Hero Feature Card */
.why-us-left-card {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0d382c 100%);
  border: 1px solid rgba(201, 156, 76, 0.35);
  border-radius: 24px;
  padding: 48px 40px;
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(10, 47, 36, 0.15);
  position: relative;
  overflow: hidden;
}

.why-us-left-card::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(201, 156, 76, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.why-us-main-heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 16px;
}

.why-us-main-heading span {
  color: var(--gold-primary);
}

.why-us-main-desc {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  margin-bottom: 32px;
}

/* Stats counter */
.why-us-stats-counter {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 156, 76, 0.25);
  backdrop-filter: blur(10px);
  padding: 18px 24px;
  border-radius: 16px;
  margin-bottom: 32px;
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1.1;
}

.stat-lbl {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(201, 156, 76, 0.3);
}

.why-us-action {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Right Feature Strips - PROPORTIONAL FIX */
.why-us-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-strip-item {
  background: #ffffff;
  border: 1px solid #e8e3d9;
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.35s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.feature-strip-item:hover {
  transform: translateX(6px);
  border-color: var(--gold-primary);
  box-shadow: 0 8px 20px rgba(10, 47, 36, 0.08);
}

.feature-num-badge {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold-primary);
  background: rgba(201, 156, 76, 0.12);
  border: 1px solid rgba(201, 156, 76, 0.3);
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}

.feature-strip-item:hover .feature-num-badge {
  background: var(--gold-primary);
  color: var(--primary-dark);
  border-color: var(--gold-primary);
}

.feature-strip-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 3px;
}

.feature-strip-desc {
  font-size: 0.85rem;
  color: #5d6862;
  line-height: 1.45;
}
.testimonials-section {
  padding: 36px 0;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 32px;
}

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

.testi-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.testi-stars {
  color: var(--gold-primary);
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.testi-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.5;
  flex-grow: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-primary);
}

.testi-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

.testi-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* CTA BANNER */
.cta-section {
  padding: 36px 0;
}

.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #062119 100%);
  border-radius: 20px;
  padding: 36px 48px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.cta-banner-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold-primary);
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.cta-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.btn-cta-gold {
  padding: 14px 28px;
  background-color: var(--gold-primary);
  color: var(--primary-dark);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.2s;
}

.btn-cta-gold:hover {
  background-color: var(--gold-hover);
  transform: translateY(-2px);
}

/* FOOTER */
.footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 24px 0;
  border-top: 3px solid var(--gold-primary);
}

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

.footer-brand .brand-name {
  color: #ffffff;
}

.footer-desc {
  font-size: 0.85rem;
  margin: 16px 0 20px 0;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

.social-links {
  display: flex;
  gap: 12px;
}

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

.social-icon:hover {
  background: var(--gold-primary);
  color: var(--primary-dark);
}

.footer-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.82rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-item svg {
  color: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

/* MOBILE TOGGLE BUTTON STYLES */
.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

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

/* COMPREHENSIVE RESPONSIVE MOBILE STYLES */
@media (max-width: 1200px) {
  .container { max-width: 100%; padding: 0 20px; }
  .why-us-split-wrapper { grid-template-columns: 1fr; gap: 32px; }
  .detail-container { grid-template-columns: 1fr; gap: 32px; }
  .detail-right-sidebar { position: static; }
}

@media (max-width: 992px) {
  .nav-menu { gap: 14px; }
  .nav-link { font-size: 0.82rem; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .hero-slide-content { padding: 40px 30px; max-width: 100%; }
  .hero-title { font-size: 1.8rem; }
}

@media (max-width: 768px) {
  .mobile-toggle-btn { display: flex; }
  .navbar-inner { flex-wrap: nowrap; padding: 12px 0; }
  
  .nav-menu { 
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 12px 30px rgba(10, 47, 36, 0.12);
    display: none;
    z-index: 1000;
  }

  .nav-menu.mobile-open {
    display: flex;
  }

  .nav-menu li { width: 100%; }
  .nav-link { font-size: 1rem; width: 100%; padding: 8px 0; border-bottom: 1px solid #f4f0e6; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 16px; min-width: 100%; }

  .hero-card.hero-slider-card { height: 440px; }
  .hero-slide-content { padding: 28px 20px; }
  .hero-badge { font-size: 0.7rem; }
  .hero-title { font-size: 1.6rem; margin-bottom: 10px; }
  .arabic-subhead { font-size: 1rem; }
  .hero-subtitle { font-size: 0.88rem; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .btn-hero-primary, .btn-hero-secondary { padding: 10px 20px; font-size: 0.85rem; }

  .courses-grid { grid-template-columns: 1fr; gap: 24px; }
  .three-col-grid { grid-template-columns: 1fr; gap: 24px; }
  
  .why-us-left-card { padding: 32px 24px; }
  .why-us-main-heading { font-size: 1.7rem; }
  .why-us-stats-counter { flex-direction: column; align-items: flex-start; gap: 12px; }
  .stat-divider { width: 100%; height: 1px; }

  .feature-strip-item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; gap: 20px; padding: 32px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Course Details Page Mobile */
  .detail-left-card { padding: 24px 20px; }
  .detail-main-img { height: 230px; }
  .hero-detail-title { font-size: 1.8rem; }
  .pricing-sticky-card { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .site-logo-img { height: 40px; }
  .hero-card.hero-slider-card { height: 480px; }
  .hero-title { font-size: 1.35rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; width: 100%; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; }
  .carousel-nav-btn { width: 36px; height: 36px; font-size: 1.2rem; }
}
