/* ==========================================================================
   FAIZAN ONLINE QURAN ACADEMY - MAIN STYLESHEET
   Brand Identity: Deep Islamic Green, Luxury Gold, Cream, Warm Ivory
   Author: Faizan Online Quran Academy
   Contact: +92 314 4080217 | qariabdulhaq209@gmail.com
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & COLOR PALETTE
   -------------------------------------------------------------------------- */
:root {
  --primary-green: #064E3B;
  --dark-green: #022C22;
  --emerald: #047857;
  --emerald-light: #059669;
  --luxury-gold: #D4AF37;
  --light-gold: #F4D06F;
  --gold-glow: rgba(212, 175, 55, 0.35);
  --gold-border: rgba(212, 175, 55, 0.25);
  --cream: #FFF8E7;
  --ivory: #FFFDF5;
  --dark-text: #17251F;
  --muted-text: #4B5563;
  --light-text: #F8FAFC;
  --card-bg: #FFFFFF;
  --card-dark-bg: #03362A;
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 20px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 10px 30px rgba(2, 44, 34, 0.08);
  --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.2);
  --shadow-hover: 0 15px 35px rgba(2, 44, 34, 0.15);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE TYPOGRAPHY
   -------------------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--dark-text);
  background-color: var(--ivory);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--dark-green);
  font-weight: 700;
  line-height: 1.3;
}

.font-heading {
  font-family: 'Playfair Display', Georgia, serif;
}

.font-cinzel {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
}

.font-arabic {
  font-family: 'Amiri', 'Traditional Arabic', serif;
}

p {
  margin-bottom: 1rem;
  color: var(--muted-text);
}

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

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

/* Islamic Geometric Background Pattern */
.bg-islamic-pattern {
  background-color: var(--dark-green);
  background-image: radial-gradient(var(--luxury-gold) 0.75px, transparent 0.75px), radial-gradient(var(--luxury-gold) 0.75px, var(--dark-green) 0.75px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  background-blend-mode: overlay;
}

.bg-pattern-light {
  background-color: var(--ivory);
  background-image: radial-gradient(rgba(212, 175, 55, 0.18) 0.75px, transparent 0.75px);
  background-size: 24px 24px;
}

/* --------------------------------------------------------------------------
   3. TOP ANNOUNCEMENT BAR
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--dark-green);
  color: var(--cream);
  font-size: 0.875rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--gold-border);
}

.top-bar a {
  color: var(--cream);
}

.top-bar a:hover {
  color: var(--light-gold);
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-item i {
  color: var(--light-gold);
}

.badge-trial-top {
  background: linear-gradient(135deg, var(--luxury-gold), var(--light-gold));
  color: var(--dark-green);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   4. NAVIGATION BAR
   -------------------------------------------------------------------------- */
.navbar-custom {
  background-color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(2, 44, 34, 0.06);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: all 0.3s ease;
}

.navbar-custom.scrolled {
  padding: 8px 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(2, 44, 34, 0.12);
  border-bottom: 2px solid var(--luxury-gold);
}

.navbar-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--luxury-gold);
  background: var(--dark-green);
}

.brand-text-title {
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-green);
  line-height: 1.15;
  letter-spacing: 0.5px;
  display: block;
}

.brand-text-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--luxury-gold);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  display: block;
}

.nav-link {
  font-weight: 500;
  color: var(--dark-green) !important;
  padding: 8px 16px !important;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--emerald) !important;
  font-weight: 600;
}

.nav-link.active::after,
.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--luxury-gold), var(--light-gold));
  border-radius: 2px;
}

