/* =========================================
   TERMS & CONDITIONS
========================================= */

.terms-page {
    background: #f6fafc;
}


/* =========================================
   HERO
========================================= */

.terms-hero {
    padding: 85px 20px;
    background: #0f4c81;
    text-align: center;
}

.terms-hero .container {
    max-width: 850px;
    margin: auto;
}

.terms-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    margin-bottom: 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.terms-hero h1 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 46px;
    line-height: 1.2;
    font-weight: 800;
}

.terms-hero p {
    max-width: 680px;
    margin: auto;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.8;
}

.last-updated {
    display: inline-block;
    margin-top: 22px;
    color: #b9eee3;
    font-size: 13px;
}


/* =========================================
   CONTENT
========================================= */

.terms-content {
    padding: 80px 20px;
}

.terms-content .container {
    max-width: 1150px;
    margin: auto;
}

.terms-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 35px;
    align-items: start;
}


/* =========================================
   MAIN
========================================= */

.terms-main {
    padding: 42px;
    background: #ffffff;
    border: 1px solid #e3edf2;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(15, 76, 129, 0.06);
}

.terms-section {
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid #e8eff3;
}

.terms-section:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.terms-section h2 {
    margin: 0 0 15px;
    color: #0f4c81;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 750;
}

.terms-section p {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.85;
}

.terms-section p:last-child {
    margin-bottom: 0;
}

.terms-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: #16a085;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}


/* =========================================
   SIDEBAR
========================================= */

.terms-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.terms-card {
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e3edf2;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 76, 129, 0.06);
}

.terms-card-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border-radius: 14px;
    background: #eaf7f5;
    color: #16a085;
    font-size: 22px;
}

.terms-card h3 {
    margin: 0 0 10px;
    color: #0f4c81;
    font-size: 19px;
}

.terms-card p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.75;
}


/* =========================================
   HELP CARD
========================================= */

.terms-help > i {
    display: block;
    margin-bottom: 15px;
    color: #16a085;
    font-size: 25px;
}

.terms-help a {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 20px;

    color: #16a085;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    transition: gap 0.25s ease;
}

.terms-help a:hover {
    gap: 13px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .terms-layout {
        grid-template-columns: 1fr;
    }

    .terms-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .terms-hero {
        padding: 65px 18px;
    }

    .terms-hero h1 {
        font-size: 34px;
    }

    .terms-hero p {
        font-size: 15px;
    }

    .terms-content {
        padding: 55px 18px;
    }

    .terms-main {
        padding: 28px 22px;
        border-radius: 16px;
    }

    .terms-section h2 {
        font-size: 20px;
    }

    .terms-section p {
        font-size: 14px;
    }

    .terms-sidebar {
        grid-template-columns: 1fr;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .terms-hero {
        padding: 55px 16px;
    }

    .terms-hero h1 {
        font-size: 29px;
    }

    .terms-content {
        padding: 45px 14px;
    }

    .terms-main {
        padding: 24px 18px;
    }

}