#innovation {
    background-image: url(../assets/mramor.jpg);
    position: relative;
    box-shadow: 0px 4px 6px 3px rgba(0, 0, 0, 0.15), 0px 1px 3px 0px rgba(0, 0, 0, 0.30), 0px 0px 6px 3px rgba(0, 0, 0, 0.15);
}

body.dark #innovation {
    background-image: url(../assets/marble_dark.png);
}

.first_part {
    width: 100%;
    overflow: hidden;
}

.innovation_wrapper {
    padding: 50px 0;
    max-width: 1256px;
    position: relative;
    margin: 0 auto;
}

.mramor_div {
    position: absolute;
    top: 50px;
    object-fit: none;
    height: 190px;
}

body.dark .mramor_div {
    opacity: 0.2;
}

.innovation_head {
    padding: 64px 0 48px;
    position: relative;
    z-index: 3;
}

.cards-section {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 12px;
}

.innov_card {
    border-radius: 30px;
    transition: transform 0.6s ease-in-out;
    max-width: 680px;
    height: 136px;
    padding: 8px;
    box-shadow: 0px 4px 8px 3px rgba(0, 0, 0, 0.15), 0px 1px 3px 0px rgba(0, 0, 0, 0.30);
    border-radius: 30px;
    background: linear-gradient(0deg, #ffffff 0%, #ffffff 100%), linear-gradient(249deg, #f4f4f4d9 0%, #F5F5F5 85.7%);
}

body.dark .innov_card {
    background: url(../assets/paper_black.jpg);
    background-size: cover;
}

.innov_card_border {
    background: linear-gradient(180deg, #4D4336 0%, #714A27 63.5%, #AA8E75 79%, #5E5548 98.5%);
    width: 100%;
    height: 100%;
    border-radius: 25px;
    padding: 3px;
}

body.dark .innov_card_border {
    background: #877751;
}

.innov_card_body {
    border-radius: 22px;
    background: linear-gradient(0deg, #ffffff 0%, #ffffff 100%), linear-gradient(249deg, #f4f4f4d9 0%, #F5F5F5 85.7%);
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 8px;
    justify-content: center;
    font-family: Evolventa;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

body.dark .innov_card_body {
    background: url(../assets/paper_black.jpg);
    background-size: cover;
}

.card_what span {
    color: var(--red-70);
    font-weight: 700;
}

body.dark .card_what span {
    color: #BD9C49;
}

.innov_card_body:after {
    content: "";
    position: absolute;
    bottom: 4px;
    height: calc(100% - 10px);
    left: 4px;
    border: 1px dotted #997759;
    border-radius: 19px;
    width: calc(100% - 10px);
    pointer-events: none;
}

body.dark .innov_card_body:after {
    border: 1px dotted #877751;
}

.innov_card:nth-of-type(odd) {
    transform: translateX(400%) rotate(30deg);
}

.innov_card:nth-of-type(even) {
    transform: translateX(-400%) rotate(30deg);
}

.innov_card.show {
    transform: translateX(0) rotate(0deg);
}

.innovation_text {
    max-width: 1110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    gap: 16px;
    padding: 0 32px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.innovation_text h2 {
    text-shadow: 0px 8px 12px rgba(0, 0, 0, 0.15), 0px 4px 4px rgba(0, 0, 0, 0.30);
}

@media (max-width: 730px) {

    .mramor_div {
        position: absolute;
        top: 50px;
        object-fit: none;
        height: 185px;
    }

    .cards-section {
        padding: 0 16px;
    }

    .innov_card {
        border-radius: 16px;
        height: fit-content;
    }

    .innov_card_border {
        border-radius: 12px;
    }

    .innov_card_body {
        border-radius: 8px;
    }

    .innov_card_body:after {
        border-radius: 8px;
    }

    .innovation_text {
        gap: 8px;
        padding: 0 16px;
    }

    .innovation_head {
        padding: 64px 0 32px;
    }
}