/* hero section */

.hero {
    display: flex;
    flex-direction: column;
    background-color: #fffdfb;
    /* min-height: 62vh; */
    align-items: center;
    gap: 2rem;
}

.hero__title {
    margin-top: 4.5rem;
    display: flex;
    font-family: 'DM Serif Display', serif;
    font-size: 2rem; 
    font-weight: 600;
    color: black;
    text-align: center;
    text-transform: capitalize;
    max-width: 20ch;
}

.hero__title__divider {
    border: 0;
    height: 3px;
    background: black; /* or your theme color */
    width: 80%; /* adjust as needed */
}

.hero__description__img__container{
    width: 100%;
    height: 50vh;
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.4)), 
    url('/images/faq.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    /* background-position: top center; */
    align-items: center;
    justify-content: center;
}

.hero__description{
    font-size: 1.6rem;
    font-family: 'DM Serif Display', serif;
    color: #fffdfb;;
    text-align: center;
    font-weight: 200;
    max-width: 20ch;
    padding: 1rem;
}


/* xs */
@media (min-width: 475px) {
    .hero__title{
        font-size: 2rem;
    }
    .hero__description__img__container{
        align-items: start;
    }
    .hero__description{
        font-size: 1.6rem;
        max-width: 30ch;
        padding: 2rem;
    }
}

/* md */
@media (min-width: 768px) {
    .hero__title{
        font-size: 2.4rem
    }
    .hero__description{
        font-size: 1.7rem;
        max-width: 40ch;
    }
}

/* lg */
 @media (min-width: 1024px) {
    .hero{
        gap: 4rem
    }
    .hero__title{
        font-size: 2.5rem;
        max-width: none;
    }
    .hero__title__divider {
        width: 95%;
    }
    .hero__description{
        font-size: 2.3rem;
        max-width: 40ch;
    }
 }

 @media (min-width: 1024px) and (orientation: portrait) {
    /* .hero {
        min-height: 30vh; 
    } */
}
/* xl */
@media (min-width: 1280px) {
    .hero__title{
        max-width: none;
        margin-bottom: 2rem;
    }
}

/* 2xl */
@media (min-width: 1536px) {
    .hero__title{
        font-size: 3rem;
    }
    .hero__description{
        font-size: 2.4rem
    }
}


/* question section */
.question {
    display: flex;
    flex-direction: column;
    background-color: #fffdfb;
}

.faq__container { 
    margin-top: 2rem;
    width: 100%;
    margin-inline: auto;
    padding: 1rem;
}

.faq__item {
    border: 1px solid #ccc;
    margin-bottom: 1rem;
    border-radius: 5px;
    overflow: hidden;
}

.faq__question {
    /* font-family: 'DM Serif Display', serif; */
    background-color: #f9f9f9;
    padding: 1rem;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.1s ease; /* Add smooth transition */
}

.faq__question:hover {
    color: #1ab79d; /* Your desired hover color */
font-size: 1.1rem;}

.faq__answer {
    display: none;
    padding: 1rem;
    background-color: #fff;
    border-top: 1px solid #ccc;
}

/* xs */
@media (min-width: 475px) {
}

/* md */
@media (min-width: 768px) {
}

/* lg */
 @media (min-width: 1024px) {
 }

/* xl */
@media (min-width: 1280px) {
}

/* 2xl */
@media (min-width: 1536px) {
}