/* --- Mobile Theme Overrides --- */

@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content {
        margin-left: 0;
        text-align: center;
        padding: 2rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.2rem;
        margin: 0 auto 2.5rem;
    }
}

@media (max-width: 768px) {

    /* Navigation Override - Premium Dark Theme */
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        left: -100%;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(135deg, #001e3c 0%, #000a12 100%);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 999;
        padding: 8rem 2rem 4rem 2rem;
        overflow-y: auto;
        box-sizing: border-box;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.4s ease;
        transition-delay: calc(var(--i) * 0.1s);
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1.5rem;
        color: white;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
        display: block;
        padding: 5px 10px;
        transition: 0.3s;
    }

    .nav-links a:hover {
        color: var(--accent-color);
        transform: scale(1.1);
    }

    /* Mobile specific actions inside menu */
    .nav-links .mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
        width: 100%;
        align-items: center;
    }

    .nav-actions .login-link,
    .nav-actions .btn-primary {
        display: none;
    }

    /* Icon-only buttons for mobile menu */
    .nav-links .mobile-actions .btn-google-play div,
    .nav-links .mobile-actions .btn-apple-store div {
        display: none;
    }

    .nav-links .mobile-actions .btn-google-play,
    .nav-links .mobile-actions .btn-apple-store {
        padding: 10px;
        width: 50px;
        height: 50px;
        justify-content: center;
        border-radius: 12px;
        /* Square with rounded corners */
    }

    .nav-links .mobile-actions .btn-google-play svg,
    .nav-links .mobile-actions .btn-apple-store svg {
        width: 28px;
        height: 28px;
    }

    .mobile-app-text {
        font-size: 0.9rem;
        color: white;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 600;
        margin-top: 1rem;
        margin-bottom: 0;
    }

    /* Mobile Menu Toggle */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }

    .menu-toggle span {
        width: 100%;
        height: 3px;
        background-color: var(--primary-color);
        border-radius: 3px;
        transition: 0.3s;
    }

    .menu-toggle.active span {
        background-color: white;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Sections Layout */
    .benefits-grid {
        gap: 1.5rem;
        flex-direction: column;
        align-items: center;
    }

    .benefit-item {
        max-width: 100%;
        width: 100%;
    }

    .plans-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Contact Form Mobile Fixes */
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group textarea {
        min-height: 150px;
    }

    /* Footer Mobile - Minimalist & Essential */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        padding-bottom: 2rem;
    }

    /* Hide redundant sections for a cleaner mobile experience */
    .footer-col:nth-child(1),
    .footer-col:nth-child(2),
    .footer-col:nth-child(4) {
        display: none;
    }

    .footer-col.footer-contact h4 {
        margin-bottom: 1rem;
        font-size: 1.1rem;
    }

    .footer-contact p {
        justify-content: center;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .footer-bottom {
        padding: 15px 0;
    }

    .footer-bottom p {
        font-size: 0.7rem;
        margin-bottom: 4px;
    }

    /* Hero Buttons */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        margin: 0 !important;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .plan-price {
        font-size: 2.2rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}