body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    color: #333; /* Adjust text color for readability on gradient */
    min-height: 100vh; /* Ensure body takes full viewport height */

    /* --- Gradient Background --- */
    /* Fallback solid color */
    background-color: #9A9D30; 
    /* Linear Gradient: Angle, Start Color (Top/Left), Mid Color, End Color (Bottom/Right) */
    /* Colors sampled from the image - you can tweak these hex codes */
    background-image: linear-gradient(135deg, #FAD02E 10%, #B0B840 50%, #00704A 90%); 
    background-repeat: no-repeat; /* Prevent tiling if content is shorter than viewport */
    background-attachment: fixed; /* Keeps the gradient fixed while scrolling */
    
    /* Ensure content doesn't touch edges */
    padding: 30px 15px;
    box-sizing: border-box; /* Include padding in height calculation */

    /* --- Flexbox to help center content vertically if needed --- */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
}

/* Container for the main content (Optional but recommended) */
/* If using this, wrap the H1, H2, UL in index.html with <div class="container"> */
.container {
    max-width: 900px;
    width: 90%;
    background-color: rgba(255, 255, 255, 0.85); /* Semi-transparent white background for readability */
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-align: center;
    margin-top: 20px; /* Space from top */
    margin-bottom: 20px; /* Space from bottom */
}


h1 {
    text-align: center;
    /* Change color for better contrast on gradient? Default blue is likely fine */
    color: #003366; 
    margin-bottom: 15px;
    margin-top: 0;
    font-weight: 600;
     /* Add text shadow for readability on complex background */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    color: #0056b3; 
    margin-top: 0;
    margin-bottom: 40px;
    font-weight: 500;
    border-bottom: 1px solid #adadad; /* Slightly darker border */
    padding-bottom: 15px;
    width: 90%; /* Relative width within container */
    max-width: 600px;
    margin-left: auto; /* Center the heading */
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

#exam-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

#exam-list li {
    margin-bottom: 18px;
}

/* Button Styles - ensure good contrast */
#exam-list a {
    display: inline-block;
    padding: 14px 35px;
    /* Slightly darker blue for better initial contrast */
    background-color: #0069d9; 
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease, box-shadow 0.2s ease;
    min-width: 250px;
    border: 1px solid #005cbf; /* Slightly darker border */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Slightly stronger shadow */
}

#exam-list a:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.25);
}

#exam-list a:active {
    transform: translateY(0);
    background-color: #004085;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    body { padding: 20px 10px; } /* Adjust body padding */
    .container { width: 95%; padding: 20px; } /* Adjust container on small screens */
    h1 { font-size: 1.6em; }
    h2 { font-size: 1.1em; width: 95%; margin-bottom: 30px; }
    #exam-list a {
        min-width: 90%; /* Make buttons take more width */
        padding: 12px 20px;
        font-size: 1em;
    }
}