.faq-section {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.font-weight-bold p{
    color: #4A90A4;
    font-weight: bold;
    font-size: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category-wrapper {
    margin-bottom: 50px;
}

.category-title {
    color: #4A90A4;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: left;
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: white;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background-color: #f8fafa;
}

.question-text {
    color: #4A90A4;
    font-size: 1.3em;
    font-weight: 600;
    flex: 1;
    margin-right: 20px;
    line-height: 1.4;
}

.toggle-button {
    background: #4A90A4;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.toggle-icon {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.faq-item.active .toggle-icon {
    transform: rotate(180deg);
}

.faq-item.active .toggle-button {
    background: #5BA0B5;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background-color: #f8fafa;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 30px 30px;
}

.answer-content {
    color: #666;
    line-height: 1.7;
    font-size: 1.1em;
    padding-top: 10px;
}

.no-items {
    background: white;
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.faq-search-box {
    background: white;
    border-radius: 25px;
    padding: 20px 30px;
    margin: 40px auto;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    position: sticky;
    top: 20px;
    z-index: 100;
}

.faq-search-box i.fa-search {
    color: #4A90A4;
    font-size: 1.3em;
}

.faq-search-box input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 1.2em;
    color: #333;
    background: transparent;
}

.faq-search-box input::placeholder {
    color: #999;
}

.faq-search-box button {
    background: #f0f0f0;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-search-box button:hover {
    background: #e0e0e0;
    color: #666;
}

.faq-item.hidden {
    display: none;
}

.faq-category-wrapper.no-visible-items {
    opacity: 0.5;
    pointer-events: none;
}

.search-highlight {
    background-color: #fff3cd;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 20px 15px;
    }

    .category-title {
        font-size: 2em;
    }

    .faq-question {
        padding: 20px;
    }

    .question-text {
        font-size: 1.1em;
    }

    .toggle-button {
        width: 35px;
        height: 35px;
    }

    .faq-search-box {
        padding: 15px 20px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    animation: fadeInUp 0.5s ease-out;
}