.btn-nav-trial {
  background: linear-gradient(135deg, var(--luxury-gold), #b89025);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 20px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 15px var(--gold-glow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-nav-trial:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
  color: #FFFFFF;
}

.btn-nav-whatsapp {
  background: #25D366;
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: 50px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-nav-whatsapp:hover {
  background: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  color: #FFFFFF;
}

/* Custom Hamburger Toggle */
.navbar-toggler {
  border: 1.5px solid var(--luxury-gold);
  padding: 6px 10px;
  border-radius: 8px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23064E3B' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --------------------------------------------------------------------------
   5. BUTTONS & UI ELEMENTS
   -------------------------------------------------------------------------- */
.btn-gold {
  background: linear-gradient(135deg, var(--luxury-gold) 0%, #c29c29 100%);
  color: #FFFFFF;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px var(--gold-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #e4be45 0%, var(--luxury-gold) 100%);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.45);
}

.btn-emerald {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--primary-green) 100%);
  color: #FFFFFF;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  border: 1px solid var(--gold-border);
  box-shadow: 0 6px 20px rgba(4, 120, 87, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-emerald:hover {
  background: linear-gradient(135deg, var(--emerald-light) 0%, var(--emerald) 100%);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(4, 120, 87, 0.4);
}

.btn-outline-gold {
  background: transparent;
  color: var(--luxury-gold);
  border: 2px solid var(--luxury-gold);
  font-weight: 600;
  padding: 11px 26px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background: var(--luxury-gold);
  color: var(--dark-green);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--gold-glow);
}

.btn-whatsapp-large {
  background: #25D366;
  color: #FFFFFF;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-whatsapp-large:hover {
  background: #1eb956;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
}

/* Badge Styles */
.badge-gold {
  background: rgba(212, 175, 55, 0.15);
  color: #b38b19;
  border: 1px solid var(--gold-border);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-emerald {
  background: rgba(4, 120, 87, 0.12);
  color: var(--emerald);
  border: 1px solid rgba(4, 120, 87, 0.25);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Section Titles */
.section-title-wrap {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.section-subtitle {
  color: var(--luxury-gold);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}

.section-main-title {
  font-size: 2.35rem;
  color: var(--dark-green);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-desc {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--muted-text);
}

.title-gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.title-gold-divider span {
  height: 2px;
  width: 45px;
  background: var(--luxury-gold);
  border-radius: 2px;
}

.title-gold-divider i {
  color: var(--luxury-gold);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--dark-green);
  overflow: hidden;
  padding: 80px 0;
}

/* Background video with fallback image */
.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.hero-fallback-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* Dark Green Transparent Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(2, 44, 34, 0.93) 0%, rgba(6, 78, 59, 0.88) 50%, rgba(2, 44, 34, 0.94) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
}

.hero-badge-trial {
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid var(--luxury-gold);
  color: var(--light-gold);
  padding: 8px 18px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.18;
  margin-bottom: 18px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title .text-gold {
  color: var(--light-gold);
  background: linear-gradient(135deg, #FFF8E7, var(--light-gold), var(--luxury-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--cream);
  max-width: 620px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 35px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cream);
  font-size: 0.95rem;
}

.hero-feature-item i {
  color: var(--light-gold);
  font-size: 1.1rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.hero-card-preview {
  background: rgba(3, 54, 42, 0.85);
  border: 2px solid var(--luxury-gold);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  position: relative;
}

.hero-card-preview::before {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 50px;
  height: 50px;
  border-top: 3px solid var(--light-gold);
  border-right: 3px solid var(--light-gold);
  border-radius: 0 var(--border-radius-lg) 0 0;
}

.hero-card-preview::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: -10px;
  width: 50px;
  height: 50px;
  border-bottom: 3px solid var(--light-gold);
  border-left: 3px solid var(--light-gold);
  border-radius: 0 0 0 var(--border-radius-lg);
}

/* --------------------------------------------------------------------------
   7. KEY HIGHLIGHTS BAR
   -------------------------------------------------------------------------- */
.highlights-bar {
  background: var(--dark-green);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 24px 0;
}

.highlight-box {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #FFFFFF;
}

.highlight-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--luxury-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--light-gold);
  flex-shrink: 0;
}

.highlight-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 2px;
}

.highlight-desc {
  font-size: 0.82rem;
  color: #D1D5DB;
  margin: 0;
}

/* --------------------------------------------------------------------------
   8. WHY CHOOSE US SECTION
   -------------------------------------------------------------------------- */
.why-choose-section {
  padding: 90px 0;
  background-color: var(--ivory);
}

.feature-card {
  background: #FFFFFF;
  border-radius: var(--border-radius-md);
  padding: 32px 25px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: var(--shadow-soft);
  transition: all 0.35s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--luxury-gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--luxury-gold);
}

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

.feature-icon-box {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cream), #faebd7);
  border: 1.5px solid var(--luxury-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary-green);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-box {
  background: linear-gradient(135deg, var(--primary-green), var(--emerald));
  color: var(--light-gold);
  transform: rotate(6deg) scale(1.05);
}

.feature-card-title {
  font-size: 1.25rem;
  color: var(--dark-green);
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card-text {
  font-size: 0.92rem;
  color: var(--muted-text);
  margin: 0;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. COURSE CARDS
   -------------------------------------------------------------------------- */
.courses-section {
  padding: 90px 0;
  background: #F8FAF7;
}

.course-card {
  background: #FFFFFF;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: var(--shadow-soft);
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(2, 44, 34, 0.14);
  border-color: var(--luxury-gold);
}

.course-img-wrap {
  position: relative;
  overflow: hidden;
  height: 210px;
  background: var(--dark-green);
}

.course-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.course-badge-level {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(2, 44, 34, 0.85);
  color: var(--light-gold);
  border: 1px solid var(--luxury-gold);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.course-badge-trial {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--luxury-gold);
  color: var(--dark-green);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.course-content {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-title {
  font-size: 1.3rem;
  color: var(--dark-green);
  font-weight: 700;
  margin-bottom: 8px;
}

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

.course-benefits-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.course-benefits-list li {
  font-size: 0.85rem;
  color: var(--dark-text);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-benefits-list li i {
  color: var(--emerald);
  font-size: 0.9rem;
}

.course-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 15px;
  border-top: 1px solid #E5E7EB;
}

.btn-card-learn {
  color: var(--primary-green);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-card-learn:hover {
  color: var(--emerald);
  gap: 8px;
}

.btn-card-trial {
  background: var(--dark-green);
  color: var(--light-gold);
  border: 1px solid var(--luxury-gold);
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-card-trial:hover {
  background: var(--luxury-gold);
  color: var(--dark-green);
}

/* --------------------------------------------------------------------------
   10. 3 DAYS FREE TRIAL SECTION
   -------------------------------------------------------------------------- */
.trial-banner-section {
  padding: 85px 0;
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 50%, var(--dark-green) 100%);
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  border-top: 2px solid var(--luxury-gold);
  border-bottom: 2px solid var(--luxury-gold);
}

.trial-banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(212, 175, 55, 0.15) 1px, transparent 1px);
  background-size: 25px 25px;
  opacity: 0.7;
}

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

.trial-tag {
  background: rgba(212, 175, 55, 0.2);
  color: var(--light-gold);
  border: 1px solid var(--luxury-gold);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.trial-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.trial-desc {
  font-size: 1.15rem;
  color: var(--cream);
  max-width: 650px;
  margin-bottom: 30px;
}

.trial-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 35px;
}

.trial-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--cream);
}

.trial-check-item i {
  color: var(--light-gold);
}

/* --------------------------------------------------------------------------
   11. ABOUT SECTION & STATS
   -------------------------------------------------------------------------- */
.about-section {
  padding: 90px 0;
  background-color: #FFFFFF;
}

.about-img-frame {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 3px solid var(--luxury-gold);
  box-shadow: 0 15px 35px rgba(2, 44, 34, 0.18);
}

.about-experience-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--dark-green);
  color: #FFFFFF;
  border: 2px solid var(--luxury-gold);
  padding: 16px 22px;
  border-radius: var(--border-radius-md);
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.about-exp-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--light-gold);
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.about-exp-text {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cream);
  margin: 0;
}

