/*
Theme Name: Sabeely Academy
Theme URI: https://sabeely.com
Author: Sabeely Team
Author URI: https://sabeely.com
Description: Sabeely Academy - Elite Quran, Tajweed and Arabic Learning Platform Theme. Features full responsive layout, custom animations, bilingual support, and complete page templates.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sabeely
Tags: education, custom-menu, featured-images, full-width-template, theme-options, translation-ready
*/

/* ==========================================================================
   SABEELY ACADEMY - SIGNATURE STYLESHEET
   Harmonious blend of modern multi-section layout & Sabeely's authentic colors
   Color Palette:
   - Header Background: #FAF6F0
   - Footer Background: #3D2B1F
   - Gold Accent: #B49064 / #C9A87C
   - Olive Green Accent: #8A9A5B
   - Dark Sections Canvas: #170700
   ========================================================================== */

:root {
  /* Sabeely Signature Palette */
  --cream: #FAF6F0;
  --cream-light: #FDFBF7;
  --cream-dark: #F4EBDD;
  --brown-dark: #3D2B1F;
  --brown-darker: #170700;
  --brown-medium: #5F4134;
  --brown-card: #2B160E;
  --brown-card-hover: #4A3127;
  --brown-light: #5F4134;
  --brown-muted: #7A6A58;

  /* Gold */
  --gold: #B49064;
  --gold-light: #C9A87C;
  --gold-dark: #967448;
  --gold-glow: rgba(180, 144, 100, 0.35);
  --gold-border: rgba(180, 144, 100, 0.28);

  /* Olive Green */
  --olive: #8A9A5B;
  --olive-light: #A0B071;
  --olive-dark: #6E7D44;

  /* Neutral & Base */
  --white: #FFFFFF;
  --text-dark: #3D2B1F;
  --text-body: #4A3127;
  --text-light: #FAF6F0;
  --text-dim: #F4EBDD;
  --text-muted: #7A6A58;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-arabic: 'Amiri', 'Traditional Arabic', serif;

  /* Gradients */
  --btn-gradient: linear-gradient(135deg, #B49064 0%, #8A9A5B 100%);
  --btn-gradient-hover: linear-gradient(135deg, #C9A87C 0%, #A0B071 100%);
  --gold-gradient: linear-gradient(135deg, #F4EBDD 0%, #C9A87C 50%, #B49064 100%);
  --gold-text-gradient: linear-gradient(135deg, #FAF6F0 0%, #C9A87C 60%, #B49064 100%);
  --card-dark-gradient: linear-gradient(145deg, #4A3127 0%, #170700 100%);

  /* Shadows & Transitions */
  --shadow-sm: 0 4px 6px -1px rgba(23, 7, 0, 0.08);
  --shadow-md: 0 10px 20px -3px rgba(23, 7, 0, 0.15);
  --shadow-lg: 0 20px 30px -5px rgba(23, 7, 0, 0.25);
  --shadow-gold: 0 8px 25px rgba(180, 144, 100, 0.35);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: var(--font-family);
  background-color: var(--brown-darker);
  color: var(--text-light);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   HEADER & NAVIGATION (#FAF6F0 & #3D2B1F)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #FAF6F0;
  border-bottom: 1px solid rgba(61, 43, 31, 0.08);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background-color: #FAF6F0;
  box-shadow: 0 4px 20px rgba(61, 43, 31, 0.08);
  border-bottom: 1px solid rgba(61, 43, 31, 0.12);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  padding: 0 32px;
  max-width: 1240px;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.site-logo:hover img {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #3D2B1F;
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.2px;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--gold);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-btn-journey {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #3D2B1F;
  color: #FAF6F0;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 9999px;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.nav-btn-journey:hover {
  background-color: #5F4134;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(61, 43, 31, 0.25);
}

.nav-btn-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #3D2B1F;
  color: #FAF6F0;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}

.nav-btn-lang:hover {
  background-color: #5F4134;
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Mobile Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #3D2B1F;
  outline: none;
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
}

/* Mobile Drawer */
.mobile-nav {
  position: fixed;
  top: 78px;
  left: 0;
  width: 100%;
  background: #FAF6F0;
  border-bottom: 2px solid rgba(61, 43, 31, 0.1);
  box-shadow: 0 10px 30px rgba(61, 43, 31, 0.1);
  padding: 24px 32px;
  display: none;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

.mobile-nav.open {
  display: flex;
}

.mobile-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: #3D2B1F;
  padding: 8px 0;
  border-bottom: 1px solid rgba(61, 43, 31, 0.06);
}

.mobile-btn-journey {
  display: inline-block;
  text-align: center;
  background-color: #3D2B1F;
  color: #FAF6F0;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 9999px;
  margin-top: 8px;
}

/* ==========================================================================
   BUTTONS & TYPOGRAPHY
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--btn-gradient);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 9999px;
  box-shadow: var(--shadow-gold);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(180, 144, 100, 0.5);
  background: var(--btn-gradient-hover);
  color: #ffffff;
}

.gradient-title {
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

/* ==========================================================================
   HERO SECTION (Original Sabeely Banner)
   ========================================================================== */
.hero {
  padding-top: 78px;
  position: relative;
  background-color: #FAF6F0;
  width: 100%;
}

.hero-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-container picture {
  display: block;
  width: 100%;
}

.hero-bg-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-overlay-content {
  position: absolute;
  left: 8.5%;
  top: 18%;
  z-index: 10;
  max-width: 48%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4vw;
}

.hero-subtitle {
  font-family: var(--font-family);
  font-size: clamp(0.75rem, 1.1vw, 1.05rem);
  font-weight: 700;
  color: var(--olive, #8A9A5B);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-heading), 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.8vw, 3.6rem);
  font-weight: 700;
  color: #3D2B1F;
  line-height: 1.22;
  margin: 0;
}

.hero-para {
  font-family: var(--font-family);
  font-size: clamp(0.88rem, 1.2vw, 1.15rem);
  color: #4A3127;
  line-height: 1.75;
  font-weight: 500;
  margin: 0;
}

.hero-btn {
  font-family: var(--font-family);
  display: inline-block;
  padding: 14px 44px;
  background: #3D2B1F;
  color: #FAF6F0;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.35s ease;
  box-shadow: 0 4px 15px rgba(61, 43, 31, 0.2);
  margin-top: 0.5vw;
  text-decoration: none;
}

.hero-btn:hover {
  background: #5F4134;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(61, 43, 31, 0.35);
}

/* ==========================================================================
   AYAH BANNER SECTION
   ========================================================================== */
.ayah-banner-section {
  background-color: var(--cream);
  padding: 50px 0 30px;
  text-align: center;
}

.ayah-banner-section img {
  max-width: 820px;
  width: 88%;
  margin: 0 auto;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

/* ==========================================================================
   WHY US SECTION ("Discover why we stand out!")
   ========================================================================== */
.why-us-section {
  background-color: #3D2B1F;
  color: var(--cream);
  padding: 100px 0 140px;
  position: relative;
  overflow: visible;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  align-items: flex-start;
  position: relative;
}

.why-us-left {
  position: sticky;
  top: calc(50vh - 140px);
  align-self: flex-start;
  text-align: center;
  padding: 20px 10px;
  z-index: 10;
}

.why-us-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 24px;
  color: #FFFFFF;
  text-align: center;
  font-family: var(--font-heading), 'Playfair Display', serif;
  letter-spacing: -0.5px;
}

.why-us-intro {
  font-size: 1.25rem;
  line-height: 1.75;
  font-style: italic;
  color: var(--cream-dark);
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.why-us-features {
  display: flex;
  flex-direction: column;
  gap: 65px;
  padding-top: 10px;
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 45px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.why-us-emblem-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
}

.why-us-emblem-img {
  max-width: 320px;
  width: 100%;
  height: auto;
  opacity: 0;
  transform: scale3d(0.3, 0.3, 0.3);
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.5));
  display: block;
  will-change: transform, opacity;
}

.why-us-emblem-img.visible,
.why-us-emblem-img.animate-in {
  opacity: 1;
  transform: scale3d(1, 1, 1);
  animation: zoomIn 0.95s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.why-us-emblem-img:hover {
  transform: scale(1.04);
}

.feature-item,
.feature-box {
  background: transparent;
  border: none;
  padding: 10px 16px;
  text-align: center;
  opacity: 0;
  transform: translate3d(0, 45px, 0);
  will-change: transform, opacity;
}

.feature-item.visible,
.feature-item.animate-in,
.feature-box.visible,
.feature-box.animate-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  animation: fadeInUp 0.85s cubic-bezier(0.25, 1, 0.5, 1) both;
}

.feature-item:hover,
.feature-box:hover {
  transform: translateY(-4px);
}

.feature-item-title,
.feature-box h3 {
  font-size: 1.95rem;
  font-weight: 700;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 16px;
  line-height: 1.3;
  font-family: var(--font-heading), 'Playfair Display', serif;
  text-align: center;
}

.feature-item-desc,
.feature-box p {
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--cream);
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

/* ==========================================================================
   TEACHERS PLATFORM SECTION
   ========================================================================== */
.teachers-platform-section {
  background-color: var(--cream);
  color: var(--text-dark);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.teachers-watermark-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(80px, 14vw, 220px);
  font-weight: 900;
  color: rgba(61, 43, 31, 0.035);
  text-transform: uppercase;
  letter-spacing: 12px;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 1;
}

.teachers-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 70px;
  position: relative;
  z-index: 2;
}

.teachers-pretitle {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 12px;
}

.teachers-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--brown-dark);
  line-height: 1.15;
  margin-bottom: 16px;
  font-family: var(--font-heading), var(--font-family);
}

.teachers-subtitle-badge {
  display: inline-block;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--olive-dark);
  background: rgba(138, 154, 91, 0.15);
  padding: 6px 20px;
  border-radius: 9999px;
}

.teachers-showcase-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
}

.teachers-showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.teachers-showcase-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.teachers-showcase-img img {
  width: 100%;
  max-width: 380px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(23, 7, 0, 0.12));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.teachers-showcase-img:hover img {
  transform: scale(1.05) translateY(-6px);
  filter: drop-shadow(0 22px 45px rgba(23, 7, 0, 0.18));
}

.teachers-showcase-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.teachers-feature-title {
  font-size: 2.1rem;
  font-weight: 700;
  font-style: italic;
  color: #2AA889;
  line-height: 1.3;
  margin-bottom: 16px;
  font-family: var(--font-family);
}

.teachers-feature-desc {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 22px;
}

.teachers-feature-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1E6091;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: var(--transition);
  display: inline-block;
  align-self: flex-start;
}

.teachers-feature-link:hover {
  color: var(--gold-dark);
  text-decoration-color: var(--gold-dark);
  transform: translateX(4px);
}

/* Scroll Animations: fadeInLeft & fadeInRight matching quranguides.org */
.showcase-left {
  opacity: 0;
  transform: translateX(-70px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.showcase-right {
  opacity: 0;
  transform: translateX(70px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.teachers-showcase-row.animate-in .showcase-left,
.teachers-showcase-row.animate-in .showcase-right {
  opacity: 1;
  transform: translateX(0);
}

.no-cc-badge {
  display: block;
  font-size: 0.85rem;
  color: var(--brown-muted);
  margin-top: 8px;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  background-color: #3D2B1F;
  color: var(--cream);
  padding: 110px 0;
}

.testimonials-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.testimonials-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  font-family: var(--font-heading), var(--font-family);
}

.testimonials-subtitle {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--gold-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.speech-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.speech-bubble {
  background: linear-gradient(145deg, #3D2B1F 0%, #170700 100%);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  padding: 40px 36px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: var(--transition);
}

.speech-bubble:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.35rem;
  letter-spacing: 4px;
  margin-bottom: 18px;
}

.speech-bubble p {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--cream);
  font-style: italic;
}

.journey-cta-box {
  margin-top: 60px;
  background: linear-gradient(135deg, rgba(74, 49, 39, 0.4) 0%, rgba(23, 7, 0, 0.6) 100%);
  border: 1px solid var(--gold-border);
  border-radius: 18px;
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 36px;
  text-align: left;
}

.journey-cta-box h3 {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.3;
}

.journey-cta-box p {
  font-size: 1.05rem;
  color: var(--cream-dark);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ==========================================================================
   TUITION SECTION
   ========================================================================== */
.tuition-section {
  background-color: var(--cream);
  color: var(--text-dark);
  padding: 110px 0;
}

.tuition-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.tuition-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--brown-dark);
  margin-bottom: 12px;
  font-family: var(--font-heading), var(--font-family);
}

.tuition-subtitle {
  font-size: 1.25rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* Special Gift Banner (Custom Sabeely Card) */
.tuition-gift-card {
  max-width: 960px;
  margin: 0 auto 60px;
  background: #3D2B1F;
  border: 2px solid var(--gold);
  border-radius: 18px;
  padding: 36px 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 36px;
  box-shadow: 0 16px 36px rgba(23, 7, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.tuition-gift-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(180, 144, 100, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.gift-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(180, 144, 100, 0.18);
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

.gift-card-left h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 12px;
}

.gift-card-left p {
  font-size: 1.1rem;
  color: var(--cream-dark);
  margin-bottom: 20px;
  line-height: 1.5;
}

.gift-card-right {
  display: flex;
  justify-content: center;
}

.discount-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, #c53030 0%, #9b2c2c 100%);
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 24px rgba(197, 48, 48, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  transform: rotate(-8deg);
  transition: transform 0.3s ease;
}

.discount-circle:hover {
  transform: rotate(0deg) scale(1.05);
}

.discount-circle .up-to {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.discount-circle .percent {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}

.discount-circle .off {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 2px;
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.price-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 36px 24px;
  text-align: center;
  border: 1px solid rgba(61, 43, 31, 0.1);
  box-shadow: 0 10px 25px rgba(61, 43, 31, 0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(61, 43, 31, 0.12);
}

.price-card-plan {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--olive);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.price-card-duration {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brown-dark);
  margin-bottom: 20px;
}

.price-card-amount {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--brown-dark);
  margin-bottom: 24px;
}

.price-currency {
  font-size: 1.5rem;
  vertical-align: super;
}

.price-period {
  font-size: 1rem;
  color: var(--text-body);
  font-weight: 500;
}

.price-features {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
  flex-grow: 1;
}

.price-features li {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 12px;
  padding-left: 22px;
  position: relative;
}

.price-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--olive);
}

.price-btn {
  background: var(--btn-gradient);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: var(--transition);
}

.price-btn:hover {
  background: var(--btn-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(180, 144, 100, 0.4);
}

/* Accordions */
.accordion-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

.accordion-item {
  border: 1px solid rgba(180, 144, 100, 0.25);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 22px 28px;
  background: #ffffff;
  color: var(--brown-dark);
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: left;
  transition: var(--transition);
}

.accordion-header:hover {
  background: var(--cream-dark);
}

.accordion-icon {
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background-color: rgba(23, 7, 0, 0.03);
  color: var(--text-body);
  padding: 0 28px;
}

.accordion-item.active .accordion-body {
  max-height: 800px;
  padding: 24px 28px 32px;
  border-top: 1px solid rgba(180, 144, 100, 0.15);
}

.money-back-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.money-back-content p {
  font-size: 1.1rem;
  line-height: 1.7;
}

.money-back-content strong {
  color: var(--brown-dark);
}

.money-back-badge {
  max-width: 120px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* ==========================================================================
   VIDEO LIBRARY SECTION
   ========================================================================== */
.video-section {
  background-color: var(--white);
  color: var(--text-dark);
  padding: 100px 0;
}

.video-section .container {
  max-width: 1280px;
}

.video-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.video-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--brown-dark);
  margin-bottom: 12px;
  font-family: var(--font-heading), var(--font-family);
}

.video-subtitle {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--olive);
}

.playlist-container {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  background: var(--brown-darker);
  border: 1px solid var(--gold-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(23, 7, 0, 0.4);
  max-width: 1260px;
  width: 100%;
  margin: 0 auto;
}

.video-player-pane {
  position: relative;
  background: #000000;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 440px;
}

.video-player-pane iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.playlist-pane {
  background: var(--brown-darker);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  border-left: 1px solid var(--gold-border);
}

.playlist-pane-header {
  padding: 18px 24px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  background: var(--brown-dark);
  border-bottom: 1px solid var(--gold-border);
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.playlist-items-list {
  overflow-y: auto;
  list-style: none;
  flex-grow: 1;
}

.playlist-items-list::-webkit-scrollbar {
  width: 6px;
}

.playlist-items-list::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

.playlist-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: var(--transition);
}

.playlist-item:last-child {
  border-bottom: none;
}

.playlist-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.playlist-item.active {
  background: rgba(180, 144, 100, 0.2);
  border-left: 4px solid var(--gold);
}

.playlist-thumb {
  position: relative;
  width: 92px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #000000;
}

.playlist-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.65);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon svg {
  width: 10px;
  height: 10px;
  fill: #ffffff;
}

.playlist-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.playlist-item-title {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.4;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

.playlist-item-dur {
  font-size: 0.8rem;
  color: var(--gold-light);
  font-weight: 500;
}

/* ==========================================================================
   BLOG SECTION
   ========================================================================== */
.blog-section {
  background-color: var(--cream);
  color: var(--text-dark);
  padding: 110px 0;
}

.blog-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.blog-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--brown-dark);
  margin-bottom: 12px;
  font-family: var(--font-heading), var(--font-family);
}

.blog-subtitle {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--olive);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 50px;
}

.blog-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(61, 43, 31, 0.08);
  border: 1px solid rgba(180, 144, 100, 0.15);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(61, 43, 31, 0.15);
  border-color: var(--gold);
}

