/* ===============================
   MAIN PAGE WRAPPER
================================ */
.faq-landing-container {
    text-align: center;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    padding: 60px 40px;
    max-width: 1200px;
    margin: 60px auto;
}

/* ===============================
   TITLE & DESCRIPTION
================================ */
.faq-title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin: 40px 0 10px;
    color: #3e57da !important;
}

.faq-description {
    text-align: center;
    margin: 0 auto 50px;
    max-width: 700px;
    line-height: 1.6;
    color: #111111 !important;
}

/* ===============================
   CATEGORY GRID (MAIN & SUB PAGES)
================================ */
.faq-category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 60px;
    justify-content: center;
}

.faq-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 14px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.25s;
    color: #000;
    box-shadow: 0 3px 12px rgba(0,0,0,0.04);
}

.faq-box:hover {
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}

.faq-icon {
    height: 50px;
    margin-bottom: 12px;
}

.faq-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.faq-box p {
    font-size: 14px;
    color: #555;
}

/* Responsive Grid Adjustments */
@media (max-width: 1200px) {
    .faq-category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .faq-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .faq-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .faq-category-grid {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   BREADCRUMB (MAIN & SUB)
================================ */
.faq-breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    color: #6b7280;
}

.faq-breadcrumb a {
    color: #3e57da;
    text-decoration: none;
    font-weight: 500;
}

.faq-breadcrumb a:hover {
    text-decoration: underline;
}

.faq-breadcrumb span {
    margin: 0 6px;
}

.faq-breadcrumb .current {
    color: #111827;
    font-weight: 600;
}

/* ===============================
   SUBCATEGORY PAGE ONLY
================================ */
.faq-landing-container > *:last-child {
    margin-bottom: 0;
}

/* ===============================
   FAQ SINGLE PAGE LEFT BOX
================================ */
.faq-category-layout {
    max-width: 1250px;
    margin: 20px auto 60px;
    display: grid;
    grid-template-columns: 320px auto;
    gap: 40px;
    padding: 0 20px;
    align-items: start;
}

.faq-category-left {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    text-align: center;
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
}

.faq-category-left h1 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 15px;
    font-weight: 700;
}

.faq-category-left p {
    color: #555;
    margin-bottom: 30px;
}

.faq-category-left img {
    height: 85px;
    margin-bottom: 20px;
}

.faq-category-left .faq-contact-btn {
    display: inline-block;
    background: #3e57da;
    padding: 14px 28px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}

.faq-category-left .faq-contact-btn:hover {
    background: #2d45c9;
}

.dimg {
    width: 280px !important;
    height: 238px !important;
    margin-top: 20px;
}

/* ===============================
   FAQ CONTENT BLOCKS (Always Open)
================================ */
.faq-accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.faq-accordion-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-title-block {
    padding: 22px 24px;
    font-size: 20px;
    font-weight: 600;
    background: #3e57da;
    border-bottom: 1px solid #eee;
    color: #ffffff;
}

.faq-answer-block {
    padding: 18px 24px 22px;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* ===============================
   BACK BUTTON
================================ */
.faq-back-btn {
    display: inline-block;
    margin: 12px 0 25px;
    font-size: 15px;
    font-weight: 600;
    color: #3e57da;
    text-decoration: none;
}

.faq-back-btn:hover {
    text-decoration: underline;
}

/* ===============================
   RESPONSIVE LEFT + RIGHT LAYOUT
================================ */
@media(max-width: 992px) {
    .faq-category-layout {
        grid-template-columns: 1fr;
    }
}
