
:root {
    --primary: #2563eb;
    --secondary: #fbbf24;
    --accent: #60a5fa;
    --background: #f8fafc;
    --text: #1e293b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

.header {
    background-color: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}

.logo i {
    font-size: 1.8rem;
}

.faq-hero {
    margin-top: 5rem;
    background: linear-gradient(135deg, var(--primary), #1d4ed8);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.search-container {
    max-width: 600px;
    margin: -2rem auto 0;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.search-box {
    width: 100%;
    padding: 1.2rem 1.5rem 1.2rem 3rem;
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-size: 1rem;
}

.search-icon {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
}

.faq-content {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.categories {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    background: white;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.faq-section {
    margin-bottom: 3rem;
}

.faq-section h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.question-box {
    background: white;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.question:hover {
    background-color: #f1f5f9;
}

.question i {
    transition: transform 0.3s;
}

.question.active i {
    transform: rotate(180deg);
}

.answer {
    background: #f8fafc;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.answer.active {
    padding: 1.5rem;
    max-height: 500px;
}

@media (max-width: 768px) {
    .header {
	padding: 1rem;
    }

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

    .search-container {
	margin-top: -1.5rem;
    }

    .category-btn {
	padding: 0.5rem 1rem;
	font-size: 0.9rem;
    }

    .faq-content {
	padding: 0 1rem;
    }
}

	
footer {
    margin-top: auto;
    background-color: var(--text);
    color: white;
    padding: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary);
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}



.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.language-selector {
    position: relative;
}

.language-options {
    display: none;
    position: absolute;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    text-align: left;
}

.language-options.active {
    display: block;
}

.language-options a {
    display: block;
    padding: 0.5rem;
    text-decoration: none;
    color: var(--text);
}

.language-options a:hover {
    background: var(--background);
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .nav-links {
        display: none;
        flex-direction: column;
    }

    .auth-buttons {
        display: none;
    }
}