.blog-thumb-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.blog-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb-wrap img {
  transform: scale(1.06);
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1.4;
  margin-bottom: 16px;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
  color: var(--gold-dark);
}

.blog-read-more {
  margin-top: auto;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--olive);
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-see-more-wrap {
  text-align: center;
}

.btn-see-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--btn-gradient);
  color: #ffffff;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 9999px;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
}

.btn-see-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(180, 144, 100, 0.5);
  background: var(--btn-gradient-hover);
}

/* ==========================================================================
   FOOTER SECTION (#3D2B1F & #FAF6F0)
   ========================================================================== */
.site-footer {
  background-color: #3D2B1F;
  color: #FAF6F0;
  padding: 70px 0 35px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(180, 144, 100, 0.18);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-about {
  flex: 0 1 520px;
  max-width: 520px;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.footer-about-text {
  font-family: var(--font-heading), 'Playfair Display', Georgia, serif;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(250, 246, 240, 0.85);
  margin: 0;
}

.footer-links-col {
  min-width: 180px;
}

.footer-quick-title {
  font-family: var(--font-heading), 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--gold);
  letter-spacing: 0.3px;
}

.footer-quick-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-quick-links li a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(250, 246, 240, 0.85);
  transition: all 0.25s ease;
  display: inline-block;
  text-decoration: none;
}

