/* ======================================================
   APP DOWNLOAD BANNER
   ====================================================== */
.app-download-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: url('../../../../../../content/dam/iffcotokio/iffco-images/new-banner-images/articel-image-bg.png') no-repeat center center / cover;
    box-sizing: border-box;
}

.app-banner-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px; /* Removed top padding to collapse excess background */
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

/* --- Left Side: Content & QR (Original Sizes Retained) --- */
.app-banner-content {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 0; /* Tightened vertical padding */
    z-index: 2;
}

/* QR Code (Original 200px) */
.app-qr-wrapper {
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 14px;
}

.app-qr-code {
    display: block;
    width: 200px;
    height: 200px;
    object-fit: contain;
}

/* Banner Text (Original 2.5rem) */
.app-banner-text {
    font-size: 2.5rem;
    font-weight: 900;
    color: #0b1517;
    margin: 0 0 18px 0;
    line-height: 1.35;
    letter-spacing: -0.2px;
}

/* Store Buttons Row (Original 55px) */
.app-store-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
}

.app-store-badge {
    height: 55px;
    width: auto;
    display: block;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* --- Right Side: Phone Mockups --- */
.app-banner-visual {
    flex: 0 0 52%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    align-self: flex-end;
    line-height: 0;
}

.app-phone-mockup {
    max-width: 100%;
    height: auto;
    max-height: 340px; /* Restores height limit so the background stops expanding */
    object-fit: contain;
    display: block;
}

/* ======================================================
   MOBILE RESPONSIVENESS
   ====================================================== */
@media screen and (max-width: 768px) {
    .app-banner-container {
        flex-direction: column;
        padding: 24px 16px 0 16px;
    }

    .app-banner-content {
        flex: 1 1 100%;
        width: 100%;
        padding-bottom: 20px;
    }

    .app-phone-mockup {
        width: 100%;
        max-width: 380px;
        max-height: 260px;
    }
}