/* ==========================================================================
   CONTACT PAGE STYLES (MATCHING REFERENCE IMAGE)
   ========================================================================== */

/* Outer Layout Container */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. Header Title Banner */
.contact-page-title-banner {
    background-color: #f1f5f9;
    padding: 25px 0;
    border-bottom: 1px solid #e2e8f0;
}

.contact-page-title-banner h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0b1f3a; /* Dark Navy Color matching screenshot header */
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* 2. Main Section Grid */
.contact-section-wrap {
    padding: 40px 0;
    background-color: #ffffff;
}

.contact-grid-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Left Column: General Inquiries */
.section-block-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0b1f3a;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.address-map-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 20px;
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.address-details {
    flex: 1;
}

.address-details h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0b1f3a;
    margin-top: 0;
    margin-bottom: 8px;
}

.address-details p {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.4;
    margin-bottom: 8px;
}

.map-thumbnail-wrap {
    width: 170px;
    height: 120px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

/* Info Box Sub-Grid */
.info-boxes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-card-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 18px;
    border-radius: 4px;
}

.info-card-box h4 {
    font-size: 0.9rem;
    font-weight: 800;
    color: #0b1f3a;
    margin-top: 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 6px;
}

.info-card-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card-box li {
    font-size: 0.82rem;
    color: #334155;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-card-box li i {
    color: #0b1f3a;
    font-size: 0.85rem;
}

.info-card-box a {
    color: #334155;
    text-decoration: none;
}

.info-card-box a:hover {
    color: #0b1f3a;
    text-decoration: underline;
}

/* Right Column: Online Inquiry Form */
.form-card-container {
    border: 2px solid #b89c56; /* Gold border frame from reference image */
    padding: 25px;
    background-color: #ffffff;
    border-radius: 4px;
}

.form-block-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0b1f3a;
    margin-top: 0;
    margin-bottom: 20px;
}

.form-row-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group-item {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.form-group-item label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5px;
}

.form-group-item label span {
    font-weight: 400;
    color: #64748b;
}

.styled-input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    font-size: 0.88rem;
    background-color: #f8fafc;
    color: #0f172a;
    outline: none;
    transition: border-color 0.2s;
}

.styled-input:focus {
    border-color: #0b1f3a;
    background-color: #ffffff;
}

.submit-btn-dark {
    width: 100%;
    background-color: #0b1f3a; /* Dark button matching reference */
    color: #ffffff;
    border: none;
    padding: 12px;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 1px;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 5px;
}

.submit-btn-dark:hover {
    background-color: #1e3a8a;
}

/* 3. Department Contacts Directory Footer Section */
.department-contacts-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.dept-title-center {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: #0b1f3a;
    margin-bottom: 25px;
}

.dept-columns-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dept-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dept-col a {
    color: #334155;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.dept-col a:hover {
    color: #0b1f3a;
    text-decoration: underline;
}

/* 4. Responsive Breaks */
@media (max-width: 992px) {
    .contact-grid-main {
        grid-template-columns: 1fr;
    }

    .dept-columns-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .address-map-card {
        flex-direction: column;
    }

    .map-thumbnail-wrap {
        width: 100%;
        height: 150px;
    }

    .info-boxes-grid {
        grid-template-columns: 1fr;
    }

    .form-row-two-col {
        grid-template-columns: 1fr;
    }

    .dept-columns-grid {
        grid-template-columns: 1fr;
    }
}