.form-section {
    background: white;
}
.form-info {
    color: black;
}

@media screen and (max-width: 837px) {
    .form-info {
        display: none;
    }
}

.hero-img {
    min-height: 500px;
    background-image: url("/media/new/ai_automate.mp4");
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: 1px 1px 10px 20px rgb(226, 254, 226);
}

/* video hero bg */
.hero-img {
    min-height: 500px;
    border-radius: 20px;
    box-shadow: 1px 1px 10px 20px rgb(226, 254, 226);
    overflow: hidden; /* very important – prevents video overflow */
    position: relative; /* positioning context for absolute children */
    background-color: #000; /* fallback color while video loads */
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* this makes it behave like background-size: cover */
    object-position: center;
    z-index: 1; /* behind content */
}

/* Optional: darken video a bit so text is more readable */
/* .hero-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 1;
} */

/* Make sure your content is above both video & overlay */
.z-2 {
    z-index: 2;
}

@media screen and (max-width: 600px) {
    .hero-img {
        min-height: 300px;
        margin-top: 20px;
    }
}

.info-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 1px 1px 10px 5px rgb(226, 254, 226);
    margin: 20px 0;
}

.each-what-you-learn-img {
    width: 100%;
    margin-bottom: 10px;
    min-height: 200px;
    background-image: url("/media/new/n8naut.webp");
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: 1px 1px 10px rgb(226, 254, 226);
}

#automation-form {
    background-image: url("/media/new/embed-automation.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: black;
}

.automation-form-holder {
    background: rgba(0, 0, 0, 0.821);
}
