.connect-hero {
    position: relative;
    width: 100%;
    min-height: 360px;
    background: url("../image/contact/Enterprise-Technology-Services.jpg") center center / cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* LEFT BLUE SHADOW OVERLAY */
.connect-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(10, 30, 120, 0.96) 0%,
            rgba(15, 50, 160, 0.90) 25%,
            rgba(20, 70, 180, 0.75) 45%,
            rgba(30, 80, 200, 0.40) 65%,
            rgba(30, 80, 200, 0.10) 80%,
            rgba(0, 0, 0, 0.00) 100%);
    z-index: 1;
}

/* CONTENT */
.connect-hero .hero-content {
    position: relative;
    z-index: 2;
    padding-left: 80px;
}

.deliver-tag {
    display: inline-block;
    background: transparent;
    background-color: #5CD7F266;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(11px, 1.2vw, 13px);
    font-weight: 500;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.2px;
    backdrop-filter: blur(4px);
}

.connect-hero .hero-content h1 {
    font-size: 64px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.connect-hero .hero-content p {
    font-size: 20px;
    line-height: 1.6;
    color: #ffffff;
}

.connect-hero .eng-btn-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2456f6;
    color: #fff;
    font-size: clamp(12.5px, 1.3vw, 15px);
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    border: 2px solid #2456f6;
    transition: all 0.22s ease;
}

.connect-hero .eng-btn-blue:hover {
    background: #1a3ae0;
    border-color: #1a3ae0;
    color: #fff;
    transform: translateY(-2px);
}

.connect-hero .eng-btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: clamp(12.5px, 1.3vw, 15px);
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.52);
    transition: all 0.22s ease;
}

.connect-hero .eng-btn-dark:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 576px) {

    .connect-hero {
        min-height: 280px;
    }

    .connect-hero .hero-content {
        padding: 20px 15px;
        text-align: left;
    }

    .connect-hero .hero-content h1 {
        font-size: 34px;
        margin-bottom: 10px;
    }

    .connect-hero .hero-content p {
        font-size: 15px;
        max-width: 100%;
    }
}

@media (max-width: 576px) {

    .connect-hero {
        min-height: 280px;
        background-position: top right;
    }

    .connect-hero .hero-content {
        padding: 20px 15px;
        text-align: left;
    }

    .connect-hero .hero-content h1 {
        font-size: 34px;
        margin-bottom: 10px;
    }

    .connect-hero .hero-content p {
        font-size: 15px;
        max-width: 100%;
    }

    .deliver-tag {
        font-size: 11px;
        padding: 5px 14px;
    }
}

