.about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5%;
    gap: 40px;
    max-width: 2400px;
}

.content, .visual-content {
    flex: 1;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.visual-content {
    display: flex;
    justify-content: center;
}

.person-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

h1.headline {
    font-size: 7rem;
}

.about-layout {
    display: flex;
    color: #006D81;
    background: aliceblue;
    padding: 4%;
    border-radius: 50px;
        max-width: 1400px;
}

.visual-content {
    position: relative;
    width: 420px;
    height: 520px;
    margin: 40px auto;
}

.card-img {
 
    width: 400px;
    height: 500px;
    object-fit: cover;
    transition: transform 0.2s ease, z-index 0.2s ease;
    cursor: pointer;
   

}

.img1 { 
    top: 0;   
    left: 10px;  
    z-index: 1; 
}

.img2 { 
    top: 50px; 
    left: 390px; 
    z-index: 2; 
}
strong {
    color: black;
}
.description {
    padding-bottom: 10px;
    text-align: left;
        font-size: 28px;
        width: 90%;
        line-height: 1.5;
    
}
@media (max-width: 1484px) {
  
  

     .img2 {
        left: 220px;
    }

}
/* Tablet styles */
@media (max-width: 1024px) {
    .about-section {
        padding: 4%;
        gap: 30px;
    }
    
    h1.headline {
        font-size: 3.5rem;
    }
    
    .visual-content {
        width: 350px;
        height: 450px;
    }
    

    
    .img2 {
        left: 320px;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .featured-grid-layout {
        flex-direction: column;
    }
    
    .about-section {
        padding: 3%;
        gap: 20px;
    }
    
    .about-layout {
        flex-direction: column;
        padding: 3%;
        border-radius: 30px;
    }

    .visual-content {
        order: 1;
        margin-bottom: 2rem;
        width: 100%;
        height: auto;
        position: static;
        margin: 0 auto 2rem;
    }

    .content {
        order: 2;
        text-align: center;
    }

    h1.headline {
        font-size: 2.5rem;
    }


    .img1, .img2 {
        position: static;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    .about-section {
        padding: 2%;
        gap: 15px;
    }
    
    .about-layout {
        padding: 2%;
        border-radius: 20px;
    }
    
    h1.headline {
        font-size: 2rem;
    }
    
    .card-img {
        width: 150px;
        height: 180px;
        margin: 0 5px;
    }
}

/* Very small screens */
@media (max-width: 320px) {
    h1.headline {
        font-size: 1.8rem;
    }
    
    .card-img {
        width: 120px;
        height: 150px;
    }
}