/* css/contact.css - Majida Ameer Textiles Reassuring Contact Page Stylesheet */
@import url('root.css');

/* ==========================================================================
   BREADCRUMBS BAR (Consistent with all storefront pages)
   ========================================================================== */
.breadcrumbs-bar {
    width: 100%;
    padding: 16px 0 0 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: none;
    background: #ffffff;
    margin-top: 5px;
}

.breadcrumbs-bar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.breadcrumbs-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: var(--font1);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary-color);
}

.breadcrumbs-nav li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.breadcrumbs-nav a {
    color: var(--text-secondary-color);
    text-decoration: none;
    transition: color 0.15s ease;
}

.breadcrumbs-nav a:hover {
    color: var(--sigcolor);
}

.breadcrumb-sep {
    color: #cccccc;
    font-size: 11px;
    user-select: none;
}

.breadcrumb-active {
    color: var(--sigcolor);
    font-weight: 600;
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ==========================================================================
   PAGE CONTAINER & SECTION HEADINGS (MATCHING INDEX SPECIFICATION)
   ========================================================================== */
body {
    background-color: #ffffff;
}

.contact-page {
    width: 100%;
    background-color: #ffffff;
    color: var(--text-primary-color);
    font-family: var(--font1);
    overflow-x: hidden;
}

.contact-section {
    padding: 60px 0;
    position: relative;
    background-color: #ffffff;
}

.contact-section-alt {
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

/* Standard Section Intro from Index */
.section-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 18px;
}

.section-title {
    color: var(--sigcolor);
    font-size: 37px;
    font-family: var(--font1);
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: -0.15rem;
}

.section-desc {
    font-family: var(--font1);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-secondary-color);
    width: 90%;
    max-width: 450px;
    text-align: center;
}

/* ==========================================================================
   01 — HERO SECTION
   ========================================================================== */
.contact-hero {
    padding: 60px 0 20px 0;
    background: #ffffff;
    text-align: center;
}

.contact-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   02 — CONTACT OPTIONS CARDS (4 LARGE CARDS)
   ========================================================================== */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.contact-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.08);
    border-color: rgba(1, 70, 97, 0.25);
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.contact-card-icon svg {
    width: 26px;
    height: 26px;
}

/* Specific card styles */
.contact-card.whatsapp-card .contact-card-icon {
    background: rgba(37, 211, 102, 0.12);
    color: #128c7e;
}

.contact-card.phone-card .contact-card-icon {
    background: rgba(1, 70, 97, 0.08);
    color: var(--sigcolor);
}

.contact-card.email-card .contact-card-icon {
    background: rgba(234, 88, 12, 0.1);
    color: #ea580c;
}

.contact-card.visit-card .contact-card-icon {
    background: rgba(99, 102, 241, 0.1);
    color: #4f46e5;
}

.contact-card-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 50px;
    background: #f3f4f6;
    color: #4b5563;
}

.contact-card.whatsapp-card .contact-card-badge {
    background: #dcfce7;
    color: #15803d;
}

.contact-card h3 {
    font-family: var(--font1);
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.contact-card p {
    font-family: var(--font2);
    font-size: 13.5px;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 20px;
    flex-grow: 1;
}

.contact-card-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font1);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--sigcolor);
    margin-top: auto;
    transition: gap 0.2s ease;
}

.contact-card-action svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.contact-card:hover .contact-card-action {
    gap: 12px;
}

.contact-card:hover .contact-card-action svg {
    transform: translateX(3px);
}

/* ==========================================================================
   04 — SUPPORT CATEGORIES (WHAT CAN WE HELP YOU WITH?)
   ========================================================================== */