/* Stats Counter Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 35px;
}

.stat-item {
  background: var(--ivory);
  border: 1px solid var(--gold-border);
  padding: 20px 15px;
  border-radius: var(--border-radius-md);
  text-align: center;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: var(--luxury-gold);
  box-shadow: var(--shadow-soft);
  background: #FFFFFF;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-green);
  font-family: 'Playfair Display', serif;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted-text);
  font-weight: 600;
  margin: 0;
}

/* --------------------------------------------------------------------------
   12. HOW IT WORKS (STEP BY STEP)
   -------------------------------------------------------------------------- */
.how-it-works-section {
  padding: 90px 0;
  background: var(--ivory);
}

.step-card {
  background: #FFFFFF;
  border-radius: var(--border-radius-md);
  padding: 35px 25px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: var(--shadow-soft);
  text-align: center;
  position: relative;
  height: 100%;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--luxury-gold);
  box-shadow: var(--shadow-hover);
}

.step-number-bubble {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--luxury-gold), #b89025);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 15px var(--gold-glow);
}

.step-title {
  font-size: 1.2rem;
  color: var(--dark-green);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--muted-text);
  margin: 0;
}

/* --------------------------------------------------------------------------
   13. TESTIMONIALS & REVIEWS
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: 90px 0;
  background: #FFFFFF;
}

.testimonial-card {
  background: var(--ivory);
  border-radius: var(--border-radius-md);
  padding: 30px;
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 1rem;
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--dark-text);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}

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

.user-avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-green);
  color: var(--light-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  border: 1.5px solid var(--luxury-gold);
}

.user-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-green);
  margin: 0;
}

.user-country {
  font-size: 0.8rem;
  color: var(--muted-text);
  margin: 0;
}

/* --------------------------------------------------------------------------
   14. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 90px 0;
  background: #F8FAF7;
}

.accordion-item {
  border: 1px solid rgba(212, 175, 55, 0.25) !important;
  border-radius: var(--border-radius-sm) !important;
  margin-bottom: 14px;
  overflow: hidden;
  background-color: #FFFFFF;
}

.accordion-button {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-green) !important;
  background-color: #FFFFFF !important;
  padding: 18px 22px;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--emerald) !important;
  background-color: var(--cream) !important;
  border-bottom: 1px solid var(--gold-border);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23064E3B'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 20px 22px;
  color: var(--muted-text);
  font-size: 0.95rem;
  line-height: 1.65;
  background-color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   15. PAGE BANNERS (ABOUT, COURSES, ADMISSION, CONTACT)
   -------------------------------------------------------------------------- */
