/* ============================================================
   First Umrah — Premium Marketing Website
   Design System & Styles
   © 2026 SharoidTech Mobile & AI App Development
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,700&family=Inter:wght@300;400;500;600;700;800&family=Amiri:ital,wght@0,400;0,700;1,400&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Backgrounds */
  --bg-deep:        #020B04;
  --bg-surface:     #041A0C;
  --bg-card:        #071F10;
  --bg-card-hover:  #0A2B17;
  --bg-elevated:    #0D3320;

  /* Primary Greens */
  --green-primary:  #2E7D32;
  --green-bright:   #00C853;
  --green-neon:     #00E676;
  --green-glow:     #69F0AE;
  --green-soft:     #A5D6A7;
  --green-muted:    #194D26;
  --green-bg-light: #EAF7EF;

  /* Gold Accents */
  --gold-primary:   #E5C158;
  --gold-bright:    #FFD700;
  --gold-warm:      #DFBA73;
  --gold-muted:     #FFE082;
  --gold-deep:      #B8860B;

  /* Text Colors */
  --text-white:     #FFFFFF;
  --text-primary:   #ECEFF1;
  --text-secondary: #B0BEC5;
  --text-muted:     #78909C;
  --text-dark:      #1A1A1A;

  /* Borders */
  --border-subtle:  rgba(46, 125, 50, 0.25);
  --border-gold:    rgba(229, 193, 88, 0.3);
  --border-green:   rgba(0, 230, 118, 0.35);

  /* Typography */
  --font-serif:     'Playfair Display', 'Georgia', serif;
  --font-body:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-arabic:    'Amiri', serif;

  /* Spacing */
  --section-pad:    100px 0;
  --container-max:  1200px;
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      20px;
  --radius-xl:      28px;
  --radius-full:    50%;

  /* Shadows */
  --shadow-card:    0 4px 24px rgba(0,0,0,0.35);
  --shadow-glow:    0 0 30px rgba(0, 200, 83, 0.15);
  --shadow-gold:    0 0 20px rgba(229, 193, 88, 0.12);

  /* Transitions */
  --ease-out:       cubic-bezier(0.22, 1, 0.36, 1);
  --duration:       0.4s;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  text-decoration: none;
  color: var(--green-neon);
  transition: color var(--duration) var(--ease-out);
}

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

ul, ol {
  list-style: none;
}

/* ---------- Container ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Islamic Geometric Background ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 200, 83, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(229, 193, 88, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(0, 230, 118, 0.02) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Islamic pattern overlay */
.islamic-pattern-overlay {
  position: fixed;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-conic-gradient(
      from 0deg at 50% 50%,
      transparent 0deg,
      rgba(0, 200, 83, 0.5) 30deg,
      transparent 60deg
    );
  background-size: 80px 80px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--duration) var(--ease-out);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(2, 11, 4, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

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

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

.nav-logo {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 15px rgba(229, 193, 88, 0.2);
  object-fit: cover;
}

.nav-brand-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.5px;
}

.nav-brand-text span {
  color: var(--gold-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--duration) var(--ease-out);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green-neon), var(--gold-primary));
  border-radius: 2px;
  transition: width var(--duration) var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--green-primary), var(--green-bright)) !important;
  color: var(--text-white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-md) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
  transition: all var(--duration) var(--ease-out) !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 200, 83, 0.4) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: blur(2px);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(2, 11, 4, 0.7) 0%,
      rgba(2, 11, 4, 0.5) 40%,
      rgba(2, 11, 4, 0.85) 80%,
      rgba(2, 11, 4, 1) 100%
    );
}

/* Animated particles / stars */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-particles .particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold-primary);
  border-radius: 50%;
  opacity: 0;
  animation: particle-float 8s infinite ease-in-out;
}

