    
        .legal-section {
            padding-top: 120px;
            padding-bottom: 80px;
            background-color: #f8f9fa;
            min-height: 80vh;
        }

        .legal-container {
            max-width: 800px;
            margin: 0 auto;
            background: white;
            padding: 40px 50px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        }

        .legal-container h1 {
            color: #1d396a;
            font-size: 32px;
            margin-bottom: 30px;
            text-align: center;
            border-bottom: 2px solid #e67e22;
            padding-bottom: 15px;
        }

        .legal-block {
            margin-bottom: 30px;
        }

        .legal-block h2 {
            color: #1d396a;
            font-size: 20px;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .legal-block h2 i {
            color: #e67e22;
        }

        .legal-block p, .legal-block ul {
            color: #555;
            line-height: 1.6;
            font-size: 15px;
        }

        .legal-block ul {
            list-style-type: none;
            padding-left: 0;
        }

        .legal-block ul li {
            margin-bottom: 8px;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }
        
        .legal-block ul li i {
            color: #1d396a;
            margin-top: 4px;
        }

        .legal-block strong {
            color: #333;
        }

        .privacy-badge {
            display: flex;
            align-items: center;
            gap: 15px;
            background-color: #e3f2fd;
            color: #1565c0;
            padding: 15px 20px;
            border-radius: 8px;
            font-weight: bold;
            margin-bottom: 25px;
            border-left: 4px solid #1976d2;
        }
        
        .privacy-badge i {
            font-size: 24px;
        }

@media (max-width: 850px) {
    
    .navbar {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        padding: 0 10px !important; 
        height: 60px !important; 
        gap: 5px !important;
    }

    .logo-container {
        width: 35px !important;
        height: 35px !important;
        flex-shrink: 0; 
    }

    .nav-links {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        justify-content: center;
        flex-grow: 1;
    }

    .nav-links a {
        font-size: 11px !important;
        letter-spacing: -0.2px; 
    }

    .social-icons {
        gap: 8px !important;
        flex-shrink: 0;
    }

    .social-icons a {
        font-size: 14px !important;
    }

    .contact-page-wrapper, 
    .legal-section, 
    .events-header, 
    .content-section {
        padding-top: 100px !important;
    }

    .contact-container, 
    .legal-container, 
    .calendar-section,
    .trial-section {
        padding: 25px 15px !important;
        margin: 0 15px !important;
        border-radius: 8px !important;
    }

    
    .contact-info h1, 
    .legal-container h1, 
    .events-header h1,
    h1 {
        font-size: 24px !important;
    }

    .section-title {
        font-size: 26px !important;
    }

    
    .footer {
        padding: 40px 20px 20px 20px !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 30px !important;
    }

    .footer-section h4::after {
        left: 50% !important; 
        transform: translateX(-50%);
    }

    .footer-section p, .footer-section li {
        justify-content: center;
    }
}


@media (max-width: 400px) {
    .nav-links a {
        font-size: 15px !important; 
    }
    .logo-container{
        display: none !important;
    }
    .social-icons {
        display: none !important; 
    }
}
