/* General Styles */
body {
    font-family: Georgia, serif; /* Updated font */
    margin: 0;
    padding: 0;
    background: #D0E4F5; /* Updated background color */
    color: #333;
}

/* Header */
header {
    background: #003366;
    color: white;
    padding: 20px 0;
    text-align: center;
}

/* Header container for logo and title */
.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; /* Ensures responsiveness */
    padding: 10px;
}

/* Logo */
.logo {
    width: 100px; /* Increased size */
    height: auto;
    flex-shrink: 0; /* Prevents logo from shrinking */
}

/* Title */
.header-title {
    font-size: 24px; /* Restored original size */
    font-weight: bold;
    text-align: center;
    flex-grow: 1; /* Allows title to expand if needed */
}

/* Navigation */
nav {
    background: #0066cc;
    padding: 10px 0;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    white-space: nowrap;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px; /* Restored original size */
    padding: 8px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 5px;
    background-color: #0055aa;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links .active {
    background: #003f7f;
    color: white;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Section Titles */
section h2 {
    color: blue;
    text-align: center;
    font-size: 22px; /* Restored original size */
}

/* Sections */
section {
    padding: 20px;
    background: white;
    margin: 20px auto;
    max-width: 900px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 16px; /* Restored original size */
    text-align: justify; /* Justifies all section text */
}

/* Paragraphs */
p {
    text-align: justify; /* Justifies all paragraph text */
}

/* Footer */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #004080;
    color: white;
    padding: 10px;
    margin-top: 20px;
    font-size: 14px;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .header-title {
        font-size: 20px; /* Restored original size */
    }

    .nav-links {
        flex-direction: column;
        gap: 5px;
    }

    .logo {
        width: 80px; /* Slightly smaller for mobile */
    }
}