/* style.css - Main Stylesheet for Zeerak Quran Academy */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Amiri:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  /* Brand Colors */
  --primary: #126E6D;
  --primary-light: #1A8F8D;
  --primary-dark: #0D4E4D;
  --secondary: #AC832D;
  --secondary-light: #C29B45;
  --secondary-dark: #8F6A1F;
  --accent: #E8F1F1;
  
  /* Background & Text Colors */
  --bg-color: #F8FAF9;
  --bg-white: #FFFFFF;
  --text-main: #374151;
  --text-dark: #1F2937;
  --text-light: #6B7280;
  
  /* System */
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(255, 255, 255, 0.5);
  --shadow-sm: 0 4px 6px -1px rgba(18, 110, 109, 0.05);
  --shadow-md: 0 10px 30px -5px rgba(18, 110, 109, 0.1);
  --shadow-lg: 0 20px 40px -10px rgba(18, 110, 109, 0.15);
  --shadow-card: 0 15px 35px rgba(0,0,0,0.05);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  /* Typography */
  --font-main: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --font-arabic: 'Amiri', serif;
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--primary-dark);
  line-height: 1.3;
  margin-bottom: 1rem;
}

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

ul, ol {
  list-style: none;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================================
   Utility Classes
   ========================================= */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.bg-primary { background-color: var(--primary); color: var(--bg-white); }
.bg-secondary { background-color: var(--secondary); color: var(--bg-white); }
.bg-light { background-color: var(--bg-color); }
.bg-white { background-color: var(--bg-white); }
.my-4 { margin-top: 2rem; margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* =========================================
   Buttons
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  font-family: var(--font-main);
  gap: 10px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(5px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--bg-white);
  box-shadow: 0 8px 20px rgba(18, 110, 109, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(18, 110, 109, 0.35);
  color: var(--bg-white);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: var(--bg-white);
  box-shadow: 0 8px 20px rgba(172, 131, 45, 0.25);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(172, 131, 45, 0.35);
  color: var(--bg-white);
}

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

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

/* =========================================
   Section Layouts
   ========================================= */
section {
  padding: 100px 0;
  position: relative;
}

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

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  display: inline-block;
  color: var(--secondary);
  font-family: var(--font-main);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.section-title h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  position: relative;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* =========================================
   Header & Navigation
   ========================================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

header.scrolled {
  padding: 10px 0;
}

.top-bar {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 8px 0;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  gap: 20px;
}

.top-bar a {
  color: var(--bg-white);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  transition: var(--transition);
}

header.scrolled .header-container {
  padding: 10px 0;
}

.logo a {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.5rem;
}

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

.nav-menu {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: 1.05rem;
  position: relative;
  color: var(--text-dark);
  padding: 5px 0;
}

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

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

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

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-dark);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  position: relative;
  background: linear-gradient(135deg, rgba(248,250,249,0.95), rgba(248,250,249,0.85)), url('images/hero.png') center/cover no-repeat;
  overflow: hidden;
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.shape-1 {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(172,131,45,0.1) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
}

.shape-2 {
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(18,110,109,0.1) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 25px;
  color: var(--text-dark);
}

.hero-content h1 span {
  color: var(--primary);
  font-style: italic;
  font-family: var(--font-serif);
}

.hero-content h1 .highlight {
  position: relative;
  display: inline-block;
  color: var(--secondary);
}

.hero-content h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 15px;
  background-color: rgba(172, 131, 45, 0.2);
  z-index: -1;
  transform: rotate(-2deg);
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-btns {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.trust-badges {
  display: flex;
  gap: 30px;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-item i {
  color: var(--secondary);
  font-size: 1.8rem;
}

.trust-item span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.hero-image {
  position: relative;
}

.hero-img-box {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}

.hero-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.5s ease;
}

.hero-img-box:hover img {
  transform: scale(1);
}

.floating-card {
  position: absolute;
  bottom: -30px;
  left: -40px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--glass-border);
  animation: float 4s ease-in-out infinite;
}

.floating-card i {
  background: var(--primary-light);
  color: var(--bg-white);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
}

.floating-card-text h4 {
  font-size: 1.2rem;
  margin-bottom: 0;
  color: var(--primary-dark);
}

.floating-card-text p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

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

/* =========================================
   Features Section
   ========================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--bg-white);
  padding: 40px 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  transition: var(--transition);
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(18, 110, 109, 0.15);
  border-color: rgba(18, 110, 109, 0.3);
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: var(--transition);
}

.feature-icon i {
  font-size: 2rem;
  color: var(--primary);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  transition: var(--transition);
}

.feature-card p {
  color: var(--text-light);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: rgba(255,255,255,0.2);
}

.feature-card:hover .feature-icon i {
  transform: scale(1.2) rotateY(15deg);
}

.feature-card:hover .feature-icon i,
.feature-card:hover h3,
.feature-card:hover p {
  color: var(--bg-white);
}

/* =========================================
   About Preview Section
   ========================================= */
.about-preview .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}

