/* ============================================================
   ডক্টরপাড়া — faq.css
   Professional FAQ Page Redesign  (Violet theme)
   ============================================================ */

:root {
    --violet:       #6D28D9;
    --violet-lt:    #7C3AED;
    --violet-ltr:   #A78BFA;
    --violet-bg:    rgba(109,40,217,.08);
    --success-bg:   rgba(22,163,74,.08);
    --warning-bg:   rgba(217,119,6,.09);
    --danger-bg:    rgba(220,38,38,.07);
    --blue:         #2563EB;
    --blue-bg:      rgba(37,99,235,.08);
    --teal:         #0D9488;
    --teal-bg:      rgba(13,148,136,.08);
    --rose:         #E11D48;
    --rose-bg:      rgba(225,29,72,.07);
}

/* ============================================================
   NAVBAR
   ============================================================ */

/* ============================================================
   MOBILE HEADER
   ============================================================ */

/* ============================================================
   SIDE DRAWER
   ============================================================ */

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero { background: linear-gradient(135deg, #2E1065 0%, var(--violet) 55%, var(--violet-ltr) 100%); padding: 46px 0 90px; position: relative; overflow: hidden; text-align: center; }
.page-hero::before { content:''; position:absolute; top:-80px; right:-60px; width:380px; height:380px; border-radius:50%; background:rgba(255,255,255,.04); pointer-events:none; }
.page-hero::after  { content:''; position:absolute; bottom:-60px; left:-60px; width:260px; height:260px; border-radius:50%; background:rgba(255,255,255,.03); pointer-events:none; }
.page-hero .container { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 50px; padding: 5px 18px; font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.9); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 14px; }
.hero-title { font-size: 2.4rem; font-weight: 900; color: var(--white); margin-bottom: 8px; line-height: 1.2; }
.hero-subtitle { font-size: .95rem; color: rgba(255,255,255,.68); margin-bottom: 28px; }
.hero-search { max-width: 560px; margin: 0 auto 28px; display: flex; gap: 0; background: var(--white); border-radius: 50px; overflow: hidden; box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.hero-search input { flex: 1; border: none; outline: none; padding: 14px 22px; font-family: 'Hind Siliguri', sans-serif; font-size: .9rem; color: var(--text); background: transparent; }
.hero-search button { background: var(--violet-lt); color: var(--white); border: none; padding: 0 24px; font-size: 1.1rem; cursor: pointer; transition: var(--transition); border-radius: 0 50px 50px 0; }
.hero-search button:hover { background: var(--violet); }
.hero-stats { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.hstat { display: flex; flex-direction: column; align-items: center; }
.hstat-val { font-size: 1.65rem; font-weight: 900; color: var(--white); line-height: 1; }
.hstat-lbl { font-size: .72rem; color: rgba(255,255,255,.6); margin-top: 3px; }
.hstat-sep { width: 1px; background: rgba(255,255,255,.2); align-self: stretch; }
.page-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; }

/* ============================================================
   MAIN LAYOUT
   ============================================================ */
.main-layout { display: grid; grid-template-columns: 1fr 290px; gap: 24px; margin-top: -46px; position: relative; z-index: 10; padding-bottom: 64px; }

/* ============================================================
   CATEGORY CHIPS
   ============================================================ */
.chips-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 18px; border-radius: 50px; border: 1.5px solid var(--border); background: var(--white); color: var(--text-muted); font-size: .82rem; font-weight: 600; cursor: pointer; transition: var(--transition); }
.chip:hover { border-color: var(--violet-lt); color: var(--violet-lt); }
.chip.active { background: var(--violet-lt); color: var(--white); border-color: var(--violet-lt); box-shadow: 0 4px 14px rgba(109,40,217,.3); }
.chip-count { background: rgba(255,255,255,.25); border-radius: 50px; padding: 1px 7px; font-size: .68rem; }
.chip:not(.active) .chip-count { background: var(--bg-light); color: var(--text-muted); }

/* ============================================================
   FAQ GROUPS
   ============================================================ */
.faq-group { margin-bottom: 28px; }
.faq-group-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.faq-group-icon { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.faq-group-title { font-size: .95rem; font-weight: 800; color: var(--dark); }
.faq-group-count { font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 50px; background: var(--violet-bg); color: var(--violet-lt); }

/* ============================================================
   CUSTOM ACCORDION
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--white); border-radius: var(--radius-md); border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: rgba(109,40,217,.2); box-shadow: var(--shadow-md); }
.faq-item.open { border-color: rgba(109,40,217,.25); box-shadow: var(--shadow-md); }
.faq-question { display: flex; align-items: center; gap: 14px; padding: 16px 20px; cursor: pointer; transition: var(--transition); user-select: none; }
.faq-q-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--violet-bg); color: var(--violet-lt); display: flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; transition: var(--transition); }
.faq-item.open .faq-q-icon { background: var(--violet-lt); color: var(--white); }
.faq-q-text { flex: 1; font-size: .92rem; font-weight: 700; color: var(--dark); line-height: 1.4; }
.faq-item.open .faq-q-text { color: var(--violet-lt); }
.faq-chevron { color: var(--text-muted); font-size: .85rem; transition: transform .3s ease; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--violet-lt); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .38s ease; }
.faq-answer-inner { padding: 0 20px 18px 68px; font-size: .88rem; color: var(--text); line-height: 1.78; border-top: 1px solid var(--border); padding-top: 14px; }
.faq-answer-inner a { color: var(--violet-lt); font-weight: 600; }
.faq-answer-inner a:hover { color: var(--violet); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-card { background: linear-gradient(135deg, rgba(109,40,217,.07), rgba(167,139,250,.07)); border: 1.5px solid rgba(109,40,217,.15); border-radius: var(--radius-lg); padding: 28px 32px; text-align: center; margin-top: 8px; }
.cta-icon { width: 58px; height: 58px; border-radius: 18px; background: var(--violet-bg); color: var(--violet-lt); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin: 0 auto 14px; }
.cta-title { font-size: 1.15rem; font-weight: 900; color: var(--dark); margin-bottom: 7px; }
.cta-text  { font-size: .86rem; color: var(--text-muted); margin-bottom: 20px; }
.cta-methods { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cta-method { display: flex; align-items: center; gap: 9px; padding: 10px 20px; border-radius: var(--radius-md); border: 1.5px solid var(--border); background: var(--white); font-size: .84rem; font-weight: 700; color: var(--dark); transition: var(--transition); cursor: pointer; }
.cta-method:hover { border-color: var(--violet-lt); color: var(--violet-lt); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cta-method i { font-size: 1.1rem; color: var(--violet-lt); }
.btn-contact { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, var(--violet), var(--violet-ltr)); color: var(--white); border: none; border-radius: 50px; padding: 12px 28px; font-family: 'Hind Siliguri', sans-serif; font-size: .9rem; font-weight: 800; cursor: pointer; transition: var(--transition); margin-top: 16px; }
.btn-contact:hover { opacity: .9; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(109,40,217,.35); }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar-sticky { position: sticky; top: 88px; }
.sidebar-card { background: var(--white); border-radius: var(--radius-md); border: 1.5px solid var(--border); padding: 20px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.sc-title { font-size: .88rem; font-weight: 800; color: var(--dark); display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.sc-title i { color: var(--violet-lt); }

/* Category list */
.cat-list { display: flex; flex-direction: column; gap: 4px; }
.cat-item { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); border: 1px solid transparent; }
.cat-item:hover { background: var(--bg-light); border-color: var(--border); }
.cat-item.active { background: var(--violet-bg); border-color: rgba(109,40,217,.18); }
.cat-left { display: flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 600; color: var(--dark); }
.cat-dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.cat-count { font-size: .72rem; font-weight: 800; padding: 2px 8px; border-radius: 50px; background: var(--bg-light); color: var(--text-muted); }
.cat-item.active .cat-count { background: var(--violet-bg); color: var(--violet-lt); }

/* Contact methods */
.contact-list { display: flex; flex-direction: column; gap: 10px; }
.contact-item { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: var(--bg-light); border-radius: var(--radius-sm); border: 1px solid var(--border); transition: var(--transition); }
.contact-item:hover { border-color: rgba(109,40,217,.2); background: var(--white); }
.ci-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: .95rem; color: var(--white); flex-shrink: 0; }
.ci-info { flex: 1; min-width: 0; }
.ci-label { font-size: .7rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }
.ci-value { font-size: .82rem; font-weight: 700; color: var(--dark); }

