form {
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), inset 0 5px 10px rgba(255, 255, 255, 0.5);
    max-width: 600px;
    margin: 50px auto;
    font-family: 'Poppins', sans-serif;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

form:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.15), transparent);
    z-index: -1;
    animation: rotate-gradient 10s infinite linear;
}

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

form h2 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

form input,
form textarea {
    width: 90%;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    background: #f9f9f9;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    outline: none;
}

form input:focus,
form textarea:focus {
    background: #ffffff;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.5), inset 0 0 5px rgba(0, 0, 0, 0.1);
}

form textarea {
    resize: vertical;
    min-height: 120px;
}

form .cta-btn {
    display: inline-block;
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(145deg, #3498db, #2980b9);
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.4);
    transition: all 0.3s ease;
}

form .cta-btn:hover {
    background: linear-gradient(145deg, #5dade2, #3498db);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(52, 152, 219, 0.5);
}

form .cta-btn:active {
    transform: translateY(1px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

form small {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 15px;
}

form small a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

form small a:hover {
    color: #2980b9;
}

@media (max-width: 768px) {

    form input,
    form textarea {
        width: 90%;
    }
}