/* FAQ Expandable Styles */
.faq-toggle {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.FAQ .normal:hover {
    background-color: rgba(0, 122, 133, 0.05);
    transition: background-color 0.2s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out, opacity 0.4s ease-out;
    opacity: 0;
    padding: 0 24px;
}

.faq-answer.active {
    max-height: 500px;
    opacity: 1;
    padding: 20px 24px 24px;
    animation: fadeInSlide 0.4s ease-out;
}

.faq-answer p {
    margin: 0 0 12px 0;
    font-family: "Aptos-Display", Helvetica;
    font-size: 16px;
    line-height: 24px;
    color: #696969;
}

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

/* Rich Text Editor content styling */
.faq-answer ul,
.faq-answer ol {
    margin: 0 0 12px 0;
    padding-left: 40px;
    font-family: "Aptos-Display", Helvetica;
    font-size: 16px;
    line-height: 24px;
    color: #696969;
    list-style-position: outside;
}

.faq-answer ul {
    list-style-type: disc;
}

.faq-answer ol {
    list-style-type: decimal;
}

.faq-answer ul:last-child,
.faq-answer ol:last-child {
    margin-bottom: 0;
}

.faq-answer li {
    margin-bottom: 8px;
    display: list-item;
}

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

.faq-answer li p {
    margin: 0;
    display: inline;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-icon.rotated {
    transform: rotate(45deg);
}

/* Smooth slide-in animation */
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styles for FAQ section */
@media (max-width: 1250px) {
    .homepage .frame-14,
    .homepage .FAQ {
        width: 95% !important;
        max-width: 1188px;
    }
}

@media (max-width: 850px) {
    .homepage .section-title-2,
    .homepage .FA-qs,
    .homepage .text-9 {
        width: 90% !important;
        max-width: 768px;
    }
    
    .homepage .frame-14,
    .homepage .FAQ {
        width: 90% !important;
    }
}

@media (max-width: 600px) {
    .homepage .section-title-2,
    .homepage .FA-qs,
    .homepage .text-9 {
        width: 95% !important;
    }
    
    .homepage .frame-14,
    .homepage .FAQ {
        width: 95% !important;
    }
    
    .homepage .FA-qs {
        font-size: 36px !important;
        line-height: 43.2px !important;
    }
    
    .homepage .text-9 {
        font-size: 16px !important;
        line-height: 24px !important;
    }
    
    .homepage .normal {
        padding: 0px 16px !important;
    }
    
    .faq-answer {
        padding: 0 16px !important;
    }
    
    .faq-answer.active {
        padding: 16px !important;
    }
    
    .homepage .question-2 {
        font-size: 16px !important;
        line-height: 24px !important;
    }
}

/* Testimonial Card Hover Effects */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.testimonial-card:active {
    transform: translateY(-2px);
}
