/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* CSS Variables */
:root {
  --primary: #064E3B; /* Deep Islamic Green */
  --primary-light: #059669; 
  --gold: #D4AF37; /* Elegant Light Gold */
  --gold-light: #FCD34D;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* Typography Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-gold { color: var(--gold); }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-bg {
  background-color: var(--bg-white);
}

.grid {
  display: grid;
  gap: 2rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 500;
  border-radius: 9999px; /* Pill shape */
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: capitalize;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--text-dark);
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.btn-gold:hover {
  background-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

/* Top Contact Bar */
.top-bar {
  background: var(--primary);
  color: white;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  position: relative;
  z-index: 1;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.top-bar a {
  color: rgba(255,255,255,0.9);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
  font-weight: 500;
}

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

.top-bar a i {
  color: var(--gold-light);
  font-size: 0.95rem;
}

.top-bar .top-bar-divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.25);
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 1000;
  transition: var(--transition);
}

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

.logo-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-brand span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--gold);
  transition: var(--transition);
}

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

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

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
  background: linear-gradient(135deg, rgba(6,78,59,0.05) 0%, rgba(212,175,55,0.05) 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Add an elegant pattern behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.hero-content h1 span {
  color: var(--gold);
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

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

.hero-image:hover img {
  transform: scale(1.03);
}

.hero-image::after {
  content: '';
  position: absolute;
  top: 0; inset: 0;
  border-radius: 1.5rem;
  box-shadow: inset 0 0 0 4px rgba(212,175,55,0.2);
  pointer-events: none;
}

/* Cards (Standard) */
.card {
  background: var(--bg-white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212,175,55,0.3);
}

.card-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(6,78,59,0.1);
  color: var(--primary);
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

/* Pricing Cards */
.pricing-card {
  text-align: center;
  position: relative;
}

.pricing-card.popular {
  border: 2px solid var(--gold);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-5px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--gold);
  color: var(--text-dark);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1.5rem 0;
  font-family: var(--font-heading);
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  margin: 2rem 0;
  text-align: left;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features li i {
  color: var(--primary-light);
}

/* Testimonials */
.testimonial-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.stars {
  color: var(--gold);
  margin-bottom: 1rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #CBD5E1;
  border-radius: 0.5rem;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6,78,59,0.1);
}

/* Page Headers */
.page-header {
  padding-top: 8rem;
  padding-bottom: 4rem;
  background-color: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.83-53.797 53.8-.83-.83z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  color: white;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
}

.page-header p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: white;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-about p {
  color: rgba(255,255,255,0.8);
  margin-top: 1rem;
}

.footer-title {
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 0.25rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25D366;
  color: white;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(37,211,102,0.45);
  z-index: 9999;
  transition: var(--transition);
  text-decoration: none;
}

.floating-whatsapp::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.4;
  animation: wa-pulse 2s ease-out infinite;
  z-index: -1;
}

.floating-whatsapp::after {
  content: 'Chat with us';
  position: absolute;
  right: 4.5rem;
  background: #1a1a1a;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 0.5rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  font-family: var(--font-body);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(37,211,102,0.5);
}

.floating-whatsapp:hover::after {
  opacity: 1;
}

@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.4; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* WhatsApp Inline Button */
.btn-whatsapp {
  background-color: #25D366;
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(37,211,102,0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,211,102,0.45);
}

/* Nav WhatsApp small badge */
.nav-wa-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #25D366;
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-wa-badge:hover {
  background: #20ba5a;
  color: white;
  transform: translateY(-1px);
}

.nav-wa-badge i {
  font-size: 0.95rem;
}

/* Contact section enhanced */
.contact-info-strip {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(6,78,59,0.05), rgba(212,175,55,0.08));
  border-radius: 1rem;
  border: 1px solid rgba(212,175,55,0.15);
  margin-bottom: 2.5rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
}

.contact-info-item:hover {
  color: var(--primary);
}

.contact-info-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Form success / error states */
.form-success {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: #065f46;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  display: none;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  margin-top: 1rem;
}

.form-success.show {
  display: flex;
}

.form-error {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  color: #991b1b;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  display: none;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  margin-top: 1rem;
}

.form-error.show {
  display: flex;
}

