/* 
    Netrakunj Global - Responsive Design Adjustments 
*/

@media (max-width: 1024px) {
    :root {
        --max-width: 95%;
    }

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

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

    h1 {
        font-size: 3.5rem !important;
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5 {
        grid-template-columns: 1fr;
    }

    .hero .container {
        grid-template-columns: 1fr !important;
        text-align: center;
        padding-top: 4rem;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
        margin-bottom: 3rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2.5rem;
        gap: 1rem;
        border-bottom: 2px solid var(--primary);
        box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
        z-index: 1001;
        transform: translateY(-20px);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        pointer-events: none;
    }

    .nav-links.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links .nav-item {
        width: 100%;
        text-align: center;
        padding: 1.2rem;
        border-radius: 12px;
    }

    #mobile-toggle {
        display: flex !important;
    }

    h1 {
        font-size: 2.1rem !important;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.7rem !important;
    }

    h3 {
        font-size: 1.4rem !important;
    }

    .btn {
        padding: 0.8rem 1.6rem !important;
        font-size: 0.85rem !important;
    }

    .hero-btns {
        flex-direction: column !important;
        gap: 1.25rem !important;
        width: 100%;
        margin-top: 2rem;
    }

    .hero-content .btn {
        width: 100%;
        margin-left: 0 !important;
        justify-content: center;
    }

    /* Contact Page & General Spacing Overrides */
    .glass-card {
        padding: 2rem !important;
    }

    .grid {
        gap: 3rem !important;
    }

    #content-area {
        padding-top: 120px !important;
        padding-bottom: 4rem !important;
    }

    .icon-box {
        width: 45px !important;
        height: 45px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 1.75rem !important;
    }
}