/* ==========================================================================
   DELHI DIAGNOSTICS - COMPLETE MASTER RESPONSIVE & NATIVE MOBILE SYSTEM
   Applies to ALL 7 Pages: Home, Services, Packages, Doctors, NIPT, About, Contact
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    max-width: 100vw;
    overflow-x: hidden !important;
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    max-width: 100vw;
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    padding-bottom: 0; /* Desktop/Laptop default */
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-color);
}

img, video, canvas, svg, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.page-hero {
    padding: 45px 0 35px;
    text-align: center;
}

/* ==========================================================================
   LAPTOP & COMPACT DESKTOP (992px to 1366px) - ZERO OVERFLOW NAVBAR FIX
   ========================================================================== */
@media (min-width: 992px) and (max-width: 1366px) {
    .navbar .container {
        max-width: 100% !important;
        padding: 0 16px !important;
    }
    .navbar-inner {
        gap: 8px !important;
        padding: 6px 0 !important;
    }
    .brand-logo-wrapper {
        gap: 8px !important;
        flex-shrink: 0 !important;
    }
    .brand-logo-emblem {
        width: 42px !important;
        height: 42px !important;
        border-radius: 10px !important;
        padding: 2px !important;
    }
    .brand-main-title {
        font-size: 1.08rem !important;
        letter-spacing: -0.3px !important;
    }
    .brand-sub-tagline {
        font-size: 0.62rem !important;
    }
    .nav-links {
        gap: 2px !important;
        flex-shrink: 1 !important;
    }
    .nav-link {
        padding: 5px 8px !important;
        font-size: 0.8rem !important;
        letter-spacing: -0.1px !important;
    }
    .nav-actions {
        gap: 6px !important;
        flex-shrink: 0 !important;
    }
    .nav-actions .btn-whatsapp {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
    }
}

/* ==========================================================================
   TABLET & INTERMEDIATE (max-width: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }
    .hero-banner-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .trust-pills {
        justify-content: center;
    }
    .calc-grid-layout {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    .tour-suite-display {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    .cyber-scanner-layout {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    .packages-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .nipt-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
}

/* ==========================================================================
   TABLET PORTRAIT & MOBILE (max-width: 991px)
   ========================================================================== */