.about-img-accent {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 50%;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--bg-white);
  z-index: 3;
}

.about-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.about-list {
  margin: 30px 0;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
}

.about-list li i {
  color: var(--secondary);
  background: rgba(172, 131, 45, 0.1);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
}

/* =========================================
   Courses Section
   ========================================= */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.course-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(18, 110, 109, 0.2);
}

.course-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

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

.course-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--secondary);
  color: var(--bg-white);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 2;
}

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

.course-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.course-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  flex-grow: 1;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.05);
  margin-top: auto;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
}

.meta-item i {
  color: var(--primary);
}

/* =========================================
   Packages/Pricing Section
   ========================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: center;
}

.pricing-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  border: 2px solid transparent;
}

.pricing-card:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-color: var(--primary-light);
}

.pricing-card.popular {
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular:hover {
  transform: scale(1.06);
  box-shadow: 0 20px 40px rgba(18,110,109,0.25);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--bg-white);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-header h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-dark);
  font-family: var(--font-serif);
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.price span {
  font-size: 1.2rem;
  color: var(--text-light);
  font-family: var(--font-main);
  font-weight: 400;
}

.pricing-features {
  margin: 30px 0;
  text-align: left;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--text-main);
}

.pricing-features li i {
  color: var(--secondary);
  font-size: 1.1rem;
}

/* =========================================
   Testimonials Section
   ========================================= */
.testimonials {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--bg-white);
}

.testimonials .section-title h2,
.testimonials .section-title p,
.testimonials .section-subtitle {
  color: var(--bg-white);
}

.testimonial-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255,255,255,0.2);
  margin: 20px;
}

.quote-icon {
  font-size: 3rem;
  color: var(--secondary);
  opacity: 0.5;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 30px;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.client-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary);
}

.client-details h4 {
  color: var(--bg-white);
  margin-bottom: 5px;
}

.client-details p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.stars {
  color: var(--secondary-light);
}

/* Swiper overrides if needed */
.swiper-pagination-bullet {
  background: rgba(255,255,255,0.5) !important;
}
.swiper-pagination-bullet-active {
  background: var(--secondary) !important;
}

/* =========================================
   Blog Preview
   ========================================= */
.blog-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.blog-card:hover {
  transform: rotateZ(1deg) scale(1.02);
  box-shadow: var(--shadow-md);
  margin-top: -5px;
}

.blog-img {
  height: 200px;
  overflow: hidden;
}

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

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

.blog-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  gap: 15px;
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.blog-title a {
  color: var(--primary-dark);
}

.blog-title a:hover {
  color: var(--primary);
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.read-more:hover {
  color: var(--primary);
  gap: 8px;
}

/* =========================================
   FAQ Section
   ========================================= */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--border-radius-sm);
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-header {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--bg-white);
  transition: var(--transition);
}

.faq-header h3 {
  font-size: 1.1rem;
  margin-bottom: 0;
  font-family: var(--font-main);
  color: var(--text-dark);
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--secondary);
}

.faq-item.active .faq-header {
  background: var(--primary);
}

.faq-item.active .faq-header h3 {
  color: var(--bg-white);
}

