/* Asiri Testimonials Carousel — all styles scoped to this Elementor widget. */
.atw-widget {
    --atw-columns: 3;
    --atw-render-columns: var(--atw-columns);
    --atw-step: 3;
    --atw-gap: 18px;
    --atw-speed: 450ms;
    --atw-shadow-x: 52px;
    --atw-shadow-top: 22px;
    --atw-shadow-bottom: 80px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    position: relative;
    box-sizing: border-box;
    outline-offset: 3px;
}
.atw-widget *,
.atw-widget *::before,
.atw-widget *::after {
    box-sizing: border-box;
}
/* Keep shadow gutters INSIDE the widget width so slides do not produce
   unwanted horizontal page scrolling. Negative vertical margins compensate
   the top/bottom padding without shifting the widget's navigation. */
.atw-widget .atw-viewport {
    overflow: hidden;
    padding: var(--atw-shadow-top) var(--atw-shadow-x) var(--atw-shadow-bottom);
    margin: calc(-1 * var(--atw-shadow-top)) 0 calc(-1 * var(--atw-shadow-bottom));
    touch-action: pan-y;
}
.atw-widget .atw-track {
    display: flex;
    align-items: stretch;
    gap: var(--atw-gap);
    width: 100%;
    min-width: 0;
    transition: transform var(--atw-speed) ease;
    will-change: transform;
    direction: ltr;
}
.atw-widget .atw-slide {
    display: flex;
    flex: 0 0 calc((100% - (var(--atw-render-columns) - 1) * var(--atw-gap)) / var(--atw-render-columns));
    min-width: 0;
    align-self: stretch;
}
/* Keep neighboring slides from peeking into the shadow gutters at rest.
   During a transition they are revealed so the carousel still slides naturally. */
.atw-widget .atw-slide[aria-hidden="true"] {
    visibility: hidden;
}
.atw-widget.atw-is-sliding .atw-slide[aria-hidden="true"] {
    visibility: visible;
}
.atw-widget .atw-card {
    background: #fff;
    width: 100%;
    min-width: 0;
    min-height: 328px;
    display: flex;
    flex-direction: column;
    padding: 26px 25px;
    border-radius: 24px;
    box-shadow: 0 16px 30px rgba(19, 37, 69, .18);
    text-align: left;
    direction: ltr;
    transition: box-shadow 300ms ease, transform 300ms ease;
}
.atw-widget.atw-lift .atw-card:hover {
    transform: translateY(-5px);
}
.atw-widget .atw-quote {
    color: #3478a5;
    font-size: 28px;
    line-height: 1;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    align-self: flex-start;
    flex: 0 0 auto;
}
.atw-widget .atw-quote svg,
.atw-widget .atw-quote i {
    width: 1em;
    height: 1em;
    display: block;
    flex-shrink: 0;
}
.atw-widget .atw-stars {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    width: 100%;
    gap: 1px;
    margin-bottom: 10px;
    line-height: 0;
}
.atw-widget .atw-star {
    width: 15px;
    height: 15px;
    display: block;
    flex: 0 0 auto;
    color: #dae1e8;
}
.atw-widget .atw-star.is-filled {
    color: #3478a5;
}
.atw-widget .atw-review {
    flex: 1 1 auto;
    min-width: 0;
    color: #45556d;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.7;
    overflow-wrap: anywhere;
    padding-bottom: 22px;
}
.atw-widget .atw-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    min-width: 0;
    width: 100%;
    border-top: 1px dashed #e1e7f0;
    padding-top: 18px;
    gap: 13px;
}
.atw-widget .atw-avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    min-width: 0;
    overflow: hidden;
    border-radius: 50%;
    background: #d7e8f5;
    color: #0b3d70;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}
.atw-widget .atw-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
}
.atw-widget .atw-avatar span {
    display: inline-block;
}
.atw-widget .atw-author-details {
    min-width: 0;
    flex: 1 1 auto;
    text-align: left;
}
.atw-widget .atw-author-name {
    color: #113e71;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.atw-widget .atw-author-meta {
    color: #697c98;
    font-family: inherit;
    font-size: 10.5px;
    font-weight: 400;
    line-height: 1.4;
    margin-top: 4px;
    overflow-wrap: anywhere;
}
.atw-widget .atw-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    margin-top: 42px;
}
.atw-widget .atw-arrow {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #cdd7e4;
    border-radius: 50%;
    color: #122d60;
    background: #fff;
    width: 39px;
    height: 39px;
    padding: 0;
    margin: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, opacity 200ms ease;
}
.atw-widget .atw-arrow svg,
.atw-widget .atw-arrow i {
    width: 1em;
    height: 1em;
    display: block;
    flex-shrink: 0;
}
.atw-widget .atw-arrow:hover:not(:disabled) {
    background: #f3f8fc;
    border-color: #3478a5;
    color: #3478a5;
}
.atw-widget .atw-arrow:disabled {
    opacity: .48;
    cursor: not-allowed;
}
.atw-widget .atw-arrow:focus-visible,
.atw-widget .atw-dot:focus-visible {
    outline: 2px solid #3478a5;
    outline-offset: 3px;
}
.atw-widget .atw-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 16px;
}
.atw-widget .atw-pagination[hidden] {
    display: none !important;
}
.atw-widget .atw-dot {
    display: block;
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50px;
    background: #cfd5e0;
    opacity: 1;
    cursor: pointer;
    transition: width 300ms ease, background-color 200ms ease;
}
.atw-widget .atw-dot.is-active {
    width: 27px;
    background: #3478a5;
}
.atw-widget .atw-screen-reader {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    clip-path: inset(50%) !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}
@media (max-width: 1024px) {
    .atw-widget {
        --atw-columns: 2;
        --atw-step: 2;
        --atw-shadow-x: 36px;
        --atw-shadow-top: 20px;
        --atw-shadow-bottom: 70px;
    }
}
@media (max-width: 767px) {
    .atw-widget {
        --atw-columns: 1;
        --atw-step: 1;
    }
    .atw-widget {
        --atw-shadow-x: 18px;
        --atw-shadow-top: 16px;
        --atw-shadow-bottom: 60px;
    }
    .atw-widget .atw-card {
        padding: 26px 25px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .atw-widget .atw-track,
    .atw-widget .atw-arrow,
    .atw-widget .atw-dot,
    .atw-widget .atw-card {
        transition-duration: 0ms !important;
    }
}