@media (max-width: 991px) {
    .top-bar {
        padding: 6px 0;
    }
    .top-bar-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 4px;
    }
    .top-info-list {
        display: none;
    }
    .top-emergency-badge {
        font-size: 0.74rem;
        padding: 3px 10px;
    }

    .navbar {
        padding: 6px 0;
    }
    .navbar-inner {
        padding: 6px 0;
        gap: 10px;
    }

    .brand-logo-wrapper {
        gap: 10px;
    }
    .brand-logo-emblem {
        width: 52px !important;
        height: 52px !important;
        padding: 2px !important;
        border-radius: 12px !important;
        border-width: 2px !important;
    }
    .brand-logo-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        transform: scale(1.15) !important;
    }
    .brand-main-title {
        font-size: 1.15rem !important;
        letter-spacing: -0.3px !important;
    }
    .brand-sub-tagline {
        font-size: 0.66rem !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 75px 20px 30px;
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.3);
        transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1001;
        overflow-y: auto;
        gap: 4px;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links li {
        width: 100%;
    }
    .nav-link {
        width: 100%;
        padding: 12px 16px;
        font-size: 1rem;
        border-radius: 10px;
    }
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        color: #072a4a;
        font-size: 1.2rem;
        cursor: pointer;
    }
    .nav-actions .btn-whatsapp {
        display: none;
    }

    body {
        padding-bottom: 75px !important;
    }

    .mobile-sticky-action-bar {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(7, 42, 74, 0.97) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
        z-index: 99999 !important;
        box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.35) !important;
        border-top: 1px solid rgba(0, 240, 255, 0.3) !important;
    }

    .mobile-actions-inner {
        display: grid !important;
        grid-template-columns: 1fr 1.15fr 1fr !important;
        gap: 8px !important;
        max-width: 480px !important;
        margin: 0 auto !important;
    }

    .mobile-action-btn {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 8px 4px !important;
        border-radius: 10px !important;
        text-decoration: none !important;
        color: #ffffff !important;
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        gap: 3px !important;
        transition: transform 0.15s ease !important;
    }

    .mobile-action-btn:active {
        transform: scale(0.95);
    }

    .mobile-action-btn.call {
        background: #0284c7 !important;
    }

    .mobile-action-btn.whatsapp {
        background: linear-gradient(135deg, #10b981, #059669) !important;
        box-shadow: 0 0 12px rgba(16, 185, 129, 0.4) !important;
    }

    .mobile-action-btn.home-sample {
        background: #ea580c !important;
    }

    .mobile-action-btn i {
        font-size: 1.05rem !important;
    }

    .mobile-drawer-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(0, 0, 0, 0.6) !important;
        backdrop-filter: blur(6px) !important;
        z-index: 99990 !important;
        display: none !important;
        opacity: 0 !important;
        transition: opacity 0.3s ease !important;
    }

    .mobile-drawer-overlay.active {
        display: block !important;
        opacity: 1 !important;
    }

    .mobile-bottom-drawer {
        position: fixed !important;
        bottom: -100% !important;
        left: 0 !important;
        right: 0 !important;
        background: #ffffff !important;
        border-radius: 25px 25px 0 0 !important;
        padding: 25px 20px 35px !important;
        z-index: 99995 !important;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3) !important;
        transition: bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
        display: block !important;
    }

    .mobile-bottom-drawer.active {
        bottom: 0 !important;
    }

    .drawer-drag-handle {
        width: 45px !important;
        height: 5px !important;
        background: #cbd5e1 !important;
        border-radius: 10px !important;
        margin: 0 auto 18px !important;
    }

    .drawer-service-btn {
        width: 100% !important;
        background: #f8fafc !important;
        border: 1.5px solid #e2e8f0 !important;
        border-radius: 14px !important;
        padding: 14px 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-bottom: 12px !important;
        text-decoration: none !important;
        color: #1e293b !important;
        font-weight: 700 !important;
        font-size: 0.95rem !important;
        transition: all 0.2s ease !important;
    }

    .drawer-service-btn:hover {
        background: #eff6ff !important;
        border-color: #0b4f8a !important;
        color: #0b4f8a !important;
    }
}

/* ==========================================================================
   MOBILE PHONES (< 768px) - ZERO OVERFLOW & NATIVE FEEL ON ALL PAGES
   ========================================================================== */
