/*
 * Al Hafiz Online Quran Academy - Master Stylesheet
 * Brand Theme: Luxury Islamic (Royal Blue, Gold, White, Soft Gray)
 */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Cairo:wght@300;400;500;600;700;800&family=Montserrat:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary-blue: #0a2240;
  --primary-blue-dark: #051427;
  --primary-blue-light: #123561;
  --gold: #c5a059;
  --gold-light: #ecd599;
  --gold-dark: #997839;
  --gold-gradient: linear-gradient(135deg, #c5a059 0%, #ecd599 50%, #997839 100%);
  --blue-gradient: linear-gradient(135deg, #0a2240 0%, #123561 100%);
  --white: #ffffff;
  --soft-gray: #fcfcfd;
  --soft-gray-dark: #f0f2f5;
  --text-dark: #212529;
  --text-muted: #5f6c7d;
  --text-light: #f8f9fa;
  --font-sans: 'Outfit', 'Poppins', sans-serif;
  --font-arabic: 'Amiri', serif;
  --font-heading: 'Cairo', sans-serif;
  --font-sub: 'Montserrat', sans-serif;
  
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-bg-dark: rgba(10, 34, 64, 0.85);
  --glass-border: rgba(197, 160, 89, 0.25);
  --glass-shadow: 0 8px 32px 0 rgba(10, 34, 64, 0.08);
  
  --card-shadow: 0 15px 40px rgba(10, 34, 64, 0.04);
  --card-hover-shadow: 0 20px 50px rgba(197, 160, 89, 0.15);
  --luxury-shadow: 0 12px 36px rgba(197, 160, 89, 0.12);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

/* Global Reset & Body */
body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--soft-gray);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-blue);
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

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

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

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--soft-gray);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-blue-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-logo {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  animation: logo-glow 2s infinite alternate ease-in-out;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(197, 160, 89, 0.1);
  border-top: 3px solid var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Sticky Navbar & Header */
.navbar {
  padding: 18px 0;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
}

.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  padding: 12px 0;
  box-shadow: var(--glass-shadow);
  border-bottom: 1px solid var(--glass-border);
}

.navbar-brand img {
  height: 55px;
  width: 55px;
  transition: var(--transition);
}

.navbar.scrolled .navbar-brand img {
  height: 48px;
  width: 48px;
}

.logo-round {
  border-radius: 50% !important;
  object-fit: cover !important;
  overflow: hidden !important;
  border: 2px solid var(--gold) !important;
  background-color: var(--white);
}

/* --- CLEAN & FIXED NAVBAR LOGO --- */

.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}

/* Default state: Jab page bilkul top par ho */
.navbar-brand img {
  height: 55px !important;
  width: 55px !important;       /* Width fix rakhne se shape kharab nahi hogi */
  min-width: 55px !important;   /* Mobile flex layout ko image dabane se rokega */
  aspect-ratio: 1 / 1 !important; /* Perfect circle banaye rakhne ke liye */
  transition: var(--transition);
}

/* Scrolled state: Jab screen niche scroll ho */
.navbar.scrolled .navbar-brand img {
  height: 48px !important;
  width: 48px !important;
  min-width: 48px !important;
}

/* Premium Round Shape Config */
.logo-round {
  border-radius: 50% !important;
  object-fit: cover !important;   /* Image ko khinchne ya pichakne se bachayega */
  overflow: hidden !important;
  border: 2px solid var(--gold) !important;
  background-color: var(--white);
  padding: 0 !important;          /* Har tarah ki default space khatam */
}

/* newloadercss */

/* ============================================================
   FAIL-SAFE, FORCED CENTERED PRELOADER (Absolute Fix)
   ============================================================ */

/* 1. Main Background Overlay */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; /* Forced full viewport width */
    height: 100vh; /* Forced full viewport height */
    background-color: #0c1c2f; /* Dark background from image */
    z-index: 999999; /* Ultra high z-index to stay on top */
    display: block; /* We'll use absolute centering inside */
}

/* 2. Centered Content Wrapper (Logo + Spinner) */
.preloader-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Forcing absolute mathematical center */
    text-align: center;
    width: 100%;
    max-width: 200px; /* Safe width to prevent mobile squishing */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 3. Loader Logo Fixed Layout */
.loader-logo {
    width: 100px; /* Standard size */
    height: 100px; /* Fixed square for perfect circle */
    border-radius: 50%;
    border: 3px solid #b78a4e; /* Premium gold border */
    background-color: white; /* Clear background for logo */
    padding: 8px; /* Safe padding for text */
    margin-bottom: 25px; /* Space from spinner */
    box-sizing: border-box; /* Ensures padding doesn't affect size */
    overflow: hidden; /* Clips anything outside circle */
    animation: logo-glow 2s infinite alternate ease-in-out;
    display: flex; /* Centers img inside the circle */
    align-items: center;
    justify-content: center;
}

.loader-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Keeps logo aspect ratio */
}

/* 4. Loader Spinner (Rotating Ring) Fixed */
.loader-spinner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* Base light ring */
    border: 4px solid rgba(183, 138, 78, 0.15);
    /* Active golden glow ring */
    border-top-color: #b78a4e; 
    border-right-color: #b78a4e; /* Extra visual sweep */
    animation: spin 1.1s linear infinite;
    box-shadow: 0 0 10px rgba(183, 138, 78, 0.3);
    box-sizing: border-box;
}

/* 5. Keyframes & Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes logo-glow {
    0% { transform: scale(0.97); opacity: 0.92; box-shadow: 0 0 5px rgba(183, 138, 78, 0.1); }
    100% { transform: scale(1.03); opacity: 1; box-shadow: 0 0 25px rgba(183, 138, 78, 0.4); }
}

/* 6. Mobile Small Screens Adjustments */
@media (max-width: 480px) {
    .loader-logo {
        width: 85px;
        height: 85px;
        margin-bottom: 20px;
    }
    .loader-spinner {
        width: 50px;
        height: 50px;
        border-width: 3px;
    }
}


.navbar-brand span.brand-main {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--white);
  transition: var(--transition);
  display: block;
}

.navbar.scrolled .navbar-brand span.brand-main {
  color: var(--primary-blue) !important;
}

.navbar.scrolled .navbar-brand .brand-sub {
  color: var(--gold-dark) !important;
}

.brand-sub {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  font-family: var(--font-sub);
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  font-weight: 700;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 8px 16px !important;
  margin: 0 4px;
  position: relative;
  transition: var(--transition);
}

.navbar.scrolled .nav-link {
  color: var(--primary-blue-light) !important;
}

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

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

.nav-link:hover,
.nav-link.active {
  color: var(--gold) !important;
}

/* Luxury Buttons */
.btn-luxury {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--gold);
  background: var(--gold-gradient);
  color: var(--primary-blue-dark) !important;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--luxury-shadow);
}

.btn-luxury::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.6s;
  z-index: -1;
}

.btn-luxury:hover::before {
  left: 100%;
}

.btn-luxury:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(197, 160, 89, 0.35);
  border-color: var(--gold-light);
}

.btn-luxury-outline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--border-radius-md);
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--gold) !important;
  transition: var(--transition);
}

.btn-luxury-outline:hover {
  background: var(--gold-gradient);
  color: var(--primary-blue-dark) !important;
  transform: translateY(-3px);
  box-shadow: var(--luxury-shadow);
}

/* Contact Info Top bar or Nav buttons */
.btn-whatsapp {
  background: #25d366;
  color: #fff !important;
  border: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: var(--border-radius-md);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

/* Hero Section */
.hero-slider {
  height: 100vh;
  position: relative;
  background-color: var(--primary-blue-dark);
}

.hero-slide {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(5, 20, 39, 0.9) 0%, rgba(10, 34, 64, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 800px;
}

.hero-subtitle {
  font-family: var(--font-sub);
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-subtitle::after {
  content: '';
  width: 50px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--gold);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Floating Shapes / Particles */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.shape-1 {
  position: absolute;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(197, 160, 89, 0.1);
  border-radius: 43% 57% 70% 30% / 45% 45% 55% 55%;
  top: 15%;
  right: 10%;
  animation: morph 12s infinite alternate linear;
}

.shape-2 {
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.05) 0%, transparent 70%);
  bottom: 10%;
  left: 5%;
  animation: float 8s infinite alternate ease-in-out;
}

/* Section Common Styling */
.section-padding {
  padding: 100px 0;
}

.bg-light-gold {
  background-color: #fdfaf4;
}

.bg-dark-blue {
  background-color: var(--primary-blue-dark);
}

.section-header {
  margin-bottom: 60px;
}

.section-subtitle {
  font-family: var(--font-sub);
  color: var(--gold-dark);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.75rem;
  position: relative;
  margin-bottom: 24px;
}

.section-title span {
  color: var(--gold-dark);
}

/* Islamic Section Divider */
.islamic-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.islamic-divider::before,
.islamic-divider::after {
  content: '';
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.islamic-divider i {
  color: var(--gold);
  font-size: 1.2rem;
  animation: spin-slow 15s infinite linear;
}

/* Info Cards / Features / Why Choose Us */
.luxury-card {
  background: var(--white);
  border: 1px solid rgba(197, 160, 89, 0.1);
  border-radius: var(--border-radius-md);
  padding: 45px 35px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.luxury-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.luxury-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-hover-shadow);
  border-color: rgba(197, 160, 89, 0.3);
}

.luxury-card:hover::before {
  transform: scaleX(1);
}

.card-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius-sm);
  background: rgba(197, 160, 89, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  color: var(--gold-dark);
  font-size: 2rem;
  transition: var(--transition);
}

.luxury-card:hover .card-icon-wrap {
  background: var(--gold-gradient);
  color: var(--primary-blue-dark);
  transform: rotateY(180deg);
}

/* Banner / Promo Sections */
.promo-banner {
  background: var(--blue-gradient);
  color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 70px 50px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(10, 34, 64, 0.15);
  border: 1px solid rgba(197, 160, 89, 0.15);
}

.promo-banner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 80% 50%, rgba(197, 160, 89, 0.05) 0%, transparent 60%);
  z-index: -1;
}

/* Stats / Counters Area */
.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-family: var(--font-sub);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Courses Grid & Cards */
.course-card {
  background: var(--white);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(197, 160, 89, 0.1);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-hover-shadow);
  border-color: rgba(197, 160, 89, 0.3);
}

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

.course-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.course-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--gold-gradient);
  color: var(--primary-blue-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: var(--border-radius-sm);
  text-transform: uppercase;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.course-body {
  padding: 30px;
}

.course-meta {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  font-family: var(--font-sub);
  margin-bottom: 15px;
  border-bottom: 1px solid var(--soft-gray-dark);
  padding-bottom: 15px;
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
}

.course-meta i {
  color: var(--gold-dark);
}

.course-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.course-desc {
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-benefits {
  font-size: 0.85rem;
  color: var(--primary-blue);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Testimonials / Parent Reviews */
.testimonial-swiper {
  padding: 40px 10px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid rgba(197, 160, 89, 0.12);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
}

.testimonial-quote-icon {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 3rem;
  color: rgba(197, 160, 89, 0.1);
}

.testimonial-stars {
  color: var(--gold);
  margin-bottom: 20px;
}

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

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

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--soft-gray-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-weight: 700;
  border: 2px solid var(--gold-light);
}

.author-info h5 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Islamic Quote / Hadith Banner */
.islamic-quote-banner {
  background: var(--blue-gradient);
  position: relative;
  z-index: 1;
}

.islamic-quote-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path d="M30 0 L60 30 L30 60 L0 30 Z" fill="none" stroke="rgba(197,160,89,0.03)" stroke-width="1"/></svg>');
  background-repeat: repeat;
  z-index: -1;
}

.arabic-calligraphy {
  font-family: var(--font-arabic);
  font-size: 2.5rem;
  color: var(--gold-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

.translation-text {
  font-size: 1.3rem;
  color: var(--white);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 15px auto;
}

.quote-source {
  font-family: var(--font-sub);
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Page Headers (Premium Banner) */
.page-header {
  padding: 180px 0 100px 0;
  background: var(--blue-gradient);
  position: relative;
  z-index: 1;
  text-align: center;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 50% 50%, rgba(197, 160, 89, 0.08) 0%, transparent 80%);
  z-index: -1;
}

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

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sub);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

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

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

/* Timeline */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 50px auto 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--gold-light);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--white);
  border: 4px solid var(--gold);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.right::after {
  left: -10px;
}

.timeline-content {
  padding: 30px;
  background-color: var(--white);
  position: relative;
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(197, 160, 89, 0.1);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

/* How Classes Work / Learning Process */
.process-step {
  text-align: center;
  position: relative;
}

.process-step::after {
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 40px;
  right: -15%;
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.5;
}

.col-md-3:last-child .process-step::after {
  display: none;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--primary-blue-dark);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
  box-shadow: var(--luxury-shadow);
  border: 4px solid var(--white);
}

/* Pricing Grid */
.pricing-card {
  background: var(--white);
  border: 1px solid rgba(197, 160, 89, 0.15);
  border-radius: var(--border-radius-md);
  padding: 50px 40px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
}

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

.pricing-ribbon {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gold-gradient);
  color: var(--primary-blue-dark);
  font-size: 0.7rem;
  font-family: var(--font-sub);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.pricing-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: var(--primary-blue);
  letter-spacing: 0.05em;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 30px;
}

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

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--soft-gray-dark);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing-features li i {
  color: var(--gold);
  margin-right: 8px;
}

/* Contact Details Info List */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-info-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-info-content h5 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-info-content p, .contact-info-content a {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Luxury Form Inputs */
.luxury-form {
  background: var(--white);
  border: 1px solid rgba(197, 160, 89, 0.15);
  border-radius: var(--border-radius-md);
  padding: 45px;
  box-shadow: var(--card-shadow);
}

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

.form-label-luxury {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-blue-light);
  margin-bottom: 8px;
  display: block;
}

.form-control-luxury {
  width: 100%;
  background: var(--soft-gray);
  border: 1px solid rgba(197, 160, 89, 0.15);
  border-radius: var(--border-radius-sm);
  padding: 14px 18px;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-control-luxury:focus {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.15);
  outline: none;
}

/* FAQ Accordion */
.accordion-item-luxury {
  background: var(--white);
  border: 1px solid rgba(197, 160, 89, 0.15) !important;
  border-radius: var(--border-radius-sm) !important;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.accordion-button-luxury {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary-blue) !important;
  background: var(--white) !important;
  padding: 20px 25px;
  border: none !important;
  font-size: 1.05rem;
}

.accordion-button-luxury:not(.collapsed) {
  color: var(--gold-dark) !important;
  border-bottom: 1px solid rgba(197, 160, 89, 0.1) !important;
}

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

.accordion-body-luxury {
  padding: 25px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  background: #fdfdfd;
}

/* Premium Footer */
.footer {
  background-color: var(--primary-blue-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 100px 0 30px 0;
  border-top: 3px solid var(--gold);
  position: relative;
  z-index: 1;
}

.footer-logo {
  height: 65px;
  margin-bottom: 24px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 12px;
}

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

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

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

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

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

.footer-social-icon:hover {
  border-color: var(--gold);
  background: var(--gold-gradient);
  color: var(--primary-blue-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 80px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 40px;
  left: 40px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition);
}

.whatsapp-float:hover {
  background-color: #20ba59;
  transform: scale(1.1) rotate(15deg);
  color: var(--white);
}

/* Back To Top Button */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue-dark);
  font-size: 1.2rem;
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.3);
  z-index: 1000;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  border: none;
}

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

.back-to-top:hover {
  transform: translateY(-5px);
  color: var(--primary-blue-dark);
}

/* Maps / Loader and miscellaneous */
.map-container {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.2);
  box-shadow: var(--card-shadow);
  height: 450px;
}

.wave-footer {
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 40px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"><path fill="%23051427" d="M0,192L48,197.3C96,203,192,213,288,202.7C384,192,480,160,576,149.3C672,139,768,149,864,170.7C960,192,1056,224,1152,218.7C1248,213,1344,171,1392,149.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: 100% 100%;
}

/* new slider */

/* 1. Main Slide Container Setup */
.hero-slide {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 80vh; /* Laptop aur bari screens ke liye default height */
}

/* 2. Video Full-Screen Cover Logic (Laptop aur Mobile dono ke liye) */
.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  z-index: 1;
  transform: translate(-50%, -50%);
  object-fit: cover; /* Video ko stretch hone se bachayega aur center rakhega */
}

/* 3. Dark Overlay (Takay white text video ke upar wazeh parha jaye) */
.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Agar video zyada dark karni ho to 0.6 ko barha dena */
  z-index: 2;
}

/* 4. Content Content Layering */
.hero-slide .container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff; /* Text color sure karne ke liye */
}


/* ==========================================================================
   5. MOBILE & TABLET RESPONSIVENESS (Jahan text gayab ho raha tha)
   ========================================================================== */
@media (max-width: 767.98px) {
  .hero-slide {
    min-height: 90vh; /* Mobile par screen choti hoti hai, to height thodi barha di */
    padding-top: 60px;  /* Top aur bottom space taake text daba hua na lage */
    padding-bottom: 60px;
  }

  .hero-content {
    text-align: center; /* Mobile par center text zyada premium lagta hai */
  }

  /* Agar title text mobile ke hisab se boht bara tha to usko resize kiya */
  .hero-title {
    font-size: 1.8rem !important; 
    line-height: 1.3 !important;
  }
  
  .hero-desc {
    font-size: 0.95rem !important;
    margin-bottom: 20px !important;
  }

  /* Buttons ko mobile par center karne ke liye */
  .d-flex.flex-wrap.gap-3 {
    justify-content: center !important;
  }
}

/* --- FIXED LUXURY BUTTON FOR LONG TEXT --- */
.btn-luxury {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  word-wrap: break-word;
  white-space: normal !important; /* Text ko niche shift hone ki ijazat dega */
  height: auto !important;        /* Height auto rakhni hai taake content ke hisab se expand ho */
  padding: 14px 28px;             /* Standard balanced padding */
  transition: all 0.3s ease;
}

/* Khas taur par mobile screens ke liye fix */
@media (max-width: 767.98px) {
  .btn-luxury {
    display: inline-block;        /* Mobile par block-level standard flow safe rehta hai */
    width: auto;                  /* Apne text ke mutabiq width le */
    max-width: 100%;             /* Screen se bahar na jaye */
    font-size: 0.9rem !important; /* Mobile par thoda chota font taake 3 lines na banein */
    padding: 12px 20px !important;/* Padding thodi kam taake compact lage */
    line-height: 1.4 !important;  /* Agar text break ho to lines ke beech sahi space ho */
  }
}

/* founderpic */

/* --- FOUNDER IMAGE & CARD PREMIUM STYLING (FIXED FOR FULL IMAGE) --- */

/* Card layout wrapper */
#founderCard {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

#founderCard:hover {
  transform: translateY(-5px);
}

/* Image Wrapper: Isko square center kiya taake landscape image scale ho ske */
.founder-img-wrapper {
  width: 100%;
  max-width: 320px;       /* Laptop par image ki wazeh landscape width */
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;    /* Pure picture dikhane ke liye border-radius smooth kiya */
  border: 2px solid #b78a4e; /* Premium gold border */
  padding: 6px;           /* Elegant spacing border aur pic ke beech */
  background-color: #ffffff;
  box-shadow: 0 8px 25px rgba(183, 138, 78, 0.15);
  overflow: hidden;
}

/* Actual Image Control: Poori photo show karne ki logic */
.founder-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;    /* Image ko bina kaate aur bina khinche bilkul poora dikhayega */
  border-radius: 8px;     /* Inner corner smooth styling */
}

/* Italic text styling */
.italic {
  font-style: italic;
  line-height: 1.6;
}

/* ============================================================
   MOBILE RESPONSIVENESS FIX
   ============================================================ */
@media (max-width: 767.98px) {
  #founderCard {
    padding: 25px 15px;  /* Mobile par spacing thodi kam ki */
    margin-bottom: 20px;
  }
  
  .founder-img-wrapper {
    max-width: 100%;     /* Mobile screen ke hisab se automatically scale ho jaye */
  }
}