/* User Guides & FAQ Page Styles */

/* General Page Styles */
.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00395a;
    margin-bottom: 2rem;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #00395a;
    margin-bottom: 2rem;
    text-align: center;
}

/* Section 1: General Information & Contact */
.general-info-section {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

.general-info-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.info-contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.general-info-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.general-info-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

.general-info-content a {
    color: #00395a;
    text-decoration: none;
    font-weight: 500;
}

.general-info-content a:hover {
    color: #ff9900;
    text-decoration: underline;
}

/* Contact Person Card */
.contact-person-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.contact-title {
    font-size: 1.1rem;
    color: #00395a;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 1rem auto;
    border: 4px solid #00395a;
}

.contact-details {
    margin-top: 1.5rem;
}

.contact-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #00395a;
    margin-bottom: 0.5rem;
}

.contact-position {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.contact-phone,
.contact-email {
    font-size: 0.95rem;
    color: #333;
    margin: 0.5rem 0;
}

.contact-phone a,
.contact-email a {
    color: #00395a;
    text-decoration: none;
}

.contact-phone a:hover,
.contact-email a:hover {
    color: #ff9900;
}

/* Section 2: FAQ */
.faq-section {
    padding: 3rem 0;
    background-color: #ffffff;
}

.faq-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* FAQ Toggle Buttons */
.faq-toggle-wrapper {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.faq-toggle-btn {
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid #00395a;
    background-color: white;
    color: #00395a;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-toggle-btn:hover {
    background-color: #f0f8ff;
}

.faq-toggle-btn.active {
    background-color: #00395a;
    color: white;
}

/* FAQ Content */
.faq-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.faq-content.active {
    display: block;
}

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

.faq-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00395a;
    margin-bottom: 1.5rem;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 57, 90, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #00395a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-item.active .faq-question {
    background-color: #00395a;
    color: white;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    background-color: #f8f9fa;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 1.5rem;
}

.faq-answer p {
    margin: 0;
    color: #333;
    line-height: 1.7;
    font-size: 1rem;
}

.no-faqs {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .info-contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-person-card {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .general-info-section,
    .faq-section {
        padding: 2rem 0;
    }
    
    .general-info-content,
    .contact-person-card {
        padding: 1.5rem;
    }
    
    .faq-toggle-wrapper {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .faq-toggle-btn {
        width: 100%;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1rem 1.2rem;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.7rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .contact-image {
        width: 120px;
        height: 120px;
    }
    
    .contact-name {
        font-size: 1.1rem;
    }
    
    .faq-question {
        font-size: 0.95rem;
        padding: 0.9rem 1rem;
    }
    
    .general-info-content p {
        font-size: 0.95rem;
    }
}
