/**
 * About Section Desktop Fix
 * Ensures image stays on the right side on desktop
 */

/* Desktop and tablet devices */
@media (min-width: 768px) {
    /* About section layout */
    .about {
        position: relative !important;
        overflow: visible !important;
    }
    
    /* Keep image on the right side */
    .about__img {
        position: absolute !important;
        right: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 450px !important;
        height: auto !important;
        z-index: 1 !important;
    }
    
    .about__img img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        border-radius: 20px !important;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
    }
    
    /* Overlay styling */
    .about__img-overlay {
        position: absolute !important;
        bottom: -30px !important;
        left: -30px !important;
        width: 200px !important;
        height: 200px !important;
        background: var(--color-primary, #FFC107) !important;
        opacity: 0.2 !important;
        border-radius: 20px !important;
        z-index: -1 !important;
    }
    
    /* Content width adjustment */
    .about .container {
        position: relative !important;
        z-index: 2 !important;
    }
}

/* Large desktop */
@media (min-width: 992px) {
    .about__img {
        width: 500px !important;
        right: 50px !important;
    }
}

/* Extra large desktop */
@media (min-width: 1200px) {
    .about__img {
        width: 550px !important;
        right: 100px !important;
    }
}

/* Ultra wide screens */
@media (min-width: 1400px) {
    .about__img {
        width: 600px !important;
        right: 150px !important;
    }
}

/* Mobile - Simple stacked layout */
@media (max-width: 767px) {
    .about {
        padding-bottom: 60px !important;
    }
    
    .about__img {
        position: relative !important;
        width: 100% !important;
        margin-top: 40px !important;
        padding: 0 15px !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
    }
    
    .about__img img {
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 auto !important;
        display: block !important;
        border-radius: 10px !important;
    }
    
    .about__img-overlay {
        display: none !important;
    }
}