@keyframes particle-float {
  0%   { opacity: 0; transform: translateY(0) scale(0.5); }
  20%  { opacity: 0.8; }
  80%  { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-300px) scale(0); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-bismillah {
  font-family: var(--font-arabic);
  font-size: 2rem;
  color: var(--gold-primary);
  margin-bottom: 24px;
  opacity: 0.9;
  text-shadow: 0 0 30px rgba(229, 193, 88, 0.3);
  letter-spacing: 2px;
}

.hero-logo {
  width: 110px;
  height: 110px;
  border-radius: var(--radius-full);
  border: 3px solid var(--gold-primary);
  box-shadow:
    0 0 40px rgba(229, 193, 88, 0.25),
    0 0 80px rgba(0, 200, 83, 0.1);
  margin: 0 auto 28px;
  animation: logo-pulse 4s infinite ease-in-out;
}

@keyframes logo-pulse {
  0%, 100% { box-shadow: 0 0 40px rgba(229, 193, 88, 0.25), 0 0 80px rgba(0, 200, 83, 0.1); }
  50% { box-shadow: 0 0 60px rgba(229, 193, 88, 0.4), 0 0 100px rgba(0, 200, 83, 0.2); }
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 8px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--green-neon), var(--gold-primary), var(--green-bright));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 12px;
  line-height: 1.7;
}

.hero-arabic-tag {
  font-family: var(--font-arabic);
  font-size: 1.1rem;
  color: var(--gold-warm);
  opacity: 0.75;
  margin-bottom: 36px;
  letter-spacing: 1px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-neon);
}

.hero-stat .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--duration) var(--ease-out);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-primary), var(--green-bright));
  color: var(--text-white);
  box-shadow: 0 4px 20px rgba(0, 200, 83, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(0, 200, 83, 0.45);
  color: var(--text-white);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 0 15px rgba(229, 193, 88, 0.1);
}

.btn-outline:hover {
  background: rgba(229, 193, 88, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(229, 193, 88, 0.2);
  color: var(--gold-primary);
}

.btn-icon {
  font-size: 1.2rem;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  border: 1px solid var(--border-green);
  color: var(--green-neon);
  background: rgba(0, 230, 118, 0.06);
}

.section-badge.gold {
  border-color: var(--border-gold);
  color: var(--gold-primary);
  background: rgba(229, 193, 88, 0.06);
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header h2 .highlight {
  color: var(--green-neon);
}

.section-header h2 .highlight-gold {
  color: var(--gold-primary);
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   OVERVIEW / ABOUT SECTION
   ============================================================ */
.overview-section {
  padding: var(--section-pad);
  position: relative;
}

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

.overview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: all var(--duration) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-primary), var(--green-neon), var(--gold-primary));
  opacity: 0;
  transition: opacity var(--duration) var(--ease-out);
}

.overview-card:hover {
  transform: translateY(-6px);
  border-color: var(--green-muted);
  box-shadow: var(--shadow-glow);
}

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

.overview-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.12), rgba(0, 230, 118, 0.05));
  border: 1.5px solid var(--border-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
}

.overview-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}

.overview-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   4 PILLARS SECTION
   ============================================================ */
.pillars-section {
  padding: var(--section-pad);
  position: relative;
}

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

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--duration) var(--ease-out);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: var(--green-muted);
}

.pillar-number {
  position: absolute;
  top: 12px;
  left: 16px;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(0, 230, 118, 0.08);
  line-height: 1;
}

.pillar-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--gold-primary);
  box-shadow: var(--shadow-gold);
  margin: 0 auto 18px;
}

.pillar-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 6px;
}

.pillar-card .pillar-arabic {
  font-family: var(--font-arabic);
  font-size: 1.1rem;
  color: var(--gold-warm);
  opacity: 0.6;
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section {
  padding: var(--section-pad);
  position: relative;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--duration) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 200, 83, 0.05));
  transition: height var(--duration) var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--green-muted);
  box-shadow: var(--shadow-glow);
}

