/* ---------- EXECUTE IDEAS BLOCK ---------- */
.ei-block {
    padding: 80px 0;
    background: #ffffff;
    overflow: hidden;
}

/* TOP ROW */
.ei-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 30px;
    flex-wrap: wrap;
}

.ei-eyebrow {
    display: block;
    color: var(--ei-eb-color);
    font-size: var(--ei-eb-size);
    font-family: var(--ei-eb-font);
    font-weight: 600;
    margin-bottom: 15px;
}

.ei-heading {
    color: var(--ei-hd-color);
    font-size: var(--ei-hd-size);
    font-family: var(--ei-hd-font);
    font-weight: 800;
    max-width: 600px;
    margin: 0;
}

.ei-btn {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    color: var(--ei-btn-color);
    font-size: var(--ei-btn-size);
    font-family: var(--ei-btn-font);
    border: 1px solid var(--ei-btn-border);
    transition: all 0.3s ease;
}

.ei-btn:hover {
    background: var(--ei-btn-border);
    color: #ffffff;
}

/* BOTTOM ROW (SPLIT) */
.ei-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
}

/* ICON LIST */
.ei-list-column {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.ei-list-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.ei-icon-box {
    width: 65px;
    height: 65px;
    background: #f4f5f7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ei-icon-box i {
    font-size: 28px;
    color: var(--ei-eb-color);
}

.ei-png-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.ei-list-heading {
    margin: 0 0 8px 0;
    color: var(--ei-lh-color);
    font-size: var(--ei-lh-size);
    font-family: var(--ei-lh-font);
    font-weight: 700;
}

.ei-list-desc {
    margin: 0;
    color: var(--ei-ld-color);
    font-size: var(--ei-ld-size);
    font-family: var(--ei-ld-font);
    line-height: 1.6;
}

/* OVERLAPPING MEDIA GRID */
.ei-media-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
}

/* Left Image (Crosses OVER the right image from the Right) */
.ei-img-left-wrapper {
    position: relative;
    z-index: 2; /* Forces left image on top */
    margin-right: -25%; /* Creates the overlap */
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ei-img-left {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 60px 0 0 0; /* Maintains ONLY top-left rounded corner */
    box-shadow: 10px 10px 40px rgba(0,0,0,0.1);
}

.ei-bottom-text {
    color: var(--ei-bot-color);
    font-size: var(--ei-bot-size);
    font-family: var(--ei-bot-font);
    line-height: 1.6;
    margin: 0;
    padding-right: 20px;
}

/* Right Image (Slides UNDER the left image from the Left) */
.ei-img-right-wrapper {
    position: relative;
    z-index: 1; /* Stays underneath */
}

.ei-img-right {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0 0 60px 0; /* Maintains ONLY bottom-right rounded corner */
}

/* ---------- ANIMATION LOGIC ---------- */

/* 1. Text Animations (Fade up) */
.ei-anim-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 2. Left Image Animation (Fade-slide FROM the RIGHT crossing OVER) */
.ei-anim-img-left {
    opacity: 0;
    transform: translateX(80px); /* Starts pushed to the right */
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 3. Right Image Animation (Fade-slide FROM the LEFT) */
.ei-anim-img-right {
    opacity: 0;
    transform: translateX(-80px); /* Starts pushed to the left */
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 0.2s; /* Slight delay so they cross paths dynamically */
}

/* Trigger classes added by JS */
.ei-anim-text.is-visible,
.ei-anim-img-left.is-visible,
.ei-anim-img-right.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Stagger list items slightly */
.ei-list-item:nth-child(1) { transition-delay: 0.1s; }
.ei-list-item:nth-child(2) { transition-delay: 0.2s; }
.ei-list-item:nth-child(3) { transition-delay: 0.3s; }
.ei-list-item:nth-child(4) { transition-delay: 0.4s; }

/* Responsive Overrides */
@media (max-width: 960px) {
    .ei-bottom-row {
        grid-template-columns: 1fr;
    }
    
    .ei-img-left-wrapper {
        margin-right: -10%;
    }
}
@media (max-width: 600px) {
    .ei-media-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .ei-img-left-wrapper {
        margin-right: 0;
    }
}