/**
 * Service FAQ Widget CSS
 */

/* Widget Container */
.service-faq-widget {
    padding: 0;
    margin-bottom: 30px;
    font-family: inherit;
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
}

/* Hide FAQ Titles */
.rm-faq-title-container, 
.rm-faq-title, 
.service-faq-widget-title,
.service-faq-accordion h2,
.service-faq-accordion .section-title,
.service-faq-accordion .widget-title {
    display: none !important;
}

/* Button */
.service-faq-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 25px;
    background-color: var(--main-color, #fcd307);
    color: #000 !important;
    font-weight: 700;
    text-align: center;
    border-radius: 50px;
    text-decoration: none !important;
    margin-bottom: 25px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Hover Animation */
.service-faq-button:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.service-faq-button:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    text-decoration: none !important;
    color: #000;
}

.service-faq-button:hover:before {
    left: 100%;
}

/* FAQ Accordion */
.service-faq-accordion {
    margin-top: 20px;
}

.service-faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: none;
}

.service-faq-question {
    padding: 15px;
    background-color: #000;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.service-faq-question:hover {
    background-color: #3a3a3a;
}

.service-faq-icon {
    color: #ffcb05;
    margin-right: 15px;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.service-faq-question-text {
    flex: 1;
    font-weight: 600;
    color: #e0e0e0;
    font-size: 16px;
}

.service-faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.service-faq-item.active .service-faq-toggle {
    transform: rotate(180deg);
}

.service-faq-answer {
    padding: 20px;
    background-color: #000;
    display: none;
    border-top: none;
}

.service-faq-answer p {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: #d0d0d0;
}

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

.service-faq-answer ol {
    margin: 10px 0;
    padding-left: 25px;
    list-style-type: decimal;
    list-style-position: outside;
}

.service-faq-answer ul {
    margin: 10px 0;
    padding-left: 25px;
    list-style-type: disc;
    list-style-position: outside;
}

.service-faq-answer li {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.5;
    color: #d0d0d0;
    display: list-item;
    list-style-position: outside;
    padding-left: 5px;
}

.service-faq-answer li:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 767px) {
    .service-faq-button {
        font-size: 15px;
        padding: 12px 15px;
        border-radius: 30px;
    }
    
    .service-faq-question {
        padding: 12px;
    }
    
    .service-faq-icon {
        font-size: 16px;
    }
    
    .service-faq-question-text {
        font-size: 15px;
    }
    
    .service-faq-answer {
        padding: 15px;
    }
} 