@import url('https://fonts.googleapis.com/css2?family=Tenor+Sans&display=swap');

/* FAQ Page Styles with Tenor Sans */
.faq {
    font-family: 'Tenor Sans', sans-serif;
    padding: 20px 0;
}

.faq h1,
.faq h2,
.faq h3,
.faq h4,
.faq h5,
.faq h6 {
    font-family: 'Tenor Sans', sans-serif !important;
    font-weight: 400;
}

/* Section Headers */
.faq h2 {
    font-size: 32px;
    color: #333;
    margin: 40px 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    font-weight: 400;
}

.faq h2:first-of-type {
    margin-top: 20px;
}

/* Accordion Question Styling */
.faq .pfaq.accordion {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq .pfaq.accordion:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #ffffff !important;
    border-color: #e0e0e0 !important;
}

.faq .pfaq.accordion.active {
    background: #ffffff !important;
    border-color: #e0e0e0 !important;
}

.faq .pfaq.accordion:hover a {
    color: #333 !important;
}

.faq .pfaq.accordion:hover a::after {
    color: #666 !important;
}



.faq .pfaq.accordion a {
    display: block;
    padding: 18px 50px 18px 20px;
    text-decoration: none;
    color: #333;
    font-family: 'Tenor Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    position: relative;
    transition: color 0.3s ease;
}

/* Remove italic styling */
.faq .pfaq.accordion a i {
    font-style: normal;
}

.faq .pfaq.accordion a i span {
    font-family: 'Tenor Sans', sans-serif;
}

/* Dropdown Arrow Icon */
.faq .pfaq.accordion a::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #666;
    transition: transform 0.3s ease;
}

.faq .pfaq.accordion.active a::after {
    transform: translateY(-50%) rotate(180deg);
    color: #666 !important;
}

.faq .pfaq.accordion.active a {
    color: #333 !important;
}

/* Answer Panel Styling */
.faq .panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
    margin-top: -1px;
}

.faq .panel.show {
    max-height: 5000px;
    padding: 20px;
    border-top: 1px solid #e0e0e0;
}

.faq .panel p {
    font-family: 'Tenor Sans', sans-serif;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
    font-size: 16px;
}

.faq .panel p:last-child {
    margin-bottom: 0;
}

.faq .panel strong {
    font-family: 'Tenor Sans', sans-serif;
    font-weight: 600;
    color: #333;
}

.faq .panel ul,
.faq .panel ol {
    font-family: 'Tenor Sans', sans-serif;
    line-height: 1.8;
    color: #555;
    margin: 15px 0;
    padding-left: 25px;
}

.faq .panel li {
    margin-bottom: 10px;
}

/* Table Styling */
.faq .panel table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: 'Tenor Sans', sans-serif;
}

.faq .panel table td,
.faq .panel table th {
    padding: 12px;
    border: 1px solid #e0e0e0;
    text-align: left;
    font-size: 14px;
}

.faq .panel table th {
    background-color: #f5f5f5;
    font-weight: 600;
}

.faq .panel table a {
    color: #007bff;
    text-decoration: none;
    word-break: break-all;
}

.faq .panel table a:hover {
    text-decoration: underline;
}

/* Video iframes */
.faq .panel iframe {
    border-radius: 8px;
    margin: 10px 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq h2 {
        font-size: 26px;
    }

    .faq .pfaq.accordion a {
        font-size: 16px;
        padding: 15px 45px 15px 15px;
    }

    .faq .pfaq.accordion a::after {
        right: 15px;
    }

    .faq .panel.show {
        padding: 15px;
    }

    .faq .panel iframe {
        width: 100% !important;
        height: 250px !important;
    }
}