/* Public site — responsive rules (split from main.css). Wider breakpoints first so narrower rules win. */

@media (max-width: 992px) {
    .hero-content,
    .emi-container,
    .footer-content {
        grid-template-columns: 1fr;
    }
    .partner-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #ffffff;
        flex-direction: column;
        gap: 0;
        transition: 0.3s;
        padding: 40px 0;
        overflow-y: auto;
        display: flex;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        color: #0a1f44;
        padding: 20px;
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
    }

    .dropdown-content {
        position: static;
        background: #f8fafc;
        box-shadow: none;
        width: 100%;
    }

    .footer .container {
        padding: 0 20px 20px;
    }
    .footer-content {
        gap: 36px 28px;
    }
    .footer-logo p:first-of-type {
        white-space: normal;
    }

    .partner-highlights {
        grid-template-columns: 1fr;
    }

    .form-header h2,
    .partner-header h3 {
        font-size: 1.6rem;
    }

    .banks-grid {
        grid-template-columns: 1fr;
    }

    .bank-card-actions {
        flex-direction: column;
    }

    .bank-apply-btn, .policy-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .company-logo {
        height: 44px;
        width: 44px;
        border-radius: 50%;
        object-fit: cover;
    }

    .emi-value {
        font-size: 2.2rem;
    }
}
