/* ==========================================================================
   Shweta Gynae And Surgi Care Centre - Responsive Stylesheet
   Breakpoints: 1200px, 992px, 768px, 576px, 375px, 320px
   ========================================================================== */

/* --------------------------------------------------------------------------
   Desktop & Tablet Large (<= 1200px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1200px) {
  .hero-grid {
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
    gap: 2rem;
  }
}

/* --------------------------------------------------------------------------
   Tablet Landscape & Medium Screens (<= 992px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 992px) {
  .navbar {
    height: 74px;
  }

  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 74px;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem 2.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid var(--color-primary);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s;
    z-index: 999;
  }

  .nav-menu.is-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid var(--color-border-light);
  }

  .nav-link {
    display: block;
    padding: 0.85rem 0;
    font-size: 1.05rem;
  }

  .nav-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-subtitle-tag {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-bar {
    justify-content: center;
  }

  .about-preview-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 1.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* --------------------------------------------------------------------------
   Tablet Portrait & Medium Devices (<= 768px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  body {
    padding-bottom: 60px; /* Space for mobile bottom bar */
  }

  .section {
    padding: 3.8rem 0;
  }

  .top-bar-left {
    display: none;
  }

  .top-bar .container {
    justify-content: center;
  }

  .brand-logo img {
    height: 44px;
  }

  .hero-img-card img {
    height: 340px;
  }

  .floating-stat-badge {
    position: static;
    margin-top: 1rem;
    justify-content: center;
  }

  .doctor-credentials-list {
    grid-template-columns: 1fr;
  }

  .mobile-bottom-bar {
    display: block;
  }

  .floating-actions-desktop {
    display: none;
  }

  .back-to-top {
    bottom: 75px;
    right: 15px;
  }

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

  .highlight-card {
    border-right: none;
    border-bottom: 1px solid var(--color-border-light);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.25rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}

/* --------------------------------------------------------------------------
   Mobile Devices (<= 576px, 480px, 375px, 320px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem 1rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-col h4 {
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
  }

  .footer-links a {
    font-size: 0.82rem;
    gap: 0.25rem;
    line-height: 1.4;
  }

  .footer-links li {
    margin-bottom: 0.45rem;
  }
}

/* --------------------------------------------------------------------------
   Small Mobile Devices (<= 480px & 375px & 320px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand-logo img {
    height: 38px;
  }

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

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

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

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-trust-bar {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

  .highlight-card {
    border-right: none;
    border-bottom: 1px solid var(--color-border-light);
    padding: 0.85rem 0;
  }

  .highlight-card:last-child {
    border-bottom: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

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

  .edu-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 1.5rem 1.25rem;
  }

  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

@media screen and (max-width: 340px) {
  .brand-logo img {
    height: 32px;
  }

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

  .btn {
    padding: 0.75rem 1.2rem;
    font-size: 0.88rem;
  }
}

