/* FAQs Page Styles */

.faqs-hero {
    background: linear-gradient(135deg, #2E7D32 0%, #43A047 100%);
}

.search-section {
    padding: 60px 0;
    background: #f8f9fa;
    border-bottom: 3px solid #2E7D32;
}

.search-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.search-container h2 {
    color: #333;
    margin-bottom: 20px;
}

.search-box {
    position: relative;
    margin-top: 30px;
}

.search-box input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #2E7D32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #2E7D32;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-box button:hover {
    background: #1B5E20;
}

.faqs-section {
    padding: 80px 0;
}

.faqs-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.category-nav {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.category-nav h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    display: block;
    padding: 10px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.category-list a:hover {
    background: #f8f9fa;
    color: #2E7D32;
    padding-left: 20px;
}

.category-list a.active {
    background: #E8F5E9;
    color: #2E7D32;
    font-weight: 600;
}

.faqs-content {
    flex: 1;
}

.faq-category {
    margin-bottom: 50px;
    scroll-margin-top: 100px;
}

.category-title {
    color: #2E7D32;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #E8F5E9;
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-title i {
    font-size: 1.8rem;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.faq-toggle {
    color: #2E7D32;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 25px 20px;
    color: #666;
    line-height: 1.7;
}

.faq-answer-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.faq-answer-content li {
    margin-bottom: 8px;
}

.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #2E7D32 0%, #43A047 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-white {
    background: white;
    color: #2E7D32;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 13px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-outline-white:hover {
    background: white;
    color: #2E7D32;
}

/* No results message */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-results i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .faqs-grid {
        grid-template-columns: 1fr;
    }
    
    .category-sidebar {
        position: static;
        margin-bottom: 40px;
    }
    
    .category-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .category-list li {
        margin: 0;
    }
    
    .category-list a {
        padding: 8px 16px;
        border: 1px solid #e0e0e0;
    }
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .search-container {
        padding: 0 20px;
    }
    
    .category-title {
        font-size: 1.3rem;
    }
    
    .faq-question {
        padding: 15px;
    }
    
    .faq-answer-content {
        padding: 0 15px 15px;
    }
}