@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--surface);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px;
        gap: 0;
        transition: var(--transition);
        z-index: 1001;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav-link {
        padding: 15px 0;
        width: 100%;
        justify-content: space-between;
        color: var(--text) !important;
        font-size: 1rem;
    }

    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 15px 15px;
        display: none;
        width: 100%;
    }

    .nav-item:hover .nav-dropdown {
        display: none;
        /* Disable hover toggle on mobile */
    }

    .nav-dropdown.active {
        display: block;
    }

    .dropdown-link {
        padding: 10px 0;
    }

    .container {
        max-width: 720px;
    }

    .nav-actions .btn-sm {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .about-image-wrap {
        margin-bottom: 2rem;
    }

    .testimonial-carousel .owl-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .section {
        padding: 3.5rem 0;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .services-grid,
    .reports-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .hero-desc {
        font-size: 1rem;
    }

    .testimonial-card {
        padding: 2.5rem;
    }

    .testimonial-carousel {
        padding: 2rem 0 !important;
    }

    .contact-strip-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-blob-1 {
        width: 300px;
        height: 300px;
    }

    .hero-blob-2 {
        width: 200px;
        height: 200px;
    }

    .hero-blob-3 {
        display: none;
    }

    .testimonial-carousel .owl-nav {
        display: none;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .values-list {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .login-card {
        padding: 2rem 1.5rem;
    }

    .login-card {
        padding: 32px 24px;
        border-radius: 0;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border: none;
    }

    .login-page {
        padding: 0;
        background: var(--surface);
    }

    .login-wrapper {
        max-width: 100%;
    }

    .login-card::before {
        display: none;
    }

    .testimonial-carousel .testimonial-card {
        padding: 2.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
        line-height: 1.6;
    }
}