﻿@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  /* Brand */
  --main-color: #ea0e1f;
  --second-color: #fdf602;
  --white-color: #ffffff;

  --background-btn: linear-gradient(135deg, #9e0d1f 0%, var(--main-color) 55%, #a67c1a 100%);
  --background-btn-hover: linear-gradient(135deg, #a67c1a 0%, var(--main-color) 65%, #9e0d1f 100%);

  --radius: 50px;

  /* Default theme = Dark. Light overrides → light.css
     Section tones: deep black ↔ slightly softer black */
  --section-bg: #111111;
  --section-bg-alt: #191919;
  --body-bg: var(--section-bg);
  --surface-bg: var(--section-bg-alt);
  --text-color: #ffffff;
  --text-muted: #999999;
  --border-color: #2a2a2a;
  --icon-bg: #2a2a2a;
  --header-bg: var(--section-bg);
  --card-bg: #1f1f1f;
  --curve-bg: var(--section-bg);

  --accent: #fdf602;
  --accent-ink: #111111;
  --input-bg: rgba(255, 255, 255, 0.08);
  --input-border: #333333;
  --nav-glass: rgba(255, 255, 255, 0.12);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul li {
  list-style: none !important;
}

a {
  text-decoration: none;
  color: inherit;
}

html,
body {
  scroll-behavior: smooth !important;
  font-family: "Roboto", sans-serif;
  overflow-x: hidden;
  background-color: var(--body-bg);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

[dir="rtl"] {
  body {
    font-family: "Cairo", sans-serif;
  }

  .section-label {
    letter-spacing: 0.4px;
    text-transform: none;
  }
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background: var(--background-btn);
  border-radius: 4px;
}

/* ============================================
   Shared surfaces (dark default)
   ============================================ */
.navbar-nav {
  .nav-link.active {
    color: var(--accent) !important;
  }
}

.section-desc {
  max-width: 640px;
  margin-inline: auto;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Primary section tone (deep black / white) */
.about-intro-section,
.before-after-section,
.home-contact-section,
.contact-section,
.brands-page-section,
.service-details-section,
.blog-details-section,
.brand-details-section {
  background-color: var(--section-bg);
  --curve-bg: var(--section-bg);
}

/* Soft section tone (slightly lighter black / light gray) */
.brands-ticker,
.logos-ticker,
.services-section,
.blogs-section,
.vision-mission-section,
.gallery-section,
.values-section {
  background-color: var(--section-bg-alt);
  --curve-bg: var(--section-bg-alt);
}

.text-main {
  color: var(--main-color);
}

.mt-15 {
  margin-top: 15px;
}

.btn-send {
  background: var(--background-btn);
  color: #fff;
  padding: 14px 42px;
  border: 1px solid var(--main-color);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content !important;
  gap: 8px;
  box-shadow: none;
  transition: all 0.3s ease;
  cursor: pointer;

  i {
    font-size: 12px;
    transition: transform 0.3s ease;
  }

  &:hover {
    background: var(--background-btn-hover);
    color: #fff;
    border-color: var(--main-color);
    box-shadow: 0 8px 20px rgba(234, 14, 31, 0.25);

    i {
      transform: translateX(3px);
    }
  }
}

/* ==================================================
   Tire CTA — used for all "More" actions
   classes: .btn-tire | .btn-more
================================================== */
.btn-tire,
.btn-more {
  position: relative;
  display: inline-block;
  width: 12rem;
  height: 3rem;
  padding: 0;
  /* margin: 0 15px 15px 0; */
  border: 0;
  outline: none;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;




  .circle {
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: var(--background-btn);
    border-radius: 1.625rem;
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    overflow: hidden;

    &::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), transparent 55%);
      pointer-events: none;
    }
  }

  .icon.tire {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    width: 1.35rem;
    height: 1.35rem;
    margin: 0;
    transform: translate(-50%, -50%);
    transition: transform 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    display: flex;
    align-items: center;
    justify-content: center;

    i {
      position: relative;
      z-index: 2;
      color: #fff;
      font-size: 0.75rem;
      line-height: 1;
    }

    .tire-tread {
      position: absolute;
      inset: -13px;
      border-radius: 50%;
      background: #1a1a1a;
      box-shadow:
        inset 0 0 0 2px rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.3);
      pointer-events: none;
      transition: transform 0.45s cubic-bezier(0.65, 0, 0.076, 1);

      &::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: repeating-conic-gradient(from 0deg,
            #1a1a1a 0deg 8deg,
            #3a3a3a 8deg 14deg);
        -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
        mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
      }

      &::after {
        content: "";
        position: absolute;
        inset: 7px;
        border-radius: 50%;
        background: transparent;
        box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5);
      }
    }
  }

  .button-text {
    position: absolute;
    inset: 0;
    padding: 0.75rem 0;
    margin: 0 0 0 1.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-weight: 700;
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
    transition: color 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  }

  &:hover,
  &:focus-visible {
    .circle {
      width: 100%;
      background: var(--background-btn-hover);
    }

    .icon.tire {
      .tire-tread {
        transform: rotate(90deg);
      }
    }

    .button-text {
      color: #fff;
    }
  }

  &.btn-tire--on-dark {
    .button-text {
      color: #fff;
    }
  }

  &.btn-tire--light {
    .circle {
      background: var(--background-btn);
    }

    .button-text {
      color: var(--text-color);
    }

    &:hover,
    &:focus-visible {
      .circle {
        background: var(--background-btn-hover);
      }

      .button-text {
        color: #fff;
      }
    }
  }
}

