/* -------------------------------------------------------------------------- */
/* GLOBAL AL-AZHAR PATHWAYS - DESIGN SYSTEM & DESIGN TOKENS                   */
/* -------------------------------------------------------------------------- */

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

:root {
  /* Color Palette matching image design */
  --primary-dark: #0B251C;
  --primary-green: #0E3B2E;
  --primary-brand: #134E3B;
  --primary-light: #1C6B52;
  --accent-gold: #C29B38;
  --accent-gold-hover: #AA8529;
  --accent-sand: #F7F4EB;
  --accent-sand-dark: #EFE7D5;
  
  --bg-light: #FAF8F5;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;

  --text-primary: #1A2421;
  --text-secondary: #566560;
  --text-muted: #84948E;
  --text-light: #FFFFFF;
  
  --border-light: #E5EADF;
  --border-gold: #D4B96F;

  --shadow-sm: 0 2px 8px rgba(11, 37, 28, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 37, 28, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 37, 28, 0.12);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

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

/* -------------------------------------------------------------------------- */
/* TOP UTILITY HEADER                                                         */
/* -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--primary-dark);
  color: #D1DED9;
  font-size: 0.85rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar-left svg {
  color: var(--accent-gold);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #D1DED9;
}

.top-bar-link:hover {
  color: #FFFFFF;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.82rem;
  transition: var(--transition-fast);
}

.btn-login:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
}

/* -------------------------------------------------------------------------- */
/* MAIN NAVIGATION                                                            */
/* -------------------------------------------------------------------------- */
.navbar {
  background-color: var(--bg-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-normal);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

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

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

.footer-logo-img {
  height: 56px;
  filter: brightness(1.1);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 0.65rem;
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 1px;
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
}

.nav-links li {
  position: relative;
}

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

.d4-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  background: #ffffff;
  border: 1px solid #e2dcd0;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(7, 34, 26, 0.12);
  padding: 10px 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;
}

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

.d4-dropdown-item:hover {
  background: #faf8f2;
  color: #c29b38;
  padding-left: 24px;
}

.d4-dropdown-item-desc {
  display: block;
  font-size: 0.75rem;
  color: #66706b;
  font-weight: 400;
}

.btn-primary {
  background: linear-gradient(135deg, #C5A03A, #A68228);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(197, 160, 58, 0.3);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 58, 0.45);
}

.btn-dark {
  background: var(--primary-dark);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-dark:hover {
  background: var(--primary-brand);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary-dark);
  color: var(--primary-dark);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  background: rgba(11, 37, 28, 0.05);
}

/* -------------------------------------------------------------------------- */
/* HERO SECTION                                                               */
/* -------------------------------------------------------------------------- */
.hero {
  padding: 60px 0 80px 0;
  background: radial-gradient(circle at 80% 20%, rgba(212, 185, 111, 0.12), transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(14, 59, 46, 0.05), transparent 40%);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-block;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-title span {
  color: var(--accent-gold);
  display: block;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 48px;
}

.hero-image-wrapper {
  position: relative;
}

.hero-arch-card {
  width: 100%;
  height: 620px;
  border-radius: 260px 260px 24px 24px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 6px solid #FFFFFF;
}

.hero-arch-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floating-badge {
  position: absolute;
  bottom: 24px;
  right: -20px;
  background: var(--primary-dark);
  color: #FFFFFF;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 14px;
}

.badge-icon {
  width: 44px;
  height: 44px;
  background: rgba(212, 185, 111, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
}

.hero-stats-row {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

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

.stat-icon {
  width: 40px;
  height: 40px;
  background: #EBF3E8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-brand);
}

.stat-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.stat-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* -------------------------------------------------------------------------- */
/* WHY CHOOSE US                                                              */
/* -------------------------------------------------------------------------- */
.why-us {
  padding: 90px 0;
  background-color: var(--bg-white);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 60px;
}

.section-tag {
  color: var(--accent-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.link-arrow {
  color: var(--primary-brand);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition-fast);
}

.link-arrow:hover {
  gap: 14px;
}

.features-scroll {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.feature-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF8F5 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gold);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-8px);
  background: var(--bg-white);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 58px;
  height: 58px;
  background: var(--primary-dark);
  border-radius: 14px;
  margin: 0 auto 18px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  box-shadow: 0 4px 12px rgba(11, 37, 28, 0.15);
  transition: transform var(--transition-fast);
}

.feature-card:hover .feature-icon {
  transform: scale(1.08);
  background: var(--primary-brand);
}

.feature-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.feature-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* CREATIVE OPTION B - BENTO FEATURE GRID SECTION (HIDDEN FOR NOW) */
.creative-why-us {
  display: none;
  padding: 90px 0;
  background: linear-gradient(180deg, var(--bg-light) 0%, #F3EFE6 100%);
  border-top: 1px dashed var(--border-gold);
  border-bottom: 1px dashed var(--border-gold);
}

.bento-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px auto;
}

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

.bento-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card.highlight {
  background: var(--primary-dark);
  color: #FFFFFF;
  border-color: var(--accent-gold);
}

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

.bento-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(194, 155, 56, 0.15);
  color: var(--accent-gold);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 20px;
  width: fit-content;
}

.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--bg-light);
  color: var(--primary-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bento-card.highlight .bento-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-gold);
}

.bento-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.bento-card.highlight .bento-title {
  color: #FFFFFF;
}

.bento-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bento-card.highlight .bento-desc {
  color: #C0D2CC;
}

/* -------------------------------------------------------------------------- */
/* OUR PROGRAMS                                                               */
/* -------------------------------------------------------------------------- */
.programs {
  padding: 90px 0;
  background: var(--bg-light);
}

.programs-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.program-controls {
  display: flex;
  gap: 12px;
}

.btn-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.btn-circle:hover {
  background: var(--accent-gold);
}

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

.program-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

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

.program-img {
  height: 180px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

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

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

.program-icon-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  background: var(--primary-dark);
  color: var(--accent-gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.program-body {
  padding: 24px;
}

.program-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.program-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* -------------------------------------------------------------------------- */
/* METRICS COUNTER BAR                                                        */
/* -------------------------------------------------------------------------- */
.metrics-bar {
  background: var(--primary-dark);
  color: #FFFFFF;
  padding: 50px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  text-align: center;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-icon {
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.metric-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.8rem;
  color: #A0B2AC;
  font-weight: 500;
}

/* -------------------------------------------------------------------------- */
/* HOW IT WORKS                                                               */
/* -------------------------------------------------------------------------- */
.how-it-works {
  padding: 90px 0;
  background: var(--bg-white);
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 60px;
  position: relative;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-brand);
  position: relative;
  margin-bottom: 16px;
}

.step-number {
  position: absolute;
  bottom: -6px;
  background: var(--primary-dark);
  color: #FFFFFF;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* -------------------------------------------------------------------------- */
/* TESTIMONIALS                                                               */
/* -------------------------------------------------------------------------- */
.testimonials {
  padding: 90px 0;
  background: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 50px;
}

.reviews-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: #F59E0B;
  margin-bottom: 12px;
  display: flex;
  gap: 2px;
}

.review-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

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

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

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

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

/* -------------------------------------------------------------------------- */
/* ACCREDITATION & VALUES BANNER                                              */
/* -------------------------------------------------------------------------- */
.accreditation {
  padding: 90px 0;
  background: var(--accent-sand);
}

.accreditation-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.acc-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 420px;
}

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

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.value-card {
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--bg-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-brand);
}

.value-card-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.value-card-content p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* -------------------------------------------------------------------------- */
/* BOTTOM CTA                                                                 */
/* -------------------------------------------------------------------------- */
/* BOTTOM CTA                                                                 */
/* -------------------------------------------------------------------------- */
.bottom-cta {
  padding: 60px 0;
  background: var(--bg-light);
}

.cta-box {
  background: linear-gradient(135deg, #092B20 0%, #0E3B2E 100%);
  border-radius: 24px;
  padding: 60px 80px;
  color: #FFFFFF;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Left Mosque Line Vector Silhouette Overlay */
.cta-mosque-vector {
  position: absolute;
  left: -20px;
  bottom: -10px;
  width: 320px;
  height: 240px;
  opacity: 0.25;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-heading-font {
  font-family: 'Amiri', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 14px;
}

.cta-content p {
  color: #D2E0DC;
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* CTA Buttons matching design */
.btn-cta-gold {
  background: linear-gradient(135deg, #C5A03A, #A68228);
  color: #FFFFFF;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(197, 160, 58, 0.4);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-cta-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 58, 0.55);
}

.btn-cta-white {
  background: #FFFFFF;
  color: var(--primary-dark);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-cta-white:hover {
  background: #F7F4EB;
  transform: translateY(-2px);
}

/* Floating Paper Plane */
.cta-paper-plane {
  position: absolute;
  top: 40px;
  left: 54%;
  transform: rotate(-15deg);
  z-index: 3;
  animation: floatPlane 3s ease-in-out infinite alternate;
}

@keyframes floatPlane {
  0% { transform: translateY(0) rotate(-15deg); }
  100% { transform: translateY(-10px) rotate(-10deg); }
}

/* Right Student Portrait & Gold Arch Backdrop */
.cta-student-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 320px;
  width: 100%;
  z-index: 2;
}

.cta-student-portrait {
  height: 320px;
  width: 320px;
  object-fit: cover;
  border-radius: 160px 160px 24px 24px;
  border: 4px solid var(--accent-gold);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

/* -------------------------------------------------------------------------- */
/* THREE TRUST CARDS BANNER (BEFORE FAQ)                                     */
/* -------------------------------------------------------------------------- */
.trust-banner-section {
  padding: 40px 0 60px 0;
  background: var(--bg-light);
}

.trust-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trust-card {
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

/* Dark Green Theme Card */
.trust-card.dark-theme {
  background: linear-gradient(135deg, #092B20 0%, #0E3B2E 100%);
  color: #FFFFFF;
}

/* Sand Gold Light Theme Card */
.trust-card.sand-theme {
  background: linear-gradient(135deg, #FAF4E6 0%, #F3EBD8 100%);
  color: var(--primary-dark);
  border: 1px solid var(--border-gold);
}

.trust-card-icon {
  min-width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
}

.trust-card.sand-theme .trust-card-icon {
  color: #B88E28;
}

.trust-card-content {
  flex: 1;
}

.trust-card-title {
  font-family: 'Amiri', serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
}

.trust-card.dark-theme .trust-card-title {
  color: #FFFFFF;
}

.trust-card.sand-theme .trust-card-title {
  color: var(--primary-dark);
}

.trust-card-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.trust-card.dark-theme .trust-card-desc {
  color: #C0D2CC;
}

.trust-card.sand-theme .trust-card-desc {
  color: var(--text-secondary);
}

.trust-card-link {
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-gold);
  transition: gap var(--transition-fast);
}

.trust-card.sand-theme .trust-card-link {
  color: var(--primary-brand);
}

.trust-card-link:hover {
  gap: 12px;
}

/* Right side Mosque Vector Overlay on 3rd Card */
.trust-mosque-bg {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 140px;
  height: 140px;
  opacity: 0.18;
  pointer-events: none;
}

/* -------------------------------------------------------------------------- */
/* FREQUENTLY ASKED QUESTIONS (FAQ) SECTION                                  */
/* -------------------------------------------------------------------------- */
.faq-section {
  padding: 90px 0;
  background: var(--bg-white);
}

.faq-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px auto;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-light);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--accent-gold);
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
  cursor: pointer;
  user-select: none;
}

.faq-question:hover {
  color: var(--primary-brand);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(11, 37, 28, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-gold);
  color: #FFFFFF;
}

.faq-answer {
  padding: 0 24px 20px 24px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* -------------------------------------------------------------------------- */
/* FOOTER                                                                     */
/* -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-white);
  padding: 70px 0 30px 0;
  border-top: 1px solid var(--border-light);
}

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

.footer-about p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 16px 0;
  line-height: 1.6;
}

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

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-brand);
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: var(--primary-brand);
  color: #FFFFFF;
}

.footer-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-bottom {
  background: var(--primary-dark);
  color: #8E9E98;
  font-size: 0.8rem;
  padding: 16px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
}

/* -------------------------------------------------------------------------- */
/* MODALS & ERROR TOASTS                                                      */
/* -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 37, 28, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
  position: relative;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-gold);
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--primary-dark);
  color: #FFFFFF;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 4px solid var(--accent-gold);
  transform: translateX(120%);
  transition: transform var(--transition-normal);
}

.toast.show {
  transform: translateX(0);
}

/* -------------------------------------------------------------------------- */
/* RESPONSIVE BREAKPOINTS                                                     */
/* -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid, .why-us-grid, .testimonials-grid, .cta-box {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-scroll {
    grid-template-columns: repeat(3, 1fr);
  }
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-grid, .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .features-scroll, .programs-grid, .reviews-cards, .metrics-grid, .steps-grid {
    grid-template-columns: 1fr;
  }
  .accreditation-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------- */
/* DEMO 4 STYLES                                                              */
/* -------------------------------------------------------------------------- */
.hero-d4 {
  padding: 40px 0;
  background: linear-gradient(135deg, #07221a 0%, #0e3b2e 100%);
  color: #ffffff;
  border-radius: 0 0 24px 24px;
}

.hero-d4-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.trust-badge-mini {
  display: inline-block;
  background: rgba(194, 155, 56, 0.15);
  border: 1px solid #c29b38;
  color: #c29b38;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-title-d4 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-title-d4 span {
  color: #c29b38;
}

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

.hero-cta-group {
  display: flex;
  gap: 14px;
}

.btn-cta-dark {
  padding: 12px 24px;
  background: #c29b38;
  color: #07221a;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-cta-dark:hover {
  background: #d4ab44;
}

.btn-cta-outline {
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-img-d4-container {
  position: relative;
}

.hero-slider-d4 {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(0,0,0,0.3);
  height: 340px;
}

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

.floating-stats-card {
  position: absolute;
  bottom: -20px;
  left: 20px;
  right: 20px;
  background: #ffffff;
  color: #07221a;
  border-radius: 12px;
  padding: 14px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.stat-box-d4 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-box-d4 svg {
  color: #c29b38;
}

.stat-val-d4 {
  font-weight: 800;
  font-size: 1.1rem;
}

.stat-lbl-d4 {
  font-size: 0.72rem;
  color: #666;
}

.courses-grid-d4 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.course-card-d4 {
  background: #ffffff;
  border: 1px solid #e2dfd5;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}

.course-card-d4:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

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

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

.badge-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #07221a;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.badge-gold {
  background: #c29b38;
  color: #07221a;
}

.course-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-cat {
  font-size: 0.72rem;
  color: #c29b38;
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.course-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #07221a;
  margin-bottom: 6px;
  line-height: 1.3;
}

.course-desc {
  font-size: 0.78rem;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.4;
  flex-grow: 1;
}

.course-meta {
  display: flex;
  gap: 12px;
  font-size: 0.72rem;
  color: #888;
  margin-bottom: 12px;
  padding-top: 8px;
  border-top: 1px dashed #eee;
}

.course-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.price-tag {
  font-weight: 800;
  font-size: 1.1rem;
  color: #07221a;
}

.price-strike {
  font-size: 0.8rem;
  color: #aaa;
  text-decoration: line-through;
  margin-left: 6px;
}

.btn-card-action {
  width: 100%;
  padding: 8px;
  background: #faf8f5;
  border: 1px solid #e2dfd5;
  border-radius: 6px;
  color: #07221a;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-card-action:hover {
  background: #07221a;
  color: #ffffff;
  border-color: #07221a;
}

.flow-grid-d4 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.flow-node-d4 {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #faf9f5;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #eee9dc;
}

.flow-circle-d4 {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #c29b38;
  color: #07221a;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviews-slider-wrapper-d4 {
  background: #ffffff;
  border: 1px solid #e2dfd5;
  border-radius: 12px;
  padding: 16px;
}

.reviews-group-d4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review-card-item-d4 {
  background: #faf9f5;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #eee9dc;
}

.bottom-cta-d4 {
  background: linear-gradient(135deg, #07221a, #0e3b2e);
  border-radius: 14px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}

@media (max-width: 1024px) {
  .courses-grid-d4 { grid-template-columns: repeat(3, 1fr); }
  .hero-d4-grid { grid-template-columns: 1fr; }
  .flow-grid-d4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .courses-grid-d4 { grid-template-columns: repeat(1, 1fr); }
  .flow-grid-d4 { grid-template-columns: repeat(2, 1fr); }
  .reviews-group-d4 { grid-template-columns: 1fr; }
  .bottom-cta-d4 { flex-direction: column; text-align: center; gap: 16px; }
}

/* -------------------------------------------------------------------------- */
/* DEMO 3 STYLES                                                              */
/* -------------------------------------------------------------------------- */
.hero-d3 {
  padding: 60px 0 40px;
  background: linear-gradient(135deg, #07221a 0%, #0e3b2e 100%);
  color: #ffffff;
  text-align: center;
  border-radius: 0 0 24px 24px;
}

.hero-title-d3 {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-title-d3 span {
  color: #c29b38;
}

.hero-subtitle-d3 {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 30px;
}

.hero-stats-row-d3 {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item-d3 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #c29b38;
}

.stat-val-d3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-lbl-d3 {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.filter-tabs-d3 {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 30px 0 10px;
  flex-wrap: wrap;
}

.tab-btn-d3 {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid #e2dfd5;
  background: #ffffff;
  color: #07221a;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn-d3.active, .tab-btn-d3:hover {
  background: #07221a;
  color: #ffffff;
  border-color: #07221a;
}

.courses-grid-d3 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.course-card-d3 {
  background: #ffffff;
  border: 1px solid #e2dfd5;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
}

.course-card-d3:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.btn-action-sm {
  padding: 6px 12px;
  background: #c29b38;
  color: #07221a;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
}

/* -------------------------------------------------------------------------- */
/* DEMO 2 STYLES                                                              */
/* -------------------------------------------------------------------------- */
.hero-d2 {
  padding: 50px 0;
  background: linear-gradient(135deg, #07221a 0%, #0e3b2e 100%);
  color: #ffffff;
  border-radius: 0 0 24px 24px;
}

.hero-d2-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
}

.hero-title-d2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-title-d2 span {
  color: #c29b38;
}

.hero-subtitle-d2 {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}

.hero-stats-banner {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.05);
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-box-d2 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c29b38;
}

.stat-val {
  font-weight: 800;
  font-size: 1rem;
  color: #ffffff;
}

.stat-lbl {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-img-d2-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(0,0,0,0.3);
  height: 320px;
}

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



