

/* Hero Section FAQ */
.faq-hero-section {
    background: linear-gradient(135deg, var(--primary-color), #3d8f27);
    min-height: 50vh;

    align-items: center;
    padding-top: 100px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.faq-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/brushed-alum.png') repeat;
    opacity: 0.1;
}

.faq-hero-content {
    position: relative;
    z-index: 2;
}

.faq-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.faq-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* Search Box */
.search-box {
    max-width: 600px;
    margin: 0 auto;
}

.search-box .input-group {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.search-box .form-control {
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
}

.search-box .form-control:focus {
    box-shadow: none;
}

.search-box .btn-accent {
    border-radius: 0 50px 50px 0;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.search-suggestions small {
    color: rgba(255, 255, 255, 0.8);
}

/* Categories Navigation */
.categories-scroll {
    overflow-x: auto;
    padding-bottom: 10px;
}

.categories-scroll::-webkit-scrollbar {
    height: 6px;
}

.categories-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.categories-scroll::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

.category-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.category-btn:hover,
.category-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(80, 180, 50, 0.3);
}

/* FAQ Content */
.faq-category {
    scroll-margin-top: 100px;
}

.category-header {
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--accent-color);
    margin-bottom: 2rem;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.category-description {
    color: #666;
    font-size: 1.1rem;
}

/* Accordion Styles */
.accordion {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.accordion-item {
    border: 1px solid #e0e0e0;
    margin-bottom: 1rem;
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    background: white;
}

.accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-button {
    background-color: white;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.5rem;
    border: none;
    transition: var(--transition);
}

.accordion-button:not(.collapsed) {
    background-color: rgba(80, 180, 50, 0.1);
    color: var(--accent-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(80, 180, 50, 0.25);
    border-color: var(--accent-color);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2350B432'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-90deg);
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(0deg);
}

.accordion-body {
    padding: 1.5rem;
    background-color: white;
    line-height: 1.8;
}

.accordion-body ul,
.accordion-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.accordion-body li {
    margin-bottom: 0.5rem;
}

.accordion-body strong {
    color: var(--accent-color);
}

/* Tables */
.table {
    margin: 1rem 0;
}

.table thead {
    background-color: rgba(80, 180, 50, 0.1);
}

.table th {
    font-weight: 600;
    color: var(--dark-color);
}

.table-bordered {
    border: 1px solid #dee2e6;
}

.table-active {
    background-color: rgba(80, 180, 50, 0.05) !important;
}

/* Steps Cards */
.step-card {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    height: 100%;
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-card h5 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.step-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Regulation Timeline */
.regulation-timeline {
    position: relative;
    padding-left: 30px;
}

.regulation-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.regulation-item {
    position: relative;
    margin-bottom: 2rem;
}

.regulation-item:last-child {
    margin-bottom: 0;
}

.regulation-year {
    position: absolute;
    left: -40px;
    top: 0;
    width: 70px;
    height: 30px;
    background: var(--accent-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 15px;
    font-size: 0.9rem;
}

.regulation-content {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid #e0e0e0;
    margin-left: 1rem;
}

.regulation-content h6 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.regulation-content p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Popular FAQ Cards */
.section-popular-faq {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.popular-faq-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--box-shadow);
    border: 1px solid #e0e0e0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.popular-faq-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.popular-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--secondary-color);
    color: var(--dark-color);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.popular-faq-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.popular-faq-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.popular-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.popular-link:hover {
    color: #3d8f27;
}

.popular-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.popular-link:hover i {
    transform: translateX(5px);
}

/* Contact Quick */
.contact-quick {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Alerts */
.alert-info {
    background-color: rgba(80, 180, 50, 0.1);
    border-color: var(--accent-color);
    color: var(--dark-color);
}

/* Responsive */
@media (max-width: 992px) {
    .faq-hero-title {
        font-size: 2.5rem;
    }
    
    .category-title {
        font-size: 1.8rem;
    }
    
    .popular-faq-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .faq-hero-title {
        font-size: 2rem;
    }
    
    .faq-hero-subtitle {
        font-size: 1rem;
    }
    
    .search-box .form-control {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
    }
    
    .search-box .btn-accent {
        padding: 0.8rem 1.5rem;
    }
    
    .category-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .accordion-button {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .step-card {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .faq-hero-title {
        font-size: 1.8rem;
    }
    
    .categories-scroll {
        padding-bottom: 15px;
    }
    
    .category-btn {
        margin-bottom: 0.5rem;
    }
    
    .regulation-timeline {
        padding-left: 20px;
    }
    
    .regulation-year {
        left: -30px;
        width: 60px;
        font-size: 0.8rem;
    }
}