body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

header {
    align-items: center;
    background-color: #004aad;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    height: 70px;
    justify-content: space-between;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
    padding: 0 5%;
    flex-wrap: wrap;
}

.logo {
    color: white;
    font-size: 32px;
    font-weight: bold;
    position: relative;
    /* Remove text-stroke for better outline effect */
    text-shadow:
        -1px -1px 0 black,
         1px -1px 0 black,
        -1px  1px 0 black,
         1px  1px 0 black,
         0px -1.5px 0 black,
         0px  1.5px 0 black,
        -1.5px 0px 0 black,
         1.5px 0px 0 black;
}

.logo {
    font-family: 'League Spartan', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
}

nav a {
    color: white;
    font-size: 18px;
    margin: 10px;
    text-decoration: none;
    transition: background-color 0.2s, padding 0.2s;
    border-radius: 5px;
    padding: 5px 5px;
}

nav a:hover {
    background-color: #fafafa66;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 50px;      /* below the header */
    right: 0;
    width: 100%;
    background: #004aad;
    align-items: flex-end;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    padding: 2px;
}

.menu-toggle:hover {
    background-color: #fafafa66;
    border-radius: 5px;
    padding: 2px;
}

.hero {
    align-items: center;
    background-color: #004aad;
    display: flex;
    min-height: calc(100vh - 69px);
    justify-content: center;
    padding: 70px 15% 0 15%;
    scroll-snap-align: start;
}

.hero-text {
    color: white;
    max-width: 50%;
    display: block;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 50px;
}

.hero-text h3 {
    font-size: 25px;
    margin-bottom: 100px;
}

.waitlist-section {
    background-color: #fff8e1;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 15% 0 15%;
    scroll-snap-align: start;
    text-align: center;
    min-height: 60vh;
}

.email-form {
    padding: 5px;
    border-radius: 13px;
    overflow: hidden;
    display: flex;
    gap: 12px;
    align-items: center;
}

.email-form input {
    font-size: 16px;
    padding: 15px;
    width: 180px;
    border: 1px solid #004aad;
    border-radius: 8px;
    background: #fafafa;
    transition: border 0.2s;
}

.email-form input:focus {
    border: 2px solid #004aad;
    outline: none;
}

.email-form button {
    background-color: #004aad;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-size: 16px;
    padding: 13px 24px;
    margin-left: 8px;
    transition: background 0.2s;
}

.email-form button:hover {
    background-color: #1565c0;
}

.hero-image {
    display: flex;
    justify-content: center;
    max-width: 50%;
}

.hero-image img {
    height: auto;
    max-width: 90%;
}

.about-section {
    align-items: center;
    background-color: #fff8e1;
    display: flex;
    flex-direction: row;
    gap: 30px;
    min-height: 35vh;
    padding: 105px 15% 30px 15%;
    text-align: center;
    scroll-snap-align: start;
}

.about-text {
    font-size: 25px;
    max-width: 50%;
    text-align: left;
}

.about-map img {
    max-width: 100%;
}

.app-section {
    align-items: center;
    background-color: #fff8e1;
    display: flex;
    flex-direction: row;
    gap: 30px;
    min-height: 30vh;
    padding: 30px 15% 30px 15%;
    text-align: center;
    scroll-snap-align: start;
}

.phone-image img {
    max-width: 50%;
}

.features-section {
    background-color: #004aad;
    color: white;
    display: flex;
    flex-direction: column;
    padding: 30px 15% 30px 15%;
    scroll-snap-align: start;
    text-align: center;
    min-height: 90vh;
}

.features-container {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 18px 24px;
    width: 600px;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item h3 {
    font-size: 25px;
    margin: 0;
    color: white;
    text-align: left;
    max-width: 180px;
    flex-shrink: 0;
}

.feature-text {
    text-align: left;
}

.name {
    font-size: 30px;
    font-weight: bold;
    margin-top: 10px;
}

.contact-info {
    max-width: 400px;
    text-align: left;
}

.contact-info a {
    color: black;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-info div {
    flex-direction: column;
    gap: 500px;
}

.icon {
    margin-right: 8px;
    vertical-align: middle;
    width: 20px;
}

footer {
    background-color: #004aad;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    border-top: 1px solid #ffffff33;
}

@media (max-width: 768px) {
    header {
        padding: 10px;
        max-height: min-content;
    }

    nav { display: none; }
    .menu-toggle { display: block; }
    .mobile-nav.open { display: flex; }

    .hero {
        flex-direction: column;
        justify-content: space-evenly;
        padding: 70px 0 0 0;
    }

    .hero-text {
        max-width: 90%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        order: 2;
    }

    .hero-image {
        order: 1;
        max-width: 65%;
    }

    .hero-image img {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 35px;
        margin-bottom: 20px;
    }

    .hero-text h3 {
        font-size: 20px;
        margin-bottom: 40px;
    }

    .email-form {
        order: 3;
        flex-direction: column;
        gap: 10px;
    }

    .email-form input,
    .email-form button {
        width: fit-content;
        margin-left: 0;
    }

    .contact-info {
        padding: 40px 0;
        order: 4;
        text-align: left;
    }

    .about-section {
        flex-direction: column;
        padding: 30px 5% 0 5%;
        min-height: 43vh;
    }

    .about-map {
        order: 1;
    }

    .about-text {
        font-size: 20px;
    }

    .about-section .about-text {
        order: 2;
        max-width: 90%;
    }

    .app-section {
        flex-direction: row;
        padding: 0 5% 20px 5%;
        min-height: 40vh;
    }

    .phone-image {
        order: 1;
        max-width: 50%;
    }

    .phone-image img {
        max-width: 100%;
    }

    .app-section .about-text {
        order: 2;
        max-width: 50%;
    }

    .features-section {
        padding: 40px 5% 40px 5%;
        min-height: calc(75vh + 10px);
    }

    .features-container {
        gap: 25px;
    }

    .features-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .features-subtitle {
        font-size: 16px;
        margin-bottom: 50px;
    }

    .feature-item {
        flex-direction: row;
        width: 100%;
        max-width: 100%;
        padding: 20px 10px;
        align-items: center;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        margin-right: 24px;
    }

    .feature-text {
        font-size: 14px;
        text-align: left;
        flex: 1;
    }

    .feature-item h3 {
        max-width: 180px;
        min-width: 180px;
        font-size: 18px;
        text-align: left;
        margin: 0 24px 0 0;
        flex-shrink: 0;
    }

    footer {
        padding: 8px;
        font-size: 12px;
        line-height: 1.6;
        text-align: center;
    }
}
