/* Fix About Image Alignment */
.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

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

/* Correction du décalage entre l'image et le cadre décoratif */
.about-image:before {
    content: '';
    position: absolute;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    top: 20px;
    left: 20px;
    z-index: -1;
    opacity: 0.2;
    transform: translateX(0) translateY(0);
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 500px;
    transition: var(--transition-normal);
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* Fix mobile display issues */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-image {
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }
    
    .about-image img {
        max-width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-image img {
        max-width: 100%;
    }
    
    .about-image:before {
        display: none; /* Remove the decorative border on mobile */
    }
}
