/* FAQ Styles */
:root {
    --primary: #05A243;
    --secondary: #FBAE00;
    --white: #FFFFFF;
    --black: #000000;
    --light-gray: #F5F5F5;
    --dark-gray: #333333;
    --border-color: #e0e0e0;
}

.faq-section {
    padding: 80px 0;
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.faq-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.category-btn {
    padding: 12px 25px;
    border-radius: 30px;
    background-color: var(--light-gray);
    color: var(--dark-gray);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

.category-btn.active {
    background-color: var(--primary);
    color: var(--white);
}

.faq-container {
    margin-bottom: 40px;
}

.faq-category {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.faq-category.show {
    display: block;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--white);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--black);
    margin: 0;
    transition: color 0.3s ease;
}

.faq-question:hover h3 {
    color: var(--primary);
}

.faq-question i {
    color: var(--dark-gray);
    transition: all 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--light-gray);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 20px 20px;
    margin: 0;
    line-height: 1.6;
}

.faq-contact {
    text-align: center;
    font-size: 1.1rem;
}

.faq-contact a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.faq-contact a:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .faq-question {
        padding: 15px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .category-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .faq-answer p {
        padding: 0 15px 15px;
        font-size: 0.9rem;
    }
}

/* Hero Section Styles for FAQ Page */
.hero-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    margin-bottom: 40px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(47, 56, 50, 0.417); /* Updated to use #05A243 with 60% opacity */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    padding: 0 20px;
    margin-right: -500px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
    margin-left: 100px; 
    
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0;
    max-width: 800px;
    font-weight: 300;
    margin-left: 100px;  
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 50vh;
        min-height: 300px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 40vh;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}