/* Homepage (public marketing page) styles. Scoped with a home- prefix
   to avoid colliding with base.css / style.css and other pages. */

.home-mobilenav {
    display: none;
}

.home-mainnav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding: 3% 6%;
}

.home-applogolayout img {
    max-width: 180px;
    height: auto;
}

.home-headernavlist {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
}

.home-headernavlist li {
    margin-left: 15px;
    margin-right: 15px;
}

.home-headernavlist li a {
    text-decoration: none;
    color: var(--black);
    font-size: 17px;
}

.home-headernavlist li a:hover {
    text-decoration: underline;
    color: var(--primarycolor);
    cursor: pointer;
}

.home-nav-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-nav-buttons a.default-button,
.home-nav-buttons a.default-button-outline {
    display: inline-block;
    margin-top: 0;
    margin-bottom: 0;
    width: auto;
    padding: 10px 18px;
    text-decoration: none;
    text-align: center;
}

.default-button-outline {
    background-color: transparent;
    color: var(--primarycolor);
    border: 1px solid var(--primarycolor);
}

.default-button-outline:hover {
    cursor: pointer;
}

.home-hero-left a.default-button {
    display: inline-block;
    width: auto;
    text-decoration: none;
    text-align: center;
}

.home-menuicon {
    display: none;
}

/* Hero */

.home-hero {
    width: 100%;
    height: 600px;
    background-image: url("/images/bannerjunioragent.png");
    background-position: top;
    background-size: cover;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.home-hero-left {
    width: 40%;
    padding-left: 10%;
    padding-right: 10%;
}

.home-hero-right {
    width: 60%;
}

.home-hero-left h1 {
    font-size: 47px;
    font-weight: 700;
    line-height: 1.6;
    margin: 0 0 20px;
}

.home-hero-left h1 span {
    color: var(--primarycolor);
}

.home-hero-left p {
    font-size: 26px;
    font-weight: 500;
    line-height: 1.6;
    padding-bottom: 3%;
    margin: 0 0 20px;
}

.home-hero-left p span {
    color: var(--primarycolor);
}

/* Sections */

.home-section {
    margin-left: 3%;
    margin-right: 3%;
    padding-top: 4%;
    padding-bottom: 4%;
}

.home-section-title {
    text-align: center;
    font-weight: 600;
    font-size: 32px;
    color: var(--primarycolor);
    margin-top: 2%;
    margin-bottom: 2%;
}

/* How it works */

.home-stepflow {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    width: 95%;
    margin: 0 auto;
}

.home-stepblock {
    width: 40%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
}

.home-stepicon {
    width: 75px;
    height: 75px;
}

.home-steptitle {
    font-weight: 600;
    font-size: 20px;
    margin: 10px 0;
}

.home-stepcontent {
    font-size: 18px;
    font-weight: 500;
    text-align: justify;
    margin: 0;
}

.home-stepslist {
    margin: 8px 0 0;
    padding: 0;
    width: 100%;
}

.home-stepslist li {
    margin: 0;
    padding: 0;
}

.home-stepslist li p {
    margin: 0;
    padding: 0;
}

/* Benefits / team, shared 3-column layout */

.home-contentsubsection {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.home-contentsubsection > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    width: 33%;
}

.home-subsectiontitle {
    font-weight: 600;
    font-size: 28px;
    margin-bottom: 15px;
    text-align: center;
}

.home-subsectionimage {
    max-width: 100%;
    height: auto;
}

.home-subsectiontext {
    font-weight: 400;
    font-size: 18px;
    width: 90%;
    text-align: justify;
    word-wrap: break-word;
    line-height: 1.6;
}

/* Team */

.home-teamphoto {
    border-radius: 50%;
    margin-bottom: 10px;
    width: 180px;
    height: 180px;
    object-fit: cover;
}

.home-teamlinkedinlogo {
    width: 27px;
    height: 27px;
}

.home-teamname {
    font-weight: 600;
    font-size: 20px;
    margin: 4px 0 5px;
}

.home-teamrole {
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 4px;
}

.home-teamexperience {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    text-align: center;
}

/* Contact */

.home-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.home-contact-item {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.home-contact-item a {
    text-decoration: none;
    font-size: 18px;
    color: var(--textcolor);
}

.home-contact-item a:hover {
    color: var(--secondarycolor);
}

/* Legal pages (privacy policy, terms of service) */

.home-policy-page {
    background: #f6f6fb;
    min-height: 60vh;
}

.home-policy-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.home-policy-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.home-policy-card h2 {
    color: var(--primarycolor);
    margin-top: 30px;
}

.home-policy-card h2:first-child {
    margin-top: 0;
}

.home-policy-card ul {
    padding-left: 20px;
}

.home-policy-contact {
    background: #f1eefc;
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
}

.home-policy-card a {
    color: var(--primarycolor);
    text-decoration: none;
}

/* Footer */

.home-footer {
    padding-top: 6%;
    padding-bottom: 3%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.home-footerlinks {
    text-decoration: none;
    color: #808080;
    margin-left: 8px;
    margin-right: 8px;
}

.home-footerlinks:hover {
    cursor: pointer;
    text-decoration: underline;
    color: var(--secondarycolor);
}

.home-copyrighttext {
    text-align: center;
    font-weight: 500;
    margin: 0 8px 20px;
}

@media only screen and (max-width: 800px) {
    .home-mainnav {
        display: none;
    }

    .home-menuicon {
        display: block;
        margin: 8px 0 0 8px;
        cursor: pointer;
    }

    .home-menuicon img {
        max-width: 110px;
        height: auto;
    }

    .home-mobilenav {
        position: fixed;
        left: -260px;
        top: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: nowrap;
        width: 240px;
        height: 100%;
        z-index: 9999;
        background-color: var(--primarycolor);
        transition: left 0.3s ease;
        padding-top: 20px;
    }

    .home-mobilenav.is-open {
        left: 0;
    }

    .home-mobileheadernavlist {
        list-style: none;
        align-self: flex-start;
        padding: 0 0 0 20px;
        margin: 20px 0;
    }

    .home-mobileheadernavlist li {
        margin: 12px 0;
    }

    .home-mobileheadernavlist li a {
        text-decoration: none;
        color: var(--white);
        font-weight: 500;
        font-size: 15px;
    }

    .home-mobile-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 198px;
    }

    .home-mobile-buttons a {
        text-align: center;
        background-color: #D9D9D9;
        color: var(--black);
        border-radius: 5px;
        padding: 10px 13px;
        text-decoration: none;
        font-weight: 500;
        font-size: 15px;
    }

    .home-closeicon {
        position: absolute;
        top: 10px;
        right: 10px;
        color: var(--white);
        cursor: pointer;
        font-size: 22px;
        background: none;
        border: none;
    }

    .home-hero {
        height: auto;
        background-image: none;
        flex-direction: column;
    }

    .home-hero-left,
    .home-hero-right {
        width: 100%;
        padding-left: 5%;
        padding-right: 5%;
    }

    .home-hero-right {
        display: none;
    }

    .home-hero-left h1 {
        font-size: 32px;
        text-align: center;
    }

    .home-hero-left p {
        font-size: 20px;
        text-align: center;
    }

    .home-stepblock {
        width: 95%;
    }

    .home-contentsubsection {
        flex-direction: column;
        align-items: center;
    }

    .home-contentsubsection > div {
        width: 100%;
        margin-bottom: 20px;
    }

    .home-teamphoto {
        width: 130px;
        height: 130px;
    }
}