.faq-body {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-body {
  padding: 20px 25px;
  max-height: 500px;
}

/* =========================================
   Contact CTA Section
   ========================================= */
.contact-cta {
  background: url('images/teacher.png') center/cover fixed;
  padding: 120px 0;
  position: relative;
  text-align: center;
  color: var(--bg-white);
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(13, 78, 77, 0.85);
}

.contact-cta .container {
  position: relative;
  z-index: 2;
}

.contact-cta h2 {
  color: var(--bg-white);
  font-size: 3rem;
  margin-bottom: 20px;
}

.contact-cta p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* =========================================
   Footer
   ========================================= */
footer {
  background-color: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding-top: 80px;
}

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

.footer-col h3 {
  color: var(--bg-white);
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-about .logo a {
  color: var(--bg-white);
  margin-bottom: 20px;
  display: inline-block;
}

.footer-about p {
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--bg-white);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

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

.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a::before {
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--secondary);
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-contact i {
  color: var(--secondary);
  font-size: 1.2rem;
  margin-top: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 25px 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer-bottom p span {
  color: var(--secondary);
}

/* =========================================
   Inner Pages Specific Styles (About, Courses, etc)
   ========================================= */
.page-header {
  padding: 180px 0 100px;
  background: linear-gradient(135deg, rgba(13,78,77,0.9), rgba(18,110,109,0.8)), url('images/quran.png') center/cover;
  text-align: center;
  color: var(--bg-white);
}

.page-header h1 {
  color: var(--bg-white);
  font-size: 4rem;
  margin-bottom: 20px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 1.1rem;
}

.breadcrumb a {
  color: var(--secondary);
}

.breadcrumb span {
  color: rgba(255,255,255,0.7);
}

/* Contact Page Form */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.contact-info {
  background: var(--primary);
  color: var(--bg-white);
  padding: 50px;
}

.contact-info h3 {
  color: var(--bg-white);
  font-size: 2rem;
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--secondary);
}

.info-item h4 {
  color: var(--bg-white);
  font-family: var(--font-main);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-form {
  padding: 50px;
}

.form-group {
  margin-bottom: 25px;
}

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

.form-control {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg-color);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(18,110,109,0.1);
}

textarea.form-control {
  height: 150px;
  resize: vertical;
}

/* CEO Message Section */
.ceo-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.ceo-video {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/9;
  position: relative;
  background: var(--bg-color);
}

.ceo-video iframe, .ceo-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ceo-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.ceo-content h4 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 5px;
  margin-top: 25px;
}

.ceo-content span {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3.5rem; }
  .about-preview .container { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ceo-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  header .top-bar { display: none; }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
  }
  .nav-menu.active { left: 0; }
  .mobile-menu-btn { display: block; }
  
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content { margin: 0 auto; }
  .hero-btns { justify-content: center; flex-direction: column; align-items: center; width: 100%; gap: 15px; }
  .hero-btns .btn { width: 100%; max-width: 320px; white-space: normal; text-align: center; }
  .trust-badges { justify-content: center; flex-wrap: wrap; }
  
  .section-title h2 { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
}


/* =========================================
   WhatsApp Floating Widget
   ========================================= */
.wa-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.wa-float-button {
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: absolute;
    bottom: 0;
    right: 0;
}

.wa-float-button:hover {
    transform: scale(1.1);
}

.wa-widget-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
    transform-origin: bottom right;
}

.wa-widget-box.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wa-box-header {
    background: #FAFFDC; /* light yellowish-green */
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    border-radius: 12px 12px 0 0;
}

.wa-box-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
}

.wa-box-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.wa-box-info {
    flex-grow: 1;
}

.wa-box-info h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
    font-family: var(--font-main);
    font-weight: 500;
}

.wa-box-info p {
    margin: 0;
    font-size: 13px;
    color: #555;
}

.wa-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #888;
}

.wa-close-btn:hover {
    color: #333;
}

.wa-box-body {
    padding: 25px 20px;
    background-color: #FAFAFA;
    background-image: url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M20 20c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm0-2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zM10 30c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm0-2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zM30 10c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm0-2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1z" fill="%23e0e0e0" fill-opacity="0.5" fill-rule="evenodd"/%3E%3C/svg%3E');
}

.wa-chat-bubble {
    background: #FFF;
    padding: 15px;
    border-radius: 12px 12px 12px 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.wa-chat-name {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
    display: block;
}

.wa-chat-bubble p {
    margin: 0 0 5px 0;
    font-size: 15px;
    color: #111;
    font-family: Arial, sans-serif;
    line-height: 1.4;
}

.wa-box-footer {
    background: #FFF;
    padding: 15px 20px 20px;
    text-align: center;
    border-radius: 0 0 12px 12px;
}

.wa-box-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #1A1A1A;
    color: #FFF;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 15px;
    width: 100%;
    transition: background 0.2s;
}

.wa-box-footer a i {
    font-size: 18px;
}

.wa-box-footer a:hover {
    background: #000;
}

/* =========================================
   Global Smooth Animations
   ========================================= */

