/* ============================================
   CONTACT US PAGE STYLES - Ablaze Electronics
   ============================================ */

/* ---------------------------------------------
   Hero Header Section
   --------------------------------------------- */
.contact-hero {
    position: relative;
    background: linear-gradient(135deg, #0d0426 0%, #1a0850 50%, #26145f 100%);
    padding: 85px 0 75px;
    color: #ffffff;
    overflow: hidden;
}

.contact-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 214, 98, 0.15);
    border: 1px solid rgba(255, 214, 98, 0.4);
    color: #ffd662;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: var(--font-heading);
    margin-bottom: 16px;
}

.contact-hero__title {
    font-family: var(--font-heading), 'Oswald', sans-serif;
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.15;
}

.contact-hero__subtitle {
    font-size: 17px;
    line-height: 1.6;
    color: #cbd5e1;
    max-width: 620px;
    margin-bottom: 0;
}

/* ---------------------------------------------
   Quick Contact Info Cards Strip (Redesigned)
   --------------------------------------------- */
.contact-cards-section {
    padding: 65px 0 45px;
    background: #ffffff;
    position: relative;
    z-index: 2;
}

.contact-info-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-top: 4px solid #1a0850;
    border-radius: 20px;
    padding: 36px 26px 30px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    position: relative;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    border-top-color: #ffd662;
    border-color: rgba(26, 8, 80, 0.15);
    box-shadow: 0 20px 45px rgba(26, 8, 80, 0.12);
}

.contact-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #1a0850;
    color: #ffd662;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 8px 20px rgba(26, 8, 80, 0.25);
    transition: all 0.35s ease;
}

.contact-info-card:hover .contact-card-icon {
    transform: scale(1.08);
    background: #1a0850;
    color: #ffd662;
    box-shadow: 0 10px 25px rgba(26, 8, 80, 0.35);
}

.contact-pill-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1a0850;
    background: rgba(26, 8, 80, 0.06);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.contact-card-title {
    font-family: var(--font-heading), 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a0850;
    margin-bottom: 12px;
}

.contact-card-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 18px;
}

.contact-detail-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.contact-detail-list li {
    font-size: 14px;
    color: #334155;
}

.contact-detail-list a {
    color: #1a0850;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-detail-list a:hover {
    color: #7251da;
    text-decoration: underline;
}

.contact-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #1a0850;
    background: #ffffff;
    border: 1.5px solid #1a0850;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    margin: 0 auto;
    width: fit-content;
}

.contact-card-action:hover {
    background: #1a0850;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 8, 80, 0.2);
}

/* ---------------------------------------------
   Main Contact Form & Info Grid
   --------------------------------------------- */
.contact-main-section {
    padding: 60px 0 95px;
    background: #f8fafc;
}

.contact-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 42px;
    box-shadow: 0 20px 45px rgba(26, 8, 80, 0.08);
    border: 1px solid #e2e8f0;
}

.contact-form-header {
    margin-bottom: 28px;
}

.contact-form-header h2 {
    font-family: var(--font-heading), 'Oswald', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #1a0850;
    margin-bottom: 8px;
}

.contact-form-header h2::after {
    content: '';
    display: block;
    width: 55px;
    height: 4px;
    background: #1a0850;
    border-radius: 2px;
    margin-top: 8px;
}

.contact-form-header p {
    font-size: 15px;
    color: #64748b;
    margin-top: 10px;
    line-height: 1.6;
}

.btn-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    background: #1a0850;
    color: #ffffff;
    font-family: var(--font-heading), 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 8px 25px rgba(26, 8, 80, 0.25);
    margin-top: 8px;
}

.btn-contact-submit:hover {
    background: #7251da;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(114, 81, 218, 0.35);
}

/* WhatsApp CTA Block */
.contact-whatsapp-cta {
    margin-top: 24px;
}

.contact-whatsapp-divider {
    position: relative;
    text-align: center;
    margin-bottom: 18px;
}

