/* 
==============================================
   RESPONSIVE STYLES (Mobile & Tablet)
==============================================
*/

/* Tablet and Smaller (max-width: 992px) */
@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
        max-width: 90%;
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {

    /* Navigation Bar */
    .navbar {
        padding: 10px 0;
    }

    .hamburger {
        display: flex;
        /* Show hamburger */
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden by default */
        width: 100%;
        /* Full screen menu */
        height: 100vh;
        background: #2c3e50;
        /* Dark background to match desktop nav */
        flex-direction: column;
        justify-content: flex-start;
        /* Start from top to avoid centering off-screen */
        align-items: center;
        transition: 0.3s ease-in-out;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        gap: 15px;
        /* Reduced gap from 25px */
        padding-top: 80px;
        /* Space for specific top padding */
        padding-bottom: 20px;
        overflow-y: auto;
        /* Enable vertical scrolling */
    }

    .nav-menu.active {
        right: 0;
        /* Slide in */
    }

    .nav-menu li {
        margin: 5px 0;
        /* Reduced from 10px */
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        font-size: 1.2rem;
        color: #ffffff;
        /* White text for dark mobile menu */
    }

    /* Language Switcher in Mobile Menu */
    .language-switcher {
        margin: 0;
        margin-top: 20px;
    }

    /* Hero Section */
    .hero {
        margin-top: 60px;
        height: auto;
        min-height: 80vh;
        padding: 80px 0;
        background-attachment: scroll;
        /* Fix mobile rendering */
        background-position: center top;
        /* Force visibility - Critical Fix */
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }

    .hero h1 {
        font-size: 2rem;
    }

    /* Sections */
    section {
        padding: 40px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    /* Grids (Mission, About, Etc) */
    .grid-3,
    .grid-2,
    .grid-4 {
        display: grid;
        grid-template-columns: 1fr;
        /* Stack vertically */
        gap: 20px;
    }

    .mission-card,
    .about-content {
        text-align: center;
    }

    /* Footer */
    .footer-flags {
        flex-direction: column;
        gap: 20px;
    }

    .footer-partners h3 {
        font-size: 1.2rem;
    }

    /* Admin Button in Footer */
    .btn-admin-footer {
        display: inline-flex;
        width: auto;
        padding: 8px 20px;
    }

    /* Contact Section Mobile */
    .contact-card-single {
        width: 100%;
        margin: 0;
        padding: 1.5rem;
    }

    .contact-right-side {
        width: 100%;
        padding: 0;
    }

    .contact-info-row {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 15px;
    }

    .contact-info-icon {
        margin: 0 auto;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .contact-info-text {
        text-align: center;
        align-items: center;
    }

    .contact-social-links {
        justify-content: center;
        margin-top: 2rem;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .logo span {
        font-size: 0.9rem;
        max-width: 200px;
    }

    .logo img {
        width: 30px;
        height: 30px;
    }
}