.intro-section,
.questions-section {
    padding: 40px 20px;
    text-align: center;
    color: #222;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
    background-color: #d9d9d9;
}

.questions-section {
    background-color: #a0a0a0;
}

.faq-hero-section {
    position: relative;
    width: 100%;
    height: 250px;
    background-image: url('/images/sliderphoto1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    color: white;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 2.5rem;
}

    .faq-hero-section .overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.4);
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .faq-hero-section .overlay h1 {
            text-transform: uppercase;
            position: relative;
            z-index: 2;
            margin: 0 20px;
            text-align: center;
            font-weight: bold;
            font-size: 2rem;
        }

@media (min-width: 768px) {
    .faq-hero-section {
        height: 350px;
        font-size: 3rem;
    }

        .faq-hero-section .overlay h1 {
            font-size: 2.8rem;
        }

    .intro-section,
    .questions-section {
        font-size: 2rem;
        min-height: 300px;
    }
}

@media (max-width: 400px) {
    .faq-hero-section {
        height: 180px;
        font-size: 1.8rem;
    }

        .faq-hero-section .overlay h1 {
            font-size: 1.6rem;
        }

    .intro-section,
    .questions-section {
        font-size: 1.2rem;
        padding: 20px 10px;
        min-height: auto;
    }
}

.intro-section {
    background-color: #fff;
    color: #444;
    font-family: Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: normal;
    padding: 40px 20px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

    .intro-section a {
        color: #EC1C24;
        font-weight: bold;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .intro-section a:hover,
        .intro-section a:focus {
            color: #a31518;
            text-decoration: underline;
        }

@media (max-width: 480px) {
    .intro-section {
        font-size: 1rem;
        padding: 30px 15px;
    }
}

.questions-section {
    background-color: #f5f5f5;
    font-family: Arial, sans-serif;
    color: #333;
    padding: 40px 20px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

    .questions-section h2 {
        text-align: center;
        font-size: 1.5rem;
        color: #EC1C24;
        margin-bottom: 40px;
        margin-right: 50px;
        text-align: center;
    }

.timeline {
    border-left: 2px solid #EC1C24;
    padding-left: 20px;
    position: relative;
    max-width: 600px;
}

a {
    color: #EC1C24;
    text-decoration: underline;
}

    a:hover {
        color: #444;
    }

.milestone {
    margin-bottom: 20px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .milestone .marker {
        width: 14px;
        height: 14px;
        background-color: #EC1C24;
        border-radius: 50%;
        position: absolute;
        left: -28px;
        top: 10px;
    }

    .milestone .content {
        background: #fff;
        border-radius: 6px;
        padding: 12px 16px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        transition: all 0.3s ease;
    }

    .milestone .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .milestone h3 {
        margin: 0;
        font-size: 1rem;
    }

.toggle-icon {
    font-size: 1.2rem;
    color: #EC1C24;
    transition: transform 0.3s ease;
}

.description {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    font-size: 1rem;
}

.milestone.active .content .description {
    max-height: 1000px;
    opacity: 1;
    margin-top: 10px;
}

.milestone.active .toggle-icon {
    transform: rotate(45deg);
}

@media (min-width: 768px) {
    .questions-section h2 {
        font-size: 2rem;
    }

    .milestone .content {
        padding: 16px 24px;
    }
}
