.features-section {
    padding: 3rem 0;
    background: white;
}

.initial-info-faq {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.badge-faq {
    width: 100%;
    color: #5e7f96;
    border-color: #cfebfe;
    background-color: #dff2fe;
    padding-top: 1em;
    padding-bottom: 1em;
    padding-right: 1em;
    padding-left: 4em;
    margin-bottom: 22px;
    border-radius: 5px;
}

.badge-faq p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #5e7f96;
    text-align: left;
    margin-bottom: 0;
}

.badge-faq a {
    color: var(--primary-color);
}

/* ===== SEARCH FAQ STYLES ===== */
.search-faq {
    margin-bottom: 3rem;
}

.search-faq-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.search-faq-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--black-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-input-container {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.search-faq-content .search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    background: transparent;
    color: var(--black-color);
    box-shadow: none;
    height: auto;
    transition: none;
    line-height: normal;
    margin: 0px;

}

.search-input::placeholder {
    color: #999;
}

.search-button {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-button:hover {
    background: #d42b2b;
    transform: translateY(-2px);
}

.search-button i {
    font-size: 1.1rem;
}

/* ===== FAQ ACCORDION STYLES ===== */
.faq-accordion {
    max-width: 100%;
    margin: 0 auto;
}

.faq-group {
    margin-bottom: 3rem;
}

.faq-group-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--black-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: white;
    border-radius: 8px 8px 0 0;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: var(--primary-color);
    color: white;
}

.faq-question.active {
    background: var(--primary-color);
    color: white;
}

.faq-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--black-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* .faq-question.active .faq-number {
    background: white;
    color: var(--primary-color);
} */

.faq-text {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: var(--primary-color);
    margin-left: 1rem;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
    color: white;
}

/* Copy Link Button */
.faq-copy-link {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5rem;
    margin-right: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

.faq-question:hover .faq-copy-link {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    color: white;
}

.faq-copy-link:hover {
    background: rgba(229, 48, 48, 0.1);
    color: var(--primary-color);
    transform: scale(1.1);
}

.faq-question.active .faq-copy-link {
    color: white;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.faq-question.active .faq-copy-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
    border-radius: 0 0 8px 8px;
}

.faq-answer.active {
    max-height: 100%;
}

.faq-answer-content {
    padding: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.faq-answer-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #333;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem 0;
}

.faq-answer-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer-content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.faq-answer-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.faq-answer-content a:hover {
    color: #d42b2b;
}

.faq-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 1rem;
    margin: 1rem 0;
    color: #856404;
}

.faq-note strong {
    color: #856404;
}

/* Search Results Styles */
.search-highlight {
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 12px rgba(229, 48, 48, 0.2) !important;
}

.search-highlight .faq-question {
    background: rgba(229, 48, 48, 0.1) !important;
}

.no-results-message {
    text-align: center;
    padding: 3rem 2rem;
    margin: 2rem 0;
}

.no-results-content {
    max-width: 500px;
    margin: 0 auto;
}

.no-results-content i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.no-results-content h3 {
    font-size: 1.5rem;
    color: var(--black-color);
    margin-bottom: 1rem;
}

.no-results-content p {
    color: #666;
    margin-bottom: 0.5rem;
}

.no-results-content strong {
    color: var(--primary-color);
}

.content-final-faq {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    height: 405px;
    overflow: hidden;
}

.content-faq-left {
    background: url(../img/back-faq.jpg) no-repeat center;
    min-height: 420px;
    background-size: cover;
    width: 100%;
}

.content-faq-right {
    width: 100%;
    background: var(--primary-color);
    display: flex
;
    height: 100%;
    display: flex
;
    align-items: center;
    flex-wrap: wrap;
    min-height: 409px;
    padding: 40px;
}

.content-faq-right h2 {
    font-size: 2.375rem;
    font-weight: 800;
    color: var(--black-color);
}

.content-faq-right p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--black-color);
}




/* Responsive Design */
@media (max-width: 991px) {
    .content-faq-left {
        display: none;
    }
}

@media (max-width: 768px) {
    .faq-accordion {
        margin: 0 1rem;
    }

    .faq-group-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
        margin-right: 0.75rem;
    }

    .faq-text {
        font-size: 1rem;
    }

    .faq-answer-content {
        padding: 1rem;
    }

    .faq-answer-content h4 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {

    .features-section,
    .process-section,
    .testimonials-section,
    .categories-section {
        padding: 2rem 0;
    }

    .faq-accordion {
        margin: 0 0.5rem;
    }

    .faq-group-title {
        font-size: 1.2rem;
        text-align: center;
    }

    .faq-question {
        padding: 0.75rem;
    }

    .faq-text {
        font-size: 0.95rem;
    }

    .faq-answer-content {
        padding: 0.75rem;
    }

    .faq-note {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}