/* ===== OUR TOPPERS HERO ===== */

.toppers-hero {
  position: relative;
  height: 300px;
  background: url("../images/toppers-banner.png") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

/* Overlay (image par text nahi, sirf dark layer) */
.inner-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.inner-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 15px;
}

.inner-hero-content h1 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 10px;
}

.inner-hero-content p {
  font-size: 17px;
  margin-bottom: 18px;
  opacity: 0.95;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 14px;
}

.breadcrumb a {
  color: #19b5e5; /* BLUE */
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb span {
  margin: 0 6px;
  color: #fff;
}

/* Hover effect */
.breadcrumb a:hover {
  color: #b51f1f; /* RED on hover */
}

/* RESPONSIVE */
@media (max-width: 576px) {
  .toppers-hero {
    height: 240px;
  }

  .inner-hero-content h1 {
    font-size: 32px;
  }
}


/* ===== TOPPERS OVERVIEW ===== */

.toppers-overview {
  padding: 70px 20px;
  background: #ffffff;
  text-align: center;
}

.toppers-overview h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 18px;
  color: #1b1b1b;
}

.toppers-highlight {
  font-size: 18px;
  font-weight: 600;
  color: #19b5e5; /* BLUE default */
  margin-bottom: 22px;
}

.toppers-text {
  max-width: 900px;
  margin: 0 auto 18px;
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

.seo-text {
  margin-top: 10px;
}

/* RESPONSIVE */
@media (max-width: 576px) {
  .toppers-overview h2 {
    font-size: 28px;
  }

  .toppers-highlight {
    font-size: 16px;
  }
}

/* ===== TOPPERS RESULT HIGHLIGHTS ===== */

.toppers-results {
  padding: 60px 20px;   /* gap controlled */
  background: #f9fbff;
  text-align: center;
}

.results-subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

/* GRID */
.results-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* BOX */
.result-box {
  background: #19b5e5;          /* BLUE default */
  color: #fff;
  padding: 35px 20px;
  border-radius: 18px;
  transition: 0.3s ease;
}

.result-box:hover {
  background: #b51f1f;          /* RED on hover */
  transform: translateY(-6px);
}

/* NUMBER */
.result-number {
  font-size: 46px;
  font-weight: 900;
  display: block;
  margin-bottom: 10px;
}

/* TEXT */
.result-box p {
  font-size: 16px;
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .results-grid {
    grid-template-columns: 1fr;
  }

  .result-number {
    font-size: 40px;
  }
}


/* GRID */
.topper-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3×2 */
  gap: 25px;
}

/* CARD */
.topper-card {
  background: #19b5e5;      /* BLUE default */
  color: #fff;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  transition: 0.3s ease;
}

.topper-card:hover {
  background: #b51f1f;      /* RED on hover */
  transform: translateY(-6px);
}

/* PHOTO */
.topper-photo {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 10px;
}

.topper-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* NAME */
.topper-card h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

/* CLASS / MARKS */
.topper-card span {
  font-size: 14px;
  opacity: 0.95;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .topper-grid {
    grid-template-columns: repeat(2, 1fr); /* 2×3 */
  }
}

@media (max-width: 576px) {
  .topper-grid {
    grid-template-columns: 1fr; /* 1×6 */
  }
}
<link rel="stylesheet" href="assets/css/toppers.css">

.topper-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 × 2 */
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

.topper-card {
  background: #19b5e5;   /* BLUE default */
  color: #fff;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  transition: 0.3s ease;
}

.topper-card:hover {
  background: #b51f1f;   /* RED on hover */
  transform: translateY(-6px);
}

.topper-photo {
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
}

.topper-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .topper-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 × 3 */
  }
}

@media (max-width: 576px) {
  .topper-grid {
    grid-template-columns: 1fr; /* 1 × 6 */
  }
}


/* ===== BOARD TOPPERS ===== */

.board-toppers {
  padding: 70px 20px;
  background: #f9fbff;
  text-align: center;
}

.section-subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

/* GRID 3×2 */
.topper-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD */
.topper-card {
  background: #19b5e5;        /* BLUE default */
  color: #fff;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  transition: 0.3s ease;
}

.topper-card:hover {
  background: #b51f1f;        /* RED on hover */
  transform: translateY(-6px);
}

/* PHOTO */
.topper-photo {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 10px;
}

.topper-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* NAME & CLASS */
.topper-card h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.topper-card span {
  font-size: 14px;
  opacity: 0.95;
}

/* NOTE */
.board-note {
  max-width: 900px;
  margin: 40px auto 0;
  font-size: 15.5px;
  color: #555;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .topper-grid {
    grid-template-columns: repeat(2, 1fr); /* 2×3 */
  }
}

@media (max-width: 576px) {
  .topper-grid {
    grid-template-columns: 1fr; /* 1×6 */
  }
}

/* ===== SUBJECT TOPPERS ===== */

.subject-toppers {
  padding: 70px 20px;
  background: #ffffff;
  text-align: center;
}

.section-subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

/* ACCORDION */
.accordion {
  max-width: 1100px;
  margin: auto;
}