.footer-quick-links li a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(250, 246, 240, 0.12);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 14px;
  color: rgba(250, 246, 240, 0.65);
  margin: 0;
}

.footer-lang-wrap {
  display: flex;
  align-items: center;
}

.footer-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(250, 246, 240, 0.08);
  color: #FAF6F0;
  border: 1px solid rgba(180, 144, 100, 0.35);
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  text-decoration: none;
}

.footer-lang-btn:hover {
  background-color: #FAF6F0;
  color: #3D2B1F;
  border-color: #FAF6F0;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.footer-lang-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* Floating Back To Top Button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--btn-gradient);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(23, 7, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 990;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(180, 144, 100, 0.4);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .why-us-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .why-us-left {
    position: sticky;
    top: 76px;
    align-self: flex-start;
    z-index: 25;
    background-color: #3D2B1F;
    box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.45);
    padding: 16px 20px 22px;
    text-align: center;
    width: 100%;
    border-radius: 0 0 16px 16px;
  }
  .teachers-showcase-row {
    gap: 40px;
  }
  .teachers-showcase-img img {
    max-width: 320px;
  }
  .teachers-feature-title {
    font-size: 1.85rem;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .playlist-container {
    grid-template-columns: 1fr;
  }
  .video-player-pane {
    min-height: unset;
  }
  .playlist-pane {
    max-height: 400px;
    border-left: none;
    border-top: 1px solid var(--gold-border);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .teachers-showcase-row {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .teachers-showcase-list {
    gap: 60px;
  }
  .teachers-showcase-row.reverse-on-mobile .teachers-showcase-img {
    order: 1;
  }
  .teachers-showcase-row.reverse-on-mobile .teachers-showcase-content {
    order: 2;
  }
  .teachers-showcase-img img {
    max-width: 300px;
  }
  .teachers-feature-title {
    font-size: 1.75rem;
  }
  .teachers-feature-link {
    align-self: center;
  }
  /* On mobile / tablet use vertical slide to prevent horizontal overflow */
  .showcase-left,
  .showcase-right {
    transform: translateY(35px);
  }
  .teachers-showcase-row.animate-in .showcase-left,
  .teachers-showcase-row.animate-in .showcase-right {
    transform: translateY(0);
  }
  .journey-cta-box {
    grid-template-columns: 1fr;
    padding: 36px 30px;
    gap: 24px;
    text-align: center;
  }
  .journey-cta-box h3 {
    text-align: center;
    font-size: 1.6rem;
  }
  .journey-cta-box p {
    text-align: center;
  }
  .journey-cta-box .btn-primary {
    margin: 0 auto;
    display: inline-flex;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero {
    padding-top: 78px;
    margin-bottom: 0 !important;
    overflow: visible !important;
  }
  .hero-container {
    overflow: visible !important;
  }
  .hero-overlay-content {
    position: absolute !important;
    left: 6.5% !important;
    top: 21% !important;
    width: 56% !important;
    max-width: 56% !important;
    padding: 0 !important;
    background: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 8px !important;
    z-index: 10;
  }
  .hero-subtitle {
    font-size: clamp(0.65rem, 2.2vw, 0.85rem) !important;
    letter-spacing: 1px !important;
    font-weight: 700 !important;
    color: var(--olive, #8A9A5B) !important;
    line-height: 1.3 !important;
    margin-bottom: 2px !important;
  }
  .hero-title {
    font-size: clamp(1.25rem, 4.6vw, 2.1rem) !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    color: #3D2B1F !important;
    margin-bottom: 4px !important;
  }
  .hero-para {
    font-size: clamp(0.72rem, 2.6vw, 0.95rem) !important;
    line-height: 1.45 !important;
    max-width: 100% !important;
    color: #4A3127 !important;
    margin-bottom: 4px !important;
  }
  .hero-btn {
    padding: 10px 22px !important;
    font-size: clamp(0.7rem, 2.4vw, 0.85rem) !important;
    margin-top: 4px !important;
    letter-spacing: 1px !important;
  }
  .why-us-section {
    padding: 50px 0 100px;
    overflow: visible;
  }
  .why-us-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    position: relative;
  }
  .why-us-left {
    position: sticky !important;
    top: 76px !important;
    align-self: flex-start;
    z-index: 25 !important;
    background-color: #3D2B1F !important;
    box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.5) !important;
    padding: 14px 12px 20px !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    border-radius: 0 0 16px 16px;
  }
  .why-us-title {
    font-size: 1.95rem;
    line-height: 1.18;
    text-align: center;
    margin-bottom: 8px;
    color: #FFFFFF;
  }
  .why-us-intro {
    text-align: center;
    margin: 0 auto;
    max-width: 480px;
    font-size: 0.92rem;
    line-height: 1.48;
    color: var(--cream-dark);
  }
  .why-us-features {
    display: flex;
    flex-direction: column;
    gap: 44px;
    padding-top: 10px;
    position: relative;
    z-index: 10;
  }
  .why-us-emblem-wrap {
    display: flex;
    justify-content: center !important;
    align-items: center;
    width: 100%;
    margin: 8px auto 16px;
    text-align: center;
  }
  .why-us-emblem-img {
    margin: 0 auto !important;
    display: block;
    max-width: 210px;
    width: 100%;
    height: auto;
  }
  .feature-item,
  .feature-box {
    padding: 8px 12px;
  }
  .feature-item-title,
  .feature-box h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--gold-light);
  }
  .feature-item-desc,
  .feature-box p {
    font-size: 0.92rem;
    line-height: 1.62;
    color: var(--cream);
  }
  .teachers-title,
  .testimonials-title,
  .tuition-title,
  .video-title,
  .blog-title {
    font-size: 2.4rem;
  }
  .teachers-showcase-img img {
    max-width: 270px;
  }
  .teachers-feature-title {
    font-size: 1.6rem;
  }
  .teachers-watermark-bg {
    font-size: 70px;
    letter-spacing: 6px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .tuition-gift-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 20px;
  }
  .gift-card-left {
    order: 2;
  }
  .discount-circle {
    margin: 0 auto;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .journey-cta-box {
    grid-template-columns: 1fr;
    padding: 30px 20px;
    gap: 20px;
    text-align: center;
    margin-top: 36px;
  }
  .journey-cta-box h3 {
    font-size: 1.45rem;
    line-height: 1.35;
    text-align: center;
  }
  .journey-cta-box p {
    font-size: 0.98rem;
    line-height: 1.65;
    text-align: center;
    margin-bottom: 20px;
  }
  .journey-cta-box .btn-primary {
    width: 100%;
    max-width: 290px;
    margin: 0 auto;
    display: inline-flex;
    justify-content: center;
    text-align: center;
  }
  .journey-cta-box .no-cc-badge {
    display: block;
    margin: 8px auto 0;
    text-align: center;
  }
  .site-footer {
    padding: 40px 0 24px;
    background-color: #3D2B1F;
    border-top: 1px solid rgba(180, 144, 100, 0.18);
  }
  .footer-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 24px;
    margin-bottom: 24px;
    text-align: left;
  }
  .footer-about {
    flex: none !important;
    max-width: 100%;
    text-align: left;
  }
  .footer-logo-link {
    display: inline-block;
    margin-bottom: 16px;
  }
  .footer-logo {
    height: 46px;
    width: auto;
    object-fit: contain;
  }
  .footer-about-text {
    font-family: var(--font-heading), 'Playfair Display', Georgia, serif;
    font-size: 15px;
    line-height: 1.85;
    color: rgba(250, 246, 240, 0.85);
    margin: 0;
    text-align: left;
  }
  .footer-links-col {
    text-align: left;
    min-width: auto;
  }
  .footer-quick-title {
    font-family: var(--font-heading), 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 16px;
    text-align: left;
  }
  .footer-quick-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
    align-items: flex-start;
  }
  .footer-quick-links li a {
    font-size: 15px;
    color: rgba(250, 246, 240, 0.85);
    text-align: left;
  }
  .footer-bottom {
    border-top: 1px solid rgba(250, 246, 240, 0.12);
    padding-top: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
  }
  .footer-bottom p {
    font-size: 13px;
    color: rgba(250, 246, 240, 0.55);
    text-align: center;
  }
  .money-back-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .money-back-badge {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .teachers-platform-section {
    padding: 60px 0;
  }
  .teachers-showcase-list {
    gap: 48px;
  }
  .teachers-showcase-img img {
    max-width: 230px;
  }
  .teachers-feature-title {
    font-size: 1.4rem;
  }
  .teachers-feature-desc {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 18px;
  }
  .teachers-title {
    font-size: 2rem;
  }
  .hero-title {
    font-size: 1.35rem;
  }
  .container {
    padding: 0 16px;
  }
  .journey-cta-box {
    padding: 24px 16px;
    border-radius: 16px;
  }
  .journey-cta-box h3 {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   THREE SECTIONS (LRG, WHY SABEELY, YOUR JOURNEY)
   ========================================================================== */

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered animation delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ===== DECORATIVE DIVIDER ===== */
.section-divider {
  text-align: center;
  padding: 20px 0;
  background-color: #FAF6F0;
  width: 100%;
}

.section-divider .divider-line {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--gold);
}

.section-divider .divider-line::before,
.section-divider .divider-line::after {
  content: '';
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-divider .divider-line span {
  font-size: 1.1rem;
  color: var(--gold);
  line-height: 1;
}

/* ===== LEARN REFLECT GROW SECTION ===== */
.lrg-section {
  padding: 60px 0 100px;
  background-color: #FAF6F0;
}

.lrg-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.lrg-section .section-header img {
  margin: 0 auto;
  max-width: 420px;
}

.lrg-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.lrg-card {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.lrg-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--olive), var(--gold));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.lrg-card:hover {
  transform: translateY(-8px);
  filter: drop-shadow(0 16px 24px rgba(61, 43, 31, 0.1));
}

.lrg-card:hover::before {
  transform: scaleX(1);
}

.lrg-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.lrg-dots {
  display: none;
}

/* ===== WHY SABEELY SECTION ===== */
.why-section {
  padding: 80px 0;
  background-color: #FAF6F0;
}

.why-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.why-section .section-header img {
  margin: 0 auto;
  max-width: 350px;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.why-card {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
  transition: all 0.4s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  filter: drop-shadow(0 14px 20px rgba(61, 43, 31, 0.1));
}

.why-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== YOUR JOURNEY SECTION ===== */
.journey-section {
  padding: 80px 0;
  background-color: #FAF6F0;
}

.journey-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.journey-section .section-header img {
  margin: 0 auto;
  max-width: 350px;
}

.journey-steps {
  max-width: 1000px;
  margin: 0 auto;
}

.journey-steps img {
  width: 100%;
  height: auto;
}

.mobile-journey-timeline,
.mobile-journey-container {
  display: none !important;
}

/* ===== PHONE / MOBILE EDITION SPECIFIC ANIMATIONS ===== */
@media (max-width: 768px) {
  .lrg-section {
    padding: 30px 0 40px !important;
    overflow: hidden !important;
  }

  .lrg-cards {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 24px !important;
    max-width: 280px !important;
    margin: 0 auto !important;
  }

  .lrg-card {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: 0 8px 24px rgba(61, 43, 31, 0.08) !important;
    border-radius: 12px !important;
    opacity: 1 !important;
  }

  .lrg-cards.coverflow {
    flex-direction: row !important;
    position: relative !important;
    justify-content: center !important;
    align-items: center !important;
    height: 340px !important;
    max-width: 100% !important;
    perspective: 800px !important;
    overflow: visible !important;
  }

  .lrg-cards.coverflow .lrg-card {
    position: absolute !important;
    width: 220px !important;
    max-width: 220px !important;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
    cursor: pointer !important;
    transform-style: preserve-3d !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .lrg-cards.coverflow .lrg-card.active {
    transform: translate3d(0, 0, 0) scale(1.05) !important;
    z-index: 3 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    box-shadow: 0 14px 32px rgba(61, 43, 31, 0.14) !important;
    filter: none !important;
  }

  .lrg-cards.coverflow .lrg-card.prev {
    transform: translate3d(-110px, 0, -100px) rotateY(25deg) scale(0.85) !important;
    z-index: 2 !important;
    opacity: 0.75 !important;
    pointer-events: auto !important;
    filter: grayscale(15%) blur(0.3px) !important;
  }

  .lrg-cards.coverflow .lrg-card.next {
    transform: translate3d(110px, 0, -100px) rotateY(-25deg) scale(0.85) !important;
    z-index: 2 !important;
    opacity: 0.75 !important;
    pointer-events: auto !important;
    filter: grayscale(15%) blur(0.3px) !important;
  }

  .lrg-dots {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 15px !important;
  }

  .lrg-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: rgba(61, 43, 31, 0.2) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
  }

  .lrg-dot.active {
    background: var(--gold) !important;
    transform: scale(1.2) !important;
    width: 18px !important;
    border-radius: 4px !important;
  }

  .lrg-section .section-header img {
    max-width: 300px;
  }

  .why-section {
    padding: 30px 0 60px !important;
  }

  .why-cards {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  .why-card {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    box-shadow: 0 6px 20px rgba(61, 43, 31, 0.06) !important;
    border-radius: 16px !important;
  }

  .why-section .section-header img {
    max-width: 280px;
  }

  .journey-section .section-header img {
    max-width: 260px;
  }

  .desktop-only-journey {
    display: none !important;
  }

  .mobile-journey-container {
    display: block !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    padding: 20px 14px 40px 14px !important;
    position: relative !important;
    --reveal-percent: 0%;
  }

  .journey-mobile-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 12px 0;
  }

  .journey-mobile-img {
    width: 100%;
    height: auto;
    display: block;
    mask-image: linear-gradient(
      to bottom, 
      rgba(0, 0, 0, 1) 0%, 
      rgba(0, 0, 0, 1) var(--reveal-percent, 0%), 
      rgba(0, 0, 0, 0) calc(var(--reveal-percent, 0%) + 12%)
    );
    -webkit-mask-image: linear-gradient(
      to bottom, 
      rgba(0, 0, 0, 1) 0%, 
      rgba(0, 0, 0, 1) var(--reveal-percent, 0%), 
      rgba(0, 0, 0, 0) calc(var(--reveal-percent, 0%) + 12%)
    );
    opacity: 1;
    transform: translateY(0);
    transition: filter 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    filter: drop-shadow(0 8px 24px rgba(61, 43, 31, 0.08));
    will-change: mask-image, -webkit-mask-image;
  }

  .journey-beam-path {
    display: none !important;
  }

  .mobile-journey-container.fully-revealed .journey-mobile-img {
    filter: drop-shadow(0 14px 38px rgba(196, 162, 101, 0.28));
  }
}


/* ===== PROGRAM HERO & PAGES ===== */
.program-hero {
  padding: 140px 0 70px 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
  position: relative;
  overflow: hidden;
}

.program-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.program-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(196, 162, 101, 0.15);
  border: 1px solid rgba(196, 162, 101, 0.4);
  border-radius: 50px;
  color: var(--brown-dark);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.program-hero-content h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1.25;
  margin-bottom: 20px;
}

.program-hero-content p {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  color: rgba(61, 43, 31, 0.82);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 560px;
}

.program-hero-img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(61, 43, 31, 0.15);
  border: 1px solid rgba(196, 162, 101, 0.3);
}