.page-banner {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 50%, var(--dark-green) 100%);
  padding: 70px 0 60px 0;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--luxury-gold);
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(212, 175, 55, 0.2) 1px, transparent 1px);
  background-size: 24px 24px;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.banner-arabic-bismillah {
  font-family: 'Amiri', serif;
  font-size: 1.8rem;
  color: var(--light-gold);
  margin-bottom: 10px;
  display: block;
}

.banner-title {
  font-size: 2.8rem;
  color: #FFFFFF;
  font-weight: 800;
  margin-bottom: 12px;
}

.breadcrumb-custom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--cream);
  margin: 0;
  list-style: none;
}

.breadcrumb-custom a {
  color: var(--light-gold);
}

.breadcrumb-custom a:hover {
  text-decoration: underline;
}

.breadcrumb-custom .active {
  color: #FFFFFF;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   16. ADMISSION & CONTACT FORM STYLES
   -------------------------------------------------------------------------- */
.form-card {
  background: #FFFFFF;
  border-radius: var(--border-radius-lg);
  padding: 40px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 15px 40px rgba(2, 44, 34, 0.1);
  position: relative;
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark-green);
  margin-bottom: 6px;
}

.form-control,
.form-select {
  border: 1.5px solid #D1D5DB;
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--dark-text);
  transition: all 0.2s ease;
  background-color: #FFFFFF;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--luxury-gold);
  box-shadow: 0 0 0 4px var(--gold-glow);
  outline: none;
}

