/* ===========================
   RESET & BASE
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    direction: rtl;
}

body {
    font-family: "Cairo", "Tajawal", Arial, sans-serif;
    background-color: #f4f6f9;
    color: #222;
    line-height: 1.9;
    margin-top:100px;
}

/* ===========================
   HEADER
=========================== */
.page-header {
    background: url("../img/classbk2.jpeg") center / cover no-repeat;
    color: #1b0839;
    text-align: center;
    padding: 80px 20px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-header p {
    font-size: 1.4rem;
    opacity: 1;
}

/* ===========================
   MAIN CONTAINER
=========================== */
.reglement-container {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

/* ===========================
   SECTIONS
=========================== */
.reglement-container section {
    background: #fff;
    padding: 35px;
    margin-bottom: 30px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.reglement-container h2 {
    font-size: 1.7rem;
    color: #0d6efd;
    margin-bottom: 15px;
    position: relative;
}

.reglement-container h2::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -6px;
    width: 55px;
    height: 3px;
    background-color: #f0ad4e;
    border-radius: 5px;
}

.reglement-container p {
    font-size: 1.3rem;
    color: #444;
}

/* ===========================
   LISTS
=========================== */
.reglement-container ul {
    list-style: none;
    margin-top: 10px;
}

.reglement-container ul li {
    position: relative;
    padding-right: 28px;
    margin-bottom: 12px;
    font-size: 1.3rem;
    color: #333;
}

.reglement-container ul li::before {
    content: "✔";
    position: absolute;
    right: 0;
    top: 2px;
    color: #198754;
    font-weight: bold;
}

/* ===========================
   FOOTER
=========================== */
.page-footer {
    background-color: #111;
    color: #aaa;
    text-align: center;
    padding: 25px 10px;
    font-size: 0.95rem;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .reglement-container section {
        padding: 25px;
    }

    .reglement-container h2 {
        font-size: 1.45rem;
    }
}