.program-hero-img-wrap img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.program-hero-img-wrap:hover img {
  transform: scale(1.04);
}

/* ===== BENTO TOPICS GRID ===== */
.topics-section {
  padding: 60px 0;
  background: var(--cream);
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.topic-card {
  background: #FFFFFF;
  border: 1px solid rgba(196, 162, 101, 0.2);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 30px rgba(61, 43, 31, 0.05);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.topic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 45px rgba(61, 43, 31, 0.12);
  border-color: var(--gold);
}

.topic-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(196, 162, 101, 0.12);
  color: var(--brown-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.topic-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--brown-dark);
  margin-bottom: 12px;
}

.topic-card p {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: rgba(61, 43, 31, 0.75);
  line-height: 1.6;
}

/* ===== PROGRESSION TIMELINE ===== */
.progression-section {
  padding: 60px 0;
  background: var(--cream-dark);
}

.progression-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  position: relative;
}

.progression-step {
  flex: 1;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(196, 162, 101, 0.25);
  box-shadow: 0 6px 20px rgba(61, 43, 31, 0.04);
  position: relative;
  text-align: center;
}

.progression-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brown-dark);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  box-shadow: 0 0 12px rgba(196, 162, 101, 0.4);
}

.progression-step h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--brown-dark);
  margin-bottom: 8px;
}

