/**
 * Bemo Info Sections Module - CSS Styles
 *
 * @author    Bemo
 * @copyright 2025 Bemo
 * @license   Proprietary
 */

.bemo-info-sections {
    width: 100%;
    overflow: hidden;
}

.bemo-info-section {
    width: 100%;
    padding: 60px 0;
    background-color: #ffffff;
}

.bemo-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 180px;
}

.bemo-section-image {
    flex: 0 0 auto;
    width: 35%;
    position: relative;
}

.bemo-section-image img {
    width: 100%;
    height: auto;
    display: block;
}

.bemo-section-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bemo-section-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #2c2c2c;
    margin: 0;
    text-transform: none;
}

.bemo-section-title::first-line {
    font-weight: 900;
    display: block;
}

.bemo-section-text {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.bemo-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background-color: #52c277;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(82, 194, 119, 0.3);
    text-transform: none;
    align-self: flex-start;
}

.bemo-cta-button:hover {
    background-color: #45a865;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(82, 194, 119, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.bemo-cta-button svg {
    transition: transform 0.3s ease;
}

.bemo-cta-button:hover svg {
    transform: translateX(5px);
}

/* Image Right Layout */
.bemo-section-image-right .bemo-section-container {
    flex-direction: row;
}

/* Image Left Layout */
.bemo-section-image-left .bemo-section-container {
    flex-direction: row;
}

/* Responsive styles */
@media (max-width: 991px) {
    .bemo-section-container {
        flex-direction: column !important;
        gap: 40px;
    }
    
    .bemo-section-image {
        width: 70%;
        max-width: 400px;
    }
    
    .bemo-section-title {
        font-size: 32px;
    }
    
    .bemo-info-section {
        padding: 40px 0;
    }
}

@media (max-width: 575px) {
    .bemo-section-image {
        width: 90%;
    }
    
    .bemo-section-title {
        font-size: 28px;
    }
    
    .bemo-section-text {
        font-size: 14px;
    }
    
    .bemo-cta-button {
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .bemo-info-section {
        padding: 30px 0;
    }
    
    .bemo-section-container {
        gap: 30px;
    }
}

/* Animation on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bemo-info-section {
    animation: fadeInUp 0.6s ease-out;
}
