/* General Styles */
html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f7;
    scroll-behavior: smooth;
}

body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
header {
    background-color: #2e7d32;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

header li {
    margin: 5px 0;
}

header a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background-color 0.3s;
}

header a:hover {
    background-color: #1b5e20;
}

/* Typography */
h1 {
    color: #2e7d32;
    font-size: 2.2rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #81c784;
    padding-bottom: 10px;
}

h2 {
    color: #388e3c;
    font-size: 1.8rem;
    margin-top: -10px;
    margin-bottom: 20px;
}

h3 {
    color: #43a047;
    font-size: 1.4rem;
    margin: 25px 0 15px;
}

h4 {
    color: #4caf50;
    font-size: 1.2rem;
    margin: 15px 0 10px;
}

p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Content Styles */
ul {
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 25px auto;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Footer Styles */
footer {
    margin-top: 40px;
    padding: 20px;
    background-color: #e8f5e9;
    border-radius: 5px;
    text-align: center;
}

footer a {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 500;
    margin: 0 15px;
    transition: color 0.3s;
}

footer a:hover {
    color: #1b5e20;
    text-decoration: underline;
}

/* Page-specific adjustments */
/* Main Page */
.Main_Page_Assessment_Event_2.html h1 {
    font-size: 2.5rem;
}

.Main_Page_Assessment_Event_2.html h2 {
    margin-top: -15px;
    font-size: 2rem;
}

/* Second Page */
.Second_Page_Assessment_Event.html ul {
    background-color: #e8f5e9;
    padding: 15px 20px;
    border-radius: 5px;
}

/* Third Page */
.Third_Page_Assessment_Event_2.html h1 {
    margin-bottom: 5px;
}

.Third_Page_Assessment_Event_2.html h2 {
    margin-top: 0;
    margin-bottom: 25px;
}

/* Fourth Page */
.Fourth_Page_Assessment_Event.html li {
    background-color: #e8f5e9;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    list-style-type: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    header ul {
        flex-direction: column;
        align-items: center;
    }
    
    header li {
        margin: 5px 0;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}