/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Box 1 — fixed header */
#box1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 12vh;
    background-color: rgb(54, 73, 97);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: wheat;
    z-index: 10;
    padding: 0 2rem;
}

#box1 .logo {
    height: 20vh;
}

#box1 .welcome-text {
    font-size: 1.6rem;
    font-weight: 600;
}

/* Box 2 — fixed layout */
#box2 {
    position: fixed;
    top: 12vh;
    left: 0;
    width: 100%;
    height: 88vh;
    background-color: rgb(62, 84, 112);   
    padding: 2rem;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* HERO — near top, centered horizontally */
.hero {
    color: wheat;
    text-align: center;
    margin-top: 2vh;
    margin-bottom: 3vh;
}

.hero h1 {
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.3rem;
}

/* SERVICES + WHO WE SERVE — horizontal layout */
.services-audience-wrapper {
    color: yellow;
    display: flex;
    flex-direction: row;       /* <<< THIS MAKES THEM HORIZONTAL */
    justify-content: center;   /* center horizontally */
    align-items: flex-start;
    gap: 18rem;                 /* spacing between the two boxes */
    margin-top: 6vh;
}

/* SERVICES */
.services {
    text-align: center;
}

.services ul {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
    line-height: 1.5;
}

/* WHO WE SERVE */
.audience {
    text-align: center;
}

.audience ul {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
    line-height: 1.5;
}

/* CONTACT SECTION */
.contact-section {
    color: greenyellow;
    margin-top: 8vh;
    text-align: center;
}

/* ============================
   MOBILE FIXES (max-width: 600px)
   ============================ */
@media (max-width: 600px) {

    /* HEADER */
    #box1 {
        height: 10vh;
        padding: 0 1rem;
        gap: 0.5rem;
    }

    #box1 .logo {
        height: 8vh;       /* much smaller on phones */
    }

    #box1 .welcome-text {
        font-size: 1rem;
    }

    /* MAIN AREA */
    #box2 {
        top: 10vh;
        height: 90vh;
        padding: .4rem;
        overflow-y: auto;   /* allow scrolling on phones */
    }

    /* HERO */
    .hero h1 {
        font-size: 1.2rem;
        line-height: 1;
        padding: 0 0.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* SERVICES + AUDIENCE STACK VERTICALLY */
    .services-audience-wrapper {
        flex-direction: column;
        gap: .5rem;          /* reduce huge spacing */
        margin-top: 2vh;
        align-items: center;
    }

    .services,
    .audience {
        width: 100%;
        max-width: 300px;
    }

    /* CONTACT SECTION */
    .contact-section {
        margin-top: 1vh;
        font-size: 0.95rem;
    }
}
