﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
/*    background: linear-gradient(180deg, #f0f7fa 0%, #f5faf0 100%);*/
    min-height: 100vh;
    color: #2d3748;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Content */
main {
    padding: 3rem 0 4rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 1rem;
}

    .page-title span {
        color: #4A90D9;
    }

.page-subtitle {
    font-size: 1.1rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* FAQ Section */
.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

    .faq-item:hover {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        transform: translateY(-2px);
    }

    .faq-item.active {
        border-color: rgba(123, 198, 126, 0.3);
        box-shadow: 0 8px 25px rgba(123, 198, 126, 0.1);
    }

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #2d3748;
    transition: background-color 0.3s ease;
    gap: 1rem;
}

    .faq-question:hover {
        background-color: #f7faf7;
    }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: #4a5568;
    line-height: 1.7;
    font-size: 15px;
}

    .faq-answer.active {
        max-height: 300px;
    }

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid #f0f0f0;
    margin-top: 0;
    padding-top: 1rem;
}

.faq-toggle {
    min-width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #7bc67e 0%, #5ba85e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: linear-gradient(135deg, #4A90D9 0%, #3a7bc8 100%);
}

/* Category Tabs */
.faq-categories {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.faq-category-btn {
    padding: 10px 20px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    color: #718096;
    transition: all 0.3s ease;
    font-size: 14px;
}

    .faq-category-btn:hover {
        border-color: #7bc67e;
        color: #5ba85e;
    }

    .faq-category-btn.active {
        background: linear-gradient(135deg, #7bc67e 0%, #5ba85e 100%);
        color: white;
        border-color: transparent;
    }

/* Contact Form */
.contact-section {
    margin-top: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
    text-align: center;
}

.contact-subtitle {
    text-align: center;
    color: #718096;
    margin-bottom: 2rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

    .form-row .form-group {
        flex: 1;
    }

.form-group {
    margin-bottom: 1.2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #4a5568;
    font-size: 14px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #fafafa;
}

    .form-input:focus,
    .form-textarea:focus,
    .form-select:focus {
        outline: none;
        border-color: #7bc67e;
        background: white;
        box-shadow: 0 0 0 4px rgba(123, 198, 126, 0.1);
    }

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    display: block;
    background: linear-gradient(135deg, #7bc67e 0%, #5ba85e 100%);
    color: white;
    border: none;
    padding: 14px 2rem;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 0.5rem;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(91, 168, 94, 0.3);
    }

    .submit-btn:active {
        transform: translateY(0);
    }

/* Search */
.faq-search {
    max-width: 500px;
    margin: 0 auto 2rem;
    position: relative;
}

    .faq-search input {
        width: 100%;
        padding: 14px 20px 14px 48px;
        border: 2px solid #e2e8f0;
        border-radius: 14px;
        font-size: 15px;
        transition: all 0.3s ease;
        font-family: inherit;
        background: white;
    }

        .faq-search input:focus {
            outline: none;
            border-color: #7bc67e;
            box-shadow: 0 0 0 4px rgba(123, 198, 126, 0.1);
        }

.faq-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .contact-section {
        padding: 2rem;
    }

    .form-row {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    .faq-categories {
        gap: 6px;
    }

    .faq-category-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
}
