

/* ===============================
   PRE-PRIMARY SECTION
================================ */

.preprimary-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--white), rgba(236, 29, 37, 0.05));
}

.preprimary-content {
    margin-bottom: 40px;
}

/* ===== Cards ===== */
.preprimary-card,
.sidebar-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

/* ===== Titles ===== */
.section-title {
    font-size: 34px;
    font-weight: 700;
    color: #263489;
    margin-bottom: 20px;
	text-align:center;
}
.section-title:after {
    content: '';
    width: 70px;
    height: 4px;
    background: #ec1d25;
    display: block;
    margin: 10px auto 0;
}
.section-quote {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ===== Inline Image ===== */
.inline-img {
    width: 180px;
    border-radius: 12px;
}

/* ===== Content ===== */
.messagess p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--secondary);
    margin-bottom: 18px;
    text-align: justify;
}

.messagess h3 {
    color: #263489;
    margin-top: 30px;
    margin-bottom: 15px;
}

.messagess ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.messagess ul li {
    margin-bottom: 8px;
}

/* ===== Images ===== */
.messagess img {
    border-radius: 12px;
    margin: 10px 10px 10px 0;
}

/* ===== Sidebar ===== */
.preprimary-sidebar {
    margin-top: 20px;
}

.sidebar-title {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 20px;
}

.sidebar-list {
    padding-left: 18px;
    margin-bottom: 30px;
}

.sidebar-list li {
    margin-bottom: 8px;
    color: #263489;
}

/* ===== Sidebar Headings ===== */
.sidebar-card h3,
.sidebar-card h4,
.sidebar-card h5 {
    color: var(--secondary);
    margin-top: 25px;
}

/* ===== Grading ===== */
.grading-title {
    color: #263489;
    font-weight: 700;
    margin-bottom: 20px;
}

.grading-subtitle {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

/* ===== Tables ===== */
.grading-table,
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.grading-table th,
table th {
    background: var(--secondary);
    color: var(--white);
    padding: 10px;
    text-align: center;
}

.grading-table td {
    border: 1px solid #e5e5e5;
    padding: 8px;
    text-align: center;
    color: #263489;
}

table td {
    border: 1px solid var(--secondary);
    padding: 10px;
    text-align: center;
    color: #263489;
}

/* Alternate row */
.grading-table tr:nth-child(even) {
    background: #f9f9f9;
}

/* ===== List ===== */
ul li {
    margin-bottom: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {

    .preprimary-card,
    .sidebar-card {
        padding: 25px;
    }

    .section-title {
        font-size: 26px;
    }

    .section-quote {
        font-size: 16px;
    }

    .messagess p {
        font-size: 15px;
    }
}

/* ===== SIDEBAR (UNCHANGED BUT CLEAN) ===== */
.sidebar-box {
    background: #fff;
    padding: 20px;
    border-left: 4px solid var(--primary);
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.sidebar-box h2 {
    color: var(--secondary);
    margin-bottom: 15px;
	text-align:center;
}
.sidebar-box h4 {
    color: #263489;
    margin-bottom: 10px;
}

.sidebar-box ul li {
    font-size: 14px;
    margin-bottom: 6px;
}

/* ===== TABLE ===== */
table {
    width: 100%;
    border-collapse: collapse;
}

table th {
    background: var(--secondary);
    color: #fff;
    padding: 10px;
}

table td {
    padding: 8px;
    border: 1px solid #ddd;
}