/* ==========================================================================
   SUMMER HILL CONVENT SCHOOL - RESPONSIVE STYLES
   Breakpoints: 320px, 375px, 430px, 768px, 1024px, 1280px, 1440px
   ========================================================================== */


/* Fix Horizontal Scroll on Mobile */

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

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

.container,
.container-fluid {
  max-width: 100%;
}

@media (max-width: 767px) {

  .row {
    --bs-gutter-x: 1rem;
  }

  section,
  main,
  header,
  footer {
    max-width: 100%;
  }

  img {
    height: auto;
  }

  .navbar,
  .navbar-collapse {
    max-width: 100%;
  }
}



/* Large Screens (1440px and above) */
@media (min-width: 1440px) {
  .container {
    max-width: 1380px;
  }

  .hero-carousel-item {
    height: 680px;
  }

  .hero-title {
    font-size: 3.5rem;
  }
}

/* Desktops (1200px - 1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
  .hero-carousel-item {
    height: 620px;
  }

  .hero-title {
    font-size: 3rem;
  }
}

/* Laptops and Small Desktops (992px - 1199px) */
@media (max-width: 1199px) {
  .navbar-logo {
    height: 54px;
  }

  .brand-title {
    font-size: 1.125rem;
  }

  .navbar-nav .nav-link {
    padding: 8px 10px !important;
    font-size: 0.8125rem;
  }

  .hero-carousel-item {
    height: 560px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .about-badge-card {
    right: 0;
    bottom: -15px;
    padding: 16px 20px;
  }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
  .top-bar-item {
    margin-right: 12px;
    font-size: 0.75rem;
  }

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

  .site-header {
    padding: 8px 0;
  }

  .navbar-collapse {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    margin-top: 12px;
    box-shadow: 0 10px 30px rgba(13, 35, 58, 0.15);
    border: 1px solid var(--border-color);
  }

  .navbar-nav .nav-link {
    padding: 10px 14px !important;
    font-size: 0.9375rem;
  }

  .navbar-nav .nav-link.active::after {
    display: none;
  }

  .nav-btn-enquiry {
    margin-top: 10px;
    width: 100%;
    justify-content: center;
  }

  .hero-carousel-item {
    height: 500px;
  }

  .hero-title {
    font-size: 2.125rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .highlights-strip {
    margin-top: 0;
    padding-top: 40px;
  }

  .about-badge-card {
    position: static;
    margin-top: 20px;
    max-width: 100%;
  }

  .md-portrait-card {
    margin-bottom: 30px;
  }

  .md-portrait-img {
    width: 220px;
    height: 290px;
  }

  .contact-info-card {
    margin-bottom: 30px;
  }
}

/* Standard Mobile Phones (431px - 767px) */
@media (max-width: 767px) {
  html {
    font-size: 15px;
  }

  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .top-bar {
    display: none;
    /* Collapsed on mobile to prioritize admission strip and logo */
  }

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

  .brand-subtitle {
    font-size: 0.6875rem;
  }

  .brand-meta {
    display: none;
  }

  .navbar-logo {
    height: 48px;
  }

  .hero-carousel-item {
    height: 480px;
    min-height: 440px;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .hero-pill {
    font-size: 0.6875rem;
    padding: 4px 12px;
  }

  .hero-desc {
    font-size: 0.9375rem;
    margin-bottom: 20px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
    /* Avoid blocking text touch zones on phones */
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.9375rem;
  }

  .about-main-img {
    height: 300px;
  }

  .cta-admission-box {
    padding: 30px 20px;
  }

  .cta-title {
    font-size: 1.625rem;
  }

  .site-footer {
    padding-top: 50px;
  }

  .footer-heading {
    margin-top: 24px;
    margin-bottom: 14px;
  }

  .school-data-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;

    
  }
  .abouty-img-hight {
      height: 300px;
      object-fit: cover;
    }

    .managing-director{
      margin: 0px;
    }

    .rameh-kumari-img-box{
      max-width: 0px; border: 4px solid #ffffff;
    }

    .school-font-gallery{
      font-size: 16px ;
    }

  .school-data-table .label-col {
    white-space: normal;
    min-width: 160px;
  }

  .inner-page-banner {
    padding: 50px 0 40px;
  }

  .inner-page-title {
    font-size: 1.875rem;
  }

  .breadcrumb-nav {
    font-size: 0.8125rem;
    padding: 5px 14px;
    gap: 6px;
  }
}

/* Small Mobile Devices (320px - 430px) */
@media (max-width: 430px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .brand-title {
    font-size: 0.9375rem;
  }

  .navbar-logo {
    height: 42px;
  }

  .hero-carousel-item {
    height: 440px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .btn-gold,
  .btn-navy,
  .btn-outline-gold,
  .btn-outline-white {
    padding: 9px 18px;
    font-size: 0.8125rem;
  }

  .highlights-card {
    padding: 20px 14px;
    gap: 12px;
  }

  .highlight-icon-box {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .highlight-number {
    font-size: 1.25rem;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 24px 16px;
  }
}