.sp-faqs-section {
    padding: var(--stdPadding-top) 0 var(--stdPadding-bottom);
    background-color: var(--nexros-bg);
    font-family: 'DM Sans', sans-serif;
}

.sp-faqs-section .container-sm {
    max-width: 900px;
    margin: 0 auto;
}

.sp-faqs-section .faqs-header {
    margin-bottom: 60px;
    text-align: center;
}

.sp-faqs-section .faqs-header .title {
    font-size: 48px !important;
    margin-bottom: 16px;
    color: var(--dark);
    font-weight: 700;
}

.sp-faqs-section .faqs-header .subtitle {
    font-size: 18px;
    color: var(--silver);
    max-width: 600px;
    margin: 0 auto;
}

.sp-faqs-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sp-faq-item {
    background: var(--whiteColor);
    border: 1px solid var(--greyColor200);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.sp-faq-item:hover {
    border-color: var(--nexros-teal);
    box-shadow: 0 10px 25px rgba(55, 163, 129, 0.05);
}

.sp-faq-item.active {
    border-color: var(--nexros-teal);
    box-shadow: 0 15px 35px rgba(55, 163, 129, 0.08);
}

.sp-faq-trigger {
    width: 100%;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.sp-faq-question {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.sp-faq-item.active .sp-faq-question {
    color: var(--nexros-teal);
}

.sp-faq-icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-left: 20px;
}

.sp-faq-icon::before,
.sp-faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--silver);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Horizontal bar */
.sp-faq-icon::before {
    width: 14px;
    height: 2px;
    top: 11px;
    left: 5px;
}

/* Vertical bar */
.sp-faq-icon::after {
    width: 2px;
    height: 14px;
    top: 5px;
    left: 11px;
}

.sp-faq-item.active .sp-faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.sp-faq-item.active .sp-faq-icon::before {
    background-color: var(--nexros-teal);
}

.sp-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease;
    background-color: #fcfdfd;
}

.sp-faq-item.active .sp-faq-content {
    max-height: 1000px; /* Large enough to fit content */
}

.sp-faq-content-inner {
    padding: 0 32px 32px 32px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--body);
}

.sp-faq-content-inner p {
    margin-bottom: 16px;
}

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

.sp-faq-content-inner ul {
    margin: 16px 0;
    padding-left: 20px;
}

.sp-faq-content-inner li {
    margin-bottom: 12px;
}

.sp-faq-content-inner strong {
    color: var(--dark);
}

.sp-faq-content-inner a {
    color: var(--nexros-teal);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media screen and (max-width: 1024px) {
    .sp-faqs-section .container,
    .sp-faqs-section .container-sm {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media screen and (max-width: 768px) {
    .sp-faqs-section .container,
    .sp-faqs-section .container-sm {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .sp-faqs-section .faqs-header .title {
        font-size: 32px !important;
    }
    
    .sp-faq-trigger {
        padding: 20px 24px;
    }
    
    .sp-faq-question {
        font-size: 18px;
    }
    
    .sp-faq-content-inner {
        padding: 0 24px 24px 24px;
    }
}

/* Scroll Animation */
@keyframes spFaqFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-faq-item {
    animation: spFaqFadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