@media (max-width: 767px) {
    .container {
        padding: 0 14px;
    }

    .page-hero {
        padding: 25px 0 20px !important;
    }
    .page-hero h1 {
        font-size: 1.65rem !important;
    }
    .page-hero p {
        font-size: 0.9rem !important;
    }

    .service-detail-card, .service-detail-card.reverse {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        padding: 18px 14px !important;
        margin-bottom: 22px !important;
        border-radius: 16px !important;
    }
    .service-detail-card h2, .service-detail-card h3 {
        font-size: 1.3rem !important;
    }
    .service-detail-img {
        max-height: 220px !important;
        width: 100% !important;
        object-fit: cover !important;
        border-radius: 12px !important;
    }

    .packages-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .package-card {
        padding: 20px 14px !important;
        border-radius: 16px !important;
    }
    .package-title {
        font-size: 1.2rem !important;
    }
    .price-current {
        font-size: 1.7rem !important;
    }
    .pkg-gender-tabs {
        flex-wrap: wrap;
    }
    .gender-tab-btn {
        padding: 6px 10px !important;
        font-size: 0.78rem !important;
    }
    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 20px;
    }
    .table-responsive table {
        min-width: 480px;
    }

    .doctors-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    .doctor-card {
        padding: 18px 14px !important;
        border-radius: 16px !important;
    }
    .doctor-photo {
        width: 100% !important;
        max-height: 220px !important;
        object-fit: cover !important;
        border-radius: 12px !important;
    }

    .nipt-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    .syndrome-card {
        padding: 14px !important;
        border-radius: 14px !important;
    }

    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .stat-card {
        padding: 14px 8px !important;
        text-align: center;
    }
    .stat-number {
        font-size: 1.6rem !important;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .contact-card, .contact-form-card {
        padding: 18px 14px !important;
        border-radius: 16px !important;
    }
    .map-container iframe {
        height: 240px !important;
    }

    .hero-section {
        padding: 20px 0 35px !important;
    }
    .hero-banner-grid h1 {
        font-size: 1.85rem !important;
        line-height: 1.25 !important;
    }
    .hero-banner-grid p {
        font-size: 0.92rem !important;
        line-height: 1.5 !important;
        margin-bottom: 18px !important;
    }
    .hero-hologram-stage {
        min-height: 400px !important;
        border-radius: 16px !important;
    }
    .building-hologram-card {
        width: 240px !important;
        height: 310px !important;
    }
    .hologram-satellite-pin {
        padding: 5px 10px !important;
        font-size: 0.68rem !important;
        border-radius: 20px !important;
    }
    .sat-pin-1 { top: 12px !important; left: 8px !important; }
    .sat-pin-2 { top: 12px !important; right: 8px !important; }
    .sat-pin-3 { bottom: 14px !important; left: 8px !important; }
    .sat-pin-4 { bottom: 14px !important; right: 8px !important; }

    .smart-search-section {
        margin-top: -20px;
    }
    .smart-search-wrapper {
        padding: 8px 12px !important;
        border-radius: 35px !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .search-input-field {
        font-size: 0.88rem !important;
        min-width: 0 !important;
    }
    .smart-search-wrapper .btn {
        padding: 7px 12px !important;
        font-size: 0.78rem !important;
        white-space: nowrap !important;
        border-radius: 25px !important;
    }

    #cyberScannerSection {
        padding: 40px 0 !important;
    }
    #cyberScannerSection h2 {
        font-size: 1.55rem !important;
    }
    .cyber-organ-grid {
        gap: 6px !important;
        margin-bottom: 20px !important;
    }
    .cyber-organ-btn {
        padding: 8px 12px !important;
        font-size: 0.78rem !important;
        border-radius: 25px !important;
    }
    .cyber-scanner-chamber {
        padding: 20px 12px !important;
        border-radius: 16px !important;
        margin: 20px 0 !important;
    }
    .hologram-body-stage {
        width: 190px !important;
        height: 360px !important;
    }
    .hologram-body-svg {
        width: 160px !important;
        height: 340px !important;
    }
    .cyber-display-screen {
        padding: 18px 14px !important;
        border-radius: 14px !important;
    }
    .cyber-display-screen h3 {
        font-size: 1.3rem !important;
    }

    .calc-chamber {
        padding: 20px 14px !important;
        border-radius: 16px !important;
        margin: 25px 0 !important;
    }
    .filter-pill-group {
        gap: 6px !important;
        margin: 8px 0 16px !important;
    }
    .filter-pill-btn {
        padding: 6px 12px !important;
        font-size: 0.78rem !important;
    }
    .calc-result-card {
        padding: 18px 14px !important;
        border-radius: 14px !important;
    }
    .calc-result-card h3 {
        font-size: 1.3rem !important;
    }

    .center-tour-tabs {
        gap: 6px !important;
        margin-bottom: 18px !important;
    }
    .tour-tab-btn {
        padding: 7px 12px !important;
        font-size: 0.78rem !important;
    }
    .tour-suite-display {
        padding: 18px 14px !important;
        border-radius: 16px !important;
    }

    .special-deals-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        margin: 25px 0 !important;
    }
    .special-deal-card {
        padding: 20px 16px !important;
        border-radius: 16px !important;
    }
    .reviews-3d-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .review-card-3d {
        padding: 18px 14px !important;
        border-radius: 16px !important;
    }

    .site-footer {
        padding: 40px 0 15px !important;
    }
}

/* ==========================================================================
   DEDICATED RESPONSIVE CLASSES (FIXING INLINE GRID SQUEEZING & MAP CUT-OFF)
   ========================================================================== */

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact-map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    width: 100%;
    height: 420px;
}

.contact-map-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
    display: block;
}

.mega-package-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
}

.nipt-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
}

.breast-care-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    background: #fdf2f8;
    padding: 35px;
    border-radius: var(--radius-xl);
    border: 2px solid #fbcfe8;
}

.package-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Tablet & Mobile Breakpoints (< 991px) */
@media (max-width: 991px) {
    .contact-main-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .contact-map-wrapper {
        height: 350px !important;
        width: 100% !important;
    }

    .mega-package-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .nipt-intro-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .about-intro-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .breast-care-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        padding: 22px 18px !important;
    }
}

