/* .creative-section {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
    background-color: transparent;
    color: white !important;
    background-size: 5vw 5vw;
    background-position: 0 0;
    background-image:
        linear-gradient(to right, #272727bd 1px, transparent 1px),
        linear-gradient(to bottom, #272727bd 1px, transparent 1px);
} */

.creative-section {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
    /* background-color: #201232; */
    background-color: transparent;
    color: white !important;
    background-size: 15vw 15vw;
    background-position: 0 0;
    position: relative;
}

/* #creative-section h2 {
    width: 80%;
    text-align: center;
} */

/* Create the grid pattern with pseudo-element */
.creative-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(to right, #272727bd 1px, transparent 1px),
        linear-gradient(to bottom, #272727bd 1px, transparent 1px);
    background-size: 15vw 15vw;
    z-index: -1;
}

/* Create the fade effect with another pseudo-element */
.creative-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    /* Adjust this value to control fade height */
    background:
        linear-gradient(to bottom, #070707 0%, transparent 100%),
        linear-gradient(to top, #070707 0%, transparent 100%);
    z-index: -1;
    pointer-events: none;
}


@media (max-width: 576px) {
    .creative-section {
        padding: 40px 0;
    }
}

.glitch {
    font-size: 3em;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
        0.025em 0.04em 0 #fffc00;
    animation: glitch 725ms infinite;
}

.glitch span {
    position: absolute;
    top: 0;
    left: 0;
}

.glitch span:first-child {
    animation: glitch 500ms infinite;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
    transform: translate(-0.04em, -0.03em);
    opacity: 0.75;
}

.glitch span:last-child {
    animation: glitch 375ms infinite;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
    transform: translate(0.04em, 0.03em);
    opacity: 0.75;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
            0.025em 0.04em 0 #fffc00;
    }

    15% {
        text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
            0.025em 0.04em 0 #fffc00;
    }

    16% {
        text-shadow: -0.05em -0.025em 0 #00fffc, 0.025em 0.035em 0 #fc00ff,
            -0.05em -0.05em 0 #fffc00;
    }

    49% {
        text-shadow: -0.05em -0.025em 0 #00fffc, 0.025em 0.035em 0 #fc00ff,
            -0.05em -0.05em 0 #fffc00;
    }

    50% {
        text-shadow: 0.05em 0.035em 0 #00fffc, 0.03em 0 0 #fc00ff,
            0 -0.04em 0 #fffc00;
    }

    99% {
        text-shadow: 0.05em 0.035em 0 #00fffc, 0.03em 0 0 #fc00ff,
            0 -0.04em 0 #fffc00;
    }

    100% {
        text-shadow: -0.05em 0 0 #00fffc, -0.025em -0.04em 0 #fc00ff,
            -0.04em -0.025em 0 #fffc00;
    }
}


@media (max-width: 576px) {
    #visuals-feature-container {
        margin-top: 10em !important;
    }
}


.extra-feature {
    /* flex: 1; */
    background-color: transparent !important;
    /* border: 2px solid #272727bd; */
    /* border-radius: 8px; */
    /* backdrop-filter: blur(5px); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    gap: 2em;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* aspect-ratio: 1920/1080; */

}


.creative-section h3 {
    margin-bottom: 15px;
    color: white;
}

.creative-section p {
    color: white;
    margin-bottom: 0 !important;
}

/* For smaller screen */
@media (max-width: 576px) {
    .extra-features {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        /* gap: 2em; */
        margin: 40px 0;
        flex-wrap: wrap;
        background-color: transparent;
    }

    .extra-feature {
        padding: 40px;
        width: 70%;
    }

    .creative-section h3 {
        font-size: 1.2em;
    }

    .creative-section p {
        font-size: 0.8em;
    }

    .script-textarea {
        width: 100%;
    }
}

/* For larger screen */
@media (min-width: 576px) {
    .extra-features {
        display: flex;
        background-color: transparent;
        justify-content: center;
        margin: 40px 0;
        width: 100%;
        flex-wrap: wrap;
        /* gap: 2em; */
    }

    .extra-feature {
        /* margin: 0 20px; */
        padding: 30px;
        width: 15%
    }

    .extra-feature p {}

    .creative-section h3 {
        font-size: 1.5em;
    }

    .creative-section p {
        font-size: 1em;
    }

    .script-textarea {
        width: 80%;
    }
}

.extra-feature h3 {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 0 !important;
}

.extra-feature::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(0, 0, 0, 0.6); */
    /* Darken the background, adjust alpha value as needed */
    z-index: 1;
    border-radius: 20px;
}

.extra-feature h3,
.extra-feature p {
    position: relative;
    z-index: 2;
    /* Ensure the text appears above the overlay */
}


#media {
    background-image: url('../img/stock-media_1.png');
    background-size: contain;
}

#tools {
    background-image: url('../img/editing-tools_1.png');
    background-size: contain;
}

.gen-ai {
    /* background-image: url('../img/gen-ai.jpg'); */
    /* background-size: contain; */
}

#cloning {
    background-image: url('../img/voice_cloning.png');
    background-size: contain;
}

#workflow {
    background-image: url('../img/workflows_1.png');
    background-size: contain;
}


.extra-feature:hover {
    /* background: linear-gradient(45deg, #00fffc, #fc00ff, #fffc00); */
    /* animation: buttonGlow 3s infinite; */
}

.icon-container {
    width: 40px;
    height: 40px;
    margin: 0 auto 30px;
    position: relative;
    overflow: hidden;
}

.icon-container p {
    color: white;
}

.icon {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.5s ease;
}

/* #media .icon { background-image: url('media-icon.png'); }
#tools .icon { background-image: url('tools-icon.png'); }
#workflow .icon { background-image: url('workflow-icon.png'); } */

.extra-feature:hover .icon {
    transform: scale(1.2) rotate(10deg);
}


.creative-section .cta-button {
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: 600;
    color: #0f0f0f;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    background: linear-gradient(45deg, #6200ee, #fc00ff, #fffc00);
    transition: transform 0.3s ease;
    /* animation: buttonGlow 3s infinite; */
}

.creative-section .cta-button:hover {
    transform: scale(1.05);
}

@keyframes buttonGlow {
    0% {
        box-shadow: 0 0 5px #6200ee;
    }

    33% {
        box-shadow: 0 0 20px #fc00ff;
    }

    66% {
        box-shadow: 0 0 20px #fffc00;
    }

    100% {
        box-shadow: 0 0 5px #6200ee;
    }
}