/* ===== Terms & Conditions Page ===== */

/* Simple dark page title bar (no hero image needed for a legal page) */
.terms-page-title {
    background: #0d1b2a;
    padding: 55px 0 30px;
}

.terms-page-title h1 {
    color: #fff;
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 12px;
}

.terms-page-title .title-manu {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.terms-page-title .title-manu li {
    color: #9fb3c8;
    font-size: 14px;
}

.terms-page-title .title-manu li a {
    color: #9fb3c8;
}

.terms-page-title .title-manu li a:hover {
    color: #17a4e9;
}

.terms-page-title .title-manu li:last-child {
    color: #17a4e9;
}

/* Section wrapper */
.terms-page-section {
    padding: 60px 0 80px;
}

/* Table of contents (sticky sidebar) */
.terms-toc-wrap {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 10px;
    padding: 25px;
    position: sticky;
    top: 100px;
    margin-bottom: 30px;
}

.terms-toc-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    margin: 0 0 15px;
}

.terms-toc-list {
    list-style: decimal;
    margin: 0;
    padding-left: 20px;
}

.terms-toc-list li {
    margin-bottom: 10px;
}

.terms-toc-list li:last-child {
    margin-bottom: 0;
}

.terms-toc-list a {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
    transition: color 0.15s ease;
}

.terms-toc-list a:hover,
.terms-toc-list a.active {
    color: #17a4e9;
    font-weight: 600;
}

/* Last updated line */
.terms-updated-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #888;
    background: #f5f7fa;
    border-radius: 20px;
    padding: 7px 16px;
    margin-bottom: 20px;
}

/* Quick summary callout */
.terms-summary-box {
    background: #eaf7ff;
    border-left: 4px solid #17a4e9;
    border-radius: 8px;
    padding: 22px 25px;
    margin-bottom: 40px;
}

.terms-summary-box h5 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #0f7fbf;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.terms-summary-box p {
    font-size: 14.5px;
    color: #375875;
    line-height: 1.75;
    margin: 0;
    text-align: justify;
}

/* Content */
.terms-content-wrap {
    background: #fff;
}

.terms-block {
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 10px;
    padding: 26px 28px;
    margin-bottom: 18px;
    scroll-margin-top: 110px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.terms-block:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    border-color: #e2ecf4;
}

.terms-block:last-child {
    margin-bottom: 0;
}

.terms-block-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.terms-block-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #eaf7ff;
    color: #17a4e9;
    font-size: 17px;
}

.terms-block h4 {
    font-size: 19px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.terms-block p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin: 0;
    padding-left: 56px;
    text-align: justify;
}

.terms-block p a {
    color: #17a4e9;
    font-weight: 600;
}

.terms-block p a:hover {
    text-decoration: underline;
}

@media (max-width: 575px) {
    .terms-block p {
        padding-left: 0;
    }
}

@media (max-width: 991px) {
    .terms-toc-wrap {
        position: static;
    }
    .terms-page-title h1 {
        font-size: 26px;
    }
}
