.hero-img {
    overflow: hidden;
    border-radius: 20px; /* Adjust the border-radius for the desired curve */
}

.hero-img img {
    width: 100%;
    height: auto;
     border-radius: 20px; 
     /* Default 40px Ensure the same border-radius as the parent div for consistency */ 
}