/* ===== HERO SLIDER ===== */

.hero-slider {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
}

.slides {
  height: 100%;
  display: flex;
}

.slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: none;
  align-items: center;
}

.slide.active {
  display: flex;
}

.hero-content {
  max-width: 600px;
  margin-left: 80px;
  color: #111;
}

.hero-content.dark {
  color: #fff;
}

.badge {
  background: #b51f1f;
  color: #fff;
  padding: 10px 25px;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 20px;
}

.subjects {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 25px;
}

.hero-content h1 span {
  color: #b51f1f;
}

.hero-btn {
  background: #19b5e5;
  color: #fff;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

/* ARROWS */
.hero-slider .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  font-size: 28px;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
}

.hero-slider .prev { left: 20px; }
.hero-slider .next { right: 20px; }

/* MOBILE */
@media (max-width: 768px) {
  .hero-content {
    margin: 20px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .subjects {
    font-size: 14px;
  }
}

/* ===== SLIDE OVERLAY ===== */
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45); /* 🔥 dark overlay */
  z-index: 1;
}

.slide {
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2; /* 🔥 content overlay ke upar */
}

/* ===== EXPERT TUITION SECTION ===== */

.expert-tuition {
  padding: 80px 20px;
  background: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .subtitle {
  color: #19b5e5;
  font-weight: 600;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 36px;
  color: #b51f1f;
}

.tuition-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

.tuition-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  padding: 20px;
  position: relative;
  text-align: center;
}

.tuition-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.tuition-card h3 {
  font-size: 16px;
  color: #d40000;
  margin-bottom: 20px;
}

.tuition-card .count {
  position: absolute;
  top: 0;
  left: 0;
  background: #19b5e5;
  color: #fff;
  padding: 10px 18px;
  font-weight: bold;
  border-radius: 0 0 12px 0;
}

.explore-btn {
  display: inline-block;
  background: #ff4d4d;
  color: #fff;
  padding: 10px 28px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 992px) {
  .tuition-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .tuition-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 26px;
  }
}

/* ===== WELCOME SECTION ===== */

.welcome-section {
  padding: 90px 20px;
  background: #ffffff;
}

.welcome-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* LEFT IMAGES */
.welcome-images {
  position: relative;
}

.welcome-images img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.img-large {
  width: 100%;
}

.img-small {
  position: absolute;
  width: 55%;
}

.img-small.top {
  top: -40px;
  right: -30px;
}

.img-small.bottom {
  bottom: -40px;
  left: -30px;
}

/* CONTENT */
.welcome-subtitle {
  color: #19b5e5;
  font-weight: 600;
  margin-bottom: 10px;
}

.welcome-title {
  font-size: 42px;
  margin-bottom: 20px;
  color: #111;
}

.welcome-title span {
  color: #b51f1f;
}

.welcome-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 15px;
}

.welcome-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 25px;
}

.welcome-btn {
  background: #ffffff;
  color: #19b5e5;
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid #19b5e5;
  transition: 0.3s;
}

.welcome-btn:hover {
  background: #19b5e5;
  color: #ffffff;
}

.support-box span {
  display: block;
  font-size: 14px;
  color: #777;
}

.support-box a {
  color: #b51f1f;
  font-weight: 600;
  text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .welcome-container {
    grid-template-columns: 1fr;
  }

  .img-small {
    display: none;
  }

  .welcome-title {
    font-size: 32px;
  }
}


/* ===== COURSES / CLASSES OFFERED ===== */

.courses-section {
  padding: 90px 20px;
  background: #f9fbfd;
}

