﻿@media(max-width: 768px) {
    .logo-symbol{
        height:100px;
    }
    .about-image-wrap {
        min-height: 300px;
        aspect-ratio: 3 / 2;
    }
    .service-detail-card {      
        height: 380px;
    }
    .why-content {
        padding: 40px 20px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }

    .footer-legal a {
        margin-left: 0.6rem;
        margin-right: 0.6rem;
    }
    .main-img {
        width: 100%;
        height: auto;
    }
    .inner-hero {
        height: 350px;
    }
    .about-us{
        height:auto;
    }
        .about-us .about-img {
            height: auto;
        }
    .stats {
        margin-top: 30px;
        gap: 40px;
    }
    .marquee-wrapper {
        padding: 20px 0;
    }

    .marquee-text {
        font-size: 40px;
        font-weight: 500;
    }
    .compare-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .divider-line {
        display: none;
    }

    .compare-box {
        border-radius: 12px;
    }
    .news-content {
        position: static;
        margin-top:15px;
    }
    .news-detail-img {
        height: auto;
    }
    .ecosystem-list {
        grid-template-columns: 1fr;
    }
    .partner-form-section {
        position: static !important;
        padding:30px 0;
    }
    .partner-form-card {
        padding: 15px;
    }
    
}

/* =========================
   MOBILE
========================= */
@media (max-width:576px){

    .compare-box{
        padding:22px;
    }

    .title{
        font-size:20px;
    }

    .compare-box li{
        font-size:14px;
        padding:10px 0;
    }
    .footer-desc {
        max-width: 100%;
        text-align: center;
    }

}


    /* ===============================
   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: 150px;
            z-index: 9998;
            transition-delay: 0s;
        }

            .mobile-menu.show {
                right: 0;
            }

            /* CENTER MENU */
            .mobile-menu .navbar-nav {
                flex-direction: column;
            }

            .mobile-menu .nav-item {
                margin: 8px 0;
            }

            .mobile-menu .nav-link {
                font-size: 18px;
                font-weight: 600;
                color: var(--text-primary) !important;
                letter-spacing: 2px;
            }

                .mobile-menu .nav-link:hover {
                    background: rgba(255,255,255,0.15);
                    border-radius: 30px;
                }

        /* ===============================
       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;
            }
    }
