/* =============================================
   BASE
   ============================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* =============================================
   CONTACT HEADER
   ============================================= */

.contact-header {
    padding: 200px 0 40px;
    text-align: center;
    background: #F9F5EE;
}

.contact-header h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    letter-spacing: -5px;
    font-size: 64px;
    color: #003060;
    margin-bottom: 20px;
}

.contact-header p {
    font-family: 'Urbanist', sans-serif;
    font-size: 20px;
    color: #003060;
    max-width: 900px;
    margin: 0 auto;
}

/* =============================================
   CONTACT SECTION
   ============================================= */

.contact-section {
    padding: 40px 0 60px;
    background: #F9F5EE;
}


.contact-box {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 80px 80px;
    /* restored proper inner padding */
    border-radius: 30px;
    background: white;
}

.contact-box h2 {
    font-family: 'Urbanist', sans-serif;
    font-size: 28px;
    margin-bottom: 40px;
    color: #003060;
}

.contact-box label {
    display: block;
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
    margin-bottom: 10px;
    margin-top: 25px;
    color: #003060;
}

/* All form controls full-width by default */
.contact-box input,
.contact-box select,
.contact-box textarea,
.select-wrapper,
.submit-btn {
    width: 100%;
}

/* =============================================
   INPUTS & SELECT
   ============================================= */

.contact-box input,
.contact-box select {
    height: 59px;
    border-radius: 40px;
    border: 1px solid #003060;
    padding: 0 20px;
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
    outline: none;
}

/* =============================================
   SELECT WRAPPER
   Merged duplicate declarations, removed
   hardcoded 1053.8px width.
   ============================================= */

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    appearance: none;
    width: 100%;
    height: 59px;
    padding: 0 60px 0 20px;
    /* right padding keeps text clear of arrow */
}

/* Arrow container */
.select-arrow {
    position: absolute;
    width: 24px;
    height: 24px;
    right: 25px;
    top: 50%;
    /* centred properly — was 38% which was off */
    transform: translateY(-50%);
    pointer-events: none;
}

/* Chevron */
.select-arrow::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-right: 2px solid #003060;
    border-bottom: 2px solid #003060;
    transform: rotate(45deg);
    left: 6px;
    top: 4px;
}

.contact-box textarea {
    width: 100%;
    height: 137px;
    border-radius: 20px;
    border: 1px solid #003060;
    padding: 20px;
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
    resize: none;
}


.submit-btn {
    width: 100%;
    height: 56px;
    background: #003060;
    color: white;
    border-radius: 40px;
    border: none;
    margin-top: 40px;
    font-family: 'Urbanist', sans-serif;
    font-size: 17px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.submit-btn:hover {
    background: #014694;
}

.map-section {
    background: #F9F5EE;
    padding: 0 20px 100px;
}

.map-header {
    text-align: center;
    margin-bottom: 40px;
}

.map-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 400;
    color: #003060;
    margin-bottom: 12px;
    line-height: 1.2;
}

.map-header p {
    font-family: 'Urbanist', sans-serif;
    font-size: 17px;
    color: #6D7287;
    line-height: 1.6;
}

.map-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    height: 480px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* =============================================
   RESPONSIVE — TABLET (max-width: 1023px)
   ============================================= */

@media screen and (max-width: 1023px) {
    .contact-header {
        padding: 160px 20px 40px;
    }

    .contact-header h1 {
        font-size: 48px;
        letter-spacing: -3px;
    }

    .contact-header p {
        font-size: 17px;
    }

    .contact-box {
        padding: 40px 40px 60px;
    }

    .map-section {
        padding: 0 20px 60px;
    }

    .map-header h2 {
        font-size: 28px;
    }

    .map-container {
        height: 380px;
    }
}

/* =============================================
   RESPONSIVE — MOBILE (max-width: 767px)
   ============================================= */

@media screen and (max-width: 767px) {
    .contact-header {
        padding: 120px 16px 30px;
    }

    .contact-header h1 {
        font-size: 36px;
        letter-spacing: -2px;
    }

    .contact-header p {
        font-size: 15px;
    }

    .contact-section {
        padding: 30px 0 30px;
    }

    .contact-box {
        padding: 30px 20px 40px;
        border-radius: 20px;
    }

    .contact-box h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .contact-box label {
        font-size: 14px;
    }

    .contact-box input,
    .contact-box select,
    .select-wrapper select {
        font-size: 15px;
        height: 52px;
    }

    .contact-box textarea {
        font-size: 15px;
        height: 120px;
    }

    .submit-btn {
        height: 50px;
        font-size: 16px;
        margin-top: 30px;
    }

    .map-section {
        padding: 0 16px 50px;
    }

    .map-header h2 {
        font-size: 22px;
    }

    .map-header p {
        font-size: 15px;
    }

    .map-container {
        height: 300px;
        border-radius: 20px;
    }
}

/* =============================================
   RESPONSIVE — SMALL MOBILE (max-width: 479px)
   ============================================= */

@media screen and (max-width: 479px) {
    .contact-header h1 {
        font-size: 30px;
        letter-spacing: -1px;
    }

    .contact-header p {
        font-size: 14px;
    }

    .contact-box {
        padding: 24px 16px 32px;
        border-radius: 16px;
    }

    .contact-box h2 {
        font-size: 21px;
    }

    .map-container {
        height: 240px;
        border-radius: 16px;
    }
}