@media (min-width: 769px) and (max-width: 992px) {

    .connect-hero {
        min-height: 340px;
    }

    .connect-hero .hero-content {
        padding-left: 50px;
    }

    .connect-hero .hero-content h1 {
        font-size: 48px;
    }

    .connect-hero .hero-content p {
        font-size: 18px;
        max-width: 500px;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {

    .connect-hero {
        min-height: 360px;
    }

    .connect-hero .hero-content {
        padding-left: 70px;
    }

    .connect-hero .hero-content h1 {
        font-size: 58px;
    }

    .connect-hero .hero-content p {
        font-size: 19px;
    }
}

/* =============================================
           SECTION WRAPPER
        ============================================= */
.contact-section {
    margin: 0 auto;
}

/* ── Chip / Tag ── */
.contact-chip {
    display: inline-block;
    background: #eef2ff;
    border: 1px solid #c5d3f8;
    color: #2456f6;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

/* ── Section heading ── */
.contact-heading {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 900;
    color: #0d0d0d;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.contact-heading em {
    font-style: normal;
    color: #2456f6;
}

.contact-intro {
    font-size: clamp(13px, 1.4vw, 14.5px);
    color: #666;
    line-height: 1.78;
    margin-bottom: 24px;
}

/* =============================================
           CONTACT OPTION CARDS (left column)
        ============================================= */
.contact-option {
    background: #ffffff;
    border: 1px solid #e2e8f5;
    border-radius: 14px;
    padding: 20px 20px 16px;
    margin-bottom: 14px;
    cursor: pointer;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.2s ease;
    box-shadow: 0 2px 12px rgba(30, 60, 180, 0.05);
}

.contact-option:last-child {
    margin-bottom: 0;
}

.contact-option:hover {
    border-color: #2456f6;
    box-shadow: 0 6px 22px rgba(36, 86, 246, 0.12);
    transform: translateY(-2px);
}

.contact-option h4 {
    font-size: clamp(13.5px, 1.5vw, 15px);
    font-weight: 700;
    color: #0d0d0d;
    margin-bottom: 6px;
    line-height: 1.3;
}

.contact-option p {
    font-size: clamp(12px, 1.3vw, 13px);
    color: #666;
    margin-bottom: 12px;
    line-height: 1.6;
}

.contact-option .opt-btn {
    display: inline-block;
    background: #eef2ff;
    color: #2456f6;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
}

.contact-option .opt-btn:hover {
    background: #dce7ff;
    color: #1a3ae0;
}

/* ── Headquarters block ── */
.hq-block {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #eef0f8;
}

.hq-label {
    font-size: 11px;
    font-weight: 700;
    color: #2456f6;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.hq-block p {
    font-size: 13px;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.6;
}

.hq-block p.muted {
    color: #888;
    font-size: 12.5px;
}

/* =============================================
           CONTACT FORM CARD (right column)
        ============================================= */
.contact-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f5;
    border-radius: 20px;
    padding: 32px 30px 30px;
    box-shadow: 0 4px 24px rgba(30, 60, 180, 0.07);
    height: 100%;
}

.form-card-title {
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 800;
    color: #0d0d0d;
    margin-bottom: 5px;
    letter-spacing: -0.2px;
}

.form-card-sub {
    font-size: 13px;
    color: #777;
    margin-bottom: 22px;
}

/* ── Form tabs ── */
.form-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.form-tab-btn {
    flex: 1;
    padding: 10px 12px;
    text-align: center;
    background: #f5f7ff;
    border: 1.5px solid #e2e8f5;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    color: #888;
    transition: all 0.22s ease;
    font-family: 'Inter', sans-serif;
}

.form-tab-btn.active {
    background: #eef2ff;
    border-color: #2456f6;
    color: #2456f6;
}

.form-tab-btn:hover:not(.active) {
    background: #f0f2fb;
    border-color: #c5d3f8;
    color: #555;
}

/* ── Form panels ── */
.form-panel {
    display: none;
}

.form-panel.active {
    display: block;
}

/* ── Labels ── */
.contact-form-card label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
    letter-spacing: 0.1px;
}

/* ── Inputs / Select / Textarea ── */
.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
    width: 100%;
    background: #f8f9ff;
    border: 1.5px solid #e2e8f5;
    border-radius: 9px;
    padding: 10px 14px;
    color: #111;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
    border-color: #2456f6;
    box-shadow: 0 0 0 3px rgba(36, 86, 246, 0.10);
    background: #fff;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
    color: #bbb;
}

.contact-form-card select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23888' d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 36px;
}

.contact-form-card textarea {
    resize: vertical;
    min-height: 90px;
}

/* form group spacing */
.contact-form-card .form-group {
    margin-bottom: 14px;
}

#fpanel-sales .form-check-input[type="checkbox"],
#fpanel-careers .form-check-input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin-top: 3px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #2456f6;
    appearance: checkbox;
    -webkit-appearance: checkbox;
}

/* ── Submit button ── */
.form-submit-btn {
    width: 30%;
    margin: auto;
    background: #2456f6;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    padding: 13px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    margin-top: 6px;
    transition: background 0.22s ease, transform 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 14px rgba(36, 86, 246, 0.25);
}

.form-submit-btn:hover {
    background: #1a3ae0;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(36, 86, 246, 0.32);
}

/* ── Consent line ── */
.consent-text {
    font-size: 11.5px;
    color: #999;
    margin-bottom: 14px;
    line-height: 1.6;
}

/* =============================================
           RESPONSIVE
        ============================================= */
@media (max-width: 991px) {
    .contact-form-card {
        padding: 26px 22px 24px;
    }
}

@media (max-width: 767px) {
    .contact-form-card {
        margin-top: 28px;
        border-radius: 16px;
    }

    .contact-form-card {
        padding: 22px 18px 22px;
    }

    .form-tab-btn {
        font-size: 12px;
        padding: 9px 8px;
    }
}

@media (max-width: 575px) {
    .contact-heading {
        font-size: 26px;
    }

    .contact-form-card {
        padding: 20px 14px 20px;
    }

    .form-tabs {
        gap: 6px;
    }
}