/* ==========================
   PRIVACY POLICY PAGE
========================== */

.wrapper-privacy-policy-page {
    background: #f8fafc;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ==========================
   MAIN LAYOUT
========================== */

.terms-page-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 80px 0;
    align-items: start;
}

/* ==========================
   SIDEBAR
========================== */

.terms-sidebar {
    position: sticky;
    top: 120px;
}

.terms-nav-card {
    background: #fff;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .08);
    border: 1px solid rgba(0, 0, 0, .05);
}

.update-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: rgba(244, 136, 23, .1);
    color: #F48817;
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 20px;
}

.terms-nav-card h4 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #1e293b;
    font-weight: 700;
}

.terms-nav-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.terms-nav-card ul li {
    margin-bottom: 10px;
}

.terms-nav-card ul li a {
    display: block;
    text-decoration: none;
    color: #64748b;
    padding: 12px 16px;
    border-radius: 12px;
    transition: .3s;
    font-size: 15px;
}

.terms-nav-card ul li a:hover {
    background: rgba(244, 136, 23, .1);
    color: #F48817;
    transform: translateX(5px);
}

/* ==========================
   CONTENT
========================== */

.terms-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ==========================
   CARDS
========================== */

.terms-card {
    position: relative;
    background: #fff;
    padding: 45px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .06);
    transition: .3s;
    overflow: hidden;
}

.terms-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .1);
}

.terms-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: #F48817;
}

/* ==========================
   SECTION NUMBERS
========================== */

.section-number {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 70px;
    font-weight: 800;
    color: rgba(244, 136, 23, .08);
    line-height: 1;
    user-select: none;
}

/* ==========================
   TYPOGRAPHY
========================== */

.terms-card h2 {
    font-size: 42px;
    margin-bottom: 25px;
    color: #0f172a;
    font-weight: 700;
}

.terms-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1e293b;
    font-weight: 700;
}

.intro-text {
    font-size: 17px;
    line-height: 1.9;
    color: #64748b;
}

.terms-card p {
    font-size: 16px;
    line-height: 1.9;
    color: #64748b;
    margin-bottom: 0;
}

.terms-card strong {
    color: #F48817;
    font-weight: 600;
}

/* ==========================
   LISTS
========================== */

.terms-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.terms-card ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    line-height: 1.8;
    color: #64748b;
}

.terms-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    color: #F48817;
    font-weight: 700;
}

/* ==========================
   CONTACT BOX
========================== */

.contact-box {
    margin-top: 25px;
    padding: 30px;
    background: linear-gradient(
        135deg,
        #fff8f1,
        #ffffff
    );
    border: 1px solid rgba(244, 136, 23, .15);
    border-radius: 20px;
}

.contact-box h5 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #F48817;
    font-weight: 700;
}

.contact-box p {
    margin-bottom: 12px;
}

.contact-box p:last-child {
    margin-bottom: 0;
}

/* ==========================
   TABLET
========================== */

@media (max-width: 991px) {

    .terms-page-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .terms-sidebar {
        position: static;
    }

    .terms-nav-card {
        overflow-x: auto;
    }

    .terms-nav-card ul {
        display: flex;
        gap: 12px;
        white-space: nowrap;
    }

    .terms-nav-card ul li {
        margin-bottom: 0;
    }

    .terms-card {
        padding: 35px;
    }

}

/* ==========================
   MOBILE
========================== */

@media (max-width: 768px) {

    .terms-page-wrapper {
        padding: 50px 0;
    }

    .terms-card {
        padding: 25px;
        border-radius: 20px;
    }

    .terms-card h2 {
        font-size: 32px;
    }

    .terms-card h3 {
        font-size: 24px;
    }

    .section-number {
        font-size: 45px;
        top: 20px;
        right: 20px;
    }

    .contact-box {
        padding: 20px;
    }

}

/* ==========================
   SMALL MOBILE
========================== */

@media (max-width: 576px) {

    .terms-nav-card {
        padding: 20px;
    }

    .terms-card h2 {
        font-size: 28px;
    }

    .terms-card h3 {
        font-size: 22px;
    }

    .intro-text,
    .terms-card p,
    .terms-card li {
        font-size: 15px;
    }

    .section-number {
        display: none;
    }

}