*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Nata Sans", "Raleway", Arial, sans-serif;
    background: #f6f8fb;
    color: #111827;
}

:root {
    --primary-color: #4f46e5;
}

/* ---------- CONTAINER ---------- */

.container {
    max-width: auto;
    margin: auto;
    padding: 0 1rem;
}

/* ---------- HERO ---------- */

.terms-hero {
    text-align: center;
    background: linear-gradient(0deg, var(--qutbee-blue), var(--qutbee-accent));
    padding: 12rem 0 5rem 0;
}

.terms-hero h1 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 700;
    line-height: 1.4;
    color: white;
    text-align: center;
}

.terms-hero p {
    font-size: 1.25rem;
    color: #ffffff;
    max-width: 48rem;
    margin: 0 auto;
}

/* ---------- PAGE ---------- */

.terms-page {
    padding: 80px 0 120px;
}

/* ---------- CARDS ---------- */

.terms-card {
    background: #ffffff;
    padding: 32px 36px;
    border-radius: 18px;
    margin-bottom: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
}

.terms-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.12);
}

/* ---------- HEADINGS ---------- */

.terms-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    padding-left: 18px;
    position: relative;
}

.terms-card h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 7px;
    height: 24px;
    border-radius: 5px;
    background: var(--primary-color);
}

/* ---------- TEXT ---------- */

.terms-card p {
    font-size: 15.8px;
    opacity: 0.85;
    line-height: 1.8;
}

/* ---------- LISTS ---------- */

.terms-card ul {
    padding-left: 22px;
    margin-top: 6px;
}

.terms-card li {
    margin-bottom: 10px;
    font-size: 15.8px;
    opacity: 0.9;
}

/* ---------- CONTACT CARD ---------- */

.terms-contact-card {
    background: linear-gradient(135deg, #f3f4f6, #eef2ff);
    border: none;
}

/* ---------- LINKS ---------- */

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 768px) {

    .terms-card {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .terms-card h3 {
        font-size: 18px;
    }
}

@media (max-width:620px) {
    .terms-hero {
        padding: 7.5rem 1rem 5rem 1rem;
    }
}