@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400..700&display=swap');

*,
.ebpt3-points-section *,
.ebpt3-points-section *::before,
.ebpt3-points-section *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.ebpt3-points-section.en {

    direction: ltr;
}

.ebpt3-points-section {
    --ebpt3-bg: #FFFAF3;
    --ebpt3-title-main: #2A9658;
    --ebpt3-title-highlight: #06266B;
    --ebpt3-underline: transparent;

    --ebpt3-card-bg: #06266B;
    --ebpt3-card-border: rgba(71, 85, 105, .4);
    --ebpt3-point-title: #ffffff;
    --ebpt3-point-text: #ffffff;

    --ebpt3-number-bg-variant-a: #2A9658;
    --ebpt3-bullet-variant-a: #2A9658;

    --ebpt3-number-bg-variant-b: #475569;
    --ebpt3-bullet-variant-b: #475569;

    --ebpt3-number-text: #ffffff;
    --ebpt3-timeline-line: rgba(71, 85, 105, .35);

    --ebpt3-padding-top: 4rem;
    --ebpt3-padding-bottom: 4rem;
}


.ebpt3-points-section {
    font-family: "El Messiri", sans-serif;
    width: 100%;
    background: var(--ebpt3-bg);
    padding-top: var(--ebpt3-padding-top);
    padding-bottom: var(--ebpt3-padding-bottom);
    display: flex;
    flex-direction: column;
    gap: 2.6rem;
}

.ebpt3-points-container {
    width: calc(100% - 2rem);
    max-width: 90rem;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.ebpt3-points-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .6rem;
}

.ebpt3-title {
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--ebpt3-title-main);
    letter-spacing: -.01em;
}

.ebpt3-title-highlight {
    color: var(--ebpt3-title-highlight);
}

.ebpt3-underline {
    display: none;
}


.ebpt3-points-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
    width: 100%;
    position: relative;
}

.ebpt3-point-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: .6rem;
    width: 19rem;
    height: 19rem;
    max-width: 88vw;
    max-height: 88vw;
    padding: 8%;
    background-color: var(--ebpt3-card-bg);
    border: .0625rem solid var(--ebpt3-card-border);
    border-radius: 50%;
    box-shadow: 0 1rem 2.5rem rgba(26, 26, 46, .08);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.ebpt3-point-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    color: var(--ebpt3-number-text);
    font-size: clamp(1.05rem, 2.2vw, 1.2rem);
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 0 0 .25rem var(--ebpt3-card-bg);
}

.ebpt3-point-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .55rem;
    width: 100%;
}

.ebpt3-point-header-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .15rem;
}

.ebpt3-point-title-wrapper {
    color: var(--ebpt3-point-title);
    font-size: clamp(1.15rem, 3vw, 1.35rem);
    font-weight: 700;
    line-height: 1.2;
}


.ebpt3-point-list,
.ebpt3-ebpt3-point-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .3rem;
    list-style: none;
    width: 100%;
}

.ebpt3-point-list-item {
    display: flex;
    align-items: start;
    justify-content: center;
    gap: .35rem;
    color: var(--ebpt3-point-text);
    font-size: clamp(.9rem, 2.3vw, 1rem);
    line-height: 1.35;
    text-align: center;
}

.ebpt3-point-list-item::before {
    content: "";
    display: block;
    width: .3rem;
    height: .3rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.bg-secondary {
    background-color: var(--ebpt3-number-bg-variant-a);
}

.bg-primary {
    background-color: var(--ebpt3-number-bg-variant-b);
}

.list-secondary .ebpt3-point-list-item::before,
.list-secondary .ebpt3-ebpt3-point-list .ebpt3-point-list-item::before {
    background-color: var(--ebpt3-bullet-variant-a);
}

.list-primary .ebpt3-point-list-item::before,
.list-primary .ebpt3-ebpt3-point-list .ebpt3-point-list-item::before {
    background-color: var(--ebpt3-bullet-variant-b);
}


@media (min-width: 481px) {
    .ebpt3-point-card {
        width: 21rem;
        height: 21rem;
        max-height: 88vw;
        padding: 7.5%;
    }
}

@media (min-width: 601px) {
    .ebpt3-point-card {
        width: 23rem;
        height: 23rem;
        max-height: 88vw;
        padding: 7%;
    }
}


@media (min-width: 769px) {
    .ebpt3-points-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        gap: 2.4rem 1.5rem;
    }

    .ebpt3-point-card {
        width: 100%;
        height: auto;
        max-width: 19.5rem;
        max-height: none;
        aspect-ratio: 1 / 1;
        padding: 8%;
    }
}

@media (min-width: 1025px) {
    .ebpt3-points-section {
        --ebpt3-padding-top: 5rem;
        --ebpt3-padding-bottom: 5rem;
    }

    .ebpt3-points-grid {
        grid-template-columns: repeat(4, 1fr);
        align-items: start;
        gap: 1.5rem;
        padding-top: 2rem;
        padding-bottom: 4rem;
    }

    .ebpt3-points-grid::before {
        content: "";
        position: absolute;
        top: 50%;
        right: 8%;
        left: 8%;
        height: .0625rem;
        background: var(--ebpt3-timeline-line);
        z-index: 0;
    }

    .ebpt3-point-card {
        width: 100%;
        height: auto;
        max-width: 17.5rem;
        max-height: none;
        aspect-ratio: 1 / 1;
        padding: 7%;
        z-index: 1;
    }

    .ebpt3-point-list-item {
        font-size: clamp(.8rem, 1.6vw, .92rem);
    }

    .ebpt3-points-grid>.ebpt3-point-card:nth-child(odd) {
        transform: translateY(-1.6rem);
    }

    .ebpt3-points-grid>.ebpt3-point-card:nth-child(even) {
        transform: translateY(1.6rem);
    }
}

@media (min-width: 1281px) {
    .ebpt3-point-card {
        max-width: 20.5rem;
    }
}

@media (min-width: 1441px) {
    .ebpt3-point-card {
        max-width: 22.5rem;
    }
}

@media (min-width: 1921px) {
    .ebpt3-points-container {
        max-width: 100rem;
    }
}