/* services items grid */
.services_items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.services_item {
    flex: 0 0 calc((100% - 60px) / 4);
    border-radius: 20px;
    position: relative;
    overflow: hidden;

}

.services_item::before {
    content: '';
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: #00000080;
    z-index: 1;
}

.services_item .item-card-title {
    color: #ffffff;
    position: absolute;
    width: 100%;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0px 8px;
    text-align: center;
    z-index: 2;
    word-break: break-all;
}

.services_item_img {
    padding-top: 100%;
    position: relative;
    overflow: hidden;
}

.services_item_img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service_items-card-grids {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.service_items-card-grids .img-wrapper {
    width: 64px;
    height: 64px;
}

.service-card {
    width: calc((100% - 80px) / 5);
    padding: 24px;
    border: 1px solid rgba(238, 238, 238, 1);
    border-radius: 20px;
    transition: all 0.3s ease-in-out;
}

.service-card:hover {
    background-color: #F4FBFF;
}

.service-card h3 {
    margin: 24px 0 10px;
    font-size: 24px;
    line-height: 29px;
    font-weight: 600;
    font-family: var(--urbanist-semibold);
    color: #000000;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 29px;
}


.service-card p {
    color: #828282;
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    font-family: var(--urbanist-semibold);
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    height: 48px;
}

.service-card .read-more-btn {
    display: flex;
    align-items: center;
    color: #0A7E3C;
    font-size: 16px;
    line-height: 19px;
    font-weight: 700;
    font-family: var(--urbanist-bold);
}

.service_items-card-grids .img-wrapper img {
    width: 100%;
    height: 100%;
}

.our_service_section .our_service_sidebar .section-title {
    margin-bottom: 24px;
}

.need-help-wrapper .service-card {
    width: 100%;
    background-color: #193E52;
}

.need-help-wrapper h3 {
    color: #ffffff;
}

.need-help-wrapper p {
    color: #ffffff;
    height: 72px;
    -webkit-line-clamp: 3;
}

.need-help-wrapper .service-card .read-more-btn {
    background: #0A7E3C;
    color: #ffffff;
    padding: 12px 24px;
    display: flex;
    gap: 16px;
    width: fit-content;
    border-radius: 5px;
}

.our_process_service .section-title {
    margin-left: 0;
    margin-bottom: 24px;
}



@media only screen and (max-width: 768px) {
    .services_item {
        flex: 0 0 calc((100% - 16px) / 2);
    }

    .services_items {
        gap: 16px;
    }

    .services_item .item-card-title {
        font-size: 20px;
    }
}

/* our_service_section */

.our_service_section {
    display: flex;
    gap: 20px;
}

.our_service_sidebar {
    flex: 0 0 32%;
}

.our_service_details {
    flex: 1;
}

.our_service_sidebar .section-title {
    margin-bottom: 32px;
}

.our_service_list_content {
    margin-bottom: 60px;
}

.our_service_sidebar .our_service_list {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    background-color: #F4FBFF;
    margin-bottom: 16px;
}

.our_service_sidebar .our_service_list:hover,
.our_service_sidebar .our_service_list.active {
    background-color: #F3F9F5;
    /* box-shadow: 0px 4px 12px 0px #0000001A; */

}

.our_service_sidebar .our_service_list .our_service_list_title {
    font-size: 22px;
    line-height: 26px;
    font-weight: 600;
    font-family: var(--urbanist-semibold);
    margin-bottom: 0px;
    color: #000000;
}

.our_service_sidebar .our_service_list .more-link {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.research_card {
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.research_card::before {
    content: '';
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: #00000080;
    z-index: 1;
}

.research_card .research_card_content {
    position: absolute;
    width: 100%;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0px 10px;
    text-align: center;
    z-index: 2;
}

.research_card .section-title {
    color: #ffffff;
    max-width: 320px;
    margin: auto;
    margin-bottom: 32px;
}

.research_card_img {
    padding-top: 123%;
    position: relative;
    overflow: hidden;
}

.research_card_img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.our_service_section.service-details-section .our_service_details_content {
    background-color: transparent;
    padding: 0;
    margin-bottom: 0;
}

.our_service_section.service-details-section .our_service_details_content .service_grid_info {
    margin-bottom: 0;
}

.our_service_section.service-details-section .our_service_details_content .service_details_main_img {
    padding-top: 43.57%;
}

.service-details-section .service_grid_info_right {
    flex: 1;
}

.service-details-section-process .section-title-content {
    margin-bottom: 0;
}

.service-details-section-process .section-info {
    line-height: 24px;
}

.service-details-section-process .process_card {
    gap: 8px;
    box-shadow: none;
    background-color: #F4FBFF;
}

.service-details-section-process .process_card:nth-last-of-type(2n+2) {
    background-color: #F3F9F5;
}

.service-details-section-process .item-card-title {
    font-size: 22px;
    line-height: 26px;
}

.service-details-section-process .process_card span {
    width: 59px;
    height: 59px;
    background: var(--primary-color);
    border-radius: 50px;
    color: white;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 600;
    line-height: 36px;
    font-family: 'urbanist-semibold';
}

.service-details-section .our_service_list.active-link {
    background-color: #F3F9F5;
}

.our_service_section .our_service_list.active-link {
    background-color: #F3F9F5;
}

.our_service_details_content {
    background-color: var(--primary-bg-color);
    padding: 24px 24px 0;
    border-radius: 10px;
    margin-bottom: 40px;
}

.service_details_main_img {
    padding-top: 46.89%;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 24px;
}

.service_details_main_img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.our_service_details_content .item-card-title {
    margin-bottom: 16px;
    font-size: 30px;
    line-height: 36px;
    font-weight: 700;
    font-family: var(--urbanist-bold);
}

.our_service_details_content p {
    font-size: 18px;
    line-height: 24px;
}

.service_main_info {
    margin-bottom: 24px;
    padding: 0 24px;
    margin: 0 -24px 24px;
}

@media only screen and (max-width: 768px) {
    .service_main_info {
        padding: 0 20px;
        margin: 0 -20px 24px;
    }
}

.service_main_info .section-info {
    margin-bottom: 16px;
}

/* Override rich editor default styles */

.service_main_info .section-info h1,
.service_main_info .section-info h2,
.service_main_info .section-info h3,
.service_main_info .section-info h4,
.service_main_info .section-info h5,
.service_main_info .section-info h6 {
    color: #000000 !important;
    font-family: var(--urbanist-semibold) !important;
    font-weight: 600 !important;
    margin: 12px 0 8px !important;
}

.service_main_info .section-info h1 {
    font-size: 22px !important;
    line-height: 28px !important;
}

.service_main_info .section-info h2 {
    font-size: 20px !important;
    line-height: 26px !important;
}

.service_main_info .section-info h3 {
    font-size: 18px !important;
    line-height: 24px !important;
}

.service_main_info .section-info h4,
.service_main_info .section-info h5,
.service_main_info .section-info h6 {
    font-size: 16px !important;
    line-height: 22px !important;
}

.service_main_info .section-info p {
    color: #828282 !important;
    font-size: 18px !important;
    line-height: 24px !important;
    margin-bottom: 16px !important;
}

.service_main_info .section-info ul,
.service_main_info .section-info ol {
    color: #828282 !important;
    font-size: 18px !important;
    line-height: 24px !important;
    padding-left: 20px !important;
}

.service_main_info .section-info li {
    color: #828282 !important;
    margin-bottom: 8px !important;
}

/* Ensure strong and bold tags stand out */
.service_main_info .section-info strong,
.service_main_info .section-info b {
    color: #000000 !important;
    font-weight: 700 !important;
    font-family: var(--urbanist-bold) !important;
}

.service_grid_info {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.service_grid_info_left,
.service_grid_info_right {
    flex: 0 0 calc(50% - 10px);
}

.service_grid_info_img {
    padding-top: 95.24%;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.service_grid_info_img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service_grid_info_right .item-card-title {
    margin-bottom: 16px;
}

.service_grid_info_right .section-info {
    margin-bottom: 16px;
}

.service_grid_info_right .info_list {
    display: flex;
    gap: 14px;
}

.info_list::before {
    content: '';
    height: 24px;
    flex: 0 0 24px;
    display: block;
    background-image: url('../img/send-message.png');
    background-size: cover;
}

@media only screen and (max-width: 1199px) {
    .our_service_sidebar .our_service_list {
        padding: 20px;
        margin-bottom: 20px;
    }

    .our_service_sidebar .our_service_list .our_service_list_title {
        font-size: 20px;
    }

    .our_service_sidebar .our_service_list .more-link {
        width: 30px;
        height: 30px;
        flex: 0 0 30px;
    }

    .our_service_details_content {
        margin-bottom: 40px;
    }

    .our_service_list_content {
        margin-bottom: 40px;
    }

    .our_service_details_content p {
        font-size: 18px;
    }
}

@media only screen and (max-width: 1024px) {
    .service-details-section .our_service_details_content {
        padding: 20px;
    }

    .service_grid_info {
        flex-direction: column;
    }

    .our_process_lists {
        flex-direction: column;
    }

    .our_service_details_content .item-card-title,
    .service_grid_info_right .item-card-title {
        margin-bottom: 16px;
    }

    .service_details_main_img,
    .service_grid_info {
        margin-bottom: 20px;
    }

    .service_grid_info_right .section-info {
        margin-bottom: 12px;
    }
}

@media only screen and (max-width: 768px) {
    .our_service_section {
        flex-direction: column;
    }

    .our_service_sidebar .our_service_list {
        padding: 16px;
        margin-bottom: 16px;
    }

    .our_service_sidebar .our_service_list .our_service_list_title {
        font-size: 18px;
    }

    .our_service_details_content p {
        font-size: 16px;
    }
}

/* Our Process */
.our_process_service {
    margin-bottom: 40px;
    padding: 24px 0;
    margin: 0 -24px;
    background: white;
}

.our_process_service .section-title-content {
    text-align: start;
    margin-bottom: 0;
}

.our_process_lists {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.our_process_item {
    flex: 0 0 calc(50% - 10px);
    /* box-shadow: 0px 4px 12px 0px #0000001A; */
    padding: 24px;
    display: flex;
    gap: 16px;
    border-radius: 10px;
    background-color: #F3F9F5;
}

.our_process_item_img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    flex: 0 0 55px;
}

.our_process_item_img img {
    width: 100%;
}

.our_process_item_title {
    font-size: 22px;
    line-height: 26px;
    font-weight: 600;
    font-family: var(--urbanist-semibold);
    margin-bottom: 6px;
    color: #000000;
}

.our_process_item_info .section-info {
    font-size: 18px;
    line-height: 24px;
}

@media only screen and (max-width: 1199px) {
    .our_process_service {
        margin-bottom: 0;
    }

    .our_process_item_title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .our_process_item_info .section-info {
        font-size: 18px;
    }
}

@media only screen and (max-width: 1024px) {
    .our_process_item {
        padding: 20px;
    }
}

@media only screen and (max-width: 768px) {
    .our_process_item_title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .our_process_item_info .section-info {
        font-size: 16px;
    }

    .our_process_item_img {
        max-width: 45px;
    }
}

/* service_faq */

.service_faq .section-title-content {
    text-align: start;
    margin-bottom: 0;
}

.service_faq .section-title {
    margin-left: 0;
    margin-bottom: 24px;
}

.faq_tab_title {
    padding: 24px;
    background-color: var(--primary-bg-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-weight: 700;
    color: #000000;
    cursor: pointer;
}

.faq_tab_title::after {
    content: "\f282";
    font-family: 'bootstrap-icons';
    transition: 0.5s;
}

.faq_tab_title h4 {
    font-size: 22px;
    line-height: 26px;
    color: #000000;
    font-weight: 600;
    font-family: var(--urbanist-semibold);
    margin-bottom: 0px;
}

.faq_tab_content {
    padding: 24px;
    display: none;
}

.faq_tab_content .section-info {
    font-size: 18px;
}

.faq_tab.active .faq_tab_title::after {
    transform: rotate(180deg);
}

.faq_tab:not(:last-child) {
    margin-bottom: 16px;
}

@media only screen and (max-width: 1199px) {
    .faq_tab_title h4 {
        font-size: 22px;
    }

    .faq_tab_content .section-info {
        font-size: 18px;
    }
}

@media only screen and (max-width: 1024px) {
    .faq_tab_title {
        gap: 10px;
        padding: 20px;
    }

    .faq_tab_content {
        padding: 20px;
    }
}

@media only screen and (max-width: 768px) {
    .faq_tab_title h4 {
        font-size: 18px;
    }

    .faq_tab_content .section-info {
        font-size: 16px;
    }
}

@media only screen and (max-width:1240px) {
    .service_items-card-grids .service-card {
        width: calc((100% - 80px) / 4);
    }
}

@media only screen and (max-width:1024px) {
    .service_items-card-grids .service-card {
        width: calc((100% - 80px) / 3);
        padding: 16px;
    }
}

@media only screen and (max-width:768px) {

    .service_details_main_img {
        min-height: 300px;
    }

    .service_grid_info_img {
        padding-top: 50%;
    }

    .service_items-card-grids .service-card {
        width: calc((100% - 80px) / 2);
    }

    .need-help-wrapper .service-card h3,
    .service_items-card-grids .service-card h3 {
        margin: 14px 0 4px;
        font-size: 20px;
        line-height: 24px;
    }

    .need-help-wrapper .service-card p,
    .service_items-card-grids .service-card p {
        font-size: 16px;
        line-height: 20px;
        height: 40px;
    }


    .service_items-card-grids .service-card .read-more-btn {
        font-size: 14px;
        line-height: 17px;
        height: 20px;
    }

    .need-help-wrapper .service-card .read-more-btn {
        font-size: 14px;
        line-height: 17px;
        padding: 10px;
    }

    .need-help-wrapper .service-card .read-more-btn svg,
    .service_items-card-grids .service-card .read-more-btn svg {
        width: 20px;
        height: 20px;
    }

    .our_service_details_content .item-card-title {
        font-size: 22px;
        line-height: 24px;
        margin-bottom: 10px;
    }

}

@media only screen and (max-width:580px) {
    .service_items-card-grids .service-card {
        width: 100%;
    }
}

/* Make ordered lists look like bullet lists */
.service_main_info ol {
    list-style-type: disc !important;
    padding-left: 20px;
}

/* Ensure each item also stays bullet type */
.service_main_info ol li {
    list-style-type: disc !important;
}