@media (max-width:991px) {
    body.poster {
        margin-top: 60vh;
    }
}

body.poster {
    background-attachment: fixed;
}

.top-5 {
    top: 5px;
}

.contact-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    box-sizing: border-box;
    transform: translateY(-30px);
    opacity: 0;
    animation: slideUp 0.6s forwards;
}

.contact-form h2 {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    transform: translateX(-20px);
    animation: fadeIn 1s ease-in-out 0.3s forwards;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #f06;
    box-shadow: 0 0 10px rgba(240, 6, 102, 0.5);
    outline: none;
}

input[type="text"]:focus::placeholder,
input[type="email"]:focus::placeholder,
textarea:focus::placeholder {
    opacity: 0.5;
}

input::placeholder,
textarea::placeholder {
    color: #aaa;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

textarea {
    resize: none;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    background-color: #f06;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background-color: #e05a88;
    transform: scale(1.05);
}

.submit-btn:active {
    transform: scale(1);
}

/* Fade-in and slide-up animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
