/* ==========================================================================
   AYAHNEST ONLINE QURAN ACADEMY - MASTER ULTRA-PREMIUM STYLESHEET
   Brand: Luxury Islamic Education | Islamic Green & Gold Identity | 3D Depth
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Amiri:ital,wght@0,400;0,700;1,400&family=Noto+Nastaliq+Urdu:wght@400;600;700&display=swap');

:root {
  /* Brand Color Palette (Vibrant Islamic Light Emerald & Royal Gold 50/50 Harmony) */
  --primary-green: #109B5E;
  --primary-green-light: #16B36D;
  --primary-green-vibrant: #20C982;
  --primary-green-deep: #0D7A4A;
  --primary-burgundy: #109B5E; /* Aliased for legacy selectors */
  --primary-crimson: #16B36D;
  --dark-burgundy: #0D7A4A;
  --deepest-burgundy: #095433;
  --soft-rose: #EEF9F3;
  --rose-light: #F6FCF9;
  --rose-glow: rgba(16, 155, 94, 0.18);
  
  /* Rich Royal Gold Identity (Matching Logo 'NEST' and Star Emblem) */
  --gold-accent: #D99E18;
  --gold-light: #F5C74C;
  --gold-deep: #B8810B;
  --gold-dark: #8F6307;
  --gold-soft: #FFF9EA;
  --gold-surface: #FFFDF7;
  --gold-glow: rgba(217, 158, 24, 0.32);
  --gold-border: rgba(217, 158, 24, 0.45);
  
  /* Signature Gradients */
  --grad-gold: linear-gradient(135deg, #F5C74C 0%, #D99E18 60%, #B8810B 100%);
  --grad-green: linear-gradient(135deg, #16B36D 0%, #109B5E 60%, #0D7A4A 100%);
  --grad-dual: linear-gradient(135deg, #109B5E 0%, #D99E18 100%);
  --grad-dual-reverse: linear-gradient(135deg, #D99E18 0%, #109B5E 100%);
  --grad-luxury-dark: linear-gradient(135deg, #095433 0%, #0D7A4A 45%, #109B5E 100%);
  
  /* Neutrals & Surfaces */
  --pure-white: #FFFFFF;
  --warm-white: #FFFFFF;
  --surface-neutral: #EEF9F3;
  --surface-card: #FFFFFF;
  --charcoal: #17251F;
  --heading-dark: #142820;
  --secondary-text: #2F4239;
  --muted-text: #5B7268;
  --border-color: #D8ECE2;
  --border-subtle: #EBF7F1;
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-arabic: 'Amiri', serif;
  --font-urdu: 'Noto Nastaliq Urdu', 'Amiri', serif;

  /* 3D Shadows & Layering with Balanced Green & Gold Ambient Light */
  --shadow-xs: 0 2px 5px rgba(16, 155, 94, 0.04);
  --shadow-sm: 0 4px 14px rgba(16, 155, 94, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 12px 28px rgba(16, 155, 94, 0.09), 0 2px 8px rgba(217, 158, 24, 0.08);
  --shadow-lg: 0 22px 48px rgba(16, 155, 94, 0.13), 0 4px 14px rgba(217, 158, 24, 0.1);
  --shadow-3d: 0 28px 56px -12px rgba(16, 155, 94, 0.22), 0 2px 6px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  --shadow-glow: 0 0 40px rgba(16, 155, 94, 0.25);
  --shadow-gold: 0 12px 32px rgba(217, 158, 24, 0.28);

  /* Border Radii */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --trans-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-slow: 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Layout */
  --container-max: 1280px;
  --header-height: 80px;
  --topbar-height: 40px;
}

/* Base Reset & Core Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--secondary-text);
  background-color: var(--warm-white);
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--heading-dark);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--trans-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Global Strict Icon Sizing Safeguards */
.feature-matrix-icon svg,
.course-icon-wrapper svg,
.feature-icon-box svg,
.trust-chip-icon svg,
.social-btn svg,
.topbar-item svg,
.logo-icon-box svg,
.seal-icon-box svg,
.contact-info-list svg {
  max-width: 100%;
  max-height: 100%;
  flex-shrink: 0;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.text-crimson { color: var(--primary-crimson); }
.text-burgundy { color: var(--primary-burgundy); }
.text-gold { color: var(--gold-accent); }

.urdu-text {
  font-family: var(--font-urdu);
  line-height: 1.8;
  direction: rtl;
}

.arabic-font {
  font-family: var(--font-arabic);
}

/* ==========================================================================
   ANIMATED CONTINUOUS SCROLLING TICKER / MARQUEE (50/50 GREEN & GOLD HARMONY)
   ========================================================================== */
.marquee-ticker-section {
  background: linear-gradient(90deg, #0D7A4A 0%, #109B5E 30%, #D99E18 60%, #16B36D 85%, #0D7A4A 100%);
  background-size: 300% 100%;
  animation: gradientFlow 16s ease infinite;
  color: var(--pure-white);
  padding: 13px 0;
  overflow: hidden;
  position: relative;
  z-index: 20;
  box-shadow: 0 4px 18px rgba(13, 122, 74, 0.28);
  border-top: 1.5px solid rgba(245, 199, 76, 0.4);
  border-bottom: 1.5px solid rgba(245, 199, 76, 0.4);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.marquee-item svg {
  color: #F5C74C;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(245, 199, 76, 0.6));
}

.marquee-divider {
  color: #F5C74C;
  font-size: 0.85rem;
  opacity: 0.95;
  filter: drop-shadow(0 0 4px rgba(245, 199, 76, 0.5));
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==========================================================================
   SECTION HEADER TYPOGRAPHY
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 52px;
  position: relative;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--gold-soft) 100%);
  color: var(--primary-green);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1.5px solid var(--gold-border);
  box-shadow: 0 3px 12px rgba(217, 158, 24, 0.16), 0 1px 4px rgba(16, 155, 94, 0.08);
}

.section-eyebrow.eyebrow-dark {
  background: rgba(255, 255, 255, 0.18);
  color: #FFF4D6;
  border-color: rgba(245, 199, 76, 0.5);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.section-title {
  font-size: clamp(2.1rem, 3.6vw, 2.85rem);
  color: var(--heading-dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--secondary-text);
  line-height: 1.65;
}

/* ==========================================================================
   BUTTONS & 3D INTERACTIVE COMPONENTS (LIGHT GREEN & ROYAL GOLD)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 13px 30px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--trans-smooth);
  position: relative;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--primary-green) 50%, var(--primary-green-deep) 100%);
  color: var(--pure-white);
  border: 1.5px solid var(--gold-light);
  box-shadow: 0 8px 22px rgba(16, 155, 94, 0.35), 0 0 14px rgba(217, 158, 24, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  border-color: var(--gold-light);
  box-shadow: 0 14px 32px rgba(16, 155, 94, 0.45), 0 0 22px rgba(217, 158, 24, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  color: var(--pure-white);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-accent) 55%, var(--gold-deep) 100%);
  color: #06452D;
  font-weight: 850;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 24px rgba(217, 158, 24, 0.42), 0 0 12px rgba(16, 155, 94, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(217, 158, 24, 0.58), 0 0 20px rgba(16, 155, 94, 0.28);
  color: #042E1E;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(16, 155, 94, 0.2);
}

.btn-secondary {
  background: var(--pure-white);
  color: var(--heading-dark);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--gold-soft);
  color: var(--primary-green);
  border-color: var(--gold-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: var(--pure-white);
  color: var(--primary-green);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 0 14px rgba(217, 158, 24, 0.2);
  border: 1.5px solid var(--gold-border);
}

.btn-white:hover {
  background: var(--gold-soft);
  color: var(--primary-green-deep);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18), 0 0 20px rgba(217, 158, 24, 0.35);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  color: var(--pure-white);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: var(--gold-light);
  color: var(--pure-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-lg {
  padding: 16px 38px;
  font-size: 1.0625rem;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.8125rem;
}

/* ==========================================================================
   TOP UTILITY BAR & MAIN NAVIGATION
   ========================================================================== */
.topbar {
  background: linear-gradient(90deg, #095433 0%, #0D7A4A 45%, #109B5E 100%);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.8125rem;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--gold-accent);
  position: relative;
  z-index: 101;
  box-shadow: 0 2px 10px rgba(9, 84, 51, 0.15);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--trans-fast);
}

.topbar-item:hover {
  color: var(--pure-white);
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  opacity: 0.9;
  color: var(--gold-accent);
}

/* Header & Sticky Nav */
.header {
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--trans-smooth);
}

.header.scrolled {
  box-shadow: 0 10px 32px rgba(16, 155, 94, 0.1), 0 2px 10px rgba(217, 158, 24, 0.08);
  height: 72px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 54px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
  transition: transform var(--trans-smooth);
}

.logo:hover .brand-logo-img {
  transform: scale(1.03);
}

.footer-logo-wrap {
  display: inline-block;
  background: var(--pure-white);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
  transition: all var(--trans-smooth);
}

.footer-logo-wrap:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.footer-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.logo-icon-box {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-green-light), var(--primary-green));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure-white);
  box-shadow: 0 4px 14px rgba(16, 155, 94, 0.28);
}

.logo-icon-box svg {
  width: 24px;
  height: 24px;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--primary-green);
  letter-spacing: -0.02em;
}

.logo-subtitle {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-text);
  margin-top: 2px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--heading-dark);
  position: relative;
  padding: 8px 0;
  transition: color var(--trans-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-green);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--gold-accent), var(--gold-light));
  transition: width var(--trans-smooth);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(217, 158, 24, 0.5);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--heading-dark);
  border-radius: var(--radius-sm);
  padding: 6px;
}

/* ==========================================================================
   HERO SECTION SLIDER (ULTRA-PREMIUM 3D SHOWCASE & DUAL GLOW AESTHETICS)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 120% at 50% 0%, #FFFFFF 0%, #F4FAF6 45%, #FDF7EA 100%);
  padding: 30px 0 65px;
  min-height: 720px;
}

/* Ambient Glowing Background Orbs (Light Emerald & Royal Gold) */
.hero-bg-glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 1;
  opacity: 0.7;
  animation: pulseAura 10s ease-in-out infinite alternate;
}

.hero-glow-1 {
  top: -120px;
  right: -80px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(16, 155, 94, 0.18) 0%, rgba(217, 158, 24, 0.15) 60%, transparent 80%);
}

.hero-glow-2 {
  bottom: -150px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(217, 158, 24, 0.16) 0%, rgba(16, 155, 94, 0.12) 50%, rgba(238, 249, 243, 0.75) 75%, transparent 90%);
  animation-delay: -5s;
}

/* Luxury Islamic Geometric Star Lattice Watermark Pattern */
.hero-islamic-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.045;
  pointer-events: none;
  z-index: 1;
  background-image: radial-gradient(var(--primary-green) 1.5px, transparent 1.5px), radial-gradient(var(--gold-accent) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  mask-image: radial-gradient(circle at 60% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 60% 40%, black 30%, transparent 80%);
}

/* Floating Sparkle Elements */
.hero-sparkles-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  color: var(--gold-accent);
  font-size: 1.1rem;
  opacity: 0.4;
  animation: sparkleTwinkle 4s ease-in-out infinite;
}

.sp-1 { top: 18%; left: 8%; animation-delay: 0s; font-size: 1.4rem; }
.sp-2 { top: 72%; left: 14%; animation-delay: 1.2s; font-size: 0.9rem; }
.sp-3 { top: 12%; right: 28%; animation-delay: 2.1s; font-size: 1.3rem; }
.sp-4 { top: 65%; right: 6%; animation-delay: 0.8s; font-size: 1rem; }
.sp-5 { top: 85%; left: 45%; animation-delay: 2.7s; font-size: 0.8rem; }

@keyframes sparkleTwinkle {
  0%, 100% { transform: translateY(0) scale(0.8) rotate(0deg); opacity: 0.2; }
  50% { transform: translateY(-12px) scale(1.25) rotate(45deg); opacity: 0.85; filter: drop-shadow(0 0 8px rgba(217, 158, 24, 0.7)); }
}

@keyframes pulseAura {
  0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
  100% { transform: scale(1.15) translate(20px, -15px); opacity: 0.85; }
}

.hero-container {
  position: relative;
  z-index: 5;
}

/* ==========================================================================
   HERO CATEGORY PROGRESS TABS (TOP SLIDER NAVIGATION)
   ========================================================================== */