[dir="rtl"] {
  .btn-tire,
  .btn-more {
    .circle {
      /* pin pill to the right so it expands leftward */
      margin-left: auto;
    }

    .button-text {
      margin: 0 1.85rem 0 0;
    }

    .icon.tire {
      left: auto;
      right: 1.5rem;
      transform: translate(50%, -50%);

      i.fa-arrow-right {
        transform: scaleX(-1);
      }
    }

    &:hover,
    &:focus-visible {
      .icon.tire {
        transform: translate(50%, -50%);

        .tire-tread {
          transform: rotate(-90deg);
        }
      }
    }
  }
}


.header-section {
  h2 {
    color: var(--text-color);
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 20px;
  }

  h2 span {
    color: var(--second-color);
  }

  p {
    color: var(--text-muted);
  }

  &.text-center .section-label {
    justify-content: center;
  }
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--text-color);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  line-height: 1;

  .section-label-text {
    white-space: nowrap;
  }

  .section-label-icon {
    display: inline-flex;
    line-height: 0;
    flex-shrink: 0;

    img {
      width: 30px;
      height: auto;
      display: block;
      filter: brightness(0) invert(1);
      opacity: 0.72;
    }

    &--flip img {
      transform: scaleX(-1);
    }
  }
}

/*  
##################################################
#              Loading                              #
##################################################
*/
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--body-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.4s ease, visibility 0.4s ease;

  .loader-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .loader-logo {
    animation: logoScale 1.4s ease-in-out infinite;

    img {
      width: 240px;
      height: auto;
      display: block;
    }
  }

  &.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@keyframes logoScale {
  0%,
  100% {
    transform: scale(0.88);
  }

  50% {
    transform: scale(1.08);
  }
}

/*  
##################################################
#              Header / Navbar                      #
##################################################
*/




.header {



  z-index: 99;
  padding: 0;
  background: transparent;
  transition: all 0.35s ease;

  .navbar {

    position: relative;
    width: 100%;

    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    transition: all 0.35s ease;

    .container {
      display: flex;
      align-items: center;

      background: var(--nav-glass) !important;
      backdrop-filter: blur(10px);
      border-radius: 0 0 50px 50px;
    }

    .logo-wrapper {
      flex-shrink: 0;

      .logo,
      .navbar-brand {
        padding: 0;
        margin: 0;
      }

      .logo-img {
        width: 100px;
        height: auto;
        transition: opacity 0.3s ease;
        padding-block: 10px;
      }

    }

    .navbar-toggler {
      box-shadow: none !important;
      border: none !important;
      padding: 0.25rem 0.5rem;
      color: #000;
      font-size: 22px;

      &:focus {
        box-shadow: none;
      }
    }

    .navbar-collapse {
      .nav-item {
        .nav-link {
          color: #fff;
          font-weight: 700;
          font-size: 16px;
          line-height: 50px;
          transition: all 0.4s ease;
          position: relative;
          background: transparent !important;
          border-radius: 0;

          i {
            font-size: 9px;
            margin-inline-start: 4px;
            transition: color 0.4s ease;
          }

          &:hover,
          &.active {
            color: var(--accent);
            background: transparent !important;

            i {
              color: var(--accent);
            }
          }
        }

        &.dropdown {
          position: relative;

          &:hover>.dropdown-menu {
            display: block !important;
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
          }

          .dropdown-toggle::after {
            display: none;
          }
        }
      }

      .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        inset-inline-start: 0;
        width: max-content;
        min-width: 240px;
        max-width: min(320px, 90vw);
        padding: 15px 25px;
        border: none;
        border-radius: 20px;
        background: #fff;
        box-shadow: 0 16px 50px rgba(27, 27, 27, 0.07);
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: all 0.3s ease;
        z-index: 999;
        text-align: start;
        direction: inherit;

        .dropdown-item {
          padding: 7px 0;
          border-radius: 0;
          color: #1b1b1b;
          font-weight: 300;
          font-size: 14px;
          background: transparent;
          transition: all 0.4s ease;
          text-align: start;
          white-space: normal;

          span {
            display: block;
          }

          &:hover,
          &.active {
            background: transparent;
            color: var(--accent);
          }
        }

        li {
          display: block;
          transition: all 500ms ease;

          &:hover {
            padding-inline-start: 5px;
          }
        }
      }
    }

    .navbar-right {
      position: relative;
      display: flex;
      align-items: center;

      .wrap.header-actions {
        position: relative;
        display: flex;
        align-items: center;
        gap: 10px;
        z-index: 5;
        margin-left: 20px;
      }
    }
  }

  &.scrolled {
    position: fixed;
    background: transparent;

    .navbar {
      background: transparent;
      box-shadow: none;

      .container {
        background: rgba(255, 255, 255, 0.12) !important;
        backdrop-filter: blur(10px);
        border-radius: 0 0 50px 50px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.35);
      }

      .navbar-toggler {
        color: var(--text-color);
      }

      .nav-link {
        color: var(--text-color);

        &:hover,
        &.active {
          color: var(--accent);
        }
      }

      .header-action-btn {
        color: var(--text-color);
        border-color: var(--accent);

        &:hover {
          background: var(--accent);
          color: var(--accent-ink);
        }
      }
    }
  }
}