.courses-grid {
  max-width: 1200px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.course-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.course-card h3 {
  color: #b51f1f;
  font-size: 20px;
  margin-bottom: 15px;
}

.course-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.course-card ul li {
  font-size: 15px;
  color: #555;
  margin-bottom: 8px;
}

.course-btn {
  display: inline-block;
  background: linear-gradient(135deg, #19b5e5, #0fa3d1);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.course-btn:hover {
  background: linear-gradient(135deg, #b51f1f, #8e1515);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== WHY CHOOSE US ===== */

.why-choose-us {
  padding: 90px 20px;
  background: #ffffff;
}

.why-grid {
  max-width: 1200px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
}

.why-card {
  background: #f9fbfd;
  border-radius: 14px;
  padding: 35px 20px;
  text-align: center;
  transition: 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.why-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #19b5e5, #0fa3d1);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

.why-card h3 {
  font-size: 18px;
  color: #b51f1f;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== FACULTY / TEACHERS SECTION ===== */

.faculty-section {
  padding: 90px 20px;
  background: #f9fbfd;
}

.faculty-grid {
  max-width: 1200px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.faculty-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 25px 20px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.faculty-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.faculty-card img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 4px solid #19b5e5;
}

.faculty-card h3 {
  font-size: 18px;
  color: #b51f1f;
  margin-bottom: 4px;
}

.subject {
  display: block;
  font-size: 14px;
  color: #19b5e5;
  font-weight: 600;
  margin-bottom: 6px;
}

.experience {
  display: block;
  font-size: 13px;
  color: #777;
  margin-bottom: 12px;
}

.faculty-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .faculty-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== RESULTS / ACHIEVEMENTS ===== */

/* ===== RESULTS / ACHIEVEMENTS ===== */

.results-section {
  padding: 90px 20px;
  background: #ffffff;
}

/* STATS */
.results-stats {
  max-width: 1200px;
  margin: 40px auto 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.stat-box {
  background: linear-gradient(135deg, #19b5e5, #0fa3d1);
  color: #fff;
  border-radius: 14px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(25,181,229,0.35);
}

.stat-box h3 {
  font-size: 36px;
  margin-bottom: 6px;
}

.stat-box p {
  font-size: 15px;
}

/* TOPPERS */
.toppers-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.topper-card {
  background: #f9fbfd;
  border-radius: 16px;
  padding: 25px 20px;
  text-align: center;
  transition: 0.3s ease;
}

.topper-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.topper-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 4px solid #b51f1f;
}

.topper-card h4 {
  color: #b51f1f;
  font-size: 17px;
  margin-bottom: 4px;
}

.topper-card span {
  font-size: 14px;
  color: #555;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .results-stats,
  .toppers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .results-stats,
  .toppers-grid {
    grid-template-columns: 1fr;
  }

  .stat-box h3 {
    font-size: 30px;
  }
}



/* ===== TRUSTED / REVIEWS SLIDER ===== */

.trusted-section {
  padding: 80px 20px;
  background: #f9fbfd;
  text-align: center;
}

.trusted-section h2 {
  font-size: 34px;
  color: #111;
  margin-bottom: 8px;
}

.trusted-section .subtext {
  color: #777;
  margin-bottom: 40px;
  font-size: 15px;
}

/* Slider wrapper */
.review-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Fade edges (Google look) */
.review-slider::before,
.review-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.review-slider::before {
  left: 0;
  background: linear-gradient(to right, #f9fbfd 0%, transparent 100%);
}

.review-slider::after {
  right: 0;
  background: linear-gradient(to left, #f9fbfd 0%, transparent 100%);
}

/* Track */
.review-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: reviewSlide 60s linear infinite;
}

/* Card */
.review-card {
  min-width: 300px;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  text-align: left;
}

/* Text */
.review-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 12px;
}

.review-card h4 {
  font-size: 15px;
  color: #111;
  margin-bottom: 2px;
}

.review-card span {
  font-size: 13px;
  color: #777;
}

/* Stars */
.review-card .stars {
  color: #f5b301; /* GOLD */
  font-size: 18px;
  margin-bottom: 10px;
}

/* Animation */
@keyframes reviewSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Pause on hover */
.review-track:hover {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 576px) {
  .review-card {
    min-width: 260px;
  }
}

/* ===== TOPPERS PHOTO CLICK + VIEW MORE ===== */

.topper-card a {
  display: block;
}

.topper-card img {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.topper-card img:hover {
  transform: scale(1.05);
}

/* View More Button */
.toppers-action {
  text-align: center;
  margin-top: 35px;
}

.toppers-btn {
  display: inline-block;
  background: linear-gradient(135deg, #19b5e5, #0fa3d1);
  color: #ffffff;
  padding: 14px 36px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(25,181,229,0.4);
  transition: all 0.3s ease;
}

.toppers-btn:hover {
  background: linear-gradient(135deg, #b51f1f, #8e1515);
  transform: translateY(-2px);
}

/* ===== FAQ SECTION ===== */

.faq-section {
  padding: 90px 20px;
  background: #ffffff;
}

.faq-container {
  max-width: 900px;
  margin: 50px auto 0;
}

.faq-item {
  border-bottom: 1px solid #eee;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  padding: 20px;
  font-size: 17px;
  font-weight: 600;
  color: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question .icon {
  font-size: 22px;
  color: #19b5e5;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 20px 20px;
  color: #555;
  line-height: 1.6;
  font-size: 15px;
}

/* ACTIVE STATE */
.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg); /* + becomes × */
}

/* RESPONSIVE */
@media (max-width: 576px) {
  .faq-question {
    font-size: 16px;
  }
}


/* ===== CONTACT & ENQUIRY SECTION ===== */

.contact-section {
  padding: 90px 20px;
  background: #f9fbfd;
}

.contact-container {
  max-width: 1200px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* FORM */
.contact-form-box {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form-box h3 {
  margin-bottom: 20px;
  color: #111;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 15px;
}

.contact-form textarea {
  min-height: 120px;
  resize: none;
}

.contact-form button {
  width: 100%;
  background: linear-gradient(135deg, #19b5e5, #0fa3d1);
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover {
  background: linear-gradient(135deg, #b51f1f, #8e1515);
}

/* INFO */
.contact-info-box {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-info-box h3 {
  margin-bottom: 20px;
}

.contact-info-box p {
  font-size: 15px;
  color: #555;
  margin-bottom: 12px;
}

.contact-info-box a {
  color: #19b5e5;
  text-decoration: none;
  font-weight: 600;
}

/* MAP */
.map-box {
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
}

.map-box iframe {
  width: 100%;
  height: 220px;
  border: none;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}