.hero-category-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
  flex-wrap: wrap;
  z-index: 10;
  position: relative;
}

.hero-cat-tab {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(216, 236, 226, 0.95);
  padding: 8px 18px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  transition: all var(--trans-smooth);
  box-shadow: 0 2px 8px rgba(16, 155, 94, 0.04);
  position: relative;
  overflow: hidden;
}

.hero-cat-tab:hover {
  background: var(--pure-white);
  border-color: var(--gold-border);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 158, 24, 0.12), 0 2px 6px rgba(16, 155, 94, 0.06);
}

.hero-cat-tab.active {
  background: var(--pure-white);
  border-color: var(--gold-accent);
  box-shadow: 0 8px 24px rgba(217, 158, 24, 0.2), 0 2px 6px rgba(16, 155, 94, 0.1);
  transform: translateY(-2px);
}

.cat-tab-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-tab-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--primary-green);
  background: var(--soft-rose);
  padding: 2px 7px;
  border-radius: 20px;
  line-height: 1;
}

.hero-cat-tab.active .cat-tab-num {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-accent));
  color: #06452D;
}

.cat-tab-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--heading-dark);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hero-cat-tab.active .cat-tab-title {
  color: var(--primary-green);
}

.cat-progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(16, 155, 94, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 2px;
}

.cat-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-green), var(--gold-accent));
  border-radius: 2px;
  transition: width 0.1s linear;
}

.hero-cat-tab.active .cat-progress-fill {
  width: 100%;
}

/* ==========================================================================
   HERO SLIDES & GRID STRUCTURE
   ========================================================================== */
.hero-slides-wrapper {
  position: relative;
  min-height: 560px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(35px) scale(0.99);
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 620px;
  z-index: 3;
}

/* Staggered dynamic entrance animations */
.hero-slide.active .hero-badge-pill {
  animation: heroFadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-slide.active .hero-headline {
  animation: heroFadeSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.08s forwards;
}

.hero-slide.active .hero-description {
  animation: heroFadeSlideUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.hero-slide.active .hero-guarantee-pill {
  animation: heroFadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.22s forwards;
}

.hero-slide.active .hero-actions {
  animation: heroFadeSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-slide.active .hero-trust-chips {
  animation: heroFadeSlideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.38s forwards;
}

.hero-slide.active .hero-visual-card {
  animation: heroZoomIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

/* ==========================================================================
   LEFT CONTENT: TYPOGRAPHY, EYEBROWS & BUTTONS
   ========================================================================== */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FFFFFF, var(--gold-soft));
  border: 1.5px solid var(--gold-border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary-green);
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(217, 158, 24, 0.14), inset 0 1px 0 rgba(255,255,255,0.9);
}

.badge-sparkle {
  color: var(--gold-accent);
  font-size: 1rem;
  animation: spinSlow 8s linear infinite;
}

.badge-divider {
  color: rgba(217, 158, 24, 0.4);
  font-size: 0.75rem;
}

.badge-highlight {
  color: var(--gold-deep);
  font-weight: 850;
}

@keyframes spinSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-headline {
  font-size: clamp(2.5rem, 4.4vw, 3.75rem);
  font-weight: 850;
  color: var(--heading-dark);
  line-height: 1.12;
  margin-bottom: 18px;
  letter-spacing: -0.035em;
}

.highlight-shimmer {
  background: linear-gradient(135deg, #109B5E 0%, #16B36D 30%, #D99E18 70%, #F5C74C 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerFlow 6s ease-in-out infinite;
  display: inline-block;
  position: relative;
}

@keyframes shimmerFlow {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.hero-description {
  font-size: 1.125rem;
  color: var(--secondary-text);
  line-height: 1.72;
  margin-bottom: 22px;
  max-width: 560px;
}

/* Quick Guarantees Strip */
.hero-guarantee-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid var(--gold-border);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--heading-dark);
  box-shadow: 0 3px 10px rgba(217, 158, 24, 0.08);
  flex-wrap: wrap;
}

.hero-guarantee-pill .g-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-guarantee-pill svg {
  width: 14px;
  height: 14px;
  color: var(--primary-green);
  flex-shrink: 0;
}

.hero-guarantee-pill .g-dot {
  color: var(--gold-accent);
  font-size: 0.75rem;
}

/* Hero CTA Group with Radiant Sweep Animation */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-cta-btn {
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(16, 155, 94, 0.35), 0 0 16px rgba(217, 158, 24, 0.25);
  padding: 16px 36px;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.hero-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  animation: btnLightSweep 4s ease-in-out infinite;
}

@keyframes btnLightSweep {
  0%, 70% { left: -100%; }
  100% { left: 200%; }
}

.hero-cta-btn .btn-arrow {
  transition: transform var(--trans-smooth);
}

.hero-cta-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.hero-sec-btn {
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid var(--border-color);
  color: var(--heading-dark);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  padding: 16px 30px;
  font-size: 1.0625rem;
}

.hero-sec-btn:hover {
  background: var(--pure-white);
  border-color: var(--primary-green);
  color: var(--primary-green);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(16, 155, 94, 0.15), 0 0 10px rgba(217, 158, 24, 0.15);
}

/* Trust Chips */
.hero-trust-chips {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(16, 155, 94, 0.12);
}

.trust-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--heading-dark);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 12px 5px 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all var(--trans-fast);
}

.trust-chip:hover {
  background: var(--pure-white);
  border-color: var(--gold-border);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(217, 158, 24, 0.14);
}

.trust-chip-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--soft-rose);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 155, 94, 0.2);
  font-size: 0.75rem;
  font-weight: 800;
}

.trust-chip-icon svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   RIGHT COLUMN: 3D SHOWCASE CARD, FLOATING BADGES & AUDIO WIDGET
   ========================================================================= */
.hero-visual-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-visual-card {
  position: relative;
  width: 100%;
  max-width: 550px;
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform 0.4s ease-out;
}

.hero-visual-frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 26px 60px -12px rgba(16, 155, 94, 0.22), 0 8px 24px rgba(217, 158, 24, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  background: var(--pure-white);
  border: 4px solid var(--pure-white);
  outline: 2px solid rgba(217, 158, 24, 0.5);
}

.hero-visual-frame img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active .hero-visual-frame img {
  transform: scale(1.05);
}

.hero-frame-gloss-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 40%, rgba(217, 158, 24, 0.12) 100%);
  pointer-events: none;
}

/* Floating 3D Badge (Top Right): 10k Happy Students */
.hero-floating-badge.badge-top-right {
  position: absolute;
  top: 20px;
  right: -20px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(16, 155, 94, 0.15), 0 0 16px rgba(217, 158, 24, 0.25);
  border: 1.5px solid rgba(217, 158, 24, 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 12;
  animation: float3D 5s ease-in-out infinite;
}

.badge-circle-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-accent));
  color: #06452D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 850;
  font-size: 0.85rem;
  border: none;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(217, 158, 24, 0.35);
}

.badge-circle-icon svg {
  width: 22px;
  height: 22px;
  stroke: #06452D;
}

.badge-info h4 {
  font-size: 1rem;
  font-weight: 850;
  color: var(--primary-green);
  line-height: 1.15;
  margin-bottom: 2px;
}

.badge-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-info .stars {
  color: #F59E0B;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.badge-subtext {
  font-size: 0.75rem;
  color: var(--secondary-text);
  font-weight: 600;
}

.badge-info p {
  font-size: 0.75rem;
  color: var(--secondary-text);
  font-weight: 600;
}

/* Floating Badge Secondary (Bottom Left): Live Indicator */
.hero-floating-badge-secondary.badge-bottom-left {
  position: absolute;
  bottom: 25px;
  left: -20px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 16px 36px rgba(16, 155, 94, 0.15), 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1.5px solid rgba(16, 155, 94, 0.25);
  z-index: 12;
  animation: float3DReverse 5.5s ease-in-out infinite;
}

.pulse-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--heading-dark);
  position: relative;
}

.pulse-dot-ring {
  position: absolute;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(32, 201, 130, 0.45);
  animation: radarPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-green-vibrant);
  display: inline-block;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 10px var(--primary-green-vibrant);
}

@keyframes radarPing {
  75%, 100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

/* Floating Interactive Recitation Audio Widget */
.hero-audio-widget {
  position: absolute;
  bottom: -22px;
  right: 20px;
  background: linear-gradient(135deg, #0D7A4A 0%, #109B5E 100%);
  color: var(--pure-white);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 14px 30px rgba(13, 122, 74, 0.35), 0 0 14px rgba(217, 158, 24, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  z-index: 15;
  border: 1.5px solid var(--gold-light);
  transition: all var(--trans-smooth);
}

.hero-audio-widget:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 18px 36px rgba(13, 122, 74, 0.45), 0 0 20px rgba(217, 158, 24, 0.4);
  border-color: var(--gold-light);
}

.audio-widget-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}

.audio-widget-icon svg {
  width: 14px;
  height: 14px;
}

.audio-widget-icon .pause-icon {
  display: none;
}

.hero-audio-widget.playing .audio-widget-icon .play-icon {
  display: none;
}

.hero-audio-widget.playing .audio-widget-icon .pause-icon {
  display: block;
}

.audio-widget-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.audio-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
}

.audio-equalizer-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 12px;
}

.audio-equalizer-bars .bar {
  width: 3px;
  background: var(--gold-accent);
  border-radius: 2px;
  height: 4px;
  transition: height 0.2s ease;
}

.hero-audio-widget.playing .audio-equalizer-bars .bar {
  animation: equalizerWave 1s ease-in-out infinite alternate;
}

.audio-equalizer-bars .bar-1 { animation-delay: 0.1s; }
.audio-equalizer-bars .bar-2 { animation-delay: 0.3s; }
.audio-equalizer-bars .bar-3 { animation-delay: 0.5s; }
.audio-equalizer-bars .bar-4 { animation-delay: 0.2s; }
.audio-equalizer-bars .bar-5 { animation-delay: 0.4s; }

@keyframes equalizerWave {
  0% { height: 3px; }
  100% { height: 12px; }
}

/* Slide Quick-Switch Miniature Thumbnail Selector Strip */
.hero-thumb-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
  z-index: 10;
  position: relative;
  width: 100%;
}

.thumb-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid var(--border-color);
  padding: 4px 10px 4px 4px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--trans-smooth);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.thumb-btn img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.thumb-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--heading-dark);
  white-space: nowrap;
}

.thumb-btn:hover {
  background: var(--pure-white);
  border-color: rgba(7, 91, 58, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(7, 91, 58, 0.08);
}

.thumb-btn.active {
  background: var(--pure-white);
  border-color: var(--primary-crimson);
  box-shadow: 0 6px 18px rgba(7, 91, 58, 0.18);
  transform: translateY(-2px) scale(1.04);
}

.thumb-btn.active .thumb-label {
  color: var(--primary-burgundy);
}

/* ==========================================================================
   SLIDER ARROWS & DOTS
   ========================================================================== */
.slider-arrow {
  position: absolute;
  top: 52%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(221, 233, 227, 0.9);
  color: var(--heading-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(7, 91, 58, 0.1);
  z-index: 20;
  transition: all var(--trans-smooth);
}

.slider-arrow:hover {
  background: var(--primary-burgundy);
  color: var(--pure-white);
  border-color: var(--primary-burgundy);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 12px 30px rgba(7, 91, 58, 0.25);
}

.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }

.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  position: relative;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(7, 91, 58, 0.15);
  border: none;
  cursor: pointer;
  transition: all var(--trans-smooth);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.slider-dot .dot-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--gold-accent);
}

.slider-dot:hover {
  background: rgba(7, 91, 58, 0.4);
}

.slider-dot.active {
  width: 38px;
  background: var(--primary-burgundy);
  box-shadow: 0 2px 8px rgba(7, 91, 58, 0.3);
}

/* ==========================================================================
   ANIMATION KEYFRAMES
   ========================================================================== */
@keyframes heroFadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(15px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes float3D {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.6deg);
  }
}

@keyframes float3DReverse {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(8px) rotate(-0.6deg);
  }
}