/* Button Hover Glow & Lift */
.btn {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:active, .btn-secondary:active, .btn-outline:active {
    transform: scale(0.95);
}

.btn-primary:hover {
    box-shadow: 0 10px 30px rgba(18, 110, 109, 0.4);
}
.btn-secondary:hover {
    box-shadow: 0 10px 30px rgba(172, 131, 45, 0.4);
}

/* Image Hover Zoom */
.about-img-main, .about-img-accent {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s ease;
}
.about-img-main:hover, .about-img-accent:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Card Lift & Shadow */
.course-card, .feature-card, .pricing-card, .blog-card {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Glowing text highlight */
.hero-content h1 .highlight::after {
    transition: height 0.3s ease, background-color 0.3s ease;
}

.hero-content h1:hover .highlight::after {
    height: 100%;
    background-color: rgba(172, 131, 45, 0.15);
}

/* Nav Link Smooth Underline */
.nav-link {
    display: inline-block;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}
.nav-link:hover {
    transform: translateY(-2px);
}

/* Swiper Card Interactive */
.testimonial-card {
    transition: all 0.4s ease;
    cursor: default;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}



/* Footer Links Hover */
.footer-links ul li a {
    transition: all 0.3s ease;
    display: inline-block;
}
.footer-links ul li a:hover {
    transform: translateX(10px);
    color: var(--secondary);
}

/* Social Links Animation */
.social-links a {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
}
.social-links a:hover {
    transform: translateY(-5px) rotate(360deg);
    background-color: var(--secondary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(172, 131, 45, 0.4);
}

/* Top bar subtle links */
.top-bar a {
    transition: all 0.3s ease;
}
.top-bar a:hover {
    transform: translateY(-2px);
    color: var(--secondary);
    text-shadow: 0 0 8px rgba(172, 131, 45, 0.5);
}

/* Feature Icon Hover Jump */
.feature-card:hover .feature-icon {
    animation: icon-bounce 0.8s;
}

@keyframes icon-bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-15px);}
    60% {transform: translateY(-7px);}
}


/* ================================================
   4-plan pricing grid, ways-to-save, calendar embed
   Added 16 Oct 2026 with the USD pricing switch.
   Revised 19 Oct 2026: equal-height cards, redesigned
   discount cards, hardened calendar container.
   The original .pricing-grid uses minmax(300px,1fr),
   which drops the 4th plan onto its own row.
   ================================================ */

.pricing-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}
/* equal height so all four CTAs sit on the same line */
.pricing-grid-4 .pricing-card {
  display: flex;
  flex-direction: column;
  padding: 38px 24px 32px;
}
.pricing-grid-4 .pricing-features {
  flex: 1 1 auto;
}
@media (max-width: 1100px) {
  .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 620px) {
  .pricing-grid-4 { grid-template-columns: 1fr; }
}

/* 4 cards are narrower than the original 3, so the badge wrapped */
.pricing-grid-4 .popular-badge {
  white-space: nowrap;
  font-size: 0.68rem;
  padding: 5px 14px;
  letter-spacing: 0.06em;
}

/* ---- Ways to save ---- */
.save-band {
  margin-top: 72px;
}
.save-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 10px;
}
.save-sub {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.save-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 780px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .save-grid { grid-template-columns: 1fr; }
}
.save-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-card);
  border: 2px solid transparent;
  padding: 38px 30px 32px;
  text-align: center;
  transition: var(--transition);
}
.save-card:hover {
  transform: translateY(-4px);
  border-color: var(--secondary-light);
  box-shadow: var(--shadow-lg);
}
.save-pct {
  width: 78px;
  height: 78px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(172, 131, 45, 0.28);
}
.save-pct sup {
  font-size: 0.9rem;
  font-weight: 600;
  margin-left: 2px;
  top: -0.5em;
}
.save-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 10px;
}
.save-card p {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.65;
  margin: 0 0 18px;
}
.save-meta {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary-dark);
  background: rgba(172, 131, 45, 0.10);
  border-radius: 999px;
  padding: 7px 16px;
}

/* ---- Embedded GHL booking calendar (packages.html) ---- */
.calendar-embed {
  max-width: 920px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  padding: 10px;
  overflow: hidden;
}
.calendar-embed iframe {
  width: 100%;
  min-height: 740px;
  border: 0;
  display: block;
  border-radius: var(--border-radius-md);
  background: var(--bg-white);
}
@media (max-width: 600px) {
  .calendar-embed { padding: 6px; }
  .calendar-embed iframe { min-height: 880px; }
}
