/* ====== Home: Hero ====== */
header > div{
    position:relative;
    overflow:hidden;
    border-radius:var(--radius);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
}

header img{
    width:100%;
    height:500px;
    object-fit:cover;
}

header img.small-banner {display: none;}

header > div > .banner-text{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 100%;
    position:absolute;
    top: 0;
    color:#fff;
    padding: 20px;
    margin-left: 40px;
    width: 40%;
}
header h1{ 
    margin-bottom:.3em; 
    color:#e2e8f0;
    line-height: 1.6; 
}
header p{ 
    color:#e2e8f0; 
    margin-bottom:.8em; 
}
header .button{
    max-width: 60%;
    text-align: center;
    background:#ffffff;
    color:#0f172a;
    box-shadow:0 6px 18px rgba(255,255,255,.25);
}

/* ====== Home: 3 Feature Sections ====== */
main > section{
    margin-block: 60px;
    margin-inline: 100px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}
main > section > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
main > section > div img {
    width: 400px;
    height: 400px;
}
main > section > div > div {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 50%;
}
main > section > div > div a {
    width: 50%;
    text-align: center;
}

/* Responsive */
@media (max-width:900px){
    main header > div img.banner {display: none;}
    main header > div img.small-banner {display: block;}
    main header > div {
        background-image: linear-gradient(-90deg, #131d45, #1b2550);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }
    main header > div .banner-text {
        position: unset;
        text-align: center;
        justify-content: center;
        align-items: center;
        gap: 20px;
        width: 80%;
        margin-bottom: 30px;
        margin-left: 0;
    }
    main > section {
        margin-inline: 10px;
        gap: 100px;
    }
    main > section > div {
        flex-direction: column;
        gap: 0px;
    }
    main > section > div:first-child {gap: 20px;}
    main > section > div > div {
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    main > section > .goals-section {flex-direction: column-reverse;}
}
@media (max-width:600px){
    main > section{ grid-template-columns:1fr; }
}
