/* General Styles */
body {
    background-color: #e0f7fa;  /* Lighter blue background */
    color: #333;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s ease-in-out;
}

/* Header */
header {
    background-color: #003366; /* Navy blue header color */
    padding: 30px;
    text-align: center;
    border-bottom: 5px solid #001f33; /* Darker navy border */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: headerSlideDown 1s ease-in-out;
}

/* Header Text Animation */
@keyframes headerSlideDown {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Title Text (h1, h2, h3) */
h1, h2, h3 {
    color: white;  /* White text for the title */
}

/* Navigation */
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #003366; /* Navy blue background */
    overflow: hidden;
    display: flex;
    justify-content: center;
    transition: background-color 0.3s ease-in-out;
}

nav ul li {
    float: left;
}

nav ul li a {
    display: block;
    padding: 16px 32px;
    text-decoration: none;
    color: white;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    background-color: #005080; /* Lighter navy on hover */
    transform: scale(1.1);
}

/* Section */
section {
    margin: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: sectionFadeIn 1.5s ease-out;
}

@keyframes sectionFadeIn {
    0% { opacity: 0; transform: translateX(-20px); }
    100% { opacity: 1; transform: translateX(0); }
}

section h2 {
    color: #003366; /* Navy color for section titles */
    font-size: 2rem;
    margin-bottom: 10px;
}

section h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

section ul {
    list-style-type: square;
    margin-left: 30px;
    padding: 10px;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Form Styling */
form input, form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid #003366; /* Navy border */
    border-radius: 5px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

form input[type="submit"] {
    background-color: #003366; /* Navy blue button */
    color: white;
    cursor: pointer;
}

form input[type="submit"]:hover {
    background-color: #005080; /* Lighter navy on hover */
    transform: scale(1.05);
}

form input:focus, form textarea:focus {
    border-color: #001f33; /* Darker navy focus border */
    outline: none;
    box-shadow: 0 0 10px rgba(0, 31, 51, 0.5);
}

/* Footer */
footer {
    background-color: #003366;
    text-align: center;
    padding: 20px;
    position: fixed;
    width: 100%;
    bottom: 0;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: white;
}

/* Hover and Animation Effects */
h1, h2, h3 {
    animation: textGlow 1.5s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% { color: #003366; text-shadow: 0 0 10px #003366, 0 0 20px #003366; }
    100% { color: #005080; text-shadow: 0 0 10px #005080, 0 0 20px #005080; }
}

/* Button Hover Effects */
button {
    background-color: #003366;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #005080;
    transform: scale(1.1);
}

