@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800;900&display=swap');

/* ==========================QUOTE SECTION============================= */

.quote-section{
    height: 100vh;
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quote-container{
    width: 35vw;
    height: 70%;
    display: flex;
    flex-direction: column;
    margin-right: 30px;
    overflow: hidden;
    margin-left: 50px;

}

.svg-row{
    width: 100%;
    height: 55px
}

.svg-row img{
    height: 100%;
}

.svg-row-2{
    width: 100%;
    height: 55px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.svg-row-2 img{
    height: 100%;
}

.quote-text{
    flex-grow: 1;
    display: flex;
    align-items: center;
    color: #222;
}

.quote{
    font-size: 20px;
    font-family: 'Rubik', sans-serif;
    line-height: 2.2rem;
    font-weight: 600;
    position: relative;
}

.svg-row-2 button{
    height: 40px;
    width: 150px;
    background: white;
    color: #333;
    border-radius: 25px;
    border: 2px solid #000;
    font-size: 12px;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.4s ease;
    transition: background 0.4s ease;
    font-family: 'Rubik', sans-serif;
}

.svg-row-2 button:hover{
    background: #000;
    color: white;
    font-weight: 700;
}

.svg-row-2 button img{
    height: 9px;
    display: inline;
    margin-bottom: 3px;
}

.svg-row-2 button:hover img{
    filter: invert(98%) sepia(99%) saturate(3%) hue-rotate(252deg) brightness(107%) contrast(100%);
}

/* ==========================STATS SECTION============================= */

.stats-container{
    width: 40vw;
    height: 350px;
    display: flex;
    font-family: "Rubik", sans-serif;
}

.square{
    width: 150px;
    height: 150px;
    border-radius: 12px;
    background-color: rgb(253, 253, 253);
    box-shadow: 0px 15px 30px rgba(0, 175, 239, 0.28);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.stat-col-1{
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-end;
}

.stat-col-2{
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: 20px;
}

.square p{
    text-align: center;
    margin-bottom: 0;
    
}

.stat-1, .stat-2, .stat-3 {
    font-size: 28px;
    font-weight: 700;
}

.square p:nth-child(2){
    font-size: 18px;
    font-weight: 600;
    color: #363636;
    margin-top: 5px;
}

/* ======================= TABLET VIEW ============================ */

@media screen and (max-width: 992px){
    
    .stats-container{
        overflow: hidden;
    }
    
    .quote{
        font-size: 17px;
    }

    .svg-row-2 button{
        height: 35px;
        width: 130px;
        font-size: 11px;
    }

    .svg-row-2 button img{
        height: 8px;
    }

    .stat-1, .stat-2, .stat-3{
        font-size: 25px;
    }

    .square p:nth-child(2){
        font-size: 17px;
    }

    .square{
        height: 140px;
        width: 140px;
    }
}


/* ========================== BIGGER MOBILE VIEW ================================ */

@media screen and (max-width: 786px){

    .quote-section{
        flex-direction: column;
        padding-top: 80px
    }

    .square{
        height: 140px;
        width: 140px;
        margin-top: 50px;
    }

    .stat-1, .stat-2, .stat-3{
        font-size: 22px;
    }

    .square p:nth-child(2){
        font-size: 15px;
    }

    .stats-container{
        width: 100%;
        padding-left: 5%
    }

    .stat-col-1{
        width: 67%;
        flex-direction: row;
        justify-content: space-evenly;
        align-items:flex-start;
    }

    .stat-col-2{
        width: 33%;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .quote{
        line-height: 1.7rem;
        width: 100%;
        margin: 0px auto;
        font-size: 16px;
    }

    .svg-row-2{
        justify-content: space-around;
    }

    .stat-col-2{
        margin-left: 0;
    }
}


@media screen and (max-width: 576px){

    .quote-section{
        width: 100%;
        padding-top: 20%;
    }

    .quote-container{
        width: 90%;
        height: 100%;
    }

    .quote{
        font-size: 15px;
    }

    .svg-row-2 button{
        height: 35px;
        width: 130px;
        font-size: 11px;
        border: 1px solid #000;
    }

    .svg-row-2 button img{
        height: 8px;
    }

    .square{
        height: 100px;
        width: 100px;
    }

    .stat-1, .stat-2, .stat-3{
        font-size: 16px;
    }

    .square p:nth-child(2){
        font-size: 12px;
    }

    .stats-container{
        padding-right: 0;
        padding-left: 0;
    }

    .svg-row-2{
        justify-content: space-between;
        padding-right: 5%;
    }

}


@media screen and (max-width: 400px){


    .quote{
        font-size: 16px;
        line-height: 1.6rem;
    }


    .square{
        height: 80px;
        width: 80px;
    }

    .stat-1, .stat-2, .stat-3{
        font-size: 15px;
    }

    .square p:nth-child(2){
        font-size: 11px;
    }
}

@media screen and (min-width: 1400px){
    .quote-container{
        height: 60vh;
    }

    .quote{
        font-size: 24px;
        line-height: 2.5rem;
    }

    .svg-row, .svg-row-2{
        height: 5rem;
    }

    .svg-row-2 button{
        height: 53px;
        width: 180px;
        border-radius: 27px;
        font-size: 15px;
    }

    .svg-row-2 button img{
        height: 12px;
    }

    .square {
        width: 180px;
        height: 180px;
        border-radius: 15px;
    }

    .stats-container{
        height: 450px;
    }

    .stat-col-2{
        margin-left: 35px;
    }

    .square p:nth-child(2){
        font-size: 21px;
    }

    .stat-1, .stat-2, .stat-3{
        font-size: 35px;
    }
}

@media screen and (min-width: 1700px) {

    .stats-container {
        width: 33vw;
        margin-left: 50px;
    }

    .quote {
        font-size: 31px;
        line-height: 55px;
    }

    .svg-row, .svg-row-2 {
        height: 7rem;
    }

    .svg-row-2 button{
        height: 70px;
        width: 240px;
        border-radius: 35px;
        font-size: 20px;
    }

    .svg-row-2 button img {
        height: 15px;
    }

    .stats-container {
        height: 615px;
    }

    .square {
        width: 230px;
        height: 230px;
        border-radius: 30px;
    }

    .stat-col-2 {
        margin-left: 45px;
    }

    .square p:nth-child(2) {
        font-size: 28px;
    }

    .stat-1, .stat-2, .stat-3 {
        font-size: 46px;
        font-weight: 700;
    }
}