﻿body {
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(to bottom, #D9ECFF 0%, rgba(240, 243, 255, 0) 100%);
    font-family: 'Inter', sans-serif;
}

.faq-header {
    padding-top: 160px;
    margin-bottom: 50px;
}

.faq-line-1,
.faq-line-2 {
    display: inline;
}

.faq-box {
    position: relative;
    border: 1px solid #AEDEF9;
    border-radius: 20px;
    padding: 24px 72px 24px 24px;
    color: #1A1A1A;
    cursor: pointer;
    min-height: 112px
}

.faq-title {
    font-weight: 700;
    font-size: 20px;
    color: #1A1A5E;
}

.toggle-btn {
    position: absolute;
    right: 16px;
    top: 24px;
    background-color: #CCE4F4;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .toggle-btn svg {
        transition: transform 0s ease;
    }

.faq-box.open .toggle-btn svg {
    transform: rotate(180deg);
}

.faq-desc-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0s ease;
    margin-top: 0px;
}

.faq-box.open .faq-desc-wrapper {
    max-height: 500px;
}

.faq-content {
    margin-top: 15px;
}

.faq-desc {
    text-align: justify;
    white-space: pre-line;
    color: #4B4B63;
    margin-top: 0px;
    max-height: 10.5em;
    overflow-y: auto;
    line-height: 1.5em;
    padding-right: 10px;
    scrollbar-width: thin;
    scrollbar-color: #0076C6 #e9ecef;
}

    .faq-desc::-webkit-scrollbar {
        width: 8px;
    }

    .faq-desc::-webkit-scrollbar-track {
        background: #e9ecef;
        border-radius: 10px;
    }

    .faq-desc::-webkit-scrollbar-thumb {
        background-color: #0076C6;
        border-radius: 10px;
        border: 2px solid #e9ecef;
    }

        .faq-desc::-webkit-scrollbar-thumb:hover {
            background-color: #005fa3;
        }

.toggle-btn svg path {
    fill: #0076C6 !important;
}

.toggle-btn svg {
    fill: #0076C6 !important;
}


@media (max-width: 576px) {
    .toggle-btn {
        width: 32px;
        height: 32px;
    }

    .faq-box.open .toggle-btn svg {
        margin-right: -2px;
    }

    .faq-box .toggle-btn svg {
        margin-left: -0.125rem !important;
    }

    .py-3 {
        padding-bottom: 0px !important;
    }

    .container-md {
        min-height: 100% !important;
        padding-left: 16px;
        padding-right: 16px;
    }

    .mobile-padding-bottom {
        padding-bottom: 1rem;
    }

    .faq-header {
        padding-top: 100px;
        font-size: 30px;
    }

    .faq-title {
        font-size: 16px;
    }

    .faq-content {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .faq-desc {
        font-size: 14px;
    }

    .faq-line-1 {
        display: block;
    }

    .faq-line-2 {
        display: block;
    }

    .faq-header {
        margin-bottom: 15px;
    }

    .faq-box {
        min-height: 90px;
        padding: 15px 72px 10px 15px;
    }

    .toggle-btn {
        top: 20px;
    }
}
