/* TALEEM-UL-QURAN - Premium Styles */
:root {
  --green: #0B3D2E;
  --gold: #C8A951;
  --light-gold: #F5E8C7;
  --white: #FFFFFF;
  --light-bg: #F9F7F2;
  --dark-text: #1A1A1A;
  --gray: #6B7280;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: var(--light-bg);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

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

/* Header & Navigation */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.nav-link {
  color: #374151;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--green);
}

.nav-link.active {
  color: var(--green);
  font-weight: 600;
}

.nav-link.active:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
}

/* Premium Buttons */
.btn-primary {
  background-color: var(--green);
  color: white;
  padding: 14px 32px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #07291F;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgb(11 61 46 / 0.3);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #E8D5A3);
  color: var(--green);
  padding: 14px 32px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-gold:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 25px -5px rgb(200 169 81 / 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
  padding: 12px 28px;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

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

/* Cards */
.premium-card {
  background: white;
  border-radius: 24px;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid #F3EDE4;
}

.premium-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px -12px rgb(11 61 46 / 0.15);
}

.course-card {
  overflow: hidden;
}

.course-card .card-header {
  height: 8px;
  background: linear-gradient(to right, var(--green), var(--gold));
}

/* Islamic Subtle Pattern */
.islamic-bg {
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(200, 169, 81, 0.06) 1px, transparent 0),
    radial-gradient(circle at 75% 75%, rgba(11, 61, 46, 0.04) 2px, transparent 0);
  background-size: 65px 65px;
}

/* Form Styles */
.form-input {
  width: 100%;
  padding: 14px 20px;
  border: 1.5px solid #E5DFD3;
  border-radius: 16px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 169, 81, 0.15);
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 64px;
  height: 64px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

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

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* Section Headers */
.section-header {
  position: relative;
  display: inline-block;
}

.section-header:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--green));
  border-radius: 3px;
}

/* Teacher Cards */
.teacher-card img {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* Blog Cards */
.blog-card {
  transition: all 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

/* Stats */
.stat-value {
  font-variant-numeric: tabular-nums;
}

/* Mobile Menu */
.mobile-menu {
  animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}.sqa-split-hero {
    min-height: 100vh;
    display: flex;
    background: linear-gradient(135deg, #06251c 0%, #0B3D2E 55%, #123f31 100%);
    overflow: hidden;
}

.sqa-hero-content {
    width: 48%;
    padding: 120px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    position: relative;
    z-index: 5;
}

.sqa-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(200,169,81,0.45);
    color: #F4D37E;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    margin-bottom: 26px;
}

.sqa-hero-content h1 {
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.05;
    font-weight: 900;
    margin-bottom: 24px;
}

.sqa-hero-content h1 span {
    color: #C8A951;
}

.sqa-hero-content p {
    font-size: 20px;
    line-height: 1.55;
    color: rgba(255,255,255,0.86);
    max-width: 560px;
    margin-bottom: 34px;
}

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

.sqa-btn-gold {
    background: #C8A951;
    color: #0B3D2E;
    padding: 15px 28px;
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.sqa-btn-outline {
    border: 1px solid rgba(255,255,255,0.45);
    color: white;
    padding: 15px 28px;
    border-radius: 999px;
    font-weight: 800;
}

.sqa-hero-image-side {
    width: 52%;
    position: relative;
    min-height: 100vh;
    border-top-left-radius: 60px;
    border-bottom-left-radius: 60px;
    overflow: hidden;
    box-shadow: -25px 0 60px rgba(0,0,0,0.28);
}

.sqa-hero-image-side::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11,61,46,0.35), rgba(0,0,0,0.12));
    z-index: 2;
}

.sqa-hero-image-side .hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.4s ease, transform 5s ease;
}

.sqa-hero-image-side .hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 900px) {
    .sqa-split-hero {
        flex-direction: column;
    }

    .sqa-hero-content,
    .sqa-hero-image-side {
        width: 100%;
    }

    .sqa-hero-content {
        padding: 80px 28px 40px;
    }

    .sqa-hero-image-side {
        min-height: 420px;
        border-radius: 35px 35px 0 0;
    }
}