@font-face {
  font-family: "Inter";
  src: url(../fonts/Inter/Inter-VariableFont_opsz\,wght.ttf);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  font-family: Inter;
}

a {
  text-decoration: none;
}

header .top-bar {
  padding: 0.5rem 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1e293b;
}

header .top-bar .left-side {
  display: flex;
  gap: 1rem;
  align-items: center;
}

header .top-bar .left-side .contact-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

header .top-bar .left-side .contact-container img {
  width: 0.875rem;
  height: 0.875rem;
}

header .top-bar .left-side .contact-container p,
header .top-bar .admissions {
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

header .main-header {
  padding: 1rem 7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .main-header .header-logo {
  width: 9rem;
}

header .main-header nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

header .main-header nav a {
  color: #475569;
  font-weight: 500;
  line-height: 1.5rem;
}

header .main-header .right-side {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

header .main-header .right-side i {
  font-size: 1.25rem;
  color: #475569;
}

.primary-button {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background-color: #3b82f6;
  color: #fff;
  font-weight: 500;
  line-height: 1.5rem;
}

.home-hero-section {
  padding: 6rem 7rem 7rem;
  background-color: #f8fafc;
  display: grid;
  gap: 4rem;
  grid-template-columns: repeat(2, 1fr);
  place-items: center;
}

.home-hero-section .now-accepting-container {
  display: flex;
  padding: 0.5rem 1rem;
  align-items: center;
  border-radius: 600rem;
  border: 1px solid #f1f5f9;
  background-color: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  width: fit-content;
  gap: 0.5rem;
}

.home-hero-section .now-accepting-container .orange-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: #f97316;
}

.home-hero-section .now-accepting-container p {
  color: #475569;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
}

.home-hero-section h1 {
  margin-top: 1.5rem;
  color: #1e293b;
  font-size: 3.75rem;
  font-weight: 700;
}

.home-hero-section h1 span {
  color: #3b82f6;
  text-decoration: underline;
  text-decoration-color: #fb923c;
}

.home-hero-section .hero-info {
  color: #475569;
  font-size: 1.125rem;
  margin-top: 1.5rem;
}

.home-hero-section .buttons-container {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.secondary-button {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background-color: #fff;
  color: #1e293b;
  font-weight: 500;
  line-height: 1.5rem;
  border: 1px solid #e2e8f0;
}

.home-hero-section .home-hero-features {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.home-hero-section .home-hero-features .home-hero-feature {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.home-hero-section .home-hero-features .home-hero-feature img {
  width: 0.875rem;
  height: 0.875rem;
}

.home-hero-section .home-hero-features .home-hero-feature p {
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
}

.home-hero-section .right-side {
  position: relative;
}

.home-hero-section .rating-container {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #fff;
  display: flex;
  border-radius: 0 0.5rem 0.5rem 0.5rem;
  padding: 0.5rem 0.5rem 0.5rem 0;
  gap: 0.75rem;
}

.home-hero-section .rating-container img {
  height: 3rem;
}

.home-hero-section .rating-container h4 {
  color: #1e293b;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 2rem;
}

.home-hero-section .rating-container p {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1rem;
}

.home-hero-section .number-one-container {
  position: absolute;
  right: 0;
  top: 1rem;
  background-color: #3b82f6;
  border-radius: 0.5rem 0 0 0.5rem;
  padding: 0.5rem 0 0.5rem 0.5rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.home-hero-section .number-one-container img {
  height: 1.5rem;
}

.home-hero-section .number-one-container h4 {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.75rem;
}

.home-hero-section .number-one-container p {
  color: #dbeafe;
  font-size: 0.75rem;
  line-height: 1rem;
}

.home-hero-section .home-hero-image {
  width: 100%;
  border-radius: 0.5rem;
}

.why-choose-us-section {
  padding: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-choose-us-section .top-section {
  width: 48rem;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-choose-us-section .top-section .why-us-text {
  color: #3b82f6;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  letter-spacing: 0.04rem;
  text-transform: uppercase;
}

.why-choose-us-section .top-section h2 {
  margin-top: 0.5rem;
  color: #1e293b;
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 2.5rem;
}

.why-choose-us-section .top-section .why-us-info-text {
  margin-top: 0.5rem;
  color: #475569;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.why-choose-us-section .why-choose-us-features {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-choose-us-features .why-choose-us-feature {
  padding: 2rem;
  background-color: #f8fafc;
  border-radius: 1rem;
  border: 1px solid #f1f5f9;
}

.why-choose-us-features .why-choose-us-feature img {
  width: 3.5rem;
  height: 3.5rem;
}

.why-choose-us-feature h4 {
  margin-top: 1.5rem;
  color: #1e293b;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.75rem;
}

.why-choose-us-feature .choose-feature-info {
  margin-top: 0.75rem;
  color: #475569;
  line-height: 1.5rem;
}

.why-choose-us-feature a {
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5rem;
  display: block;
}

.why-choose-us-feature a.blue {
  color: #3b82f6;
}

.why-choose-us-feature a.orange {
  color: #f97316;
}

.why-choose-us-feature a.green {
  color: #10b981;
}

.why-choose-us-feature.why-choose-us-feature-center {
  background-color: #fff;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
  border-right: 6px solid #f97316;
}

.statistics-section {
  margin: 0 5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 2.5rem;
  background-color: #3b82f6;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
}

.statistics-section .statistic {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.statistics-section .statistic:not(:last-child) {
  border-right: 1px solid #60a5fa;
}

.statistics-section .statistic h3 {
  color: #fff;
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 2.5rem;
}

.statistics-section .statistic p {
  color: #dbeafe;
  text-align: center;
  font-weight: 500;
  line-height: 1.5rem;
}

.statistics-section img {
  position: absolute;
  top: 0;
  right: 0;
  width: 10rem;
}

.grow-section {
  margin-top: 5rem;
  padding: 5rem 7rem;
  background-color: #f8fafc;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.grow-section .image-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  place-items: center;
}

.grow-section .image-section img {
  width: 100%;
  border-radius: 1rem;
}

.grow-section .text-section .about-our-school {
  color: #f97316;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  letter-spacing: 0.04375rem;
  text-transform: uppercase;
  text-decoration: underline;
}

.grow-section .text-section h2 {
  color: #1e293b;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 2.5rem;
  margin-top: 0.75rem;
}

.grow-section .text-section .help-grow-text {
  margin-top: 1.5rem;
  color: #475569;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.grow-section .text-section .help-grow-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.grow-section .help-grow-list .help-grow-list-item {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.grow-section .help-grow-list .help-grow-list-item img {
  width: 1.5rem;
  height: 1.5rem;
}

.grow-section .help-grow-list .help-grow-list-item p {
  color: #334155;
  font-weight: 500;
  line-height: 1.5rem;
}

.grow-section .read-more-button {
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  background-color: #1e293b;
  margin-top: 1.25rem;
  display: inline-block;
  color: #fff;
}

.home-teachers-section {
  margin: 5rem;
}

.home-teachers-section .row-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.home-teachers-section .row-container .left-side p {
  color: #3b82f6;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  letter-spacing: 0.04375rem;
  text-transform: uppercase;
}

.home-teachers-section .row-container .left-side h2 {
  margin-top: 0.5rem;
  color: #1e293b;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 2.5rem;
}

.home-teachers-section a {
  color: #3b82f6;
  font-weight: 500;
  line-height: 1.5rem;
}

.home-page-teachers-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.teacher-container {
  border-radius: 1rem;
  border: 1px solid #f1f5f9;
  background-color: #fff;
  overflow: hidden;
}

.teacher-container img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

.teacher-container .bottom-section {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.teacher-container .bottom-section .name {
  color: #1e293b;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.75rem;
}

.teacher-container .bottom-section .subject {
  color: #3b82f6;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
}

.reviews-section {
  background-color: #f8fafc;
  padding: 5rem 7rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.reviews-section .left-section .reviews {
  color: #f97316;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  letter-spacing: 0.05375rem;
  text-transform: uppercase;
}

.reviews-section .left-section h3 {
  margin-top: 0.5rem;
  color: #1e293b;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 2.5rem;
}

.reviews-section .left-section .what-parents-say-text {
  margin-top: 1.5rem;
  color: #475569;
  line-height: 1.5rem;
}

.reviews-section .review {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #f1f5f9;
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.reviews-section .review {
  color: #475569;
  line-height: 1.5;
}

.reviews-section .review .bottom-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.reviews-section .review .bottom-section .left-side {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.reviews-section .review .bottom-section .parent-image {
  width: 3rem;
  height: 3rem;
}

.reviews-section .review .bottom-section .left-side h5 {
  color: #1e293b;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5rem;
}

.reviews-section .review .bottom-section .left-side p {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1rem;
}

.reviews-section .review .bottom-section .star-rating {
  width: 6rem;
}

.best-start-section {
  padding: 5rem;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/cta-hero.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.best-start-section h2 {
  width: 50rem;
  max-width: 100%;
  color: #fff;
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  line-height: 3rem;
}

.best-start-section p {
  margin-top: 1.5rem;
  color: #cbd5e1;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.75rem;
  width: 38rem;
  max-width: 100%;
}

.best-start-section .buttons-container {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
}

.best-start-section .buttons-container .outline-button {
  background-color: transparent;
  padding: 0.5rem 1rem;
  color: #fff;
  font-weight: 700;
  border: 1px solid #ffffff30;
  border-radius: 0.5rem;
}

footer {
  padding: 4rem 5rem 2rem;
  background-color: #0f172a;
}

.footer-main-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-logo {
  width: 15rem;
}

.footer-main-section .left-side p {
  margin-top: 1.5rem;
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.25rem;
  max-width: 25rem;
  width: 100%;
}

.footer-main-section .right-side h3 {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.75rem;
}

.footer-main-section .right-side .contact-item {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.footer-main-section .right-side .contact-item img {
  width: 0.875rem;
  height: 0.875rem;
}

.footer-main-section .right-side .contact-item p,
.footer-main-section .right-side .contact-item a {
  color: #cbd5e1;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.footer-horizontal-line {
  height: 1px;
  width: 100%;
  background-color: #1e293b;
  margin-top: 3rem;
}

.footer-bottom-section {
  margin-top: 2rem;
}

.footer-bottom-section p {
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.25;
}

/* =========================
   HAMBURGER
========================= */

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

.hamburger span {
  width: 25px;
  height: 3px;
  background: #1e293b;
  border-radius: 2px;
}

/* =========================
   MOBILE NAV
========================= */

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* MOBILE STATE */
@media (max-width: 900px) {
  header .main-header {
    padding: 1rem 1.5rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem;
    gap: 2rem;
    transition: right 0.3s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-wrapper.active {
    right: 0;
  }

  header .main-header nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  header .main-header .right-side {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================
   GLOBAL RESPONSIVE
========================= */

@media (max-width: 1200px) {
  .home-hero-section,
  .grow-section,
  .reviews-section,
  .why-choose-us-section {
    padding: 4rem 2rem;
  }

  .home-teachers-section {
    margin: 5rem 2rem;
  }

  header .main-header {
    padding: 1rem 2rem;
  }
}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {
  .home-hero-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-hero-section .buttons-container {
    justify-content: center;
    flex-wrap: wrap;
  }

  .home-hero-section .home-hero-features {
    justify-content: center;
    flex-wrap: wrap;
  }

  .why-choose-us-features {
    grid-template-columns: 1fr !important;
  }

  .statistics-section {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .statistic:nth-child(3) {
    border-right: none !important;
  }

  .grow-section {
    grid-template-columns: 1fr;
  }

  .home-page-teachers-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reviews-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  footer .footer-main-section {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  footer .footer-main-section .left-side {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  footer .footer-main-section .left-side p {
    text-align: center;
    max-width: 100%;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {
  .home-hero-section h1 {
    font-size: 2.2rem;
  }

  .why-choose-us-features {
    grid-template-columns: 1fr;
  }

  .statistics-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .statistic {
    border-right: none !important;
  }

  .home-page-teachers-grid {
    grid-template-columns: 1fr;
  }

  .home-teachers-section .row-container,
  .home-teachers-section .left-side {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .home-teachers-section .left-side p,
  .home-teachers-section .left-side h2 {
    text-align: center;
  }

  .reviews-section .review .bottom-section {
    flex-direction: column;
  }

  .best-start-section h2 {
    font-size: 2rem;
  }

  .best-start-section .buttons-container {
    flex-direction: column;
    width: 100%;
  }

  .best-start-section .buttons-container a {
    width: 100%;
    text-align: center;
  }
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 999;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* =========================
   HAMBURGER
========================= */

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1100;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #1e293b;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animate to X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* =========================
   MOBILE NAV PANEL
========================= */

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 975px) {
  header .main-header {
    padding: 1rem 1.5rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 2rem;
    transition: right 0.35s ease;
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-wrapper.active {
    right: 0;
  }

  header .main-header nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 1.5rem;
  }

  header .main-header nav a {
    font-size: 1.1rem;
  }

  header .main-header .right-side {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 1rem;
  }
}

/* =========================
   OVERLAY
========================= */

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 900;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}

@media (max-width: 600px) {
  .top-bar {
    display: none !important;
  }
}

.no-scroll {
  overflow: hidden;
}

/* Teachers page styles */

.teachers-hero-grid {
  padding: 4rem 7rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  place-items: center;
  gap: 4rem;
  position: relative;
}

.purple-blur {
  position: absolute;
}

.yellow-blur {
  position: absolute;
  bottom: -3rem;
  right: 0;
}

.teachers-hero-section .text-section .excellence-container {
  display: flex;
  padding: 0.5rem 1rem;
  align-items: center;
  gap: 0.5rem;
  border-radius: 600rem;
  border: 1px solid #f3f4f6;
  background-color: #f8f9fb;
  width: fit-content;
}

.teachers-hero-section .text-section .excellence-container img {
  height: 0.875rem;
}

.teachers-hero-section .text-section .excellence-container p {
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
}

.teachers-hero-section .text-section h1 {
  color: #1e293b;
  font-size: 3.75rem;
  font-weight: 700;
  margin-top: 1.5rem;
}

.teachers-hero-section .text-section h1 span {
  color: #3b82f6;
}

.teachers-hero-section .text-section .teachers-hero-text {
  margin-top: 1.5rem;
  color: #8c8c9a;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.teachers-hero-section .text-section a {
  display: inline-block;
  margin-top: 1.5rem;
}

.teachers-hero-section .image-section {
  position: relative;
}

.teachers-hero-section .image-section .teachers-hero {
  width: 100%;
  border-radius: 1rem;
}

.teachers-hero-section .award-winning-container {
  position: absolute;
  left: 0;
  bottom: 3rem;
  padding: 1.25rem 1rem 1.25rem 0;
  background-color: #fff;
  display: flex;
  gap: 1rem;
  width: fit-content;
  align-items: center;
  border-radius: 0 1rem 1rem 0;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.teachers-hero-section .award-winning-container img {
  height: 3rem;
}

.teachers-hero-section .award-winning-container p {
  color: #8c8c9a;
  font-size: 0.75rem;
  font-weight: 500;
}

.teachers-hero-section .award-winning-container h3 {
  color: #1e293b;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5rem;
}

.teachers-section {
  padding: 5rem 7rem;
  background-color: #f0f2f5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1200px) {
  .teachers-section {
    grid-template-columns: repeat(3, 1fr);
    padding: 4rem 2rem;
  }
}

@media (max-width: 900px) {
  .teachers-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .teachers-section {
    grid-template-columns: 1fr;
  }
}

.teacher-card {
  width: 18rem;
  padding: 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid #f9fafb;
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.teacher-card .profile-image-container {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  border-radius: 624.9375rem;
  background: linear-gradient(45deg, #bca4ff 0%, #f3e8a0 100%);
}

.teacher-card .profile-image-container img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  padding: 0.5rem;
}

.teacher-card .name {
  color: #1e293b;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.75rem;
  margin-top: 1.25rem;
}

.teacher-card .subject-container {
  padding: 0.25rem 0.75rem;
  border-radius: 600rem;
  background-color: #bca4ff29;
  margin-top: 0.25rem;
}

.teacher-card .subject-container .subject {
  color: #bca4ff;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1rem;
  text-transform: capitalize;
}

.teacher-card .excerpt {
  margin-top: 1rem;
  margin-bottom: 4rem;
  color: #8c8c9a;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.teacher-card .column-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.teacher-card .buttons-container {
  position: absolute;
  bottom: 1.5rem;
  display: flex;
  gap: 0.5rem;
  width: 100%;
  padding: 0 1.5rem;
}

.teacher-card .view-profile-button {
  padding: 0.625rem 0;
  flex: 1;
  border-radius: 0.75rem;
  background-color: #f0f2f5;
  color: #1e293b;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
}

.teacher-card .email-button {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.75rem;
  background-color: #f0f2f5;
  color: #1e293b;
}

/* Single teacher page styles */

.single-teacher-hero-section {
  padding: 5rem 7rem;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  overflow: hidden;
  place-items: center;
}

.single-teacher-hero-section .pink-blur {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.single-teacher-hero-section .teal-blur {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
}

.single-teacher-hero-section .small-teal-blur {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  z-index: -1;
}

.single-teacher-hero-section .small-yellow-blur {
  position: absolute;
  top: 3rem;
  right: 5rem;
  z-index: -1;
}

.single-teacher-hero-section .image-section .wp-post-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 8px solid #fff;
  border-radius: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.single-teacher-hero-section .top-rated-container {
  display: flex;
  padding: 0.5rem 1rem;
  align-items: center;
  gap: 0.5rem;
  border-radius: 624.9375rem;
  border: 1px solid rgba(255, 107, 107, 0.2);
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  width: fit-content;
}

.single-teacher-hero-section .top-rated-container img {
  width: 0.875rem;
}

.single-teacher-hero-section .top-rated-container p {
  color: #ff6b6b;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
}

.single-teacher-hero-section h1 {
  margin-top: 1.5rem;
  color: #1e293b;
  font-size: 3.75rem;
  font-weight: 700;
}

.single-teacher-hero-section .subject {
  margin-top: 1rem;
  color: #4b5563;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 2rem;
}

.single-teacher-hero-section .hero-info {
  margin-top: 1.5rem;
  color: #4b5563;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.single-teacher-hero-section .primary-button {
  display: inline-block;
  margin-top: 1.5rem;
}

.single-teacher-hero-section .stats-container {
  border-radius: 1rem;
  background: #fff;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
  margin-top: -2rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
  width: 20rem;
  max-width: 100%;
  padding: 1rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.single-teacher-hero-section .stats-container .left-side,
.single-teacher-hero-section .stats-container .right-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.single-teacher-hero-section .stats-container .left-side .stat {
  color: #ff6b6b;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 2rem;
}

.single-teacher-hero-section .stats-container .stat-description {
  color: #6b7280;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1rem;
}

.single-teacher-hero-section .right-side .stat img {
  width: 0.875rem;
}

.single-teacher-hero-section .right-side .stat {
  color: #0f172a;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 2rem;
}

.teacher-stats-section {
  padding: 3rem 7rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.teacher-stats-section .stat-container {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 1rem;
}

.teacher-stats-section .stat-container img {
  width: 3rem;
  height: 3rem;
}

.teacher-stats-section .stat-container .stat {
  margin-top: 0.75rem;
  color: #1e293b;
  text-align: center;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 2.25rem;
}

.teacher-stats-section .stat-container .stat-description {
  margin-top: 0.25rem;
  color: #4b5563;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
}

.teacher-stats-section .stat-container.students-taught {
  border: 1px solid #fee2e2;
  background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
}

.teacher-stats-section .stat-container.awards-won {
  border: 1px solid #ccfbf1;
  background: linear-gradient(135deg, #f0fdfa 0%, #fff 100%);
}

.teacher-stats-section .stat-container.subjects {
  border: 1px solid #fef9c3;
  background: linear-gradient(135deg, #fefce8 0%, #fff 100%);
}

.teacher-stats-section .stat-container.pass-rate {
  border: 1px solid #f3e8ff;
  background: linear-gradient(135deg, #faf5ff 0%, #fff 100%);
}

.single-teacher-about-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  padding: 5rem 7rem;
  background-color: #f7fafc;
}

.single-teacher-about-section .left-side .top-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.single-teacher-about-section .left-side .top-section img {
  width: 2.4rem;
  height: 2.5rem;
}

.single-teacher-about-section .left-side .top-section h2 {
  color: #1e293b;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 2.25rem;
}

.single-teacher-about-section .left-side .bio-container {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #f3f4f6;
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  margin-top: 1.5rem;
}

.single-teacher-about-section .left-side .bio-container p {
  color: #4b5563;
  line-height: 1.5rem;
  margin-top: 1rem;
}

.single-teacher-about-section .education-section {
  padding: 1.75rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid #f3f4f6;
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  margin-top: 4rem;
}

.single-teacher-about-section .education-section .top-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.single-teacher-about-section .education-section .top-section img {
  height: 1.25rem;
}

.single-teacher-about-section .education-section .top-section h2 {
  color: #1e293b;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.75rem;
}

.single-teacher-about-section .education-section .qualifications-section {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 2.3rem;
}

.single-teacher-about-section .education-section .qualification-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.single-teacher-about-section .education-section .qualification-container img {
  width: 3rem;
  height: 3rem;
}

.single-teacher-about-section
  .education-section
  .qualification-container
  .qualification-info
  h3 {
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25rem;
}

.single-teacher-about-section
  .education-section
  .qualification-container
  .qualification-info
  .university {
  color: #6b7280;
  font-size: 0.75rem;
  line-height: 1rem;
}

.single-teacher-about-section
  .education-section
  .qualification-container
  .qualification-info
  .year {
  color: #9ca3af;
  font-size: 0.75rem;
  line-height: 1rem;
}

.single-teacher-about-section .schedule-section {
  margin-top: 1.5rem;
  padding: 1.75rem 1.5rem;
  border-radius: 1rem;

  background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.single-teacher-about-section .schedule-section .top-section {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.single-teacher-about-section .schedule-section .top-section img {
  height: 1.25rem;
}

.single-teacher-about-section .schedule-section .top-section h2 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.75rem;
}

.single-teacher-about-section .schedule-section .days-container {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.single-teacher-about-section .schedule-section .day-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.5rem;
}

.single-teacher-about-section
  .schedule-section
  .day-container:not(:last-child) {
  border-bottom: 1px solid #ffffff20;
}

.single-teacher-about-section .schedule-section .day {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
}

.single-teacher-about-section .schedule-section .time {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25rem;
}

.teaching-philosophy-section {
  padding: 5rem 7rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.teaching-philosophy-section h2 {
  color: #1e293b;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 2.25rem;
  text-align: center;
}

.teaching-philosophy-section .teaching-philosophy-flex-container {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.teaching-philosophy-flex-container .teaching-philosophy-container {
  width: 24rem;
  height: 13.75rem;
  border-radius: 1rem;
  border: 2px solid rgba(78, 205, 196, 0.2);
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
}

.teaching-philosophy-flex-container
  .teaching-philosophy-container.student-centered-philosophy {
  border: 2px solid rgba(255, 107, 107, 0.2);
}

.teaching-philosophy-container img {
  width: 3.5rem;
  height: 3.5rem;
}

.teaching-philosophy-container h4 {
  margin-top: 1rem;
  color: #1e293b;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.75rem;
}

.teaching-philosophy-container p {
  margin-top: 0.5rem;
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.single-teacher-reviews-section {
  padding: 5rem 7rem;
  background-color: #f7fafc;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
}

.single-teacher-reviews-section .top-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.single-teacher-reviews-section .top-section h2 {
  color: #1e293b;
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 2.5rem;
}

.single-teacher-reviews-section .top-section p {
  color: #4b5563;
  text-align: center;
  line-height: 1.5;
}

.single-teacher-reviews-section .reviews-grid-container {
  display: grid;
  place-items: center;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.single-teacher-reviews-section .reviews-grid-container .review {
  padding: 2rem;
  border-radius: 1.5rem;
  border: 2px solid rgba(255, 107, 107, 0.1);
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.single-teacher-reviews-section .review .five-stars {
  height: 1rem;
}

.single-teacher-reviews-section .review .review-text {
  color: #4b5563;
  line-height: 1.5;
}

.single-teacher-reviews-section .review .author-container {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.single-teacher-reviews-section .review .author-container img {
  width: 3rem;
  height: 3rem;
}

.single-teacher-reviews-section .review .author-container .author-details h5 {
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25rem;
}

.single-teacher-reviews-section .review .author-container .author-details p {
  color: #6b7280;
  font-size: 0.75rem;
  line-height: 1rem;
}

.contact-section {
  padding: 6rem 15rem;
}

.get-in-touch-container {
  padding: 3rem 3rem 4rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  border-radius: 1.5rem;
  border: 2px solid rgba(255, 107, 107, 0.2);
  background: linear-gradient(
    135deg,
    rgba(255, 107, 107, 0.1) 0%,
    rgba(78, 205, 196, 0.1) 50%,
    rgba(255, 230, 109, 0.1) 100%
  );
}

.get-in-touch-container .top-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.get-in-touch-container .top-section h2 {
  color: #1e293b;
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 2.5rem;
}

.get-in-touch-container .top-section p {
  color: #4b5563;
  text-align: center;
  line-height: 1.5;
}

.get-in-touch-container .contact-form-container {
  width: 100%;
  max-width: 42rem;
  padding: 2rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.get-in-touch-container .contact-form-container .row-container {
  display: flex;
  gap: 1rem;
  width: 100%;
}

.get-in-touch-container .contact-form-container .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
}

.get-in-touch-container .contact-form-container label {
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
}

.get-in-touch-container .contact-form-container input,
.get-in-touch-container .contact-form-container textarea {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-family: inherit;
}

.get-in-touch-container .contact-form-container input::placeholder,
.get-in-touch-container .contact-form-container textarea::placeholder {
  color: #9ca3af;
}

.get-in-touch-container .contact-form-container textarea {
  resize: none;
  height: 8rem;
}

.get-in-touch-container .contact-form-container button {
  padding: 1rem;
  border-radius: 0.75rem;
  background: linear-gradient(90deg, #ff6b6b 0%, #4ecdc4 100%);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  border: none;
}

/* =========================
   TEACHERS HERO RESPONSIVE
========================= */

@media (max-width: 1100px) {
  .teachers-hero-grid {
    padding: 4rem 2rem;
  }
}

@media (max-width: 900px) {
  .teachers-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .teachers-hero-section .text-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .teachers-hero-section .text-section .excellence-container {
    margin: 0 auto;
  }

  .teachers-hero-section .text-section a {
    width: fit-content;
  }

  .teachers-hero-section .image-section {
    margin-top: 2rem;
  }

  .teachers-hero-section .award-winning-container {
    left: 50%;
    transform: translateX(-50%);
    bottom: -1.5rem;
  }
}

/* =========================
   HERO DECORATION FIX
========================= */

.purple-blur,
.yellow-blur {
  pointer-events: none;
  max-width: 100%;
}

@media (max-width: 900px) {
  .purple-blur {
    top: 0;
    left: -50%;
    opacity: 0.4;
  }

  .yellow-blur {
    bottom: -2rem;
    right: -30%;
    opacity: 0.4;
  }

  .award-winning-container {
    display: none !important;
  }
}

/* =========================
   TEACHERS GRID RESPONSIVE
========================= */

@media (max-width: 1200px) {
  .teachers-section {
    padding: 4rem 2rem;
  }
}

@media (max-width: 900px) {
  .teachers-section {
    justify-content: center;
  }

  .teacher-card {
    width: 100%;
    max-width: 20rem;
  }
}

@media (max-width: 600px) {
  .teacher-card {
    max-width: 100%;
  }
}

/* =========================
   HERO TEXT SCALING
========================= */

@media (max-width: 900px) {
  .teachers-hero-section .text-section h1 {
    font-size: 2.5rem;
  }

  .teachers-hero-section .text-section .teachers-hero-text {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .teachers-hero-section .text-section h1 {
    font-size: 2rem;
  }
}

.teachers-hero-section {
  overflow: hidden;
  position: relative;
}

/* =========================
   SINGLE TEACHER HERO
========================= */

@media (max-width: 1100px) {
  .single-teacher-hero-section {
    padding: 4rem 2rem;
  }
}

@media (max-width: 900px) {
  .single-teacher-hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    width: 100%;
  }

  .single-teacher-hero-section .text-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .single-teacher-hero-section .top-rated-container {
    margin: 0 auto;
  }

  .single-teacher-hero-section .image-section {
    margin-top: 2rem;
  }

  .single-teacher-hero-section .stats-container {
    position: relative;
    margin-top: 1.5rem;
    bottom: auto;
  }
}

@media (max-width: 600px) {
  .single-teacher-hero-section h1 {
    font-size: 2.2rem;
  }

  .single-teacher-hero-section .subject {
    font-size: 1.2rem;
  }

  .single-teacher-hero-section .hero-info {
    font-size: 1rem;
  }
}

/* =========================
   HERO DECORATIONS
========================= */

.single-teacher-hero-section {
  overflow: hidden;
}

.pink-blur,
.teal-blur,
.small-teal-blur,
.small-yellow-blur {
  pointer-events: none;
  max-width: 100%;
}

@media (max-width: 900px) {
  .pink-blur {
    top: 0;
    left: -40%;
    opacity: 0.4;
  }

  .teal-blur {
    bottom: 0;
    right: -40%;
    opacity: 0.4;
  }

  .small-teal-blur,
  .small-yellow-blur {
    display: none;
  }
}

/* =========================
   STATS SECTION
========================= */

@media (max-width: 1100px) {
  .teacher-stats-section {
    padding: 3rem 2rem;
  }
}

@media (max-width: 900px) {
  .teacher-stats-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .teacher-stats-section {
    grid-template-columns: 1fr;
  }
}

/* =========================
   ABOUT SECTION
========================= */

@media (max-width: 1100px) {
  .single-teacher-about-section {
    padding: 4rem 2rem;
  }
}

@media (max-width: 900px) {
  .single-teacher-about-section {
    grid-template-columns: 1fr;
  }

  .single-teacher-about-section .right-side {
    margin-top: 2rem;
  }
}

/* =========================
   TEACHING PHILOSOPHY
========================= */

@media (max-width: 1100px) {
  .teaching-philosophy-section {
    padding: 4rem 2rem;
  }
}

@media (max-width: 600px) {
  .teaching-philosophy-flex-container {
    flex-direction: column;
    align-items: center;
  }

  .teaching-philosophy-container {
    max-width: 90%;
  }
}

/* =========================
   REVIEWS GRID
========================= */

@media (max-width: 1100px) {
  .single-teacher-reviews-section {
    padding: 4rem 2rem;
  }
}

@media (max-width: 900px) {
  .single-teacher-reviews-section .reviews-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .single-teacher-reviews-section .reviews-grid-container {
    grid-template-columns: 1fr;
  }
}

/* =========================
   CONTACT FORM
========================= */

@media (max-width: 1100px) {
  .contact-section {
    padding: 4rem 2rem;
  }
}

@media (max-width: 600px) {
  .get-in-touch-container .contact-form-container .row-container {
    flex-direction: column;
  }

  .get-in-touch-container {
    padding: 2rem 1.5rem;
  }
}

/* =========================
   GLOBAL OVERFLOW FIXES
========================= */

section {
  max-width: 100%;
}

/* =========================
   FIX HORIZONTAL PADDING
========================= */

@media (max-width: 900px) {
  .single-teacher-hero-section,
  .teacher-stats-section,
  .single-teacher-about-section,
  .teaching-philosophy-section,
  .single-teacher-reviews-section,
  .contact-section {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

/* =========================
   CONTACT SECTION FIX (CRITICAL)
========================= */

@media (max-width: 900px) {
  .contact-section {
    padding: 3rem 1.5rem !important;
  }
}

/* =========================
   FIX FIXED WIDTH ELEMENTS
========================= */

@media (max-width: 600px) {
  .teaching-philosophy-container {
    max-width: 80%;
  }

  .single-teacher-hero-section .stats-container {
    width: 100%;
    max-width: 16rem;
    padding: 1rem;
  }
}

/* =========================
   PREVENT ANY ELEMENT FROM BREAKING OUT
========================= */

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

/* =========================
   FOOTER RESPONSIVE FIX
========================= */

@media (max-width: 900px) {
  footer {
    padding: 3rem 2rem;
  }

  .footer-main-section {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
  }

  .footer-main-section .left-side {
    align-items: center;
  }

  .footer-main-section .left-side p {
    width: 100%;
    max-width: 28rem;
  }

  .footer-main-section .right-side {
    align-items: center;
  }
}

@media (max-width: 600px) {
  footer {
    padding: 2.5rem 1.5rem;
  }

  .footer-main-section .left-side p {
    max-width: 100%;
  }

  .footer-bottom-section p {
    text-align: center;
  }
}

/* Extra Curricular page styles */

.extra-hero-section {
  padding: 9rem 7rem;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/extra-hero-image.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.extra-hero-section .student-life-container {
  padding: 0.25rem 0.75rem;
  border-radius: 624.9375rem;
  border: 1px solid rgba(30, 144, 255, 0.3);
  background: rgba(15, 82, 186, 0.2);
  width: fit-content;
}

.extra-hero-section .student-life-container p {
  color: #60a5fa;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  letter-spacing: 0.04375rem;
  text-transform: uppercase;
}

.extra-hero-section .text-section {
  width: 100%;
  max-width: 35rem;
}

.extra-hero-section h1 {
  color: #fff;
  font-size: 3.75rem;
  font-weight: 700;
}

.extra-hero-section h1 span {
  color: #3b82f6;
}

.extra-hero-section .hero-text {
  margin-top: 1.5rem;
  color: #d1d5db;
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.extra-hero-section a {
  display: inline-block;
  margin-top: 1.5rem;
}

.extra-stats-container {
  margin: -2rem 8rem 0 8rem;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  place-items: center;
  padding: 3.5rem;
}

.extra-stats-container .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.extra-stats-container .stat h3 {
  color: #1e293b;
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 2.5rem;
}

.extra-stats-container .stat p {
  color: #6b7280;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  letter-spacing: 0.02188rem;
  text-transform: uppercase;
}

.passion-section {
  background-color: #f9fafb;
  padding: 5rem 7rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.passion-section .top-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  width: 100%;
  max-width: 45rem;
}

.passion-section .top-section h2 {
  color: #1e293b;
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 2.5rem;
}

.passion-section .top-section p {
  color: #4b5563;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.clubs-section {
  background-color: #f9fafb;

  padding: 4rem 7rem 0;
}

.clubs-section .top-section {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.clubs-section .top-section img {
  width: 3rem;
  height: 3rem;
}

.clubs-section .top-section h3 {
  color: #1e293b;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 2rem;
}

.clubs-section .clubs-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.club {
  border-radius: 0.75rem;
  border: 1px solid #f3f4f6;
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
}

.club .bottom-section {
  padding: 1.5rem;
}

.club .bottom-section h4 {
  color: #1e293b;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.75rem;
}

.club .bottom-section .cta {
  margin-top: 0.5rem;
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-bottom: 3rem;
}

.club .bottom-section .info-container {
  position: absolute;
  bottom: 1rem;
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.club .bottom-section .info-container .icon {
  height: 0.75rem;
}

.club .bottom-section .info-container p {
  color: #6b7280;
  font-size: 0.75rem;
  line-height: 1rem;
}

.special-clubs-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.special-club {
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #f3f4f6;
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.special-club img {
  width: 3rem;
  height: 3rem;
}

.special-club h5 {
  margin-top: 1rem;
  color: #1e293b;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.75rem;
}

.special-club p {
  margin-top: 0.5rem;
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.student-voices-section {
  margin-top: 5rem;
  padding: 5rem 7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #0f172a;
}

.student-voices-section .top-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  width: 100%;
  max-width: 45rem;
}

.student-voices-section .top-section h2 {
  color: #fff;
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 2.5rem;
}

.student-voices-section .top-section p {
  color: #9ca3af;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.student-voices-section .student-voices-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.voice-container {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #233554;
  background: #112240;
  position: relative;
}

.voice-container .quotes {
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 2rem;
}

.voice-container .student-container {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.voice-container .student-container img {
  width: 3.5rem;
  height: 3.5rem;
}

.voice-container .student-container h5 {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.75rem;
}

.voice-container .student-container .student-info p {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.voice-container .voice-text {
  color: #d1d5db;
  line-height: 1.5;
}

.clubs-more-info-section {
  padding: 5rem 7rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  place-items: center;
}

.clubs-more-info-section .left-side h2 {
  color: #1e293b;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 2.5rem;
}

.clubs-more-info-section .left-side .get-involved-item {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.clubs-more-info-section .number-container {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 600rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #dbeafe;
}

.clubs-more-info-section .number-container p {
  color: #0f52ba;
  font-weight: 700;
}

.clubs-more-info-section .details h3 {
  color: #1e293b;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.75rem;
}

.clubs-more-info-section .details p {
  color: #4b5563;
  line-height: 1.5rem;
}

.upcoming-events-container {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  width: 100%;
}

.upcoming-events-container h2 {
  color: #1e293b;
}

.event-list-container {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #f3f4f6;
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.event .event-date-container {
  padding: 0.5rem;
  min-width: 3.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 0.375rem;
  background: #0a192f;
}

.event .event-date-container .month {
  color: #ffd700;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1rem;
  text-transform: uppercase;
}

.event .event-date-container .day {
  color: #fff;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.75rem;
}

.event .event-info-container h5 {
  color: #1e293b;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5rem;
}

.event .event-info-container .details {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.event .event-info-container .details img {
  width: 0.875rem;
  height: 0.875rem;
}

.event .event-info-container .details p {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

/* =========================
   EXTRA HERO RESPONSIVE
========================= */

@media (max-width: 900px) {
  .extra-hero-section {
    padding: 5rem 2rem;
    text-align: center;
  }

  .extra-hero-section .text-section {
    margin: 0 auto;
  }

  .extra-hero-section h1 {
    font-size: 2.5rem;
  }

  .extra-hero-section .hero-text {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .extra-hero-section h1 {
    font-size: 2rem;
  }
}

/* =========================
   EXTRA STATS RESPONSIVE
========================= */

@media (max-width: 1100px) {
  .extra-stats-container {
    margin: -2rem 2rem 0;
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .extra-stats-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* =========================
   EXTRA GLOBAL PADDING FIX
========================= */

@media (max-width: 1200px) {
  .passion-section,
  .clubs-section,
  .student-voices-section,
  .clubs-more-info-section {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* =========================
   CLUBS GRID RESPONSIVE
========================= */

@media (max-width: 900px) {
  .clubs-section .clubs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .clubs-section .clubs-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   SPECIAL CLUBS RESPONSIVE
========================= */

@media (max-width: 900px) {
  .special-clubs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .special-clubs-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   STUDENT VOICES RESPONSIVE
========================= */

@media (max-width: 900px) {
  .student-voices-section .student-voices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .student-voices-section .student-voices-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   CLUBS INFO RESPONSIVE
========================= */

@media (max-width: 900px) {
  .clubs-more-info-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .clubs-more-info-section .left-side {
    text-align: center;
  }

  .clubs-more-info-section .get-involved-item {
    justify-content: center;
  }

  .clubs-more-info-section .right-side {
    width: 100%;
  }
}

/* Prevent overflow + spacing issues */

.club .bottom-section .cta {
  margin-bottom: 2rem;
}

@media (max-width: 600px) {
  .clubs-section .top-section {
    justify-content: center;
    text-align: center;
  }

  .clubs-section .top-section img {
    display: none; /* cleaner mobile */
  }
}
