/* Page-specific overrides */
body { padding: 20px; color: #333; }
.container { max-width: 900px; }

.navbar {
    background: white;
    border-radius: 15px;
    padding: 15px 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
}

.faq-container {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-header {
    background: linear-gradient(45deg, var(--primary), #5dade2);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.faq-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.faq-body {
    padding: 40px 30px;
}

.search-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.search-input {
    width: 100%;
    max-width: 400px;
    padding: 12px 20px;
    border: 2px solid #ecf0f1;
    border-radius: 25px;
    font-size: 16px;
    text-align: center;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #ecf0f1;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    background: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--dark);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question.active {
    background: var(--primary);
    color: white;
}

.faq-toggle {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 25px;
    background: white;
    line-height: 1.6;
    color: #555;
}

.faq-answer.show {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.faq-answer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.contact-section {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
    text-align: center;
}

.contact-btn {
    background: linear-gradient(45deg, var(--success), #58d68d);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4);
    text-decoration: none;
    color: white;
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }

    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .faq-header {
        padding: 30px 20px;
    }

    .faq-body {
        padding: 25px 20px;
    }

    .faq-question {
        padding: 15px;
        font-size: 14px;
    }

    .faq-answer {
        padding: 20px 15px;
        font-size: 14px;
    }
}
