/* START CONTACT US SECTION STYLE */

#contact-section, #contact-section *, #contact-section *::before, #contact-section *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Scoped font stack — was previously a bare `* {}` rule that would
   have applied to the ENTIRE page, including every other section
   built in this project. Now it only touches this section. */
#contact-section {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ── Main Layout ── */
#contact-section.contact-container {
    width: 100%;
    max-width: 1100px;
    margin: 50px auto;
    display: flex;
    gap: 50px;
    padding: 0 20px;
    overflow: hidden;
}

#contact-section .form-section,
#contact-section .info-section {
    flex: 1;
    min-width: 0; /* prevents these columns from refusing to shrink below their content width — same fix applied to your leadership and mission/vision sections */
}

/* ── Form Styles ── */
#contact-section h2 {
    margin-bottom: 20px;
    font-weight: 500;
}

#contact-section input,
#contact-section textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
}

#contact-section textarea {
    resize: vertical;
}

#contact-section .send-btn {
    background-color: #222;
    color: white;
    padding: 12px 50px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

#contact-section .send-btn:hover {
    background-color: #444;
}

/* ── Info Section Styles ── */
#contact-section h3 {
    margin-bottom: 25px;
}

#contact-section .details p {
    margin-bottom: 15px;
    color: #444;
    line-height: 1.6;
    overflow-wrap: break-word;
}

#contact-section .details a {
    color: #2b47f0;
}

#contact-section .map-container {
    margin-top: 20px;
    border: 1px solid #ddd;
    max-width: 100%;
    overflow: hidden; /* keeps the iframe from ever forcing a horizontal scrollbar */
}

#contact-section .map-container iframe {
    display: block;
    max-width: 100%;
}

/* ══════════════════════════════════════════
   RESPONSIVE — 3 device tiers
   Desktop : > 1024px → side-by-side form/info
   Tablet  : 577–1024px → side-by-side, tighter gap
   Mobile  : ≤ 576px → stacked
══════════════════════════════════════════ */

@media (max-width: 1024px) {
    #contact-section.contact-container {
        gap: 32px;
    }
}

@media (max-width: 576px) {
    #contact-section.contact-container {
        flex-direction: column; /* Stacks columns vertically */
        margin: 32px auto;
        gap: 40px;
    }

    #contact-section .send-btn {
        width: 100%;
        padding: 12px 0;
    }

    #contact-section .map-container iframe {
        height: 320px;
    }
}

/* END CONTACT US SECTION STYLE */