.header-action-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: transparent;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: all 500ms ease;

  .lang-code {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
  }

  &:hover {
    background: var(--accent);
    color: var(--accent-ink);
    border-color: var(--accent);
  }
}

.theme-toggle {
  .theme-icon-dark {
    display: none;
  }

  .theme-icon-light {
    display: inline-block;
  }
}



/* ================================
   OFFCANVAS (MOBILE MENU)
================================ */
.offcanvas {
  background-color: var(--header-bg);
  border-left: 1px solid var(--border-color);

  .offcanvas-body {
    padding: 1.5rem;
  }

  .nav-link {
    color: var(--text-color);
    font-weight: 600;
    font-size: 16px;
    line-height: 20px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    margin-bottom: 0.5rem;
    gap: 8px;
    padding: 0.65rem 0.75rem;

    &.dropdown-toggle {
      justify-content: space-between !important;
      width: 100%;

      &::after {
        display: none;
      }

      &[aria-expanded="true"] i.fa-chevron-down {
        transform: rotate(180deg);
      }

      i.fa-chevron-down {
        font-size: 12px;
        transition: transform 0.25s ease;
      }
    }

    &:hover,
    &.active {
      color: var(--second-color);
      background: rgba(253, 246, 2, 0.08);
    }
  }

  .nav-item.dropdown {
    width: 100%;
  }

    .dropdown-menu {
    display: none;
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    float: none;
    width: 100%;
    margin: 0 0 0.5rem;
    padding: 0.35rem;
    border: none;
    border-radius: 8px;
    box-shadow: none;
    background-color: rgba(253, 246, 2, 0.06);
    opacity: 1;
    visibility: visible;
    text-align: start;
    direction: inherit;

    &.show {
      display: block;
    }

    .dropdown-item {
      padding: 0.55rem 0.85rem;
      border-radius: 6px;
      color: var(--text-color);
      transition: all 0.3s ease;
      text-align: start;
      white-space: normal;

      &:hover,
      &:focus {
        background-color: rgba(253, 246, 2, 0.1);
        color: var(--second-color);
      }
    }
  }

  .list-contact {
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);

    strong {
      display: block;
      margin-bottom: 0.35rem;
      color: var(--second-color);
      font-weight: 600;
      font-size: 13px;
      letter-spacing: 0.4px;
      text-transform: uppercase;
    }

    a {
      color: var(--text-muted);
      transition: color 0.25s ease;

      &:hover {
        color: var(--second-color);
      }
    }
  }

  .header-social {
    display: flex;
    align-items: center;
    padding-top: 1rem;
    margin-top: 0.25rem;
    border-top-color: var(--border-color) !important;

    .social-link {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(253, 246, 2, 0.1);
      color: var(--second-color);
      font-size: 16px;
      transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;

      &:hover {
        background: var(--second-color);
        color: #111;
        transform: translateY(-2px);
      }
    }
  }

  .header-action-btn {
    color: var(--text-color);
    border-color: var(--second-color);

    &:hover {
      background: var(--second-color);
      color: #111;
    }
  }
}

/* Arabic: slide mobile menu in from the left */
[dir="rtl"] .offcanvas.offcanvas-end {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 1px solid var(--border-color);
  transform: translateX(-100%);

  &.showing:not(.show),
  &.show:not(.hiding) {
    transform: none;
  }

  &.hiding,
  &.show,
  &.showing {
    visibility: visible;
  }
}

[dir="rtl"] {
  .header {
    .navbar {
      .navbar-right .wrap.header-actions {
        margin-left: 0;
        margin-right: 20px;
      }

      .navbar-collapse .dropdown-menu,
      .offcanvas-body .dropdown-menu {
        text-align: right;

        .dropdown-item {
          text-align: right;
        }
      }
    }
  }

  .hero {
    .hero-content {
      left: auto;
      right: 10%;
    }
  }

  .hero-mobile {
    .hero-content {
      left: auto;
      right: 25px;
    }
  }
}

