
.faq-hero-section {
    width: 100%;
    max-height: 550px;
    overflow: hidden;
    position: relative;
}

.faq-hero-img-wrapper {
    width: 100%;
    height: 100%;
}

.faq-hero-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 767px) {
    .faq-hero-section {
        max-height: 350px;
    }
    
    .faq-hero-img {
        height: 350px;
    }
}



.faq-content-section {
    background-color: var(--bg-1);
}

.faq-main-title {
    font-size: 38px;
    font-weight: 600;
    color: var(--text-title);
    letter-spacing: 0.5px;
}

@media (max-width: 767px) {
    .faq-main-title {
        font-size: 28px;
    }
}

.faq-category-title {
    font-family: var(--font-title);
    font-size: 26px;
    font-weight: 600;
    color: var(--text-title);
    margin: 45px 0 25px 0;
    padding-left: 15px;
}

.faq-accordion > :first-child.faq-category-title {
    margin-top: 10px;
}

@media (max-width: 767px) {
    .faq-category-title {
        font-size: 22px;
        margin: 35px 0 20px 0;
        padding-left: 10px;
    }
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background-color: transparent;
    border: none;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.faq-header {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 20px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    border-radius: 40px;
    transition: border-radius 0.3s ease;
    user-select: none;
}

.faq-item.active .faq-header {
    border-radius: 40px 40px 0 0;
}

.faq-question {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    padding-right: 20px;
}


.faq-icon-wrapper {
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-icon-line {
    position: absolute;
    background-color: var(--primary-color);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-icon-line-1 {
    width: 14px;
    height: 2px;
    top: 15px;
    left: 9px;
}

.faq-icon-line-2 {
    width: 2px;
    height: 14px;
    top: 9px;
    left: 15px;
}


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

.faq-item.active .faq-icon-line {
    background-color: var(--primary-color);
}


.faq-body {
    background-color: #ffffff;
    border-radius: 0 0 40px 40px;
    overflow: hidden;
}

.faq-answer {
    padding: 30px 35px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-body);
}

@media (max-width: 767px) {
    .faq-header {
        padding: 16px 25px;
        border-radius: 30px;
    }

    .faq-item {
        border-radius: 30px;
    }

    .faq-item.active .faq-header {
        border-radius: 30px 30px 0 0;
    }

    .faq-body {
        border-radius: 0 0 30px 30px;
    }

    .faq-question {
        font-size: 14px;
    }

    .faq-answer {
        padding: 20px 25px;
        font-size: 14px;
    }
}

