/* ════════════════════════════════════════════
   CONTACT PAGE — JCD Ethiopia
   Mixed design: dark sidebar + letter form
═════════════════════════════════════════════ */

/* ───────── Hero Section ───────── */
.contact-hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0f9ff 100%);
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: rgba(29, 158, 117, 0.12);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.contact-hero::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -120px;
    width: 380px;
    height: 380px;
    background: rgba(186, 117, 23, 0.08);
    border-radius: 50%;
    filter: blur(70px);
    z-index: 0;
}

/* "Reach Out" pill with pulsing dot */
.reach-out-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(29, 158, 117, 0.12);
    color: #0f6e56;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1d9e75;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.4);
    }
}

/* Headline with italic accent */
.contact-headline {
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.meaningful-accent {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: #1d9e75;
    font-weight: 500;
}

/* ───────── Section Background ───────── */
.contact-section-bg {
    background: #fafaf7;
}

/* ───────── Dark Info Panel ───────── */
.contact-info-panel {
    background: linear-gradient(160deg, #1a2332 0%, #0f1a26 100%) !important;
}

.info-panel-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(29, 158, 117, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.active-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

.active-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse 2s infinite;
}

.active-label {
    font-size: 10px;
    color: #4ade80;
    letter-spacing: 1.2px;
    font-weight: 600;
}

/* Reply time card inside dark panel */
.reply-time-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
}

.reply-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1.2px;
    font-weight: 600;
    margin: 0;
}

