h2{
    position: relative;
}

h2::before{
    font-weight: var(--font-weight-thin);
    font-size: clamp(0.75rem, 3vw, 1.2rem);
    position: absolute;
    top: -30%;
    left: 0;
    color: #6A6A6A;
}

.introduction{
    text-align: center;
    margin-bottom: 30%;
}

.introduction h2{
    width: fit-content;
    margin:2rem auto 0 auto;
}

.introduction h2::before{
    content: "Welcome! We are";
    top: -40%;
    left: 13%; 
}

.card-long{
    margin-bottom: 15%;
}

.card-long h2::before{
    content: "Why we do what we do";
}

.services-outline-section, .qualities-section{
    text-align: left;
}


.services-outline-section h2{
    line-height: clamp(3rem,15vw,4.5rem);
}

.services-outline-section h2::before{
    content: "How we help you";
}

.services-outline-section .grid-4>.card{
    width: 90%;
}

.qualities-section>h2{
    margin-bottom: 5rem;
}

.qualities-section h2::before{
    content: "Why us";
}

.qualities-section .grid-4>.card{
    width: 80%;
}

.card:nth-of-type(1) h2::before{
    content: "Everyone is unique";
}

.card:nth-of-type(2) h2::before{
    content: "Lifestyle solutions";
}

.card:nth-of-type(3) h2::before{
    content: "Great results in good time";
}

.card:nth-of-type(4) h2::before{
    content: "From individuals to large companies";
}

@media only screen and (min-width:420px){
    .introduction{
        margin-bottom: 15%;
    }

    .card-long{
        margin-bottom: 10%;
    }

    .services-outline-section>h2::before{
        top: -20%;
    }
}

@media only screen and (min-width:500px){
    h2::before{
        top: -40%;
    }
}

@media only screen and (min-width: 680px){
    
    h2::before{
        top:-50%;
    }

    .introduction h2::before{
        top: -40%;
        left: 14.5%; 
    }

    .services-outline-section>h2::before{
        top: -30%;
    }
}

@media only screen and (min-width: 720px){
    
    .introduction h2{
        margin-top: 3rem;
    }

    .introduction h2::before{
        top: -40%;
        left: 18%; 
    }

    .services-outline-section, .qualities-section{
    text-align: left;
    margin-bottom: 5rem;
    }
}

@media only screen and (min-width: 750px){
    .introduction h2::before{
        top: -50%;
        left: 19%; 
    }

    .services-outline-section, .qualities-section{
        margin-bottom: 5rem;
    }
}

@media only screen and (min-width: 820px){
    
    .introduction{
        margin-bottom: 8%;
    }
    
    .introduction h2::before{
        top: -55%;
        left: 20.75%; 
    }
}

@media only screen and (min-width: 1025px){

    .grid-4 {
        justify-items: center;
        grid-column-gap: 3rem;
    }

    .qualities-section>h2{
        margin-left: 4.5%;
    }
    
}

@media only screen and (min-width: 1200px){
    .services-outline-section>h2::before{
        top: -50%;
    }
}

@media only screen and (min-width: 2400px){
    
    .introduction h2{
        margin-top:4rem;
    }
    
    .introduction h2::before{
        top: -60%;
        left: 21.5%; 
    }
}