.feature-card:hover::after {
  height: 100%;
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  border: 1px solid;
  position: relative;
  z-index: 1;
}

.feature-icon-wrap.green {
  background: rgba(0, 200, 83, 0.1);
  border-color: var(--border-green);
}

.feature-icon-wrap.gold {
  background: rgba(229, 193, 88, 0.1);
  border-color: var(--border-gold);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.feature-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 12px;
  position: relative;
  z-index: 1;
}

.feature-tag.green {
  background: rgba(0, 200, 83, 0.12);
  color: var(--green-neon);
  border: 1px solid rgba(0, 200, 83, 0.25);
}

.feature-tag.gold {
  background: rgba(229, 193, 88, 0.1);
  color: var(--gold-primary);
  border: 1px solid rgba(229, 193, 88, 0.25);
}

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
.how-it-works-section {
  padding: var(--section-pad);
  position: relative;
}

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--green-neon), var(--gold-primary), var(--green-muted));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-left: 72px;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 18px;
  top: 8px;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background: var(--bg-deep);
  border: 2.5px solid var(--green-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.timeline-dot .dot-inner {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--green-neon);
  box-shadow: 0 0 10px var(--green-neon);
}

.timeline-item.gold .timeline-dot {
  border-color: var(--gold-primary);
}

.timeline-item.gold .timeline-dot .dot-inner {
  background: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-primary);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: all var(--duration) var(--ease-out);
}

.timeline-content:hover {
  border-color: var(--green-muted);
  box-shadow: var(--shadow-glow);
}

.timeline-step {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green-neon);
  margin-bottom: 6px;
}

.timeline-item.gold .timeline-step {
  color: var(--gold-primary);
}

.timeline-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-box {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border-green);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 200, 83, 0.06) 0%, transparent 60%);
  animation: cta-glow 6s ease-in-out infinite;
}

@keyframes cta-glow {
  0%, 100% { transform: translate(-10%, -10%); }
  50% { transform: translate(10%, 10%); }
}

.cta-box h2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
  position: relative;
}

.cta-box p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 30px;
  position: relative;
}

.cta-box .hero-actions {
  position: relative;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
}

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

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 12px;
  max-width: 300px;
}

.footer-brand .nav-brand {
  margin-bottom: 4px;
}

.footer h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

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

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

