    @layer base {

      html {
        color-scheme: light;
        scroll-behavior: smooth;
      }

      html,
      body {
        margin: 0;
        padding: 0;
      }

      body {
        overscroll-behavior-y: none;
        font-family: "Cairo", sans-serif;
        -webkit-tap-highlight-color: rgba(0, 30, 64, 0.12);
        touch-action: manipulation;
      }

      main> :first-child {
        margin-top: 0 !important;
      }

      main> :last-child {
        margin-bottom: 0 !important;
      }

      [id] {
        scroll-margin-top: var(--site-header-scroll-margin, 7.5rem);
      }

      #main-content {
        padding-top: var(--site-header-height, 8rem);
      }

      .skip-link {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
      }

      .skip-link:focus {
        position: fixed;
        top: 0.75rem;
        right: 0.75rem;
        z-index: 100;
        width: auto;
        height: auto;
        margin: 0;
        padding: 0.75rem 1rem;
        overflow: visible;
        clip: auto;
        white-space: normal;
        background: #001e40;
        color: #fff;
        border-radius: 0.5rem;
        font-weight: 600;
        text-decoration: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
      }
    }

    @media (prefers-reduced-motion: reduce) {

      html {
        scroll-behavior: auto;
      }

      *,
      *::before,
      *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }

    .material-symbols-outlined {
      font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
    }

    :root {
      --site-header-height: 8rem;
      --site-header-scroll-margin: calc(var(--site-header-height) + 0.5rem);
    }

    .site-header {
      transition: box-shadow 0.3s ease;
    }

    .site-header.is-compact {
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    .site-header .header-top-bar {
      max-height: 5rem;
      opacity: 1;
      transition:
        max-height 0.35s ease,
        opacity 0.25s ease,
        padding 0.35s ease;
    }

    @media (max-width: 767.98px) {
      #header-top-bar .header-top-bar-row {
        width: 100%;
        max-width: none;
        justify-content: flex-start;
      }

      #header-top-bar .header-top-bar-contacts,
      #header-top-bar .header-top-bar-row > div.flex,
      #header-top-bar .max-w-7xl > div.flex.items-center {
        box-sizing: border-box;
        direction: ltr;
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
        justify-content: flex-start;
      }

      #header-top-bar .header-top-bar-phone,
      #header-top-bar a[href^="tel:"] {
        margin-inline-start: auto;
        flex-shrink: 0;
      }
    }

    @media (min-width: 768px) {
      .site-header .header-top-bar-contacts .header-top-bar-phone {
        order: 1;
      }

      .site-header .header-top-bar-contacts .header-top-bar-whatsapp {
        order: 2;
      }
    }

    .site-header.is-compact .header-top-bar {
      max-height: 0;
      opacity: 0;
      padding-top: 0;
      padding-bottom: 0;
      pointer-events: none;
    }

    .site-header .header-main-bar {
      height: 5rem;
      transition: height 0.35s ease;
    }

    .site-header.is-compact .header-main-bar {
      height: 3.5rem;
    }

    .header-logo {
      height: 3.5rem;
      width: auto;
      transition: height 0.35s ease;
    }

    @media (min-width: 640px) {
      .header-logo {
        height: 4.5rem;
      }
    }

    .site-header.is-compact .header-logo {
      height: 2.25rem;
    }

    @media (min-width: 640px) {
      .site-header.is-compact .header-logo {
        height: 2.75rem;
      }
    }

    .site-nav a.is-active {
      color: #001e40;
      font-weight: 600;
    }

    .site-nav a.is-active::after {
      content: "";
      position: absolute;
      bottom: 0;
      inset-inline: 0;
      height: 2px;
      background: #2d6cb5;
    }

    #mobile-nav a.is-active {
      color: #001e40;
      font-weight: 600;
      background: #f0f3ff;
    }

    .hero-section {
      --hero-image: url("../images/IMG_0451.jpg");
      min-height: calc(100svh - var(--site-header-height));
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .hero-bg {
      background-image: var(--hero-image);
      background-size: cover;
      background-position: center 35%;
      background-repeat: no-repeat;
      transform: scale(1.06);
      transform-origin: center center;
      will-change: transform;
    }

    @media (prefers-reduced-motion: no-preference) {
      .hero-bg {
        animation: hero-bg-drift 14s ease-in-out infinite alternate;
      }
    }

    @keyframes hero-bg-drift {
      0% {
        transform: scale(1.06) translate3d(0, 0, 0);
        background-position: 52% 38%;
      }

      100% {
        transform: scale(1.14) translate3d(-2.5%, 1.25%, 0);
        background-position: 46% 32%;
      }
    }

    @media (min-width: 1024px) {
      .hero-bg {
        transform: scale(1.08);
        background-position: 18% center;
      }

      @keyframes hero-bg-drift {
        0% {
          transform: scale(1.08) translate3d(0, 0, 0);
          background-position: 14% center;
        }

        100% {
          transform: scale(1.16) translate3d(2%, -0.75%, 0);
          background-position: 26% center;
        }
      }
    }

    .hero-overlay {
      background: linear-gradient(
        to left,
        rgba(0, 30, 64, 0.94) 0%,
        rgba(0, 30, 64, 0.82) 28%,
        rgba(0, 30, 64, 0.45) 55%,
        rgba(0, 30, 64, 0.12) 100%
      );
    }

    .hero-fade {
      background: linear-gradient(to top, #f9f9ff 0%, rgba(249, 249, 255, 0) 100%);
    }

    .hero-glass {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.18);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }

    .hero-glass-solid {
      background: rgba(249, 249, 255, 0.94);
      border: 1px solid rgba(216, 227, 251, 0.9);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
    }

    .hero-accent-line {
      background: linear-gradient(to left, #5a93c4, rgba(90, 147, 196, 0));
    }

    .hero-trust {
      display: flex;
      flex-wrap: nowrap;
      gap: 0.5rem;
      max-width: 100%;
      overflow-x: auto;
      overscroll-behavior-x: contain;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      padding-bottom: 0.125rem;
      mask-image: linear-gradient(to left, transparent, #000 12px, #000 calc(100% - 12px), transparent);
    }

    .hero-trust::-webkit-scrollbar {
      display: none;
    }

    .hero-trust-item {
      flex: 0 0 auto;
      white-space: nowrap;
    }

    @media (min-width: 640px) {
      .hero-trust {
        flex-wrap: wrap;
        overflow-x: visible;
        mask-image: none;
        padding-bottom: 0;
      }
    }

    /* Logo marquee runs LTR (same as tuc.sa carousel) so loop + transform stay stable on RTL pages */
    .partners-marquee {
      direction: ltr;
      overflow: hidden;
      mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
      -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    }

    .partners-marquee-track {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      align-items: center;
      width: max-content;
      will-change: transform;
      animation: partners-marquee-scroll 55s linear infinite;
    }

    .partners-marquee-set {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      align-items: center;
      flex: 0 0 auto;
      gap: 1.5rem;
      padding-inline: 0.75rem;
      margin: 0;
    }

    .partners-marquee-item {
      flex: 0 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 11rem;
      height: 6.5rem;
      padding: 0.75rem 1rem;
      background: #ffffff;
      border: 1px solid #dee8ff;
      border-radius: 0.75rem;
      box-shadow: 0 1px 3px rgba(0, 30, 64, 0.06);
    }

    @keyframes partners-marquee-scroll {
      from {
        transform: translate3d(0, 0, 0);
      }

      to {
        transform: translate3d(-50%, 0, 0);
      }
    }

    @media (prefers-reduced-motion: no-preference) {
      .partners-marquee:hover .partners-marquee-track {
        animation-play-state: paused;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .partners-marquee {
        overflow-x: auto;
        mask-image: none;
      }

      .partners-marquee-track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        gap: 1rem;
        justify-content: center;
      }

      .partners-marquee-set[aria-hidden="true"] {
        display: none;
      }
    }

    .blog-carousel-viewport-wrap {
      direction: ltr;
    }

    .blog-card {
      direction: rtl;
      text-align: start;
    }

    .blog-carousel-viewport {
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      overscroll-behavior-x: contain;
    }

    .blog-carousel-viewport::-webkit-scrollbar {
      display: none;
    }

    .blog-carousel-track {
      display: flex;
      flex-direction: row;
      gap: 1.5rem;
      padding-bottom: 0.25rem;
    }

    .blog-carousel-slide {
      flex: 0 0 100%;
      scroll-snap-align: start;
      min-width: 0;
    }

    @media (min-width: 768px) {
      .blog-carousel-slide {
        flex-basis: calc((100% - 1.5rem) / 2);
      }
    }

    @media (min-width: 1024px) {
      .blog-carousel-slide {
        flex-basis: calc((100% - 3rem) / 3);
      }
    }

    .lead-form-honeypot {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    .lead-form--submitting {
      opacity: 0.88;
      transition: opacity 0.2s ease;
    }

    .lead-form-submit--busy {
      cursor: wait;
    }
