.form {
    background: linear-gradient(360deg, #e8f4fd 0%, #f0e6ff 100%);
    height: 50vh;
}

.form-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    height: 100%;
}

.form-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 75%;
    align-items: center;
    justify-items: center;
}

/* Left Side - Text Content */
.form-text {
    padding: 0 20px;
}

.form-title {
    font-size: 3.2em;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #2d3748;
    letter-spacing: -0.02em;
}

.form-subtitle {
    font-size: 1.3em;
    color: #4a5568;
    line-height: 1.6;
    font-weight: 400;
}

/* Right Side - Form */
.form-wrapper {
    display: flex;
    justify-content: center;
    align-self: center;
}
/* button */
.submit-btn {
    width: 100%;
    padding: 25px 50px;
    font-size: 1.4em;
    text-decoration: none;
    border: none;
    outline: none;
    color: #fff;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 12px;
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.submit-btn-text {
    position: relative;
    z-index: 1;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: color 0.3s ease-in-out;
    color: #fff;
    text-decoration: none;
}

.submit-btn::after {
    content: "";
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #333;
    left: 0;
    top: 0;
    border-radius: 10px;
}
/* glow */
.submit-btn::before {
    content: "";
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 600%;
    z-index: -1;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    filter: blur(8px);
    animation: glowing 20s linear infinite;
    transition: opacity 0.3s ease-in-out;
    border-radius: 10px;
    opacity: 1;
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 400% 0;
    }
    100% {
        background-position: 0 0;
    }
}

/* hover */
.submit-btn:hover {
    transform: translateY(-5px);
}

.submit-btn:active:after {
    background: transparent;
}

.submit-btn:active {
    color: #000;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 968px) {
    .form-content {
        grid-template-columns: 1fr;
        align-items: center;
        justify-items: center;
        height: 90%;
    }

    .form-text {
        order: 1;
        width: 80%;
    }

    .form-wrapper {
        order: 2;
    }

    .form-title {
        font-size: 2.8em;
    }

    .submit-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .form-container {
        padding: 20px 15px;
    }

    .form-content {
        gap: 30px;
    }

    .form-wrapper {
        padding: 25px 20px;
    }

    .form-title {
        font-size: 2.2em;
    }

    .form-subtitle {
        font-size: 1.1em;
    }

    .submit-btn {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .form-title {
        font-size: 1.8em;
    }

    .form-text {
        width: 80%;
    }

    .form-wrapper {
        padding: 20px 15px;
        width: 80%;
    }

    .submit-btn {
        text-align: center;
    }
}

@media (max-width: 380px) {
    .form {
        height: 70vh;
    }
}
