﻿@media (max-width:1200px) {
    .site-header .nav-link {
        margin: 0 4px;
        padding: 6px 10px;
        font-size: 15px;
    }
    .banner-img {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
    }

}
/* =========================
   TABLET (≤992px)
   ========================= */
@media (max-width:992px) {

    /* Navbar */
    .site-header .container {
        border-radius: 20px;
        padding: 15px !important;
    }

    .navbar-collapse {
        background: #fff;
        margin-top: 15px;
        padding: 20px;
        border-radius: 18px;
    }

    .site-header .nav-link {
        display: block;
        padding: 10px 15px;
        margin: 6px 0;
    }

    /* Highlight cards */
    .highlight-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .icon-box {
        margin-bottom: 10px;
    }
    .split-divider {
        border-left: none;
        padding-left: 0;
        margin-top: 40px;
    }

    .section-title {
        font-size: 30px;
    }
    .stat {
        flex: 1 1 50%;
    }

        .stat:nth-child(2) {
            border-right: none;
        }
}

/* =========================
   MOBILE (≤768px)
   ========================= */
@media (max-width:768px) {

    .home-banner {
        height: 85vh;
        padding-top: 100px;
    }
  
    .banner-btn {
        padding: 12px 28px;
        font-size: 14px;
    }

    .logo-symbol {
        height: 50px;
    }
    .logo-title {
        font-size: 18px;
    }

    .logo-sub {
        font-size: 10px;
        letter-spacing: 1px;
    }
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-content {
        width: 100%;
    }

    .timeline-icon {
        height: 50px;
        margin-right: 20px;
        font-size: 22px;
    }
    .view-all a {
        font-size: 22px;
    }
    .event-img {
        height: auto;
    }
    .lightbox-nav {
        top: auto;
        bottom: 30%;
        transform: none;
        font-size: 18px;
        padding: 8px 8px;
        background: rgba(0, 0, 0, 0.75);
    }

        .lightbox-nav.prev {
            left: 15px;
        }

        .lightbox-nav.next {
            right: 15px;
        }
    .vm-card {
        padding: 25px;
    }
    .stats-floating {
        margin-top: 20px;
    }

    .stat {
        flex: 1 1 100%; /* 1 column */
        border-right: none !important;
        border-bottom: 1px solid #bfbfbf;
    }

        .stat:last-child {
            border-bottom: none;
        }

        .stat h2 {
            font-size: 36px;
        }
    .tl-dot{
        display:none !important;
    }
    .tl-stem{
        display:none !important;
    }
}
/* ===============================
   MOBILE SLIDE NAV FROM RIGHT
================================ */

@media (max-width: 991px) {

    .site-header:has(.custom-toggler[aria-expanded="true"]) {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
    }
    /* FULLSCREEN MENU */
    .mobile-menu {
        position: fixed !important;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--primary);
        padding-top: 100px;
        z-index: 9998;
        transition-delay: 0s;
    }

        .mobile-menu.show {
            right: 0;
        }

        /* CENTER MENU */
        .mobile-menu .navbar-nav {
            flex-direction: column;
        }
    .site-header .nav-link {
        padding: 0;
    }
        .mobile-menu .nav-item {
            margin: 8px 0;
        }

        .mobile-menu .nav-link {
            font-size: 18px;
            font-weight: 600;
            color: #fff !important;
            letter-spacing: 2px;
        }

    .mobile-menu .dropdown-menu {
        position: static !important;
        transform: none !important;
        background: transparent;
        border: none;
        box-shadow: none;
        padding-left: 15px;
    }

    .mobile-menu .dropdown-item {
        color: #fff;
        padding: 8px 0;
    }

    .mobile-menu .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
    }
    /* ===============================
       HAMBURGER → CROSS
    ================================ */

    .custom-toggler {
        border: none;
        background: transparent;
        padding: 10px;
        z-index: 10000;
    }

        .custom-toggler span {
            display: block;
            width: 28px;
            height: 3px;
            background: #000;
            margin: 6px 0;
            transition: transform 0.3s ease, opacity 0.2s ease;
            transition-delay: 0.35s;
        }

        /* ACTIVE STATE (X) */
        .custom-toggler[aria-expanded="true"] span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }

        .custom-toggler[aria-expanded="true"] span:nth-child(2) {
            opacity: 0;
        }

        .custom-toggler[aria-expanded="true"] span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }

        .custom-toggler:focus {
            box-shadow: none;
        }
}
/* =========================
   RESPONSIVE FIXES
========================= */

/* Tablet */
@media (max-width: 991px) {

    .hero-modern {
        padding: 60px 0 !important;
        text-align: center !important;
    }

    .hero-title {
        font-size: 34px !important;
    }

    .hero-desc {
        font-size: 15px !important;
    }

    .hero-glass-card {
        height: auto !important;
        margin-top: 30px;
    }

    .doctor-img {
        height: auto !important;
    }

    .hero-badge {
        font-size: 12px !important;
    }
    .hero-modern {
        padding-top: 100px !important;
    }
}


/* Mobile */
@media (max-width: 576px) {

    .hero-modern {
        padding: 50px 15px !important;
    }

    .hero-title {
        font-size: 26px !important;
        line-height: 1.4 !important;
    }

    .hero-desc {
        font-size: 14px !important;
    }

    .hero-glass-card {
        height: auto !important;
        border-radius: 15px;
    }

    .doctor-img {
        height: auto !important;
    }

    .hero-badge {
        font-size: 11px !important;
        padding: 5px 10px !important;
        margin-bottom:2px !important;
    }
    .hero-modern {
        padding-top: 100px !important;
    }
    /* Reduce glow intensity on small screens */
    .hero-modern {
        background: radial-gradient(circle at 20% 30%, rgba(0,122,205,0.25), transparent 50%), radial-gradient(circle at 80% 70%, rgba(246,195,66,0.2), transparent 50%), #0f2a44;
    }
}