.btn-loading {
  opacity: 0.75;
  pointer-events: none;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .nav-wa-badge { display: none; }
  .floating-whatsapp::after { display: none; }
  .contact-info-strip { flex-direction: column; gap: 1rem; }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2.75rem;
  }
  
  .hero-content p {
    margin: 0 auto 2rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 5rem;
    left: -100%;
    width: 100%;
    height: calc(100vh - 5rem);
    background-color: var(--bg-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 5rem;
  }
  
  .nav-links.active {
    left: 0;
  }

  .nav-links .btn {
    margin-top: 1rem;
  }
  
  .mobile-toggle {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .grid-cols-2, .grid-cols-3, .grid-cols-4 {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.popular {
    transform: none;
    z-index: 1;
  }

  .pricing-card.popular:hover {
    transform: translateY(-5px);
  }
}

/* Section specific styling */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, rgba(6,78,59,0.8) 100%);
  color: white;
  text-align: center;
  border-radius: 1.5rem;
  padding: 4rem 2rem;
  margin: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: rotate(45deg);
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.9);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

/* Scroll Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.scroll-reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.scroll-reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* ============================================
   PREMIUM UPGRADE STYLES
   ============================================ */

/* Trust Stats Bar */
.trust-stats-bar {
  background: var(--primary);
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

.trust-stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.83-53.797 53.8-.83-.83z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.trust-stat {
  text-align: center;
  color: white;
}

.trust-stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.trust-stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

/* Section Subtitle */
.section-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

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

/* Assessment Quiz Section */
.assessment-section {
  background: linear-gradient(135deg, rgba(6,78,59,0.03) 0%, rgba(212,175,55,0.05) 100%);
}

.assessment-card {
  background: white;
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(212,175,55,0.15);
  position: relative;
  overflow: hidden;
}

.assessment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
}

.quiz-progress {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.quiz-progress-step {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #E2E8F0;
  transition: var(--transition);
}

.quiz-progress-step.active {
  background: var(--primary);
}

.quiz-progress-step.completed {
  background: var(--gold);
}

.quiz-question {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.quiz-option {
  padding: 1.25rem 1.5rem;
  border: 2px solid #E2E8F0;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
  background: white;
}

.quiz-option:hover {
  border-color: var(--primary);
  background: rgba(6,78,59,0.03);
}

.quiz-option.selected {
  border-color: var(--primary);
  background: rgba(6,78,59,0.08);
  box-shadow: 0 0 0 3px rgba(6,78,59,0.15);
}

.quiz-option-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(6,78,59,0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.quiz-option.selected .quiz-option-icon {
  background: var(--primary);
  color: white;
}

/* Matching Features */
.matching-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.matching-feature {
  text-align: center;
  padding: 1.5rem;
}

.matching-feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(6,78,59,0.1), rgba(212,175,55,0.1));
  color: var(--primary);
}

/* Learning Roadmap / Timeline */
.roadmap-timeline {
  position: relative;
  padding: 2rem 0;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--gold), var(--primary-light));
  transform: translateX(-50%);
}

.roadmap-step {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.roadmap-step:last-child {
  margin-bottom: 0;
}

.roadmap-step-content {
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}

.roadmap-step-content:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.roadmap-step:nth-child(odd) .roadmap-step-content:first-child {
  text-align: right;
}

.roadmap-step:nth-child(even) .roadmap-step-content:last-child {
  text-align: left;
}

.roadmap-step-number {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 0 0 6px rgba(6,78,59,0.15);
  z-index: 2;
  flex-shrink: 0;
}

.roadmap-step-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.roadmap-step-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Horizontal Roadmap for Mobile */
.roadmap-horizontal {
  display: none;
}

.roadmap-h-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
}

.roadmap-h-step::after {
  content: '→';
  position: absolute;
  right: -1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
}

.roadmap-h-step:last-child::after {
  display: none;
}

/* Dashboard Preview */
.dashboard-preview {
  background: white;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
}

.dashboard-header {
  background: var(--primary);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}

.dashboard-dots {
  display: flex;
  gap: 0.5rem;
}

.dashboard-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dashboard-body {
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.dashboard-metric {
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--bg-light);
  text-align: center;
}

.dashboard-metric-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.dashboard-metric-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.dashboard-metric-icon {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.dashboard-progress-bar {
  height: 8px;
  background: #E2E8F0;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 1rem;
}

.dashboard-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 4px;
  transition: width 1.5s ease;
}

