:root {
    --primary: #156082;
    --light: #ffffff;
    --dark: #222222;
    --radius: 0.5rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

body {
    background: #f5f7fa;
    color: var(--dark);
    line-height: 1.6;
}

/* NAVBAR */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background-color: var(--light);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

    .navbar img {
        height: 40px;
    }

    .navbar ul {
        list-style: none;
        display: flex;
        gap: 1.5rem;
    }

    .navbar a {
        text-decoration: none;
        color: var(--dark);
        font-weight: 500;
        transition: color 0.3s ease;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .navbar a:hover {
            color: var(--primary);
        }

.hero {
    background: linear-gradient(rgba(21, 96, 130, 0.6), rgba(21, 96, 130, 0.6)), url('../Images/achievement-agreement-arms-1068523.jpg');
    background-size: cover;
    background-position: center;
    padding: 4rem 1rem 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.material-icons {
    font-size: 20px;
}

.hero-card {
    padding: 3rem 2rem;
    max-width: 800px;
    width: 100%;
    text-align: center;
}

h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--light);
    letter-spacing: 20px;
}

section.section {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.2rem 1rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}
.letter {
    color: black;
    text-shadow: 1px -1px 1px red, /* Top (red) */
    1px 1px 2px green, /* Middle (blue) */
    1px 1px 1px yellow; /* Bottom (yellow) */
}

.scroll-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

form input, form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: var(--radius);
    font-size: 1rem;
}

form button {
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    cursor: pointer;
}

    form button:hover {
        background-color: #104a66;
    }
/*legend Modal*/

    .scroll-fade.visible {
        opacity: 1;
        transform: none;
    }

@media (min-width: 768px) {
    h1 {
        font-size: 4.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}