/* ==========================================================================
   HERO RESPONSIVE ADAPTATIONS
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-actions, .hero-guarantee-pill, .hero-trust-chips {
    justify-content: center;
  }

  .hero-visual-card {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-slider-section {
    padding: 20px 0 50px;
    min-height: auto;
  }

  .hero-category-tabs {
    gap: 8px;
  }

  .hero-cat-tab {
    padding: 6px 12px;
  }

  .cat-tab-title {
    font-size: 0.75rem;
  }

  .hero-headline {
    font-size: 2.25rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-visual-frame img {
    height: 320px;
  }

  .hero-floating-badge.badge-top-right {
    top: 10px;
    right: 8px;
    padding: 8px 12px;
    max-width: calc(100% - 16px);
  }

  .badge-circle-icon {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .hero-floating-badge-secondary.badge-bottom-left {
    bottom: 10px;
    left: 8px;
    padding: 8px 14px;
    font-size: 0.75rem;
    max-width: calc(100% - 16px);
  }

  .hero-audio-widget {
    bottom: 10px;
    right: 8px;
    padding: 8px 14px;
    max-width: calc(100% - 16px);
  }

  .slider-arrow {
    display: none;
  }

  .hero-thumb-selector {
    display: none;
  }
}

/* ==========================================================================
   COURSES / PROGRAMS SECTION (8 BILINGUAL 3D CARDS WITH FEATURED IMAGES)
   ========================================================================== */
.courses-section {
  padding: 90px 0;
  background-color: var(--warm-white);
  position: relative;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

@media (min-width: 1300px) {
  .course-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.course-card-3d {
  background: var(--pure-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--trans-smooth);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: left;
}

.course-card-3d:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 42px rgba(7, 91, 58, 0.16), 0 0 16px rgba(212, 166, 42, 0.2);
  border-color: rgba(212, 166, 42, 0.55);
}

.course-card-3d:has(.course-icon-wrapper),
.course-card-3d.card-with-icon {
  padding: 34px 24px 28px;
  text-align: center;
  align-items: center;
}

.course-card-3d .course-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--heading-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.course-card-3d .course-desc {
  font-size: 0.9375rem;
  color: var(--secondary-text);
  line-height: 1.65;
  margin: 0;
}

.course-card-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: #03170e;
}

.course-card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-card-3d:hover .course-card-image-box img {
  transform: scale(1.06);
}

.course-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-title-en {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--heading-dark);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  line-height: 1.25;
}

.course-title-ur,
.course-subtitle-en {
  font-family: var(--font-heading);
  font-size: 0.84375rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 12px;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

/* Course Metadata Details (Duration, Class format) */
.course-details-list {
  font-size: 0.8125rem;
  color: var(--secondary-text);
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--surface-neutral);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.course-details-list .detail-row {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.course-details-list .detail-label {
  font-weight: 700;
  color: var(--heading-dark);
  font-size: 0.78125rem;
}

.course-details-list .detail-value {
  color: var(--secondary-text);
  font-size: 0.78125rem;
}

.course-card-desc {
  font-size: 0.84375rem;
  color: var(--secondary-text);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.course-card-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.course-btn-detail {
  background: var(--heading-dark);
  color: var(--pure-white);
  padding: 9px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--trans-fast);
  border: 1px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.course-btn-detail:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-accent) 100%);
  color: #06452D;
  border-color: var(--gold-light);
  box-shadow: 0 6px 18px rgba(217, 158, 24, 0.4), 0 0 10px rgba(16, 155, 94, 0.2);
  transform: translateY(-2px);
}

.view-all-wrapper {
  text-align: center;
}

/* ==========================================================================
   WHY CHOOSE US SECTION (SPLIT + 8 FEATURE MATRIX)
   ========================================================================== */
.why-us-section {
  padding: 100px 0;
  background-color: var(--warm-white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.why-us-layout {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 56px;
  align-items: center;
}

.why-us-intro {
  padding-right: 16px;
}

.why-us-intro h2 {
  font-size: clamp(2.2rem, 3.4vw, 2.85rem);
  margin-bottom: 20px;
  line-height: 1.18;
}

.why-us-intro p {
  color: var(--secondary-text);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.why-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.feature-item-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--pure-white);
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 14px rgba(16, 155, 94, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.feature-item-card:hover {
  background: var(--pure-white);
  border-color: var(--gold-border);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(16, 155, 94, 0.12), 0 0 14px rgba(217, 158, 24, 0.15);
}

.feature-icon-box {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--soft-rose) 0%, rgba(246, 252, 249, 0.8) 100%);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid var(--gold-border);
  box-shadow: 0 3px 8px rgba(16, 155, 94, 0.08);
  transition: all 0.3s ease;
}

.feature-item-card:hover .feature-icon-box {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-accent));
  color: #06452D;
  transform: scale(1.06);
  box-shadow: 0 6px 16px rgba(217, 158, 24, 0.4);
  border-color: transparent;
}

.feature-icon-box svg {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  stroke-width: 2;
  display: block;
}

.feature-details {
  flex: 1;
}

.feature-details h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--heading-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.feature-details p {
  font-size: 0.875rem;
  color: var(--secondary-text);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   HOW IT WORKS (4-STEP HORIZONTAL TIMELINE)
   ========================================================================== */
.how-it-works-section {
  padding: 90px 0;
  background-color: var(--warm-white);
}

.steps-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-color) 0, var(--border-color) 8px, transparent 8px, transparent 16px);
  z-index: 1;
}

.step-card {
  position: relative;
  z-index: 2;
  background: var(--pure-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-smooth);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-border);
}

.step-number-bubble {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--pure-white);
  color: var(--primary-green);
  border: 2px solid var(--gold-accent);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 14px rgba(217, 158, 24, 0.2);
  transition: all var(--trans-smooth);
}

.step-card:hover .step-number-bubble {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-accent));
  color: #06452D;
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(217, 158, 24, 0.4);
}

.step-card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--heading-dark);
}

.step-card p {
  font-size: 0.875rem;
  color: var(--secondary-text);
  line-height: 1.5;
}

/* ==========================================================================
   TEACHERS SECTION
   ========================================================================== */
.teachers-section {
  padding: 90px 0;
  background-color: var(--pure-white);
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.teacher-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-smooth);
  text-align: center;
}

.teacher-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(16, 155, 94, 0.12), 0 0 14px rgba(217, 158, 24, 0.16);
  border-color: var(--gold-border);
}

.teacher-photo-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  overflow: hidden;
  background-color: var(--surface-neutral);
}

.teacher-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform var(--trans-slow);
  display: block;
}

.teacher-card:hover .teacher-photo-wrapper img {
  transform: scale(1.06);
}

.teacher-info {
  padding: 20px 18px 22px;
}

.teacher-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--heading-dark);
  margin-bottom: 4px;
}

.teacher-role {
  font-size: 0.8125rem;
  color: var(--secondary-text);
  font-weight: 500;
  margin-bottom: 10px;
}

.teacher-stars {
  color: #F59E0B;
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.teacher-exp {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-green);
  background: var(--soft-rose);
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 155, 94, 0.2);
}

/* ==========================================================================
   STATISTICS / TRUST SECTION (LIGHT EMERALD & ROYAL GOLD LUXURY 3D SHOWCASE)
   ========================================================================== */
.stats-banner-section {
  position: relative;
  background: linear-gradient(135deg, #095433 0%, #0D7A4A 35%, #109B5E 70%, #16B36D 100%);
  padding: 65px 0;
  color: var(--pure-white);
  overflow: hidden;
  border-top: 2px solid var(--gold-accent);
  border-bottom: 2px solid var(--gold-accent);
  box-shadow: 0 14px 36px rgba(9, 84, 51, 0.35);
}

/* Luxury Islamic Star Pattern Watermark */
.stats-banner-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px),
    radial-gradient(rgba(245, 199, 76, 0.2) 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: 0 0, 18px 18px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

/* Ambient Radiant Top Glow */
.stats-banner-section::after {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 220px;
  background: radial-gradient(ellipse, rgba(245, 199, 76, 0.3) 0%, rgba(16, 155, 94, 0.2) 50%, transparent 80%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.stats-banner-section .container {
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item, .stat-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 2px solid var(--gold-light);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.stat-item::before, .stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
}

.stat-item:hover, .stat-card:hover {
  transform: translateY(-6px) scale(1.02);
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--gold-light);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.32), 0 0 24px rgba(217, 158, 24, 0.35);
}

.stat-item:hover::before, .stat-card:hover::before {
  left: 200%;
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(245, 199, 76, 0.4) 0%, rgba(16, 155, 94, 0.4) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--gold-light);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2), 0 0 18px rgba(217, 158, 24, 0.35);
  flex-shrink: 0;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.stat-item:hover .stat-icon, .stat-card:hover .stat-icon {
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 8px 24px rgba(217, 158, 24, 0.55);
}

.stat-icon svg {
  width: 26px;
  height: 26px;
  color: #FFFDF5;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.stat-text {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 850;
  line-height: 1.05;
  margin-bottom: 4px;
  color: #F5C74C;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 14px rgba(245, 199, 76, 0.4);
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  padding: 90px 0;
  background-color: var(--warm-white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card-3d {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--trans-smooth);
}

.testimonial-card-3d:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(16, 155, 94, 0.12), 0 0 14px rgba(217, 158, 24, 0.15);
  border-color: var(--gold-border);
}

.quote-icon {
  color: var(--gold-accent);
  opacity: 0.85;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--secondary-text);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--soft-rose);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  border: 2px solid var(--gold-border);
}

.author-info h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--heading-dark);
  margin-bottom: 2px;
}

.author-info span {
  font-size: 0.75rem;
  color: var(--muted-text);
}

/* ==========================================================================
   PRICING SECTION (LIGHT GREEN & ROYAL GOLD BALANCE)
   ========================================================================== */
.pricing-section {
  padding: 90px 0;
  background-color: var(--pure-white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card-3d {
  background: var(--pure-white);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--trans-smooth);
  position: relative;
}

.pricing-card-3d:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-border);
}

.pricing-card-3d.featured {
  border: 2.5px solid var(--gold-accent);
  box-shadow: 0 20px 48px rgba(16, 155, 94, 0.16), 0 0 24px rgba(217, 158, 24, 0.28);
  transform: scale(1.03);
}

.pricing-card-3d.featured:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 24px 56px rgba(16, 155, 94, 0.22), 0 0 32px rgba(217, 158, 24, 0.4);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-accent) 100%);
  color: #06452D;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 14px rgba(217, 158, 24, 0.45);
}

.pricing-header {
  text-align: center;
  margin-bottom: 28px;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading-dark);
  margin-bottom: 12px;
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.currency-sym {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading-dark);
}

.price-val {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--heading-dark);
  line-height: 1;
}

.price-period {
  font-size: 0.875rem;
  color: var(--muted-text);
}

.pricing-features {
  margin: 24px 0 32px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--secondary-text);
  margin-bottom: 14px;
}

.pricing-feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary-green);
  flex-shrink: 0;
}

/* ==========================================================================
   MID-PAGE CONVERSION BANNER (50/50 GREEN & GOLD BLEND)
   ========================================================================== */
.conversion-ribbon-section {
  padding: 40px 0;
}

.conversion-banner-card {
  position: relative;
  background: linear-gradient(135deg, #095433 0%, #0D7A4A 35%, #109B5E 65%, #D99E18 100%);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  color: var(--pure-white);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(9, 84, 51, 0.3), 0 0 20px rgba(217, 158, 24, 0.25);
  border: 2px solid var(--gold-light);
  text-align: center;
}

.conversion-banner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/conversion-banner.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.conversion-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.conversion-eyebrow {
  display: inline-block;
  color: #FFF4D6;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.conversion-headline {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--pure-white);
  margin-bottom: 14px;
  font-weight: 800;
}

.conversion-desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 32px;
  line-height: 1.6;
}

.conversion-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   BLOG / ARTICLES SECTION
   ========================================================================== */
.blog-section {
  padding: 90px 0;
  background-color: var(--warm-white);
}

.blog-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.blog-card-3d {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--trans-smooth);
}

.blog-card-3d:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(16, 155, 94, 0.12), 0 0 14px rgba(217, 158, 24, 0.15);
  border-color: var(--gold-border);
}

.blog-thumb-frame {
  height: 180px;
  overflow: hidden;
  position: relative;
  background-color: var(--surface-neutral);
}

.blog-thumb-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

.blog-card-3d:hover .blog-thumb-frame img {
  transform: scale(1.06);
}

.blog-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta-tags {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.blog-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-green);
  background: var(--soft-rose);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 155, 94, 0.2);
}

.blog-date {
  font-size: 0.75rem;
  color: var(--muted-text);
}

.blog-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--heading-dark);
  line-height: 1.4;
  margin-bottom: 8px;
  transition: color var(--trans-fast);
}

