/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #f7fafc;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.header-title i {
    font-size: 2rem;
}

.header-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Main Content */
.main {
    padding: 4rem 0;
}

.faq-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-intro h2 {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a202c;
}

.faq-intro p {
    font-size: 1.125rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* FAQ Container */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #667eea;
    display: inline-block;
}

/* FAQ Items */
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8f9ff 0%, #f1f5ff 100%);
}

.faq-question:hover {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
}

.faq-question.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.faq-question h4 {
    font-size: 1.125rem;
    font-weight: 500;
    margin: 0;
    flex: 1;
    padding-right: 1rem;
}

.faq-question i {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: #667eea;
}

.faq-question.active i {
    transform: rotate(180deg);
    color: white;
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: white;
    opacity: 0;
}

.faq-answer.active {
    padding: 1.5rem 2rem 2rem 2rem;
    max-height: 1000px;
    opacity: 1;
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
}

/* Help Section */
.help-section {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.help-section h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.help-section p {
    font-size: 1.125rem;
    color: #718096;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(102, 126, 234, 0.3);
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    color: white;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0 1rem 0;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-column h3 {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}


/* Responsive Design */
@media (max-width: 768px) {
    .header-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .header-subtitle {
        font-size: 1.125rem;
    }
    
    .faq-intro h2 {
        font-size: 1.875rem;
    }
    
    .faq-question {
        padding: 1.25rem 1.5rem;
    }
    
    .faq-question h4 {
        font-size: 1rem;
    }
    
    .faq-answer.active {
        padding: 1.25rem 1.5rem 1.75rem 1.5rem;
    }
    
    .help-section {
        padding: 2rem 1.5rem;
        margin-top: 3rem;
    }
    
    .help-section h3 {
        font-size: 1.5rem;
    }
    
    .contact-button {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 2rem 0;
    }
    
    .header-title {
        font-size: 1.75rem;
    }
    
    .header-title i {
        font-size: 1.5rem;
    }
    
    .main {
        padding: 2rem 0;
    }
    
    .faq-intro {
        margin-bottom: 2rem;
    }
    
    .faq-intro h2 {
        font-size: 1.625rem;
    }
    
    .faq-section {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .faq-question {
        padding: 1rem 1.25rem;
    }
    
    .faq-answer.active {
        padding: 1rem 1.25rem 1.5rem 1.25rem;
    }
    
    .help-section {
        padding: 1.5rem 1rem;
        margin-top: 2rem;
    }
    
    .contact-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Animation for smooth loading */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    animation: fadeInUp 0.6s ease-out;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }

/* Focus states for accessibility */
.faq-question:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.contact-button:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .faq-item {
        border: 2px solid #2d3748;
    }
    
    .faq-question {
        border-bottom: 1px solid #2d3748;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
/* Navigation */
nav {
    background: #2c3e50;
    color: white;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: #3498db;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #34495e;
    min-width: 200px;
    top: 100%;
    right: 0;
    border-radius: 5px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    z-index: 1000;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content li {
    list-style: none;
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1rem;
    color: white;
    border-bottom: 1px solid #2c3e50;
}

.dropdown-content a:hover {
    background: #3498db;
    color: white;
}
