/* Kintech ESS — General Contact Page */

.page-header.contact-page-header {
    background: linear-gradient(rgba(26, 42, 54, 0.75), rgba(26, 42, 54, 0.6)), url(../img/hero/hero-sec-4.jpg) center center no-repeat;
    background-size: cover;
}

.contact-page-main {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f6f7f8 0%, #ffffff 50%, #f0f7f2 100%);
}

.contact-page-intro .contact-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.contact-page-intro h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-page-intro .lead {
    color: #5a6a78;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.contact-quick-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-quick-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8ecef;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-quick-card:hover {
    border-color: rgba(50, 195, 108, 0.45);
    box-shadow: 0 8px 24px rgba(50, 195, 108, 0.12);
}

.contact-quick-card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(50, 195, 108, 0.12);
    color: var(--primary);
    border-radius: 10px;
    font-size: 1.1rem;
}

.contact-quick-card h6 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8a9aa8;
    margin-bottom: 0.25rem;
}

.contact-quick-card p,
.contact-quick-card a {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
}

.contact-quick-card a:hover {
    color: var(--primary);
}

.contact-partner-note {
    padding: 1.25rem 1.35rem;
    background: linear-gradient(135deg, rgba(50, 195, 108, 0.08) 0%, rgba(50, 195, 108, 0.04) 100%);
    border-left: 4px solid var(--primary);
    border-radius: 0 12px 12px 0;
    font-size: 0.9rem;
    color: #5a6a78;
    line-height: 1.65;
}

.contact-partner-note a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.contact-partner-note a:hover {
    text-decoration: underline;
}

.contact-form-panel {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2.25rem;
    box-shadow: 0 16px 48px rgba(26, 42, 54, 0.1);
    border: 1px solid #eef0ea;
    height: 100%;
}

.contact-form-panel-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eef0ea;
}

.contact-form-panel-header h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.35rem;
}

.contact-form-panel-header p {
    margin: 0;
    font-size: 0.9rem;
    color: #8a9aa8;
}

.contact-field-group {
    margin-bottom: 1.25rem;
}

.contact-field-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.45rem;
    letter-spacing: 0.02em;
}

.contact-field-wrap {
    position: relative;
}

.contact-field-wrap .field-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 0.95rem;
    pointer-events: none;
    z-index: 2;
}

.contact-field-wrap textarea + .field-icon,
.contact-field-wrap .field-icon.icon-top {
    top: 1.1rem;
    transform: none;
}

.contact-field-wrap .form-control,
.contact-field-wrap select {
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fafbfc;
}

.contact-field-wrap .form-control:focus,
.contact-field-wrap select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(50, 195, 108, 0.15);
    background: #fff;
    outline: none;
}

.contact-field-wrap textarea.form-control {
    min-height: 130px;
    padding-top: 0.85rem;
    resize: vertical;
}

.contact-field-wrap select.form-control {
    padding-left: 2.75rem;
    appearance: auto;
}

.contact-submit-wrap {
    margin-top: 1.75rem;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-submit-btn:hover {
    background: #2ab85f;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(50, 195, 108, 0.4);
    color: #fff;
}

.contact-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

#general-contact-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
}

.contact-map-section {
    padding: 0 0 5rem;
    background: #fff;
}

.contact-map-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(26, 42, 54, 0.12);
    border: 1px solid #eef0ea;
    position: relative;
    min-height: 380px;
}

.contact-map-wrap iframe {
    width: 100%;
    height: 380px;
    border: 0;
    display: block;
}

.contact-map-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-left: 4px solid var(--primary);
}

.contact-map-badge h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.35rem;
}

.contact-map-badge p {
    margin: 0;
    font-size: 0.85rem;
    color: #5a6a78;
    line-height: 1.5;
}

@media (max-width: 991.98px) {
    .contact-page-main {
        padding: 3.5rem 0;
    }

    .contact-page-intro {
        margin-bottom: 2.5rem;
    }

    .contact-form-panel {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .contact-map-badge {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        max-width: none;
        margin: 0;
        border-radius: 0;
    }

    .contact-map-wrap {
        display: flex;
        flex-direction: column;
    }

    .contact-map-wrap iframe {
        height: 280px;
    }
}
