.faq-hero {
    background: linear-gradient(rgba(26,31,56,0.8), rgba(26,31,56,0.8)), url('../sketches/whole_grains_legumes_vegetables_stock_image_4.webp');
    background-size: cover;
    background-position: center center;
    padding: 150px 0 100px;
    color: #fff;
    text-align: center;
}

.faq-hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.faq-hero-content p {
    font-size: 20px;
    margin-bottom: 0;
    color: #fff;
    opacity: 0.9;
}

.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-sidebar {
    background: #fff;
    padding: 30px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

.faq-sidebar h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 25px;
}

.faq-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-categories li {
    margin-bottom: 12px;
}

.faq-category-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.faq-category-link img {
    margin-right: 12px;
    filter: brightness(0) saturate(100%) invert(50%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(102%) contrast(102%);
    transition: all 0.3s ease;
}

.faq-category-link:hover,
.faq-category-link.active {
    background: #28AE60;
    color: #fff;
    transform: translateX(5px);
}

.faq-category-link:hover img,
.faq-category-link.active img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
}

.faq-content {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.faq-category {
    display: none;
}

.faq-category.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-category h2 {
    font-size: 32px;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 35px;
    position: relative;
    padding-bottom: 15px;
}

.faq-category h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #28AE60, #27AE5F);
    border-radius: 2px;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e8ecf0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background: #fafbfc;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.faq-question:hover {
    background: #f0f8f4;
}

.faq-item.active .faq-question {
    background: #28AE60;
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.1);
}

.faq-icon {
    margin-right: 15px;
    filter: brightness(0) saturate(100%) invert(56%) sepia(73%) saturate(432%) hue-rotate(95deg) brightness(95%) contrast(86%);
    transition: all 0.3s ease;
    transform: rotate(0deg);
}

.faq-item.active .faq-icon {
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
    transform: rotate(45deg);
}

.faq-question h4 {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    color: #2C2C2C;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question h4 {
    color: #fff;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: #fff;
}

.faq-item.active .faq-answer {
    padding: 20px 25px 25px;
    max-height: 500px;
}

.faq-answer p {
    color: #666;
    line-height: 1.7;
    margin: 0;
    font-size: 15px;
}

.faq-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #28AE60 0%, #27AE5F 100%);
    color: #fff;
    text-align: center;
}

.faq-cta-content h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.faq-cta-content p {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 35px;
    color: #fff;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    background: #fff;
    color: #28AE60;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    color: #27AE5F;
}

@media (max-width: 991px) {
    .faq-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .faq-hero-content h1 {
        font-size: 36px;
    }

    .faq-hero-content p {
        font-size: 18px;
    }

    .faq-category h2 {
        font-size: 26px;
    }

    .faq-cta-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .faq-hero {
        padding: 120px 0 70px;
    }

    .faq-hero-content h1 {
        font-size: 28px;
    }

    .faq-hero-content p {
        font-size: 16px;
    }

    .faq-section {
        padding: 60px 0;
    }

    .faq-content {
        padding: 25px 20px;
    }

    .faq-sidebar {
        padding: 25px 20px;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-item.active .faq-answer {
        padding: 15px 20px 20px;
    }

    .faq-category h2 {
        font-size: 22px;
    }

    .faq-cta {
        padding: 60px 0;
    }

    .faq-cta-content h2 {
        font-size: 24px;
    }

    .faq-cta-content p {
        font-size: 16px;
    }
}

.nav-link.active {
    color: #28AE60 !important;
}

.nav-link.active:after {
    width: 100%;
}