/* =============================================
   RESPONSIVE DESIGN - Nilsan Hurda
   ============================================= */

/* Tablet - 1024px */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .dropdown-mega {
        min-width: 400px;
    }

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

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

/* Tablet Small - 768px */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: #fff;
        z-index: 1000;
        padding: 80px 24px 40px;
        overflow-y: auto;
        transition: right var(--transition);
        box-shadow: -4px 0 30px rgba(0,0,0,0.15);
    }

    .nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-item > a {
        padding: 14px 16px;
        border-bottom: 1px solid var(--border);
        font-size: 1rem;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0;
        display: none;
        background: var(--bg-light);
        border-radius: 0;
    }

    .has-dropdown.open > .dropdown {
        display: block;
    }

    .dropdown-mega {
        min-width: 100%;
        flex-direction: column;
        gap: 16px;
    }

    .header-cta {
        display: none;
    }

    .hero {
        padding: 60px 0;
    }

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

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

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .stat strong {
        font-size: 1.4rem;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-badge {
        bottom: -10px;
        right: 10px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .steps-grid::before {
        display: none;
    }

    .coverage-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    /* Overlay when nav is open */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }
}

/* Mobile - 480px */
@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 40px 0;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

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

    .btn-lg {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .price-table {
        font-size: 0.85rem;
    }

    .price-table th,
    .price-table td {
        padding: 12px 10px;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
    }

    .back-to-top {
        right: 78px;
        bottom: 16px;
        width: 38px;
        height: 38px;
    }

    .logo-name {
        font-size: 1.1rem;
    }

    .logo-tagline {
        display: none;
    }

    .ticker-content {
        font-size: 0.8rem;
    }
}