.reply-number {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.reply-unit {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Working hours block */
.working-hours-block {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 14px;
    margin-top: 6px;
}

.open-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse 2s infinite;
}

.open-label {
    font-size: 11px;
    color: #4ade80;
    font-weight: 600;
}

/* ───────── Contact Channel Cards ───────── */
.contact-channel-card {
    background: #ffffff;
    border: 1px solid #e7e5e0;
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    color: inherit;
}

.contact-channel-card:hover {
    transform: translateY(-2px);
    border-color: #1d9e75;
    box-shadow: 0 8px 20px rgba(29, 158, 117, 0.08);
    color: inherit;
}

.contact-channel-card:hover .channel-arrow {
    transform: translateX(4px);
    color: #1d9e75;
}

.channel-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.channel-icon-green {
    background: #ecfdf5;
    color: #0f6e56;
}

.channel-icon-amber {
    background: #fef3c7;
    color: #854f0b;
}

.channel-icon-pink {
    background: #fce7f3;
    color: #993556;
}

.channel-content {
    flex: 1;
    min-width: 0;
}

.channel-label {
    font-size: 10px;
    color: #9ca3af;
    letter-spacing: 0.6px;
    font-weight: 600;
    margin: 0;
}

.channel-value {
    font-size: 14px;
    color: #1a2332;
    font-weight: 600;
    margin: 2px 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.channel-arrow {
    color: #9ca3af;
    font-size: 14px;
    transition: all 0.25s ease;
}

/* ───────── Social Row ───────── */
.social-row {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid #e7e5e0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #1a2332;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-btn:hover {
    background: #1a2332;
    color: #ffffff;
    border-color: #1a2332;
    transform: translateY(-2px);
}

.social-btn-whatsapp {
    background: #25D366;
    color: #ffffff;
    border-color: #25D366;
}

.social-btn-whatsapp:hover {
    background: #1ea854;
    color: #ffffff;
    border-color: #1ea854;
}

/* ───────── Contact Form Wrapper ───────── */
.contact-form-wrapper {
    background: #ffffff;
    border: 1px solid #e7e5e0;
    border-radius: 18px;
    padding: 2rem;
    height: 100%;
}

/* Letterhead at top of form */
.form-letterhead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #d4d2cd;
    margin-bottom: 1.25rem;
}

.letterhead-label {
    font-size: 10px;
    color: #9ca3af;
    letter-spacing: 1.2px;
    font-weight: 600;
    margin: 0;
}

.letterhead-to {
    font-size: 13px;
    color: #1a2332;
    font-weight: 600;
    margin: 2px 0 0;
}

.letterhead-status {
    font-size: 11px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1d9e75;
}

/* ───────── Form Inputs ───────── */
.contact-form-wrapper .form-label {
    color: #374151;
    margin-bottom: 6px;
    font-size: 12px;
    letter-spacing: 0.3px;
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 14px;
    pointer-events: none;
    z-index: 2;
    line-height: 1;
}

.contact-form-wrapper .input-with-icon .form-control {
    padding-left: 40px !important;
}

.contact-form-wrapper .form-control {
    border: 1.5px solid #e7e5e0;
    background-color: #fafaf7;
    padding: 11px 14px;
    font-size: 14px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.contact-form-wrapper .form-control:focus {
    border-color: #1d9e75;
    box-shadow: 0 0 0 3px rgba(29, 158, 117, 0.12);
    background-color: #ffffff;
}

.contact-form-wrapper textarea.form-control {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
}

/* ───────── Topic Chips ───────── */
.topic-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.topic-chip {
    padding: 8px 16px;
    border: 1.5px solid #e7e5e0;
    background: #ffffff;
    color: #5f5e5a;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.topic-chip:hover {
    border-color: #1d9e75;
    color: #0f6e56;
    background: #f0fdf4;
}

.topic-chip.active {
    border-color: #1d9e75;
    background: #1d9e75;
    color: #ffffff;
}

.topic-chip.active::before {
    content: '\F26E';
    font-family: 'bootstrap-icons';
    margin-right: 6px;
    font-weight: bold;
}

/* ───────── Character Counter ───────── */
.char-counter {
    font-size: 11px;
    color: #9ca3af;
}

/* ───────── Send Button ───────── */
.btn-send-message {
    background: linear-gradient(135deg, #1d9e75 0%, #0f6e56 100%);
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(29, 158, 117, 0.25);
}

.btn-send-message:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(29, 158, 117, 0.35);
    color: #ffffff;
}

.btn-send-message:active {
    transform: translateY(0);
}

/* ───────── Form Check (newsletter) ───────── */
.contact-form-wrapper .form-check-input:checked {
    background-color: #1d9e75;
    border-color: #1d9e75;
}

.contact-form-wrapper .form-check-input:focus {
    border-color: #1d9e75;
    box-shadow: 0 0 0 3px rgba(29, 158, 117, 0.12);
}

.contact-form-wrapper .form-check-label {
    color: #5f5e5a;
}

/* ───────── Utility ───────── */
.py-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* ───────── International Phone Input Styling ───────── */
.iti {
    width: 100%;
}

.iti__tel-input,
.contact-form-wrapper .iti__tel-input.form-control {
    width: 100%;
    border: 1.5px solid #e7e5e0;
    background-color: #fafaf7;
    padding: 11px 14px;
    font-size: 14px;
    border-radius: 0.5rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.iti__tel-input:focus,
.contact-form-wrapper .iti__tel-input.form-control:focus {
    border-color: #1d9e75;
    box-shadow: 0 0 0 3px rgba(29, 158, 117, 0.12);
    background-color: #ffffff;
    outline: none;
}

.iti--separate-dial-code .iti__selected-flag {
    background-color: #fafaf7;
    border-radius: 0.5rem 0 0 0.5rem;
    border-right: 1.5px solid #e7e5e0;
}

.iti--separate-dial-code .iti__tel-input {
    padding-left: 92px !important;
}

.iti__country-list {
    border-radius: 12px;
    border: 1px solid #e7e5e0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-size: 13px;
}

.iti__country.iti__highlight {
    background-color: #f0fdf4;
}

.iti__divider {
    border-bottom-color: #e7e5e0;
}

/* ───────── Responsive ───────── */
@media (max-width: 991.98px) {
    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-headline {
        font-size: 2.25rem;
    }
}

@media (max-width: 575.98px) {
    .contact-form-wrapper {
        padding: 1.25rem;
    }

    .form-letterhead {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .topic-chip {
        font-size: 12px;
        padding: 7px 13px;
    }

    .reply-number {
        font-size: 28px;
    }

    .channel-value {
        font-size: 13px;
    }
}