/* === CONTACT PAGE STYLES === */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');

body {
    margin: 0;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f9f9f9;
    color: #34495e;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === MAIN WRAPPER === */
.contact-wrapper {
    background-color: #e5eef7;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: stretch;
}

/* === SPLIT LAYOUT === */
.contact-split {
    display: flex;
    flex: 1;
    width: 100%;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

/* === LEFT SIDE - IMAGE WITH TEXT OVERLAY === */
.contact-image {
    flex: 1;
    background-image: url('/static/core/images/ceil.jpg'); /* Change to your image path */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 400px;
}

.contact-overlay-text {
    /* color: white; */
    color: red;
    text-align: center;
    padding: 2rem;
    max-width: 80%;
    /* background: rgba(0, 51, 102, 0.7); */
    border-radius: 12px;
}

.contact-overlay-text h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    font-weight: 700;
}

.contact-overlay-text p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    font-weight: 500;
}

/* === RIGHT SIDE - FORM === */
.contact-form {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* === FORM CONTAINER STYLING === */
.form-glass {
    background: #fff;
    border-radius: 15px;
    padding: 2.5rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
    color: #003366;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

.contact-form p {
    color: #5d6d7e;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
}

/* === FORM GROUPS === */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.05rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid #bdc3c7;
    border-radius: 8px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    background-color: #fff;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0059b3;
    box-shadow: 0 0 0 2px rgba(0, 89, 179, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

/* === SUBMIT BUTTON === */
.form-button {
    background-color: #0059b3;
    color: white;
    border: none;
    padding: 0.85rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-weight: 600;
    margin-top: 0.5rem;
}

.form-button:hover {
    background-color: #003d80;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* === SUCCESS MESSAGE === */
.success-message {
    background-color: #2ecc71;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
}

/* === ERROR MESSAGES === */
.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.3rem;
    font-weight: 500;
}

/* === PLACEHOLDER STYLING === */
::placeholder {
    color: #95a5a6;
    opacity: 1;
    font-weight: 400;
}

/* === RESPONSIVENESS === */
@media (max-width: 768px) {
    .contact-split {
        flex-direction: column;
    }

    .contact-image {
        min-height: 300px;
        background-size: cover;
    }

    .contact-overlay-text h3 {
        font-size: 2rem;
    }

    .contact-overlay-text p {
        font-size: 1rem;
    }

    .form-glass {
        padding: 2rem;
    }

    .contact-form h2 {
        font-size: 1.7rem;
    }

    .contact-form p {
        font-size: 1rem;
    }

    .form-button {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-overlay-text h3 {
        font-size: 1.7rem;
    }

    .contact-form h2 {
        font-size: 1.5rem;
    }

    .contact-form p {
        font-size: 0.95rem;
    }

    .form-glass {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
    }
}