/*  
##################################################
#              1. Hero                               #
##################################################
*/
/* ================= Hero — Keramica structure ================= */
.hero {
  position: relative;

  .hero-slider {
    overflow-x: hidden;

    .swiper-slide {
      height: 100vh;
      width: 100%;

      img {
        height: 100%;
        width: 100%;
        object-fit: cover;
      }

      .overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        z-index: 1;
      }
    }

    .swiper-btns {
      position: absolute;
      display: flex !important;
      flex-direction: column;
      gap: 12px;
      right: 24px;
      top: 50%;
      transform: translateY(-50%);
      z-index: 4;

      .swiper-button-next,
      .swiper-button-prev {
        position: static !important;
        width: 52px;
        height: 52px;
        margin: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.12) !important;
        border: 1px solid rgba(255, 255, 255, 0.4);
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

        svg {
          display: none;
        }

        &::after {
          display: none;
        }

        i {
          font-size: 16px;
          color: #fff;
          transition: all 0.3s ease;
        }

        &:hover {
          background: #fff !important;
          border-color: #fff;

          i {
            color: var(--main-color);
          }
        }
      }
    }

    .swiper-pagination {
      bottom: 30px !important;
      z-index: 3;

      .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background: rgba(255, 255, 255, 0.8);
        opacity: 1;
        transition: all 0.3s ease;

        &.swiper-pagination-bullet-active {
          background: var(--background-btn);
          width: 40px;
          border-radius: 5px;
        }
      }
    }
  }

  .hero-content {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    opacity: 0;
    max-width: 640px;

    &.active {
      opacity: 1;

      .hero-slogan,
      h1,
      p,
      .btn-tire,
      .btn-more {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .hero-slogan {
      display: inline-block;
      margin-bottom: 14px;
      font-size: 14px;
      letter-spacing: 2px;
      text-transform: uppercase;
      font-weight: 600;
      color: var(--second-color);
      opacity: 0;
      transform: translateY(20px);
      transition: all 0.6s ease;
    }

    h1 {
      font-size: 56px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 12px;
      line-height: 1.1;
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.8s ease;
    }

    p {
      max-width: 560px;
      color: #f1f1f1;
      margin-bottom: 8px;
      opacity: 0;
      transform: translateY(30px);
      transition: all 1s ease;
    }

    .btn-tire,
    .btn-more {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 1.2s ease, transform 1.2s ease;
    }
  }
}

.hero-mobile {
  .hero-slider-mobile {
    height: 55vh;

    img {
      height: 100%;
      width: 100%;
      object-fit: cover;
    }

    .swiper-pagination {
      bottom: 20px !important;
      z-index: 6;

      .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        background: rgba(255, 255, 255, 0.6);
        opacity: 1;

        &.swiper-pagination-bullet-active {
          background: #fff;
          width: 22px;
          border-radius: 5px;
        }
      }
    }

    .overlay {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.35);
      z-index: 1;
    }

    .hero-content {
      position: absolute;
      left: 25px;
      right: 25px;
      bottom: 70px;
      top: auto;
      transform: none;
      z-index: 6;
      opacity: 1;
      max-width: none;

      .hero-slogan {
        display: inline-block;
        margin-bottom: 10px;
        font-size: 12px;
        letter-spacing: 2px;
        text-transform: uppercase;
        font-weight: 600;
        color: var(--second-color);
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.6s ease;
      }

      h1 {
        font-size: 32px !important;
        font-weight: 700;
        color: #fff;
        margin-bottom: 12px;
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s ease;
      }

      p {
        display: none;
      }

      .btn-tire,
      .btn-more {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 1.2s ease, transform 1.2s ease;
      }

      &.active {

        .hero-slogan,
        h1,
        .btn-tire,
        .btn-more {
          opacity: 1;
          transform: translateY(0);
        }
      }
    }
  }
}

.hero-pages {
  min-height: 55vh;
  padding: 70px 0;

  .hero-page-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero-content {
    position: relative;
    z-index: 3;
    margin-top: 80px;
  }

  .breadcrumb-item {
    color: var(--white-color);
  }

  .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
  }
}

/*  
##################################################
#              2. Brands ticker                     #
##################################################
*/
.brands-ticker,
.logos-ticker {
  overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid var(--border-color);
  background: var(--surface-bg);

  &.has-title {
    padding-top: 48px;
    padding-bottom: 28px;
  }

  .brands-marquee,
  .logos-marquee {
    overflow: hidden;
    width: 100%;
    direction: ltr;
  }

  .brands-marquee-track,
  .logos-marquee-track {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: max-content;
    gap: 20px;
    animation: logos-marquee 60s linear infinite;
    will-change: transform;
  }

  &.is-reverse .brands-marquee-track,
  &.is-reverse .logos-marquee-track {
    animation-name: logos-marquee-reverse;
  }

  .brand-card {
    flex: 0 0 auto;
    width: 150px;
    height: 100px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.96);

    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;

    img {
      width: 100%;
      height: 60px;
      object-fit: contain;
      display: block;
      filter: none;
      opacity: 1;
      font-size: 0;
      color: transparent;
    }
  }
}

@keyframes logos-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes logos-marquee-reverse {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

/*  
##################################################
#              3. About                             #
##################################################
*/
.about-intro-section,
.vision-mission-section {
  position: relative;


  overflow: hidden;

  .about-images {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
    min-height: 580px;
    padding-bottom: 40px;
  }

  .about-img {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.6s ease;
    }

    &:hover img {
      transform: scale(1.06);
    }
  }

  .about-img-main {
    height: 480px;
  }

  .about-img-secondary {
    height: 520px;
    margin-top: 70px;
  }

  /* single-image variant (about page) */
  .about-single-img {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);

    img {
      width: 100%;
      height: 520px;
      object-fit: cover;
      display: block;
      transition: transform 0.6s ease;
    }

    &:hover img {
      transform: scale(1.05);
    }
  }

  .about-content {
    padding-left: 20px;

    h2 {
      color: var(--text-color);
      font-size: 42px;
      font-weight: 700;
      line-height: 1.25;
      margin: 0 0 22px;
      max-width: 520px;
    }

    p {
      color: var(--text-muted);
      font-size: 16px;
      line-height: 1.8;
      margin: 0 0 18px;
      max-width: 540px;

      &:last-child {
        margin-bottom: 0;
      }
    }
  }

}

[dir="rtl"] {
  .about-intro-section,
  .vision-mission-section {
    .about-content {
      padding-left: 0;
      padding-right: 20px;
    }
  }

  .section-label-icon--flip img {
    transform: none;
  }

  .section-label-icon:first-child img {
    transform: scaleX(-1);
  }
}

