body{
  background-color: #fff;
}

.faq-section-wrapper {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.faq-container {
    position: relative;
    z-index: 2;
    max-width: 834px;
    margin: auto;
    padding: 0 20px;
}

.faq-header-block {
    text-align: center;
    margin-bottom: 50px;
}


.faq-tagline-row {
    margin-bottom: 15px;
}

.faq-tagline {
    color: #1947cd;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.faq-title {
    font-size: 35px;
    color: #222;
    line-height: 1.3;
    margin-bottom: 20px;
}

.faq-title span {
    color: #ffb400;
}


.faq-block {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.faq-item {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    transition: 0.3s ease;
    overflow: hidden;
}

.faq-item.active .faq-header {
    background: #1947cd;
}

.faq-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px 0;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    height: 51px;
}

.faq-number-block {
    width: 50px;
    height: 51px;
    background: #1947cd;
    color: #fff;
    font-size: 18px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}



.faq-question {
    flex: 1;
    font-size: 18px;
    color: #000;
    font-weight: 600;
}

.faq-item.active .faq-question {
    color: #ffffff;
}


.faq-arrow {
    width: 50px;
    height: 51px;
    border-radius: 12px;
    background: #ffb400;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-arrow i {
    color: #ffffff;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
    background: #000000;
}

.faq-item.active .faq-arrow i {
    transform: rotate(180deg);
}

.faq-arrow-btn {
    width: 45px;
    height: 45px;
    background: #ffb400;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-arrow-btn {
    background: #ffffff;
}

.faq-arrow-btn i {
    color: #ffffff;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow-btn i {
    color: #1947cd;
    transform: rotate(180deg);
}


.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: transparent;
}

.faq-item.active .faq-body {
    max-height: 240px;
}

.faq-body-content {
    display: flex;
    align-items: left;
    gap: 25px;
    padding: 25px 30px 30px 30px;
    border: 1px solid #ececec;
    border-top: none;
    border-radius: 0 0 12px 12px;
}


.faq-number {
    font-size: 40px;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 2px #1947cd;
    position: relative;
    padding-right: 25px; 
}

.faq-number::after {
    content: "";
    position: absolute;
    top: 4px;
    right: 0;
    width: 2px;
    height: 50px;
    background: #ffb400;
}


.faq-text {
    color: #5e5b5b;
    font-size: 16px;
    line-height: 26px;
}

@media (max-width: 1024px) {

    .faq-container {
        max-width: 700px;
        padding: 0 20px;
    }

    .faq-title {
        font-size: 32px;
        line-height: 1.3;
        text-align: center;
    }

    .faq-tagline-row {
        justify-content: center;
        text-align: center;
    }

    .faq-block {
        gap: 20px;
    }

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

@media (max-width: 768px) {

    .faq-container {
        max-width: 100%;
        padding: 0 15px;
    }

    .faq-header-block {
        margin-bottom: 35px;
        text-align: center;
    }

    .faq-tagline-row {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        text-align: center;
    }

    .faq-title {
        font-size: 28px;
        text-align: center;
    }

    .faq-tagline {
        font-size: 18px;
    }

    .faq-header {
        padding: 10px 10px;
        height: auto;
        gap: 12px;
    }

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

    .faq-icon,
    .faq-arrow {
        width: 45px;
        height: 45px;
    }

    .faq-body-content {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .faq-number {
        font-size: 32px;
    }

    .faq-text {
        font-size: 15px;
    }
}

@media (max-width: 480px) {

    .faq-container {
        padding: 0 12px;
    }

    .faq-title {
        font-size: 24px;
        line-height: 1.35;
    }

    .faq-tagline {
        font-size: 16px;
        letter-spacing: 1px;
    }

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

    .faq-header {
        padding: 8px;
        gap: 10px;
    }

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

    .faq-icon,
    .faq-arrow {
        width: 40px;
        height: 40px;
    }

    .faq-number {
        font-size: 28px;
    }

    .faq-text {
        font-size: 14px;
        line-height: 22px;
    }
}
@media (max-width: 375px) {

    .faq-title {
        font-size: 20px;
        line-height: 1.3;
    }

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

    .faq-header {
        padding: 6px;
    }

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

    .faq-icon,
    .faq-arrow {
        width: 36px;
        height: 36px;
    }

    .faq-number {
        font-size: 24px;
    }

    .faq-text {
        font-size: 13px;
        line-height: 20px;
    }

    .faq-body-content {
        padding: 15px;
    }
}