/* Badge System */
.badge-system {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.tutor-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-certified {
  background: rgba(6,78,59,0.1);
  color: var(--primary);
}

.badge-ijazah {
  background: rgba(212,175,55,0.15);
  color: #92400E;
}

.badge-senior {
  background: rgba(99,102,241,0.1);
  color: #4338CA;
}

/* Verification Card */
.verify-card {
  background: white;
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.verify-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  opacity: 0;
  transition: var(--transition);
}

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

.verify-card:hover::after {
  opacity: 1;
}

.verify-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.verify-icon.green {
  background: rgba(6,78,59,0.1);
  color: var(--primary);
}

.verify-icon.gold {
  background: rgba(212,175,55,0.15);
  color: var(--gold);
}

.verify-icon.blue {
  background: rgba(59,130,246,0.1);
  color: #2563EB;
}

/* Groups / Programs */
.program-card {
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}

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

.program-card-header {
  padding: 2rem 2rem 1.5rem;
  position: relative;
}

.program-card-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  margin-bottom: 1.25rem;
}

.program-card-header h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.program-card-body {
  padding: 0 2rem 2rem;
}

.program-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.program-feature:last-child {
  border-bottom: none;
}

.program-feature i {
  color: var(--primary-light);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Guarantee Section */
.guarantee-section {
  background: linear-gradient(135deg, var(--primary) 0%, #065F46 50%, var(--primary) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.guarantee-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.guarantee-item {
  text-align: center;
  color: white;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  transition: var(--transition);
}

.guarantee-item:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
}

.guarantee-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(212,175,55,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold-light);
}

.guarantee-item h3 {
  color: white;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.guarantee-item p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}

/* New Muslim Welcome */
.welcome-section {
  position: relative;
}

.welcome-card {
  background: linear-gradient(135deg, rgba(6,78,59,0.03) 0%, rgba(212,175,55,0.05) 100%);
  border-radius: 1.5rem;
  padding: 4rem;
  border: 1px solid rgba(212,175,55,0.15);
  position: relative;
  overflow: hidden;
}

.welcome-card::before {
  content: '☪';
  position: absolute;
  top: -20px;
  right: 30px;
  font-size: 12rem;
  opacity: 0.03;
  line-height: 1;
}

.welcome-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.welcome-step {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.welcome-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.welcome-step-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(6,78,59,0.1), rgba(212,175,55,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
}

/* Feature Highlight Row */
.feature-highlight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-highlight-card {
  background: white;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
  text-align: center;
}

.feature-highlight-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.feature-highlight-icon {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

/* Certification section */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.cert-card {
  background: white;
  border-radius: 1.5rem;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}

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

.cert-card-top {
  padding: 2.5rem 2rem 1.5rem;
  text-align: center;
  position: relative;
}

.cert-card-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
}

.cert-card-body {
  padding: 0 2rem 2rem;
}

/* Timezone Section */
.timezone-visual {
  background: white;
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
}

.timezone-flags {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.timezone-flag {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  background: var(--bg-light);
  transition: var(--transition);
  min-width: 120px;
}

.timezone-flag:hover {
  background: rgba(6,78,59,0.05);
  transform: translateY(-3px);
}

.timezone-flag-emoji {
  font-size: 2.5rem;
  line-height: 1;
}

.timezone-flag-name {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
}

.timezone-flag-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Pulse animation for live elements */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Glow dot */
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  margin-right: 0.5rem;
  animation: pulse 1.5s ease-in-out infinite;
}

/* Number counter */
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Text utilities */
.text-muted { color: var(--text-muted); }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.flex-grow { flex-grow: 1; }

/* Additional Responsive */
@media (max-width: 1024px) {
  .trust-stats-grid,
  .matching-features,
  .guarantee-grid,
  .welcome-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .quiz-options {
    grid-template-columns: 1fr;
  }

  .roadmap-timeline::before {
    left: 2rem;
  }

  .roadmap-step {
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
  }

  .roadmap-step .filler {
    display: none;
  }

  .roadmap-step-content {
    text-align: left !important;
  }

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

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

  .section-title {
    font-size: 2rem;
  }

  .welcome-card {
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .trust-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .trust-stat-number {
    font-size: 2rem;
  }

  .matching-features,
  .guarantee-grid,
  .welcome-steps {
    grid-template-columns: 1fr;
  }

  .assessment-card {
    padding: 2rem 1.5rem;
  }

  .dashboard-body {
    grid-template-columns: 1fr;
  }

  .feature-highlight,
  .cert-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-step {
    grid-template-columns: auto 1fr;
    gap: 1rem;
  }

  .welcome-card {
    padding: 1.5rem;
  }

  .timezone-flags {
    gap: 1rem;
  }

  .timezone-flag {
    min-width: 100px;
    padding: 0.75rem 1rem;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }
}
