.gradient-box {
    background: linear-gradient(to right, #eeeeee, #ffffff, #f9f9f9);
    z-index: 2;
}

.cut-shape {
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    z-index: 1;
    background-color: #f4f4f4;
    width: 550px;
    height: 1120px;
    position: absolute;
    bottom: 0;
    right: -1px;
}

.content-text {
    font-size: 20px;
    font-weight: 400;
    color: #403955;
    text-align: justify;
}

.theme-bg {
    background-color: rgb(63 56 84) !important;
}

.theme-color {
    color: rgb(63 56 84) !important;
}
.text-italic{
    font-style: italic;
}

.service-icon {
    height: 40px;
    width: 40px;
    background: rgb(63 56 84);
    border-radius: 10px;
    margin-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon i {
    color: #fff;
}

.font-40 {
    font-size: 40px;
}

.bg-service1 {
    background-color: #9297d9;
}

.bg-service2 {
    background-color: #F5EFE6;
}

.bg-service3 {
    background-color: #B6B883;
}

.bg-service4 {
    background-color: #F5D774;
}

.bg-service5 {
    background-color: #9087A2;
}

.bg-service6 {
    background-color: #B7A7D9;
}

.service-title {
    font-size: 40px;
    font-weight: 700;
    vertical-align: middle;
    color: #3F3854;
    margin-bottom: 20px;
}

.service-text {
    font-size: 18px;
    font-weight: 400;
    color: #3F3854;
}

.service-btn {
    background-color: #3F385466;
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    font-weight: 500;
}

.service-bg-image {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    opacity: .5;
    mix-blend-mode: multiply;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

.typography__h1 {
    font-size: 100px;
    font-weight: 700;
    color: #3F385466;
    vertical-align: middle;
}

.blur-bg {
    background: #ffffffad;
    /* semi-transparent white */
    border-radius: 25px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.13);
    backdrop-filter: blur(36px);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    z-index: 2;
    position: relative;
    margin-right: 150px !important;
}

/* RTL Support */
.rtl-body .blur-bg {
    margin-right: 0 !important;
    margin-left: 150px !important;
}

.rtl-body .cut-shape {
    right: auto;
    left: -1px;
    clip-path: polygon(0 0, 100% 100%, 0% 100%);
}

/* .rtl-body .gradient-box {
    background: linear-gradient(to left, #eeeeee, #ffffff, #f9f9f9);
} */

.rtl-body .service-icon {
    margin-right: 0;
    margin-left: 15px;
}

.rtl-body .typography__h1 {
    font-family: 'poppins', sans-serif;
}

@media screen and (max-width: 767px) {
    .rtl-body .blur-bg {
        margin-left: 0 !important;
    }

    .logo_einno p {
        font-size: 14px !important;
    }

    .logo_einno {
        justify-content: center !important;
    }

    .cards__section {
        padding: 36px 0 !important;
        clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%) !important;
    }

    .rtl-body .cut-shape {
        left: -130px;
        right: auto;
        clip-path: polygon(0 0, 100% 100%, 0% 100%);
    }

    .rtl-body .service-icon {
        margin-left: 8px;
    }
}


@media screen and (max-width: 767px) {
    .fs-18 {
        font-size: 16px !important;
    }

    .brand_box img {
        width: 55px !important;
        height: auto;
        max-width: 55px !important;
    }

    .brand_box {
        height: 110px !important;
        width: 110px !important;
    }

    .box_section {
        /* flex-direction: column; */
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .gradient-box {
        padding: 1.5rem !important;
    }

    .blur-bg {
        margin-right: 0 !important;
        padding: 1.5rem !important;
        border-radius: 16px;
    }

    .cut-shape {
        width: 630px;
        height: 310px;
        bottom: -20px;
        right: -1px;
    }

    .content-text {
        font-size: 14px;
        padding: 0 !important;
        text-align: justify;
    }

    .theme-bg {
        padding: 1.25rem !important;
    }

    .font-40,
    .service-title {
        font-size: 26px !important;
    }

    .service-title {
        font-size: 20px !important;
        margin-bottom: 12px;
    }

    .service-text {
        font-size: 15px !important;
        margin-bottom: 12px;
    }

    .typography__h1 {
        font-size: 90px !important;
        margin-bottom: 8px;
    }

    .service-icon {
        height: 28px;
        width: 28px;
        margin-right: 8px;
        font-size: 16px;
    }

    /* Service Card inner paddings */
    .position-relative.py-5.px-3.mb-5,
    .position-relative.d-flex.p-5 {
        padding: 1.2rem !important;
        flex-direction: column !important;
    }

    .service-btn {
        padding: 8px 12px;
        font-size: 15px;
    }

    /* Remove side margin from card number and reduce gap */
    .ms-5 {
        margin-left: 0 !important;
    }

    .banner-text-content p {
        font-size: 14px !important;
    }

    .banner-text-content h1 {
        font-size: 1.55rem !important;
    }

    .service-banner-img {
        display: none;
    }

    .page-service-banner {
        height: 430px !important;
    }

    .msa-hero-subtitle {
        font-size: 16px !important;
    }

    .fs-20 {
        font-size: 16px !important;
    }

    .fs-30 {
        font-size: 22px !important;
    }

    .ctdc-list-item {
        font-size: 1rem !important;
    }

    .ctdc-note-box {
        font-size: 0.78rem !important;
    }

    .ctdc-contact-title {
        font-size: 24px !important;
    }

    .ctdc-contact-desc {
        font-size: 16px !important;
    }

    .ctdc-btn {
        font-size: 0.8rem !important;
        padding: 0.3rem 1rem !important;
        margin: 0 0.3rem !important;
    }

    .ctdc-intro-title {
        font-size: 18px !important;
    }

    .scroll-to-top button {
        height: 35px !important;
        width: 35px !important;
        font-size: 0.85rem !important;
    }

}

.service-home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 2rem;
}

.service-home-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 4px 24px 0 rgba(63, 56, 84, 0.12);
    z-index: 1;
    transition: transform 0.18s, box-shadow 0.18s;
}

