/* PRIVACY POLICY - MODERN PREMIUM DESIGN */

.terms_banner_section {
    position: relative;
    overflow: hidden;
    padding: 82px 0 88px;
    background: rgb(0 170 164);
    color: #fff;
}

.terms_banner_section .container {
    position: relative;
    z-index: 2;
}

.terms_banner_section .container>div {
    max-width: 900px;
    position: relative;
}

/* Decorative circles */
.terms_banner_section::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    top: -220px;
    right: 5%;
    background: rgba(255, 255, 255, 0.08);
}

.terms_banner_section::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    bottom: -150px;
    left: 8%;
    border: 1px solid rgba(255, 255, 255, 0.18);
}


/* Small legal label */
.terms_banner_section .container>div>span:first-child {
    display: inline-flex;
    align-items: center;
    padding: 7px 15px;
    margin-bottom: 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* Banner heading */
.terms_banner_section h1 {
    margin: 0 0 15px;
    font-size: clamp(42px, 4vw, 68px);
    line-height: 1;
    font-weight: 600;
    letter-spacing: -2px;
}

.terms_banner_section p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.75;
}


/* Banner tags */
.terms_banner_section .container>div>div {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 27px;
}

.terms_banner_section .container>div>div span {
    padding: 8px 14px;
    border-radius: 50px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 12px;
    font-weight: 600;
}


/* PRIVACY CONTENT */

.terms_content_section {
    padding: 75px 0;
    background: #f7fafa;
}

.terms_content_section .container>div {
    max-width: 950px;
    margin: 0 auto;
    padding: 50px 55px;
    background: #fff;
    border: 1px solid #e8eeee;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0, 50, 50, 0.06);
}


/* Paragraphs */
.terms_content_section p {
    margin: 0 0 18px;
    color: #687777;
    font-size: 15px;
    line-height: 1.9;
}

.terms_content_section p:last-child {
    margin-bottom: 0;
}


/* SECTION HEADINGS */

.terms_content_section h2 {
    position: relative;
    margin: 0 0 18px;
    padding-left: 15px;
    color: #152424;
    font-size: 21px;
    line-height: 1.45;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.terms_content_section h2:not(:first-child) {
    margin-top: 50px;
}

.terms_content_section h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 4px;
    height: calc(100% - 6px);
    border-radius: 10px;
    background: rgb(0 170 164);
}


/* SUB HEADINGS */

.terms_content_section h6 {
    margin: 28px 0 9px;
    color: #1b2929;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
}

.terms_content_section h6::before {
    content: "•";
    margin-right: 8px;
    color: rgb(0 170 164);
}


/* LISTS */

.terms_content_section ul,
.terms_content_section ol {
    margin: 15px 0 22px;
    padding-left: 24px;
}

.terms_content_section ul li,
.terms_content_section ol li {
    margin-bottom: 10px;
    padding-left: 5px;
    color: #687777;
    font-size: 14.5px;
    line-height: 1.8;
}

.terms_content_section ul li::marker {
    color: rgb(0 170 164);
}

.terms_content_section ol li::marker {
    color: rgb(0 170 164);
    font-weight: 700;
}


/* TABLE OF CONTENTS */

.terms_content_section ol {
    padding: 22px 25px 22px 45px;
    border: 1px solid #e5eeee;
    border-radius: 15px;
    background: #f9fbfb;
}

.terms_content_section ol li {
    margin-bottom: 7px;
}

.terms_content_section ol li:last-child {
    margin-bottom: 0;
}


/* PRIVACY TABLE */

.terms_content_section table {
    width: 100%;
    margin: 25px 0 30px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid #e3ebeb;
    border-radius: 15px;
    background: #fff;
    font-size: 14px;
}

.terms_content_section table thead th {
    padding: 16px 15px;
    text-align: left;
    color: #fff;
    background: rgb(0 170 164);
    border: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.terms_content_section table tbody td {
    padding: 15px;
    vertical-align: top;
    color: #657474;
    line-height: 1.7;
    border-right: 1px solid #e8eeee;
    border-bottom: 1px solid #e8eeee;
}

.terms_content_section table tbody tr:last-child td {
    border-bottom: 0;
}

.terms_content_section table tbody td:last-child {
    border-right: 0;
    text-align: center;
    font-weight: 700;
    color: rgb(0 170 164);
}

.terms_content_section table tbody tr:nth-child(even) {
    background: #f9fbfb;
}


/* EMAIL CONTACT */

.terms_content_section a {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-top: 20px;
    padding: 13px 17px;
    color: rgb(0 170 164);
    background: rgba(0, 170, 164, 0.06);
    border: 1px solid rgba(0, 170, 164, 0.16);
    border-radius: 11px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.terms_content_section a .fa-envelope {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    background: rgb(0 170 164);
}

.terms_content_section a:hover {
    color: #fff;
    background: rgb(0 170 164);
    border-color: rgb(0 170 164);
}

.terms_content_section a:hover .fa-envelope {
    color: rgb(0 170 164);
    background: #fff;
}


/* RESPONSIVE TABLE */

@media (max-width: 991px) {

    .terms_content_section .container>div {
        padding: 40px 30px;
    }

    .terms_content_section table {
        display: block;
        overflow-x: auto;
        white-space: normal;
    }

    .terms_content_section table thead,
    .terms_content_section table tbody {
        min-width: 750px;
    }
}


/* MOBILE */

@media (max-width: 767px) {

    .terms_banner_section {
        padding: 60px 0 65px;
    }

    .terms_banner_section h1 {
        font-size: 44px;
        letter-spacing: -1.5px;
    }

    .terms_banner_section p {
        font-size: 14px;
        line-height: 1.75;
    }

    .terms_banner_section .container>div>div {
        margin-top: 23px;
    }

    .terms_banner_section .container>div>div span {
        padding: 8px 13px;
        font-size: 12px;
    }


    .terms_content_section {
        padding: 40px 0;
    }

    .terms_content_section .container>div {
        padding: 32px 20px;
        border-radius: 18px;
    }

    .terms_content_section p {
        font-size: 14px;
        line-height: 1.8;
    }

    .terms_content_section h2 {
        font-size: 18px;
    }

    .terms_content_section h2:not(:first-child) {
        margin-top: 38px;
    }

    .terms_content_section h6 {
        font-size: 15px;
    }

    .terms_content_section ul,
    .terms_content_section ol {
        padding-left: 21px;
    }

    .terms_content_section ul li,
    .terms_content_section ol li {
        font-size: 13.5px;
        line-height: 1.75;
    }

    .terms_content_section ol {
        padding: 18px 18px 18px 38px;
    }

    .terms_content_section table {
        font-size: 13px;
    }

    .terms_content_section table thead th,
    .terms_content_section table tbody td {
        padding: 12px;
    }

    .terms_content_section a {
        width: 100%;
        box-sizing: border-box;
    }
}