/* Contact Page Stylesheet - Verses Theme */

.contact-page-wrapper {
    background: radial-gradient(circle at top left, rgba(141, 180, 117, 0.06), transparent 35%),
                linear-gradient(180deg, #fdfbf7 0%, #fffdf9 50%, #f7f1e6 100%);
    padding: 30px 0 80px;
    font-family: 'Noto Serif Bengali', serif;
}

/* Breadcrumbs */
.contact-breadcrumbs-wrap {
    margin-bottom: 25px;
    padding: 0 0 0 60px;
}

.contact-breadcrumbs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.contact-breadcrumbs a {
    color: var(--text-muted, #8c827a);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-breadcrumbs a:hover {
    color: var(--text-accent, #6a3b29);
}

.contact-breadcrumbs i.separator {
    font-size: 10px;
    color: var(--text-muted, #ccc);
}

.contact-breadcrumbs li.active {
    color: var(--text-accent, #6a3b29);
}

/* CONTACT HERO CARD */
.contact-hero-card {
    background: #ffffff;
    border: 1px solid #ebdcb9;
    border-radius: 28px;
    padding: 50px 60px;
    box-shadow: 0 15px 35px rgba(61, 41, 27, 0.04);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.contact-hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.contact-badge-tag {
    font-size: 13px;
    font-weight: 700;
    color: #6a3b29;
    background: rgba(106, 59, 41, 0.08);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.contact-hero-left h2 {
    font-size: 48px;
    font-weight: 700;
    color: #2a241f;
    margin: 0 0 15px 0;
    line-height: 1.25;
}

.contact-hero-left p {
    font-size: 18px;
    color: #5d564f;
    line-height: 1.8;
    margin: 0 0 30px 0;
}

.contact-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #6a3b29;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-hero-btn:hover {
    background: #502c1e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(106, 59, 41, 0.2);
}

.contact-hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-hero-illustration {
    max-width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* INFO BOXES GRID */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.contact-info-card {
    background: #ffffff;
    border: 1px solid #ebdcb9;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 25px rgba(61, 41, 27, 0.03);
    transition: all 0.3s ease;
    text-align: left;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(106, 59, 41, 0.08);
}

.contact-info-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(106, 59, 41, 0.06);
    color: #6a3b29;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.contact-info-label {
    font-size: 13px;
    color: #8c827a;
    font-weight: 700;
    margin-bottom: 2px;
}

.contact-info-val {
    font-size: 15px;
    font-weight: 600;
    color: #2a241f;
    line-height: 1.4;
}

/* SPLIT LAYOUT ROW */
.contact-split-row {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 30px;
    margin-bottom: 40px;
    align-items: stretch;
}

.contact-form-card {
    background: #ffffff;
    border: 1px solid rgba(111, 72, 49, 0.08);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(61, 41, 27, 0.02);
    text-align: left;
}

.contact-guide-card {
    background: #ffffff;
    border: 1px solid rgba(111, 72, 49, 0.08);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(61, 41, 27, 0.02);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.contact-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #2a241f;
    margin: 0 0 30px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-section-title i {
    color: #6a3b29;
    font-size: 20px;
}

/* Form Styles */
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form-full {
    grid-column: span 2;
}

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

.contact-field-group label {
    font-size: 14px;
    font-weight: 700;
    color: #2a241f;
}

.contact-field-group label span {
    color: #b91c1c;
}

.contact-input-field {
    width: 100%;
    border: 1px solid #dfd4c6;
    border-radius: 12px;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 15px;
    background: #fff;
    outline: none;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.contact-input-field:focus {
    border-color: #6a3b29;
    box-shadow: 0 0 0 3px rgba(106, 59, 41, 0.08);
}

.contact-input-field::placeholder {
    color: #b2a89f;
}

textarea.contact-input-field {
    min-height: 140px;
    resize: vertical;
}

.contact-terms-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
}

.contact-terms-wrap input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.contact-terms-wrap span {
    font-size: 14px;
    color: #5d564f;
    font-weight: 600;
}

.contact-form-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #6a3b29;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-form-submit-btn:hover {
    background: #502c1e;
}

.contact-form-status {
    font-size: 15px;
    font-weight: 600;
    color: #16a34a;
    margin-top: 15px;
    min-height: 24px;
}

/* Guide Card */
.contact-guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 60%;
    position: relative;
    z-index: 2;
}

.contact-guide-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #2a241f;
}

.contact-guide-list li i {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(106, 59, 41, 0.08);
    color: #6a3b29;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.contact-guide-decor-wrap {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 335px;
    z-index: 1;
    pointer-events: none;
}

.contact-guide-decor-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* FAQ SECTION */
.contact-faq-section {
    background: #ffffff;
    border: 1px solid rgba(111, 72, 49, 0.08);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(61, 41, 27, 0.02);
    margin-bottom: 40px;
    text-align: left;
}

.contact-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.faq-accordion-item {
    border: 1px solid #ebdcb9;
    border-radius: 14px;
    overflow: hidden;
}

.faq-accordion-header {
    background: #fdfbf7;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: #2a241f;
    transition: background-color 0.2s ease;
}

.faq-accordion-header:hover {
    background: #f7f1e6;
}

.faq-accordion-header i {
    color: #6a3b29;
    transition: transform 0.3s ease;
}

.faq-accordion-body {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background: #ffffff;
    font-size: 15px;
    line-height: 1.8;
    color: #5d564f;
}

.faq-accordion-item.active .faq-accordion-header i {
    transform: rotate(180deg);
}

.faq-accordion-item.active .faq-accordion-body {
    padding: 20px 24px;
    border-top: 1px solid #ebdcb9;
    max-height: 300px; /* arbitrary height to slide down */
}

/* BOTTOM CTA PANEL */
.contact-bottom-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 30px;
}

.contact-cta-left {
    background: #ffffff;
    border: 1px solid #ebdcb9;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(61, 41, 27, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-cta-title {
    font-size: 20px;
    font-weight: 700;
    color: #2a241f;
    margin-bottom: 20px;
}

.contact-cta-socials {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-cta-socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-cta-socials a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.contact-cta-socials a.fb { background: #3b5998; }
.contact-cta-socials a.ig { background: #e1306c; }
.contact-cta-socials a.ln { background: #0077b5; }
.contact-cta-socials a.yt { background: #ff0000; }

.contact-cta-desc {
    font-size: 14px;
    color: #8c827a;
    font-weight: 600;
}

.contact-cta-right {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(247,239,227,0.98));
    border: 1px solid #ebdcb9;
    border-radius: 24px;
    padding: 40px 50px;
    box-shadow: 0 8px 30px rgba(61, 41, 27, 0.02);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: center;
    text-align: left;
}

.contact-cta-right-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #2a241f;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.contact-cta-right-content p {
    font-size: 15px;
    color: #5d564f;
    line-height: 1.7;
    margin: 0 0 25px 0;
}

.contact-cta-right-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #6a3b29;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-cta-right-btn:hover {
    background: #502c1e;
}

.contact-cta-right-decor {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-cta-right-decor-img {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Dark Mode support */
body.dark-mode .contact-hero-card,
body.dark-mode .contact-info-card,
body.dark-mode .contact-form-card,
body.dark-mode .contact-guide-card,
body.dark-mode .contact-faq-section,
body.dark-mode .contact-cta-left,
body.dark-mode .contact-cta-right {
    background: #251d16;
    border-color: #44372c;
    box-shadow: none;
}

body.dark-mode .contact-hero-left h2,
body.dark-mode .contact-info-val,
body.dark-mode .contact-section-title,
body.dark-mode .contact-field-group label,
body.dark-mode .contact-guide-list li,
body.dark-mode .faq-accordion-header,
body.dark-mode .contact-cta-title,
body.dark-mode .contact-cta-right-content h3 {
    color: #ebdcb9;
}

body.dark-mode .contact-hero-left p,
body.dark-mode .contact-info-label,
body.dark-mode .contact-input-field,
body.dark-mode .contact-terms-wrap span,
body.dark-mode .faq-accordion-body,
body.dark-mode .contact-cta-right-content p {
    color: #bfa895;
}

body.dark-mode .contact-input-field {
    background: #1e1711;
    border-color: #44372c;
}

body.dark-mode .faq-accordion-header {
    background: #1e1711;
}

body.dark-mode .faq-accordion-item {
    border-color: #44372c;
}

body.dark-mode .faq-accordion-item.active .faq-accordion-body {
    background: #1e1711;
    border-top-color: #44372c;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
    .contact-hero-card,
    .contact-split-row,
    .contact-cta-right {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

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

@media (max-width: 768px) {
    .contact-hero-card {
        padding: 30px 20px;
    }

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

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

    .contact-form-full {
        grid-column: span 1;
    }

    .contact-hero-left h2 {
        font-size: 36px;
    }

    .contact-guide-decor-wrap {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 30px;
        display: flex;
        justify-content: center;
    }

    .contact-guide-decor-img {
        max-width: 180px;
    }

    .contact-guide-list {
        max-width: 100%;
    }
}
