/* ===== FAQ.CSS ===== */
/* Specific styles for the FAQ page */


/* Page Title Section */
.page-title {
    background: linear-gradient(135deg, rgba(59, 84, 213, 0.9), rgba(49, 46, 129, 0.9));
    padding: 3rem 0;
    text-align: center;
    margin-top: 0;
}

.page-title h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-title p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Search Box to match screenshot */
.search-container {
    position: relative;
    margin: 2rem auto;
    max-width: 600px;
}

.faq-search {
    width: 100%;
    padding: 0.75rem 1.25rem;
    padding-right: 3rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.faq-search:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(59, 84, 213, 0.5);
    box-shadow: 0 0 0 2px rgba(59, 84, 213, 0.3);
}

.faq-search::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-icon {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    pointer-events: none;
}

/* FAQ Content Section */
.faq-section {
    background-color: rgba(32, 51, 121, 0.8);
    padding-top: 0;
}

/* Categories */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-xl);
}

.faq-category-btn {
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-category-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
}

.faq-category-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* FAQ Items */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.12);
}

.faq-item.expanded {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: var(--spacing-lg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-white);
    flex: 1;
}

.expand-icon {
    color: var(--primary-color);
    font-size: var(--text-sm);
    transition: transform 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    margin-left: var(--spacing-md);
    flex-shrink: 0;
}

.faq-item.expanded .expand-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* No results */
.no-results {
    text-align: center;
    padding: var(--spacing-xl) 0;
    color: rgba(255, 255, 255, 0.7);
}

.no-results i {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.3);
}

.no-results h3 {
    margin-bottom: var(--spacing-md);
    color: var(--text-white);
}

/* Section Class for Consistency */
.section {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

/* CTA Section */
.cta {
    background: linear-gradient(to right, rgba(59, 130, 246, 0.3), rgba(79, 70, 229, 0.3));
    padding: var(--spacing-2xl) 0;
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.cta h2 {
    margin-bottom: var(--spacing-md);
}

.cta p {
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

/* Button Glow Effect for Consistent Look */
.btn-glow {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
      #ff0066, #ff00cc, #3b82f6, #10b981, #3b82f6, #ff00cc, #ff0066
    );
    background-size: 400% 400%;
    z-index: -1;
    border-radius: calc(var(--radius-md) + 2px);
    animation: glowingBorder 6s ease-in-out infinite;
    opacity: 0.7;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, 
      #ff0066, #ff00cc, #3b82f6, #10b981, #3b82f6, #ff00cc, #ff0066
    );
    background-size: 400% 400%;
    z-index: -2;
    border-radius: calc(var(--radius-md) + 4px);
    filter: blur(8px);
    animation: glowingBorder 6s ease-in-out infinite;
    animation-delay: -3s;
    opacity: 0.4;
}

@keyframes glowingBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .faq-categories {
        flex-direction: column;
        align-items: stretch;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .faq-category-btn {
        text-align: center;
    }
    
    .faq-question h3 {
        font-size: var(--text-base);
    }
    
    .cta-buttons {
        flex-direction: column;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    .page-title h1 {
        font-size: var(--text-3xl);
    }
    
    .page-title p {
        font-size: var(--text-base);
    }
    
    .faq-search {
        padding: 0.75rem 1.25rem;
    }
    
    .faq-question {
        padding: var(--spacing-md);
    }
    
    .faq-answer {
        padding: 0 var(--spacing-md) var(--spacing-md);
    }
} 130, 246, 0.2);
    border-radius: 50%;
    margin-left: var(--spacing-md);
    flex-shrink: 0;
}

.faq-item.expanded .expand-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* No results */
.no-results {
    text-align: center;
    padding: var(--spacing-xl) 0;
    color: rgba(255, 255, 255, 0.7);
}

.no-results i {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.3);
}

.no-results h3 {
    margin-bottom: var(--spacing-md);
    color: var(--text-white);
}

/* CTA Section */
.cta {
    background: linear-gradient(to right, rgba(59, 130, 246, 0.3), rgba(79, 70, 229, 0.3));
    padding: var(--spacing-2xl) 0;
    text-align: center;
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-2xl);
}

.cta h2 {
    margin-bottom: var(--spacing-md);
}

.cta p {
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

/* Media Queries */
@media (max-width: 768px) {
    .faq-categories {
        flex-direction: column;
        align-items: stretch;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .faq-category-btn {
        text-align: center;
    }
    
    .faq-question h3 {
        font-size: var(--text-base);
    }
    
    .cta-buttons {
        flex-direction: column;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    .page-title h1 {
        font-size: var(--text-3xl);
    }
    
    .page-title p {
        font-size: var(--text-base);
    }
    
    .faq-search {
        padding: 0.75rem 1.25rem;
    }
    
    .faq-question {
        padding: var(--spacing-md);
    }
    
    .faq-answer {
        padding: 0 var(--spacing-md) var(--spacing-md);
    }
}