.accordion-item {
  margin-bottom: 18px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

/* HEADER */
.accordion-header {
  width: 100%;
  padding: 18px 24px;
  background: #19b5e5;          /* BLUE default */
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: 0.3s;
}

.accordion-header:hover {
  background: #b51f1f;          /* RED hover */
}

/* ACTIVE HEADER */
.accordion-item.active .accordion-header {
  background: #b51f1f;
}

/* BODY */
.accordion-body {
  display: none;
  padding: 35px 20px;
  background: #f9fbff;
}

.accordion-item.active .accordion-body {
  display: block;
}

/* GRID (reuse same topper-grid & topper-card CSS) */


/* ===== TOPPERS FILTER ===== */

.toppers-filter {
  padding: 70px 20px;
  background: #ffffff;
  text-align: center;
}

.filter-subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 35px;
}

/* FILTER BAR */
.filter-bar {
  max-width: 800px;
  margin: 0 auto 45px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-select {
  padding: 12px 20px;
  border-radius: 30px;
  border: 2px solid #19b5e5;   /* BLUE default */
  background: #fff;
  color: #19b5e5;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.filter-select:hover,
.filter-select:focus {
  border-color: #b51f1f;       /* RED */
  color: #b51f1f;
  outline: none;
}

/* ===== SUCCESS QUOTES ===== */

.topper-quotes {
  padding: 65px 20px;
  background: #ffffff;
  text-align: center;
}

.section-subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 45px;
}

/* GRID */
.quotes-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* QUOTE BOX */
.quote-box {
  background: #f9fbff;
  padding: 30px 28px;
  border-radius: 16px;
  border-left: 5px solid #19b5e5;   /* BLUE default */
  text-align: left;
  transition: 0.3s ease;
}

.quote-box:hover {
  border-left-color: #b51f1f;       /* RED on hover */
  transform: translateY(-4px);
}

/* TEXT */
.quote-box p {
  font-size: 16px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* NAME */
.quote-box span {
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .quotes-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PARENTS WORDS ===== */

.parents-words {
  padding: 65px 20px;
  background: #f9fbff;
  text-align: center;
}

.section-subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 45px;
}

/* GRID */
.parents-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* QUOTE CARD */
.parent-quote {
  background: #ffffff;
  padding: 28px 26px;
  border-radius: 16px;
  border-top: 5px solid #19b5e5;   /* BLUE default */
  text-align: left;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.parent-quote:hover {
  border-top-color: #b51f1f;       /* RED on hover */
  transform: translateY(-4px);
}

/* TEXT */
.parent-quote p {
  font-size: 15.5px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* NAME */
.parent-quote span {
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .parents-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== TOPPER GALLERY ===== */

.topper-gallery {
  padding: 70px 20px;
  background: #ffffff;
  text-align: center;
}

.section-subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 45px;
}

/* GRID 3×2 */
.gallery-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* IMAGE BOX */
.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  background: #19b5e5;        /* BLUE frame */
  transition: 0.3s ease;
}

.gallery-item:hover {
  background: #b51f1f;        /* RED frame on hover */
  transform: translateY(-6px);
}

/* IMAGE */
.gallery-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* 2×3 */
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr; /* 1×6 */
  }
}

/* ===== WHY OUR STUDENTS BECOME TOPPERS ===== */

.why-toppers {
  padding: 70px 20px;
  background: #f9fbff;
  text-align: center;
}

.section-subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 45px;
}

/* GRID */
.why-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* BOX */
.why-box {
  background: #ffffff;
  padding: 30px 26px;
  border-radius: 18px;
  border-bottom: 5px solid #19b5e5;   /* BLUE default */
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  text-align: left;
}

.why-box:hover {
  border-bottom-color: #b51f1f;       /* RED on hover */
  transform: translateY(-6px);
}

/* TITLE */
.why-box h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: #1b1b1b;
}

/* TEXT */
.why-box p {
  font-size: 15.5px;
  color: #444;
  line-height: 1.7;
}

/* SEO NOTE */
.seo-note {
  max-width: 900px;
  margin: 45px auto 0;
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== FINAL CTA ===== */

.final-cta {
  padding: 45px 20px;      /* compact gap */
  background: #f9fbff;
  text-align: center;
}

.final-cta h2 {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 10px;
  color: #1b1b1b;
}

.final-cta p {
  font-size: 16px;
  color: #555;
  margin-bottom: 28px;
}

/* BUTTONS */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 13px 32px;
  border-radius: 40px;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  background: #19b5e5;    /* BLUE default */
  color: #fff;
  transition: 0.3s ease;
}

.cta-btn:hover {
  background: #b51f1f;    /* RED on hover */
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 576px) {
  .final-cta h2 {
    font-size: 30px;
  }

  .cta-btn {
    width: 100%;
    text-align: center;
  }
}

/* ===== SEO CONTENT ===== */

.seo-content {
  padding: 40px 20px 60px;
  background: #ffffff;
}

.seo-content p {
  max-width: 900px;
  margin: 0 auto 16px;
  font-size: 15.5px;
  color: #555;
  line-height: 1.8;
}

/* ===== INTERNAL LINKS ===== */

.internal-links {
  padding: 35px 20px 60px;
  background: #f9fbff;
  text-align: center;
}

.internal-links h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #1b1b1b;
}

.links-list {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.links-list a {
  padding: 10px 22px;
  border-radius: 30px;
  background: #19b5e5;      /* BLUE default */
  color: #fff;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  transition: 0.3s ease;
}

.links-list a:hover {
  background: #b51f1f;      /* RED hover */
  color: #fff;
}