/*
##################################################
#              4. Services & Blog cards             #
##################################################
*/
.media-card {
  --card-accent: var(--second-color);
  --card-curve-bg: var(--curve-bg, var(--body-bg));
  --card-icon-hover: #111;
  position: relative;
  border-radius: 20px 20px 20px 20px;
  overflow: hidden;
  margin-bottom: 0;
  isolation: isolate;
  height: 100%;
  min-height: 320px;
  

  >img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 500ms ease;
  }

  &:hover>img {
    transform: scale(1.05);
  }

  /* dark gradient over the lower part of the image */
  .media-card-fade {
    width: 100%;
    top: 41%;
    height: 60%;
    position: absolute;
    left: 0;
    background: linear-gradient(to top,
        #000000 0%,
        rgba(0, 0, 0, 0.738) 19%,
        rgba(0, 0, 0, 0.541) 34%,
        rgba(0, 0, 0, 0.382) 47%,
        rgba(0, 0, 0, 0.278) 56.5%,
        rgba(0, 0, 0, 0.194) 65%,
        rgba(0, 0, 0, 0.126) 73%,
        rgba(0, 0, 0, 0.075) 80.2%,
        rgba(0, 0, 0, 0.042) 86.1%,
        rgba(0, 0, 0, 0.021) 91%,
        rgba(0, 0, 0, 0.008) 95.2%,
        rgba(0, 0, 0, 0.002) 98.2%,
        transparent 100%);
    pointer-events: none;
    z-index: 1;
  }

  /* title (and optional tag) sitting on the image */
  .media-card-title {
    position: absolute;
    bottom: 0;
    padding: 30px 15px 30px 110px;
    width: 100%;
    text-align: start;
    z-index: 2;

    h6 {
      color: var(--card-accent);
      font-size: 10px;
      line-height: 10px;
      font-weight: 300;
      letter-spacing: 6px;
      text-transform: uppercase;
      margin-bottom: 10px;
    }

    h4,
    h4 a {
      color: #fff;
      font-size: 21px;
      font-weight: 700;
      margin-bottom: 0;
      line-height: 1.35;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    h4 a:hover {
      color: var(--card-accent);
    }
  }

  /* curved corner block (bottom-left) holding the round button */
  .card-corner-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90px;
    height: 90px;
    line-height: 90px;
    text-align: center;
    border-radius: 0px 40px 0 20px;
    z-index: 3;
    background: var(--card-curve-bg);
    color: var(--card-curve-bg);

    .card-corner-link {
      position: absolute;
      top: 15px;
      left: 15px;
      right: 15px;
      bottom: 15px;
      border-radius: 100%;
      background: transparent;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
    }

    /* the two small SVG curves that blend the corner into the section bg */
    .card-corner-curve-top {
      position: absolute;
      top: -24px;
      left: -1px;
      transform: rotate(270deg);
      line-height: 1;
      color: var(--card-curve-bg);

      svg {
        width: 24px;
        height: 24px;
        display: block;
      }
    }

    .card-corner-curve-side {
      position: absolute;
      bottom: -1px;
      right: -24px;
      transform: rotate(270deg);
      line-height: 1;
      color: var(--card-curve-bg);

      svg {
        width: 24px;
        height: 24px;
        display: block;
      }
    }

    /* round outlined icon (number / arrow / date) */
    .card-corner-icon {
      width: 60px;
      height: 60px;
      line-height: 60px;
      color: #fff;
      border: 1px solid var(--card-accent);
      background: transparent;
      border-radius: 100%;
      font-size: 18px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s linear;
    }
  }

  &:hover .card-corner-btn .card-corner-icon {
    background-color: var(--card-accent);
    color: var(--card-icon-hover);
    border-color: var(--card-accent);
  }
}

/* blog variant */
.media-card--blog {
  .card-corner-btn {
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 0 45px 0 0;

    .card-corner-icon {
      width: 70px;
      height: 70px;
      line-height: 70px;
      position: relative;
      transform: rotate(-45deg);
      font-size: 18px;
    }
  }

  .media-card-title {
    padding: 0 20px 25px 110px;
  }

  &:hover .card-corner-btn .card-corner-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--card-icon-hover);
    transform: rotate(0deg);
  }
}


[dir="rtl"] {
  .media-card {
    border-radius: 20px 20px 0 20px;

    .media-card-title {
      padding: 30px 110px 30px 15px;
      text-align: right;
    }

    .card-corner-btn {
      left: auto;
      right: 0;
      border-radius: 40px 0 0 0;

      .card-corner-curve-top {
        top: -24px;
        left: auto;
        right: -1px;
        transform: rotate(0deg);
      }

      .card-corner-curve-side {
        bottom: -1px;
        right: auto;
        left: -24px;
        transform: rotate(0deg);
      }
    }

    &.media-card--blog .media-card-title {
      padding: 0 110px 25px 20px;
    }

    &.media-card--blog .card-corner-btn {
      border-radius: 45px 0 0 0;
    }
  }
}

/*
##################################################
#              5. Promo video                       #
##################################################
*/
.promo-video-section {
  position: relative;
  min-height: 520px;
  padding: 130px 0;
  display: flex;
  align-items: center;
  background: url("../images/slider/slider1.webp") center / cover no-repeat fixed;

  .promo-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
  }

  .section-label {
    color: #fff;

    .section-label-icon img {
      filter: brightness(0) invert(1);
    }
  }

  h2 {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 30px;

    span {
      color: var(--accent);
    }
  }

  .promo-video-button {
    position: relative;
    display: inline-flex;
    width: 90px;
    height: 90px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--accent);
    color: #fff;
    font-size: 20px;
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;

    &::before {
      content: "";
      position: absolute;
      inset: -12px;
      border: 1px solid rgba(255, 255, 255, 0.35);
      border-radius: inherit;
      animation: promo-video-pulse 2s infinite;
    }

    i {
      margin-inline-start: 4px;
    }

    &:hover {
      color: var(--accent-ink);
      background: var(--accent);
      transform: scale(1.06);
    }
  }
}

