.card {
    border: 10px solid #270056;
}

.card-header {
    background-color: #EF700C;
}

.card-header h4 {
    color: #FFFFFF;
    margin-bottom: 0;
}

.card-title {
    font-family: "Barlow", sans-serif;
    font-size: 17px;
}

.card-text {
    font-family: "Barlow", sans-serif;
    font-size: 16px;
    color: #000000;
}

.card-arrow {
    padding-left: 15px;
    margin-bottom: 0.75rem;
}

.rotate-icon {
    transition: transform 0.3s ease;
    align-self: center; /* Center vertically within the flex container */
}

.rotate-icon.rotate {
    transform: rotate(180deg);
}

.custom-card {
    background-color: #DEE1E1;
    border: none;
    border-radius: 4px;
}

.list-text {
    color: #000000;
}

.custom-card .card-body {
    padding: 1rem; /* Adjust padding as needed */
}

.custom-card .card-title {
    color: #270056; /* Purple text color */
}


/*** Accordion Styling ***/
.custom-accordion .card {
    margin-bottom: 0;
}

.custom-accordion .custom-card-accordion {
    border: 1px solid #ddd;
    border-radius: 0.25rem;
}

.custom-accordion .custom-card-header {
    background-color: #56565A;
    cursor: pointer;
    padding-left: 10px;
    padding-right: 30px;
}

.custom-accordion .custom-card-header .btn {
    color: #FFFFFF;
    text-align: left;
    font-size: 16.5px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qa-icon {
    width: 50px;
    padding-right: 0px;
    margin-top: 7px;
}

.question-prefix {
    color: #FFFFFF;
    font-size: 40px;
    margin-right: 20px;
    font-weight: bold;
}

.flex-text {
    display: block;
    color: #FFFFFF;
    text-align: left;
    margin-top: 5px; /* Add some space between the question-prefix and the text */
    margin-right: 10px;
}

.answer-prefix {
    color: #EF700C;
    font-size: 40px;
    margin-right: 5px;
    font-weight: bold;
}

.answer-text {
    color: #000000;
}

.flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.ms-3 {
    margin-left: 1rem !important;
}

/* Responsive styling for tablets (iPad) */
@media (max-width: 1024px) {
    .qa-icon {
        width: 40px;
    }

    .question-prefix {
        font-size: 30px;
    }

    .flex-text {
        font-size: 14px;
    }

    .rotate-icon {
        font-size: 18px;
    }

    .custom-card-header {
        padding-left: 5px;
        padding-right: 20px;
    }
}

/* Responsive styling for mobile devices */
@media (max-width: 768px) {
    .qa-icon {
        width: 30px;
    }

    .question-prefix {
        font-size: 25px;
    }

    /* .flex-text {
        font-size: 12px;
    } */

    .rotate-icon {
        font-size: 16px;
    }

    .custom-card-header {
        padding-left: 5px;
        padding-right: 15px;
    }
}

@media (max-width: 376px) {
    .qa-icon {
        width: 40px;
    }

    .question-prefix {
        font-size: 32px;
    }

    .flex-text-fr {
        font-size: 15px;
    }

    /* .flex-text {
        font-size: 10px;
    } */

    .rotate-icon {
        font-size: 14px;
    }

    .custom-card-header {
        padding-left: 5px;
        padding-right: 10px;
    }
}