@keyframes upDownSmoothFAQFloatingImg {

    0%,
    100% {
        transform: translateY(8px);
    }

    50% {
        transform: translateY(-24px);
    }
}

.faq-6-col-section {
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 70px 0;
}

.faq-6-col-section__floating-image {
    position: absolute;
    bottom: -120px;
    left: 60%;
    width: 208px;
    height: 208px;
    z-index: 1;
}

.faq-6-col-section__floating-image img {
    max-width: 100%;
    max-height: 100%;
}

.rtl .faq-6-col-section__floating-image {
    left: auto;
    right: 60%;
}

.faq-6-col-section__floating-image-2 {
    position: absolute;
    bottom: 120px;
    left: -72px;
    width: 139px;
    height: 127px;
    animation: upDownSmoothFAQFloatingImg 2s ease-in-out infinite;
    z-index: 1;
}

.faq-6-col-section__floating-image-2 img {
    max-width: 100%;
    max-height: 100%;
}

.rtl .faq-6-col-section__floating-image-2 {
    left: auto;
    right: -72px;
}

.faq-6-col-section .text-p {
    margin-top: 10px;
    color: #484848;
    font-size: 17px;
    line-height: 28px;
    max-width: 100%;
    text-align: center;
}
.our_story_faq_ans{
    margin-left: 11%;
}
.icon_width{
    min-width: 60px;
    max-width: 60px;
}
.course-category-card {
    padding: 20px;
    height: 100%;
}

/* Add vertical divider */
.course-category-section .col-lg-3:not(:last-child) .course-category-card {
    border-right: 1px solid #d5d52b;
}

/* Optional: spacing for better look */
.course-category-section .row {
    align-items: stretch;
}
@media (max-width: 991px) {
    .faq-6-col-section {
        height: auto;
    }
    .course-category-section .col-lg-3 .course-category-card {
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
    }

    .course-category-section .col-lg-3:last-child .course-category-card {
        border-bottom: none;
    }

    .faq-6-col-section__floating-image,
    .faq-6-col-section__floating-image-2 {
        display: none;
    }
}

.faq-6-col-section .course-grid-card-1__image {
    height: 169px;
}

.faq-6-col-section .course-grid-card-1 {
    position: relative;
    border: 1px solid #26403f36;
    padding: 8px;
    border-radius: 16px;
    background: #ffffff;
    -webkit-transition: all 0.3s cubic-bezier(0, 0, 0.5, 1);
    transition: all 0.3s cubic-bezier(0, 0, 0.5, 1);
    position: relative;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

.faq-6-col-section .course-grid-card-1:hover {
    box-shadow: 0 0 4px #e8eef7, 0 4px 12px 4px #e8eef7;
    -webkit-transform: scale3d(1.03, 1.03, 1.08) translate3d(0.1rem, -0.25rem, 20rem);
    -moz-transform: var(--card-hover-transform);
    -ms-transform: var(--card-hover-transform);
    transform: scale3d(1.03, 1.03, 1.08) translate3d(0.1rem, -0.25rem, 20rem);
}

.faq-6-col-section .course-grid-card-1__body .course-title {
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 19px;
    padding: 0;
    margin: 10px 0;
    -webkit-line-clamp: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.faq-6-col-section .course-grid-card-1__image img {
    border-radius: 16px 16px 0 0;
}

.faq-6-col-section .course-grid-card-1__body {
    height: auto;
    border-radius: 0 0 16px 16px;
    border-top: none;
    background: var(--white);
    display: flex;
    flex-direction: column;
}

.text-content-p {
    color: #4a5464;
    font-size: 16px;
    line-height: 20px;
    -webkit-line-clamp: 5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
    min-height: 100px;
}

.faq-6-col-section .css-ls7ln4 {
    margin: 5px 0;
    padding: 5px 10px;
    border-radius: 3px;
    letter-spacing: 0;
    color: #215e55;
    font-size: 12px;
    background: #004a401f;
}

.scroll-container-inner {
    display: flex;
    justify-content: flex-start;
}

.accordion .faq-accordion-ans{
    font-size: 17px;
    line-height: 27px;
    font-weight: 500;
    color: #4b4b4b;
    margin-top: 15px;
}
.accordion .faq-accordion-que{
    font-size: 24px;
    line-height: 30px;
    font-weight: 600;
}
.faq-arrow {
    font-size: 20px;
    color: #121F3E;
    margin-top: 5px;
}

@media screen and (max-width: 767px) {
    .our_story_faq_ans{
        margin-left: 0%;
    }
    .faq-6-col-section .card-content {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
        padding-top: 0;
    }

    .faq-6-col-section .course-grid-card-1__image img {
        border-radius: 10px;
    }

    .faq-6-col-section .course-grid-card-1__image {
        height: 200px !important;
        width: 100% !important;
        border-radius: 10px;
        object-fit: cover;
    }

    .faq-6-col-section .course-grid-card-1__body {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .scroll-container-inner {
        display: flex;
        justify-content: flex-start;
    }
}