@keyframes promo-video-pulse {
  0% {
    opacity: 0.8;
    transform: scale(0.9);
  }

  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

/*
##################################################
#              6. Before & After                    #
##################################################
*/
.before-after-section {
  .header-section h2 {
    font-size: 38px;
    line-height: 1.25;
    max-width: 520px;
  }

  .section-desc {
    max-width: 480px;
  }
}

.before-after-slider {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);

  img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
  }

  .twentytwenty-overlay {

    .twentytwenty-before-label,
    .twentytwenty-after-label {
      opacity: 0;
      transition: opacity 0.3s ease;
    }
  }

  &:hover .twentytwenty-overlay {

    .twentytwenty-before-label,
    .twentytwenty-after-label {
      opacity: 1;
    }
  }

  .twentytwenty-before-label::before,
  .twentytwenty-after-label::before {
    background: rgba(255, 255, 255, 0.403);
    backdrop-filter: blur(10px);
    color: #fff;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 20px;
  }

  .twentytwenty-handle {
    border-color: #fff;
    box-shadow: 0 0 0 4px rgba(253, 246, 2, 0.25), 0 8px 20px rgba(0, 0, 0, 0.45);
    background: #fff;

    &::before,
    &::after {
      background: #fff;
      box-shadow: none;
      width: 3px;
      margin-left: -1.5px;
    }

    .twentytwenty-left-arrow,
    .twentytwenty-right-arrow {
      border-color: transparent;
    }

    .twentytwenty-left-arrow {
      border-right-color: #111;
    }

    .twentytwenty-right-arrow {
      border-left-color: #111;
    }
  }
}

/*
##################################################
#              7. Contact                           #
##################################################
*/
.home-contact-section {
  padding: 80px 0;
}

.contact-details-grid {
  margin-bottom: 90px;
}

.contact-detail-card {
  position: relative;
  height: 100%;
  min-height: 230px;
  padding: 40px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;

  .contact-detail-icon {
    display: inline-flex;
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--icon-bg);
    color: var(--accent);
    font-size: 20px;
    transition: color 0.3s ease, background 0.3s ease;
  }

  h5 {
    position: relative;
    z-index: 2;
    color: var(--text-color);
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 8px;
  }

  p,
  p a {
    position: relative;
    z-index: 2;
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
    transition: color 0.3s ease;
    &:hover{
      color:var(--second-color);
    }
  }

  .contact-detail-watermark {
    position: absolute;
    right: -12px;
    bottom: -24px;
    color: var(--text-color);
    font-size: 120px;
    opacity: 0.06;
    transform: rotate(-12deg);
  }

  &:hover,
  &--active {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-12px);

    .contact-detail-icon {
      color: var(--accent);
      background: var(--body-bg);
    }

    h5,
    p,
    p a {
      color: var(--accent-ink);
    }

    .contact-detail-watermark {
      color: var(--accent-ink);
      opacity: 0.12;
    }
  }
}

.contact-main-row {
  h5 {
    color: var(--text-color);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
  }
}

.contact-form {

  input,
  select,
  textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--input-border);
    border-radius: 50px;
    outline: none;
    background: var(--input-bg);
    color: var(--text-color);
    font: inherit;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;

    &::placeholder {
      color: var(--text-muted);
    }

    &:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
    }
  }

  textarea {
    resize: vertical;
    border-radius: 20px;
  }

  select {
    appearance: none;
    cursor: pointer;

    option {
      background: var(--surface-bg);
      color: var(--text-color);
    }
  }

  .contact-submit-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;

    &:hover {
      background: transparent;
      color: var(--accent);
      transform: translateY(-2px);
    }
  }
}

.contact-map-box {
  height: 100%;
}

.contact-map {
  height: calc(100% - 54px);
  min-height: 420px;
  overflow: hidden;
  border-radius: 20px;

  iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;

  }
}




/*  
##################################################
#              8. Footer                            #
##################################################
*/
footer{
  position: relative;
  z-index: 1;
  overflow: hidden;
  color: #fff;



  &::after {
    content: "";
    position: absolute;
    right: -12%;
    bottom: -30%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(234, 14, 31, 0.18) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
  }
}

.footer-main {
  position: relative;
  z-index: 1;
  padding: 70px 0 30px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 18px;
}

.footer-logo {

  transition: transform 0.35s ease, filter 0.35s ease;

  .footer-brand:hover & {
    transform: scale(1.03);
  }
}

.footer-text {
  max-width: 340px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.8;
}

.footer-title {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;

  &::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    background: linear-gradient(90deg, var(--main-color), var(--second-color));
  }
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;

  li {
    margin-bottom: 12px;
  }
}

.footer-link {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease, transform 0.3s ease, padding-left 0.3s ease;

  &::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 1px;
    background: var(--second-color);
    transform: translateY(-50%);
    transition: width 0.3s ease;
  }

  &:hover {
    color: var(--second-color);
    padding-left: 14px;

    &::before {
      width: 8px;
    }
  }
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;

  li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.78);
  }

  a,
  span:not(.footer-contact-label):not(.footer-contact-icon) {
    color: inherit;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.45;
    transition: color 0.3s ease;
  }

  a:hover {
    color: var(--second-color);
  }
}

