/* ==========================================================================
   cards1
   ========================================================================== */
.container1 {
    width: 90%;
    margin: 80px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container1 h1,
.container1 h2 {
    width: 80%;
    margin: 0 auto 100px auto;
    font-size: 48px;
    text-align: center;
}

.container-cards1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
}

.container-cards1 .card {
    padding: 32px;
    border: 1px solid #dcd7d7;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    margin: 0;
}

.container-cards1 .image::after {
    content: "";
    background-image: var(--image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 65%;
    filter: brightness(0) invert(1);
    position: absolute;
    height: 48px;
    width: 48px;
    top: -24px;
    right: 24px;
}

.container-cards1 .image::before {
    content: "";
    position: absolute;
    background-color: #E41925;
    border-radius: 50%;
    height: 48px;
    width: 48px;
    top: -24px;
    right: 24px;
}

.container-cards1 .card h2,
.container-cards1 .card h3{
    font-size: 1.3rem;
    font-weight: 700;
    margin: 8px 0 10px 0;
    position: relative;
    line-height: 1.3;
}

.container-cards1 .card h2::after,
.container-cards1 .card h3::after {
    content: attr(data-number);
    font-family: 'Plus Jakarta Sans', sans-serif;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(228, 25, 37, 0.05);
    white-space: nowrap;
    pointer-events: none;
}

.container-cards1 .card p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    width: 100%;
    margin: 0;
    font-weight: 300;
}

@media (max-width: 800px) {
    .container1 { margin: 40px auto; }
    .container1 h2,
    .container1 h1 { font-size: 28px; margin-bottom: 40px; width: 100%; }
    .container-cards1 { width: 100%; }
    .container-cards1 .card { flex: 0 0 100%; max-width: 100%; }
}