.blog-card-3d:hover .blog-title {
  color: var(--primary-green);
}

/* ==========================================================================
   FAQ SECTION (PREMIUM ACCORDION WITH ISLAMIC LIGHT GREEN & GOLD ACCENTS)
   ========================================================================== */
.faq-section {
  padding: 90px 0;
  background-color: var(--pure-white);
}

.faq-accordion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
}

.faq-item,
.faq-card {
  background: var(--pure-white);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--trans-smooth);
  box-shadow: 0 3px 12px rgba(16, 155, 94, 0.04);
  position: relative;
}

.faq-item:hover,
.faq-card:hover {
  border-color: var(--gold-border);
  box-shadow: 0 8px 24px rgba(16, 155, 94, 0.08);
  transform: translateY(-2px);
}

.faq-item.active,
.faq-card.active {
  background: var(--pure-white);
  border-color: var(--gold-accent);
  box-shadow: 0 12px 30px rgba(16, 155, 94, 0.12), 0 0 16px rgba(217, 158, 24, 0.2);
}

.faq-question-btn,
.faq-header {
  width: 100%;
  background: transparent;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--heading-dark);
  transition: all var(--trans-fast);
  border: none;
  outline: none;
  gap: 16px;
  box-sizing: border-box;
}

.faq-question {
  flex: 1 1 auto;
  line-height: 1.35;
  color: var(--heading-dark);
  transition: color var(--trans-fast);
}

.faq-question-btn:hover .faq-question,
.faq-header:hover .faq-question,
.faq-item.active .faq-question,
.faq-card.active .faq-question {
  color: var(--primary-green);
}

.faq-toggle-icon {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  border-radius: 50% !important;
  background: var(--soft-rose);
  color: var(--primary-green);
  border: 1.5px solid var(--gold-border);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  transition: all var(--trans-smooth);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.faq-header:hover .faq-toggle-icon,
.faq-question-btn:hover .faq-toggle-icon {
  background: var(--primary-green);
  color: var(--pure-white);
  border-color: var(--gold-accent);
  box-shadow: 0 4px 10px rgba(16, 155, 94, 0.25);
}

.faq-item.active .faq-toggle-icon,
.faq-card.active .faq-toggle-icon {
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-accent));
  color: #06452D;
  border-color: var(--gold-accent);
  box-shadow: 0 4px 14px rgba(217, 158, 24, 0.45);
}

.faq-answer-pane,
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 26px;
}

.faq-item.active .faq-answer-pane,
.faq-card.active .faq-body {
  padding: 0 26px 22px;
}

.faq-answer-pane p,
.faq-body .faq-body-inner {
  font-size: 0.9375rem;
  color: var(--secondary-text);
  line-height: 1.65;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

/* ==========================================================================
   FOOTER (50/50 ISLAMIC GREEN & ROYAL GOLD LUXURY STANDARD)
   ========================================================================== */
.site-footer {
  background-color: #06311E;
  background-image: 
    radial-gradient(rgba(245, 199, 76, 0.08) 1.5px, transparent 1.5px),
    linear-gradient(180deg, #0A4E2F 0%, #06311E 100%);
  background-size: 26px 26px, 100% 100%;
  background-repeat: repeat, no-repeat;
  color: #E2F5EC;
  padding: 80px 0 0;
  position: relative;
  border-top: 4px solid var(--gold-accent);
  box-shadow: inset 0 3px 14px rgba(0, 0, 0, 0.35);
  clear: both;
}

.footer-top-grid,
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .logo-title {
  color: var(--pure-white);
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: #D2ECE0;
  line-height: 1.7;
  margin: 18px 0 24px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(245, 199, 76, 0.5);
  color: var(--pure-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans-fast);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.social-btn:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-accent));
  color: #06311E;
  border-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(217, 158, 24, 0.5);
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

.footer-column h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--pure-white);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
  letter-spacing: -0.01em;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-accent));
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #D2ECE0;
  transition: all var(--trans-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(6px);
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #D2ECE0;
  margin-bottom: 16px;
  line-height: 1.5;
}

.contact-info-list svg {
  width: 18px;
  height: 18px;
  color: var(--gold-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-list span {
  color: #D2ECE0;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(217, 158, 24, 0.25);
  padding: 26px 0;
  font-size: 0.85rem;
  color: #B5DFCB;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-bar p {
  color: #B5DFCB;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 22px;
}

.footer-bottom-links a {
  color: #B5DFCB;
  transition: color var(--trans-fast);
}

.footer-bottom-links a:hover {
  color: var(--gold-light);
}

/* ==========================================================================
   PAGE HEROES & INNER PAGES COMMON LAYOUTS (ULTRA-PREMIUM 50/50 BANNER)
   ========================================================================== */
.page-hero {
  position: relative;
  background-image: 
    linear-gradient(135deg, rgba(9, 84, 51, 0.92) 0%, rgba(16, 155, 94, 0.85) 45%, rgba(217, 158, 24, 0.82) 100%),
    url('../images/conversion-banner.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 85px 0 95px;
  color: var(--pure-white);
  text-align: center;
  overflow: hidden;
  border-bottom: 3.5px solid var(--gold-accent);
  box-shadow: 0 10px 30px rgba(9, 84, 51, 0.3);
}

/* Islamic Geometric Star Watermark Overlay */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px), radial-gradient(rgba(245, 199, 76, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
  pointer-events: none;
  z-index: 1;
}

/* Top Subtle Light Flare */
.page-hero::after {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(245, 199, 76, 0.3) 0%, rgba(16, 155, 94, 0.15) 50%, transparent 80%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

/* Luxury Glassmorphism Breadcrumb Badge */
.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all var(--trans-smooth);
}

.breadcrumbs:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(212, 166, 42, 0.5);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--trans-fast);
}

.breadcrumbs a:hover {
  color: var(--gold-accent);
}

.breadcrumbs span:nth-child(2),
.breadcrumbs span:nth-child(4) {
  color: rgba(212, 166, 42, 0.7);
  font-size: 0.75rem;
}

.breadcrumbs span:last-child {
  color: var(--pure-white);
  font-weight: 700;
}

.page-hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  font-weight: 850;
  color: var(--pure-white);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-hero-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* Modal Windows & Form Controls */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 23, 23, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--trans-smooth);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--pure-white);
  border-radius: var(--radius-xl);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-3d);
  padding: 40px;
  position: relative;
  transform: scale(0.95);
  transition: transform var(--trans-smooth);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

@media (max-width: 600px) {
  .modal-container {
    padding: 28px 18px !important;
    width: 94% !important;
    margin: 0 auto;
    border-radius: var(--radius-lg) !important;
  }
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-neutral);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.modal-close-btn:hover {
  background: var(--soft-rose);
  color: var(--primary-burgundy);
}

/* Forms System */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--heading-dark);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--warm-white);
  color: var(--charcoal);
  font-size: 0.9375rem;
  transition: all var(--trans-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary-crimson);
  background-color: var(--pure-white);
  box-shadow: 0 0 0 4px var(--rose-glow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Floating WhatsApp Widget */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: var(--pure-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  z-index: 90;
  transition: all var(--trans-smooth);
}

.floating-whatsapp:hover {
  transform: scale(1.12) translateY(-4px);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.55);
  color: var(--pure-white);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
  .course-grid, .teachers-grid, .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-actions, .hero-trust-chips {
    justify-content: center;
  }

  .why-us-layout, .about-split-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-container::before {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card-3d.featured {
    transform: none;
  }

  .pricing-card-3d.featured:hover {
    transform: translateY(-8px);
  }

  .faq-accordion-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    max-width: 85vw;
    height: 100vh;
    background: var(--pure-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transition: right var(--trans-smooth), visibility var(--trans-smooth);
    visibility: hidden;
    z-index: 102;
  }

  .nav-menu.active {
    right: 0;
    visibility: visible;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer-top-grid, .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .topbar {
    display: none;
  }

  .course-grid, .teachers-grid, .blog-grid, .features-matrix-grid, .steps-container, .stats-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top-grid, .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .conversion-banner-card {
    padding: 40px 20px;
  }

  .hero-floating-badge {
    right: 10px;
    top: 10px;
  }
}

/* ==========================================================================
   ADVANCED 3D DEPTH, LIVE STATUS & RICH MULTI-SECTION COMPONENTS
   ========================================================================== */

/* Live Pulse Animation */
.pulse-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #1a8f44;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #25D366;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.5);
  animation: liveRingPulse 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes liveRingPulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* 3D Floating Dual Badges in Hero */
.hero-floating-badge-secondary {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 10;
  animation: floatSlow 5s ease-in-out infinite alternate;
}

@keyframes floatSlow {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-8px) rotate(1deg); }
}

/* Enhanced 3D Interactive Card */
.card-3d-interactive {
  background: var(--pure-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 24px rgba(16, 155, 94, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.card-3d-interactive:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 48px -10px rgba(16, 155, 94, 0.16), 0 0 0 1.5px var(--gold-border);
}

/* 3D Gold Seal Badge */
.seal-gold-3d {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #FFFDF5 0%, #FFF4D6 100%);
  border: 1.5px solid var(--gold-accent);
  padding: 12px 22px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 22px rgba(217, 158, 24, 0.28);
}

.seal-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-accent));
  color: #06452D;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(217, 158, 24, 0.38);
  font-size: 1.25rem;
}

/* Academy Milestones Timeline */
.timeline-roadmap-3d {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.timeline-roadmap-3d::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--primary-green-light), var(--gold-accent));
  z-index: 1;
}

.timeline-node-card {
  position: relative;
  z-index: 2;
  background: var(--pure-white);
  padding: 30px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--trans-smooth);
}

.timeline-node-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(16, 155, 94, 0.14);
  border-color: var(--gold-border);
}

.timeline-year-bubble {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(16, 155, 94, 0.35);
  border: 4px solid var(--pure-white);
}

/* ==========================================================================
   ABOUT PAGE BALANCED 50/50 LAYOUT & UNCLIPPED 3D BADGES
   ========================================================================== */
.about-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  width: 100%;
}

@media (max-width: 991px) {
  .about-split-layout {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  
  .about-image-col,
  .about-text-col {
    width: 100% !important;
    max-width: 100% !important;
  }

  .about-visual-card {
    max-width: 100% !important;
  }

  .about-text-col h2 {
    font-size: clamp(1.6rem, 5vw, 2.25rem) !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 768px) {
  .hero-visual-frame img {
    height: 280px !important;
  }
}

.about-visual-card {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.about-floating-badge {
  position: absolute;
  bottom: 24px;
  right: -14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 18px 38px rgba(16, 155, 94, 0.16), 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1.5px solid var(--gold-border);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  animation: floatBadge 4.5s ease-in-out infinite alternate;
}

.about-floating-badge-top {
  position: absolute;
  top: 24px;
  left: -14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 0 12px rgba(217, 158, 24, 0.2);
  border: 1.5px solid var(--gold-border);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary-green);
  animation: floatBadge 5s ease-in-out 1s infinite alternate;
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

@media (max-width: 768px) {
  .about-floating-badge {
    right: 10px !important;
    bottom: 10px !important;
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
  }
  .about-floating-badge-top {
    left: 10px !important;
    top: 10px !important;
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
  }
}

/* ==========================================================================
   MASTER COURSE COMPARISON MATRIX TABLE (ULTRA-PREMIUM 3D SHOWCASE)
   ========================================================================== */
.comparison-table-container {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: 0 16px 40px rgba(16, 155, 94, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
  background: var(--pure-white);
  margin-top: 36px;
  position: relative;
}

.matrix-table-3d {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  min-width: 780px;
}

.matrix-table-3d thead tr {
  background: linear-gradient(135deg, #095433 0%, #0D7A4A 45%, #109B5E 100%);
}

.matrix-table-3d th {
  padding: 20px 22px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pure-white);
  border-bottom: 3.5px solid var(--gold-accent);
  white-space: nowrap;
}

.matrix-table-3d th:first-child {
  border-top-left-radius: var(--radius-xl);
}

.matrix-table-3d th:last-child {
  border-top-right-radius: var(--radius-xl);
  text-align: center;
}

.matrix-table-3d tbody tr {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--pure-white);
}

.matrix-table-3d tbody tr:nth-child(even) {
  background-color: #F4FAF6;
}

.matrix-table-3d tbody tr:last-child td:first-child {
  border-bottom-left-radius: var(--radius-xl);
}

.matrix-table-3d tbody tr:last-child td:last-child {
  border-bottom-right-radius: var(--radius-xl);
}

.matrix-table-3d tbody tr:hover {
  background-color: #EEF9F3;
  box-shadow: 0 4px 18px rgba(16, 155, 94, 0.08);
}

.matrix-table-3d td {
  padding: 18px 22px;
  font-size: 0.9375rem;
  color: var(--heading-dark);
  vertical-align: middle;
  border-bottom: 1px solid var(--border-subtle);
}

.matrix-table-3d td.col-action {
  text-align: center;
  white-space: nowrap;
}

.matrix-course-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--heading-dark);
}

.matrix-course-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--soft-rose);
  color: var(--primary-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  border: 1px solid rgba(16, 155, 94, 0.25);
  flex-shrink: 0;
}

