/* Responsive Styles */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }

    .nav-links {
        display: none; /* Hide by default on smaller screens */
        flex-direction: column;
        width: 100%;
        background-color: var(--dark-color);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px 0;
        border-top: 1px solid var(--secondary-color);
    }

    .nav-links.active {
        display: flex; /* Show when active */
    }

    .mobile-menu-toggle {
        display: flex; /* Show hamburger menu */
    }

    .packages-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }

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

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

    .offers-container, .packages-container {
        grid-template-columns: 1fr;
    }

    .top-bar {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    /* ID Form improvements */
    .id-form-container {
        padding: 0 20px;
    }

    .id-input-group {
        flex-direction: column;
        height: auto;
        padding: 20px;
        border-radius: var(--border-radius-md);
    }

    .id-input {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        font-size: 1.1rem;
    }
    
    .id-icon {
        margin: 0 0 15px 0;
        font-size: 1.4rem;
    }

    .continue-btn {
        position: relative;
        width: 100%;
        margin-top: 20px;
        padding: 15px;
        font-size: 1rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    /* ID Form further improvements */
    .id-form {
        width: 95%;
    }

    .verification-message {
        font-size: 1.1rem;
    }
}
