/* MedSeek FAQ — faq.css */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }


body {
    font-family: "Nunito Sans", sans-serif;
    background: #F0F7F6;
    color: #043259;
    min-height: 100vh;
}

.faq-wrapper {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

/* HEADER */
.faq-header {
    text-align: center;
    margin-bottom: 36px;
}

.faq-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #043259;
    margin-bottom: 8px;
}

.faq-header p {
    font-size: 15px;
    color: #80A4AE;
    margin-bottom: 24px;
}

.faq-search {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.faq-search input {
    width: 100%;
    padding: 12px 44px 12px 16px;
    border: 1.5px solid #B0D9CD;
    border-radius: 10px;
    font-family: "Nunito Sans", sans-serif;
    font-size: 14px;
    color: #043259;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
}

.faq-search input:focus {
    border-color: #60A699;
}

.search-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    pointer-events: none;
}

/* CATEGORY BUTTONS */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    justify-content: center;
}

.cat-btn {
    padding: 7px 16px;
    border-radius: 6px;
    border: 1.5px solid #B0D9CD;
    background: #fff;
    color: #043259;
    font-family: "Nunito Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.cat-btn:hover {
    border-color: #60A699;
    background: #E8F5F2;
}

.cat-btn.active {
    background: #043259;
    border-color: #043259;
    color: #fff;
}

/* SECTION LABEL */
.section-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #60A699;
    margin: 28px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1.5px solid #B0D9CD;
}

.faq-section:first-child .section-label {
    margin-top: 0;
}

/* FAQ ITEMS */
.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(4, 50, 89, 0.06);
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: 0 2px 10px rgba(4, 50, 89, 0.10);
}

.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: none;
    border: none;
    font-family: "Nunito Sans", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #043259;
    cursor: pointer;
    text-align: left;
    gap: 12px;
    transition: background 0.15s;
}

.faq-q:hover {
    background: #F0F7F6;
}

.faq-item.open .faq-q {
    background: #F0F7F6;
    color: #036A6F;
}

.faq-icon {
    font-size: 20px;
    font-weight: 400;
    color: #60A699;
    flex-shrink: 0;
    line-height: 1;
    transition: color 0.2s;
}

.faq-item.open .faq-icon {
    color: #036A6F;
}

.faq-a {
    display: none;
    padding: 0 20px 18px;
    font-size: 14px;
    font-weight: 400;
    color: #4a6b7c;
    line-height: 1.7;
    border-top: 1px solid #E8F5F2;
    padding-top: 14px;
}

.faq-item.open .faq-a {
    display: block;
}

.faq-a strong {
    color: #043259;
    font-weight: 700;
}

/* NO RESULTS */
.faq-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #80A4AE;
}

.faq-no-results p {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #043259;
}

.faq-no-results span {
    font-size: 14px;
}

/* FOOTER */
.faq-footer {
    text-align: center;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1.5px solid #B0D9CD;
}

.faq-footer p {
    font-size: 15px;
    color: #80A4AE;
    margin-bottom: 12px;
}

.faq-contact-btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(90deg, #E7964F 0%, #F0C06E 77.88%, #E7964F 100%);
    color: #fff;
    font-family: "Nunito Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.faq-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 150, 79, 0.4);
}

.faq-pro-badge {
    display: inline-block;
    background: linear-gradient(90deg, #E7964F 0%, #F0C06E 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 5px;
    float: right;
    margin-top: 12px;
    margin-bottom: 4px;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .faq-header h1 { font-size: 24px; }
    .faq-q { font-size: 14px; padding: 14px 16px; }
    .faq-a { font-size: 13px; padding: 12px 16px 16px; }
    .cat-btn { font-size: 12px; padding: 6px 12px; }
}