/* Modern Banner Section with Centered Images */
.flat-img-with-text {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    overflow: hidden;
}

.flat-img-with-text .banner {
    width: 100%;
    max-width: 360px;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flat-img-with-text .banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.flat-img-with-text .banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.flat-img-with-text .banner:hover img {
    transform: scale(1.05);
}

.flat-img-with-text .banner-content {
    position: static;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    text-align: center;
    max-width: 420px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.flat-img-with-text .banner-content .content-text {
    margin-bottom: 24px;
    display: grid;
    gap: 12px;
}

.flat-img-with-text .banner-content .title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 8px;
}

.flat-img-with-text .banner-content .desc {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 0;
}

.flat-img-with-text .tf-btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #e2d7c2 0%, #f5a80d 100%);
    color: white;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.3);
}

.flat-img-with-text .tf-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgb(230 219 195, 0.4);
    text-decoration: none;
}

.flat-img-with-text .tf-btn .icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.flat-img-with-text .tf-btn:hover .icon {
    transform: translateX(4px);
}

/* Tablet and Desktop Layout */
@media (min-width: 768px) {
    .flat-img-with-text {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 40px;
        padding: 40px;
    }

    .flat-img-with-text .banner {
        width: 320px;
        height: 380px;
    }

    .flat-img-with-text .banner-content {
        max-width: 380px;
        padding: 50px 40px;
    }

    .flat-img-with-text .banner-content .title {
        font-size: 32px;
    }

    .flat-img-with-text .banner-content .desc {
        font-size: 18px;
    }
}

@media (min-width: 1024px) {
    .flat-img-with-text {
        gap: 35px;
        padding: 35px;
    }

    .flat-img-with-text .banner {
        width: 350px;
        height: 420px;
    }

    .flat-img-with-text .banner-content {
        max-width: 450px;
        padding: 60px 50px;
    }

    .flat-img-with-text .banner-content .title {
        font-size: 36px;
    }
}

/* Remove old positioning styles */
.flat-img-with-text .banner-left,
.flat-img-with-text .banner-right {
    padding: 0;
    margin: 0;
}

/* Animation improvements */
.flat-img-with-text .banner,
.flat-img-with-text .banner-content {
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

.flat-img-with-text .banner-left {
    animation-delay: 0.2s;
}

.flat-img-with-text .banner-content {
    animation-delay: 0.4s;
}

.flat-img-with-text .banner-right {
    animation-delay: 0.6s;
}