.tr-floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99999;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #18b9b3;
    box-shadow: 0 10px 28px rgb(0 0 0 / 22%);
    transition: transform .2s ease, box-shadow .2s ease;
}

.tr-floating-whatsapp:hover,
.tr-floating-whatsapp:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgb(0 0 0 / 28%);
}

.tr-floating-whatsapp svg {
    width: 31px;
    height: 31px;
    fill: #fff;
}

.tr-home-services-overlay .elementor-column {
    position: relative;
}

.tr-home-services-overlay .elementor-inner-column > .elementor-widget-wrap > .elementor-widget-spacer:first-child .elementor-widget-container {
    position: relative;
    overflow: hidden;
}

.tr-home-services-overlay .elementor-inner-column > .elementor-widget-wrap > .elementor-widget-spacer:first-child .elementor-widget-container::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(to top, rgb(24 185 179 / 78%), rgb(24 185 179 / 26%) 36%, transparent 76%);
}

.tr-home-services-overlay .elementor-column > .elementor-widget-wrap {
    position: relative;
}

html { scroll-behavior: smooth; }

.tr-hero-rotator { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.tr-hero-rotator span { position: absolute; inset: 0; opacity: 0; background-position: center 68%; background-size: cover; animation: trHeroCycle 18s infinite; }
.tr-hero-rotator span:nth-child(2), .tr-hero-rotator span:nth-child(3) { background-position: center 24%; }
.tr-hero-rotator span:nth-child(1) { animation-delay: 0s; }
.tr-hero-rotator span:nth-child(2) { animation-delay: 6s; }
.tr-hero-rotator span:nth-child(3) { animation-delay: 12s; }
@keyframes trHeroCycle { 0%, 28% { opacity: 1; transform: scale(1); } 34%, 94% { opacity: 0; transform: scale(1.035); } 100% { opacity: 1; transform: scale(1); } }
rs-slide > rs-layer-wrap { z-index: 3 !important; }

.tr-home-icon {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 6px;
    vertical-align: -2px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 10.8 12 3l9 7.8v9.7a.5.5 0 0 1-.5.5H15v-6H9v6H3.5a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 10.8 12 3l9 7.8v9.7a.5.5 0 0 1-.5.5H15v-6H9v6H3.5a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.menu_main_nav > li { margin-right: 17px !important; }
.menu_main_nav > li > a { white-space: nowrap; }
.menu_main_nav .sub-menu { min-width: 230px; max-height: 68vh; overflow-y: auto; }
.menu_main_nav .sub-menu li a { white-space: normal; line-height: 1.35; }

.tr-language-switcher {
    align-self: center;
    display: inline-flex;
    gap: 2px;
    margin-right: 14px;
    padding: 3px;
    border: 1px solid rgb(255 255 255 / 34%);
    border-radius: 999px;
    background: rgb(0 26 41 / 22%);
    backdrop-filter: blur(8px);
}
.tr-language-switcher button {
    min-width: 39px;
    height: 34px;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgb(255 255 255 / 72%);
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.tr-language-switcher button:hover { color: #fff; }
.tr-language-switcher button.is-active { background: #fff; color: #087f79; box-shadow: 0 2px 8px rgb(0 0 0 / 14%); }
.skiptranslate iframe, body > .skiptranslate { display: none !important; }
body { top: 0 !important; }

.tr-section-kicker { margin: 0 0 12px; color: #087f79; font-size: 12px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.tr-primary-link { display: inline-flex; align-items: center; justify-content: center; margin-top: 26px; padding: 14px 24px; border-radius: 999px; background: #18b9b3; color: #fff !important; font-weight: 700; text-decoration: none !important; }
.tr-primary-link:hover { background: #087f79; }

.tr-why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); min-height: 660px; background: #fff; }
.tr-why__image { min-height: 660px; overflow: hidden; }
.tr-why__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.tr-why__content { align-self: center; padding: 70px clamp(36px, 6vw, 100px); }
.tr-why__content h2, .tr-methods h2 { margin: 0; color: #001a29; font-size: clamp(34px, 4vw, 58px); line-height: 1.08; text-transform: none; }
.tr-why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 30px; margin-top: 34px; }
.tr-why__grid article { padding-top: 18px; border-top: 2px solid #18b9b3; }
.tr-why__grid h3 { margin: 0 0 8px; color: #001a29; font-size: 19px; text-transform: none; }
.tr-why__grid p { margin: 0; color: #68787f; font-size: 15px; line-height: 1.65; }

.tr-methods { padding: 95px 28px; background: #effbfb; color: #001a29; text-align: center; }
.tr-methods__inner { max-width: 1240px; margin: auto; }
.tr-methods__intro { max-width: 680px; margin: 18px auto 40px; color: #65787f; font-size: 17px; line-height: 1.7; }
.tr-methods__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.tr-methods article { padding: 30px; border-radius: 18px; background: #fff; box-shadow: 0 12px 34px rgb(0 26 41 / 7%); }
.tr-methods h3 { margin: 0 0 18px; color: #001a29; font-size: 22px; text-transform: none; }
.tr-methods ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 0; padding: 0; list-style: none; }
.tr-methods li { position: relative; padding-left: 14px; color: #526970; font-size: 14px; line-height: 1.45; }
.tr-methods li::before { content: ''; position: absolute; top: .55em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #18b9b3; }

#our-team .elementor-inner-column { overflow: hidden; }
#our-team .elementor-widget-image img { width: 100%; aspect-ratio: 4 / 4.5; object-fit: cover; object-position: center 22%; }
#our-team h2 { min-height: 2.5em; line-height: 1.15; }
#our-team h6, #our-team p { line-height: 1.35; }

.tr-footer-branches { line-height: 1.55; }
.tr-footer-branches strong { color: #fff; font-size: 14px; }
.tr-anchor { position: absolute; top: 0; }
.tr-review-link { position: relative; left: 50%; transform: translateX(-50%); margin: 24px auto 46px; }
.tr-services-link { position: relative; left: 50%; transform: translateX(-50%); margin: 30px auto 60px; }
.tr-team-note { display: inline-block; margin-top: 4px; font-size: .8em; font-weight: 500; opacity: .9; }

/* The About page reuses the complete homepage team grid. Keep the imported
   animated heading visible when it is rendered inside the About document. */
.tr-about-home-team #our-team .animation_type_block,
.tr-about-home-team #our-team .sc_item_title,
.tr-about-home-team #our-team .sc_item_title_text,
.tr-about-home-team #our-team .sc_item_subtitle {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
.tr-about-home-team #our-team .sc_item_title_text { color: #001a29 !important; }
.tr-about-home-team #our-team .sc_item_subtitle { color: #49616b !important; }

footer .widget_custom_links a[href*="facebook"],
footer .widget_custom_links a[href*="instagram"],
footer .widget_custom_links a[href*="pinterest"],
footer .widget_custom_links a[href*="tiktok"],
footer .widget_custom_links a[href*="vk.com"],
footer .widget_custom_links a[href*="youtube"] { display: flex; align-items: center; gap: 10px; }
footer .widget_custom_links a[href*="facebook"]::before,
footer .widget_custom_links a[href*="instagram"]::before,
footer .widget_custom_links a[href*="pinterest"]::before,
footer .widget_custom_links a[href*="tiktok"]::before,
footer .widget_custom_links a[href*="vk.com"]::before,
footer .widget_custom_links a[href*="youtube"]::before { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid rgb(255 255 255 / 24%); border-radius: 50%; color: #18b9b3; font-size: 11px; font-weight: 800; }
footer .widget_custom_links a[href*="facebook"]::before { content: 'f'; }
footer .widget_custom_links a[href*="instagram"]::before { content: '◎'; }
footer .widget_custom_links a[href*="pinterest"]::before { content: 'p'; }
footer .widget_custom_links a[href*="tiktok"]::before { content: '♪'; }
footer .widget_custom_links a[href*="vk.com"]::before { content: 'vk'; font-size: 8px; }
footer .widget_custom_links a[href*="youtube"]::before { content: '▶'; font-size: 8px; }

.tr-bodymap__rotate { display: none; }

@media (max-width: 767px) {
    .tr-hero-rotator span { display: none; animation: none; }
    .tr-hero-rotator span:first-child { display: block; opacity: 1; background-position: center 48%; }
    .tr-floating-whatsapp {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }

    .tr-why { grid-template-columns: 1fr; min-height: 0; }
    .tr-why__image { min-height: 0; aspect-ratio: 4 / 3; }
    .tr-why__content { padding: 46px 20px 56px; }
    .tr-why__grid { grid-template-columns: 1fr; gap: 18px; }
    .tr-methods { padding: 62px 18px; }
    .tr-methods__grid { grid-template-columns: 1fr; }

    #our-team .elementor-container { display: flex; flex-wrap: wrap; }
    #our-team .elementor-inner-column { width: 50% !important; padding: 5px; }
    #our-team .elementor-widget-image img { aspect-ratio: 1 / 1; object-position: center 18%; }
    #our-team h2 { min-height: 2.7em; font-size: 12px !important; }
    #our-team h6, #our-team p { font-size: 10px !important; }

    .tr-home-services-overlay .elementor-inner-column { width: 50% !important; }
    .tr-home-services-overlay .elementor-widget-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

    .tr-bodymap__rotate { display: flex; align-items: center; justify-content: center; gap: 8px; margin: -12px 0 22px; padding: 10px 14px; border-radius: 8px; background: #eef8f5; color: #087f79; font-size: 12px; font-weight: 600; }
    .tr-bodymap__rotate span { font-size: 20px; }
}

@media (orientation: landscape) and (max-width: 950px) {
    .tr-bodymap__rotate { display: none; }
    #our-team .elementor-inner-column, .tr-home-services-overlay .elementor-inner-column { width: 25% !important; }
}

@media (min-width: 1280px) {
    .sc_layouts_row_type_compact > .elementor-container > .elementor-column.elementor-col-66 {
        width: calc(100% - 300px) !important;
    }
    .sc_layouts_row_type_compact > .elementor-container > .elementor-column.elementor-col-33 {
        width: 300px !important;
    }
    .sc_layouts_row_type_compact .elementor-widget-trx_sc_layouts_menu {
        flex: 1 1 auto;
        min-width: 0;
    }
    .sc_layouts_row_type_compact .elementor-widget-trx_sc_layouts_menu > .elementor-widget-container,
    .sc_layouts_row_type_compact .elementor-widget-trx_sc_layouts_menu nav {
        width: 100%;
    }
    .sc_layouts_row_type_compact .elementor-widget-trx_sc_layouts_menu nav {
        display: flex;
        justify-content: center;
    }
    .sc_layouts_row_type_compact > .elementor-container > .elementor-col-33 > .elementor-widget-wrap {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-end;
    }
}

/* High-end methods composition. */
.tr-methods { position: relative; overflow: hidden; padding: 120px 32px 96px; background: #061f2c; color: #fff; text-align: left; isolation: isolate; }
.tr-methods__glow { position: absolute; z-index: -1; width: 650px; height: 650px; top: -360px; right: -170px; border-radius: 50%; background: radial-gradient(circle, rgb(24 185 179 / 36%), transparent 68%); }
.tr-methods__inner { max-width: 1380px; }
.tr-methods__head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; margin-bottom: 58px; }
.tr-methods__head .tr-section-kicker { color: #6fe1dc; }
.tr-methods .tr-methods__head h2 { color: #fff; font-size: clamp(54px, 6vw, 92px); letter-spacing: -.055em; }
.tr-methods__head > p { max-width: 540px; margin: 0 0 8px; color: rgb(255 255 255 / 66%); font-size: 17px; line-height: 1.75; }
.tr-methods .tr-methods__grid { display: grid; grid-template-columns: 1.08fr .94fr 1.08fr; gap: 14px; align-items: stretch; }
.tr-methods .tr-method-card { display: flex; flex-direction: column; min-height: 440px; padding: 34px; border: 1px solid rgb(255 255 255 / 12%); border-radius: 24px; box-shadow: none; transition: transform .35s ease, box-shadow .35s ease; }
.tr-methods .tr-method-card:hover { transform: translateY(-7px); box-shadow: 0 24px 60px rgb(0 0 0 / 22%); }
.tr-methods .tr-method-card--dark { background: #0b2a38; color: #fff; }
.tr-methods .tr-method-card--teal { background: #19bab4; color: #002a35; transform: translateY(18px); }
.tr-methods .tr-method-card--teal:hover { transform: translateY(17px); }
.tr-methods .tr-method-card--light { background: #f4fbfa; color: #0a2a36; }
.tr-method-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 42px; }
.tr-method-card__number { font-size: 12px; font-weight: 700; letter-spacing: .16em; opacity: .55; }
.tr-method-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid currentColor; border-radius: 50%; font-size: 21px; opacity: .8; }
.tr-method-card__label { margin: 0 0 8px; font-size: 10px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; opacity: .58; }
.tr-methods .tr-method-card h3 { margin: 0; color: inherit; font-size: clamp(27px, 2.3vw, 38px); line-height: 1.05; letter-spacing: -.035em; }
.tr-methods .tr-method-card ul { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 20px; margin: 32px 0 30px; }
.tr-methods .tr-method-card li { padding-left: 14px; color: inherit; font-size: 13px; line-height: 1.45; opacity: .78; }
.tr-methods .tr-method-card li::before { width: 4px; height: 4px; background: currentColor; opacity: .75; }
.tr-method-card > a { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 22px; border-top: 1px solid currentColor; color: inherit !important; font-size: 13px; font-weight: 700; text-decoration: none !important; opacity: .82; }
.tr-method-card > a span { font-size: 18px; transition: transform .2s ease; }
.tr-method-card > a:hover span { transform: translate(3px,-3px); }
.tr-methods__footer { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 76px; }
.tr-methods__footer p { margin: 0; color: rgb(255 255 255 / 60%); font-size: 14px; }
.tr-methods__footer p strong { color: #fff; }
.tr-methods__footer .tr-primary-link { margin: 0; gap: 22px; padding: 16px 24px; background: #fff; color: #052532 !important; }

/* Self-contained Google review carousel. */
.tr-testimonials { padding: 108px 32px; background: #f2f8f8; color: #062330; }
.tr-testimonials__inner { max-width: 1380px; margin: auto; }
.tr-testimonials__head { display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; align-items: end; margin-bottom: 48px; }
.tr-testimonials__head h2 { max-width: 820px; margin: 0; color: #062330; font-size: clamp(42px, 5vw, 72px); line-height: 1.03; letter-spacing: -.05em; text-transform: none; }
.tr-testimonials__head > p { max-width: 420px; margin: 0 0 7px; color: #677b82; font-size: 16px; line-height: 1.7; }
.tr-testimonials__layout { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 18px; }
.tr-testimonials__rating { display: flex; flex-direction: column; align-items: flex-start; min-height: 355px; padding: 30px; border-radius: 22px; background: #062d3b; color: #fff; }
.tr-testimonials__google, .tr-review-card__google { font-family: Arial,sans-serif; font-weight: 800; color: #4285f4; text-shadow: 1px 0 #ea4335, 0 1px #fbbc05; }
.tr-testimonials__google { font-size: 34px; }
.tr-testimonials__rating > p { margin: 30px 0 0; color: rgb(255 255 255 / 58%); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.tr-testimonials__rating > strong { margin-top: 4px; font-size: 62px; line-height: 1; letter-spacing: -.06em; }
.tr-testimonials__stars, .tr-review-card__stars { color: #ffb800; letter-spacing: 3px; }
.tr-testimonials__stars { margin-top: 15px; font-size: 20px; }
.tr-testimonials__stars span { display: inline-block; width: .5em; overflow: hidden; vertical-align: bottom; }
.tr-testimonials__rating small { margin-top: 9px; color: rgb(255 255 255 / 62%); }
.tr-testimonials .tr-testimonials__rating .tr-review-link { position: static; left: auto; display: flex; justify-content: space-between; width: 100%; margin: auto 0 0; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / 16%); color: #fff !important; font-weight: 700; text-decoration: none; transform: none; }
.tr-testimonials__slider { min-width: 0; overflow: hidden; }
.tr-testimonials__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px)/3); gap: 12px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tr-testimonials__track::-webkit-scrollbar { display: none; }
.tr-review-card { display: flex; flex-direction: column; min-height: 355px; padding: 28px; border: 1px solid #deebea; border-radius: 22px; background: #fff; scroll-snap-align: start; transition: border-color .25s ease, transform .25s ease; }
.tr-review-card:hover { border-color: #78cbc7; transform: translateY(-4px); }
.tr-review-card__top { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; }
.tr-review-card__avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #dff4f2; color: #087f79; font-weight: 800; }
.tr-review-card__top h3 { margin: 0; color: #062330; font-size: 15px; text-transform: none; }
.tr-review-card__top p { margin: 3px 0 0; color: #8a999e; font-size: 11px; }
.tr-review-card__google { font-size: 20px; }
.tr-review-card__stars { margin-top: 22px; font-size: 14px; }
.tr-review-card__quote { display: -webkit-box; margin: 22px 0 0; overflow: hidden; color: #3e565f; font-size: 14px; line-height: 1.75; -webkit-line-clamp: 6; -webkit-box-orient: vertical; }
.tr-testimonials__controls { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.tr-testimonials__controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #cadae0; border-radius: 50%; background: transparent; color: #062330; font-size: 18px; cursor: pointer; }
.tr-testimonials__controls button:hover { border-color: #18b9b3; background: #18b9b3; color: #fff; }
.tr-testimonials__controls > span { display: flex; gap: 6px; }
.tr-testimonials__controls i { width: 5px; height: 5px; border-radius: 50%; background: #a9b9bd; }
.tr-testimonials__controls i:first-child { width: 22px; border-radius: 99px; background: #18b9b3; }

@media (max-width: 1000px) {
    .tr-methods__head, .tr-testimonials__head { grid-template-columns: 1fr; gap: 20px; }
    .tr-methods .tr-methods__grid { grid-template-columns: 1fr 1fr; }
    .tr-method-card--light { grid-column: 1 / -1; }
    .tr-method-card--teal { transform: none; }
    .tr-methods .tr-method-card--teal:hover { transform: translateY(-7px); }
    .tr-testimonials__layout { grid-template-columns: 220px minmax(0,1fr); }
    .tr-testimonials__track { grid-auto-columns: calc((100% - 12px)/2); }
}

@media (max-width: 700px) {
    .tr-methods { padding: 76px 18px 64px; }
    .tr-methods .tr-methods__head h2 { font-size: 52px; }
    .tr-methods .tr-methods__grid { grid-template-columns: 1fr; }
    .tr-method-card--light { grid-column: auto; }
    .tr-methods .tr-method-card { min-height: 0; padding: 26px; }
    .tr-method-card__top { margin-bottom: 52px; }
    .tr-methods__footer { align-items: flex-start; flex-direction: column; margin-top: 42px; }
    .tr-testimonials { padding: 74px 18px; }
    .tr-testimonials__head h2 { font-size: 44px; }
    .tr-testimonials__layout { grid-template-columns: 1fr; }
    .tr-testimonials__rating { min-height: 280px; }
    .tr-testimonials__track { grid-auto-columns: 88%; }
}

/* Hide Arabic language switcher & Arabic text blocks for now */
.tr-language-switcher, #tr-google-translate, .tr-lang-ar { display: none !important; }