/* Table Pill Tags */
.table-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--warm-white);
  border: 1px solid var(--border-color);
  color: var(--secondary-text);
  white-space: nowrap;
}

.table-pill-tag.tag-primary {
  background: var(--soft-rose);
  border-color: rgba(16, 155, 94, 0.25);
  color: var(--primary-green);
  font-weight: 700;
}

.table-pill-tag.tag-gold {
  background: var(--gold-soft);
  border-color: var(--gold-border);
  color: var(--gold-dark);
  font-weight: 700;
}

/* Table Explore CTA Button */
.btn-table-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--primary-green) 100%);
  color: var(--pure-white) !important;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-light);
  box-shadow: 0 4px 12px rgba(16, 155, 94, 0.28);
  transition: all var(--trans-smooth);
  text-decoration: none;
}

.btn-table-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 158, 24, 0.45);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-accent) 100%);
  color: #06452D !important;
}

.btn-table-action .action-arrow {
  transition: transform var(--trans-smooth);
}

.btn-table-action:hover .action-arrow {
  transform: translateX(4px);
}

.matrix-table-3d th.highlight-col {
  background: linear-gradient(135deg, #095433 0%, #0D7A4A 45%, #109B5E 100%) !important;
  color: var(--pure-white) !important;
  border-top: 4px solid var(--gold-accent) !important;
  border-left: 2px solid var(--gold-border);
  border-right: 2px solid var(--gold-border);
  position: relative;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.matrix-highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-accent) 100%);
  color: #06452D;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  padding: 3px 11px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.matrix-table-3d td.highlight-col {
  background: rgba(16, 155, 94, 0.035);
  border-left: 2px solid rgba(16, 155, 94, 0.25);
  border-right: 2px solid rgba(16, 155, 94, 0.25);
  color: var(--heading-dark);
  font-weight: 600;
}

.matrix-table-3d tbody tr:hover td.highlight-col {
  background: rgba(16, 155, 94, 0.075);
}

.matrix-cell-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.matrix-icon-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.8125rem;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.35);
  flex-shrink: 0;
}

.matrix-icon-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FEE2E2;
  color: #DC2626;
  font-weight: 800;
  font-size: 0.8125rem;
  border: 1px solid rgba(220, 38, 38, 0.15);
  flex-shrink: 0;
}

/* Table Scroll Helper Hint Pill */
.table-scroll-hint {
  display: none;
}

@media (max-width: 991px) {
  .table-scroll-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 16px;
    background: #E8F5EE;
    border: 1px solid rgba(16, 155, 94, 0.22);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 14px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(16, 155, 94, 0.06);
  }
}

/* ==========================================================================
   MOBILE NON-SCROLLABLE CARD TRANSFORMATION FOR ALL TABLES (< 768px)
   Converts wide desktop tables into 100% fluid mobile cards (zero scroll)
   ========================================================================== */
@media (max-width: 768px) {
  /* Prevent horizontal scroll entirely */
  .comparison-table-container,
  .pricing-table-responsive {
    overflow-x: visible !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    display: block !important;
    width: 100% !important;
  }

  /* Base Matrix Table Card Reset */
  .matrix-table-3d,
  .pricing-custom-table {
    min-width: 0 !important;
    width: 100% !important;
    display: block !important;
    border-collapse: collapse !important;
  }

  .matrix-table-3d thead,
  .pricing-custom-table thead {
    display: none !important;
  }

  .matrix-table-3d tbody,
  .pricing-custom-table tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .matrix-table-3d tbody tr,
  .pricing-custom-table tbody tr {
    display: flex !important;
    flex-direction: column !important;
    background: #FFFFFF !important;
    border: 1.5px solid var(--border-color) !important;
    border-radius: var(--radius-xl) !important;
    padding: 18px 16px !important;
    box-shadow: 0 4px 16px rgba(16, 155, 94, 0.06) !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    position: static !important;
  }

  /* 1. COURSES PAGE: COMPARE ALL 10 PROGRAMS */
  .courses-matrix-container .matrix-table-3d tbody tr td {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 9px 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(216, 236, 226, 0.5) !important;
    font-size: 0.875rem !important;
    position: static !important;
    box-shadow: none !important;
    background: transparent !important;
    width: 100% !important;
  }

  .courses-matrix-container .matrix-table-3d tbody tr td:first-child {
    padding-bottom: 12px !important;
    border-bottom: 2px solid rgba(16, 155, 94, 0.16) !important;
    justify-content: flex-start !important;
  }

  .courses-matrix-container .matrix-table-3d tbody tr td:nth-child(2)::before {
    content: "Duration:";
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--secondary-text);
  }

  .courses-matrix-container .matrix-table-3d tbody tr td:nth-child(3)::before {
    content: "Class Format:";
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--secondary-text);
  }

  .courses-matrix-container .matrix-table-3d tbody tr td:nth-child(4)::before {
    content: "Language:";
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--secondary-text);
  }

  .courses-matrix-container .matrix-table-3d tbody tr td:nth-child(5)::before {
    content: "Target Age:";
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--secondary-text);
  }

  .courses-matrix-container .matrix-table-3d tbody tr td.col-action {
    padding-top: 14px !important;
    border-bottom: none !important;
    justify-content: center !important;
  }

  .courses-matrix-container .matrix-table-3d tbody tr td.col-action .btn-table-action {
    width: 100% !important;
    justify-content: center !important;
    padding: 10px 18px !important;
    font-size: 0.875rem !important;
  }

  /* 2. WHY-US PAGE: 1-ON-1 ONLINE VS TRADITIONAL GROUP CLASSES */
  .why-us-matrix-container .matrix-table-3d tbody tr td:first-child {
    padding: 0 0 10px 0 !important;
    border: none !important;
    border-bottom: 2px solid rgba(16, 155, 94, 0.16) !important;
    margin-bottom: 10px !important;
    background: transparent !important;
    box-shadow: none !important;
    position: static !important;
  }

  .why-us-matrix-container .matrix-table-3d tbody tr td.highlight-col {
    background: #E8F5EE !important;
    border: 1.5px solid rgba(16, 155, 94, 0.28) !important;
    border-radius: var(--radius-md) !important;
    padding: 12px 14px !important;
    margin-bottom: 8px !important;
    box-shadow: none !important;
    position: static !important;
  }

  .why-us-matrix-container .matrix-table-3d tbody tr td.highlight-col::before {
    content: "✦ AYAHNEST (1-ON-1)";
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--primary-green);
    letter-spacing: 0.06em;
    margin-bottom: 4px;
  }

  .why-us-matrix-container .matrix-table-3d tbody tr td:last-child {
    background: #F8FAFC !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    padding: 12px 14px !important;
    box-shadow: none !important;
    position: static !important;
  }

  .why-us-matrix-container .matrix-table-3d tbody tr td:last-child::before {
    content: "TRADITIONAL GROUP / MADRASAH";
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--secondary-text);
    letter-spacing: 0.05em;
    margin-bottom: 4px;
  }

  /* 3. PACKAGES PAGE: TRANSPARENT PACKAGES BY COUNTRY */
  .country-pricing-container .pricing-custom-table tbody tr {
    padding: 16px !important;
    gap: 10px !important;
  }

  .country-pricing-container .pricing-custom-table tbody tr td:first-child {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 0 8px 0 !important;
    border: none !important;
    border-bottom: 1.5px solid rgba(16, 155, 94, 0.14) !important;
    background: transparent !important;
    box-shadow: none !important;
    position: static !important;
  }

  .country-pricing-container .pricing-custom-table tbody tr td:nth-child(2) {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 !important;
    border: none !important;
    position: static !important;
    background: transparent !important;
  }

  .country-pricing-container .pricing-custom-table tbody tr td:nth-child(2)::before {
    content: "Package Tuition:";
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--secondary-text);
  }

  .country-pricing-container .pricing-custom-table tbody tr td:nth-child(3) {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 !important;
    border: none !important;
    position: static !important;
    background: transparent !important;
  }

  .country-pricing-container .pricing-custom-table tbody tr td:nth-child(3)::before {
    content: "Class Duration:";
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--secondary-text);
  }

  .country-pricing-container .pricing-custom-table tbody tr td:last-child {
    padding: 8px 0 0 0 !important;
    border: none !important;
    border-top: 1px solid var(--border-subtle) !important;
    position: static !important;
    background: transparent !important;
  }

  .country-pricing-container .course-dropdown-container {
    width: 100% !important;
  }

  .country-pricing-container .course-select-trigger-btn {
    width: 100% !important;
    justify-content: space-between !important;
  }

  /* 4. PACKAGES PAGE: ENROLLING SIBLINGS? SAVE UP TO 15% */
  .family-matrix-container .matrix-table-3d tbody tr {
    padding: 16px !important;
    gap: 8px !important;
  }

  .family-matrix-container .matrix-table-3d tbody tr td {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 6px 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(216, 236, 226, 0.5) !important;
    background: transparent !important;
    box-shadow: none !important;
    position: static !important;
  }

  .family-matrix-container .matrix-table-3d tbody tr td:first-child {
    padding-bottom: 8px !important;
    border-bottom: 2px solid rgba(16, 155, 94, 0.16) !important;
  }

  .family-matrix-container .matrix-table-3d tbody tr td:nth-child(2)::before {
    content: "Monthly Discount:";
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--secondary-text);
  }

  .family-matrix-container .matrix-table-3d tbody tr td:nth-child(3)::before {
    content: "Applicable Plans:";
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--secondary-text);
  }

  .family-matrix-container .matrix-table-3d tbody tr td:last-child {
    border-bottom: none !important;
    padding-top: 8px !important;
  }
}

/* About Page Mission & Architecture Card Responsive */
.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.platform-arch-card {
  margin-top: 48px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--primary-green);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .about-mission-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .platform-arch-card {
    padding: 22px 18px !important;
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
  }
  .platform-arch-card .btn {
    width: 100% !important;
  }
}

/* Contact Page Grid & Form Responsive */
.contact-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: flex-start;
}

.contact-form-card {
  background: var(--pure-white);
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

@media (max-width: 991px) {
  .contact-grid-layout {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
}

@media (max-width: 600px) {
  .contact-form-card {
    padding: 24px 18px !important;
  }
}

/* Packages Page Toolbar Responsive */
@media (max-width: 640px) {
  .pricing-table-topbar {
    padding: 14px 16px !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .pricing-search-box {
    max-width: 100% !important;
    width: 100% !important;
    min-width: unset !important;
  }
}

/* Global Reach Region Grid */
.continents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.continent-card-3d {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-smooth);
}

.continent-card-3d:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-border);
}

/* Vetting Process Steps */
.vetting-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.vetting-step-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  text-align: center;
  transition: all var(--trans-smooth);
}

.vetting-step-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-md);
}

.vetting-step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--soft-rose);
  color: var(--primary-green);
  font-family: var(--font-heading);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  border: 1.5px solid var(--gold-border);
}

/* ==========================================================================
   FEATURES MATRIX & PEDAGOGY PILLARS (4-PILLARS & 6-PILLARS)
   ========================================================================== */
.features-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  margin-top: 36px;
}

.feature-matrix-card {
  background: var(--pure-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  height: 100%;
}

.feature-matrix-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-3d);
}

