/* ══════════════════════════════════════════════════════════════════════════════
   HUNARHO CONTACT PAGE STYLES (contact.css)
   Premium, modern, glassmorphic aesthetic aligned with Hunarho design guidelines
   ══════════════════════════════════════════════════════════════════════════════ */

:root {
    --contact-purple: #36348E;
    --contact-purple-dark: #1F1D5E;
    --contact-purple-deep: #161448;
    --contact-purple-light: #5C59C8;
    --contact-gold: #FFE4A8;
    --contact-gold-dark: #F5B842;
    --contact-gold-gradient: linear-gradient(135deg, #FFE4A8 0%, #F5B842 100%);
    --contact-card-bg: #FFFFFF;
    --contact-bg-light: #F8F9FE;
    --contact-text-dark: #1E1B4B;
    --contact-text-muted: #64748B;
}

/* ── 1. Contact Hero Banner ── */
.contact-hero {
    position: relative;
    background-image: url('/assets/images/contactus.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0 100px 0;
    overflow: hidden;
    color: #ffffff;
    z-index: 1;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 12, 41, 0.92) 0%, rgba(30, 27, 75, 0.86) 55%, rgba(49, 46, 129, 0.80) 100%);
    z-index: 0;
}

.contact-hero-glow-1 {
    position: absolute;
    top: -120px;
    right: -100px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 228, 168, 0.18) 0%, rgba(255, 228, 168, 0) 70%);
    filter: blur(50px);
    pointer-events: none;
    z-index: -1;
}

.contact-hero-glow-2 {
    position: absolute;
    bottom: -150px;
    left: -120px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(92, 89, 200, 0.3) 0%, rgba(54, 52, 142, 0) 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: -1;
}

/* Badge */
.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 228, 168, 0.15);
    border: 1px solid rgba(255, 228, 168, 0.35);
    color: var(--contact-gold);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.contact-hero-title {
    font-size: 2.15rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    color: #ffffff;
}

.contact-hero-title .gold-accent {
    background: var(--contact-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    max-width: 680px;
    margin-bottom: 25px;
}

/* Quick Stat Pills */
.contact-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.contact-stat-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 20px;
    border-radius: 14px;
    backdrop-filter: blur(10px);
}

.contact-stat-pill i {
    font-size: 1.3rem;
    color: var(--contact-gold);
}

.contact-stat-pill span {
    font-size: 0.92rem;
    font-weight: 600;
    color: #ffffff;
}

/* ── 2. Contact Main Section ── */
.contact-main-section {
    position: relative;
    margin-top: -60px;
    padding-bottom: 80px;
    z-index: 5;
}

/* Left Column: Contact Channels Cards */
.contact-channel-card {
    background: #ffffff;
    border: 1px solid #EBF0F7;
    border-radius: 20px;
    padding: 28px 24px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(30, 27, 75, 0.05);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.contact-channel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--contact-gold-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(54, 52, 142, 0.1);
    border-color: rgba(54, 52, 142, 0.18);
}

.contact-channel-card:hover::before {
    opacity: 1;
}

.channel-icon-wrapper {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(54, 52, 142, 0.08);
    color: var(--contact-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.35s ease;
}

.contact-channel-card:hover .channel-icon-wrapper {
    background: var(--contact-purple);
    color: var(--contact-gold);
    transform: scale(1.08) rotate(-4deg);
}

.channel-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--contact-text-dark);
    margin-bottom: 6px;
}

.channel-content p {
    font-size: 0.95rem;
    color: var(--contact-text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

.channel-content a {
    color: var(--contact-purple);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.25s ease;
}

.channel-content a:hover {
    color: var(--contact-gold-dark);
}

/* Support Hours Card */
.contact-hours-card {
    background: linear-gradient(135deg, var(--contact-purple-dark) 0%, var(--contact-purple) 100%);
    border-radius: 20px;
    padding: 28px 24px;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(54, 52, 142, 0.2);
}

.contact-hours-card h5 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--contact-gold);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-hours-list li:last-child {
    border-bottom: none;
}

/* ── 3. Talk to an Expert Form Card ── */
.contact-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 42px 40px;
    box-shadow: 0 25px 60px rgba(30, 27, 75, 0.12);
    border: 1px solid rgba(54, 52, 142, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-form-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--contact-gold-gradient);
}