.service-home-card:hover {
    transform: translateY(-4px) scale(1.025);
    box-shadow: 0 8px 32px 0 rgba(63, 56, 84, 0.16);
}

.service-home-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.18;
    z-index: 0;
}

.service-home-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.4rem 1.4rem 1.4rem;
    height: 100%;
}

.service-home-number {
    font-size: 5rem;
    font-weight: bold;
    color: #3f385463;
    margin-bottom: 0.5rem;
    display: block;
    font-family: 'poppins', sans-serif;
}

.service-home-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.65rem 0;
    color: #3f3854;
}

.service-home-desc {
    font-size: 1rem;
    color: #3f3854;
    flex-grow: 1;
    margin-bottom: 1.2rem;
}

.service-home-btn {
    display: inline-block;
    background: #3F385466;
    color: #fff;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s;
}

.service-home-btn:hover {
    background: #403955;
}

/* Mobile Responsive: 1 column, then 2, then 3 */
@media (max-width: 991px) {
    .service-home-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 600px) {
    .service-home-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-home-card-content {
        padding: 1.2rem 0.9rem 0.9rem 0.9rem;
    }

    .service-home-number {
        font-size: 4rem;

    }

    .service-home-title {
        font-size: 1.12rem;
    }

    .service-home-btn {
        font-size: 0.8rem;
    }
}

.service-home-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/wave-bg.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.service-home-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(63, 56, 84, 0.18) 0%, rgba(63, 56, 84, 0.26) 100%);
    z-index: 1;
    pointer-events: none;
}


.bg-lights {
    background-color: #EBE8EB;
}

.bg_whitesmoke {
    background-color: #F4F4F4;
}

.rtl-body .counter_des2 {
    text-align: right;
}

.at-title {
    font-weight: 800;
    color: #39335b;
    margin-bottom: 28px;
}

.at-card {
    background: #F7F7FA;
    border-radius: 18px;
    padding: 32px 22px 24px 22px;
    min-height: 165px;
    display: flex !important;
    flex-direction: row;
    justify-content: flex-start;
    margin-bottom: 28px;
    transition: box-shadow 0.2s;
}

.at-icn {
    color: #9087A2;
    font-size: 1.6rem;
    margin-bottom: 10px;
    margin-right: 20px;
}

.at-head {
    font-weight: 700;
    font-size: 1.13rem;
    color: #39335b;
    margin-bottom: 6px;
}

.at-desc {
    color: #56536e;
    font-size: 0.97rem;
    font-weight: 400;
    text-align: justify;
    /* hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto; */
}

@media (max-width: 991.98px) {
    .at-card {
        min-height: 160px;
    }
}

@media (max-width: 767.98px) {
    .at-title {
        font-size: 1.4rem;
    }

    .at-card {
        padding: 20px 14px 16px 14px;
        min-height: 0;
    }
}

.bg-lights {
    background-color: #f7f7fa;
}

.bg_whitesmoke {
    background-color: #F4F4F4;
}

.ctdc-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 24px 0 rgba(80, 74, 113, .08);
}

