/* FAQ Page Styles */
.faq-page-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 50%, #f0f4ff 100%);
}

/* Hero Section */
.faq-hero {
    background: #181818;
    color: white!important;
    padding: 100px 0 60px 0;
    position: relative;
    overflow: hidden;
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-10px) rotate(1deg); 
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5em;
    font-weight: 300;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    animation: slideUp 0.8s ease-out;
    color:white!important;
}

.hero-subtitle {
    font-size: 1.3em;
    opacity: 0.9;
    margin-bottom: 40px;
    animation: slideUp 0.8s ease-out 0.2s both;
}

.hero-search {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    animation: slideUp 0.8s ease-out 0.4s both;
}

.search-input {
    width: 100%;
    padding: 20px 60px 20px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.search-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.search-input:focus {
    outline: none;
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 1.2em;
    pointer-events: none;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Content */
.faq-container {
    max-width: 1000px;
    margin: -40px auto 60px auto;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}

/* FAQ Categories - REMOVED */
/* This section has been removed per user request */

/* FAQ Items */
.faq-list {
    space-y: 20px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(255,255,255,0.8);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    opacity: 1;
    transform: translateY(0);
}

.faq-item.hidden {
    opacity: 0;
    transform: translateY(-10px);
    height: 0;
    margin-bottom: 0;
    overflow: hidden;
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 183, 245, 0.02) 100%);
}

.faq-question:hover {
    background: linear-gradient(90deg, rgba(0, 183, 245, 0.05) 0%, rgba(0, 183, 245, 0.02) 100%);
}

.question-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.question-number {
    background: #00B7F5;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9em;
    flex-shrink: 0;
}

.faq-question h3 {
    font-size: 1.1em;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    line-height: 1.4;
}

.question-toggle {
    transition: transform 0.3s ease;
}

.faq-item.active .question-toggle {
    transform: rotate(180deg);
}

.toggle-icon {
    color: #00B7F5;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 30px 30px;
}

.answer-content {
    padding-top: 20px;
}

.answer-content p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 15px;
}

.answer-content p:last-child {
    margin-bottom: 0;
}

.warning-box,
.info-box {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid;
}

.warning-box {
    background: #fef5e7;
    border-left-color: #00B7F5;
}

.info-box {
    background: #ebf8ff;
    border-left-color: #00B7F5;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.no-results-icon {
    font-size: 3em;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 1.5em;
    color: #2d3748;
    margin-bottom: 10px;
}

.no-results p {
    color: #718096;
    font-size: 1.1em;
}

/* Contact Section */
.faq-contact {
    background: #00B7F5;
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.faq-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 25%, rgba(0, 183, 245, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(0, 183, 245, 0.05) 0%, transparent 50%);
}

.contact-content {
    position: relative;
    z-index: 2;
}

.faq-contact h3 {
    font-size: 2em;
    font-weight: 300;
    margin-bottom: 15px;
    color:white!important;
}

.faq-contact p {
    font-size: 1.1em;
    opacity: 0.9;
    margin-bottom: 30px;
}

.contact-btn {
    display: inline-block;
    padding: 15px 30px;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:hover {
    background: #00B7F5;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 183, 245, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .question-content {
        gap: 15px;
    }
    
    .question-number {
        width: 35px;
        height: 35px;
        font-size: 0.8em;
    }
    
    .faq-question h3 {
        font-size: 1em;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 25px 20px;
    }
    
    .faq-contact {
        padding: 30px 20px;
    }
    
    .faq-contact h3 {
        font-size: 1.6em;
    }
}

@media (max-width: 480px) {
    .faq-container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2em;
    }
    
    .faq-question {
        padding: 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .question-content {
        width: 100%;
    }
    
    .question-toggle {
        align-self: flex-end;
        margin-top: -10px;
    }
    
    .search-input {
        padding: 15px 50px 15px 20px;
        font-size: 1em;
    }
    
    .search-icon {
        right: 15px;
        font-size: 1em;
    }
}

/* Animation for FAQ items appearing */
.faq-item {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search highlighting */
.search-highlight {
    background: linear-gradient(135deg, #fef5e7 0%, #fed7aa 100%);
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

/* Loading state */
.faq-loading {
    text-align: center;
    padding: 40px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-left-color: #00B7F5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { 
        transform: rotate(360deg); 
    }
}

/* Accessibility improvements */
.faq-item:focus-within {
    outline: 2px solid #00B7F5;
    outline-offset: 2px;
}

.search-input:focus {
    outline: 2px solid rgba(0, 183, 245, 0.5);
    outline-offset: 2px;
}

.category-card:focus {
    outline: 2px solid #00B7F5;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .faq-item {
        border: 2px solid #000;
    }
    
    .category-card {
        border: 2px solid #000;
    }
    
    .faq-question h3 {
        color: #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .faq-hero::before {
        animation: none;
    }
}

/* Print styles */
@media print {
    .faq-hero,
    .faq-categories,
    .faq-contact {
        display: none;
    }
    
    .faq-item {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .faq-answer {
        max-height: none !important;
        padding: 10px !important;
    }
    
    .question-toggle {
        display: none;
    }
}