@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);
    }
}

:root {
    --primary-color: var(--bs-primary);
    --secondary-color: var(--bs-secondary);
    --text-color: #333;
    --success-color: #4CAF50;
}

.contact-container {
    max-width: 900px;
    width: 100%;
}

.form-section {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.form-header {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem;
    text-align: center;
}

.form-header h2 {
    margin: 0;
    font-weight: 600;
}

.form-content {
    padding: 2.5rem;
}

.form-floating {
    margin-bottom: 1.5rem;
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 0.8rem 1rem;
    height: auto;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(108, 99, 255, 0.25);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    background-color: var(--primary-color);
    border: none;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
}

.btn-submit:hover {
    background-color: #5a52d5;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.5);
}

.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.contact-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.form-check-label {
    font-size: 0.9rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.thank-you-message {
    display: none;
    background-color: #f0f8ff;
    border-left: 5px solid var(--success-color);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.thank-you-message h4 {
    color: var(--success-color);
    margin-bottom: 0.5rem;
}