.support-topics-section {
    padding: 20px 0 50px 0;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.topic-button {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 24px;
    text-align: left;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.topic-button:hover {
    border-color: var(--sigcolor);
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(1, 70, 97, 0.08);
}

.topic-button.active {
    border-color: var(--sigcolor);
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(1, 70, 97, 0.2);
}

.topic-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(1, 70, 97, 0.06);
    color: var(--sigcolor);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.topic-icon-wrap svg {
    width: 20px;
    height: 20px;
}

.topic-button h4 {
    font-family: var(--font1);
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.topic-button p {
    font-family: var(--font2);
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
    margin: 0;
}

.topic-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--sigcolor);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   03 & 05 — CONTACT FORM & BUSINESS INFO (SPLIT 2-COLUMN SECTION)
   ========================================================================== */
.form-and-info-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 50px;
    align-items: flex-start;
}

/* Contact Form Box */
.contact-form-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 44px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

.contact-form-card h2 {
    font-family: var(--font1);
    font-size: 26px;
    font-weight: 700;
    color: var(--sigcolor);
    text-transform: uppercase;
    letter-spacing: -0.08rem;
    margin-bottom: 8px;
}

.contact-form-card .form-subtitle {
    font-family: var(--font1);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-secondary-color);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Live Alert Banners */
.form-alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-family: var(--font2);
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-alert svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.form-alert.success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.form-alert.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* Form Grid & Inputs */
.form-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-family: var(--font1);
    font-size: 13.5px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-group label .req {
    color: #dc2626;
    margin-left: 2px;
}

.form-group label .optional {
    font-size: 11px;
    font-weight: 400;
    color: #9ca3af;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 13px 16px;
    font-family: var(--font2);
    font-size: 14.5px;
    color: #1f2937;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    background-color: #ffffff;
    border-color: var(--sigcolor);
    box-shadow: 0 0 0 3px rgba(1, 70, 97, 0.12);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 28px;
    background: var(--sigcolor);
    color: #ffffff;
    font-family: var(--font1);
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(1, 70, 97, 0.25);
    margin-top: 10px;
}

.form-submit-btn:hover {
    background: #023347;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(1, 70, 97, 0.35);
}

.form-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-submit-btn svg {
    width: 18px;
    height: 18px;
}

/* Honeypot field (hidden from real users) */
.honeypot-field {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
}

/* ==========================================================================
   05 — BUSINESS INFORMATION CARD
   ========================================================================== */
.business-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.business-info-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 34px 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

.business-info-card h3 {
    font-family: var(--font1);
    font-size: 20px;
    font-weight: 700;
    color: var(--sigcolor);
    text-transform: uppercase;
    letter-spacing: -0.08rem;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.info-block {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
    align-items: flex-start;
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(1, 70, 97, 0.07);
    color: var(--sigcolor);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 18px;
    height: 18px;
}

.info-details strong {
    display: block;
    font-family: var(--font1);
    font-size: 13.5px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.info-details p,
.info-details a {
    font-family: var(--font2);
    font-size: 13.5px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-details a:hover {
    color: var(--sigcolor);
}

/* Map Card */
.location-map-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

.map-container {
    width: 100%;
    height: 220px;
    background: #eae5de;
    position: relative;
}

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

.map-card-footer {
    padding: 18px 24px;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.map-card-footer span {
    font-size: 12.5px;
    font-weight: 600;
    color: #374151;
}

.map-directions-link {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--sigcolor);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.map-directions-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   06 — QUICK HELP (SELF-SERVICE FAQs ACCORDION)
   ========================================================================== */
.quick-help-section {
    padding: 70px 0;
    background-color: #ffffff;
}

.faq-accordion-wrap {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: rgba(1, 70, 97, 0.2);
}

.faq-item.open {
    border-color: var(--sigcolor);
    box-shadow: 0 6px 18px rgba(1, 70, 97, 0.05);
}

.faq-question-btn {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    font-family: var(--font1);
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.faq-question-btn svg {
    width: 18px;
    height: 18px;
    color: var(--sigcolor);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.faq-item.open .faq-question-btn svg {
    transform: rotate(180deg);
}

.faq-answer-pane {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
    padding: 0 24px;
    background: #ffffff;
}

.faq-item.open .faq-answer-pane {
    max-height: 350px;
    padding: 0 24px 22px 24px;
}

.faq-answer-pane p {
    font-family: var(--font2);
    font-size: 14px;
    line-height: 1.7;
    color: #4b5563;
    margin: 0 0 10px 0;
}

.faq-answer-pane p:last-child {
    margin-bottom: 0;
}

.faq-answer-pane a {
    color: var(--sigcolor);
    font-weight: 600;
    text-decoration: underline;
}

/* ==========================================================================
   07 — SOCIAL / CLOSING SECTION
   ========================================================================== */
.contact-social-section {
    padding: 60px 0 80px 0;
    text-align: center;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-social-content {
    max-width: 600px;
    margin: 0 auto;
}

.social-pills-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    font-family: var(--font1);
    font-size: 13.5px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.social-pill:hover {
    background: var(--sigcolor);
    color: #ffffff;
    border-color: var(--sigcolor);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(1, 70, 97, 0.18);
}

.social-pill svg {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-and-info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .section-title {
        font-size: 28px;
    }

    .contact-cards-grid,
    .topics-grid {
        grid-template-columns: 1fr;
    }

    .form-grid-2col {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 28px 20px;
    }
}
