/* Force light mode across entire website */
html {
    color-scheme: light !important;
}

body {
    color-scheme: light !important;
    background-color: white !important;
    color: black !important;
}

/* Contact Page Specific Styles */

/* Contact Hero Section */
.contact-hero {
    padding: 80px 0 80px;
    margin-top: 60px;
    text-align: center;
    position: relative;
    background: #ffffff;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1600px;
    height: 100%;
    background-color: #ffc801;
    z-index: 0;
    box-shadow: inset 0px 22px 15px rgba(0, 0, 0, 0.1), inset 0px 22px 15px rgba(0, 0, 0, 0.15);
}

.contact-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1600px;
    height: 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent);
    pointer-events: none;
    z-index: 2;
}

.contact-hero>* {
    position: relative;
    z-index: 1;
}

.contact-hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.4);
}


/* Contact Form Section */
.contact-form-section {
    padding: 20px 0;
    background: white;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1600px;
    height: 100%;
    box-shadow: inset 0px 8px 15px rgba(0, 0, 0, 0.2), inset 0px -8px 15px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    z-index: 0;
}

.contact-form-section>* {
    position: relative;
    z-index: 1;
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 40px;
    color: black;
}

/* Form Styles */
.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
    margin-bottom: 30px;
}

.form-group label {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: black;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFC801;
    box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ff4444;
}

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

/* Submit Button */
.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.submit-btn {
    background: black;
    color: white;
    padding: 14px 60px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #555;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-hero {
        padding: 80px 0 60px;
    }

    .footer-bottom {
        margin: 0 -15px;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-form-section {
        padding: 20px 0;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .submit-btn {
        width: 100%;
        padding: 14px 40px;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-form-wrapper h2 {
        font-size: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 0.95rem;
    }

    .submit-btn {
        font-size: 1rem;
        padding: 12px 30px;
    }
}

/* Success Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    max-width: 500px;
    width: 90%;
    margin: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(50px);
    transition: all 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #f5f5f5;
    transform: rotate(90deg);
}

.modal-icon {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.party-popper {
    font-size: 4rem;
    animation: bounce 0.8s ease-in-out;
    display: inline-block;
}

.modal-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: black;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.modal-message {
    font-size: 1.1rem;
    color: black;
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
}

@keyframes bounce {

    0%,
    20%,
    53%,
    100% {
        transform: translateY(0);
    }

    40%,
    43% {
        transform: translateY(-30px);
    }

    70% {
        transform: translateY(-15px);
    }

    90% {
        transform: translateY(-4px);
    }
}

/* Modal responsive styles */
@media (max-width: 768px) {
    .modal-content {
        padding: 40px 30px;
        margin: 20px;
    }

    .modal-title {
        font-size: 1.8rem;
    }

    .modal-message {
        font-size: 1rem;
    }

    .party-popper {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 35px 25px;
        margin: 15px;
    }

    .modal-title {
        font-size: 1.6rem;
    }

    .modal-message {
        font-size: 0.95rem;
    }

    .party-popper {
        font-size: 2.5rem;
    }

    .modal-close {
        top: 15px;
        right: 15px;
    }
}