.feature-matrix-icon,
.course-icon-wrapper {
  width: 58px;
  height: 58px;
  min-width: 58px;
  min-height: 58px;
  max-width: 58px;
  max-height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--soft-rose) 0%, var(--gold-soft) 100%);
  border: 1.5px solid var(--gold-border);
  color: var(--primary-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(16, 155, 94, 0.08);
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-matrix-icon svg,
.course-icon-wrapper svg {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  stroke: var(--primary-green);
  color: var(--primary-green);
  stroke-width: 2;
  display: block;
  transition: stroke 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* Perfect Icon Hover State - Icon turns radiant gold when card is hovered */
.course-card-3d:hover .course-icon-wrapper,
.feature-matrix-card:hover .feature-matrix-icon,
.course-icon-wrapper:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-accent) 100%) !important;
  color: #06452D !important;
  border-color: transparent !important;
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(217, 158, 24, 0.45) !important;
}

.course-card-3d:hover .course-icon-wrapper svg,
.feature-matrix-card:hover .feature-matrix-icon svg,
.course-icon-wrapper:hover svg {
  stroke: #06452D !important;
  color: #06452D !important;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2));
}

.feature-item-card:hover .feature-icon-box svg {
  stroke: #06452D !important;
  color: #06452D !important;
}

.feature-matrix-title {
  font-size: 1.2rem;
  color: var(--heading-dark);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
}

.feature-matrix-desc {
  font-size: 0.9375rem;
  color: var(--secondary-text);
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   MASTER FAQ ACCORDION COMPONENT (SUPPORTS BOTH FAQ-CARD & FAQ-ITEM)
   ========================================================================== */
.faq-section {
  padding: 95px 0;
  background: var(--warm-white);
  position: relative;
}

.faq-accordion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.faq-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card,
.faq-item {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: all var(--trans-smooth);
  margin-bottom: 14px;
}

.faq-card:hover,
.faq-item:hover {
  border-color: var(--gold-border);
  box-shadow: 0 8px 24px rgba(16, 155, 94, 0.08);
}

.faq-card.active,
.faq-item.active {
  border-color: var(--gold-accent);
  box-shadow: 0 12px 28px rgba(16, 155, 94, 0.12), 0 0 16px rgba(217, 158, 24, 0.2);
}

.faq-header,
.faq-question-btn {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--heading-dark);
  line-height: 1.4;
  transition: color var(--trans-fast), background-color var(--trans-fast);
  box-sizing: border-box;
}

.faq-question,
.faq-header > .faq-question,
.faq-question-btn > .faq-question {
  flex: 1 1 auto;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--heading-dark);
  line-height: 1.4;
  margin: 0;
  transition: color var(--trans-fast);
}

.faq-card.active .faq-header,
.faq-item.active .faq-question-btn {
  color: var(--primary-green);
  background: var(--rose-light);
}

.faq-card.active .faq-question,
.faq-item.active .faq-question {
  color: var(--primary-green);
}

.faq-toggle-icon {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  background: var(--soft-rose);
  color: var(--primary-green);
  border: 1.5px solid var(--gold-border);
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  transition: all var(--trans-smooth);
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  user-select: none;
  margin-left: auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.faq-header:hover .faq-toggle-icon,
.faq-question-btn:hover .faq-toggle-icon {
  background: var(--primary-green);
  color: var(--pure-white);
  border-color: var(--gold-accent);
  box-shadow: 0 4px 10px rgba(16, 155, 94, 0.25);
}

.faq-card.active .faq-toggle-icon,
.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-accent));
  color: #06452D;
  border-color: var(--gold-accent);
  box-shadow: 0 4px 12px rgba(217, 158, 24, 0.45);
}

.faq-body,
.faq-answer-pane {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--pure-white);
}

.faq-body-inner,
.faq-answer-pane p {
  padding: 10px 24px 22px;
  font-size: 0.95rem;
  color: var(--secondary-text);
  line-height: 1.7;
  margin: 0;
  text-align: left;
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 992px) {
  .why-us-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-us-intro {
    padding-right: 0;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
  }
  .features-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq-accordion-grid {
    grid-template-columns: 1fr;
  }
  .timeline-roadmap-3d {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-roadmap-3d::before {
    display: none;
  }
  .continents-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vetting-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .legal-container,
  section[style*="background-color: var(--warm-white)"] .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 600px) {
  .why-features-grid,
  .features-matrix-grid,
  .faq-accordion-grid,
  .timeline-roadmap-3d,
  .continents-grid,
  .vetting-steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   COUNTRY PRICING SWITCHER & DURATION BADGES
   ========================================================================== */
.country-filter-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 24px;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}

.country-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  background: var(--soft-rose);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  max-width: 100%;
}

.country-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--secondary-text);
  cursor: pointer;
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.country-tab-btn:hover {
  color: var(--primary-green-deep);
  background: rgba(16, 155, 94, 0.08);
}

.country-tab-btn.active {
  background: var(--pure-white);
  color: var(--primary-green-deep);
  font-weight: 800;
  border-color: var(--gold-border);
  box-shadow: 0 4px 14px rgba(16, 155, 94, 0.15), 0 2px 6px rgba(217, 158, 24, 0.12);
  transform: translateY(-1px);
}

.country-tab-btn .c-flag {
  font-size: 1.25rem;
  line-height: 1;
}

.country-tab-btn .c-currency {
  font-size: 0.75rem;
  opacity: 0.75;
  font-weight: 700;
  background: rgba(16, 155, 94, 0.1);
  padding: 2px 6px;
  border-radius: 6px;
}

.country-tab-btn.active .c-currency {
  background: var(--gold-soft);
  color: var(--gold-dark);
}

.pricing-duration-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 155, 94, 0.1);
  color: var(--primary-green-deep);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-top: 8px;
  border: 1px solid rgba(16, 155, 94, 0.2);
}

.pricing-duration-pill.hifz-pill {
  background: var(--gold-soft);
  color: var(--gold-dark);
  border-color: var(--gold-border);
}

.support-247-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(16, 155, 94, 0.08), rgba(217, 158, 24, 0.1));
  border: 1px dashed var(--gold-accent);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--heading-dark);
  margin-top: 14px;
  width: 100%;
  justify-content: center;
}

.country-info-banner {
  text-align: center;
  margin-top: -12px;
  margin-bottom: 30px;
  font-size: 0.875rem;
  color: var(--muted-text);
}

.country-info-banner strong {
  color: var(--primary-green-deep);
}

/* Refund Policy Page Styles */
.policy-step-card {
  background: var(--warm-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--trans-smooth);
}

.policy-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-md);
}

.guarantee-shield-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-accent));
  color: #06452D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(217, 158, 24, 0.35);
  margin: 0 auto 20px;
}

/* ==========================================================================
   UNIVERSAL COUNTRY PRICING TABLE & COURSE SELECTION ENGINE
   ========================================================================== */
.pricing-table-card {
  background: var(--pure-white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 50px rgba(16, 155, 94, 0.08), 0 2px 10px rgba(217, 158, 24, 0.05);
  position: relative;
  margin: 0 auto;
  max-width: 1100px;
}

.pricing-table-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: linear-gradient(135deg, rgba(16, 155, 94, 0.06) 0%, rgba(217, 158, 24, 0.08) 100%);
  border-bottom: 1px solid var(--border-color);
  border-top-left-radius: var(--radius-2xl);
  border-top-right-radius: var(--radius-2xl);
  flex-wrap: wrap;
  gap: 16px;
}

.pricing-table-topbar-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--heading-dark);
}

.pricing-table-topbar-info .pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-green);
  box-shadow: 0 0 0 4px rgba(16, 155, 94, 0.25);
  display: inline-block;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 155, 94, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 155, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 155, 94, 0); }
}

.pricing-search-box {
  position: relative;
  min-width: 240px;
  flex: 1;
  max-width: 360px;
}

.pricing-search-input {
  width: 100%;
  padding: 9px 16px 9px 38px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-color);
  font-family: var(--font-body);
  font-size: 0.875rem;
  background: var(--pure-white);
  color: var(--heading-dark);
  transition: all var(--trans-smooth);
}

.pricing-search-input:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(16, 155, 94, 0.15);
}

.pricing-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-text);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.pricing-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-bottom-left-radius: var(--radius-2xl);
  border-bottom-right-radius: var(--radius-2xl);
}

.pricing-custom-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  min-width: 760px;
}

.pricing-custom-table thead tr {
  background: linear-gradient(135deg, #095433 0%, #0D7A4A 45%, #109B5E 100%);
}

.pricing-custom-table th {
  padding: 18px 24px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pure-white);
  border-bottom: 3.5px solid var(--gold-accent);
  white-space: nowrap;
}

.pricing-custom-table th:first-child {
  padding-left: 32px;
}

.pricing-custom-table th:last-child {
  text-align: right;
  padding-right: 32px;
}

.pricing-custom-table tbody tr {
  transition: all 0.22s ease;
  background: var(--pure-white);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-custom-table tbody tr:nth-child(even) {
  background-color: #F8FCF9;
}

.pricing-custom-table tbody tr:hover {
  background-color: #EEF9F3;
  box-shadow: 0 4px 16px rgba(16, 155, 94, 0.08);
}

.pricing-custom-table td {
  padding: 18px 24px;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--heading-dark);
}

.pricing-custom-table td:first-child {
  padding-left: 32px;
}

.pricing-custom-table td:last-child {
  text-align: right;
  padding-right: 32px;
}

.country-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}

.country-flag-bubble {
  font-size: 1.6rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--warm-white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
  flex-shrink: 0;
}

.country-name-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--heading-dark);
}

.price-cell-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  background: var(--soft-rose);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(16, 155, 94, 0.25);
  box-shadow: 0 2px 6px rgba(16, 155, 94, 0.06);
}

.price-amount {
  font-family: var(--font-heading);
  font-weight: 850;
  font-size: 1.3rem;
  color: var(--primary-green-deep);
  line-height: 1;
}

.price-currency {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--gold-dark);
  text-transform: uppercase;
}

.duration-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F2F8F5;
  color: var(--heading-dark);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
  border: 1px solid var(--border-color);
  white-space: nowrap;
}

.duration-pill .duration-icon {
  color: var(--primary-green);
  font-size: 0.95rem;
}

/* Course Selection Dropdown Button */
.course-dropdown-container {
  position: relative;
  display: inline-block;
  text-align: left;
}

.course-select-trigger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 18px;
  background: linear-gradient(135deg, #109B5E 0%, #0D7A4A 100%);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gold-light);
  box-shadow: 0 4px 12px rgba(16, 155, 94, 0.25);
  cursor: pointer;
  transition: all var(--trans-smooth);
  white-space: nowrap;
}

.course-select-trigger-btn:hover,
.course-dropdown-container.open .course-select-trigger-btn {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-accent) 100%);
  color: #06452D !important;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(217, 158, 24, 0.4);
}

.course-select-trigger-btn .arrow-icon {
  transition: transform 0.2s ease;
  font-size: 0.75rem;
  display: inline-block;
}

.course-dropdown-container.open .course-select-trigger-btn .arrow-icon {
  transform: rotate(180deg);
}

.course-dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 330px;
  max-height: 380px;
  overflow-y: auto;
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gold-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  padding: 8px 0;
  text-align: left;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-dropdown-container.open .course-dropdown-menu {
  display: block;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.course-dropdown-header {
  padding: 8px 16px 10px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  color: var(--muted-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--heading-dark);
  transition: background 0.15s ease;
  cursor: pointer;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.course-menu-item:hover {
  background-color: var(--soft-rose);
}

.course-menu-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(16, 155, 94, 0.1);
  color: var(--primary-green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.course-menu-item-info {
  flex: 1;
}

.course-menu-item-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--heading-dark);
  line-height: 1.25;
}

.course-menu-item-tag {
  font-size: 0.75rem;
  color: var(--muted-text);
}

.course-menu-action {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-green);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.15s ease;
}

.course-menu-item:hover .course-menu-action {
  opacity: 1;
  transform: translateX(0);
}

/* Important Notice Card below Table */
.pricing-important-banner {
  margin-top: 36px;
  background: linear-gradient(135deg, #095433 0%, #0D7A4A 60%, #109B5E 100%);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  position: relative;
  box-shadow: 0 14px 34px rgba(9, 84, 51, 0.22);
  border: 2px solid var(--gold-accent);
  color: var(--pure-white);
  overflow: hidden;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-important-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(245, 199, 76, 0.25) 0%, rgba(245, 199, 76, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pricing-important-flex {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.pricing-important-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-accent) 100%);
  color: #06452D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.pricing-important-text-wrap {
  flex: 1;
}

.pricing-important-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-important-desc {
  font-size: 1.025rem;
  line-height: 1.6;
  color: #F0FAF5;
  margin: 0;
  font-weight: 500;
}

/* Action Area */
.pricing-bottom-actions {
  margin-top: 36px;
  text-align: center;
}

.pricing-cta-buttons-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.btn-pricing-primary {
  padding: 16px 36px;
  font-size: 1.0625rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-accent) 60%, var(--gold-deep) 100%);
  color: #06452D !important;
  border-radius: var(--radius-full);
  border: 2px solid #FFF2C6;
  box-shadow: 0 10px 28px rgba(217, 158, 24, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--trans-smooth);
  text-decoration: none;
  font-family: var(--font-heading);
}

