/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.25rem;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        box-shadow: var(--shadow-md);
        padding: var(--spacing-md);
        border-top: 1px solid var(--color-border);
        overflow-y: auto;
        max-height: calc(100vh - 80px);
        /* Adjust based on header height */
        z-index: 999;
    }

    .header.active .main-nav {
        display: block;
        animation: slideDown 0.3s ease forwards;
    }

    .header.active .main-nav ul {
        flex-direction: column;
        gap: 0;
        /* Remove gap, use padding on links */
    }

    .main-nav li {
        width: 100%;
    }

    .main-nav a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--color-light);
        font-size: 1.1rem;
    }

    .main-nav li:last-child a {
        border-bottom: none;
    }

    /* Show header actions on mobile but hide divider */
    .header-actions .divider-vertical {
        display: none;
    }

    /* Adjust header actions for mobile */
    .header-actions {
        gap: 10px;
    }

    .header-actions .theme-toggle {
        font-size: 1.1rem;
        padding: 6px;
    }

    .language-toggle {
        padding: 6px 10px;
        font-size: 0.9rem;
    }

    .mobile-menu-toggle {
        display: block;
        font-size: 1.5rem;
    }

    .mobile-show {
        display: block !important;
    }

    .mobile-hide {
        display: none !important;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        margin-bottom: var(--spacing-sm);
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero {
        height: auto;
        min-height: 500px;
        padding: var(--spacing-xl) 0;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    section {
        padding: var(--spacing-lg) 0;
    }

    .value-grid,
    .practice-grid,
    .lawyers-grid,
    .testimonial-slider {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}