/* ==========================================================================
   Contact Us Page Styles (contact-us.css) - Ultra-Modern, Smooth & Compact
   ========================================================================== */

.contact-page-body {
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    color: #0f172a;
    background-color: #f8fafc;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.contact-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ==========================================================================
   Hero Section (Exact Dimensions & Positioning Matching Index Hero)
   ========================================================================== */
.contact-hero {
    position: relative;
    min-height: 342px;
    background-color: #f1f5f9;
    background-image: url('../images/Contact-usimages/Contactus-hero.png'), url('/images/Contact-usimages/Contactus-hero.png'), url('/images/homepageimage/hero-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 82% 52%;
    padding: 30px 0 20px 0;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 45%, rgba(255, 255, 255, 0.15) 75%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.contact-hero .contact-container {
    position: relative;
    z-index: 2;
}

.contact-hero-content {
    max-width: 540px;
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1b63fb;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.contact-hero-title {
    font-size: clamp(30px, 3.8vw, 38px);
    font-weight: 800;
    line-height: 1.18;
    color: #06193e;
    margin: 0 0 10px 0;
    letter-spacing: -0.4px;
}

.contact-hero-title .text-blue {
    color: #1b63fb;
    position: relative;
}

.contact-hero-subtitle {
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
    margin: 0;
    max-width: 480px;
    font-weight: 500;
}

/* ==========================================================================
   Main Contact Section (2 Columns)
   ========================================================================== */
.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 24px;
    margin-top: 30px;
    margin-bottom: 40px;
    align-items: start;
    position: relative;
    z-index: 5;
}

/* Left Column Info List */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-info-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 20px rgba(6, 25, 62, 0.05);
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 25, 62, 0.09);
    border-color: #bfdbfe;
    background: #ffffff;
}

.contact-info-card.address-card {
    align-items: flex-start;
    cursor: default;
}

.contact-info-card.address-card:hover {
    transform: none;
    border-color: rgba(226, 232, 240, 0.95);
    box-shadow: 0 4px 20px rgba(6, 25, 62, 0.05);
}

.contact-icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1b63fb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    border: 1px solid #dbeafe;
    transition: all 0.2s ease;
}

.contact-info-card:hover .contact-icon-badge {
    background: #1b63fb;
    color: #ffffff;
    border-color: #1b63fb;
    box-shadow: 0 3px 10px rgba(27, 99, 251, 0.25);
}

.contact-info-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.contact-info-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.contact-info-value {
    font-size: 15px;
    font-weight: 700;
    color: #06193e;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-info-subtext {
    font-size: 11.5px;
    color: #64748b;
    margin-top: 3px;
    line-height: 1.4;
}

.contact-card-arrow {
    font-size: 12px;
    color: #94a3b8;
    margin-left: auto;
    transition: transform 0.2s ease, color 0.2s ease;
}

.contact-info-card:hover .contact-card-arrow {
    transform: translate(2px, -2px);
    color: #1b63fb;
}

/* Why Contact Us Box */
.contact-help-card {
    background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 14px;
    padding: 18px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.04);
}

.contact-help-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.contact-help-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: #0284c7;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.contact-help-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #0369a1;
    margin: 0;
}

.contact-help-desc {
    font-size: 11.5px;
    color: #334155;
    margin: 2px 0 0;
}

.contact-help-features {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding-top: 10px;
    border-top: 1px solid rgba(186, 230, 253, 0.7);
}

.help-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
}

.help-feature-item i {
    color: #0284c7;
    font-size: 13px;
}

/* ==========================================================================
   Right Column (Send Us a Message Form Card)
   ========================================================================== */
.contact-form-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    padding: 24px 28px;
    box-shadow: 0 10px 30px -5px rgba(6, 25, 62, 0.07);
}

.contact-form-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.form-title-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    color: #1b63fb;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 2px 9px;
    border-radius: 12px;
    margin-bottom: 4px;
}

.contact-form-title {
    font-size: 21px;
    font-weight: 800;
    color: #06193e;
    margin: 0 0 3px 0;
    letter-spacing: -0.2px;
}

.contact-form-title .text-blue {
    color: #1b63fb;
}

