/* ============ CONTACT PAGE ============ */
.contact-hero {
    background-image: url(../new-image/contact-img/contact-page-bg.png);
    color: #fff;
    padding: 80px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* background-attachment: fixed; */
    background-size: cover;
    /* background-position: center right; */
    background-repeat: no-repeat;
}

    .contact-hero .breadcrumb-light {
        color: rgba(255, 255, 255, 0.7);
        font-size: 13px;
        display: flex;
        gap: 8px;
        justify-content: center;
        margin-bottom: 14px;
        z-index: 1;
        position: relative;
    }

        .contact-hero .breadcrumb-light a {
            color: rgba(255, 255, 255, 0.85);
        }

    .contact-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, rgba(0, 49, 120, 0.32), rgba(3, 34, 78, 0.41));
    }

    .contact-hero h1 {
        font-size: clamp(28px, 5vw, 40px);
        font-weight: 600;
        margin: 0 0 14px;
        position: relative;
    }

    .contact-hero p {
        opacity: 0.9;
        font-size: 18px;
        max-width: 600px;
        margin: 0 auto;
        position: relative;
    }

/* ── Contact Cards ── */
.contact-cards {
    max-width: 1280px;
    margin: -40px auto 60px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 5;
    box-sizing: border-box;
    width: 100%;
}

.contact-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    border: 1px solid #73778363;
    transition: 0.3s var(--ease);
    box-shadow: var(--shadow-sm);
    min-width: 0;
    word-break: break-word;
    box-sizing: border-box;
}

    .contact-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-md);
    }

    .contact-card .icon {
        width: 46px;
        min-width: 46px;
        height: 46px;
        border-radius: 12px;
        background: var(--primary-soft);
        color: var(--primary);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 26px;
    }

    .contact-card .contact-wrap {
        display: flex;
        flex-direction: column;
    }

    .contact-card .contact-name {
        font-size: 13px;
        color: var(--secondary);
        line-height: 1.5;
        margin: 0;
    }

    .contact-card .contact-info {
        font-weight: 600;
        font-size: 14px;
        color: var(--on-surface);
        margin-bottom: 2px;
        display: block;
    }

        .contact-card .contact-info a {
            font-weight: 600;
            font-size: 14px;
            color: var(--on-surface);
        }

    .contact-card p {
        color: var(--ink-soft);
        margin: 0 0 14px;
        font-size: 14px;
    }

/* ── Form + Map ── */
.contact-main {
    max-width: 1280px;
    margin: 0 auto 100px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    box-sizing: border-box;
    width: 100%;
}

.contact-form-wrap {
    background: #fff;
    border: 1px solid #73778359;
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: 0px 2px 4px rgba(3, 34, 78, 0.262);
    box-sizing: border-box;
    min-width: 0;
}

    .contact-form-wrap h2 {
        font-size: clamp(22px, 3vw, 30px);
        font-weight: 800;
        letter-spacing: -0.02em;
        margin: 0 0 8px;
    }

    .contact-form-wrap .subtitle {
        color: var(--ink-soft);
        margin: 0 0 28px;
    }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

    .form-group label {
        display: block;
        font-size: 13px;
        font-weight: 700;
        color: var(--ink);
        margin-bottom: 8px;
        letter-spacing: 0.04em;
    }

.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--outline);
    border-radius: var(--radius-sm);
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    color: var(--ink);
    outline: none;
    transition: 0.2s var(--ease);
    box-sizing: border-box;
}

    .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(0, 49, 120, 0.08);
    }

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 0;
    background: var(--primary);
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.2s var(--ease);
}

    .form-submit:hover {
        background: var(--primary-dark);
    }

/* ── Map Side ── */
.map-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
    min-width: 0;
}

.map-frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    height: 100%;
    background: linear-gradient(135deg, #dde6f7, #a8b9d8);
    position: relative;
}

    .map-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .map-frame .social-media-wrap {
        position: absolute;
        top: 50%;
        right: 8px;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.54);
        backdrop-filter: blur(10px);
        border-radius: 8px;
        padding: 12px 8px;
        display: flex;
        flex-direction: column;
    }

        .map-frame .social-media-wrap span {
            font-size: 13px;
            color: var(--primary);
            line-height: 1.5;
            margin-bottom: 8px;
            font-weight: 600;
            writing-mode: vertical-lr;
            display: flex;
            align-items: center;
        }

.social-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .social-links a {
        width: 34px;
        height: 34px;
        border-radius: 8px;
        background: #fff;
        color: #0B3B8C;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transition: 0.3s;
    }

    .social-links .facebook {
        color: #1877F2;
    }

    .social-links .instagram {
        color: #E4405F;
    }

    .social-links .twitter {
        color: #000000;
    }

    .social-links a:hover {
        transform: translateY(-3px);
    }


/* ================================================================
   RESPONSIVE
================================================================ */

/* Tablet landscape — 3 cards → 2 cols, equal main columns */
@media (max-width: 1100px) {
    .contact-main {
        gap: 32px;
    }
}

/* Tablet portrait — stack main, 2-col cards */
@media (max-width: 992px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
        margin-top: -30px;
    }

    .contact-main {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 60px;
    }

    .map-frame {
        aspect-ratio: 16 / 9;
        height: auto;
    }
}

/* Mobile large — single col cards */
@media (max-width: 640px) {
    .contact-hero {
        padding: 60px 16px 100px;
    }

        .contact-hero h1 {
            font-size: 26px;
        }

        .contact-hero p {
            font-size: 15px;
        }

    .contact-cards {
        grid-template-columns: 1fr;
        margin-top: -24px;
        padding: 0 16px;
        gap: 16px;
        margin-bottom: 40px;
    }

    .contact-card {
        padding: 14px 16px;
    }

    .contact-main {
        padding: 0 16px;
        margin-bottom: 48px;
    }

    .contact-form-wrap {
        padding: 20px 16px;
    }

        .contact-form-wrap h2 {
            font-size: 22px;
        }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .map-frame {
        aspect-ratio: 4 / 3;
    }

    .form-submit {
        font-size: 14px;
        padding: 14px;
    }

}

/* Mobile small */
@media (max-width: 400px) {
    .contact-hero h1 {
        font-size: 22px;
    }

    .contact-card .icon {
        width: 40px;
        min-width: 40px;
        height: 40px;
        font-size: 22px;
    }
}
