/* ==========================================================================
   DEFINITIVE STYLES for all Legal Pages
   - This file provides a clean, readable, and animated layout.
   ========================================================================== */

.legal-section {
    padding: 80px 0;
    background: linear-gradient(170deg, #f9f9f9 0%, #f4f2f7 100%);
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px 50px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    /* Animation for the main content box */
    opacity: 0;
    transform: translateY(20px);
    animation: containerFadeIn 0.6s ease forwards;
    animation-delay: 0.2s;
}

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

.legal-container h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
    color: var(--primary-color);
}

.legal-container .last-updated {
    text-align: center;
    color: #777;
    margin-bottom: 40px;
}

.legal-container h2 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.6rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-dark);
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.legal-container h2 .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-color);
    background-color: var(--light-gray);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.legal-container p,
.legal-container li {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.legal-container ul {
    list-style-type: none; /* Removes the default browser dot */
    padding-left: 0; /* Resets default browser padding */
}

.legal-container ul li {
    position: relative;
    padding-left: 25px; /* Creates space for our custom icon */
}

.legal-container ul li::before {
    content: '\f058'; /* Font Awesome "check-circle" icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}