:root {
    --body-color: #000000;
    --page-primary-bg: #2D40E7;
}

.section--holder h1,
.section--holder .h1,
.section--holder h2,
.section--holder .h2,
.section--holder h3,
.section--holder .h3,
.section--holder h4,
.section--holder .h4,
.section--holder h5,
.section--holder .h5,
.section--holder h6,
.section--holder .h6,
.section--holder {
    color: var(--white-color);
}

body {
    background-color: var(--body-color);
}

.button {
    border-radius: unset !important;
    font-family: 'Gilroy' !important;
    padding: 12px 16px !important;
}

.button-primary,
.button-primary:hover {
    background: var(--page-primary-bg) !important;
    color: var(--white-color) !important;
    font-weight: 600;
}

.button-secondary,
.button-secondary:hover {
    background-color: var(--white-color) !important;
    color: var(--page-primary-bg) !important;
    font-weight: 600;
    border-radius: 50px !important;
}

.ai-game,
.cta-block:not(.bg-none),
.hero-wrap {
    background-image: url(../images/ai-game-dev/ai-hero-bg.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.rounded-20 {
    border-radius: 20px;
}

.cta-1 {
    background-image: url(../images/ai-game-dev/cta-1.webp) !important;
}

.cta-2 {
    background-image: url(../images/ai-game-dev/cta-2.webp) !important;
}

.cta-4 {
    background-image: url(../images/ai-game-dev/cta-4.webp) !important;
}

.cta-1>img:nth-child(1),
.cta-1>img:nth-child(3) {
    position: absolute;
    bottom: 0;
    right: 0;
    max-height: 100%;
}

.cta-1>img:nth-child(1) {
    right: unset;
    left: 0;
}

.adv-card {
    padding: 50px 20px;
    border: 1px solid var(--white-color);
}

.adv-grid {
    display: grid;
    grid-template-areas:
        'one img two'
        'three img four'
        '. five .';
    gap: 30px;
}

.adv-grid .adv-item:nth-child(1) {
    grid-area: one;
}

.adv-grid .adv-item:nth-child(2) {
    grid-area: two;
}

.adv-grid .adv-item:nth-child(3) {
    grid-area: three;
}

.adv-grid .adv-item:nth-child(4) {
    grid-area: four;
}

.adv-grid .adv-item:nth-child(5) {
    grid-area: five;
}

.adv-grid .adv-item:nth-child(6) {
    grid-area: img;
}

.adv-grid .adv-item:nth-child(6) .adv-img img {
    height: 100%;
    object-fit: contain;
}

.ai-game {
    background-image: url(../images/ai-game-dev/word-bg.webp);
}

.list-disc li::before {
    content: '';
    height: 15px;
    width: 15px;
    flex-shrink: 0;
    border-radius: 50px;
    background-color: var(--white-color);
    margin-top: 7px;
}

.list-disc li {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.list-disc li:last-child {
    margin-bottom: 0;
}

.ai-games-card {
    height: 100%;
    padding: 71px 35px 40px;
    background: #00000033;
    backdrop-filter: blur(24px);
    clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 25%, 75% 0);
}

.tech-flex {
    background-image: url(../images/ai-game-dev/tech-bg.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    gap: 100px;
    border-radius: 80px;
}

.tech-wrap {
    width: 50%;
    padding: 30px;
    background: #000;
    position: relative;
    z-index: 2;
    --radius: 80px;
}

.tech-wrap .tech-content {
    background: var(--white-color);
    padding: 40px 50px;
    border-radius: 50px;
    color: #000;
}

.tech-flex .tech-wrap:nth-child(odd) {
    align-self: end;
    border-radius: var(--radius) 0 0 var(--radius);
}

.tech-flex .tech-wrap:nth-child(even) {
    border-radius: 0 var(--radius) var(--radius) 0;
}

.tech-flex .tech-wrap:first-child {
    border-radius: 0 0 0 var(--radius);
}

.tech-flex .tech-wrap:last-child {
    border-radius: var(--radius) 0 0 0;
}

.tech-flex .tech-wrap:nth-child(odd)::after,
.tech-flex .tech-wrap:nth-child(odd)::before,
.tech-flex .tech-wrap:nth-child(even)::after,
.tech-flex .tech-wrap:nth-child(even)::before {
    content: '';
    height: calc((var(--radius) * 2) + 40px);
    width: calc(var(--radius) * 2);
    background: transparent;
    position: absolute;
    left: 0;
    border-radius: 0 0 0 var(--radius);
    bottom: 100%;
    box-shadow: 0 100px 0 black;
    z-index: -1;
}

.tech-flex .tech-wrap:nth-child(even)::after {
    bottom: unset;
    top: 100%;
    box-shadow: 0 -100px 0 black;
    border-radius: var(--radius) 0 0 0;
}

.tech-flex .tech-wrap:nth-child(odd)::after {
    bottom: unset;
    left: unset;
    top: 100%;
    right: 0;
    box-shadow: 0 -100px 0 black;
    border-radius: 0 var(--radius) 0 0;
}

.tech-flex .tech-wrap:nth-child(odd)::before {
    border-radius: 0 0 var(--radius) 0;
    right: 0;
    left: unset;
}

.tech-flex .tech-wrap:first-child::before,
.tech-flex .tech-wrap:last-child::after {
    bottom: 0;
    top: unset;
    right: 100%;
    width: calc((var(--radius) * 2) + 40px);
    height: calc(var(--radius) * 2);
    background: transparent;
    border-radius: 0 0 var(--radius) 0;
    box-shadow: 100px 0 0 black;
}

.tech-flex .tech-wrap:first-child::before {
    border-radius: 0 var(--radius) 0 0;
    top: 0;
}

/* Faq */

.accordion-flush .accordion-item .accordion-button.collapsed {
    padding: 32px 0;
    font-size: 22px;
    font-weight: 600;
}

.faq .accordion-button,
.faq .accordion-item {
    background: transparent !important;
    color: #fff !important;
}

.faq-blocks .accordion-item {
    border-top: 1px solid #ffffff70 !important;
}

.faq-blocks .accordion:last-child {
    border-bottom: 1px solid #ffffff70 !important;
}

.faq-blocks .accordion-button {
    padding: 30px 0 !important;
    font-size: 20px !important;
    gap: 15px;
}

.faq-blocks .accordion-button::after {
    filter: brightness(0) invert(1);
}

.faq-blocks .accordion-body {
    padding: 0 300px 30px 0 !important;
    color: inherit;
}
@media (max-width: 767px) {
    .tech-wrap {
        width: 75%;
    }

    .adv-grid {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 575px) {

    .tech-wrap::before,
    .tech-wrap::after {
        content: unset !important;
    }

    .tech-flex .tech-wrap {
        width: 100%;
        border-radius: 40px !important;
        padding: 20px;
        align-self: unset !important;
    }

    .tech-wrap .tech-content {
        border-radius: 20px;
        padding: 10px 0;
        background: transparent;
    }

    .tech-flex {
        justify-content: center;
        align-items: center;
        gap: 20px;
        border-radius: 40px;
        padding: 20px;
    }

}