.contact-whatsapp-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
    z-index: 1;
}

.contact-whatsapp-divider span {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 0 16px;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: var(--font-heading), 'Oswald', sans-serif;
}

.btn-whatsapp-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: 16px;
    padding: 12px 20px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.08);
}

.btn-whatsapp-cta:hover {
    background: #25d366;
    border-color: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.whatsapp-icon {
    font-size: 32px;
    color: #25d366;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.btn-whatsapp-cta:hover .whatsapp-icon {
    color: #ffffff;
}

.whatsapp-text-wrap {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.whatsapp-label {
    font-size: 12px;
    color: #15803d;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.whatsapp-number {
    font-size: 17px;
    color: #14532d;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: var(--font-heading), 'Oswald', sans-serif;
    transition: color 0.3s ease;
}

.btn-whatsapp-cta:hover .whatsapp-label,
.btn-whatsapp-cta:hover .whatsapp-number {
    color: #ffffff;
}

.whatsapp-action-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    color: #15803d;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-heading), 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid #bbf7d0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-whatsapp-cta:hover .whatsapp-action-badge {
    background: #ffffff;
    color: #15803d;
    border-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Captcha Styling */
.captcha-box-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.captcha-code-badge {
    background: #1a0850;
    color: #ffd662;
    font-family: var(--font-heading), 'Oswald', monospace;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 10px 20px;
    border-radius: 10px;
    user-select: none;
    box-shadow: 0 4px 12px rgba(26, 8, 80, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
}

.btn-refresh-captcha {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #1a0850;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-refresh-captcha:hover {
    background: #1a0850;
    color: #ffd662;
    border-color: #1a0850;
    transform: rotate(180deg);
}

.captcha-status {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
}

/* ---------------------------------------------
   Side Plant Info & Map
   --------------------------------------------- */
.contact-side-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.plant-location-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.plant-location-card h3 {
    font-family: var(--font-heading), 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a0850;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plant-location-card h3 i {
    color: #1a0850;
    font-size: 20px;
}

.plant-location-card p {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 18px;
}

.plant-meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plant-meta-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #1e293b;
    font-weight: 600;
}

.plant-meta-list li i {
    color: #1a0850;
    font-size: 16px;
    width: 24px;
    text-align: center;
}

/* Map Frame */
.contact-map-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 35px rgba(26, 8, 80, 0.08);
    height: 280px;
}

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

/* ============================================
   RESPONSIVE BREAKPOINTS (iPad & Mobile)
   ============================================ */
@media (max-width: 991.98px) {
    /* 1. Hero Header */
    .contact-hero {
        padding: 55px 0 45px;
    }
    .contact-hero__title {
        font-size: 36px;
    }
    .contact-hero__subtitle {
        font-size: 15px;
    }

    /* 2. Quick Contact Cards */
    .contact-cards-section {
        padding: 45px 0;
    }
    .contact-info-card {
        padding: 24px 20px;
        border-radius: 16px;
        margin-bottom: 20px;
    }
    .contact-card-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    .contact-card-title {
        font-size: 19px;
    }

    /* 3. Main Form & Side Location */
    .contact-main-section {
        padding: 45px 0 70px;
    }
    .contact-form-card {
        padding: 32px 28px;
        border-radius: 18px;
    }
    .contact-form-header h2 {
        font-size: 26px;
    }
    .contact-side-info {
        margin-top: 35px;
    }
    .plant-location-card {
        padding: 24px 22px;
        border-radius: 16px;
    }
    .contact-map-frame {
        height: 250px;
        border-radius: 16px;
    }
}

@media (max-width: 767.98px) {
    /* 1. Hero Header */
    .contact-hero {
        padding: 35px 0 25px !important;
    }
    .contact-hero__pill {
        font-size: 10.5px !important;
        padding: 4px 12px !important;
        letter-spacing: 1px !important;
        margin-bottom: 12px !important;
    }
    .contact-hero__title {
        font-size: 26px !important;
        line-height: 1.25 !important;
        margin-bottom: 10px !important;
    }
    .contact-hero__subtitle {
        font-size: 13.5px !important;
        line-height: 1.55 !important;
        color: rgba(255, 255, 255, 0.85) !important;
    }

    /* 2. Quick Contact Cards */
    .contact-cards-section {
        padding: 25px 0 10px !important;
    }
    .contact-info-card {
        padding: 18px 16px !important;
        border-radius: 14px !important;
        margin-bottom: 16px !important;
    }
    .contact-card-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }
    .contact-pill-tag {
        font-size: 10px !important;
        padding: 3px 10px !important;
    }
    .contact-card-title {
        font-size: 17px !important;
        margin-bottom: 8px !important;
    }
    .contact-detail-list {
        word-break: break-word !important;
    }
    .contact-detail-list li {
        font-size: 12.5px !important;
        line-height: 1.5 !important;
        word-break: break-word !important;
    }
    .contact-detail-list a {
        word-break: break-word !important;
        display: inline-block !important;
    }
    .contact-card-action {
        padding: 8px 16px !important;
        font-size: 12px !important;
        width: 100% !important;
        justify-content: center !important;
        border-radius: 50px !important;
    }

    /* 3. Form Card */
    .contact-main-section {
        padding: 25px 0 45px !important;
    }
    .contact-form-card {
        padding: 20px 16px !important;
        border-radius: 16px !important;
    }
    .contact-form-header {
        margin-bottom: 18px !important;
    }
    .contact-form-header h2 {
        font-size: 20px !important;
        margin-bottom: 6px !important;
    }
    .contact-form-header p {
        font-size: 12.5px !important;
        line-height: 1.5 !important;
    }
    .form-group {
        margin-bottom: 12px !important;
    }
    .form-group label {
        font-size: 12.5px !important;
    }
    .form-control-custom {
        height: 44px !important;
        font-size: 13px !important;
        padding: 0 14px !important;
    }
    textarea.form-control-custom {
        height: auto !important;
        padding: 12px 14px !important;
    }
    .captcha-box-wrapper {
        gap: 8px !important;
    }
    .captcha-code-badge {
        font-size: 15px !important;
        padding: 8px 14px !important;
        min-width: 90px !important;
        border-radius: 8px !important;
    }
    .btn-refresh-captcha {
        width: 38px !important;
        height: 38px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
    }
    #captchaInput {
        max-width: 100% !important;
        width: 100% !important;
        margin-top: 4px !important;
    }
    .btn-contact-submit {
        height: 46px !important;
        font-size: 14px !important;
        border-radius: 50px !important;
    }

    .btn-whatsapp-cta {
        padding: 10px 14px !important;
        border-radius: 14px !important;
    }
    .whatsapp-icon {
        font-size: 26px !important;
    }
    .whatsapp-label {
        font-size: 11px !important;
    }
    .whatsapp-number {
        font-size: 15px !important;
    }
    .whatsapp-action-badge {
        font-size: 11px !important;
        padding: 5px 10px !important;
    }

    /* 4. Plant Location & Map */
    .contact-side-info {
        gap: 16px !important;
        margin-top: 25px !important;
    }
    .plant-location-card {
        padding: 18px 16px !important;
        border-radius: 14px !important;
    }
    .plant-location-card h3 {
        font-size: 17px !important;
        margin-bottom: 8px !important;
    }
    .plant-location-card p {
        font-size: 12.5px !important;
        line-height: 1.55 !important;
        margin-bottom: 12px !important;
    }
    .plant-meta-list {
        gap: 8px !important;
    }
    .plant-meta-list li {
        font-size: 12px !important;
        gap: 8px !important;
    }
    .contact-map-frame {
        height: 200px !important;
        border-radius: 14px !important;
    }
}