.btn-pricing-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 34px rgba(217, 158, 24, 0.6);
  background: linear-gradient(135deg, #FFE896 0%, var(--gold-light) 60%, var(--gold-accent) 100%);
}

.btn-pricing-secondary {
  padding: 16px 32px;
  font-size: 1.0625rem;
  font-weight: 700;
  background: var(--pure-white);
  color: var(--primary-green-deep) !important;
  border-radius: var(--radius-full);
  border: 2px solid var(--primary-green);
  box-shadow: 0 6px 18px rgba(16, 155, 94, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--trans-smooth);
  text-decoration: none;
  font-family: var(--font-heading);
}

.btn-pricing-secondary:hover {
  transform: translateY(-3px);
  background: var(--soft-rose);
  border-color: var(--primary-green-deep);
  box-shadow: 0 10px 24px rgba(16, 155, 94, 0.2);
}

.pricing-trust-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--surface-neutral);
  padding: 10px 26px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--heading-dark);
  flex-wrap: wrap;
  box-shadow: var(--shadow-xs);
}

.pricing-trust-dot {
  color: var(--gold-accent);
  font-size: 1.1rem;
}

.pricing-no-match-row {
  display: none;
  text-align: center;
  padding: 30px;
  color: var(--muted-text);
  font-weight: 600;
}

@media (max-width: 768px) {
  .pricing-table-topbar {
    padding: 16px 20px;
  }
  .pricing-search-box {
    max-width: 100%;
  }
  .pricing-important-banner {
    padding: 22px 20px;
  }
  .pricing-important-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .course-dropdown-menu {
    right: auto;
    left: 0;
    width: 100%;
    max-width: 290px;
  }
}

/* ==========================================================================
   GLOBAL MOBILE-FRIENDLY & ZERO HORIZONTAL OVERFLOW SAFEGUARDS
   ========================================================================== */
@media (max-width: 768px) {
  /* Prevent any section from overflowing horizontally */
  section, header, footer, main, nav, .container {
    max-width: 100% !important;
  }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  /* Table responsive wrappers */
  .comparison-table-container,
  .pricing-table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
    margin-left: 0;
    margin-right: 0;
  }

  /* Country Switcher Tabs on Pricing */
  .country-filter-tabs {
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-lg);
    gap: 6px;
    padding: 6px;
  }

  .country-tab-btn {
    padding: 8px 12px;
    font-size: 0.8125rem;
    flex: 1 1 45%;
    justify-content: center;
  }

  /* Legal content cards & custom padded containers */
  .legal-container,
  .legal-content-card,
  .disclaimer-card,
  .terms-card,
  .privacy-card,
  [style*="padding: 56px 48px"] {
    padding: 24px 18px !important;
    border-radius: var(--radius-lg) !important;
  }

  /* Floating WhatsApp button safe mobile margins */
  .whatsapp-floating-btn,
  .floating-whatsapp {
    right: 16px !important;
    bottom: 20px !important;
    width: 52px;
    height: 52px;
  }

  /* Form controls */
  input, select, textarea, button {
    max-width: 100%;
  }

  /* Word wrap safeguards */
  h1, h2, h3, h4, h5, h6, p, span, a {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-headline {
    font-size: 1.85rem !important;
  }

  .country-tab-btn {
    flex: 1 1 100%;
  }
}






/* ==========================================================================
   ENHANCED HEADER, NAVBAR & FIXED SIDEBAR REFINEMENTS
   ========================================================================== */

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px !important;
}

.nav-link {
  white-space: nowrap !important;
  font-size: 0.9rem !important;
  font-weight: 600;
  padding: 6px 0;
  display: inline-block;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 10px !important;
  flex-shrink: 0;
}

.nav-app-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background: rgba(217, 158, 24, 0.12) !important;
  color: #8C650A !important;
  border: 1.5px solid var(--gold-accent) !important;
  padding: 8px 16px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.84rem !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: all var(--trans-fast) !important;
}

.nav-app-btn:hover {
  background: var(--gold-accent) !important;
  color: #06311E !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(217, 158, 24, 0.4);
}

.nav-app-btn svg {
  width: 14px;
  height: 14px;
  color: inherit;
}

/* ==========================================================================
   PERFECT FIXED SIDEBARS (100% FULL, ZERO INTERNAL SCROLLBAR, CRISP ALIGNMENT)
   ========================================================================== */
.sticky-sidebar,
aside.sticky-sidebar {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 85px !important;
  z-index: 25 !important;
  overflow: visible !important;
  max-height: none !important;
}

/* Developer credit in footer */
.dev-attribution {
  font-size: 0.825rem;
  letter-spacing: 0.01em;
  color: #B5DFCB;
}


/* ==========================================================================
   ADVANCED MOBILE RESPONSIVENESS & ZERO-SCROLLBAR FIXED SIDEBAR SUITE
   ========================================================================== */

/* Universal Page Safety */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* 1. Universal Zero-Scrollbar on Sticky Sidebar */
.sticky-sidebar,
aside.sticky-sidebar {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 85px !important;
  z-index: 25 !important;
  overflow: visible !important;
  max-height: none !important;
  scrollbar-width: none !important;
}

.sticky-sidebar::-webkit-scrollbar,
aside.sticky-sidebar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* 2. Navigation Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 25, 18, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 3. Mobile Navigation Drawer Styles */
.mobile-drawer-header {
  display: none;
}

.mobile-drawer-footer {
  display: none;
}

@media (max-width: 991px) {
  /* Elevate Header Stacking */
  .header {
    z-index: 1000 !important;
  }

  .header-content {
    gap: 12px;
  }

  /* Wrap top utility bar gracefully on tablets */
  .topbar {
    height: auto !important;
    min-height: var(--topbar-height) !important;
    padding: 6px 14px !important;
  }

  .topbar-content,
  .top-bar .container {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px 16px !important;
    text-align: center !important;
  }

  .topbar-left,
  .topbar-right {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
  }

  .course-layout-grid,
  .blog-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Unpin sidebar on tablets/mobiles so it stacks naturally below content */
  .sticky-sidebar,
  aside.sticky-sidebar {
    position: static !important;
    top: auto !important;
    width: 100% !important;
    margin-top: 24px !important;
    overflow: visible !important;
  }

  /* Mobile Toggle Button */
  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    background: rgba(16, 155, 94, 0.08) !important;
    border: 1.5px solid var(--border-color) !important;
    color: var(--heading-dark) !important;
    cursor: pointer;
    flex-shrink: 0 !important;
    padding: 8px !important;
    transition: all 0.2s ease;
  }

  .mobile-toggle:hover {
    background: rgba(16, 155, 94, 0.15) !important;
    border-color: var(--primary-green) !important;
  }

  /* Slide-Out Navigation Drawer */
  .nav-menu {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: min(320px, 86vw) !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #FFFFFF !important;
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.28) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease !important;
    visibility: hidden !important;
    z-index: 1005 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-left: 3px solid var(--gold-accent) !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .nav-menu::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .nav-menu.active {
    right: 0 !important;
    visibility: visible !important;
  }

  /* Drawer Top Bar - Crisp pure white backdrop showcases full green & gold logo */
  .mobile-drawer-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 18px !important;
    background: #FFFFFF !important;
    border-bottom: 2px solid rgba(16, 155, 94, 0.16) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
    flex-shrink: 0 !important;
  }

  .mobile-drawer-brand {
    display: flex !important;
    align-items: center !important;
  }

  .mobile-drawer-brand img {
    height: 38px !important;
    width: auto !important;
    max-width: 170px !important;
    object-fit: contain !important;
    display: block !important;
  }

  .mobile-drawer-close {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: #F3F8F5 !important;
    border: 1px solid rgba(16, 155, 94, 0.25) !important;
    color: #095433 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
  }

  .mobile-drawer-close svg {
    width: 18px !important;
    height: 18px !important;
    stroke: #095433 !important;
    transition: stroke 0.2s ease !important;
  }

  .mobile-drawer-close:hover,
  .mobile-drawer-close:active {
    background: #FEE2E2 !important;
    border-color: #EF4444 !important;
    transform: rotate(90deg) scale(1.06) !important;
  }

  .mobile-drawer-close:hover svg,
  .mobile-drawer-close:active svg {
    stroke: #DC2626 !important;
  }

  /* Drawer Links */
  .nav-menu .nav-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 22px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--heading-dark) !important;
    border-bottom: 1px solid rgba(216, 236, 226, 0.6) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
  }

  .nav-menu .nav-link::after {
    display: none !important;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    background: rgba(16, 155, 94, 0.08) !important;
    color: var(--primary-green) !important;
    padding-left: 26px !important;
  }

  /* Drawer Bottom Actions */
  .mobile-drawer-footer {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    padding: 20px 22px;
    margin-top: auto;
    background: var(--surface-neutral);
    border-top: 1px solid var(--border-color);
  }

  .drawer-btn-trial {
    text-align: center;
    padding: 12px 18px !important;
    font-weight: 700 !important;
    border-radius: var(--radius-md) !important;
  }

  .drawer-btn-app {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 11px 18px !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    background: #FFFFFF !important;
    border: 1.5px solid var(--gold-accent) !important;
    color: #8C650A !important;
    border-radius: var(--radius-md) !important;
    text-decoration: none !important;
  }

  /* Header CTA Icon-Only Mode on Tablets */
  .nav-app-btn span {
    display: none !important;
  }

  .nav-app-btn {
    padding: 8px 10px !important;
    border-radius: 50% !important;
  }
}

/* Background scroll lock when mobile menu is active */
html.menu-open,
body.menu-open {
  overflow: hidden !important;
  height: 100% !important;
  touch-action: none !important;
}

/* 4. Responsive Breakpoint: Mobile Phones (<= 768px) */
@media (max-width: 768px) {
  .header {
    height: 68px !important;
  }

  .header.scrolled {
    height: 64px !important;
  }

  .brand-logo-img {
    height: 40px !important;
    width: auto !important;
    max-width: 140px !important;
  }

  /* Hide top utility/announcement bars on mobile phones so they don't scroll horizontally */
  .topbar,
  .top-bar {
    display: none !important;
  }

  /* Hide Get App button from top header on phones to eliminate crowding */
  .nav-app-btn {
    display: none !important;
  }

  .nav-cta-group {
    gap: 8px !important;
  }

  .nav-cta-group .btn-primary {
    padding: 8px 14px !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    border-radius: 50px !important;
  }

  /* Footer 5 columns stack gracefully */
  .footer-top-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    margin-bottom: 40px !important;
  }

  .footer-bottom-bar {
    flex-direction: column !important;
    gap: 14px !important;
    text-align: center !important;
  }

  .footer-bottom-links {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
  }

  /* Ensure comparison & pricing table wrappers adapt to 100% width mobile cards */
  .comparison-table-container,
  .pricing-table-responsive {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: visible !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  article {
    padding: 24px 18px !important;
  }

  .course-card-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* 5. Extra-Small Mobile Screens (<= 430px) */
@media (max-width: 430px) {
  .brand-logo-img {
    height: 36px !important;
    max-width: 120px !important;
  }

  .nav-cta-group {
    gap: 6px !important;
  }

  .nav-cta-group .btn-primary {
    padding: 7px 11px !important;
    font-size: 0.74rem !important;
  }

  .mobile-toggle {
    width: 36px !important;
    height: 36px !important;
    padding: 6px !important;
  }
}

/* ==========================================================================
   09A. DESKTOP CLASSROOM SHOWCASE SECTION (RESPONSIVE MASTER SYSTEM)
   ========================================================================== */
.desktop-app-showcase-section {
  padding: 95px 0;
  background: radial-gradient(circle at 50% 30%, #095433 0%, #053D2F 60%, #03251D 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--gold-accent);
  border-bottom: 3px solid var(--gold-accent);
}

.desktop-showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.desktop-showcase-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 158, 24, 0.2);
  border: 1px solid var(--gold-accent);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.desktop-showcase-title {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 18px;
  font-weight: 800;
}

.desktop-showcase-title span {
  background: linear-gradient(135deg, #F5C74C 0%, #D99E18 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.desktop-showcase-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 26px;
}

.desktop-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 32px;
}

.desktop-feature-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(4px);
}

