/* ===============================
   Terms & Conditions Styles | الشروط والأحكام
   =============================== */

.pages {
    padding: 120px 0 60px;
    background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
}

.pages .container {
    max-width: 900px;
    margin: auto;
}

/* ===== Main Title ===== */
.pages h1 {
    font-size: 36px;
    font-weight: 800;
    color: #1f2933;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.pages h1::after {
    content: "";
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, #0ea5e9, #22c55e);
    display: block;
    margin: 14px auto 0;
    border-radius: 2px;
}

/* ===== Section Titles ===== */
.pages h2 {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    margin: 45px 0 18px;
    position: relative;
    padding-right: 14px;
}

.pages h2::before {
    content: "";
    position: absolute;
    right: 0;
    top: 6px;
    width: 5px;
    height: 70%;
    background-color: #0ea5e9;
    border-radius: 3px;
}

.pages h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 35px 0 14px;
}

/* ===== Paragraphs ===== */
.pages p {
    font-size: 17px;
    line-height: 1.95;
    color: #374151;
    margin-bottom: 18px;
    text-align: justify;
}

/* Highlight important text */
.pages strong {
    color: #111827;
    font-weight: 700;
}

/* ===== Lists ===== */
.pages ul {
    margin: 22px 0 30px;
    padding: 0;
    list-style: none;
}

.pages ul li {
    background: #ffffff;
    padding: 14px 18px;
    margin-bottom: 12px;
    border-radius: 12px;
    font-size: 16px;
    color: #1f2937;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== Legal note style (optional future use) ===== */
.pages .note {
    background: #f0f9ff;
    border-right: 4px solid #0ea5e9;
    padding: 16px 18px;
    border-radius: 12px;
    margin: 30px 0;
    font-size: 15.5px;
    color: #0f172a;
}

/* ===== Smooth entrance animation ===== */
.pages p,
.pages h2,
.pages h3,
.pages ul li {
    animation: fadeUp 0.7s ease forwards;
}

/* ===== Animation ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .pages {
        padding: 90px 16px 40px;
    }

    .pages h1 {
        font-size: 28px;
    }

    .pages h2 {
        font-size: 22px;
    }

    .pages h3 {
        font-size: 18px;
    }

    .pages p {
        font-size: 16px;
        line-height: 1.85;
    }
}

/* ===== End of CSS ===== */