.ebc-layout {
    direction: rtl;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    position: relative;
}

.ebc-intro {
    width: 100%;
    min-height: 260px;
    background: #151922;
    border-radius: 28px;
    padding: 38px 42px 105px;
    position: relative;
    z-index: 1;
}
.ebc-intro-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
}

.ebc-intro-content {
    flex: 1 1 auto;
    max-width: 62%;
}

.ebc-intro-media {
    flex: 0 0 34%;
    display: flex;
justify-content: center;
  align-items: center;
  margin-top: -50px;
}

.ebc-intro-image {
    display: block;
    width: 80%;
    max-height: 235px;
    object-fit: cover;
}



.ebc-intro::before {
    content: "";
    position: absolute;
    inset: auto -80px -120px auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(244, 183, 64, 0.16);
}

.ebc-intro-subtitle {
    position: relative;
    margin-bottom: 18px;
    color: #f4b740;
    font-size: 15px;
    font-weight: 700;
}

.ebc-intro-title {
    position: relative;
margin: 30px 0 0;
    color: #fff;
    font-size: 2.5em;
    font-weight: 800;
    line-height: 1.35;
}

.ebc-intro-description {
    position: relative;
    margin: 0 0 34px;
    color: #fff !important;
    font-size: 14px;
    line-height: 2;
}

.ebc-intro-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 24px;
    border: 1px solid #f4b740;
    border-radius: 999px;
    color: #f4b740;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.ebc-intro-button:hover {
    background: #f4b740;
    color: #151922;
}

.ebc-cards {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: -75px;
    padding: 0 38px;
}

.ebc-card {
    display: flex;
    flex-direction: column;
    min-height: 210px;
    background: #fff;
    border: 1px solid #edf0f5;
    border-radius: 22px;
    padding: 70px 24px 28px;
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: visible;
}

.ebc-card-image-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: -70px;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}

.ebc-card-image {
    display: block;
    width: 118px;
    height: 118px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 18px 38px rgba(17, 24, 39, 0.18);
}


.ebc-card:hover {
    transform: translateY(-6px);
    border-color: rgba(244, 183, 64, 0.45);
    box-shadow: 0 24px 60px rgba(17, 24, 39, 0.11);
}


.ebc-card-title {
    margin: 0 0 12px;
    color: #111827;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.45;
}

.ebc-card-description {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.9;
}

@media (max-width: 1024px) {
    .ebc-layout {
        grid-template-columns: 1fr;
    }

    .ebc-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: -65px;
        padding: 0 24px;
    }
}

@media (max-width: 767px) {
    .ebc-intro {
        min-height: 220px;
        padding: 30px 22px 88px;
    }

    .ebc-intro-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .ebc-intro-content {
        max-width: 100%;
		text-align: center;
    }

    .ebc-intro-media {
        width: 100%;
        flex-basis: auto;
        justify-content: center;
    }

    .ebc-intro-image {
        max-height: 235px;
    }

    .ebc-cards {
        grid-template-columns: 1fr;
        margin-top: -55px;
        padding: 0 16px;
    }

    .ebc-card {
        padding-top: 64px;
    }

    .ebc-card-image-wrap {
        margin-top: -58px;
    }

    .ebc-card-image {
        width: 104px;
        height: 104px;
    }

    .ebc-cards {
        grid-template-columns: 1fr;
        margin-top: -55px;
        padding: 0 16px;
    }

    .ebc-card {
        min-height: auto;
    }
}