/* Mobile Devices (< 768px) */
@media (max-width: 767px) {
    .contact-map-wrapper {
        height: 280px !important;
    }

    .about-stats-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .package-features-list {
        columns: 1 !important;
        font-size: 0.86rem !important;
    }

    .package-features-list li {
        margin-bottom: 8px !important;
    }

    .nipt-table-wrap {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .nipt-table {
        min-width: 480px !important;
    }
}

/* ==========================================================================
   MOBILE-FIRST MEDICAL COMPARISON & DATA CARDS (ZERO TEXT CUT-OFF)
   ========================================================================== */

.mobile-comp-deck {
    display: none;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
}

.mobile-comp-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.mobile-comp-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #072a4a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.comp-data-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 10px;
    margin-bottom: 8px;
}

.comp-data-row.traditional {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.comp-data-row.claria-highlight {
    background: #f0fdf4;
    border: 1.5px solid #86efac;
}

.comp-data-label {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comp-data-row.traditional .comp-data-label {
    color: #64748b;
}

.comp-data-row.claria-highlight .comp-data-label {
    color: #15803d;
}

.comp-data-val {
    font-size: 0.92rem;
    font-weight: 600;
}

.comp-data-row.traditional .comp-data-val {
    color: #475569;
}

.comp-data-row.claria-highlight .comp-data-val {
    color: #166534;
    font-weight: 700;
}

@media (max-width: 767px) {
    .desktop-table-view {
        display: none !important;
    }
    .mobile-comp-deck {
        display: flex !important;
    }
}

@media (min-width: 768px) {
    .desktop-table-view {
        display: block !important;
    }
    .mobile-comp-deck {
        display: none !important;
    }
}

/* ==========================================================================
   PERFECT PACKAGE CARD DISPLAY & ZERO RIBBON OVERLAP FIX
   ========================================================================== */

.package-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1.5px solid #e2e8f0;
    padding: 42px 24px 26px 24px !important; /* Extra top padding ensures ribbon never covers title */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    overflow: visible !important;
}

.package-card.featured {
    border: 2px solid #0b4f8a;
    box-shadow: 0 16px 40px rgba(11, 79, 138, 0.15);
}

.package-ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
    z-index: 10;
    text-transform: uppercase;
}

.package-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #072a4a;
    margin: 6px 0 8px;
    line-height: 1.35;
}

/* Tablet View (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }
}

/* Mobile View (< 768px) */
@media (max-width: 767px) {
    .packages-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .package-card {
        padding: 40px 18px 22px 18px !important;
        border-radius: 18px !important;
    }

    .package-ribbon {
        font-size: 0.68rem !important;
        padding: 4px 12px !important;
        top: -10px !important;
    }

    .package-title {
        font-size: 1.22rem !important;
    }

    .price-current {
        font-size: 1.65rem !important;
    }
}




/* =========================================================
   100% FULLY RESPONSIVE LOGO FIX (DESKTOP + TABLET + MOBILE)
   ========================================================= */

/* Desktop & General */
.brand-logo-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    max-width: 100% !important;
    flex-shrink: 0 !important;
}

.brand-logo-emblem {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
}

.brand-logo-img {
    height: 46px !important;
    width: auto !important;
    max-width: 220px !important;
    object-fit: contain !important;
    display: block !important;
    transform: none !important;
}

/* Tablet Screens (max-width: 991px) */
@media (max-width: 991px) {
    .brand-logo-img {
        height: 40px !important;
        max-width: 180px !important;
    }
    .brand-main-title {
        font-size: 1.1rem !important;
    }
    .brand-sub-tagline {
        font-size: 0.65rem !important;
    }
}

/* Mobile Screens (max-width: 576px) */
@media (max-width: 576px) {
    .brand-logo-wrapper {
        gap: 6px !important;
        max-width: 70% !important;
    }
    .brand-logo-img {
        height: 35px !important;
        max-width: 140px !important;
    }
    .brand-main-title {
        font-size: 0.95rem !important;
        line-height: 1.1 !important;
    }
    .brand-sub-tagline {
        font-size: 0.58rem !important;
    }
}

