@media (max-width:991px) {
    body.poster {
        margin-top: 60vh;
    }
}
:root {
    --primary-color: var(--bs-primary);
    --secondary-color: var(--bs-secondary);
}

body.poster {
    background-attachment: fixed;
}

.top-5 {
    top: 5px;
}

.form-container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1.2s ease-in-out;
}

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

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

.form-control:focus {
    border-color: #2de6a5;
    box-shadow: 0 10px 8px rgba(45, 230, 165, 0.8);
}

.btn-custom {
    background: #2de6a5;
    border: none;
    transition: 0.3s;
}

.btn-custom:hover {
    background: #ff5f7e;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
    position: relative;
}

.contact-form {
    background-color: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-control {
    border: none;
    border-radius: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 0.5rem;
    font-size: 1rem;
    box-shadow: none !important;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
}

.form-label {
    color: var(--dark-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    border: none;
    border-radius: 30px;
    padding: 0.75rem 2.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(58, 110, 165, 0.3);
}

/* Modal styling */
.thank-you-modal .modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.thank-you-modal .modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 1.5rem;
}

.thank-you-modal .modal-body {
    padding: 2rem;
}

.thank-you-modal .modal-footer {
    border: none;
    padding: 1.5rem;
}

.btn-modal {
    background-color: var(--primary-color);
    color: white !important;
    border: none;
    border-radius: 30px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-modal:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(58, 110, 165, 0.3);
    background-color: var(--secondary-color);
}

/* Checkbox styling */
.form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(0, 0, 0, 0.25);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    transition: background-color 0.15s ease-in-out, background-position 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-check-input[type=checkbox] {
    border-radius: 0.25em;
}

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

.form-check-input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

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

@media (max-width: 768px) {
    .about-section,
    .pricing-section,
    .contact-section {
        padding: 3rem 0;
    }

    .contact-form {
        padding: 2rem;
    }
}