.form-check-input:checked {
  background-color: var(--emerald);
  border-color: var(--emerald);
}

/* Contact Info Cards */
.contact-info-card {
  background: var(--dark-green);
  color: #FFFFFF;
  border-radius: var(--border-radius-md);
  padding: 30px;
  border: 1px solid var(--luxury-gold);
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid var(--luxury-gold);
  color: var(--light-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--light-gold);
  margin-bottom: 3px;
  font-weight: 600;
}

.contact-item-value {
  font-size: 1.05rem;
  color: #FFFFFF;
  font-weight: 600;
  margin: 0;
}

.contact-item-value a {
  color: #FFFFFF;
}

.contact-item-value a:hover {
  color: var(--light-gold);
}

/* --------------------------------------------------------------------------
   17. GALLERY & SHOWCASE
   -------------------------------------------------------------------------- */
.gallery-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gold-border);
  height: 240px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(0deg, rgba(2, 44, 34, 0.92) 0%, transparent 100%);
  padding: 20px;
  color: #FFFFFF;
}

.gallery-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  margin: 0;
}

/* --------------------------------------------------------------------------
   18. FOOTER
   -------------------------------------------------------------------------- */
.footer-main {
  background-color: var(--dark-green);
  color: #D1D5DB;
  padding: 80px 0 25px 0;
  border-top: 3px solid var(--luxury-gold);
  position: relative;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--luxury-gold);
  object-fit: contain;
}

.footer-brand-title {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  color: #FFFFFF;
  font-weight: 800;
  line-height: 1.15;
}