.footer-links a:hover {
  color: var(--green-neon);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom .footer-arabic {
  font-family: var(--font-arabic);
  color: var(--gold-warm);
  opacity: 0.6;
  font-size: 0.95rem;
}

/* ============================================================
   FAQ PAGE
   ============================================================ */
.page-hero {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 200, 83, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(229, 193, 88, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
  position: relative;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* FAQ Category Tabs */
.faq-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.faq-tab {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.faq-tab:hover {
  border-color: var(--green-muted);
  color: var(--text-white);
}

.faq-tab.active {
  background: linear-gradient(135deg, var(--green-primary), var(--green-bright));
  border-color: transparent;
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(0, 200, 83, 0.25);
}

/* FAQ Search */
.faq-search-wrap {
  max-width: 500px;
  margin: 0 auto 36px;
  position: relative;
}

.faq-search {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-white);
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.3s ease;
}

.faq-search::placeholder {
  color: var(--text-muted);
}

.faq-search:focus {
  border-color: var(--green-neon);
  box-shadow: 0 0 15px rgba(0, 230, 118, 0.1);
}

.faq-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: var(--text-muted);
  pointer-events: none;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--green-muted);
}

.faq-item.open {
  border-color: var(--green-neon);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(0, 200, 83, 0.04);
}

.faq-q-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 200, 83, 0.1);
  border: 1px solid var(--border-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.faq-question h3 {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.4;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: rgba(0, 200, 83, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--green-neon);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  background: var(--green-primary);
  color: var(--text-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 22px 20px 74px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-answer .faq-arabic-quote {
  font-family: var(--font-arabic);
  font-size: 1rem;
  color: var(--gold-warm);
  opacity: 0.7;
  margin-top: 10px;
  text-align: right;
  direction: rtl;
}

.faq-category-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: rgba(229, 193, 88, 0.1);
  color: var(--gold-primary);
  border: 1px solid rgba(229, 193, 88, 0.2);
  margin-bottom: 8px;
}

/* FAQ Contact CTA */
.faq-contact {
  max-width: 800px;
  margin: 50px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
}

.faq-contact h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.faq-contact p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ============================================================
   PRIVACY POLICY & TERMS PAGES
   ============================================================ */
.legal-page-section {
  padding: 40px 0 80px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Commitment / Intro Card */
.legal-hero-card {
  background: var(--bg-card);
  border: 1.5px solid;
  border-image: linear-gradient(135deg, var(--green-neon), var(--gold-primary), var(--green-neon)) 1;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

/* Fix border-image + border-radius conflict */
.legal-hero-card {
  border: none;
  background-clip: padding-box;
  position: relative;
}

.legal-hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: linear-gradient(135deg, var(--green-neon), var(--gold-primary), var(--green-neon));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.legal-hero-card .card-inner {
  background: var(--bg-card);
  border-radius: calc(var(--radius-lg) - 2px);
  padding: 36px 32px;
}

.legal-hero-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: rgba(0, 200, 83, 0.1);
  border: 1.5px solid var(--green-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.legal-hero-card h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.legal-hero-card .effective-date {
  font-size: 0.82rem;
  color: var(--green-soft);
  font-weight: 500;
  margin-bottom: 12px;
}

.legal-hero-card .intro-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Legal Section Cards */
.legal-section-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.legal-section-card:hover {
  border-color: var(--green-muted);
  box-shadow: var(--shadow-glow);
}

.legal-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.legal-section-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.legal-section-icon.green {
  background: rgba(0, 200, 83, 0.1);
  border: 1px solid var(--border-green);
}

.legal-section-icon.gold {
  background: rgba(229, 193, 88, 0.1);
  border: 1px solid var(--border-gold);
}

.legal-section-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-muted);
  flex: 1;
}

.legal-section-card .legal-text {
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.75;
  white-space: pre-line;
}

.legal-section-card .legal-text strong {
  color: var(--text-white);
}

/* Legal Contact Card */
.legal-contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  margin-top: 32px;
}

.legal-contact-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.legal-contact-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.legal-contact-card .btn {
  font-size: 0.88rem;
}

.legal-footer-text {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 30px;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials-section {
  padding: var(--section-pad);
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--duration) var(--ease-out);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-muted);
}

.testimonial-stars {
  color: var(--gold-primary);
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 3px;
}

.testimonial-card blockquote {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 18px;
}

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

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--green-primary), var(--green-bright));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-white);
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-author .author-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-white);
}

.testimonial-author .author-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================
   NO RESULTS / EMPTY STATE
   ============================================================ */
.faq-empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-muted);
}

.faq-empty .empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  opacity: 0.4;
}

.faq-empty p {
  font-size: 0.95rem;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 70px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(2, 11, 4, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    transition: right 0.4s var(--ease-out);
    border-left: 1px solid var(--border-subtle);
  }

  .nav-links.open {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

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

  .hero-bismillah {
    font-size: 1.5rem;
  }

  .hero-logo {
    width: 85px;
    height: 85px;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat .stat-number {
    font-size: 1.5rem;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .page-hero {
    padding: 120px 0 40px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .cta-box {
    padding: 40px 24px;
  }

  .cta-box h2 {
    font-size: 1.8rem;
  }

  .faq-item.open .faq-answer {
    padding-left: 22px;
  }

  .faq-tabs {
    gap: 6px;
  }

  .faq-tab {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  .legal-hero-card .card-inner {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .page-hero h1 {
    font-size: 1.6rem;
  }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }
