/* ─── SHIKSHA RATAN PREMIUM ULTRA-LIGHT THEME ─── */
:root {
  --primary: #FF8C1A;
  /* Vibrant Orange */
  --primary-light: #ffa64d;
  --primary-dark: #e67300;

  --bg-main: #ffffff;
  --bg-alt: #f8f9fa;
  --bg-subtle: #f1f3f5;

  --text-dark: #0B1736;
  /* Navy Blue */
  --text-muted: #6b7280;
  --text-light: #9ca3af;

  --gold: #FFD700;
  --red: #D32F2F;
  --green: #2E7D32;
  --purple: #6A1B9A;
  --blue: #1565C0;

  --border-color: #e5e7eb;

  --ff-display: 'Montserrat', sans-serif;
  --ff-heading: 'Montserrat', sans-serif;
  --ff-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Soft, elegant, expensive shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --shadow-glow: 0 10px 25px rgba(255, 140, 26, 0.3);

  --radius: 16px;
  --radius-lg: 24px;
}

/* ─── RESET & BASE ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

h1,
h2 {
  font-family: var(--ff-heading);
  letter-spacing: -0.02em;
  font-weight: 800;
}

h3,
h4 {
  font-family: var(--ff-body);
  font-weight: 600;
}

.font-display {
  font-family: var(--ff-display);
}

.font-serif {
  font-family: var(--ff-heading);
}

/* ─── UTILITIES ─── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

/* Massive whitespace */
.section-alt {
  background-color: var(--bg-alt);
}

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

.text-primary {
  color: var(--primary) !important;
}

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

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 15px;
  font-family: var(--ff-body);
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(255, 119, 0, 0.3);
  color: #fff;
}

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

.btn-outline:hover {
  background-color: var(--bg-alt);
  transform: translateY(-2px);
}

.btn-white {
  background-color: #fff;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.btn-white:hover {
  background-color: var(--bg-alt);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ─── PREMIUM CARDS ─── */
.premium-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  border-color: rgba(255, 119, 0, 0.1);
}

/* ─── GALLERY HIGHLIGHTS ─── */
.gallery-highlights {
  padding: 80px 0;
  overflow: hidden;
  background-color: var(--bg-main);
}

.gallery-slider-container {
  margin-bottom: 30px;
}

.gallery-slider .swiper-slide {
  height: 250px;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}

.gallery-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-slider .swiper-slide:hover img {
  transform: scale(1.1);
}

.gallery-slider .swiper-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 23, 54, 0.2);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.gallery-slider .swiper-slide:hover::after {
  opacity: 1;
}

/* ─── PHOTO GALLERY PAGE ─── */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
  justify-content: center;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-md);
  background-color: var(--bg-subtle);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 0 0 calc(25% - 18px); /* 4 columns minus gap share */
  min-width: 280px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 23, 54, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.gallery-overlay i {
  color: #fff;
  font-size: 32px;
  transform: scale(0.5);
  transition: all 0.4s ease;
}

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

/* Responsive Grid */
@media (max-width: 1200px) {
  .gallery-item {
    flex: 0 0 calc(33.33% - 16px); /* 3 columns */
  }
}

@media (max-width: 768px) {
  .gallery-item {
    flex: 0 0 calc(50% - 12px); /* 2 columns */
  }
  
  .gallery-slider .swiper-slide {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .gallery-item {
    flex: 0 0 100%; /* 1 column */
  }
}

/* ─── HEADER & NAVBAR ─── */
.header {
  background-color: #f7f7f7;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-icon {
  height: 80px;
  width: auto;
}

.logo-icon:hover {
  transform: scale(1.02);
}

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

.nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s;
}

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

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 30px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border-color);
  padding: 30px;
  position: absolute;
  top: 90px;
  left: 0;
  width: 100%;
  box-shadow: var(--shadow-lg);
  z-index: 999;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 15px 0;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
}

/* ─── HERO SLIDER ─── */
.hero-slider-section {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.heroSwiper {
  width: 100%;
  height: 100%;
}

.heroSwiper .swiper-slide {
  text-align: center;
  background: var(--text-dark);
  display: flex;
  justify-content: center;
  align-items: center;
}

.heroSwiper .swiper-slide picture {
  width: 100%;
  display: block;
}

.heroSwiper .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 250px;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--gold) !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.swiper-pagination-bullet-active {
  background: var(--gold) !important;
}

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

.section-header .tag {
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: inline-block;
}

.section-header h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ─── HORIZONTAL TIMELINE / JOURNEY ─── */
.journey-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.journey-step {
  flex: 1;
  position: relative;
  text-align: left;
}

.journey-step-num {
  font-family: var(--ff-heading);
  font-size: 60px;
  color: rgba(255, 119, 0, 0.1);
  line-height: 1;
  margin-bottom: 20px;
  font-weight: 900;
}

.journey-step h4 {
  font-size: 20px;
  margin-bottom: 12px;
}

.journey-step p {
  font-size: 15px;
  color: var(--text-muted);
}

/* ─── PRICING CARDS ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.price-card {
  text-align: center;
}

.price-card h3 {
  font-size: 22px;
  margin-bottom: 20px;
  font-family: var(--ff-body);
}

.price-amt {
  font-family: var(--ff-heading);
  font-size: 56px;
  margin-bottom: 10px;
  line-height: 1;
  color: var(--text-dark);
}

.price-features {
  list-style: none;
  margin-bottom: 40px;
  text-align: left;
  padding: 0 20px;
}

.price-features li {
  margin-bottom: 16px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
}

.price-features li i {
  color: var(--primary);
  font-size: 14px;
}

/* ─── SUBJECTS GRID ─── */
.subjects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.subject-card {
  text-align: center;
}

.subject-icon-wrap {
  width: 70px;
  height: 70px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  color: var(--primary);
  transition: all 0.3s ease;
}

.subject-card:hover .subject-icon-wrap {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}

/* ─── VERTICAL TIMELINE ─── */
.v-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.v-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--border-color);
  transform: translateX(-50%);
}

.v-timeline-item {
  position: relative;
  margin-bottom: 60px;
  width: 50%;
  padding-right: 60px;
}

.v-timeline-item:nth-child(even) {
  margin-left: 50%;
  padding-right: 0;
  padding-left: 60px;
}

.v-timeline-dot {
  position: absolute;
  top: 30px;
  right: -6px;
  width: 12px;
  height: 12px;
  background: var(--bg-main);
  border: 2px solid var(--primary);
  border-radius: 50%;
  z-index: 2;
}

.v-timeline-item:nth-child(even) .v-timeline-dot {
  left: -6px;
  right: auto;
}

.v-timeline-date {
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

/* ─── TESTIMONIALS ─── */
.testimonial-card {
  position: relative;
  padding: 40px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.testimonial-user img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

/* ─── ACCORDION (FAQ) ─── */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.accordion-header {
  padding: 24px;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--ff-body);
}

.accordion-header i {
  color: var(--primary);
  transition: transform 0.3s ease, color 0.3s ease;
}

.accordion-header.active i {
  color: var(--primary);
}

.accordion-body {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--text-muted);
}

.accordion-body.active {
  padding: 0 24px 24px;
  max-height: 500px;
}

/* ─── FOOTER ─── */
.footer {
  background-color: var(--text-dark);
  color: #fff;
  padding: 100px 0 40px;
}

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

.footer h4 {
  font-family: var(--ff-heading);
  color: #fff;
  margin-bottom: 30px;
  font-size: 20px;
}

.footer p,
.footer a {
  color: #9ca3af;
  font-size: 15px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 16px;
}

.footer ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #6b7280;
  font-size: 14px;
}

.btn-red {
  background-color: var(--red);
  color: #fff;
}

.btn-red:hover {
  background-color: #b71c1c;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(211, 47, 47, 0.3);
}

/* ─── CARDS ─── */
.stat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 119, 0, 0.2);
}

.stat-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.stat-value {
  font-family: var(--ff-heading);
  font-size: 36px;
  color: var(--primary);
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
  font-weight: 600;
}

/* ─── SOCIAL PROOF BADGE ─── */
.google-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.google-rating-badge img {
  width: 24px;
  height: 24px;
}

.google-stars {
  color: #fbbc05;
  font-size: 14px;
}



/* ─── RESPONSIVE ─── */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .journey-grid {
    flex-direction: column;
  }

  .v-timeline::before {
    left: 24px;
  }

  .v-timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 0;
    margin-left: 0 !important;
    margin-bottom: 30px;
  }

  .responsive-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .responsive-grid-2-sm {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .responsive-grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .v-timeline-dot {
    left: 18px !important;
  }

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

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

@media (max-width: 768px) {
  .header {
    position: static;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

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

  .hero-h1 {
    font-size: 40px;
  }

  .section {
    padding: 50px 0;
  }

  body {
    padding-bottom: 70px;
  }

  /* Mobile floating register button */
  .mobile-float-register {
    display: flex;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 85px; /* Leave room for WhatsApp icon */
    height: 50px;
    background: linear-gradient(to right, #f7b733, #fc4a1a);
    color: white;
    border-radius: 50px;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(252, 74, 26, 0.3);
    z-index: 1000;
    text-decoration: none;
    gap: 10px;
  }
}

.mobile-float-register {
  display: none;
}

/* ─── CONFETTI ANIMATION ─── */
.confetti-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  opacity: 0;
  animation: fall linear infinite;
}

@keyframes fall {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

.confetti:nth-child(1) {
  left: 10%;
  animation-duration: 3s;
  animation-delay: 0s;
  background-color: #ffd700;
}

.confetti:nth-child(2) {
  left: 20%;
  animation-duration: 4s;
  animation-delay: 1s;
  background-color: var(--primary);
}

.confetti:nth-child(3) {
  left: 30%;
  animation-duration: 3.5s;
  animation-delay: 2s;
  background-color: var(--text-dark);
}

.confetti:nth-child(4) {
  left: 50%;
  animation-duration: 4.5s;
  animation-delay: 0.5s;
  background-color: #ffd700;
}

.confetti:nth-child(5) {
  left: 70%;
  animation-duration: 3.8s;
  animation-delay: 1.5s;
  background-color: var(--primary);
}

.confetti:nth-child(6) {
  left: 80%;
  animation-duration: 4.2s;
  animation-delay: 2.5s;
  background-color: #ff9933;
}

.confetti:nth-child(7) {
  left: 90%;
  animation-duration: 3.1s;
  animation-delay: 0.2s;
  background-color: var(--text-dark);
}

/* Data Table Styles for Syllabus and Dates */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}
.data-table th, .data-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}
.data-table th {
  background: rgba(255,140,26,0.05);
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}
.data-table td {
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 500;
}
.data-table tbody tr:last-child td {
  border-bottom: none;
}
.data-table tbody tr:hover {
  background: rgba(255,140,26,0.02);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  align-items: center;
  z-index: 1000;
  text-decoration: none;
  border-radius: 50px;
}

.whatsapp-float-icon {
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover .whatsapp-float-icon {
  transform: scale(1.1);
}

.whatsapp-float-text {
  background: #dcf8c6;
  color: #000;
  padding: 10px 30px 10px 20px;
  border-radius: 50px 0 0 50px;
  margin-right: -20px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}

.whatsapp-float:hover .whatsapp-float-text {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float-icon {
    width: 50px;
    height: 50px;
    font-size: 28px;
  }
  .whatsapp-float-text {
    opacity: 1;
    transform: translateX(0);
    padding: 8px 30px 8px 15px;
    font-size: 13px;
    border-radius: 30px 0 0 30px;
    margin-right: -15px;
  }
}