.footer-brand-sub {
  font-size: 0.75rem;
  color: var(--light-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-desc {
  font-size: 0.9rem;
  color: #9CA3AF;
  line-height: 1.65;
  margin-bottom: 24px;
}

.footer-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #FFFFFF;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--luxury-gold);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #D1D5DB;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.footer-links a i {
  font-size: 0.75rem;
  color: var(--luxury-gold);
}

.footer-links a:hover {
  color: var(--light-gold);
  transform: translateX(5px);
}

.footer-social-links {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--gold-border);
  color: var(--light-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.footer-social-btn:hover {
  background: var(--luxury-gold);
  color: var(--dark-green);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px var(--gold-glow);
}

.footer-bottom-bar {
  margin-top: 60px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  color: #9CA3AF;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

/* --------------------------------------------------------------------------
   19. FLOATING WHATSAPP & BACK TO TOP BUTTONS
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1040;
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-whatsapp-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: pulse-green 2s infinite;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1);
  color: #FFFFFF;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip-pill {
  background: var(--dark-green);
  color: #FFFFFF;
  border: 1px solid var(--luxury-gold);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  animation: float-slight 3s ease-in-out infinite;
}

.btn-back-to-top {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--dark-green);
  color: var(--light-gold);
  border: 1.5px solid var(--luxury-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1039;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.btn-back-to-top:hover {
  background: var(--luxury-gold);
  color: var(--dark-green);
  transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   20. KEYFRAME ANIMATIONS & SCROLL REVEALS
   -------------------------------------------------------------------------- */
@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes float-slight {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* Scroll reveal classes */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.active {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   21. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .navbar-collapse {
    background: #FFFFFF;
    padding: 20px;
    border-radius: var(--border-radius-md);
    margin-top: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gold-border);
  }

  .nav-link {
    padding: 10px 0 !important;
  }
  
  .hero-card-preview {
    margin-top: 40px;
  }
}

@media (max-width: 767.98px) {
  .top-bar {
    text-align: center;
  }
  
  .top-bar-item {
    margin: 4px 8px;
  }
  
  .hero-title {
    font-size: 2.1rem;
  }
  
  .section-main-title {
    font-size: 1.85rem;
  }
  
  .trial-title {
    font-size: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .form-card {
    padding: 24px 18px;
  }

  .whatsapp-tooltip-pill {
    display: none;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn-gold,
  .hero-buttons .btn-outline-gold,
  .hero-buttons .btn-whatsapp-large {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .brand-text-title {
    font-size: 1rem;
  }
  
  .banner-title {
    font-size: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* new cards
 */
 .course-icon-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 24px 10px 24px;
  position: relative;
}

.course-main-icon {
  font-size: 28px;
  color: #0f5132; /* Apni theme ka color */
  background: rgba(15, 81, 50, 0.1);
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.course-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Agar badges ko absolute ki bajaye normal flow mein rakhna hai taake wo overlap na karein */
.course-badge-level, 
.course-badge-trial {
  position: static !important;
  margin: 0 !important;
}


/* newwwwwwwwwwwwwwwwww */

/* Card Learn More Button Styling */
.btn-card-learn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--emerald-color, #0f5132); /* Aapka theme color */
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  transition: all 0.3s ease;
}

.btn-card-learn i {
  font-size: 13px;
  transition: transform 0.3s ease;
}

/* Hover Effect: Text halka dark hoga aur icon thoda aage move karega */
.btn-card-learn:hover {
  color: #0b3d24;
}

.btn-card-learn:hover i {
  transform: translateX(4px);
}

/* contacttttttttttt */

/* Contact Page Layout & Responsiveness Fixes */
.contact-info-card, 
.form-card {
  height: auto !important;
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  float: none !important;
  overflow: visible !important;
}

.contact-icon-circle {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

@media (max-width: 991px) {
  .contact-info-card {
    margin-bottom: 20px;
  }
}

/* vedio */
/* Hero Section Container */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  width: 100%;
}

/* Video Wrapper Container */
.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

/* Video Styling - Blur & Stretching Fix */
.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover; /* Video ko distort hone se bachata hai */
}

/* Dark Green Overlay taake text clearly readability behtar ho */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 44, 28, 0.88); /* Rich emerald tone */
  z-index: 2;
}

/* Content Layer */
.hero-content {
  position: relative;
  z-index: 3;
}

/* Mobile & Tablet Responsiveness Fixes */
@media (max-width: 991px) {
  .hero-section {
    padding: 50px 0;
  }

  .hero-title {
    font-size: 2.1rem !important;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  /* Mobile par buttons ko proper stack karne ke liye */
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Laptop / Desktop Video Styling */
.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

/* Mobile Specific Optimizations (Max-width: 991px) */
@media (max-width: 991px) {
  .hero-section {
    padding: 50px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
  }

  /* Mobile par video ko blur/zoom se bachane ke liye fix */
  .hero-video-wrap {
    position: absolute;
    width: 100%;
    height: 100%;
  }

  .hero-video-bg {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transform: none !important;
    top: 0 !important;
    left: 0 !important;
  }

  /* Mobile par text headings ko compact aur clear karne ke liye */
  .hero-title {
    font-size: 1.75rem !important;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  /* Right side wala Quick Registration Form hide karne ke liye */
  .hero-section .col-lg-5 {
    display: none !important;
  }

  /* Agar aap features list ya extra elements bhi mobile par hide karna chahte hain toh yeh unke liye hai */
  .hero-features-list {
    display: none !important; /* Agar ye elements mobile par nahi chahiye toh ye line active rakhein */
  }

  /* Mobile par buttons ko proper stack aur clean look dene ke liye */
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 10px 15px;
    font-size: 0.95rem;
  }
}