/* FAQ Page Styles */
.faq-section {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.faq-section h1 {
    color: var(--secondary-color);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: -0.5px;
}

.faq-intro {
    color: #666;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.faq-content {
    display: grid;
    gap: 3rem;
}

.faq-item {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item h2 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.faq-item h2::before {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
}

.faq-qa {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 144, 226, 0.1);
    position: relative;
    overflow: hidden;
}

.faq-qa::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-qa:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border-color: rgba(74, 144, 226, 0.2);
}

.faq-qa:hover::before {
    opacity: 1;
}

.faq-qa h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.faq-qa h3::before {
    content: 'Q:';
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.4rem;
}

.faq-qa p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    padding-left: 2.2rem;
    position: relative;
}

.faq-qa p::before {
    content: 'A:';
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.4rem;
    position: absolute;
    left: 0;
}

.faq-qa ul {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 2.2rem;
}

.faq-qa li {
    color: #444;
    line-height: 1.8;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.faq-qa li::before {
    content: '→';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Search Bar */
.faq-search {
    margin-bottom: 3rem;
    position: relative;
}

.faq-search input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    padding-left: 3.5rem;
    border: 2px solid rgba(74, 144, 226, 0.1);
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: white;
}

.faq-search input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.1);
}

.faq-search::before {
    content: '🔍';
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #666;
}

/* Responsive Design */
@media (max-width: 992px) {
    .faq-section {
        padding: 2rem;
        margin: 1rem;
    }

    .faq-item {
        padding: 2rem;
    }

    .faq-qa {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 1.5rem;
    }

    .faq-section h1 {
        font-size: 2.2rem;
    }

    .faq-intro {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .faq-item h2 {
        font-size: 1.5rem;
    }

    .faq-qa h3 {
        font-size: 1.2rem;
    }
}
