/* Base (mobile-first) styling */
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    background: #fefefe;
    color: #333;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    font-size: 1.3rem;
    font-weight: bold;
}
.logo span {
    color: #007acc;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

nav {
    display: flex;
    flex-direction: column;
    background-color: #007acc;
}
nav a {
    color: white;
    padding: 1rem;
    text-decoration: none;
    border-bottom: 1px solid #005fa3;
}
nav a:hover {
    background-color: #005fa3;
}
.hidden {
    display: none;
}

.hero {
    text-align: center;
    padding: 3rem 1.5rem;
    background-color: #e0f0ff;
    background-image: url('images/image2.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: relative;
    z-index: 1;
}

.hero h1,
.hero p,
.hero .cta-button {
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin-top: 0;
    font-size: 2rem;
    color:#222222;
}
.hero p {
    font-size: 1.1rem;
    margin: 1rem 0;
    color: #007acc;
}
.cta-button {
    display: inline-block;
    background-color: #007acc;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
}
.cta-button:hover {
    background-color: #005fa3;
}

.section {
    padding: 2rem 1.5rem;
}
.section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.section ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
form input, form textarea {
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}
form button {
    background-color: #007acc;
    color: white;
    padding: 0.75rem;
    border: none;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
}
form button:hover {
    background-color: #005fa3;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #222;
    color: white;
    font-size: 0.9rem;
}

/* Responsive enhancements */
@media (min-width: 768px) {
    nav {
        flex-direction: row;
        justify-content: center;
    }

    .menu-toggle {
        display: none;
    }

    nav.hidden {
        display: flex !important;
    }

    main {
        max-width: 900px;
        margin: 0 auto;
    }

    .section {
        padding: 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Initial hidden state */
.hero h1,
.hero p,
.hero .cta-button {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}

/* Staggered delays */
.hero h1 {
    animation-delay: 0.3s;
}
.hero p:nth-of-type(1) {
    animation-delay: 0.6s;
}
.hero p:nth-of-type(2) {
    animation-delay: 0.9s;
}
.hero .cta-button {
    animation-delay: 1.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

