/* =============================== */
/*         HERO SECTION            */
/* =============================== */
.terms-hero {
    background: linear-gradient(135deg, #081b33, #0b0f2e);
    padding: 100px 0;
    text-align: center;
}

.terms-hero-title {
    color: #ffffff;
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 10px;
}

.terms-hero-subtitle {
    color: #c6d4e1;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =============================== */
/*        CONTENT SECTION          */
/* =============================== */
.terms-section {
    background: #f4f5f7;
    padding: 80px 0;
}

.terms-card {
    background: #ffffff;
    padding: 45px 50px;
    max-width: 900px;
    margin: auto;
    border-radius: 16px;
    box-shadow: 0 15px 32px rgba(0, 0, 0, 0.07);
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    color: #222;
    line-height: 1.8;
}

.terms-card p {
    margin-bottom: 22px;
}

/* =============================== */
/*        HEADINGS STYLE           */
/* =============================== */
.terms-card h2 {
    margin-top: 40px;
    margin-bottom: 10px;
    font-size: 26px;
    font-weight: 700;
    color: #0b0f2e;
}

/* =============================== */
/*        LAST UPDATED             */
/* =============================== */
.last-updated {
    margin-top: 40px;
    font-size: 14px;
    color: #777;
    text-align: right;
}

/* =============================== */
/*         RESPONSIVE BASE         */
/* =============================== */

/* Large laptops / small desktops */
@media (max-width: 1200px) {
    .terms-hero {
        padding: 80px 0;
    }

    .terms-card {
        max-width: 820px;
        padding: 40px 42px;
    }
}

/* Tablets / small laptops (landscape tablets) */
@media (max-width: 992px) {
    .terms-hero {
        padding: 70px 0;
    }

    .terms-hero-title {
        font-size: 40px;
    }

    .terms-hero-subtitle {
        font-size: 17px;
        max-width: 620px;
    }

    .terms-section {
        padding: 60px 0;
    }

    .terms-card {
        max-width: 760px;
        padding: 34px 34px;
        font-size: 16px;
    }

    .terms-card h2 {
        margin-top: 32px;
        font-size: 24px;
    }
}

/* Default tablet breakpoint (portrait) */
@media (max-width: 768px) {

    .terms-hero {
        padding: 60px 0;
    }

    .terms-hero-title {
        font-size: 34px;
    }

    .terms-hero-subtitle {
        font-size: 16px;
        padding: 0 16px;
    }

    .terms-section {
        padding: 50px 0;
    }

    .terms-card {
        padding: 28px 22px;
        margin: 0 16px;
        font-size: 15px;
    }

    .terms-card h2 {
        font-size: 22px;
        margin-top: 26px;
    }

    .last-updated {
        text-align: left;
        font-size: 13px;
        margin-top: 28px;
    }
}

/* Small phones / very narrow screens */
@media (max-width: 480px) {

    .terms-hero {
        padding: 50px 0 40px;
    }

    .terms-hero-title {
        font-size: 28px;
        line-height: 1.3;
    }

    .terms-hero-subtitle {
        font-size: 14px;
        padding: 0 14px;
    }

    .terms-section {
        padding: 40px 0;
    }

    .terms-card {
        padding: 22px 18px;
        margin: 0 12px;
        border-radius: 14px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
        font-size: 14px;
        line-height: 1.7;
    }

    .terms-card p {
        margin-bottom: 18px;
    }

    .terms-card h2 {
        font-size: 20px;
        margin-top: 22px;
    }

    .last-updated {
        font-size: 12px;
        margin-top: 22px;
    }
}
