/* ==========================================================================
   Nandi IVF - Responsive Stylesheet
   ========================================================================== */

/* Large Tablets & Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
    .header-top-bar {
        gap: 1rem;
        font-size: 0.8rem;
    }
    
    .nav-list {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.88rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .treatments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .locations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

/* Desktop Navbar Fit (1025px - 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
    .header-top-bar {
        gap: 1.15rem;
        font-size: 0.78rem;
    }
    .nav-list {
        gap: 0.85rem;
    }
    .nav-link {
        font-size: 0.86rem;
    }
    .header-btn {
        padding: 0.5rem 1rem;
        font-size: 0.84rem;
    }
    .brand-logo-img {
        height: 42px;
    }
}

/* Tablets & Mobile Navigation Breakpoint (<= 1024px) */
@media (max-width: 1024px) {
    .main-nav, 
    .header-top-bar {
        display: none !important;
    }
    
    .mobile-actions {
        display: flex !important;
        align-items: center;
        gap: 0.55rem;
    }
    
    .header-right {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 0.5rem;
    }

    .header-wrapper {
        padding: 0.55rem 0;
    }

    .brand-logo-img {
        height: 42px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust-badges {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .doctor-grid, .doctor-profile-grid {
        grid-template-columns: 1fr;
    }
    
    .doctor-img-container {
        max-height: 380px;
    }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 1rem;
    }

    .header-wrapper {
        padding: 0.5rem 0;
        gap: 0.75rem;
    }

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

    .mobile-phone-text {
        display: none;
    }

    .mobile-phone-btn {
        width: 38px;
        height: 38px;
        padding: 0;
        justify-content: center;
    }

    .mobile-quick-book-btn {
        height: 36px;
        padding: 0 0.85rem;
        font-size: 0.8rem;
    }
    
    .section-padding {
        padding: 3.5rem 0;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .features-grid, .treatments-grid, .locations-grid, .vision-mission-grid, .differentiators-grid, .team-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-box {
        padding: 2.5rem 1.25rem;
    }
    
    .cta-title {
        font-size: 1.85rem;
    }
    
    .doctor-details {
        padding: 2rem 1.5rem;
    }
    
    .floating-card {
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
    }
}

/* Small Mobiles (<= 480px) */
@media (max-width: 480px) {
    .header-wrapper {
        padding: 0.4rem 0;
    }

    .brand-logo-img {
        height: 34px;
        max-width: 155px;
    }

    .mobile-actions {
        gap: 0.4rem;
    }

    .mobile-quick-book-btn {
        height: 34px;
        padding: 0 0.65rem;
        font-size: 0.78rem;
    }

    .mobile-phone-btn {
        width: 36px;
        height: 36px;
    }

    .mobile-toggle {
        width: 38px;
        height: 38px;
    }

    .mobile-nav-drawer {
        width: 310px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-trust-badges {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
}

/* Extra Small Mobiles (<= 360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }

    .brand-logo-img {
        height: 30px;
        max-width: 135px;
    }

    .mobile-quick-book-btn {
        display: none;
    }
}
