/**
 * Left Image Stats Right Content Block Styles
 */

.left-image-stats-section {
    background-color: #3154A5;
    padding: 80px 0;
}

.left-image-stats-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Left Column */
.left-image-stats-left {
    flex: 1;
    max-width: 50%;
}

.left-image-stats-image-wrapper {
    position: relative;
}

.left-image-stats-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    box-shadow: 0 4px 4px 0 rgba(34, 56, 107, 0.45);
}

/* Stats Box */
.left-image-stats-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(-25%) translateX(-5px);
    width: 102%;
    background-color: var(--color-primary-red);
    border-radius: 8px;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.left-image-stats-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.left-image-stats-stats .stat-title {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 5px;
}

.left-image-stats-stats .stat-description {
    font-family: var(--font-content);
    font-size: 14px;
    color: var(--color-white);
    line-height: 1.3;
}

/* Right Column */
.left-image-stats-right {
    flex: 1;
    max-width: 50%;
}

.left-image-stats-title {
    font-family: var(--font-heading);
    font-size: 56px;
    color: var(--color-white);
    margin: 0 0 20px 0;
    line-height: normal;
}

.left-image-stats-content {
    font-family: var(--font-content);
    font-size: 16px;
    color: var(--color-white);
    line-height: 32px;
    margin-bottom: 30px;
}

.left-image-stats-content p {
    margin: 0 0 15px 0;
}

.left-image-stats-content p:last-child {
    margin-bottom: 0;
}

.left-image-stats-ctas {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

/* Responsive */
@media (max-width: 991px) {
    .left-image-stats-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .left-image-stats-left,
    .left-image-stats-right {
        max-width: 100%;
    }

    .left-image-stats-image-wrapper {
        margin-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .left-image-stats-section {
        padding: 60px 0;
    }

    .left-image-stats-title {
        font-size: 32px;
    }

    .left-image-stats-ctas {
        flex-direction: column;
        align-items: flex-start;
    }
    .left-image-stats-ctas .cta-primary {
        width: 100%;
    }

    .left-image-stats-stats {
        padding: 15px 20px;
        gap: 15px;
    }

    .left-image-stats-stats .stat-title {
        font-size: 24px;
    }

    .left-image-stats-stats .stat-description {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .left-image-stats-stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        transform: translateY(50%);
    }

    .left-image-stats-stats .stat-item {
        justify-content: flex-start;
        text-align: left;
        gap: 10px;
    }
}
