/* =====================================================
                ICASIS RESPONSIVE CSS
===================================================== */


/* =====================================================
                1400px
===================================================== */

@media (max-width:1400px){


    
}


/* =====================================================
                1200px
===================================================== */

@media (max-width:1200px){

}


/* =====================================================
                992px
===================================================== */

@media (max-width:992px){

}


/* =====================================================
                768px
===================================================== */

/* =========================================================
   MOBILE OPTIMIZATION
   ========================================================= */

@media (max-width: 768px) {

    /* ---------- GLOBAL ---------- */

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    * {
        box-sizing: border-box;
    }

    /* ---------- NAVBAR ---------- */

    #navbar {
        width: 100%;
        position: relative;
        z-index: 1000;
    }

    #navbar nav {
        width: calc(100% - 24px);
        max-width: none;
        margin: 12px auto;
        padding: 8px 14px;
        min-height: 64px;
    }

    .nav-brand {
        min-width: 0;
    }

    .nav-logo {
        width: 72px !important;
        height: 72px !important;
        top: 0 !important;
        left: -18px !important;
    }

    .nav-brand-text {
        margin-left: 38px !important;
        white-space: nowrap;
    }

    .nav-brand-text h2 {
        font-size: 1.45rem;
    }

    .nav-brand-text span {
        font-size: 0.62rem;
    }

    /* Hide desktop navigation */

    .nav-links {
        display: none !important;
    }

    /* Show hamburger */

    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        margin-left: auto;
        border: none;
        background: transparent;
        cursor: pointer;
        font-size: 1.3rem;
    }

    /* Mobile menu */

    .nav-links.active {
        display: flex !important;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;

        width: 100%;
        margin: 0;

        flex-direction: column;
        align-items: stretch;
        gap: 4px;

        padding: 12px;

        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(18px);

        border-radius: 18px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

    .nav-links.active li {
        width: 100%;
    }

    .nav-links.active > li > a {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 14px;
        border-radius: 10px;
    }

    /* Mobile buttons */

    .nav-links.active .nav-action-group {
        margin-left: 0;
        margin-top: 8px;
    }

    .nav-links.active .nav-actions {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }

    .nav-links.active .nav-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* ---------- HERO ---------- */

    .hero {
        min-height: 100vh;
        padding: 100px 20px 50px;
    }

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

    .hero h1 {
        font-size: clamp(2rem, 9vw, 3rem);
        line-height: 1.1;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.5;
    }

    /* ---------- HERO LOGOS ---------- */

    .hero-logos {
        flex-direction: column;
        gap: 20px;
    }

    /* ---------- COUNTDOWN ---------- */

    .countdown {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .countdown-item {
        min-width: 0;
        width: 100%;
        padding: 18px 10px;
    }

    .countdown-item .number {
        font-size: 1.5rem;
    }

    /* ---------- HERO BUTTONS ---------- */

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: min(280px, 90%);
    }

    /* ---------- SECTIONS ---------- */

    section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.15;
    }

    /* ---------- GRIDS ---------- */

    .about-grid,
    .committee-grid,
    .speaker-grid,
    .tracks-grid,
    .cards-grid {
        grid-template-columns: 1fr !important;
    }

    /* ---------- CARDS ---------- */

    .card,
    .about-card,
    .committee-card {
        width: 100%;
    }

    /* ---------- EXPLORE / TRAVEL CAROUSEL ---------- */

    .explore-ribbon {
        width: 100%;
        margin-top: 10px;
    }

    .ribbon-card {
        min-width: 100%;
        height: 220px;
    }

    .ribbon-card h3 {
        left: 30px;
        bottom: 30px;
        font-size: 1.8rem;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
    }

    .carousel-nav.left {
        left: 12px;
    }

    .carousel-nav.right {
        right: 12px;
    }

    /* ---------- TABLES ---------- */

    .table-container {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        min-width: 650px;
    }

    /* ---------- FOOTER ---------- */

    footer {
        padding: 30px 20px;
    }
}

/* =====================================================
                480px
===================================================== */

@media (max-width: 480px) {

    #navbar nav {
        width: calc(100% - 16px);
        padding: 6px 10px;
    }

    .nav-logo {
        width: 62px !important;
        height: 62px !important;
    }

    .nav-brand-text {
        margin-left: 30px !important;
    }

    .nav-brand-text h2 {
        font-size: 1.25rem;
    }

    .nav-brand-text span {
        font-size: 0.55rem;
        letter-spacing: 0.5px;
    }

    .hero {
        padding-top: 90px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .countdown {
        gap: 8px;
    }

    .countdown-item {
        padding: 14px 8px;
    }

    .countdown-item .number {
        font-size: 1.3rem;
    }

    .countdown-item .label {
        font-size: 0.7rem;
    }

    .ribbon-card {
        height: 200px;
    }

    .ribbon-card h3 {
        left: 20px;
        bottom: 25px;
        font-size: 1.5rem;
    }
}

/* =====================================================
                576px
===================================================== */

@media (max-width:576px){

}