/* ================= CONTACT PAGE ================= */

.contact-page {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f4f6fb;
}

.contact-page .container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* ================= HERO ================= */

.contact-hero {
    position: relative;
    background: linear-gradient(160deg, #0b2a6e 0%, #061a40 100%);
    padding: 90px 0 60px;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    top: -140px;
    right: -100px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(11, 92, 255, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.contact-hero .container {
    position: relative;
    z-index: 1;
}

.contact-hero__eyebrow {
    display: inline-block;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #f5a524;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.contact-hero__title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 18px;
    letter-spacing: -0.5px;
}

.contact-hero__subtitle {
    max-width: 620px;
    margin: 0 auto 32px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}

.contact-hero__trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.contact-hero__trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

/* ================= FORM + MAP/INFO ================= */

.contact-section {
    padding: 70px 0 90px;
}

.contact-panel {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* ---- Left: form panel (primary action) ---- */

.contact-form-wrap {
    flex: 1 1 55%;
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 24px 50px -20px rgba(6, 26, 64, 0.18);
}

.contact-form-wrap__title {
    font-size: 24px;
    font-weight: 700;
    color: #061a40;
    margin: 0 0 8px;
}

.contact-form-wrap__subtitle {
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0 0 26px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group-full {
    margin-bottom: 18px;
}

.contact-form label {
    font-size: 12.5px;
    font-weight: 700;
    color: #0b2a6e;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    border: none;
    border-bottom: 1.5px solid #dbe1ee;
    padding: 8px 2px 9px;
    font-size: 14px;
    font-family: inherit;
    color: #111827;
    background: transparent;
    outline: none;
    transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-bottom-color: #0b5cff;
}

.contact-form select {
    appearance: none;
    background: #f3f5fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23556' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E") no-repeat right 12px center;
    border: 1px solid #e3e7f0;
    border-radius: 6px;
    padding: 11px 32px 11px 13px;
    cursor: pointer;
}

.contact-form textarea {
    resize: vertical;
    min-height: 54px;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #0b2a6e;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 15px 30px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.form-submit:hover {
    background: #0b5cff;
    transform: translateY(-2px);
}

.form-submit:active {
    transform: translateY(0);
}

/* Honeypot: visually hidden, still present for real users' browsers to skip */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-error {
    background: #fdecec;
    border: 1px solid #f5b5b5;
    color: #9b1c1c;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 340px;
    text-align: center;
    gap: 14px;
}

.form-success__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #e6f4ea;
    color: #1a7f37;
    font-size: 24px;
    font-weight: 700;
}

.form-success p {
    font-size: 17px;
    font-weight: 600;
    color: #0b2a6e;
    max-width: 360px;
    margin: 0;
}

/* ---- Right: map + info column ---- */

.contact-map-col {
    flex: 1 1 40%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-map-wrap {
    position: relative;
    width: 100%;
    height: 260px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 40px -20px rgba(6, 26, 64, 0.18);
}

.contact-map-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.contact-info {
    background: #ffffff;
    border-radius: 14px;
    padding: 26px 28px;
    box-shadow: 0 20px 40px -20px rgba(6, 26, 64, 0.12);
}

.contact-info__title {
    font-size: 17px;
    font-weight: 700;
    color: #061a40;
    margin: 0 0 18px;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #1f2937;
    margin-bottom: 14px;
}

.contact-details li:last-child {
    margin-bottom: 0;
}

.contact-details li a {
    color: #1f2937;
    text-decoration: none;
}

.contact-details li a:hover {
    color: #0b5cff;
    text-decoration: underline;
}

.contact-icon {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    font-size: 14px;
}

.contact-social {
    display: flex;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid #eceef4;
}

.contact-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #061a40;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact-social a:hover {
    background: #f5a524;
    color: #051230;
    transform: translateY(-2px);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
    .contact-panel {
        flex-direction: column;
    }

    .contact-form-wrap,
    .contact-map-col {
        width: 100%;
        flex: 1 1 auto;
    }

    .contact-form-wrap {
        padding: 32px 28px;
    }
}

@media (max-width: 600px) {
    .contact-hero {
        padding: 60px 0 44px;
    }

    .contact-hero__title {
        font-size: 28px;
    }

    .contact-hero__subtitle {
        font-size: 14.5px;
    }

    .contact-hero__trust {
        flex-direction: column;
        align-items: center;
    }

    .contact-section {
        padding: 48px 0 60px;
    }

    .contact-form-wrap {
        padding: 26px 20px;
    }

    .contact-form-wrap__title {
        font-size: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 14px;
        margin-bottom: 14px;
    }

    .contact-map-wrap {
        height: 200px;
    }

    .contact-info {
        padding: 22px 20px;
    }
}