/* Satisfaction card */
.sat-card { background: linear-gradient(135deg, rgba(22,163,74,.08), rgba(74,222,128,.08)); border: 1.5px solid rgba(22,163,74,.18); border-radius: var(--radius-md); padding: 18px 20px; margin-bottom: 20px; text-align: center; }
.sat-pct  { font-size: 2.5rem; font-weight: 900; color: var(--success); line-height: 1; }
.sat-label { font-size: .78rem; color: var(--text-muted); margin-top: 4px; }
.sat-bar  { height: 8px; background: rgba(22,163,74,.12); border-radius: 50px; overflow: hidden; margin: 12px 0 8px; }
.sat-fill { height: 100%; border-radius: 50px; background: linear-gradient(90deg, var(--success), #4ade80); width: 97%; transition: width 1.2s ease; }
.sat-meta { font-size: .72rem; color: var(--text-muted); }

/* ============================================================
   FOOTER
   ============================================================ */

/* ============================================================
   BOTTOM NAV
   ============================================================ */

/* ============================================================
   NO RESULTS
   ============================================================ */
.no-results { text-align: center; padding: 40px 20px; display: none; }
.no-results i { font-size: 3rem; color: var(--text-muted); margin-bottom: 12px; opacity: .5; }
.no-results p { font-size: .9rem; color: var(--text-muted); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
 .main-layout { grid-template-columns: 1fr; } .sidebar-sticky { position: static; } 
}

@media (max-width: 768px) {

    
    
    
    
    
    .page-hero { padding: 22px 0 72px; }
    .hero-title { font-size: 1.8rem; }
    .main-layout { margin-top: -30px; }
    .cta-card { padding: 22px 18px; }

}

@media (max-width: 480px) {

    .hero-title { font-size: 1.45rem; }
    .cta-methods { flex-direction: column; align-items: center; }

}

