@media (max-width: 1200px) {
  .contact__inner {
    width: 100%;
  }

  .contact__form-wrap {
    flex: 1;
    width: auto;
    height: auto;
    min-height: 584px;
  }
}

@media (max-width: 1160px) {
  .navbar__hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navbar__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    gap: 0.25rem;
    z-index: 998;
  }

  .navbar__links--open {
    display: flex;
  }

  .navbar__links li {
    width: 100%;
  }

  .navbar__link {
    width: 100%;
    padding: 0.65rem 0.85rem;
  }

  .navbar__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 1rem;
    display: none;
  }

  .navbar__item--dropdown.open .navbar__dropdown {
    display: block;
  }

  .top-bar__item:nth-child(2) {
    display: none;
  }
}

/* ═══════════════════════════════════════
   TABLET — max 1024px
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

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

  /* Hide top bar address on tablet to save space */
  .top-bar__item:last-of-type {
    display: none;
  }

  /* Switch to hamburger at 1024px */
  .navbar__hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navbar__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    gap: 0.25rem;
    z-index: 998;
  }

  .navbar__links--open {
    display: flex;
  }

  .navbar__links li {
    width: 100%;
  }

  .navbar__link {
    width: 100%;
    padding: 0.65rem 0.85rem;
  }

  /* Dropdowns on tablet: show inline */
  .navbar__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 1rem;
    display: none;
  }

  .navbar__item--dropdown.open .navbar__dropdown {
    display: block;
  }

  .top-bar__item:nth-child(2) {
    display: none;
  }

  /* Why Choose section */
  .why-choose__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .why-choose__icon-img {
    height: 100px;
  }

  /* Our Programs section */
  .programs__grid {
    row-gap: 80px;
    column-gap: 3rem;
  }

  .programs__icon-img {
    height: 110px;
  }

  /* Director's Message */
  .director__inner {
    gap: 2.5rem;
  }

  .director__img-main {
    width: 100%;
    height: 500px;
  }

  .director__img-teacher {
    width: 200px;
    height: 172px;
  }

  .director__img-classroom {
    width: 200px;
    height: 168px;
  }

  /* Hide teacher and classroom images on tablet */
  .director__img-stack {
    display: none;
  }

  .director__images {
    width: 35%;
  }

  /* Testimonials */
  .testimonials__card {
    height: auto;
  }

  .testimonials__img-wrap {
    width: 280px;
    height: auto;
    min-height: 400px;
  }

  .testimonials__content {
    padding: 2.5rem;
  }

  .testimonials__text {
    font-size: 1.125rem;
  }

  .testimonials__author-name {
    font-size: 1.5rem;
  }

  /* Teachers */
  .teachers__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 280px));
    column-gap: 40px;
    row-gap: 72px;
    justify-content: center;
    margin-bottom: 3rem;
    max-width: 100%;
  }

  .teachers__card {
    width: 100%;
  }

  .teachers__img-wrap {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
  }

  .teachers__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  /* Events */
  .events__frame {
    height: auto;
    border: 1px solid #e5e5e0;
    border-radius: 12px;
  }

  .events__list-wrap {
    width: 100%;
    flex-shrink: 1;
  }

  .events__date-box {
    width: 160px;
  }

  .events__day {
    font-size: 3rem;
  }

  /* Hide image on tablet to save space */
  .events__img-wrap {
    display: none;
  }

  .events__list-wrap {
    border-radius: 12px;
    overflow: hidden;
  }

  .events__date-box--1 {
    border-radius: 12px 0 0 0;
  }

  .events__date-box--3 {
    border-radius: 0 0 0 12px;
  }

  /* Latest News */
  .news__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    justify-content: unset;
  }

  .news__card {
    width: 100%;
  }

  /* Gallery */
  .gallery__grid {
    gap: 20px;
  }

  .gallery__item {
    height: 240px;
  }

  /* Contact */
  .contact__inner {
    width: 100%;
    gap: 20px;
  }

  .contact__img-wrap {
    width: 280px;
    height: auto;
    min-height: 500px;
  }

  .contact__form-wrap {
    width: auto;
    flex: 1;
    height: auto;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer__col:nth-child(2) {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mid desktop — max 1300px */
@media (max-width: 1300px) {
  .teachers__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 56px;
    justify-content: unset;
  }

  .teachers__card {
    width: 100%;
  }

  .teachers__img-wrap {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
  }

  .teachers__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 768px) {
  /* Hide label text on mobile, keep bell icon */
  .updates-bar__label span {
    display: none;
  }

  /* Hide divider too on mobile */
  .updates-bar__divider {
    display: none;
  }

  /* Admissions banner stacks on mobile */
  .admission-banner__inner {
    flex-direction: column;
    align-items: stretch;
    border-radius: 12px; /* ensure parent keeps its radius */
    overflow: hidden; /* this clips everything inside including image */
  }

  .admission-banner__image {
    width: 100%;
    height: 300px;
    position: relative;
    align-self: auto;
    overflow: hidden;
    background: var(--color-green-dark);
    border-radius: 0; /* parent handles all corners */
  }

  .admission-banner__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12.5%; /* pulls image down to show face */
    transform: none;
  }

  .admission-banner__content {
    padding: 1.5rem;
    text-align: center;
  }

  .admission-banner__title {
    font-size: 1.5rem;
  }

  .admission-banner__text {
    font-size: 1rem;
  }

  .admission-banner__ctas {
    justify-content: center;
  }

  /* Why Choose section */
  .why-choose__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .why-choose__icon-img {
    height: 90px; /* smaller icons on mobile */
  }

  .why-choose__title {
    font-size: 1.5rem;
  }

  /* Our Programs section */
  .programs__grid {
    grid-template-columns: 1fr;
    row-gap: 60px;
    column-gap: 0;
  }

  .programs__icon-img {
    height: 90px;
  }

  .programs__title {
    font-size: 1.8rem;
  }

  .programs__label {
    font-size: 1.125rem;
  }

  /* Director's Message — stack on mobile */
  .director__inner {
    flex-direction: column;
    gap: 2rem;
  }

  /* Hide teacher and classroom images on mobile */
  .director__img-stack {
    display: none;
  }

  /* Main director image full width on mobile */
  .director__img-main {
    width: 100%;
    height: 390px;
  }

  .director__img-main .director__img {
    object-position: center 9%;
  }

  .director__images {
    width: 100%;
  }

  .director__title {
    font-size: 1.75rem;
  }

  .director__text {
    font-size: 1rem;
  }

  /* Testimonials */
  .testimonials__card {
    flex-direction: column;
    height: auto;
  }

  .testimonials__img-wrap {
    width: 100%;
    height: 290px;
    min-height: unset;
  }

  .testimonials__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
  }

  .testimonials__content {
    padding: 2rem 1.5rem;
    gap: 1rem;
  }

  .testimonials__text {
    font-size: 1rem;
  }

  .testimonials__author-name {
    font-size: 1.25rem;
  }

  .testimonials__title {
    font-size: 1.75rem;
  }

  .testimonials__quote-img {
    width: 28px;
    height: 28px;
  }

  /* Teachers */
  .teachers__grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 16px;
    row-gap: 36px;
    justify-content: unset;
  }

  .teachers__card {
    width: 100%;
  }

  .teachers__img-wrap {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
  }

  .teachers__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .teachers__title {
    font-size: 1.75rem;
  }

  .teachers__name {
    font-size: 1rem;
  }

  .teachers__role {
    font-size: 0.875rem;
  }

  /* Events */
  .events__frame {
    height: auto;
    border: 1px solid #e5e5e0;
    border-radius: 12px;
    overflow: hidden;
  }

  .events__list-wrap {
    width: 100%;
  }

  /* Hide image on mobile */
  .events__img-wrap {
    display: none;
  }

  .events__date-box {
    width: 120px;
  }

  .events__day {
    font-size: 2.5rem;
  }

  .events__month {
    font-size: 0.9rem;
  }

  .events__info {
    padding: 1rem 1.25rem;
  }

  .events__event-title {
    font-size: 1rem;
  }

  .events__meta-item {
    font-size: 0.75rem;
  }

  .events__title {
    font-size: 1.75rem;
  }

  /* Latest News*/
  .news__grid {
    grid-template-columns: 1fr;
    gap: 44px;
    justify-content: unset;
  }

  .news__card {
    width: 100%;
  }

  .news__title {
    font-size: 1.75rem;
  }

  .news__img-wrap {
    height: 200px;
  }

  .news__card-body {
    padding: 1.25rem;
  }

  /* Gallery */
  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .gallery__item {
    height: 180px;
  }

  .gallery__overlay-text {
    font-size: 1.1rem;
  }

  .gallery__title {
    font-size: 1.75rem;
  }

  /* Contact */
  .contact__inner {
    width: 100%;
    flex-direction: column;
  }

  /* Hide image on mobile */
  .contact__img-wrap {
    display: none;
  }

  .contact__form-wrap {
    width: 100%;
    height: auto;
    padding: 1.75rem;
  }

  .contact__form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact__title {
    font-size: 1.75rem;
  }

  .contact__submit {
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__col:nth-child(2) {
    grid-template-columns: 1fr 1fr;
    display: grid;
  }

  .footer__upper {
    padding: 60px 0;
  }

  .footer__info-link {
    font-size: 1rem;
  }

  .footer__link {
    font-size: 1rem;
  }

  .footer__campus-text,
  .footer__hours-text {
    font-size: 1rem;
  }

  .footer__col-title {
    font-size: 1.25rem;
  }

  .footer__copyright {
    font-size: 0.875rem;
    text-align: center;
  }
}
