/* Scoped Contact Us — visual match to reference design. Contact page only. */
.contact-page {
    color: #1c2434;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

/* ===== Banner (forest + dark overlay) ===== */
.contact-page .contact-banner {
    min-height: 150px;
    padding: 36px 16px;
    background:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url("/assets/img/bg/breadcrumb-02.jpg") center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.contact-page .contact-banner-content h1 {
    margin: 0;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: clamp(1.75rem, 2.5vw, 2.25rem); /* ~28–36px — matches site breadcrumb-title */
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
}

.contact-page .contact-breadcrumb {
    margin-top: 8px;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.4;
    color: #e4ebf1;
}

.contact-page .contact-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.contact-page .contact-breadcrumb span {
    margin: 0 6px;
    opacity: 0.9;
}

.contact-page .contact-breadcrumb-home {
    font-size: 0.875rem;
    vertical-align: middle;
}

/* ===== Main section + topographic-style pattern ===== */
.contact-page .contact-section {
    position: relative;
    isolation: isolate;
    min-height: 525px;
    background-color: #f0f2f3;
    padding: 48px 20px 40px;
    overflow: hidden;
}

.contact-page .contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.28;
    background-image:
        url("/assets/img/cartographer.png"),
        repeating-linear-gradient(
            0deg,
            transparent 0,
            transparent 11px,
            rgba(90, 100, 110, 0.045) 11px,
            rgba(90, 100, 110, 0.045) 12px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 17px,
            rgba(90, 100, 110, 0.03) 17px,
            rgba(90, 100, 110, 0.03) 18px
        );
    background-repeat: repeat;
    pointer-events: none;
}

.contact-page .contact-container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-page .contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
    gap: 56px;
    align-items: start;
}

/* ===== Left contact info ===== */
.contact-page .contact-info h2 {
    margin: 0 0 22px;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: clamp(1.35rem, 1.8vw, 1.75rem);
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    color: #1c2434;
}

.contact-page .contact-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: none;
    align-items: flex-start;
}

.contact-page .contact-icon {
    width: 42px;
    min-width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #4b5568;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.contact-page .contact-icon i {
    color: #fff;
    line-height: 1;
}

.contact-page .contact-text {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}

.contact-page .contact-label {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    color: #6b7280;
    margin-bottom: 4px;
}

.contact-page .contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: #1c2434;
    line-height: 1.55;
    word-break: break-word;
}

.contact-page .contact-value a {
    color: inherit;
    text-decoration: none;
}

.contact-page .contact-value a:hover {
    text-decoration: underline;
}

.contact-page .contact-value strong {
    font-size: inherit;
    font-weight: 700;
    color: #1c2434;
}

/* ===== Right form card ===== */
.contact-page .contact-form-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 28px 26px 24px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
}

.contact-page .contact-form-card h2 {
    margin: 0;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: clamp(1.35rem, 1.8vw, 1.75rem);
    font-weight: 700;
    line-height: 1.3;
    color: #1c2434;
    text-transform: none;
}

.contact-page .contact-form-description {
    margin: 6px 0 18px;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #6b7280;
}

.contact-page .contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-page .contact-form-group {
    margin-bottom: 14px;
}

.contact-page .contact-form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 6px;
    color: #374151;
}

.contact-page .contact-required {
    color: #e74c3c;
}

.contact-page .contact-form-control {
    width: 100%;
    height: 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 0.45rem 0.7rem;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.5;
    color: #1c2434;
    background: #fff;
    outline: none;
    box-sizing: border-box;
}

.contact-page textarea.contact-form-control {
    height: 6rem;
    resize: vertical;
}

.contact-page .contact-form-control:focus {
    border-color: #08afe0;
    box-shadow: 0 0 0 2px rgba(8, 175, 224, 0.12);
}

.contact-page .contact-send-btn {
    border: none;
    background: #08afe0;
    color: #fff;
    padding: 0.55rem 1.25rem;
    border-radius: 20px;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
}

.contact-page .contact-send-btn:hover {
    background: #079dcc;
    color: #fff;
}

.contact-page .contact-status {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 0.9375rem;
    line-height: 1.4;
}

.contact-page .contact-status-success {
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #a5d6a7;
}

.contact-page .contact-status-error {
    background: #fdecea;
    color: #b71c1c;
    border: 1px solid #ef9a9a;
}

.contact-page .contact-field-error {
    display: block;
    margin-top: 4px;
    color: #b71c1c;
    font-size: 0.8125rem;
    line-height: 1.3;
}

.contact-page .contact-field-error .field-validation-valid {
    display: none;
}

/* ===== Map ===== */
.contact-page .contact-map-wrapper {
    width: 100%;
    max-width: none;
    height: 250px;
    margin: 40px auto 0;
    overflow: hidden;
    background: #ddd;
    border-radius: 4px;
}

.contact-page .contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 991.98px) {
    .contact-page .contact-container {
        width: 94%;
    }

    .contact-page .contact-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
        gap: 32px;
    }

    .contact-page .contact-banner {
        min-height: 120px;
        padding: 28px 16px;
    }
}

@media (max-width: 768px) {
    .contact-page .contact-section {
        padding: 28px 15px 32px;
    }

    .contact-page .contact-container {
        width: 100%;
        max-width: 100%;
    }

    .contact-page .contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contact-page .contact-form-card {
        padding: 22px 18px;
    }

    .contact-page .contact-map-wrapper {
        width: 100%;
        max-width: 100%;
        height: 350px;
        margin-top: 28px;
    }
}

@media (max-width: 480px) {
    .contact-page .contact-banner {
        min-height: 110px;
        padding: 24px 12px;
    }

    .contact-page .contact-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