.footer-contact-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(253, 246, 2, 0.1);
  border: 1px solid rgba(253, 246, 2, 0.28);
  color: var(--second-color);
  font-size: 14px;
}

.footer-contact-label {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 15px;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;

    &:hover {
      background: var(--second-color);
      border-color: var(--second-color);
      color: #111;
      transform: translateY(-4px);
    }
  }
}

.footer-bottom {
  position: relative;
  z-index: 1;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.copyright,
.footer-credit {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;

  a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;

    &:hover {
      color: var(--second-color);
    }
  }
}

[dir="rtl"] {
  .footer-title::after {
    left: auto;
    right: 0;
  }

  .footer-link {
    &::before {
      left: auto;
      right: 0;
    }

    &:hover {
      padding-left: 0;
      padding-right: 14px;
    }
  }

  footer#footer::before,
  footer.site-footer::before {
    inset: 0 0 0 auto;
  }

  footer#footer::after,
  footer.site-footer::after {
    right: auto;
    left: -12%;
  }
}

/*  
##################################################
#              Float actions (call / WhatsApp / top)#
##################################################
*/
.social-icon {
  inset-inline-start: 0 !important;
  margin-inline-start: 16px;
  margin-bottom: 50px;
  width: fit-content;
  height: fit-content;
}

.btn-tire-fab {
  position: relative;
  display: inline-flex;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  text-decoration: none;
  cursor: pointer;

  .circle {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    background: var(--background-btn);
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;

    &::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), transparent 55%);
      pointer-events: none;
    }
  }

  .icon.tire {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;

    i {
      position: relative;
      z-index: 2;
      color: #fff;
      font-size: 1.2rem;
      line-height: 1;
    }

    .tire-tread {
      position: absolute;
      inset: -2px;
      border-radius: 50%;
      background: #1a1a1a;
      box-shadow:
        inset 0 0 0 2px rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.3);
      pointer-events: none;
      transition: transform 0.45s cubic-bezier(0.65, 0, 0.076, 1);

      &::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: repeating-conic-gradient(from 0deg,
            #1a1a1a 0deg 8deg,
            #3a3a3a 8deg 14deg);
        -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 7px));
        mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 7px));
      }

      &::after {
        content: "";
        position: absolute;
        inset: 8px;
        border-radius: 50%;
        background: transparent;
        box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5);
      }
    }
  }

  &:hover,
  &:focus-visible {
    .circle {
      background: var(--background-btn-hover);
      transform: translateY(-4px) scale(1.05);
      box-shadow: 0 12px 24px rgba(234, 14, 31, 0.35);
    }

    .tire-tread {
      transform: rotate(90deg);
    }
  }
}

.back-to-top {
  position: fixed;
  bottom: 50px;
  inset-inline-end: 30px;
  width: 3.5rem;
  height: 3.5rem;
  display: none;
  z-index: 998;
  background: transparent !important;
  border: none;
  padding: 0;
  font-size: 1.5rem;

  .btn-tire-fab {
    width: 100%;
    height: 100%;
  }

  &.show {
    display: block !important;
  }
}

/*
##################################################
#              9. Inner pages                       #
##################################################
*/

/* ---------- Icon feature card (values / brand services) ---------- */
.info-card {
  height: 100%;
  padding: 34px 30px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  transition: transform 0.3s ease, border-color 0.3s ease;

  .info-card-icon {
    display: inline-flex;
    width: 62px;
    height: 62px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--icon-bg);
    color: var(--main-color);
    font-size: 22px;

    img {
      width: 30px;
      height: 30px;
      object-fit: contain;
    }
  }

  h5 {
    color: var(--text-color);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  p {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
  }

  &:hover {
    transform: translateY(-8px);
    border-color: var(--main-color);
  }
}

/* ---------- Brands grid ---------- */
.brand-tile {
  display: flex;
  height: 100%;
  padding: 30px 18px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 18px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  transition: transform 0.3s ease, border-color 0.3s ease;
  text-decoration: none;

  .brand-tile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 150px;
    min-height: 100px;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
  }

  .brand-tile-logo img {
    width: 100%;
    max-width: 110px;
    height: 56px;
    object-fit: contain;
    display: block;
    filter: none;
    opacity: 1;
    font-size: 0;
    color: transparent;
    transition: opacity 0.3s ease;
  }

  .brand-tile-name {
    color: var(--text-color);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
  }

  &:hover {
    transform: translateY(-4px);
  }
}

.brand-summary {
  .brand-summary-logo {
    display: inline-flex;
    padding: 16px 22px;
    margin-bottom: 26px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.96);

    img {
      width: 120px;
      height: 48px;
      object-fit: contain;
      display: block;
      filter: none;
    }
  }
}

/* ---------- Article & service body ---------- */
.entry-image {
  margin-bottom: 34px;
  overflow: hidden;
  border-radius: 20px;

  img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
  }
}

.content-block {
  h3 {
    color: var(--text-color);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 18px;
  }

  h4 {
    color: var(--text-color);
    font-size: 22px;
    font-weight: 700;
    margin: 34px 0 14px;
  }

  p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 18px;
  }
}

