/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #f7f7f7;
    scroll-behavior: smooth;
}

/* Navbar */
nav {
    background-color: #0b346b;
    position: sticky;
    top: 0;
    width: 100%;
    padding: 1em 0;
    transition: padding 0.3s ease, background-color 0.3s ease;
    z-index: 10;
    text-align: center;
}

nav.minimized {
    padding: 0.5em 0;
    background-color: #001633;
}

.logo-container {
    display: inline-flex;
    align-items: center;
    color: #fff;
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 0.5em;
}

nav span {
    font-size: 1.5em;
    font-weight: bold;
}

header {
    background-color: #001f3f;
    color: white;
    padding: 3em 1em;
    text-align: center;
    animation: fadeIn 1s ease;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

header p {
    font-size: 1.2em;
}

section {
    padding: 2em 1em;
    max-width: 800px;
    margin: 0 auto;
    animation: slideIn 1.5s ease;
}

section h2 {
    font-size: 2em;
    color: #001f3f;
    margin-bottom: 0.5em;
}

ul {
    list-style-type: square;
    margin-left: 1em;
}

a {
    color: #001f3f;
    text-decoration: none;
}

footer {
    background-color: #001f3f;
    color: white;
    text-align: center;
    padding: 1em;
    font-size: 0.9em;
    animation: fadeIn 1.5s ease;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Transition Effects */
section p, ul, a {
    transition: color 0.3s ease;
}

section p:hover, ul:hover, a:hover {
    color: #ffdd57;
}

/* Responsive Styles */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8em;
    }
    header p {
        font-size: 1em;
    }
    nav span {
        font-size: 1.2em;
    }
}