.desktop-feature-card.feat-gold {
  border-left: 3px solid var(--gold-accent);
}

.desktop-feature-card.feat-green {
  border-left: 3px solid #20C982;
}

.desktop-feature-card h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.desktop-feature-card.feat-gold h4 {
  color: var(--gold-light);
}

.desktop-feature-card.feat-green h4 {
  color: #A5D6A7;
}

.desktop-feature-card p {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
  margin: 0;
}

.desktop-showcase-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-win-download {
  background: linear-gradient(135deg, #F5C74C 0%, #D99E18 100%) !important;
  color: #042E24 !important;
  font-weight: 800 !important;
  padding: 15px 28px !important;
  border-radius: var(--radius-md) !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(217, 158, 24, 0.4) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-win-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(217, 158, 24, 0.55) !important;
}

.btn-guide-download {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  padding: 15px 24px !important;
  border-radius: var(--radius-md) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-guide-download:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}

.desktop-portal-link {
  color: var(--gold-light) !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: underline !important;
  margin-left: 8px;
}

.desktop-showcase-trust {
  margin-top: 24px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.desktop-showcase-visual {
  position: relative;
  width: 100%;
}

.desktop-preview-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--gold-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  background: #042E24;
}

.desktop-preview-frame img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 991px) {
  .desktop-app-showcase-section {
    padding: 65px 0;
  }

  .desktop-showcase-grid {
    grid-template-columns: 1fr !important;
    gap: 36px;
  }

  .desktop-showcase-visual {
    max-width: 580px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .desktop-app-showcase-section {
    padding: 48px 0;
  }

  .desktop-features-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .desktop-showcase-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px;
  }

  .btn-win-download,
  .btn-guide-download {
    width: 100% !important;
    justify-content: center;
    text-align: center;
  }

  .desktop-portal-link {
    text-align: center;
    margin-left: 0 !important;
    padding-top: 4px;
  }

  .desktop-showcase-trust {
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   DOWNLOAD PAGE & ARCHITECT CARD MASTER RESPONSIVENESS
   ========================================================================== */
@media (max-width: 900px) {
  .architect-card {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 20px !important;
    margin: 20px auto 40px !important;
  }

  .architect-badge-icon {
    margin: 0 auto !important;
  }

  .architect-author-tag {
    margin: 0 auto !important;
  }

  .portal-hero-content {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .guide-banner-section {
    grid-template-columns: 1fr !important;
    padding: 32px 24px !important;
  }
}

@media (max-width: 600px) {
  .architect-card {
    padding: 22px 18px !important;
    border-radius: var(--radius-md) !important;
    margin: 15px auto 35px !important;
  }

  .portal-hero-title {
    font-size: clamp(1.85rem, 5.5vw, 2.5rem) !important;
  }

  .download-actions-card {
    padding: 22px 16px !important;
  }

  .btn-download-primary {
    padding: 14px 18px !important;
    font-size: 0.95rem !important;
  }

  .file-meta-row {
    flex-direction: column !important;
    gap: 6px !important;
    font-size: 0.82rem !important;
  }
}

/* ==========================================================================
   SACRED ISLAMIC CALLIGRAPHY & REFORMATION MISSION BANNER (FOOTER)
   ========================================================================== */
.footer-sacred-banner {
  background: linear-gradient(135deg, rgba(9, 84, 51, 0.95) 0%, rgba(13, 122, 74, 0.92) 50%, rgba(6, 56, 34, 0.97) 100%);
  border: 1.5px solid rgba(217, 158, 24, 0.45);
  border-radius: 20px;
  padding: 36px 28px;
  margin: 0 0 50px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(6, 56, 34, 0.35), 0 0 24px rgba(217, 158, 24, 0.15);
  text-align: center;
}

.footer-sacred-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(245, 199, 76, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.footer-sacred-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #F5C74C, #D99E18, #F5C74C, transparent);
}

.sacred-banner-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.sacred-durood-wrap {
  margin-bottom: 22px;
}

.sacred-arabic {
  font-family: 'Amiri', serif;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #FFFDF7;
  text-shadow: 0 2px 14px rgba(245, 199, 76, 0.5), 0 0 35px rgba(217, 158, 24, 0.3);
  display: inline-block;
  line-height: 1.6;
  direction: rtl;
  padding: 0 12px;
}

.sacred-icon {
  color: #F5C74C;
  font-size: 1.25rem;
  vertical-align: middle;
  animation: sacredPulse 3s infinite ease-in-out;
}

.sacred-transliteration {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #F5C74C;
  margin-top: 6px;
  text-transform: capitalize;
}

.sacred-translation {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  color: #D8ECE2;
  font-style: italic;
  margin-top: 4px;
}

.sacred-mission-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px 0;
  position: relative;
}

.sacred-mission-divider::before,
.sacred-mission-divider::after {
  content: '';
  flex: 1;
  max-width: 140px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 158, 24, 0.6), transparent);
}

.divider-ornament {
  color: #F5C74C;
  font-size: 1.35rem;
  padding: 0 16px;
  line-height: 1;
}

.sacred-mission-wrap {
  margin-top: 8px;
}

.sacred-urdu {
  font-family: 'Noto Nastaliq Urdu', 'Amiri', serif;
  font-size: clamp(1.4rem, 3.2vw, 2.15rem);
  font-weight: 700;
  color: #FFFDF7;
  line-height: 2.1;
  direction: rtl;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  margin-bottom: 6px;
}

.sacred-urdu-translation {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  color: #EBF7F1;
  font-style: italic;
  letter-spacing: 0.2px;
}

@keyframes sacredPulse {
  0%, 100% { opacity: 0.6; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.15); filter: drop-shadow(0 0 6px #F5C74C); }
}

/* ==========================================================================
   ISLAMIC FULL-SCREEN ANIMATED SPLASH SCREEN (2 SECONDS - TYPING & REVEAL)
   ========================================================================== */
#ayah-splash-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999999;
  background: radial-gradient(ellipse at 50% 50%, #084026 0%, #042B1A 45%, #02170D 85%, #010D07 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 24px;
  box-sizing: border-box;
  opacity: 1;
  visibility: visible;
  overflow: hidden;
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1), 
              filter 0.65s ease, 
              visibility 0.65s;
}

#ayah-splash-screen.splash-hidden {
  opacity: 0;
  transform: scale(1.05);
  filter: blur(8px);
  visibility: hidden;
  pointer-events: none;
}

.splash-ambient-bg {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 50% 35%, rgba(245, 199, 76, 0.16) 0%, transparent 55%),
    radial-gradient(circle at 15% 75%, rgba(16, 185, 129, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(217, 158, 24, 0.14) 0%, transparent 45%);
  pointer-events: none;
  animation: ambientFloat 4s ease-in-out infinite alternate;
}

@keyframes ambientFloat {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.06); opacity: 1; }
}

.splash-arch-backdrop {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(245, 199, 76, 0.12);
  border-radius: 40px;
  pointer-events: none;
  box-shadow: inset 0 0 100px rgba(4, 43, 26, 0.65);
}

.splash-arch-backdrop::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 60px;
  border: 1px solid rgba(245, 199, 76, 0.22);
  border-top: none;
  border-radius: 0 0 120px 120px;
}

.splash-full-wrapper {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: auto;
}

/* Crown / Bismillah */
.splash-crown-symbol {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  opacity: 0;
  animation: splashFadeInDown 0.6s ease forwards 0.05s;
}

.crown-icon {
  color: #F5C74C;
  font-size: 0.85rem;
  filter: drop-shadow(0 0 6px rgba(245, 199, 76, 0.8));
}

.crown-bismillah {
  font-family: 'Amiri', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 700;
  color: #F5C74C;
  letter-spacing: 1.5px;
  text-shadow: 0 0 14px rgba(245, 199, 76, 0.5);
}

/* Durood Section */
.splash-durood-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.splash-type-track {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.splash-arabic-calligraphy {
  font-family: 'Amiri', serif;
  font-size: clamp(2.2rem, 5.8vw, 4.4rem);
  font-weight: 700;
  direction: rtl;
  line-height: 1.45;
  margin: 0;
  padding: 0 6px;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF3CC 25%, #F5C74C 50%, #E5A817 75%, #FFFFFF 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 26px rgba(245, 199, 76, 0.5));
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  animation: 
    rtlTypeReveal 0.85s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.08s,
    goldShimmerText 2.4s linear infinite;
}

.splash-quill-glow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 75%;
  background: #FFFDF7;
  box-shadow: 0 0 16px 5px #F5C74C, 0 0 32px 10px rgba(245, 199, 76, 0.85);
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
}

.durood-quill {
  animation: quillMoveDurood 0.85s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.08s;
}

@keyframes quillMoveDurood {
  0% { right: 0%; opacity: 1; }
  92% { right: 100%; opacity: 1; }
  100% { right: 100%; opacity: 0; }
}

.splash-translit-text {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1rem, 2vw, 1.32rem);
  font-weight: 600;
  color: #F5C74C;
  letter-spacing: 0.8px;
  margin-top: 10px;
  opacity: 0;
  animation: splashFadeInUp 0.5s ease forwards 0.35s;
}

/* Separator */
.splash-ornament-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 580px;
  margin: 22px auto;
  opacity: 0;
  animation: splashFadeInUp 0.5s ease forwards 0.45s;
}

.separator-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 199, 76, 0.8), transparent);
}

.separator-star {
  color: #F5C74C;
  font-size: 1.45rem;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(245, 199, 76, 0.9));
  animation: starPulse 2.2s ease-in-out infinite;
}

@keyframes starPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(245, 199, 76, 0.7)); }
  50% { transform: scale(1.22); filter: drop-shadow(0 0 18px rgba(245, 199, 76, 1)); }
}

/* Mission Section */
.splash-mission-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.splash-urdu-calligraphy {
  font-family: 'Noto Nastaliq Urdu', 'Amiri', serif;
  font-size: clamp(1.65rem, 3.8vw, 2.85rem);
  font-weight: 700;
  direction: rtl;
  line-height: 2.3;
  color: #FFFFFF;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), 0 0 35px rgba(16, 185, 129, 0.4);
  margin: 0;
  padding: 0 12px;
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  animation: rtlTypeRevealUrdu 0.9s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.55s;
}

.mission-quill {
  animation: quillMoveMission 0.9s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.55s;
}

@keyframes quillMoveMission {
  0% { right: 0%; opacity: 1; }
  92% { right: 100%; opacity: 1; }
  100% { right: 100%; opacity: 0; }
}

.splash-translation-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.95rem, 1.55vw, 1.2rem);
  color: #D8ECE2;
  font-style: italic;
  margin-top: 6px;
  letter-spacing: 0.3px;
  opacity: 0;
  animation: splashFadeInUp 0.5s ease forwards 0.85s;
}

/* Laser Timer Bar */
.splash-laser-timer {
  width: 280px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  margin-top: 36px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.4);
}

.splash-laser-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #10B981, #F5C74C, #FBBF24);
  box-shadow: 0 0 12px #F5C74C;
  border-radius: 999px;
  transition: width 1.9s cubic-bezier(0.1, 0.7, 0.1, 1);
}

/* Shared Keyframes */
@keyframes rtlTypeReveal {
  0% {
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

@keyframes rtlTypeRevealUrdu {
  0% {
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

@keyframes goldShimmerText {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes splashFadeInDown {
  0% { opacity: 0; transform: translateY(-14px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes splashFadeInUp {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 600px) {
  #ayah-splash-screen {
    padding: 20px 14px;
  }
  .splash-arch-backdrop {
    inset: 12px;
    border-radius: 24px;
  }
  .splash-arch-backdrop::before {
    width: 160px;
    height: 40px;
  }
  .splash-arabic-calligraphy {
    font-size: 1.85rem;
    line-height: 1.5;
  }
  .splash-translit-text {
    font-size: 0.9rem;
  }
  .splash-urdu-calligraphy {
    font-size: 1.35rem;
    line-height: 2.15;
  }
  .splash-translation-text {
    font-size: 0.85rem;
  }
  .splash-laser-timer {
    width: 200px;
    margin-top: 24px;
  }
  .footer-sacred-banner {
    padding: 24px 16px;
    border-radius: 16px;
  }
}