.feature-list {
  padding: 0;
  margin: 0 0 10px;
  display: grid;
  gap: 12px;

  li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-muted);
    line-height: 1.7;

    i {
      flex-shrink: 0;
      display: inline-flex;
      width: 22px;
      height: 22px;
      margin-top: 3px;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: var(--main-color);
      color: #fff;
      font-size: 10px;
    }
  }
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  padding: 0 0 22px;
  margin: 0 0 26px;
  border-bottom: 1px solid var(--border-color);

  li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;

    i {
      color: var(--main-color);
    }
  }
}

.entry-quote {
  position: relative;
  padding: 26px 30px;
  margin: 30px 0;
  border-inline-start: 3px solid var(--main-color);
  border-start-start-radius: 0;
  border-start-end-radius: 16px;
  border-end-end-radius: 16px;
  border-end-start-radius: 0;
  background: var(--surface-bg);
  color: var(--text-color);
  font-size: 18px;
  font-style: italic;
  line-height: 1.8;
}

.entry-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-top: 26px;
  margin-top: 34px;
  border-top: 1px solid var(--border-color);

  .entry-share-label {
    color: var(--text-color);
    font-weight: 700;
  }

  .entry-share {
    display: flex;
    gap: 10px;

    a {
      display: inline-flex;
      width: 40px;
      height: 40px;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      border: 1px solid var(--border-color);
      background: var(--surface-bg);
      color: var(--text-muted);
      font-size: 14px;
      transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;

      &:hover {
        background: var(--main-color);
        border-color: var(--main-color);
        color: #fff;
        transform: translateY(-3px);
      }
    }
  }
}

/* ---------- Sidebar ---------- */
.page-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 26px;
}

.sidebar-card {
  padding: 30px 26px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);

  .sidebar-title {
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 20px;
    font-weight: 700;

    &::after {
      content: "";
      position: absolute;
      bottom: 0;
      inset-inline-start: 0;
      width: 46px;
      height: 3px;
      border-radius: 3px;
      background: var(--main-color);
    }
  }

  .sidebar-links {
    display: grid;
    gap: 6px;
    padding-inline-start: 0;
    

    a {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 12px 16px;
      border-radius: 12px;
      background: var(--surface-bg);
      color: var(--text-muted);
      font-size: 15px;
      transition: background 0.3s ease, color 0.3s ease, padding 0.3s ease;

      i {
        font-size: 11px;
        opacity: 0;
        transition: opacity 0.3s ease;
      }

      &:hover {
        padding-inline-start: 22px;
        background: var(--main-color);
        color: #fff;

        i {
          opacity: 1;
        }
      }

      &.active {
        padding-inline-start: 22px;
        background: var(--main-color);
        color: #fff;

        i {
          opacity: 1;
        }
      }
    }
  }

  .post-list {
    display: grid;
    gap: 18px;
    padding-left: 0;
    

    a {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    img {
      flex-shrink: 0;
      width: 74px;
      height: 66px;
      object-fit: cover;
      border-radius: 12px;
    }

    h6 {
      color: var(--text-color);
      font-size: 15px;
      font-weight: 600;
      line-height: 1.5;
      margin-bottom: 6px;
      transition: color 0.3s ease;
    }

    span {
      color: var(--text-muted);
      font-size: 13px;
    }

    a:hover h6 {
      color: var(--main-color);
    }
  }

  &--cta {
    text-align: center;
    background: var(--surface-bg);

    .sidebar-title::after {
      inset-inline-start: 50%;
      transform: translateX(-50%);
    }

    p {
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 22px;
    }
  }
}

/* ---------- Gallery ---------- */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border: 0;

  .nav-link {
    padding: 12px 30px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--card-bg);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;

    &:hover {
      color: var(--main-color);
      border-color: var(--main-color);
    }

    &.active {
      background: var(--background-btn);
      border-color: var(--main-color);
      color: #fff;
    }
  }
}

.gallery-ba-caption {
  color: var(--text-color);
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.gallery-section {
  .before-after-slider {
    border-radius: 18px;
    overflow: hidden;
  }
}

.gallery-item {
  position: relative;
  display: block;
  height: 300px;
  overflow: hidden;
  border-radius: 18px;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
  }

  .gallery-item-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .gallery-item-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }

  &:hover {
    img {
      transform: scale(1.08);
    }

    .gallery-item-overlay,
    .gallery-item-caption {
      opacity: 1;
    }

    .gallery-item-caption {
      transform: translateY(0);
    }
  }
}

/*
##################################################
#              RTL extras                          #
##################################################
*/
[dir="rtl"] {
  .hero .hero-slider .swiper-btns {
    right: auto;
    left: 24px;
  }

  .media-card .media-card-title h6 {
    letter-spacing: 2px;
  }

  .footer-contact {
    li {
      text-align: right;
    }
  }

  .contact-submit-button i {
    margin-inline-start: 8px;
    margin-inline-end: 0;
  }

  .breadcrumb {
    direction: rtl;
  }

  .gallery-tabs .nav-link {
    letter-spacing: 0.5px;
  }

  .card-corner-icon {
    .fa-chevron-right {
    transform: rotate(-90deg) ;
   
  }
 
  }
  .card-corner-btn {
    &:hover  .card-corner-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--card-icon-hover);
    transform: rotate(-90deg) !important;
  }}
  .about-content {
    h2,
    p {
      max-width: none;
    }
  }
}
