﻿/* About Section Custom Styles */
.custom-about-section {
    padding: 80px 0 !important;
    background-color: #f9f9f9 !important;
}

.custom-about-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    justify-content: center !important;
}

.custom-about-image {
    flex: 1 1 45% !important;
    min-height: 400px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
}

.custom-about-image img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.custom-about-content {
    flex: 1 1 45% !important;
    padding: 20px 30px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* For medium screens and below */
@media (max-width: 991px) {
    .custom-about-wrapper {
        flex-direction: column !important;
    }
    
    .custom-about-image {
        flex: 1 1 100% !important;
        min-height: 300px !important;
        order: 1 !important;
    }
    
    .custom-about-content {
        flex: 1 1 100% !important;
        order: 2 !important;
        padding: 30px 20px !important;
    }
}

/* For small screens */
@media (max-width: 576px) {
    .custom-about-section {
        padding: 60px 0 !important;
    }
    
    .custom-about-image {
        min-height: 250px !important;
    }
    
    .custom-about-content {
        padding: 20px 15px !important;
    }
}