#hero {
    position: relative;
    padding: 0;
    overflow: hidden;
    margin: 0;
    width: 100%;
}

#hero::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
    pointer-events: none;
    z-index: 1;
}

.hero-img-wrapper{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    max-height: 100vh;
}

.hero-img-wrapper img{
    width: 100%;
}

.heroText {
    position: absolute;
    top: max(5vw, 45px);
    left: 15vw;
    z-index: 10;
    
    opacity: 1;
    padding: 3vh;
    transition: opacity 2s, background-color 1s ease-in;
}
.heroText h1{
    font-size: calc(0.5rem + 3vw);
    color: #FFFFFF;
    font-weight: 800;
}
.heroText p{
    font-size: calc(0.5rem + 1vw);
    color: #FFFFFF;
}

#about {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5vh;
}
#about h2 {
    margin-top: 0;
    font-size: 4rem;
    font-weight: 650;
}

#about img {
    height: 50vh;
    object-fit: cover;
} 


.header-with-cta {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.cta{
    display: inline-block;
    padding: 0.3rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    color: #001143;
    text-decoration: none;
    border: 2px solid #001143;
    border-radius: 25px;
    background-color: transparent;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
    
}
.cta:hover {
    background-color: #001143;
    color: white;
}

.cta-switch{
    border: 2px solid white;
}
.cta-switch:hover {
    background-color: white;
    color: #001143;
}



.blueHighlight {
    background-color: #001143;
    margin: 0;
    padding: 10vh;
}
.blueHighlight * {
    color: white;
}

.three-column{
    display: flex;
    gap: 2vh;
    margin-top: 2vh;
}

.three-column-column{
    flex: 1;
    overflow: hidden;

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

    padding: 3vh;

    
}
.three-column-column img{
    width: 40%;
}

.full-width-cta{
    width: 100%;
    display: flex;
    margin-top: 2vh;
    height: 8vh;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 0.3rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    color: #FFFFFF;
    text-decoration: none;
    border: 2px solid #FFFFFF;
    border-radius: 25px;
    background-color: transparent;
    transition: background-color 0.3s, color 0.3s;
}
.full-width-cta:hover {
    background-color: #FFFFFF;
    color: #001143;
}

p {font-size: 1.2rem;}
section {margin: 10vh;}

@media (max-width: 1080px) {
    #about {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5vh;
        margin: 15vh;
    }

    #about img {
        width: 100%;
        height: 50vh;
    }
}


/* Mobile override */
@media (max-width: 768px) {
    #about {margin: 5vh;}
    #about img {height: 35vh;}
    
    #why-buy-now {
        padding: 5vh;
    }

    p {
        font-size: 1rem;
    }
    
    section{
        margin: 5vh;
    }

    #about h2 {
        font-size: 2rem;
    }
   
    #services .services{
        flex-direction: column;
    }

    #services .services a {
        box-sizing: border-box;
        width: 100%;  
    }

    #why-to-buy-now {
        flex-direction: column;
        padding: 10vh;
    }
    .blueHighlight{
        padding: 5vh;
    }

    .three-column{
        gap: 0;
    }
}
@media (max-width: 520px) {
    #hero h1{
        font-size: 1rem;
        line-height: 1.2;
    }
    #hero p{
        font-size: 0.8rem;
        padding: 0;
    }
}
@media (min-width: 1440px) {
    #about{
        gap: 20vh;
    }

    section{
        margin: 10vh 20vh;
    }

    .blueHighlight {
        padding: 10vh 20vh;
    }
}
@media (max-width:500px) {
    .hero-tagline-remover {display: none;}
    .three-column{
        flex-direction: column;
    }
}