/* 1. Section Layout & Background */
.blu-cta-section {
    position: relative;
    padding: 32px 16px; 
    background-color: rgb(8, 77, 179); 
    overflow: hidden;
    width: 100%;
}

/* Background Pattern (Absolute, Opacity 0.5) */
.blu-cta-bg-wrapper {
    position: absolute;
    inset: 0; 
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.blu-cta-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Flip Background Pattern in RTL (Optional, looks better for directional patterns) */
:lang(ar) .blu-cta-bg-img {
    transform: scaleX(-1);
}

/* 2. Container & Flex Grid */
.blu-cta-container {
    position: relative;
    z-index: 10;
    max-width: 1300px; 
    margin-left: auto;
    margin-right: auto;
}

.blu-cta-flex-wrapper {
    display: flex;
    flex-direction: column; /* Mobile first: col */
    align-items: center;
    gap: 32px; 
}

/* 3. Text Column */
.blu-cta-text-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px; 
    /* SMART ALIGNMENT: Left in LTR, Right in RTL automatically */
    text-align: start; 
}

/* Heading Typography */
.blu-cta-heading {
    font-size: 30px; 
    line-height: 1.2;
    letter-spacing: -0.04em;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
}

/* Description Typography */
.blu-cta-description {
    font-size: 16px; 
    line-height: 1.4;
    color: #ffffff;
    margin: 0;
}

/* Remove default p margins inside description */
.blu-cta-description p {
    margin: 0;
}

/* 4. Image Column */
.blu-cta-image-col {
    flex-shrink: 0;
}

/* The specific sizing container */
.blu-cta-image-sizer {
    position: relative;
    width: 250px;
    height: 296px;
}

.blu-cta-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* =================================================================== */
/* Responsive Breakpoints
/* =================================================================== */

/* Small Screens (sm: 640px) */
@media (min-width: 640px) {
    .blu-cta-heading {
        font-size: 36px;
    }
    .blu-cta-description {
        font-size: 18px;
    }
    .blu-cta-image-sizer {
        width: 300px;
        height: 355px;
    }
}

/* Medium Screens (md: 768px) */
@media (min-width: 768px) {
    .blu-cta-section {
        padding: 48px 48px;
    }
    .blu-cta-flex-wrapper {
        gap: 48px;
    }
  
    .blu-cta-heading {
        font-size: 48px;
    }
    .blu-cta-description {
        font-size: 20px;
    }
    .blu-cta-image-sizer {
        width: 345px;
        height: 409px;
    }
}

/* Large Screens (lg: 1024px) */
@media (min-width: 1024px) {
    .blu-cta-flex-wrapper {
        flex-direction: row; /* Switch to Row */
    }
}

:lang(ar) .blu-cta-heading {
    font-family: 'Noto Sans Arabic', sans-serif;
    letter-spacing: 0;
    font-weight: 400;
}
:lang(ar) .blu-cta-description {
    font-family: 'Noto Sans Arabic', sans-serif;
    font-weight: 400;
}