/* ---------- Overall Page Styling ---------- */
body {
    font-family: "Georgia", "Times New Roman", serif;
    background-color: #ffffff;
    color: #000000;
    margin: 40px;
    line-height: 1.6;
}

/* ---------- Headings ---------- */
h1 {
    font-size: 32px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 20px;
}

/* ---------- Links ---------- */
a {
    font-size: 18px;
    text-decoration: underline;
}

a:link {
    color: #0056b3;
}

a:visited {
    color: #6a1b9a;
}

a:hover {
    color: #d32f2f;
}

/* ---------- Paragraphs ---------- */
p {
    font-size: 18px;
}

/* ---------- Tables (Common) ---------- */
table {
    width: 95%;
    border-collapse: collapse;
    margin: 25px auto;
}

th, td {
    border: 1px solid #000000;
    padding: 10px;
    font-size: 16px;
}

/* ---------- TABLE 1 : EXAM TIMETABLE ---------- */
.table-main th {
    background-color: #4a90e2;
    color: white;
}

.table-main td {
    text-align: center;
}

/* ---------- TABLE 2 : IMPORTANT INSTRUCTIONS ---------- */
.table-instructions th {
    background-color: #f1aa27;
    color: white;
}

.table-instructions td {
    vertical-align: top;
}

/* ---------- TABLE 3 : NOTES ---------- */
.table-notes th {
    background-color: #7a5ee0;
    color: white;
}

/* ---------- LIST FIX (Bullets & Readability) ---------- */
table ul {
    text-align: left;          /* fixes bullet alignment */
    margin: 10px auto;
    padding-left: 25px;
    font-size: 16px;
}

table li {
    margin-bottom: 6px;
}
/* ---------- RESPONSIVE DESIGN (Mobile Friendly) ---------- */
@media (max-width: 768px) {

    body {
        margin: 20px;
    }

    h1 {
        font-size: 24px;
        text-align: center;
    }

    h2 {
        font-size: 20px;
        text-align: center;
    }

    p, a {
        font-size: 16px;
    }

    /* Tables become scrollable on small screens */
    table {
        width: 100%;
        display: block;
        overflow-x: auto;
    }

    th, td {
        font-size: 14px;
        padding: 8px;
    }

    /* Lists inside tables */
    table ul {
        padding-left: 20px;
        font-size: 14px;
    }
}
