/* ==== Contact-Us PAGE STYLES ==== */

/* Reset & base */
*, *::before, *::after {
    box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', Arial, sans-serif;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Font helper */
.font-playfair {
    font-family: 'Montserrat', sans-serif;
}

/* HERO SECTION */
.hero {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #222;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
    background: url('/uploads/contact-us.webp') center/contain no-repeat;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 5rem;
    margin: 0;
    padding: 0 1rem;
    color: #1f1f1f;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

/* FORM CONTAINER */
.contact-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.contact-container h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 20px;
}

/* FORM ELEMENTS */
form label {
    font-weight: 600;
    display: block;
    margin-top: 15px;
}

form input, form select, form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

form textarea {
    resize: vertical;
    height: 120px;
}

form input[type="file"] {
    padding: 5px;
}

form button {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    background: #2f2f2f;
    color: white;
    border: none;
    border-radius: 9999px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

form button:hover {
    background: #4f4d4d;
    transform: scale(1.05);
}

/* RESPONSIVE STYLES */
@media (max-width: 768px) {

    @media (max-width: 768px) {
    .hero {
        height: 500px; /* shorter for mobile */
        background-image: url('/uploads/contact-us-mobile.webp');
        background-size: contain; /* ensures full width & height without gaps */
        background-position: center;
        border-radius: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

    .contact-container {
        padding: 20px;
        margin: 20px;
    }

    form input, form select, form textarea, form button {
        font-size: 0.95rem;
    }
}
