/***
=============================================
Legal Pages (Terms & Conditions / Privacy Policy)
=============================================
***/

.legal-page {
    position: relative;
    display: block;
    padding: 80px 0 100px;
}

/* ---- Legal Page Intro ---- */
.legal-page__intro {
    position: relative;
    display: block;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(var(--donatix-black-rgb), .10);
}

.legal-page__intro-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(var(--donatix-primary-rgb), .08);
    color: var(--donatix-primary);
    font-size: 14px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.legal-page__intro-date i {
    font-size: 13px;
}

.legal-page__intro-title {
    font-size: 40px;
    line-height: 50px;
    font-weight: 800;
    color: var(--donatix-black);
    margin-bottom: 20px;
    text-transform: capitalize;
}

.legal-page__intro-desc {
    font-size: 16px;
    line-height: 28px;
    color: var(--donatix-gray);
    max-width: 720px;
}

/* ---- Table of Contents ---- */
.legal-page__toc {
    position: relative;
    display: block;
    background: rgba(var(--donatix-primary-rgb), .05);
    border-left: 4px solid var(--donatix-primary);
    border-radius: 0 8px 8px 0;
    padding: 30px 35px;
    margin-bottom: 60px;
}

.legal-page__toc-title {
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
    color: var(--donatix-black);
    margin-bottom: 20px;
}

.legal-page__toc-title i {
    color: var(--donatix-primary);
    margin-right: 8px;
}

.legal-page__toc-list {
    position: relative;
    display: block;
    columns: 2;
    column-gap: 30px;
}

.legal-page__toc-list li {
    position: relative;
    display: block;
    margin-bottom: 10px;
    break-inside: avoid;
}

.legal-page__toc-list li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--donatix-gray);
    font-size: 15px;
    line-height: 24px;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}

.legal-page__toc-list li a:hover {
    color: var(--donatix-primary);
    padding-left: 4px;
}

.legal-page__toc-list li a .toc-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--donatix-primary);
    color: var(--donatix-white);
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ---- Legal Sections ---- */
.legal-page__section {
    position: relative;
    display: block;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(var(--donatix-black-rgb), .07);
}

.legal-page__section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-page__section-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.legal-page__section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--donatix-primary);
    color: var(--donatix-white);
    font-size: 18px;
    font-weight: 800;
    border-radius: 12px;
    flex-shrink: 0;
}

.legal-page__section-title {
    font-size: 22px;
    line-height: 32px;
    font-weight: 700;
    color: var(--donatix-black);
    text-transform: capitalize;
}

.legal-page__section-body p {
    font-size: 16px;
    line-height: 28px;
    color: var(--donatix-gray);
    margin-bottom: 16px;
}

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

.legal-page__section-body strong {
    color: var(--donatix-black);
    font-weight: 600;
}

/* ---- Legal List ---- */
.legal-list {
    position: relative;
    display: block;
    padding: 0;
    margin: 16px 0;
    list-style: none;
}

.legal-list li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    line-height: 26px;
    color: var(--donatix-gray);
    padding: 8px 0;
    border-bottom: 1px solid rgba(var(--donatix-black-rgb), .05);
}

.legal-list li:last-child {
    border-bottom: none;
}

.legal-list li::before {
    content: "\f058";
    font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", sans-serif;
    font-weight: 900;
    color: var(--donatix-primary);
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 5px;
}

/* ---- Legal Highlight Box ---- */
.legal-highlight {
    position: relative;
    display: block;
    background: rgba(var(--donatix-base-rgb), .06);
    border: 1px solid rgba(var(--donatix-base-rgb), .20);
    border-radius: 10px;
    padding: 24px 28px;
    margin: 24px 0;
}

.legal-highlight p {
    font-size: 15px;
    line-height: 26px;
    color: var(--donatix-gray);
    margin: 0;
}

.legal-highlight p strong {
    color: var(--donatix-black);
}

/* ---- Legal Contact Box ---- */
.legal-contact-box {
    position: relative;
    display: block;
    background: var(--donatix-primary);
    border-radius: 12px;
    padding: 40px 45px;
    margin-top: 60px;
    overflow: hidden;
}

.legal-contact-box::before {
    content: "";
    position: absolute;
    top: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.legal-contact-box::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: -20px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
}

.legal-contact-box__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-contact-box__text h3 {
    font-size: 24px;
    line-height: 34px;
    font-weight: 700;
    color: var(--donatix-white);
    margin-bottom: 8px;
}

.legal-contact-box__text p {
    font-size: 15px;
    line-height: 24px;
    color: rgba(255, 255, 255, .80);
    margin: 0;
}

.legal-contact-box__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--donatix-white);
    color: var(--donatix-primary);
    font-size: 16px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 30px;
    flex-shrink: 0;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}

.legal-contact-box__btn:hover {
    background-color: var(--donatix-black);
    color: var(--donatix-white);
}

/* ---- Responsive ---- */
@media only screen and (max-width: 991px) {

    .legal-page {
        padding: 60px 0 80px;
    }

    .legal-page__intro-title {
        font-size: 32px;
        line-height: 42px;
    }

    .legal-page__toc-list {
        columns: 1;
    }

    .legal-contact-box {
        padding: 30px 30px;
    }

    .legal-contact-box__inner {
        flex-direction: column;
        align-items: flex-start;
    }

}

@media only screen and (max-width: 767px) {

    .legal-page {
        padding: 50px 0 60px;
    }

    .legal-page__intro-title {
        font-size: 26px;
        line-height: 36px;
    }

    .legal-page__section-title {
        font-size: 18px;
        line-height: 28px;
    }

    .legal-page__toc {
        padding: 22px 20px;
    }

    .legal-contact-box {
        padding: 25px 20px;
    }

    .legal-contact-box__text h3 {
        font-size: 20px;
        line-height: 30px;
    }

}
