.hero img {
    border-radius: 28% 72% 49% 51% / 54% 38% 62% 46%  ;
    max-height: 400px;
    
    /* ===== FIXES to prevent deformation and layout shift ===== */
    aspect-ratio: 1 / 1; /* Tells browser to reserve a square space */
    object-fit: cover;   /* Ensures image fills the space without stretching */
    width: 100%;         /* Makes image responsive within its container */
    max-width: 400px;    /* Prevents it from becoming too large */
}

.hero {
    color: #daf7f0;
    max-width: 80vw;
    margin: auto;
    margin-top: 100px;
    padding-bottom: 100px;
    display: flex;
    gap: 20px;
    align-items: center;
    text-align: left;
    font-weight: bold;
}

.hero p {
    font-size: 1.4rem;
    padding-bottom: 10px;
}

.hero h1 {
    color: #9eebda;
    font-size: 7rem;
}

.hero h2 {
    font-size: 2rem;
}

.description-hero {
    font-weight: lighter;
    padding-top: 40px;
    max-width: 800px;
    font-size: 1.1rem;
    line-height: 1.6;
}

@media screen and (max-width:768px) {

    .hero {
        max-width: 90vw;
        flex-direction: column;
    }

    .hero img {
        max-width: 300px;
        width: 80vw;
    }
    
    .hero h1 {
        font-size: 4.2rem;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 1.2rem;
        padding-bottom: 5px;
    }
}