.form-container {
    width: 75%;
    height: auto;
    margin: 2%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(71, 33, 127, 0.3);
    color: rgb(9, 16, 74);
    /*    
      /* Make it slightly transparent */
    /* Move it down by 20px */

    opacity: 0;
    animation-delay: 1s;
    transform: translateY(80px);
}

.form-container.active {
    opacity: 1;
    animation: fadeInUp 2s forwards;
    transform: translateY(0px);
}
@keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

.form-container:hover {
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.364);
    transform: scale(1.02) !important;
}


.form-title {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 2em;
    font-weight: 900;
    color: rgb(0, 0, 0);
}

.form-group {
    margin-bottom: 1.5em;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: rgb(0, 0, 0);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75em;
    border: 2px solid #15196bbe;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #130a6a;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 0.75em;
    background-color: #266fe3;
    color: rgb(43, 10, 100);
    border: none;
    border-radius: 8px;
    border: 1px solid black;
    box-shadow: black;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #0051ff;
    background-color: #0051ff;
    box-shadow: 0 0 12px rgba(56, 119, 255, 0.8),
        0 0 24px rgba(76, 127, 238, 0.6);
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60vw;
    gap: 2rem;
    padding: 2rem;
}

.formcomb {
    display: flex;
}


.video-box {
    width: 100%;
    height: 20%;
    max-width: 600px;
    margin-top: 2rem;
}

video {
    justify-self: center;
    width: 80%;
    height: 50vh;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .form-container {
        width: 90%;
        padding: 1em;
    }

    .hero {

        flex-direction: column;
        justify-content: center;
        flex-direction: column;
        align-self: center;
        width: 94vw;
    }
}

.video-box {
    translate: 0;
}