/* ============================================
   LEGAL PAGES (Privacy Policy & Terms of Service)
   ============================================ */

.legal-updated {
    font-size: 1rem;
    color: #5a6c7d;
    margin-bottom: 2rem;
    font-style: italic;
}

.legal-content-box {
    background: #ffffff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    /* max-width: 1000px; */
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2F4F4F;
    margin-bottom: 1.25rem;
    line-height: 1.3;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
}

.legal-section:first-child .legal-heading {
    border-top: none;
    padding-top: 0;
}

.legal-subheading {
    font-size: 1.35rem;
    font-weight: 600;
    color: #2F4F4F;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.legal-text {
    font-size: 1.05rem;
    color: #5a6c7d;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;   /* This aligns both left and right */
    text-justify: inter-word; /* Optional: improves spacing */
}

.legal-text:last-child {
    margin-bottom: 0;
}

.legal-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.legal-list li {
    padding: 0.5rem 0 0.5rem 2rem;
    font-size: 1.05rem;
    color: #5a6c7d;
    line-height: 1.7;
    position: relative;
}

.legal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #F19138;
    border-radius: 50%;
}

.legal-list li strong {
    color: #2F4F4F;
    font-weight: 600;
}

.legal-contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1.5rem;
    border-radius: 8px;
    /* border-left: 4px solid #F19138; */
    margin-top: 1rem;
}

.legal-contact p {
    margin: 0.5rem 0;
    font-size: 1.05rem;
    color: #5a6c7d;
}

.legal-contact p:first-child {
    margin-top: 0;
}

.legal-contact p:last-child {
    margin-bottom: 0;
}

.legal-contact-info {
    display: inline-flex;
    align-items: left;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 300px;

    /* Modified parts */
    color: #2F4F4F;
}

.legal-contact-info i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

/* Optional minimal hover (just lift slightly) */
.legal-contact-info:hover {
    transform: translateY(-3px);
}

/* ============================================
   TABLET RESPONSIVE (768px - 991px)
   ============================================ */

@media (max-width: 991.98px) {
    .legal-content-box {
        padding: 2.5rem;
    }

    .legal-heading {
        font-size: 1.5rem;
    }

    .legal-subheading {
        font-size: 1.25rem;
    }

    .legal-text,
    .legal-list li {
        font-size: 1rem;
    }
}

/* ============================================
   MOBILE RESPONSIVE (Below 768px)
   ============================================ */

@media (max-width: 767.98px) {
    .legal-updated {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .legal-content-box {
        padding: 2rem 1.5rem;
    }

    .legal-heading {
        font-size: 1.35rem;
        margin-bottom: 1rem;
    }

    .legal-subheading {
        font-size: 1.15rem;
        margin-top: 1.25rem;
        margin-bottom: 0.875rem;
    }

    .legal-text,
    .legal-list li {
        font-size: 0.95rem;
    }

    .legal-section {
        margin-bottom: 2.5rem;
    }

    .legal-contact {
        padding: 1.25rem;
    }

    .legal-contact p {
        font-size: 0.95rem;
    }
}

/* ============================================
   SMALL MOBILE (Below 576px)
   ============================================ */

@media (max-width: 575.98px) {
    .legal-content-box {
        padding: 1.5rem 1.25rem;
    }

    .legal-heading {
        font-size: 1.25rem;
    }

    .legal-subheading {
        font-size: 1.1rem;
    }

    .legal-text,
    .legal-list li {
        font-size: 0.9rem;
    }
}

/* ============================================
   LARGE SCREENS (1400px+)
   ============================================ */

@media (min-width: 1400px) {
    .legal-content-box {
        padding: 3.5rem;
    }

    .legal-heading {
        font-size: 1.875rem;
    }

    .legal-subheading {
        font-size: 1.45rem;
    }

    .legal-text,
    .legal-list li {
        font-size: 1.1rem;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .legal-content-box {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .legal-section {
        page-break-inside: avoid;
    }
}