.form-header-badge {
    display: inline-block;
    background: rgba(54, 52, 142, 0.08);
    color: var(--contact-purple);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.contact-form-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--contact-text-dark);
    margin-bottom: 6px;
}

.contact-form-subtitle {
    font-size: 1rem;
    color: var(--contact-text-muted);
    margin-bottom: 28px;
}

.contact-form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--contact-text-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-form-input,
.contact-form-select,
.contact-form-textarea {
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 0.95rem;
    color: var(--contact-text-dark);
    transition: all 0.25s ease;
}

.contact-form-input:focus,
.contact-form-select:focus,
.contact-form-textarea:focus {
    background: #ffffff;
    border-color: var(--contact-purple);
    box-shadow: 0 0 0 4px rgba(54, 52, 142, 0.1);
    color: var(--contact-text-dark);
}

/* Captcha Interactive Box */
.captcha-box {
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 24px;
}

.captcha-question-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.captcha-question {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--contact-purple);
}

.captcha-refresh-btn {
    background: none;
    border: none;
    color: var(--contact-text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.captcha-refresh-btn:hover {
    color: var(--contact-purple);
    transform: rotate(180deg);
}

/* Submit Button */
.btn-contact-submit {
    background: var(--contact-purple);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 16px 24px;
    font-size: 1.05rem;
    font-weight: 700;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(54, 52, 142, 0.25);
    transition: all 0.3s ease;
}

.btn-contact-submit:hover {
    background: var(--contact-purple-dark);
    color: var(--contact-gold);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(54, 52, 142, 0.35);
}

/* ── 4. Office Location & Map Section ── */
.contact-map-section {
    padding: 60px 0 80px 0;
    background: var(--contact-bg-light);
}

.map-card-wrapper {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 15px 40px rgba(30, 27, 75, 0.06);
    border: 1px solid #EBF0F7;
}

.map-iframe-container {
    border-radius: 18px;
    overflow: hidden;
    height: 420px;
    width: 100%;
}

.map-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── 5. FAQ Section ── */
.contact-faq-section {
    padding: 70px 0;
    background: #ffffff;
}

.faq-accordion-custom .accordion-item {
    border: 1px solid #EBF0F7;
    border-radius: 16px !important;
    margin-bottom: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.faq-accordion-custom .accordion-button {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--contact-text-dark);
    padding: 20px 24px;
    background: #ffffff;
    box-shadow: none;
}

.faq-accordion-custom .accordion-button:not(.collapsed) {
    color: var(--contact-purple);
    background: rgba(54, 52, 142, 0.03);
}

.faq-accordion-custom .accordion-body {
    padding: 0 24px 22px 24px;
    color: var(--contact-text-muted);
    line-height: 1.7;
    font-size: 0.96rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .contact-hero-title {
        font-size: 1.85rem;
    }

    .contact-form-card {
        padding: 32px 24px;
    }

    .contact-main-section {
        margin-top: 20px;
    }
}

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

    .map-iframe-container {
        height: 320px;
    }
}

@media (max-width: 575.98px) {
    .contact-hero-title {
        font-size: 1.55rem;
    }

    .contact-form-card {
        padding: 24px 16px;
    }

    .contact-channel-card {
        padding: 20px 16px;
    }

    .map-iframe-container {
        height: 280px;
    }

    .faq-accordion-custom .accordion-button {
        padding: 16px 18px;
        font-size: 0.98rem;
    }

    .faq-accordion-custom .accordion-body {
        padding: 0 18px 18px 18px;
    }
}
