/* ========================================
   Contact Page - Final Visual Match
   ======================================== */

:root {
    --ds-blue: var(--color-primary);
    --ds-text-dark: var(--color-black);
    --ds-text-muted: #57728e;
    --ds-border: var(--color-medium-gray);
    --ds-bg-light: var(--color-light-gray);
    --ds-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --ds-radius-lg: var(--border-radius-lg);
    --ds-radius-xl: var(--border-radius-lg);
}

.contact-main {
    background-color: var(--color-white);
    font-family: 'Inter', sans-serif;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 1. Hero / Header */
.contact-hero {
    padding: 40px 0 60px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ds-text-muted);
    margin-bottom: 24px;
}

.breadcrumbs a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--ds-blue);
}

.page-title {
    font-size: 44px;
    font-weight: 800;
    color: var(--ds-text-dark);
    margin: 0 0 16px;
    letter-spacing: -0.025em;
}

.page-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: var(--ds-text-muted);
    max-width: 540px;
}

/* 2. Content Grid */
.contact-grid-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.contact-flex-layout {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

@media (min-width: 1024px) {
    .contact-flex-layout {
        flex-direction: row;
        align-items: flex-start;
    }
}

.contact-info-column {
    flex: 1;
}

.contact-form-column {
    flex: 1.6;
}

.column-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--ds-text-dark);
    margin-bottom: 32px;
}

/* Info Cards Info */
.info-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-lg);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.icon-box {
    width: 48px;
    height: 48px;
    background-color: #eff6ff;
    color: var(--ds-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}


.card-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.detail-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--ds-text-dark);
    margin: 0;
}

.detail-value {
    font-size: 14px;
    color: var(--ds-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Follow Us */
.follow-us-section {
    margin-top: 48px;
}

.follow-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--ds-text-dark);
    margin-bottom: 24px;
}

.social-circles {
    display: flex;
    gap: 16px;
}

.social-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ds-text-dark);
    text-decoration: none;
    transition: all 0.2s;
    background-color: transparent;
}

.social-circle:hover {
    color: var(--ds-blue);
    transform: translateY(-2px);
}

.social-circle i {
    font-size: 18px;
}

/* Form Styling */
.form-elevation-card {
    background: #ffffff;
    padding: 40px;
    border-radius: var(--ds-radius-xl);
    border: 1px solid var(--ds-border);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.form-grid-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .form-grid-row {
        grid-template-columns: 1fr 1fr;
    }
}

.field-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-wrapper label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ds-text-dark);
}

.field-wrapper input,
.field-wrapper select,
.field-wrapper textarea {
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    color: var(--ds-text-dark);
    background-color: #ffffff;
    transition: all 0.2s;
    width: 100%;
}

.field-wrapper input::placeholder,
.field-wrapper textarea::placeholder {
    color: #9CA3AF;
}

.field-wrapper input:focus,
.field-wrapper select:focus,
.field-wrapper textarea:focus {
    outline: none;
    border-color: var(--ds-blue);
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

.select-icon-wrapper {
    position: relative;
    width: 100%;
}

.select-icon-wrapper select {
    appearance: none;
    cursor: pointer;
}

.select-icon-wrapper::after {
    content: '\f107';
    /* fa-angle-down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--ds-text-muted);
}

.form-footer {
    margin-top: 32px;
}

.submit-btn-primary {
    width: 100%;
    height: 52px;
    background-color: var(--ds-blue);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.submit-btn-primary:hover {
    background-color: #2c5282;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.disclaimer {
    margin-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #9CA3AF;
}

/* 3. Map Section - Grayscale stylization */
.visual-map-section {
    height: 500px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #F3F4F6;
}

.dynamic-map-wrapper {
    width: 100%;
    height: 100%;
}

.dynamic-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1) invert(0.1) contrast(0.8) opacity(0.7);
}

.map-overlay-tint {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 100%);
    pointer-events: none;
}

/* Map UI Overlay */
.map-marker-ui {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.marker-info-box {
    background: #ffffff;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ds-text-dark);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 8px;
    white-space: nowrap;
    border: 1px solid var(--ds-border);
}

.marker-dot {
    position: relative;
    width: 16px;
    height: 16px;
}

.dot-inner {
    width: 16px;
    height: 16px;
    background-color: var(--ds-blue);
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 0 10px rgba(43, 108, 176, 0.5);
    position: relative;
    z-index: 2;
}

.dot-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--ds-blue);
    border-radius: 50%;
    z-index: 1;
    animation: contact-pulse 2s infinite;
}

@keyframes contact-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(3.5);
        opacity: 0;
    }
}

/* 4. Presence Section */
.global-presence-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.section-title-group {
    margin-bottom: 64px;
}

.main-heading {
    font-size: 32px;
    font-weight: 800;
    color: var(--ds-text-dark);
    margin-bottom: 12px;
}

.sub-heading {
    font-size: 15px;
    color: var(--ds-text-muted);
}

.presence-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .presence-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .presence-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

.location-box {
    background: #ffffff;
    border-radius: var(--ds-radius-xl);
    border: 1px solid var(--ds-border);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.loc-image-frame {
    height: 220px;
    position: relative;
}

.loc-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-hq {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #ffffff;
    color: #2563EB;
    font-size: 10px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.loc-content {
    padding: 32px;
}

.loc-name {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 12px;
    color: var(--ds-text-dark);
}

.loc-address {
    font-size: 14px;
    color: var(--ds-text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ds-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.2s;
}

.arrow-link:hover {
    transform: translateX(4px);
}

.arrow-link i {
    font-size: 16px;
}

/* Form Feedback */
.response-alert {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.response-alert.success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.response-alert.error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}