﻿@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;
    }
}


/* =========================
   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;
    }
}
/* ===============================
   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;
        }
}