.ctdc-card-title {
    color: #38345f;
    font-weight: 700;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ctdc-list-item {
    display: flex;
    /* align-items: center; */
    font-size: 1.18rem;
    margin-bottom: 0.5rem;
    color: #232136;
}

.ctdc-list-icon {
    color: #38345f;
    font-size: 1.3rem;
    margin-right: 0.75rem;
    height: 28px;
    width: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 16px;
}

.ctdc-note-box {
    background: #E0E0EA;
    border-radius: 12px;
    padding: 1rem;
    font-size: 0.98rem;
    color: #4f4c5b;
    display: flex;
    align-items: flex-start;
    text-align: justify;
}

.ctdc-note-icon {
    font-size: 1.1rem;
    color: #504a71;
    margin-right: 0.6rem;
    margin-top: 0.15rem;
}

.ctdc-image {
    min-height: 100%;
    border-radius: 24px;
    width: 100%;
    object-fit: cover;
    height: auto;
    max-width: 100%;
}

.ctdc-contact-card {
    background: #F7F7FA;
    border-radius: 24px;
    box-shadow: 0 4px 24px 0 rgba(80, 74, 113, .08);
    padding: 2.5rem 2rem;
    text-align: center;
}

.ctdc-contact-title {
    color: #38345f;
    font-weight: 700;
    font-size: 2rem;
}

.ctdc-contact-desc {
    color: #3b3951;
    font-size: 1.17rem;
    margin-bottom: 2rem;
}

.ctdc-btn {
    background: transparent;
    border: 2px solid #38345f;
    border-radius: 10px;
    color: #38345f;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.6rem 2rem;
    margin: 0 0.5rem;
    transition: background 0.2s;
    text-decoration: none;
}

.ctdc-btn:hover {
    background: #38345f;
    color: #fff;
}

/* .sec__bg{
    background-color: #F7F7FA;
} */
.ctdc-card {
    background-color: #F7F7FA !important;
}

.msa-offer-desc {
    font-size: 20px;
    text-align: justify;
}

.msa-hero-subtitle {
    font-size: 20px;
    text-align: justify;
}

.ctdc-intro-title {
    color: #38345f;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 2.2rem;
    text-align: center;
}

.ctdc-card-item {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 3px 12px 0 rgba(80, 74, 113, .10);
    padding: 1.2rem 1rem;
    min-height: 100px;
    display: flex;
    align-items: center;
    font-size: 1.08rem;
    color: #353352;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.18s;
    position: relative;
    height: 100px;
    max-height: 100px;
    border-left: 3px solid #38345f;
}

.ctdc-card-item:hover {
    box-shadow: 0 6px 22px 0 rgba(80, 74, 113, .13);
}

.ctdc-card-icon {
    background: #9087A2;
    color: #fff;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.ctdc-card-single-center {
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.5rem;
    justify-content: center;
    max-width: 400px;
}

@media (max-width: 991.98px) {
    .ctdc-card-item {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .ctdc-card-item {
        font-size: .98rem;
    }
}

.ctdc-edu-bg {
    background: #f8f9fb;
}

.ctdc-edu-title {
    color: #38345f;
    font-weight: 700;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 0.7rem;
}

.ctdc-edu-subtitle {
    text-align: center;
    color: #847e99;
    font-size: 1.15rem;
    margin-bottom: 2.3rem;
}

.ctdc-edu-card {
    background: #fff;
    border: 1.5px solid #e5e5ef;
    border-radius: 12px;
    box-shadow: 0 3px 12px 0 rgba(80, 74, 113, .07);
    padding: 1.2rem 1.1rem;
    display: flex;
    align-items: center;
    margin-bottom: 1.1rem;
    transition: box-shadow 0.18s, border 0.18s;
    min-height: 78px;
    position: relative;
}

.ctdc-edu-card:hover {
    box-shadow: 0 7px 25px 0 rgba(80, 74, 113, .13);
    border-color: #cfcbe7;
}

.ctdc-edu-icon {
    background: #504a71;
    color: #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-right: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.ctdc-edu-card-content {
    flex: 1 1 0%;
    min-width: 0;
}

.ctdc-edu-card-title {
    font-weight: 700;
    color: #38345f;
    font-size: 1.09rem;
    margin-bottom: 1px;
}

.ctdc-edu-card-sub {
    color: #686585;
    font-size: .97rem;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1.2;
    word-break: break-word;
}

@media (max-width: 991.98px) {
    .ctdc-edu-card {
        font-size: 1rem;
    }

    .ctdc-edu-icon {
        font-size: 1.15rem;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 767.98px) {
    .ctdc-edu-card {
        font-size: .98rem;
    }

    .ctdc-edu-title {
        font-size: 1.38rem;
    }

    .ctdc-edu-card {
        padding: 1rem 0.8rem;
    }

    .ctdc-edu-icon {
        margin-right: 0.7rem;
    }
}

.fs-20 {
    font-size: 20px;
}

.fs-35 {
    font-size: 35px;
}

.t_text {
    color: #38345f !important;
}

.service-card {
    border-radius: 1.5rem;
    box-shadow: 0 6px 24px 0 rgba(44, 62, 80, 0.12), 0 1.5px 5px 0 rgba(44, 62, 80, 0.08);
    background: #fff;
    padding: 2rem 1.5rem;
    min-height: 350px;
    position: relative;
    border-top: 4px solid #38345f;
    transition: box-shadow 0.2s;
    margin-bottom: 0;
}

.service-card:hover {
    box-shadow: 0 12px 32px 0 rgba(44, 62, 80, 0.18), 0 2px 8px 0 rgba(44, 62, 80, 0.09);
}

.service-icons {
    font-size: 2.2rem;
    color: #9087A2;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.service-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #333046;
    font-size: 24px;
}

.service-card ul {
    padding-left: 1.25rem;
    margin-bottom: 0;
}

.service-card p {
    color: #4c4766;
    margin-bottom: 1rem;
    font-size: 14px;
    text-align: justify;
}

@media (max-width: 767px) {
    .service-card {
        min-height: unset;
        padding: 1.25rem;
    }
}

.fs-30 {
    font-size: 30px;
}

.strategic-accountability .service-card {
    min-height: 260px !important;
}

#page-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#page-loader-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    animation: page-loader-spin 2s linear infinite;
}

@keyframes page-loader-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.fiscal-card {
    background: #EBE8EB;
    border-radius: 16px;
    padding: 1.2rem 1rem;
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #353352;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.18s;
    position: relative;
    border-left: 4px solid #38345f;
}

.fs-18 {
    font-size: 18px;
}

.btn-mail {
    background-color: #3F3854;
    color: #fff;
    padding: 1px 12px;
    font-size: 15px;
}

.btn-mail:hover {
    background-color: #3F3854;
    color: #fff;
    padding: 1px 12px;
    font-size: 15px;
}

.dot {
    background-color: #3F3854;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    margin-right: 12px;
    margin-left: 1px;
}

.brand_box {
    height: 230px;
    width: 230px;
    border: 2px solid #3F3854;
    border-radius: 30px;
    margin-right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand_box img {
    width: 130px;
    height: auto;
    max-width: 130px;
}

.sponsored-underline {
    width: 200px;
    height: 5px;
    margin-top: 14px;
    border-radius: 2px;
    background: linear-gradient(90deg, #000000 50%, #fff 100%);
    opacity: 0.6;
}

.card__title {
    font-size: 22px;
    font-weight: bold;
    color: #3f3854;
}

.border_top {
    border-top: 4px solid #38345f;
}

.border_bottom {
    border-bottom: 4px solid #38345f;
}

.border_left {
    border-left: 4px solid #38345f;
}

.border_right {
    border-top: 4px solid #38345f;
}

.cards__section {
    width: 100%;
    height: auto;
    background: #f8f7f9;
    position: relative;
    z-index: 1;
    clip-path: polygon(0 5%, 100% 0, 100% 93%, 0 100%);
    padding: 80px 0;
}

.mentors_icon {
    font-size: 62px;
    text-align: center;
    color: #3f3854;
    margin-bottom: 20px;
}

.mentors_title {
    font-size: 22px;
    text-align: center;
    font-weight: 600;
    color: #3f3854;
}

.mentors_desc1 {
    font-size: 16px;
    font-weight: 400;
    text-align: center;
}

.mentors_desc2 {
    font-size: 12px;
    text-align: center;
}

.rtl-body .ctdc-card-icon {
    margin-left: 1rem;
}

.rtl-body .ctdc-edu-icon {
    margin-left: 1rem;
}

.rtl-body .ctdc-list-icon {
    margin-left: 0.75rem;
}

.rtl-body .ctdc-note-icon {
    margin-left: 0.6rem;
}

.rtl-body .service-card ul {
    padding-right: 1.25rem;
}

.rtl-body .at-icn {
    margin-left: 20px;
}

.rtl-body .ms-5 {
    margin-right: 3rem !important;
}

.rtl-body .form-select {
    background-position: left .75rem center !important;
}

.rtl-body .me-4 {
    margin-left: 1.5rem !important;
}

.rtl-body .dot {
    margin-left: 12px !important;
}

.rtl-body .sponsored-underline {
    background: linear-gradient(320deg, #000000 50%, #fff 100%);
}

.rtl-body .fiscal-card {
    border-right: 4px solid #38345f;
    border-left: none;
}

.rtl-body .ctdc-card-item {
    border-right: 3px solid #38345f;
    border-left: none;
}

.rtl-body .featured-posts-cta.btn i {
    transform: rotate(180deg);
    margin-right: 10px;
}

.rtl-body .post-card-btn i {
    transform: rotate(180deg);
}

@media screen and (max-width: 767px) {
    .rtl-body .dropdown-toggle-arrow {
        left: 0 !important;
        transform: rotate(180deg);
    }
}

@media only screen and (max-width: 1024px) {
    .rtl-body .close-btn svg {
        transform: rotate(180deg);
    }
}

.banner__btn2 {
    color: #fff;
    border-color: #ffffff82;
    background-color: #3F385466 !important;
    padding: 15px 30px !important;
}

.banner__btn2:hover {
    color: #fff;
    border-color: #ffffff82;
    background-color: #3F385466 !important;
}

.object-fit-cover {
    object-fit: cover;
}

.fade-in {
    animation: fadeIn 0.4s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.language-option {
    font-family: 'cairo', sans-serif;
    font-weight: 600;
}

.slider__image {
    max-width: 100%;
    object-fit: contain;
    height: 50px;
    width: 70px;
}

/* Testimonial Popup Styles - Enhanced */
.testimonial-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.testimonial-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.testimonial-popup-container {
    background-color: white;
    border-radius: 16px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    transform: scale(0.95);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    padding: 50px 30px 30px;
}

.testimonial-popup-overlay.active .testimonial-popup-container {
    transform: scale(1);
}

.popup-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #3e3360;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.popup-close-btn:hover {
    background: #3e3360;
    transform: rotate(90deg);
    color: #fff;
}

.popup-close-btn svg {
    width: 20px;
    height: 20px;
}

.popup-user-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 25px;
}

.popup-user-image {
    width: 130px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}

.popup-user-info h3 {
    margin: 0;
    font-size: 22px;
    color: #2c3e50;
    font-weight: 600;
}

.popup-user-info p {
    margin: 5px 0 0;
    color: #7f8c8d;
    font-size: 15px;
}

.testimonial-popup-body {
    position: relative;
    padding: 0 10px;
    line-height: 1.7;
    font-size: 16px;
    color: #34495e;
    text-align: center;
    margin-bottom: 25px;
}

.quote-icon {
    position: absolute;
    font-size: 60px;
    color: rgba(52, 73, 94, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
    font-weight: bold;
}

.quote-icon.top {
    top: -30px;
    left: 0;
}

.quote-icon.bottom {
    bottom: -40px;
    right: 0;
}

.testimonial-rating-section {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.rating-display {
    display: flex;
    align-items: center;
    background: #f5f4f4;
    padding: 8px 20px;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.rating-stars {
    font-size: 22px;
    color: #FFD700;
    margin-right: 10px;
    letter-spacing: 2px;
}

.rating-number {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    background: #fff;
    padding: 3px 10px;
    border-radius: 20px;
}

.read-more-link {
    color: #3f3854;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
    margin-left: 5px;
    display: inline-block;
    transition: color 0.2s ease;
    position: relative;
}

.read-more-link:hover {
    color: #2c3e50;
}

.read-more-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3f3854;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.read-more-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Mobile-specific styles */
@media (max-width: 767px) {
    .testimonial-popup-container {
        padding: 40px 20px 25px;
        max-height: 85vh;
    }

    .popup-user-image {
        width: 80px;
        height: 80px;
    }

    .popup-user-info h3 {
        font-size: 20px;
    }

    .popup-user-info p {
        font-size: 14px;
    }

    .testimonial-popup-body {
        font-size: 15px;
    }

    .rating-stars {
        font-size: 20px;
    }

    .rating-number {
        font-size: 16px;
    }

    .quote-icon {
        font-size: 50px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-popup-content {
    animation: fadeInUp 0.5s ease forwards;
}

.one-line {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 480px;
}

.logo_einno {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo_einno p {
    margin-bottom: 0px;
    color: #c6c9d8;
}

.bg__gray{
    background-color: #f1f3f5 !important;
}
.cta-section{
        z-index: 0;
    position: relative;
}
@media (min-width: 768px) {
    .rtl-body .text-md-end {
        text-align: left !important;
    }
}
.rtl-body .ms-2 {
    margin-right: .5rem !important;
}