/* =========================================================
   SAI'DU'A TERMS & CONDITIONS
   terms.css
========================================================= */

:root {
    --terms-primary: #087a49;
    --terms-primary-dark: #055c37;
    --terms-primary-light: #eaf7f0;
    --terms-secondary: #198754;
    --terms-text: #26352c;
    --terms-muted: #667085;
    --terms-border: #dfe9e2;
    --terms-bg: #f6faf8;
    --terms-white: #ffffff;
    --terms-shadow: 0 15px 45px rgba(8, 122, 73, 0.08);
}


/* =========================================================
   PAGE
========================================================= */

.terms-page {
    background: var(--terms-bg);
    color: var(--terms-text);
    overflow: hidden;
}


/* =========================================================
   HERO
========================================================= */

.terms-hero {
    position: relative;
    padding: 100px 0 90px;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(25, 135, 84, 0.16),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #043d26 0%,
            #087a49 55%,
            #0a8d57 100%
        );
    color: var(--terms-white);
}


.terms-hero::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    top: -160px;
    right: -80px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}


.terms-hero::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    bottom: -120px;
    left: -70px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}


.terms-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: auto;
    text-align: center;
}


.terms-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}


.terms-eyebrow i {
    font-size: 15px;
}


.terms-hero h1 {
    margin: 0 0 20px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1.5px;
}


.terms-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.86);
    font-size: 17px;
    line-height: 1.8;
}


.terms-hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 28px;
    margin-top: 30px;
}


.terms-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}


.terms-hero-meta i {
    color: #a9e8c5;
}


/* =========================================================
   CONTENT
========================================================= */

.terms-content {
    padding: 80px 0;
}


.terms-card {
    padding: 45px;
    background: var(--terms-white);
    border: 1px solid var(--terms-border);
    border-radius: 22px;
    box-shadow: var(--terms-shadow);
}


/* =========================================================
   SIDEBAR
========================================================= */

.terms-sidebar {
    position: sticky;
    top: 100px;
    padding: 25px;
    background: var(--terms-white);
    border: 1px solid var(--terms-border);
    border-radius: 18px;
    box-shadow: var(--terms-shadow);
}


.terms-sidebar-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--terms-border);
    color: var(--terms-primary-dark);
    font-weight: 800;
}


.terms-sidebar-title i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--terms-primary-light);
    color: var(--terms-primary);
}


.terms-sidebar a {
    display: block;
    padding: 10px 12px;
    margin: 3px 0;
    border-radius: 9px;
    color: var(--terms-muted);
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        padding-left 0.25s ease;
}


.terms-sidebar a:hover {
    padding-left: 17px;
    background: var(--terms-primary-light);
    color: var(--terms-primary);
}


/* =========================================================
   SECTIONS
========================================================= */

.terms-section {
    position: relative;
    padding: 0 0 45px;
    margin-bottom: 45px;
    border-bottom: 1px solid var(--terms-border);
}


.terms-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}


.terms-section-number {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--terms-secondary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}


.terms-section h2 {
    margin: 0 0 18px;
    color: var(--terms-primary-dark);
    font-size: 27px;
    font-weight: 800;
    line-height: 1.3;
}


.terms-section p {
    margin: 0 0 15px;
    color: var(--terms-muted);
    font-size: 15.5px;
    line-height: 1.85;
}


.terms-section p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   LIST
========================================================= */

.terms-list {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}


.terms-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding: 13px 15px;
    background: #f8fcfa;
    border: 1px solid #e7f1eb;
    border-radius: 10px;
    color: var(--terms-muted);
    font-size: 14.5px;
    line-height: 1.6;
}


.terms-list li:last-child {
    margin-bottom: 0;
}


.terms-list i {
    flex: 0 0 auto;
    margin-top: 4px;
    color: var(--terms-secondary);
    font-size: 13px;
}


/* =========================================================
   CONTACT
========================================================= */

.terms-contact {
    margin-top: 5px;
}


.terms-contact-box {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 25px;
    padding: 22px;
    background: var(--terms-primary-light);
    border: 1px solid #d5edde;
    border-radius: 15px;
}


.terms-contact-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terms-primary);
    color: var(--terms-white);
    border-radius: 14px;
    font-size: 20px;
}


.terms-contact-box strong {
    display: block;
    margin-bottom: 3px;
    color: var(--terms-primary-dark);
    font-size: 16px;
}


.terms-contact-box span {
    display: block;
    margin-bottom: 9px;
    color: var(--terms-muted);
    font-size: 13px;
}


.terms-contact-box a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--terms-primary);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}


.terms-contact-box a:hover {
    color: var(--terms-primary-dark);
}


/* =========================================================
   CTA
========================================================= */

.terms-cta {
    padding: 70px 0;
    background: var(--terms-white);
    border-top: 1px solid var(--terms-border);
}


.terms-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 38px 42px;
    background:
        linear-gradient(
            135deg,
            #edf9f2,
            #f8fcfa
        );
    border: 1px solid #d8ede0;
    border-radius: 22px;
}


.terms-cta-inner > div:first-child {
    flex: 1;
}


.terms-cta-inner span {
    display: block;
    margin-bottom: 8px;
    color: var(--terms-secondary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}


.terms-cta-inner h2 {
    margin: 0 0 8px;
    color: var(--terms-primary-dark);
    font-size: 27px;
    font-weight: 800;
}


.terms-cta-inner p {
    margin: 0;
    color: var(--terms-muted);
    font-size: 14.5px;
}


.terms-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 22px;
    background: var(--terms-primary);
    color: var(--terms-white);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 22px rgba(8, 122, 73, 0.18);
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}


.terms-cta-btn:hover {
    transform: translateY(-2px);
    background: var(--terms-primary-dark);
    color: var(--terms-white);
    box-shadow: 0 12px 28px rgba(8, 122, 73, 0.24);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .terms-hero {
        padding: 80px 0 75px;
    }


    .terms-content {
        padding: 60px 0;
    }


    .terms-sidebar {
        position: static;
        margin-bottom: 10px;
    }


    .terms-card {
        padding: 35px;
    }


    .terms-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 767.98px) {

    .terms-hero {
        padding: 65px 0 60px;
    }


    .terms-eyebrow {
        font-size: 11px;
        letter-spacing: 1px;
    }


    .terms-hero h1 {
        font-size: 38px;
        letter-spacing: -0.8px;
    }


    .terms-hero p {
        font-size: 15px;
        line-height: 1.7;
    }


    .terms-hero-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }


    .terms-content {
        padding: 45px 0;
    }


    .terms-card {
        padding: 25px 20px;
        border-radius: 16px;
    }


    .terms-sidebar {
        padding: 20px;
    }


    .terms-section {
        padding-bottom: 35px;
        margin-bottom: 35px;
    }


    .terms-section h2 {
        font-size: 23px;
    }


    .terms-section p {
        font-size: 14.5px;
        line-height: 1.75;
    }


    .terms-contact-box {
        align-items: flex-start;
    }


    .terms-cta {
        padding: 50px 0;
    }


    .terms-cta-inner {
        padding: 28px 23px;
        border-radius: 16px;
    }


    .terms-cta-inner h2 {
        font-size: 23px;
    }


    .terms-cta-btn {
        width: 100%;
    }

}


@media (max-width: 400px) {

    .terms-hero h1 {
        font-size: 33px;
    }


    .terms-card {
        padding: 22px 16px;
    }


    .terms-contact-box {
        flex-direction: column;
    }


    .terms-contact-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

}