.contact-form-desc {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contact-field-group {
    display: flex;
    flex-direction: column;
}

.contact-field-label {
    font-size: 11.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
    letter-spacing: -0.1px;
}

.required-star {
    color: #ef4444;
    font-weight: bold;
}

.contact-input-wrap {
    position: relative;
    width: 100%;
}

.input-icon-lead {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s ease;
}

.input-icon-lead.textarea-icon {
    top: 14px;
    transform: none;
}

.contact-input-wrap:focus-within .input-icon-lead {
    color: #1b63fb;
}

.contact-form-input {
    width: 100%;
    height: 38px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 12px 0 34px;
    font-size: 12.5px;
    font-family: inherit;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.contact-form-textarea {
    width: 100%;
    min-height: 95px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px 10px 34px;
    font-size: 12.5px;
    font-family: inherit;
    color: #0f172a;
    outline: none;
    resize: vertical;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.contact-form-input:hover,
.contact-form-textarea:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
    background: #ffffff;
    border-color: #1b63fb;
    box-shadow: 0 0 0 2.5px rgba(27, 99, 251, 0.12);
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
    color: #94a3b8;
    font-size: 12px;
}

.contact-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #1b63fb 0%, #0d53e8 100%);
    color: #ffffff;
    border: none;
    border-radius: 9px;
    padding: 11px 20px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(27, 99, 251, 0.25);
    transition: all 0.2s ease;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    margin-top: 2px;
}

.contact-submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transition: 0.4s;
}

.contact-submit-btn:hover::after {
    left: 100%;
}

.contact-submit-btn:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 10px 22px rgba(27, 99, 251, 0.35);
    background: linear-gradient(135deg, #1555df 0%, #0947cb 100%);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

.btn-text-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

/* ==========================================================================
   Support Action Cards (Live Talk & WhatsApp 24/7)
   ========================================================================== */
.contact-support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 30px;
}

.support-action-card {
    border-radius: 16px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(6, 25, 62, 0.04);
    position: relative;
    transition: all 0.22s ease;
}

.support-action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 25, 62, 0.08);
}

.support-card-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.support-action-badge {
    position: absolute;
    top: 14px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    padding: 2px 7px;
    border-radius: 10px;
}

.live-pulse {
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
}

.whatsapp-pulse {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
    animation: livePulseAnim 1.6s infinite ease-in-out;
}

.live-dot.green-dot {
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}

@keyframes livePulseAnim {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

/* Live Talk Card */
.support-action-card.live-talk {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
}

.agent-avatar-circle {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #2563eb;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.support-action-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.support-action-title {
    font-size: 15.5px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 3px 0;
}

.support-action-desc {
    font-size: 11.5px;
    line-height: 1.4;
    color: #475569;
    margin: 0 0 10px 0;
}

.support-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #2563eb;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
    transition: all 0.2s ease;
}

.support-action-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* WhatsApp Card */
.support-action-card.whatsapp-247 {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
}

.whatsapp-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-support-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #25d366;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
    transition: all 0.2s ease;
}

.whatsapp-support-btn:hover {
    background: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

/* ==========================================================================
   CTA Banner Section
   ========================================================================== */
.contact-cta-banner {
    background: linear-gradient(135deg, #06193e 0%, #0d53e8 100%);
    border-radius: 16px;
    padding: 24px 30px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    margin-bottom: 45px;
    box-shadow: 0 8px 25px rgba(2, 101, 220, 0.2);
    gap: 20px;
}

.contact-cta-banner::before {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.contact-cta-left {
    position: relative;
    z-index: 2;
    max-width: 550px;
}

.cta-subtitle-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    color: #93c5fd;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 6px;
}

.contact-cta-title {
    font-size: clamp(19px, 2.5vw, 24px);
    font-weight: 800;
    margin: 0 0 4px 0;
    color: #ffffff;
}

.contact-cta-desc {
    font-size: 12.5px;
    line-height: 1.4;
    color: #dbeafe;
    margin: 0;
}

.contact-cta-action {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.contact-whatsapp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #0f172a;
    padding: 8px 16px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.contact-whatsapp-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.whatsapp-cta-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-whatsapp-info {
    display: flex;
    flex-direction: column;
}

.contact-whatsapp-label {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
}

.contact-whatsapp-phone {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
}

/* ==========================================================================
   Full Page Responsive Media Queries
   ========================================================================== */
@media (max-width: 992px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: -24px;
    }

    .contact-support-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: auto;
        padding: 35px 0 50px;
    }

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

    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .contact-cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 20px 18px;
    }

    .contact-cta-left {
        max-width: 100%;
    }

    .contact-whatsapp-cta-btn {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .contact-form-card {
        padding: 18px 16px;
        border-radius: 14px;
    }

    .support-action-card {
        padding: 16px 14px;
    }

    .support-card-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .support-action-btn,
    .whatsapp-support-btn {
        align-self: center;
    }

    .support-action-badge {
        position: static;
        align-self: center;
        margin-bottom: 4px;
    }
}
