/* Legal Pages CSS - Optimized for Mobile */
.legal-hero-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #4a90e2 100%);
    padding: 100px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.legal-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    opacity: 0.3;
}

.legal-hero-content {
    position: relative;
    z-index: 1;
}

.legal-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.legal-hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.95;
}

.legal-content-section {
    padding: 80px 0;
    background: #ffffff;
}

.legal-content-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 30px;
    border: 2px solid #e8ecf1;
    box-shadow: 0 5px 20px rgba(30, 60, 114, 0.08);
}

.legal-content-card h3 {
    color: #1e3c72;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 25px;
    border-bottom: 3px solid #2a5298;
    padding-bottom: 15px;
}

.legal-content-card h4 {
    color: #2a5298;
    font-weight: 700;
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 20px;
}

.legal-content-card p {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.legal-content-card ul {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 20px;
    padding-left: 25px;
}

.legal-content-card ul li {
    margin-bottom: 15px;
}

.legal-content-card strong,
.legal-content-card b {
    color: #1e3c72;
    font-weight: 700;
}

.legal-content-card h5 {
    color: #2a5298;
    font-weight: 700;
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 20px;
}

.legal-content-card i {
    color: #2a5298;
    font-style: italic;
}

.legal-content-card ul ul {
    margin-top: 15px;
    margin-bottom: 15px;
}

.legal-content-card span {
    color: #2a5298;
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 20px;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .legal-hero-section {
        padding: 60px 0 50px;
    }
    
    .legal-hero-title {
        font-size: 2.5rem;
    }
    
    .legal-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .legal-content-section {
        padding: 50px 0;
    }
    
    .legal-content-card {
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .legal-content-card h3 {
        font-size: 1.5rem;
    }
    
    .legal-content-card h4 {
        font-size: 1.2rem;
    }
    
    .legal-content-card p,
    .legal-content-card ul {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .legal-hero-title {
        font-size: 2rem;
    }
    
    .legal-hero-subtitle {
        font-size: 1rem;
    }
    
    .legal-content-card {
        padding: 20px 15px;
    }
}

