
/* ==========================================================================
   DR. SUSHMA AGARWAL - FULL COMPREHENSIVE RESPONSIVE STYLESHEET
   Mobile First & Fluid Breakpoints: 1200px, 992px, 768px, 480px, 360px
   ========================================================================== */

/* Prevent any horizontal overflow */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
    -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Base Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Touch Input Improvements on iOS & Mobile (Prevents auto-zoom) */
input, select, textarea, button {
    font-size: 16px;
}

/* Backdrop Overlay for Mobile Drawer Menu */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(45, 8, 22, 0.60);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1020;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nav-backdrop.show {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   BREAKPOINT: Standard Laptops & Notebooks (max-width: 1280px)
   ========================================================================== */
@media (max-width: 1280px) {
    .container {
        max-width: 1180px;
        padding: 0 16px;
    }

    /* Navbar on Laptop */
    .nav-container {
        padding: 12px 16px;
        gap: 12px;
    }

    .brand-logo {
        gap: 10px;
    }

    .brand-logo-img {
        height: 48px;
        max-width: 250px;
    }

    .brand-icon {
        width: 48px;
        height: 54px;
        border-radius: 9px;
    }

    .brand-name {
        font-size: 1.22rem;
    }

    .brand-sub {
        font-size: 0.72rem;
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .navbar .nav-list {
        gap: 2px;
    }

    .nav-link {
        padding: 7px 10px;
        font-size: 0.85rem;
    }

    .nav-right-actions {
        margin-left: 6px;
        gap: 8px;
    }

    .nav-right-actions .btn {
        padding: 8px 14px;
        font-size: 0.82rem;
        white-space: nowrap;
    }

    /* Top Bar on Laptop */
    .top-bar {
        font-size: 0.8rem;
        padding: 7px 0;
    }

    .top-info {
        gap: 16px;
    }

    /* Hero Section on Laptop */
    .hero-section {
        padding: 45px 0 65px;
    }

    .hero-grid {
        gap: 32px;
        grid-template-columns: 1.1fr 0.9fr;
    }

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

    .hero-title span.qualifications {
        font-size: 1.25rem;
    }

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

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

    .hero-highlight-item {
        padding: 9px 14px;
        font-size: 0.88rem;
    }

    .hero-image-wrapper img {
        height: 440px;
    }

    /* Stats Strip on Laptop */
    .stats-strip {
        padding: 24px 20px;
    }

    .stat-number {
        font-size: 2.3rem;
    }

    .stat-label {
        font-size: 0.88rem;
    }
}

/* ==========================================================================
   BREAKPOINT: Compact Laptops & Small Desktops (max-width: 1140px)
   ========================================================================== */
@media (max-width: 1140px) {
    .container {
        max-width: 980px;
        padding: 0 18px;
    }

    /* Transition Navbar to Drawer on Compact Laptops to prevent crowding */
    .nav-container {
        padding: 10px 16px;
        gap: 12px;
    }

    .nav-right-actions .btn {
        display: none !important;
    }

    .mobile-toggle-btn {
        display: flex !important;
        z-index: 1070;
    }

    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 82%;
        max-width: 320px;
        height: 100vh;
        background: #FFFFFF !important;
        box-shadow: -10px 0 40px rgba(45, 8, 22, 0.35);
        padding: 85px 22px 40px;
        transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1060;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        border-left: 2px solid var(--border-gold);
    }

    .navbar.show {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 13px 18px;
        font-size: 1rem;
        font-weight: 700;
        color: var(--primary) !important;
        background: #FFF9FA;
        border-radius: var(--radius-md);
        border: 1px solid rgba(212, 63, 110, 0.15);
        transition: var(--transition);
    }

    .nav-link:hover {
        background: #FDE8EF;
        color: var(--secondary) !important;
        border-color: var(--secondary);
    }

    .nav-link.active {
        background: var(--primary-gradient) !important;
        color: #FFFFFF !important;
        border-color: var(--primary-dark);
        box-shadow: 0 4px 14px rgba(78, 16, 38, 0.25);
    }

    .mobile-drawer-cta {
        display: flex !important;
        margin-top: 20px;
    }

    /* Grids on Compact Laptops */
    .services-grid, .why-choose-grid, .cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-image-card {
        order: -1;
        max-width: 380px;
        margin: 0 auto 10px;
    }

    .hero-image-wrapper img {
        height: 400px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* ==========================================================================
   BREAKPOINT: Tablets (max-width: 992px)
   ========================================================================== */
@media (max-width: 992px) {
    /* Top Bar */
    .top-bar-container {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .top-info {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .top-actions {
        justify-content: center;
    }

    /* Header & Mobile Toggle Button */
    .main-header {
        padding: 8px 0;
    }

    .nav-container {
        padding: 8px 16px;
        gap: 12px;
    }

    .nav-right-actions {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
    }

    .nav-right-actions .btn {
        display: none !important;
    }

    .mobile-toggle-btn {
        display: flex !important;
        z-index: 1070;
    }

    .mobile-toggle-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: var(--secondary);
    }

    .mobile-toggle-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        background: var(--secondary);
    }

    .mobile-drawer-cta {
        display: flex !important;
    }

    /* Hero Section Responsive */
    .hero-section {
        padding: 40px 0 60px;
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-image-card {
        order: -1;
        max-width: 380px;
        margin: 0 auto 10px;
    }

    .hero-image-wrapper {
        border-radius: 28px;
    }

    .hero-image-wrapper img {
        height: 420px;
    }

    /* Stats Strip on Tablet */
    .stats-strip {
        margin-top: 10px;
        padding: 28px 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-card:nth-child(2)::after {
        display: none;
    }

    .stat-card {
        border-bottom: 1px solid var(--border-light);
        padding-bottom: 16px;
    }

    .stat-card:nth-last-child(-n+2) {
        border-bottom: none;
        padding-bottom: 0;
    }

    /* Profile Grid on Tablet */
    .profile-overview-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .profile-img-box img {
        height: 400px;
    }

    /* Highlight Banner on Tablet */
    .highlight-banner {
        padding: 38px 28px;
    }

    .highlight-banner-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .highlight-points {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Booking on Tablet */
    .home-booking-grid, .contact-grid, .appointment-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ==========================================================================
   BREAKPOINT: Mobile Phones (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .d-none-sm {
        display: none !important;
    }

    .container {
        padding: 0 16px;
    }

    /* Top Bar Mobile */
    .top-bar {
        padding: 7px 0;
        font-size: 0.78rem;
    }

    .top-info {
        gap: 8px;
    }

    .badge-reg {
        font-size: 0.74rem;
        padding: 3px 10px;
    }

    .top-wa-btn {
        padding: 4px 10px;
        font-size: 0.74rem;
    }

    /* Brand Logo & Navbar Mobile */
    .brand-logo {
        gap: 12px;
    }

    .brand-logo-img {
        height: 42px;
        max-width: 220px;
    }

    .brand-icon {
        width: 52px;
        height: 58px;
        border-radius: 10px;
    }

    .brand-name {
        font-size: 1.22rem;
    }

    .brand-sub {
        font-size: 0.72rem;
        max-width: 220px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-right-actions .btn {
        padding: 9px 16px;
        font-size: 0.84rem;
    }

    /* Hero Section Mobile */
    .hero-section {
        padding: 28px 0 50px;
    }

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

    .hero-title span.qualifications {
        font-size: 1.12rem;
        margin-top: 6px;
    }

    .hero-lead {
        font-size: 0.98rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .hero-highlights {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 24px;
    }

    .hero-highlight-item {
        padding: 8px 14px;
        font-size: 0.88rem;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-bottom: 24px;
    }

    .hero-cta-group .btn {
        width: 100%;
        padding: 13px 20px;
    }

    .hero-chamber-box {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .chamber-col {
        min-width: 100%;
    }

    .hero-image-card {
        max-width: 330px;
    }

    .hero-image-wrapper {
        border-width: 6px;
        border-radius: 24px;
    }

    .hero-image-wrapper img {
        height: 380px;
    }

    .hero-top-badge {
        top: 12px;
        right: 12px;
        padding: 6px 12px;
        font-size: 0.74rem;
    }

    .hero-floating-badge {
        bottom: -15px;
        left: 10px;
        padding: 10px 14px;
        gap: 10px;
    }

    .badge-icon {
        width: 38px;
        height: 38px;
        font-size: 1.05rem;
    }

    .badge-number {
        font-size: 1.18rem;
    }

    .badge-text {
        font-size: 0.72rem;
    }

    /* Section Headings */
    .section {
        padding: 55px 0;
    }

    .section-header {
        margin-bottom: 36px;
    }

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

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

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

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

    /* Grids to Single Column */
    .services-grid, .why-choose-grid, .blog-grid, .cert-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card, .why-choose-card, .blog-card, .booking-info-box, .booking-form-box, .contact-card, .form-card {
        padding: 24px 20px;
    }

    /* FAQ Accordion Mobile */
    .faq-question {
        padding: 16px 18px;
        font-size: 0.96rem;
        gap: 12px;
    }

    .faq-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .faq-answer-content {
        padding: 14px 18px 18px;
        font-size: 0.9rem;
    }

    /* Timeline on Mobile */
    .timeline {
        padding-left: 20px;
    }

    .timeline-dot {
        left: -20px;
        width: 14px;
        height: 14px;
    }

    .timeline-card {
        padding: 20px 18px;
    }

    .timeline-cert-preview {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .timeline-cert-btn {
        width: 100%;
        justify-content: center;
    }

    /* Footer Mobile */
    .footer-top {
        padding: 50px 0 35px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    /* Floating WhatsApp Button on Mobile */
    .floating-wa-btn {
        bottom: 18px;
        right: 18px;
        width: 52px;
        height: 52px;
        font-size: 26px;
    }

    .back-to-top {
        bottom: 80px;
        right: 22px;
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .wa-tooltip {
        display: none !important;
    }
}

/* ==========================================================================
   BREAKPOINT: Extra Small Mobile Phones (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

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

    .hero-title span.qualifications {
        font-size: 1rem;
    }

    .hero-image-card {
        max-width: 100%;
    }

    .hero-image-wrapper img {
        height: 330px;
    }

    .stats-strip {
        padding: 22px 14px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-card {
        padding: 8px 0;
        border-bottom: 1px solid var(--border-light);
    }

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

    .stat-number {
        font-size: 2.1rem;
    }

    .stat-label {
        font-size: 0.86rem;
    }

    .highlight-banner {
        padding: 28px 18px;
    }

    .highlight-content h2 {
        font-size: 1.65rem;
    }

    .highlight-action-card {
        padding: 20px 16px;
    }

    /* Form Dual-Column Inputs to Single Column */
    form div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .btn-lg {
        padding: 13px 22px;
        font-size: 0.95rem;
    }

    .brand-sub {
        display: none;
    }
}

/* ==========================================================================
   BREAKPOINT: Ultra-Small Screens (max-width: 360px)
   ========================================================================== */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.65rem;
    }

    .hero-floating-badge {
        display: none;
    }

    .btn {
        padding: 10px 18px;
        font-size: 0.88rem;
    }
}

/* ==========================================================================
   GLOBAL RESPONSIVE UTILITIES & LIGHTBOX
   ========================================================================== */
@media (max-width: 768px) {
    .lightbox-modal {
        padding-top: 30px;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 75vh;
        border-radius: 8px;
    }

    .lightbox-close {
        top: 10px;
        right: 14px;
        font-size: 32px;
        width: 36px;
        height: 36px;
    }

    .lightbox-caption {
        width: 95%;
        font-size: 0.92rem;
        padding: 10px 0;
    }

    iframe {
        max-width: 100%;
    }

    /* Full-Width Slider Mobile Responsive */
    .banner-slider-section {
        padding: 0;
    }

    .slider-wrapper {
        padding: 0;
    }

    .slider-track {
        border-radius: 0;
        min-height: auto;
    }

    .slider-btn {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    .prev-btn {
        left: 12px;
    }

    .next-btn {
        right: 12px;
    }

    .slider-dots {
        bottom: 8px;
        padding: 4px 10px;
        gap: 6px;
    }

    .slider-dot {
        width: 7px;
        height: 7px;
    }

    .slider-dot.active {
        width: 18px;
    }
}

@media (max-width: 480px) {
    .slider-wrapper {
        padding: 0;
    }

    .slider-track {
        border-radius: 0;
        box-shadow: none;
    }

    .slider-btn {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .prev-btn {
        left: 8px;
    }

    .next-btn {
        right: 8px;
    }
}

