@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@500;700&display=swap');

body {
    font-family: "League Spartan", sans-serif;
    margin: 0;
    margin: 0;
    padding: 0;
    background-color: #1f1f52;
}
header {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 2em;
    height: 80px;
    text-align: left;
    position: relative;
}
main {
    max-width: 800px;
    margin: 2em auto;
    padding: 1em;
    background-color: #67649662;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.post {
    border-bottom: 1px solid #ddd;
    padding-bottom: 1em;
    margin-bottom: 1em;
    color: #ffffff;
}
.post:last-child {
    border-bottom: none;
}
.date {
    color: #ffffff;
    font-size: 0.9em;
    margin-top: -0.5em;
    margin-bottom: 1em;
}
.logo {
    width: 50px;
    border-radius: 5%;
    margin: 0;
    display: block;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2em;
    position: absolute;
    right: 1em;
    top: 1.5em;
    cursor: pointer;
    z-index: 10;
}
nav {
    display: flex;
    gap: 1em;
    align-items: center;
    margin: 0 auto;
    justify-content: flex-end;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
}

nav a {
    color: #2d2d7b;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1em;
    padding: 0.3em 0.7em;
    border-radius: 5px;
    transition: background 0.2s, color 0.2s;
    font-family: Arial, sans-serif; 
}

nav a:hover,
nav a:focus {
    background: #2d2d7b;
    color: #fff;
    text-decoration: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin-top: 1em;
}

.contact-form label {
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 0.3em;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8em;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #1f1f52;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form button {
    background-color: #2d2d7b;
    color: #ffffff;
    border: none;
    padding: 0.8em 1.2em;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease;
    align-self: flex-start;
}

.contact-form button:hover {
    background-color: #1f1f52;
}

.hero {
    width: 100%;
    max-width: 100vw;
    height: 85vh;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-image 1s ease-in-out;
}


.hero-text {
    background-color: rgba(31, 31, 82, 0.6);
    padding: 2em;
    width: 800px;
    border-radius: 10px;
    max-width: 80%;
    color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}


.hero-text h1 {
    font-size: 20px;
    margin-bottom: 0.5em;
    font-weight: 800;
}

.hero-text h3 {
    font-size: 18px;
    margin-bottom: 0.5em;
    font-weight: 800;
}

.hero-text p {
    font-size: 16px;
    margin-left: 1em;
    margin-bottom: 0.5em;
    font-weight: 500;
}


.hero-text p,
.hero-text h3,
.hero-text h4 {
    color: #e8e8ff;
}
.hero-text h3 {
    margin-top: 1.25rem;
    font-size: 1.4rem;
    color: #f1f1ff;
}
.hero-text h4 {
    margin-top: 0.8rem;
    font-size: 1rem;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.3;
}
.hero-text p {
    font-size: 0.9rem;
    max-width: 68ch;
    line-height: 0.75;
    font-weight: 500;
}

.hero-text ul {
    display: inline-block;
    text-align: left;
    padding-left: 1.2rem;
    margin: 0.6rem auto 1.2rem auto;
}
.hero-text li {
    margin: 0.35rem 0;
}

.hero-text img {
    height: 1.2em;
    vertical-align: middle;
    margin-left: 0.5em;
}

@media (max-width: 700px) {
    header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        height: 80px;
        padding: 0 1em;
        position: relative;
    }
    .logo {
        margin: 0;
    }
    .menu-toggle {
        display: block;
        position: static;
        margin-left: auto;
        z-index: 30;
    }
    nav {
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 80px;
        left: 10%;
        width: 80%;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        border-radius: 0 0 10px 10px;
        transform: translateY(-30px);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s cubic-bezier(.4,2,.6,1), opacity 0.3s;
        z-index: 20;
        margin: 0;
        display: flex;
        visibility: hidden;
    }
    nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }
    .hero {
        height: 92vh;
    }

    .hero-text {
        width: 85%;
        padding: 1em;
    }
    .hero-text ul {
        display: block;
        padding-left: 1.2rem;
        max-width: none;
    }

    .hero-text h3 {
        font-size: 1.3em;
    }

    .hero-text h4 {
        font-size: 1em;
    }

    .hero-text p {
        font-size: 0.88em;
    }
}
@media (max-width: 450px) {
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 2em 0;
    }
    .hero-text {
        width: 95%;
        padding: 1em 0.8em;
        margin: 1em auto;
    }

    .hero-text h1 {
        font-size: 1.3em;
        margin-bottom: 0.6em;
    }

    .hero-text h3 {
        font-size: 1em;
        margin-top: 0.8em;
        margin-bottom: 0.5em;
    }

    .hero-text h4 {
        font-size: 0.9em;
        margin-top: 0.5em;
        margin-bottom: 0.3em;
    }

    .hero-text p {
        font-size: 0.8em;
        line-height: 1.3;
        margin-bottom: 0.4em;
    }

    .hero-text ul {
        padding-left: 1rem;
        margin: 0.4rem 0;
    }

    .hero-text li {
        margin: 0.2rem 0;
        font-size: 0.85em;
    }
}

@media (max-width: 390px) {
    .hero {
        min-height: 110vh;
        height: auto;
        padding: 1.5em 0 3em 0;
        align-items: flex-start;
    }
    
    .hero-text {
        width: 96%;
        padding: 0.8em 0.6em;
        margin: 0.5em auto;
    }

    .hero-text h1 {
        font-size: 1.2em;
        margin-bottom: 0.5em;
    }

    .hero-text h3 {
        font-size: 0.95em;
        margin-top: 0.6em;
        margin-bottom: 0.4em;
    }

    .hero-text h4 {
        font-size: 0.85em;
        margin-top: 0.4em;
        margin-bottom: 0.3em;
    }

    .hero-text p {
        font-size: 0.75em;
        line-height: 1.25;
        margin-bottom: 0.4em;
    }

    .hero-text ul {
        padding-left: 0.8rem;
        margin: 0.3rem 0;
    }

    .hero-text li {
        margin: 0.15rem 0;
        font-size: 0.8em;
    }
}