.progression-step p {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: rgba(61, 43, 31, 0.75);
  line-height: 1.5;
}

/* ===== FAQ ACCORDION ===== */
.faq-section {
  padding: 60px 0;
  background: var(--cream);
}

.faq-list {
  max-width: 800px;
  margin: 32px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid rgba(196, 162, 101, 0.25);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 22px 28px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brown-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), padding 0.3s ease;
  padding: 0 28px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 28px 24px 28px;
}

.faq-answer p {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: rgba(61, 43, 31, 0.8);
  line-height: 1.65;
}

/* ===== PROGRAM CTA BANNER ===== */
.program-cta {
  padding: 60px 0;
  background: var(--brown-dark);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.program-cta h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--cream);
  margin-bottom: 16px;
}

.program-cta p {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  color: rgba(250, 246, 239, 0.85);
  max-width: 600px;
  margin: 0 auto 32px auto;
}

@media (max-width: 992px) {
  .program-hero {
    padding: 110px 0 50px 0;
  }

  .program-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  /* Image starts FIRST on mobile devices */
  .program-hero-img-wrap {
    order: -1;
    width: 100%;
    border-radius: 20px;
  }

  .program-hero-img-wrap img {
    height: 280px;
    width: 100%;
    object-fit: cover;
  }

  .program-hero-content {
    order: 1;
    text-align: center;
  }

  .program-hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .program-hero-content div[style*="display: flex"],
  .program-hero-content div[style*="display:flex"] {
    justify-content: center;
  }

  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .progression-section {
    padding: 60px 0;
  }

  .progression-track {
    flex-direction: column;
    gap: 16px;
    margin-top: 36px;
  }

  .progression-step {
    width: 100%;
    padding: 20px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .lang-toggle-btn {
    padding: 5px 14px;
    font-size: 0.78rem;
    margin-left: auto;
    margin-right: 12px;
    background: var(--brown-dark);
    color: var(--cream);
    border: 1.5px solid var(--gold);
  }

  [dir="rtl"] .lang-toggle-btn {
    margin-left: 12px;
    margin-right: auto;
  }

  .faq-section {
    padding: 60px 0;
  }

  .faq-question {
    padding: 18px 20px;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
  }

  .program-cta {
    padding: 60px 20px;
  }

  .program-cta h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 600px) {
  .topics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .topic-card {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .topic-card h3 {
    font-size: 1.2rem;
  }

  .topic-card p {
    font-size: 0.9rem;
  }

  .program-hero-content h1 {
    font-size: 2rem;
  }

  .program-hero-img-wrap img {
    height: 230px;
  }
}


/* ==========================================================================
   WORDPRESS CORE REQUIRED CLASSES & UTILITIES
   ========================================================================== */
.alignnone { margin: 5px 20px 20px 0; }
.aligncenter, div.aligncenter { display: block; margin: 5px auto 5px auto; }
.alignright { float: right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.alignright { float: right; margin: 5px 0 20px 20px; }
a img.alignnone { margin: 5px 20px 20px 0; }
a img.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { background: #fff; border: 1px solid #f0f0f0; max-width: 96%; padding: 5px 3px 10px; text-align: center; }
.wp-caption.alignnone { margin: 5px 20px 20px 0; }
.wp-caption.alignleft { margin: 5px 20px 20px 0; }
.wp-caption.alignright { margin: 5px 0 20px 20px; }
.wp-caption img { border: 0 none; height: auto; margin: 0; max-width: 98.5%; padding: 0; width: auto; }
.wp-caption p.wp-caption-text { font-size: 12px; line-height: 17px; margin: 0; padding: 4px 4px 5px; color: #7A6A58; }
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #FAF6F0;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #3D2B1F;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Page & Post Template General Content Styles */
.entry-content {
  line-height: 1.8;
  font-size: 1.05rem;
  color: var(--text-body, #4A3127);
}
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 {
  font-family: var(--font-heading, 'Playfair Display', serif);
  color: var(--brown-dark, #3D2B1F);
  margin-top: 1.5em;
  margin-bottom: 0.6em;
}
.entry-content p {
  margin-bottom: 1.25em;
}
.entry-content ul, .entry-content ol {
  margin-bottom: 1.25em;
  padding-left: 1.5em;
}
.entry-content blockquote {
  border-left: 4px solid var(--gold, #B49064);
  padding: 12px 20px;
  margin: 1.5em 0;
  font-style: italic;
  background: rgba(180, 144, 100, 0.08);
  border-radius: 0 8px 8px 0;
}

/* Generic standard page and post container */
.site-main-page {
  padding: 140px 0 80px 0;
  background: var(--cream, #FAF6F0);
  min-height: 60vh;
}
.page-header-title {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 2.6rem;
  color: var(--brown-dark, #3D2B1F);
  margin-bottom: 24px;
  text-align: center;
}
.single-post-card, .standard-page-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 48px;
  border: 1px solid rgba(180, 144, 100, 0.25);
  box-shadow: 0 10px 30px rgba(61, 43, 31, 0.06);
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .single-post-card, .standard-page-card {
    padding: 24px;
  }
}

/* RTL overrides for full theme */
[dir="rtl"] body {
  font-family: 'Cairo', 'Tajawal', sans-serif !important;
}
[dir="rtl"] .hero-title, [dir="rtl"] .hero-subtitle, [dir="rtl"] .hero-para {
  font-family: 'Cairo', 'Tajawal', sans-serif !important;
}
[dir="rtl"] .hero-overlay-content {
  right: 6.5% !important;
  left: auto !important;
  align-items: flex-end !important;
  text-align: right !important;
}
[dir="rtl"] .nav-menu {
  direction: rtl;
}
[dir="rtl"] .mobile-nav {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .footer-quick-links {
  direction: rtl;
}
[dir="rtl"] .faq-question {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .why-us-left {
  text-align: right;
}
[dir="rtl"] .teachers-header {
  text-align: right;
}
[dir="rtl"] .feature-item {
  text-align: right;
}
