/* contact-page.css */

.section-contact {
    padding: 40px 0 60px;
    background-color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Header Section */
.contact-header {
    margin-bottom: 24px;
}

.contact-header h1 {
    font-size: 38px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
}

.contact-header p {
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
    max-width: 760px;
    margin: 0;
}

.contact-divider {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 24px;
    margin-bottom: 40px;
}

/* Two Column Layout */
.contact-content {
    margin-bottom: 40px;
}

/* Left Column: Branches */
.branches-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
}

.branches-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.branch-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.branch-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.branch-map-wrapper {
    position: relative;
    height: 190px;
    width: 100%;
    background-color: #f3f4f6;
}

.branch-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.head-office-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #dc2626;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.branch-card-details {
    padding: 20px;
}

.branch-card-details h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 6px 0;
}

.branch-address {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 16px 0;
}

.branch-contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.branch-contact-info .contact-item {
    display: flex;
    align-items: center;
}

.branch-contact-info .contact-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 14px;
    color: #0f52ba;
    transition: color 0.15s ease;
}

.branch-contact-info .contact-item a:hover {
    color: #0d469f;
    text-decoration: underline;
}

.branch-contact-info .contact-item i {
    font-size: 14px;
    width: 16px;
    text-align: center;
}

/* Right Column: Send an Inquiry Card */
.inquiry-card {
    background-color: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    padding: 32px;
}

.inquiry-card h2 {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
}

.inquiry-subtitle {
    font-size: 14px;
    line-height: 1.5;
    color: #4b5563;
    margin-bottom: 28px;
}

/* Form Styles */
.inquiry-form .form-group {
    margin-bottom: 20px;
}

.inquiry-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.inquiry-form .form-control {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: #111827;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.inquiry-form .form-control:focus {
    border-color: #0f52ba;
    box-shadow: 0 0 0 3px rgba(15, 82, 186, 0.1);
    outline: none;
}

.inquiry-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.inquiry-form .invalid-feedback {
    display: block;
    font-size: 12px;
    color: #dc2626;
    margin-top: 4px;
}

.btn-submit {
    background-color: #0f52ba;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s;
}

.btn-submit:hover {
    background-color: #0d469f;
    color: #ffffff;
}

.inquiry-divider {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 28px 0 20px 0;
}

/* Social Media Section */
.social-media-section h3 {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #4b5563;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.15s;
}

.social-icon:hover {
    background-color: #1f2937;
    color: #ffffff;
}

.social-icon i {
    font-size: 15px;
}

/* Facebook Pages Feed styling */
.fb-flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.fb-flex-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px;
}

.fb-iframe {
    border: none;
    overflow: hidden;
    border-radius: 6px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .inquiry-section {
        margin-top: 40px;
    }
}
