/* FAQ Page Styles */

.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #002a5c 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    margin-top: 0;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
}

/* Introduction Section */
.intro-section {
    padding: 60px 0;
    background: #f8f9fa;
    text-align: center;
}

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

.intro-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.intro-content a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
}

.intro-content a:hover {
    text-decoration: underline;
}

/* FAQ Categories Navigation */
.faq-categories {
    padding: 40px 0;
    background: white;
    border-bottom: 2px solid #e9ecef;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-link {
    padding: 15px 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.category-link:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
}

.faq-section:nth-child(even) {
    background: #f8f9fa;
}

.faq-section:nth-child(odd) {
    background: white;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-category-title {
    color: var(--primary-blue);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-gold);
}

/* Accordion Styles */
.faq-accordion {
    margin-bottom: 15px;
}

.faq-question {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    border-color: var(--primary-blue);
    background: #f8f9fa;
}

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

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    flex: 1;
    padding-right: 20px;
}

.faq-question.active h3 {
    color: white;
}

.faq-icon {
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;
    border: 2px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 10px 10px;
    margin-top: -10px;
}

.faq-answer.active {
    max-height: 2000px;
    padding: 25px;
    border-color: var(--primary-blue);
}

.faq-answer-content {
    color: #555;
    line-height: 1.8;
}

.faq-answer-content p {
    margin-bottom: 15px;
    font-size: 16px;
}

.faq-answer-content strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.faq-answer-content ul,
.faq-answer-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.faq-answer-content li {
    margin-bottom: 10px;
    font-size: 16px;
}

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

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

/* Highlight Boxes in Answers */
.note-box {
    background: #fff3cd;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #ffc107;
}

.note-box strong {
    color: #856404;
}

.note-box p {
    color: #856404;
    margin-bottom: 0;
}

.tip-box {
    background: #d1ecf1;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #17a2b8;
}

.tip-box strong {
    color: #0c5460;
}

.tip-box p {
    color: #0c5460;
    margin-bottom: 0;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #002a5c 100%);
    color: white;
    text-align: center;
}

.contact-section h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 18px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.contact-section a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
}

.contact-section a:hover {
    text-decoration: underline;
}

.contact-info {
    margin-top: 30px;
}

.contact-info p {
    margin-bottom: 10px;
}

/* Quick Links Section */
.quick-links-section {
    padding: 50px 0;
    background: #f8f9fa;
    text-align: center;
}

.quick-links-section h2 {
    color: var(--primary-blue);
    font-size: 32px;
    margin-bottom: 30px;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.quick-link-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    transition: all 0.3s ease;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: var(--primary-blue);
    color: white;
}

/* Search Box */
.search-section {
    padding: 40px 0;
    background: white;
    text-align: center;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    font-size: 16px;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    border-color: var(--primary-blue);
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.search-box button:hover {
    background: #002a5c;
}

/* Responsive Design */
@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 40px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .page-header p {
        font-size: 16px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-category-title {
        font-size: 24px;
    }

    .faq-question h3 {
        font-size: 16px;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
    }

    .contact-section h2 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .category-link {
        font-size: 16px;
    }
}
