/* ========================================================
   Metro IVF Darbhanga - Full Responsive Media Queries
   ======================================================== */

/* --- Extra Large Screens (>= 1400px) --- */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* --- Standard Desktops & Laptops (1200px - 1399px) --- */
@media (max-width: 1399px) {
    .container {
        max-width: 1160px;
    }
    .hero-title {
        font-size: 3.4rem;
    }
}

/* --- Small Laptops / Landscape Tablets (993px - 1199px) --- */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-container {
        gap: 2.5rem;
    }
    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
        gap: 2rem;
    }
    .booking-card-wrap {
        grid-template-columns: 1fr 1fr;
    }
    .booking-info-pane {
        padding: 2.5rem 2rem;
    }
    .booking-form-pane {
        padding: 2.5rem 2rem;
    }
}

/* --- Tablets & iPad Pro (769px - 992px) --- */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* Top Bar */
    .top-bar-inner {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
    .top-bar-left {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    /* Header Nav */
    .desktop-nav {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .header-call-btn {
        display: none; /* In header on tablet/mobile, available in menu and top-bar */
    }

    /* Hero */
    .hero {
        padding-top: 2rem;
        padding-bottom: 3.5rem;
        min-height: auto;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-subtitle {
        max-width: 100%;
    }
    .hero-cta-group {
        justify-content: center;
    }
    .trust-badges {
        justify-content: center;
    }
    .hero-visual {
        height: 420px;
        max-width: 600px;
        margin: 0 auto;
    }
    .floating-card-1 {
        top: -3%;
        right: 0;
    }
    .floating-card-2 {
        bottom: -3%;
        left: 0;
    }

    /* Booking Form */
    .booking-card-wrap {
        grid-template-columns: 1fr;
    }
    .booking-info-pane {
        padding: 2.5rem;
    }
    .booking-form-pane {
        padding: 2.5rem;
    }

    /* IVF Journey Timeline */
    .journey-timeline {
        padding-left: 30px;
    }
    .timeline-line {
        left: 30px;
    }
    .journey-step, .journey-step.right {
        justify-content: flex-start;
        padding-right: 0;
        padding-left: 60px;
        margin-bottom: 2.5rem;
    }
    .step-dot {
        left: 30px;
    }
    .step-content {
        width: 100%;
    }

    /* Location / Maps */
    .location-grid {
        grid-template-columns: 1fr;
    }
    .map-embed-wrapper {
        height: 350px;
    }
    .location-content {
        padding: 2rem;
    }

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

/* --- Mobile Devices (481px - 768px) --- */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    section {
        padding: 4rem 0;
    }

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

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

    .hero-visual {
        height: 350px;
    }

    .floating-card-1, .floating-card-2 {
        padding: 8px 12px;
        border-radius: 12px;
    }
    .floating-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }

    .doctors-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 2rem;
    }
}

/* --- Small Mobile Phones (<= 480px) --- */
@media (max-width: 480px) {
    .top-bar-left {
        font-size: 0.78rem;
    }

    .header {
        height: 70px;
    }
    .navbar-logo {
        height: 38px;
    }
    .logo-text {
        font-size: 1.25rem;
    }
    .logo-subtext {
        font-size: 0.65rem;
    }

    .hero-title {
        font-size: 2.1rem;
        line-height: 1.18;
    }

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

    .btn-large {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
    }

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

    .trust-badges {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .trust-badge-item {
        justify-content: center;
    }

    .hero-visual {
        height: 290px;
    }

    .floating-card-1, .floating-card-2 {
        display: none; /* Hide floating badges on tiny screens to avoid obscuring images */
    }

    .facility-img-wrap {
        height: 200px;
    }

    .booking-info-pane, .booking-form-pane {
        padding: 1.75rem 1.25rem;
    }

    .booking-info-pane h2 {
        font-size: 1.75rem;
    }

    .journey-timeline {
        padding-left: 20px;
    }
    .timeline-line {
        left: 20px;
    }
    .journey-step, .journey-step.right {
        padding-left: 45px;
    }
    .step-dot {
        left: 20px;
        width: 16px;
        height: 16px;
    }
    .step-content {
        padding: 1.25rem;
    }
    .step-number {
        font-size: 1.6rem;
        top: 10px;
        right: 15px;
    }

    .accordion-header {
        font-size: 1.05rem;
        padding: 1.1rem 1.25rem;
    }
    .accordion-inner {
        padding: 0 1.25rem 1.25rem;
        font-size: 0.92rem;
    }

    .floating-whatsapp-doctor {
        bottom: 15px;
        right: 15px;
        padding: 6px 12px 6px 6px;
    }
    .wa-doctor-avatar {
        width: 38px;
        height: 38px;
    }
    .wa-doctor-label {
        font-size: 0.75rem;
    }
    .wa-doctor-status {
        font-size: 0.68rem;
    }
}
