body {
    background-color: #f8f9fa;
    font-family: 'Space Grotesk', sans-serif;
    color: #333;
}

h1, h2, h3, h4, h5 {
    font-family: 'Syne', sans-serif;
}

.container {
    max-width: 1200px;
}

.faqs-hero-section {
    background: #f8f9fa;
    color: #333;
    padding: 70px 0 30px;
    position: relative;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 0;
    overflow: hidden;
}

.faqs-hero-section .container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 24px;
}

.faqs-hero-content {
    width: 100%;
    margin: 0 auto;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.faqs-hero-content .hero-icon {
    width: 80px;
    height: 80px;
    background-color: #4285F4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
}

.faqs-hero-content h1 {
    color: #4285F4;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Syne', sans-serif;
}

.hero-description {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 2rem;
    max-width: 650px;
    color: #666;
    line-height: 1.5;
}

.faq-search-container {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.search-input-group i {
    position: absolute;
    left: 1rem;
    color: #888;
    z-index: 2;
    font-size: 1.2rem;
}

.search-input-group .form-control {
    padding-left: 3rem;
    height: 56px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    font-size: 1rem;
    width: 100%;
    box-shadow: none;
}

.search-input-group .form-control:focus {
    outline: none;
    border-color: #4285F4;
}

.faq-categories-section {
    padding: 1.5rem 0;
    background: #f8f9fa;
    margin-top: 20px;
}

.category-tabs {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
    justify-content: flex-start;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    min-width: fit-content;
    gap: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.category-tab:hover {
    background: #f5f5f5;
}

.category-tab.active {
    background: #4285F4;
    color: white;
    border-color: #4285F4;
}

.tab-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
}

.tab-count {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    padding: 0.1rem 0.4rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 500;
    min-width: 22px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.category-tab:not(.active) .tab-count {
    background: #4285F4;
    color: white;
}

.faq-content-section {
    padding: 3rem 0 5rem;
    background: white;
}

.faq-content-section .row {
    flex-direction: row;
}

.faq-questions {
    margin-bottom: 2rem;
}

.faq-category-group {
    margin-bottom: 2rem;
    background: white;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Syne', sans-serif;
    padding: 12px 20px;
    border-radius: 8px;
    width: 100%;
}

.category-title i {
    color: #4285F4;
    font-size: 1rem;
    padding: 0.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-right: 8px;
}

.cancellation-group .category-title {
    color: #DC3545;
    background-color: rgba(220, 53, 69, 0.1);
}

.cancellation-group .category-title i {
    color: #DC3545;
    background-color: white;
}

.rental-group .category-title {
    color: #4285F4;
    background-color: rgba(66, 133, 244, 0.1);
}

.rental-group .category-title i {
    color: #4285F4;
    background-color: white;
}

.insurance-group .category-title {
    color: #26A69A;
    background-color: rgba(38, 166, 154, 0.1);
}

.insurance-group .category-title i {
    color: #26A69A;
    background-color: white;
}

[data-category="payments"] .category-title {
    color: #8E44AD;
    background-color: rgba(142, 68, 173, 0.1);
}

[data-category="payments"] .category-title i {
    color: #8E44AD;
    background-color: white;
}

[data-category="vehicle"] .category-title {
    color: #FF6B00;
    background-color: rgba(255, 107, 0, 0.1);
}

[data-category="vehicle"] .category-title i {
    color: #FF6B00;
    background-color: white;
}

[data-category="support"] .category-title {
    color: #00BCD4;
    background-color: rgba(0, 188, 212, 0.1);
}

[data-category="support"] .category-title i {
    color: #00BCD4;
    background-color: white;
}

[data-category="popular"] .category-title {
    color: #FF6B00;
    background-color: rgba(255, 107, 0, 0.1);
}

[data-category="popular"] .category-title i {
    color: #FF6B00;
    background-color: white;
}

.faq-item {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    position: relative;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 1rem 1.25rem;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
    border-bottom: 1px solid transparent;
    font-family: 'Space Grotesk', sans-serif;
}

.faq-question:hover {
    color: #4285F4;
}

.faq-question i.fa-chevron-down,
.faq-question i.fa-chevron-up {
    color: #999;
    transition: all 0.2s;
    font-size: 0.8rem;
    margin-left: 12px;
}

.faq-item.active .faq-question {
    color: #4285F4;
    border-bottom-color: #eee;
}

.faq-item.active .faq-question i {
    color: #4285F4;
    transform: rotate(180deg);
}

.favorite-icon {
    color: #FFD700;
    margin-left: auto;
    font-size: 1rem;
    margin-right: 12px;
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.faq-item.active .faq-answer {
    padding: 1rem 1.25rem;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
    font-family: 'Space Grotesk', sans-serif;
}

.faq-sidebar {
    position: sticky;
    top: 2rem;
}

.popular-questions-sidebar {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.popular-questions-sidebar h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    font-family: 'Syne', sans-serif;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.popular-questions-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-questions-sidebar ul li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.popular-questions-sidebar ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-questions-sidebar ul li a {
    color: #4285F4;
    font-weight: 500;
    font-size: 0.85rem;
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
}

.popular-questions-sidebar ul li p {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.4;
}

.help-card, .questions-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    text-align: center;
}

.help-icon, .questions-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.questions-icon i {
    font-size: 1.8rem;
    color: white;
}

.questions-card .contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.questions-card .contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.06);
    border: 1px solid #f1f1f1;
}

.questions-card .contact-method:hover {
    background-color: #dc3545;
    color: #fff;
    transform: translateY(-3px);
    border-color: #dc3545;
}

.questions-card .contact-method .method-value {
    color: #4285F4;
    font-size: 1rem;
    font-weight: 700;
}

.questions-card .contact-method:hover .method-value {
    color: #fff;
}

.favorite-icon {
    color: #FFD700;
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .faqs-hero-content h1 {
        font-size: 2rem;
    }

    .hero-description {
        max-width: 90%;
    }

    .category-tabs {
        justify-content: flex-start;
    }

    .faq-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .faqs-hero-section {
        padding: 40px 0 30px;
    }

    .faqs-hero-content {
        padding: 30px 20px;
        width: 100%;
    }

    .faqs-hero-content .hero-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .category-tab {
        padding: 0.75rem 1rem;
    }

    .tab-text {
        font-size: 0.8rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem;
    }

    .help-card, .questions-card {
        padding: 1.5rem;
    }

    .contact-methods {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-method {
        width: 100%;
    }

    .questions-card {
        padding: 1.5rem;
    }

    .questions-icon {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .questions-card h4 {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .faqs-hero-content {
        padding: 25px 15px;
        width: 100%;
        margin: 0;
        border-radius: 12px;
    }

    .search-input-group .form-control {
        height: 48px;
        border-radius: 12px;
    }

    .faqs-hero-content h1 {
        font-size: 1.75rem;
    }

    .faq-search-container {
        padding: 15px;
        border-radius: 12px;
    }
}
