#about {
    width: 100%;
    height: max-content;
    padding: 40px 20px;
    margin-bottom: 300px;
}

.about {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}



.about-content {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-content-left {
    position: absolute;
    bottom: -240px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    border-radius: 10px;
    background: #EAF6FC;
    padding: 30px 20px;
    z-index: 2;
    
}

.about-content-right {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-img {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
}

.about-title  {
    font-size: var(--large);
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.2;
    text-align: center;
    font-family: var(--font-poppins);
}

.about-title span {
    color: var(--heading-color-2);
}

.about-text  {
    font-size: var(--small);
    color: var(--text-color);
    line-height: 1.5;
    text-align: left;
    font-family: var(--font-inter);
}


#about .cta-button button {
    background-color: var(--heading-color-2);
    border-radius: 50px;
    padding: 10px 15px;
    font-size: var(--small);
    color: var(--white-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    background: var(--gradient, linear-gradient(90deg, #5B9CD4 0.01%, #215AA7 100.03%));
}

#about .cta-button button p {
    font-size: var(--small);
    font-weight: 600;
    color: var(--white-color);
}

#about .cta-button button img {
    width: 28px;
    height: 28px;
}






/* Media Queries */

@media (min-width: 425px) {
    .about-title  {
        font-size: var(--h5);
    }

    .about-text  {
        font-size: var(--body);
    }

    .about-content-left {
        max-width: 350px;
        bottom: -270px;
    }

    .about-img img {
        height: 260px;
    }
}

@media (min-width: 768px) {
    #about {
        padding: 40px 20px;
        margin-bottom: 100px;
    }

    .about-content {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0;
    }

    .about-content-left {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 50%;
        max-width: 400px;
        margin-right: -50px;
        z-index: 2;
    }

    .about-content-right {
        width: 50%;
        z-index: 1;
    }

    .about-img img {
        height: 400px;
        width: 380px;
        object-fit: cover;
    }

    .about-title {
        font-size: var(--h6);
    }

   

    #about .cta-button button {
        font-size: var(--body);
    }
}

@media (min-width: 1024px) {
    #about {
        padding: 60px 40px;
        margin-bottom: 60px;
    }

    .about-title  {
        font-size: var(--h6);
    }

    .about-text  {
        font-size: var(--body);
    }

    .about-content-left {
        gap: 23px;
    }

    #about .cta-button button p {
        font-size: var(--body);
       
    }

    #about .cta-button button img {    
        width: 32px;
        height: 32px;
    }

   

    #about .cta-button button {
       
        padding: 12px 20px;

    }   
    
    .about-img img {
        height: 410px;
        width: 530px;
        
    }


    

}

@media (min-width: 1440px) {
    .about-title  {
        font-size: 42px;
    }

    .about-text  {
        font-size: 18px;
    }

    .about-img img {
        height: 450px;
        width: 730px;
    }

    .about-content-left {
        gap: 23px;
        padding: 45px 55px;
        max-width: 630px;
        margin-right: -75px;

    }


}