/* FAQs Page Styles */
:root {
    --primary-color: #6a0dad; /* Purple */
    --secondary-color: #8b0000; /* Maroon/Red */
    --dark-color: #212529; /* Black */
    --light-color: #f8f9fa; /* Light Gray/Silver */
    --gray-color: #6c757d; /* Gray */
    --transition: all 0.3s ease;
}

/* Hero Section Styles */
.hero-section.faqs-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    color: var(--light-color);
    overflow: hidden;
    margin-bottom: 2rem;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('../images/logo.jpg') center/cover no-repeat fixed;
    z-index: -1;
}

.hero-content {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 1rem 0;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.text-reveal {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.highlight {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: rgba(106, 13, 173, 0.3);
    z-index: -1;
    transform: skewX(-15deg);
}

.search-box {
    position: relative;
    max-width: 500px;
    margin: 2rem auto 0;
}

.search-box .form-control {
    padding-left: 3rem;
    height: 50px;
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: none;
    font-size: 1rem;
}

.search-box .form-control:focus {
    box-shadow: 0 5px 20px rgba(106, 13, 173, 0.3);
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* FAQ Categories */
.faq-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.category-card {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: var(--transition);
    transform-style: preserve-3d;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px) rotateY(10deg);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.category-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: white;
}

.category-name {
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
}

/* Wave Divider */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* FAQ Accordion Styles */
.faqs-section {
    position: relative;
    background-color: var(--light-color);
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

.section-subtitle {
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

.faq-accordion {
    margin-top: 2rem;
}

.accordion-item {
    border: none;
    background-color: transparent;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.accordion-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    padding: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    background-color: white;
    border: none;
    position: relative;
    transition: var(--transition);
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(106, 13, 173, 0.1);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236a0dad'%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");
    transition: var(--transition);
}

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

.accordion-body {
    padding: 1.25rem;
    background-color: white;
    color: var(--gray-color);
    line-height: 1.6;
}

.accordion-body p {
    margin-bottom: 1rem;
}

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

.accordion-body a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.accordion-body a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Still Have Questions Section */
.still-questions-section {
    margin-top: 4rem;
}

.question-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    padding: 3rem 2rem;
    color: white;
    box-shadow: 0 15px 35px rgba(106, 13, 173, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.question-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
    animation: pulse 8s infinite;
}

.question-card h3 {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.question-card p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.question-card .btn-animated {
    border: 2px solid white;
    background-color: transparent;
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: var(--transition);
}

.question-card .btn-animated:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* Highlight for search results */
mark {
    background-color: rgba(106, 13, 173, 0.2);
    color: inherit;
    padding: 0 2px;
    border-radius: 3px;
}

@keyframes pulse {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-section.faqs-hero {
        height: auto;
        padding: 6rem 0 8rem;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .category-card {
        width: 100px;
        height: 100px;
    }
    
    .category-icon {
        font-size: 1.75rem;
    }
    
    .question-card {
        padding: 2rem 1.5rem;
    }
    
    .question-card h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section.faqs-hero {
        padding: 5rem 0 7rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p.lead {
        font-size: 1rem;
    }
    
    .faq-categories {
        gap: 0.75rem;
    }
    
    .category-card {
        width: 90px;
        height: 90px;
    }
    
    .category-icon {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .category-name {
        font-size: 0.8rem;
    }
    
    .accordion-button {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .accordion-body {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .question-card h3 {
        font-size: 1.5rem;
    }
    
    .question-card p {
        font-size: 1rem;
    }
}