/* Very Small Mobile Screens (max-width: 375px) */
@media (max-width: 375px) {
    .brand-logo-img {
        height: 30px !important;
        max-width: 120px !important;
    }
    .brand-main-title {
        font-size: 0.88rem !important;
    }
    .brand-sub-tagline {
        display: none !important; /* Screen space bachane ke liye chhota sub-tagline hide ho jayega */
    }
}
  /* FORCE LOGO COMPACT IN MOBILE */
.brand-logo-wrapper,
.brand-logo-wrapper a {
    max-height: 48px !important;
}

.brand-logo-img,
img.brand-logo-img {
    width: auto !important;
    height: 38px !important;
    max-height: 38px !important;
    max-width: 160px !important;
    object-fit: contain !important;
    transform: none !important;
}

@media (max-width: 576px) {
    .brand-logo-img,
    img.brand-logo-img {
        height: 32px !important;
        max-height: 32px !important;
        max-width: 130px !important;
    }
}



@media (max-width: 576px) {
    .brand-logo-wrapper img {
        height: 48px !important;
        max-height: 50px !important;
    }
}




/* =========================================================
   CLEAN & CRISP CROPPED LOGO - 100% PERFECT FIT
   ========================================================= */
.navbar {
    min-height: 75px !important;
    height: auto !important;
}

.brand-logo-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    height: auto !important;
    max-height: 100% !important;
    text-decoration: none !important;
}

.brand-main-logo,
.brand-logo-wrapper img {
    height: 58px !important;
    max-height: 60px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 !important;
    transform: none !important;
}

/* Tablet Screens (max-width: 991px) */
@media (max-width: 991px) {
    .navbar {
        min-height: 70px !important;
    }
    .brand-main-logo,
    .brand-logo-wrapper img {
        height: 52px !important;
        max-height: 54px !important;
    }
}

/* Mobile Phones (max-width: 576px) */
@media (max-width: 576px) {
    .navbar {
        height: 64px !important;
        min-height: 64px !important;
        max-height: 64px !important;
        padding: 0 !important;
    }
    .navbar-inner {
        height: 100% !important;
        padding: 0 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    .brand-logo-wrapper {
        height: auto !important;
        max-height: 50px !important;
    }
    .brand-main-logo,
    .brand-logo-wrapper img {
        height: 48px !important;
        max-height: 50px !important;
        width: auto !important;
        object-fit: contain !important;
        margin: 0 !important;
    }
}

/* Mobile Phones (max-width: 576px) */
@media (max-width: 576px) {
    .navbar {
        height: 64px !important;
        min-height: 64px !important;
        max-height: 64px !important;
        padding: 0 !important;
    }
    .navbar-inner {
        height: 100% !important;
        padding: 0 10px !important;
        display: flex !important;
        align-items: center !important;
    }
    .brand-logo-wrapper {
        height: 48px !important;
        max-height: 48px !important;
        overflow: hidden !important; /* Logo ko navbar se bahar latakne se 100% rokta hai */
    }
    .brand-main-logo,
    .brand-logo-wrapper img {
        height: 44px !important;
        max-height: 46px !important;
        width: auto !important;
        object-fit: contain !important;
        transform: none !important; /* Scale 1.2 hata diya taaki bahar na faile */
        mix-blend-mode: multiply !important; /* White background transparent ho jayega */
    }
}





/* =========================================================
   100% BULLETPROOF MOBILE NAVIGATION MENU FIX
   ========================================================= */
@media (max-width: 991px) {
    .navbar {
        overflow: visible !important;
        max-height: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    .navbar-inner {
        position: relative !important;
        overflow: visible !important;
    }
    .nav-links {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 82% !important;
        max-width: 320px !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #ffffff !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 85px 24px 30px !important;
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.3) !important;
        transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 999998 !important;
        overflow-y: auto !important;
        gap: 6px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .nav-links.active {
        right: 0 !important;
    }
    .nav-links li {
        width: 100% !important;
    }
    .nav-link {
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 1.05rem !important;
        color: #1e293b !important;
        border-radius: 10px !important;
        display: block !important;
    }
    .nav-link:hover, .nav-link.active {
        background: #f0f7ff !important;
        color: #0b4f8a !important;
    }
    .menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        background: #f1f5f9 !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 10px !important;
        color: #072a4a !important;
        font-size: 1.3rem !important;
        cursor: pointer !important;
        z-index: 999999 !important;
        position: relative !important;
    }
}