@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

:root {
  --main-color: #0e0e0e;
  --second-color: #9a7b50;
  --third-color: #eaeaea;
  --white-color: #ffffff;
  --background-color: rgba(192, 192, 192, 0.4);
  --placeholder-color: #a1a1a1;
  --box-shadow: rgba(255, 255, 255, 0.7) 0px 9px 32px;
}

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

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

ul li {
  list-style: none;
}

@font-face {
  font-family: "NeueLight";
  src: url("../fonts/NeueHaasDisplayLight.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "NeueMediu";
  src: url("../fonts/NeueHaasDisplayMediu.ttf") format("truetype");
  font-weight: medium;
  font-style: medium;
}

@font-face {
  font-family: "NeueBold";
  src: url("../fonts/NeueHaasDisplayBold.ttf") format("truetype");
  font-weight: bold;
  font-style: bold;
}

body {
  font-family: "Cairo", sans-serif;
  background-color: var(--main-color);
  color: var(--third-color);
  overflow-x: hidden;
  padding-top: 110px; /* Top header (45px) + Navbar height */
  
  @media (max-width: 991.98px) {
    padding-top: 140px; /* More space on mobile */
  }
}

h2,
h3 {
  font-family: "Cairo", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--third-color);
}

p,
li {
  font-family: "Cairo", sans-serif;
  font-weight: 400;
  color: var(--third-color);
  opacity: 0.85;
}

html,
body {
  scroll-behavior: auto !important;
}

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

/* ::-webkit-scrollbar-track {
  background: transparent;
} */

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

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

.bg-section {
  background-color: #f9f9f9;
}

.btn-send {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 30px 8px 8px;
  border: none;

  background-color: var(--third-color);
  font-size: 17px;
  font-weight: 600;
  text-transform: capitalize;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  z-index: 1;
  white-space: nowrap;
  width: fit-content !important;

  &::before {
    content: "";
    position: absolute;
    inset: 6px;

    transition: all 0.5s ease-in-out;
    z-index: 0;
  }

  .btn-content {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    z-index: 2;
    transition: all 0.5s ease;

    .btn-text {
      position: relative;
      display: inline-block;
      color: var(--second-color);
      font-weight: 600;
      transition: color 0.5s ease;

      &::after {
        content: attr(data-text);
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        color: var(--third-color);
        transform: translateY(150%);
        transition: transform 0.5s ease;
      }
    }
  }

  .btn-icon {
    position: relative;
    display: inline-flex;
    overflow: hidden;

    i {
      font-size: 16px;
      background-color: var(--second-color);
      color: var(--third-color);
      padding: 14px 18px;

      transition: transform 0.5s ease-in-out, background-color 0.5s ease;
    }

    &::after {
      content: "\f061";
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateX(-150%) translateY(-50%);
      color: var(--third-color);
      padding: 10px 14px;

      transition: transform 0.5s ease;
    }
  }

  &:hover {
    &::before {
      background-color: var(--second-color) !important;
    }

    .btn-content {
      .btn-text {
        color: transparent;

        &::after {
          transform: translateY(0);
        }
      }
    }

    .btn-icon {
      i {
        transform: translateX(150%);
      }

      &::after {
        transform: translateX(0) translateY(-50%);
      }
    }
  }
}

.header-section {
  h2 {
    color: var(--second-color);
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: "Cairo", sans-serif !important;
  }

  h3 {
    font-weight: bold;
    font-size: 50px;
    margin-bottom: 20px;
    color: var(--third-color);
  }
}

/*  
##################################################
#                  SOCIAL ICONS                  #
##################################################
*/
.social-icon {
  inset-inline-end: 0 !important;
  margin-inline-end: 16px;
  margin-bottom: 50px;
  width: fit-content;
  height: fit-content;

  a {
    background: var(--third-color) !important;
    color: var(--second-color);
    padding: 0.8rem;

    margin: 0.5rem;
    text-decoration: none;
    width: 50px;
    height: 50px;
    font-size: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;

    &:hover {
      background: var(--third-color) !important;
      color: var(--second-color);
      transform: translateY(-5px) scale(1.05);
      filter: brightness(1.1);
    }
  }
}

.back-to-top {
  position: fixed;
  bottom: 50px;
  inset-inline-start: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: var(--third-color) !important;
  color: var(--second-color);

  font-size: 25px;
  text-decoration: none;
  display: none;
  transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
  z-index: 998;
  cursor: pointer;
  justify-content: center;
  align-items: center;

  &:hover {
    background: var(--third-color) !important;
    color: var(--second-color);
    transform: translateY(-5px) scale(1.05);
  }
}

.back-to-top.show {
  display: flex;
}

/*  
##################################################
#                  LOADING                       #
##################################################
*/
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;

  .loader-container {
    position: relative;
    width: 300px;
    height: 300px;
  }

  .loading-text h1 {
    font-size: 4rem !important;
  }

  .pulse-circle img {
    width: 100%;
  }
}

/*  
##################################################
#                Top Header                      #
##################################################
*/

.top-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--main-color);
  color: var(--third-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);

  a {
    color: var(--third-color);
    transition: all 0.3s ease;

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

    i {
      font-size: 0.9rem;
    }
  }

  .social {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--third-color);
    transition: all 0.3s ease;

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

  @media (max-width: 991.98px) {
    padding-inline: 0.75rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    min-height: 50px;

    .contact-info {
      display: none;
    }

    .top-header-socials {
      margin-inline-start: auto;
      overflow-x: auto;
      padding-bottom: 4px;
      gap: 0.35rem;
    }

    .top-header-socials .social {
      flex: 0 0 32px;
    }
  }
}

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

.navbar.fixed-top {
  top: 45px; /* Adjust based on top-header height */
  
  @media (max-width: 991.98px) {
    top: 60px !important; /* More space on mobile */
  }
}

.fixed {
  .navbar {
    box-shadow: var(--box-shadow);
    background: var(--main-color) !important;

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

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

    .navbar-brand img {
      /* filter: brightness(0) invert(1); */
    }

    .navbar-toggler {
      color: var(--white-color);

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

.fixed-top {
  .navbar-brand img {
    /* filter: brightness(0) invert(1); */
    width: 250px;
  }

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

.navbar {
  width: 100%;
  z-index: 999;
  transition: all 0.5s ease;

  .navbar-nav {
    margin-inline-start: auto;

    .nav-item {
      position: relative;
      width: 100%;
      text-wrap: nowrap;

      .nav-link {
        position: relative;
        text-decoration: none;
        font-size: 1.1rem;
        width: fit-content;
        color: var(--third-color);
        display: block;
        padding: 10px 20px;
        transition: all 0.3s ease;
        z-index: 5 !important;

        &::before,
        &::after {
          content: "";
          position: absolute;
          width: 0;
          height: 2px;
          background: #a6a6a6;
          transition: all 0.5s;
        }

        &::before {
          top: 0;
          left: 0;
        }

        &::after {
          bottom: 0;
          right: 0;
        }

        &:hover {
          font-weight: bold;

          &::before {
            width: 100%;
            transition: width 0.25s ease-in-out;
          }

          &::after {
            width: 100%;
            transition: width 0.25s ease-in-out 0.25s;
          }
        }

        &.active {
          font-weight: bold;

          &::before {
            width: 100%;
            transition: width 0.25s ease-in-out;
          }

          &::after {
            width: 100%;
            transition: width 0.25s ease-in-out 0.25s;
          }
        }
      }

      /* Sub-menu Styles */
      .sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        background-color: var(--main-color);
        list-style: none;
        padding: 10px 0;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1000;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        border-radius: 4px;

        li {
          margin: 0;
          padding: 0;

          a {
            display: block;
            padding: 12px 20px;
            color: var(--third-color);
            text-decoration: none;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            background-color: transparent;

            &:hover {
              background-color: rgba(255, 255, 255, 0.1);
              color: var(--third-color);
              padding-inline-start: 25px;
            }
          }
        }
      }

      /* Show sub-menu on hover */
      &:hover .sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
      }

      /* Keep sub-menu visible when hovering over it */
      .sub-menu:hover {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
      }
    }
  }

  /* Social icons inside navbar */
  .footer-social {
    display: flex;
    gap: 10px;

    .social {
      i {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--third-color) !important;
        color: var(--main-color) !important;
        transition: all 0.4s ease;

        &:hover {
          background-color: var(--main-color) !important;
          color: var(--second-color) !important;
          transform: translateY(-10px);
        }
      }
    }
  }
}

.btn-lang {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 28px;
  border: none;
  background-color: #cda44e !important;
  color: var(--second-color);
  font-size: 17px;
  font-weight: 600;
  text-transform: capitalize;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  z-index: 1;
  white-space: nowrap;
  

  &::before {
    content: "";
    position: absolute;
    width: calc(100% - 15px);
    height: calc(100% - 15px);
    border-radius: 5px;
    transition: all 0.4s ease-in-out;
    z-index: 1;
  }

  .btn-content {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
    color: var(--second-color);
    transition: all 0.4s ease;
  }

  &:hover {
    background-color: var(--third-color) !important;

    .btn-content {
      color: var(--main-color);
    }
  }
}

.offcanvas {
  z-index: 1001 !important; /* Higher than top-header */
  background-color: var(--main-color) !important; /* Black background */
  
  .offcanvas-header {
    position: relative;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid rgba(154, 123, 80, 0.3); /* Gold border */
    margin-top: 60px; /* Space below top-header on mobile */
    background-color: var(--main-color) !important;
    
    @media (max-width: 991.98px) {
      margin-top: 60px;
      padding-top: 1.5rem;
    }
    
    .navbar-brand img {
      filter: brightness(0) invert(1) !important; /* Make logo visible on black */
    }
    
    .btn-close {
      width: 2.5rem;
      height: 2.5rem;
      padding: 0.5rem;
      opacity: 1;
      background-color: var(--second-color) !important; /* Gold background */
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      position: relative;
      z-index: 1003;
      flex-shrink: 0;
      
      &::before {
        content: '×';
        color: var(--main-color) !important; /* Black X on gold */
        font-size: 1.8rem;
        font-weight: bold;
        line-height: 1;
      }
      
      &:hover {
        background-color: var(--second-color) !important;
        transform: rotate(90deg);
        opacity: 1;
        filter: brightness(1.2);
      }
      
      &:focus {
        box-shadow: 0 0 0 0.25rem rgba(154, 123, 80, 0.5);
      }
    }
  }

  .offcanvas-body {
    padding-top: 0;
    background-color: var(--main-color) !important;
    
    @media (max-width: 991.98px) {
      padding-top: 0;
    }
  }
  
  .offcanvas-body .nav-link {
    color: var(--second-color) !important; /* Gold text */
    transition: all 0.3s ease;
    width: fit-content;
    font-size: 17px;
    padding: 5px 10px;

    &:hover {
      color: var(--second-color) !important;
      filter: brightness(1.3);
      /* transform: translateX(5px); */
    }
  }

  .list-contact {
    h3 {
      color: var(--second-color) !important; /* Gold headings */
    }
    
    a {
      transition: all 0.3s ease;
      color: var(--second-color) !important; /* Gold text */
      display: block;

      &:hover {
        font-weight: bold;
        filter: brightness(1.3);
      }
    }
    
    i {
      color: var(--second-color) !important; /* Gold icons */
    }
  }
  
  .footer-social {
    .social {
      background-color: rgba(154, 123, 80, 0.2) !important; /* Light gold background */
      color: var(--second-color) !important; /* Gold icons */
      border: 1px solid var(--second-color);
      
      &:hover {
        background-color: var(--second-color) !important;
        color: var(--main-color) !important;
        transform: translateY(-3px);
      }
    }
  }
  
  /* Language switcher button in mobile menu */
  .btn-lang {
    background-color: rgba(154, 123, 80, 0.2) !important;
    border-color: var(--second-color) !important;
    
    .btn-text {
      color: var(--second-color) !important;
    }
    
    &:hover {
      background-color: var(--second-color) !important;
      
      .btn-text {
        color: var(--main-color) !important;
      }
    }
  }

    i,
    h3 {
      color: var(--main-color) !important;
    }
  }
}

/*  
##################################################
#                     Home                       #
##################################################
*/

/*  
##################################################
#                Hero Slider New                 #
##################################################
*/

.hero-slider-new {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;

  .swiper {
    width: 100%;
    height: 100%;
  }

  .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .slide-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .slide-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    padding: 2rem;
  }

  .slide-content-wrapper .container {
    text-align: center;
    color: var(--white-color);
    position: relative;
    z-index: 11;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
  }

  .slide-title {
    font-size: 4rem;
    font-weight: 700;
    font-family: "Cairo", sans-serif;
    margin-bottom: 1.5rem;
    color: var(--white-color);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
  }

  .slide-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--white-color);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    opacity: 0.95;
  }

  .btn-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--second-color);
    color: var(--white-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(154, 123, 80, 0.4);

    &:hover {
      background-color: var(--white-color);
      color: var(--second-color);
      transform: translateY(-3px);
      box-shadow: 0 6px 20px rgba(154, 123, 80, 0.6);
    }
  }

  /* Swiper Navigation */
  .swiper-button-next,
  .swiper-button-prev {
    color: var(--white-color);
    background-color: rgba(154, 123, 80, 0.7);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 20;

    &:hover {
      background-color: var(--second-color);
      transform: scale(1.1);
    }

    &::after {
      font-size: 20px;
      font-weight: bold;
    }
  }

  /* Swiper Pagination */
  .swiper-pagination {
    bottom: 30px !important;
    z-index: 20;

    .swiper-pagination-bullet {
      width: 12px;
      height: 12px;
      background-color: var(--white-color);
      opacity: 0.5;
      transition: all 0.3s ease;

      &-active {
        opacity: 1;
        background-color: var(--second-color);
        transform: scale(1.3);
      }
    }
  }

  @media (max-width: 991.98px) {
    height: 70vh;

    .slide-title {
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }

    .slide-subtitle {
      font-size: 1.2rem;
      margin-bottom: 1.5rem;
    }

    .btn-cta {
      padding: 0.8rem 2rem;
      font-size: 0.95rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
      display: none;
    }
  }
}

.hero {
  position: relative;
  transition: all 0.3s;

  &-pages {
    .overlay {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 1;
      background: hsla(0, 0%, 0%, 0.6);
    }
  }

  .hero-home {
    height: 100vh;
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    &::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 1;
      /* background: linear-gradient(10deg,
          rgba(0, 0, 0, 0.8) 0%,
          rgba(0, 0, 0, 0.5) 40%,
          rgba(255, 255, 255, 0.05) 100%); */
      transition: all 0.5s ease;
      cursor: pointer;
      height: 880px;
      display: none;
    }

    .image-slider {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
    }

    .slide-image {
      position: absolute !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      bottom: 0 !important;
      width: 100% !important;
      height: 100% !important;
      object-fit: cover;
      cursor: pointer;
      opacity: 0;
      transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
      transform: scale(1.1);
      z-index: 1;
    }

    .slide-image.active {
      opacity: 1 !important;
      transform: scale(1);
      z-index: 2 !important;
    }

    img,
    video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      cursor: pointer;
    }

    .text-slider {
      position: absolute;
      top: 50%;
      left: 10%;
      transform: translateY(-50%);
      text-align: left;
      width: auto;
      max-width: 50%;
      z-index: 5;

      .text-box {
        position: absolute;
        opacity: 0;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        width: auto;
        max-width: 100%;
        transition: opacity 1s ease-in-out, transform 1s ease-in-out;
        pointer-events: none;

        &.active {
          opacity: 1;
          transform: translateY(-50%) translateX(0);
          pointer-events: auto;
          animation: slideInLeft 1s ease-out;
        }

        h2 {
          font-size: 4rem;
          color: #fff;
          font-weight: 700;
          font-family: "Cairo", sans-serif;
          margin: 0 0 1rem 0;
          padding: 0;
          text-align: left;
          white-space: nowrap;
          display: block;
          line-height: 1.2;
          text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        p, h4 {
          font-size: 1.5rem;
          color: #fff;
          font-weight: 400;
          margin: 0 0 1.5rem 0;
          padding: 0;
          opacity: 0.9;
          text-align: left;
          text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
          white-space: nowrap;
          display: block;
          line-height: 1.2;
        }

        .btn-slider-cta {
          display: inline-block;
          padding: 1rem 2.5rem;
          background-color: var(--second-color);
          color: var(--white-color);
          text-decoration: none;
          font-size: 1.1rem;
          font-weight: 600;
          border-radius: 50px;
          margin-top: 1.5rem;
          transition: all 0.3s ease;
          text-transform: uppercase;
          letter-spacing: 1px;
          box-shadow: 0 4px 15px rgba(154, 123, 80, 0.4);
          white-space: nowrap;

          &:hover {
            background-color: var(--white-color);
            color: var(--second-color);
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(154, 123, 80, 0.6);
          }
        }
      }
    }
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

/* RTL Support for Arabic - Desktop */
[dir="rtl"] .hero .hero-home .text-slider {
  left: auto;
  right: 10%;
  text-align: right;
}

[dir="rtl"] .hero .hero-home .text-slider .text-box {
  left: auto;
  right: 0;
}

[dir="rtl"] .hero .hero-home .text-slider .text-box h2,
[dir="rtl"] .hero .hero-home .text-slider .text-box p,
[dir="rtl"] .hero .hero-home .text-slider .text-box h4 {
  text-align: right;
}

.hero-mobile {
  .hero-home-mobile {
    height: 140vh;
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
    
    
    
    
    
    
    
    
    
    

    .image-slider {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
    }

    .slide-image {
      position: absolute !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      bottom: 0 !important;
      width: 100% !important;
      height: 100% !important;
      object-fit: cover;
      cursor: pointer;
      opacity: 0;
      transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
      transform: scale(1.1);
      z-index: 1;
    }

    .slide-image.active {
      opacity: 1 !important;
      transform: scale(1);
      z-index: 2 !important;
    }

    img,
    video {
      width: 100%;
      height: 100vh;
      object-fit: cover;
      cursor: pointer;
    }

    .text-slider {
      position: absolute;
      top: 50%;
      left: 5%;
      transform: translateY(-50%);
      text-align: left;
      width: auto;
      max-width: 90%;
      z-index: 5;

      .text-box {
        position: absolute;
        opacity: 0;
        width: auto;
        max-width: 100%;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        transition: opacity 1s ease-in-out, transform 1s ease-in-out;
        pointer-events: none;

        h2 {
          font-size: 2.8rem;
          color: #fff;
          font-weight: 700;
          font-family: "Cairo", sans-serif;
          margin: 0 0 0.5rem 0;
          padding: 0;
          text-align: left;
          white-space: nowrap;
          display: block;
          line-height: 1.2;
        }

        p,         h4 {
          font-size: 1.2rem;
          color: #fff;
          font-weight: 400;
          margin: 0 0 1rem 0;
          padding: 0;
          opacity: 0.9;
          text-align: left;
          white-space: nowrap;
          display: block;
          line-height: 1.2;
          text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
        }

        &.active {
          opacity: 1;
          transform: translateY(-50%) translateX(0);
          pointer-events: auto;
          animation: slideInLeft 1s ease-out;
        }

        .btn-slider-cta {
          display: inline-block;
          padding: 0.8rem 2rem;
          background-color: var(--second-color);
          color: var(--white-color);
          text-decoration: none;
          font-size: 0.95rem;
          font-weight: 600;
          border-radius: 50px;
          margin-top: 1rem;
          transition: all 0.3s ease;
          text-transform: uppercase;
          letter-spacing: 1px;
          box-shadow: 0 4px 15px rgba(154, 123, 80, 0.4);
          white-space: nowrap;

          &:hover {
            background-color: var(--white-color);
            color: var(--second-color);
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(154, 123, 80, 0.6);
          }
        }
      }
    }
  }
}

.hero-pages .overlay {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: hsla(0, 0%, 0%, 0.4);
}

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

/*  
##################################################
#                    About Us                    #
##################################################
*/

.about-section,
.about {
  position: relative;
  margin-top: 0px;
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  .about-image {
    img {
      height: 610px;
      width: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }
  }

  &::before {
    content: "";
    position: absolute;
    background-color: hsl(208.36deg 62.55% 38.99% / 0%);
    width: 100%;
    height: 100%;
    inset: 0;
    z-index: 1;
  }

  p {
    font-size: 18px;
    color: #c2c2c2;
  }

  li {
    font-size: 17px;
    color: #c2c2c2 !important;
  }
}

.vision,
.mission {
  img {
    height: 600px;
    width: 100%;
    transition: transform 0.5s ease;

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

/*  
##################################################
#                  Services                      #
##################################################
*/
.services-section {
  .vertical-slider {
    position: relative;
    width: 100%;

  }

  .slide {
    position: sticky;
    top: 0;
    width: 100%;
    height: 80vh !important;
    opacity: 1;
    margin-bottom: 200px !important;
    overflow: hidden;

    &::before {
      content: "";
      position: absolute;
      background-color: #00000075;
      inset: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
    }
  }

  .slide:last-child {
    position: relative;
    z-index: 0;
  }

  .slide:nth-child(1) {
    z-index: 1 !important;
  }

  .slide:nth-child(2) {
    z-index: 2 !important;
  }

  .slide:nth-child(3) {
    z-index: 3 !important;
  }

  .slide .row {
    background-color: #1c1c1c;
    width: 100%;
  }

  .slide-img {
    width: 100%;
    height: 100%;

    object-fit: cover;
  }

  .content-services {
    position: absolute;
    bottom: 50px;
    left: 50px;

    z-index: 2;

    h1 {
      font-size: 80px !important;
      font-weight: bold;
    }
  }
}

.services {
  .content-services {
    background-color: #1c1c1c !important;
    width: 100%;

    .slide-img {
      width: 100%;
      height: 400px;
      object-fit: cover;
    }

    h1 {
      font-size: 30px;
      margin-bottom: 15px;
    }
  }
}

.service-details-section {
  .card-content {
    background-color: #1c1c1c;

    p {
      color: var(--third-color) !important;
    }
  }

  .sidebar {
    background-color: #1c1c1c;
    position: relative;

    &::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg,
          rgba(255, 255, 255, 0.3),
          transparent 80%);
      z-index: 1;
    }

    .list-services {
      position: relative;
      z-index: 2 !important;

      a {
        transition: all 0.3s ease;
        color: var(--third-color) !important;

        &:hover {
          transform: translateX(5px) !important;
        }
      }
    }

    .contact-box {
      .btn-send {
        .btn-content {
          transition: all 0.3s ease;

          &:hover {
            color: var(--third-color) !important;
          }
        }
      }
    }
  }
}

/*  
##################################################
#                  Projects                      #
##################################################
*/

.projects-section {
  background-color: #1c1c1c;

  .container-fluid,
  .container {
    position: relative;

    .project-card {
      transition: all 0.5s ease;

      img {
        transition: all 0.3s ease;

        height: 600px;
        width: 100%;
        display: block;
      }

      .content-card {
        transition: all 0.3s ease;
        width: 100%;
      }

      .btn-bg {
        transition: all 0.3s ease;
        z-index: 2;
        overflow: hidden;
        background-color: var(--third-color);
        width: 55px;
        height: 55px;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        position: relative;

        a {
          overflow: hidden;
          transition: all 0.3s ease;
          z-index: 3 !important;
        }

        &:hover {
          background-color: var(--second-color) !important;
          transform: scale(1.05);
        }

        i {
          position: relative;
          font-size: 20px;
          transform: rotate(-45deg);
          color: var(--main-color);
          z-index: 2;
          transition: color 0.3s ease;

          .btn-bg:hover & {
            color: var(--third-color);
          }
        }
      }
    }
  }
}

.project-section-details {
  .card-content {
    background-color: #1c1c1c;

    p {
      color: var(--third-color) !important;
    }
  }

  .sidebar {
    background-color: var(--main-color);
    position: relative;

    &::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg,
          rgba(255, 255, 255, 0.3),
          transparent 80%);
      z-index: 1;
    }

    .list-services {
      position: relative;
      z-index: 2 !important;

      a {
        color: var(--second-color) !important;
        transition: all 0.3s ease;

        &:hover {
          transform: translateX(5px) !important;
        }
      }
    }
  }
}

.philosophy-section {
  position: relative;

  &::before {
    inset: 0;
    content: "";
    position: absolute;
    z-index: 1;
    background-color: hsla(0, 0%, 5%, 0.6);
    width: 100%;
    height: 100%;
  }

  .philosophy-item {
    background: rgba(255, 255, 255, 0.3);

    h3 {
      color: var(--third-color);
      font-size: 1.5rem;
      margin-bottom: 15px;
      position: relative;
      z-index: 2;
    }

    p {
      color: #d5d5d5;
      font-size: 1rem;
      line-height: 1.7;
      position: relative;
      z-index: 2;
    }
  }
}

/*  
##################################################
#                  Products                      #
##################################################
*/

.products-section {
  position: relative;
  background-color: var(--main-color);
  padding: 80px 0;

  .product-card {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.4s ease;
    margin-bottom: 30px;

    &:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }

    .product-link {
      display: block;
      width: 100%;
      height: 100%;
      text-decoration: none;
      color: inherit;
    }

    .product-image-wrapper {
      width: 100%;
      height: 100%;
      position: relative;
      overflow: hidden;
      border-radius: 12px;
    }

    .product-image {
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      position: relative;
      transition: transform 0.6s ease;

      &::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
          180deg,
          rgba(0, 0, 0, 0) 0%,
          rgba(0, 0, 0, 0.3) 50%,
          rgba(0, 0, 0, 0.8) 100%
        );
        z-index: 1;
        transition: opacity 0.4s ease;
      }

      .product-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 2;
        transition: background 0.4s ease;
      }

      .product-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 30px;
        z-index: 3;
        transform: translateY(10px);
        transition: transform 0.4s ease;

        .product-title {
          font-size: 1.8rem;
          font-weight: 700;
          color: var(--white-color);
          margin-bottom: 12px;
          font-family: "Cairo", sans-serif;
          transition: color 0.3s ease;
        }

        .product-description {
          font-size: 0.95rem;
          color: rgba(255, 255, 255, 0.9);
          margin-bottom: 20px;
          line-height: 1.6;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          line-clamp: 2;
          -webkit-box-orient: vertical;
          overflow: hidden;
        }

        .product-action {
          display: inline-flex;
          align-items: center;
          color: var(--second-color);
          font-weight: 600;
          font-size: 1rem;
          transition: all 0.3s ease;

          .product-link-text {
            margin-right: 8px;
          }

          i {
            transition: transform 0.3s ease;
          }
        }
      }
    }

    &:hover {
      .product-image {
        transform: scale(1.1);

        .product-overlay {
          background: rgba(0, 0, 0, 0.2);
        }

        .product-content {
          transform: translateY(0);

          .product-action {
            color: var(--third-color);

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

  /* RTL Support */
  [dir="rtl"] & {
    .product-action {
      i {
        transform: rotate(180deg);
      }

      &:hover {
        .product-action i {
          transform: rotate(180deg) translateX(-5px);
        }
      }
    }
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .products-section {
    padding: 60px 0;

    .product-card {
      height: 350px;
      margin-bottom: 20px;

      .product-image .product-content {
        padding: 20px;

        .product-title {
          font-size: 1.5rem;
        }

        .product-description {
          font-size: 0.9rem;
          margin-bottom: 15px;
        }
      }
    }
  }
}

/*  
##################################################
#                  Team                         #
##################################################
*/

.team-section {
  position: relative;
  background-color: var(--main-color);
  padding: 80px 0;

  .team-card {
    position: relative;
    background-color: #1c1c1c;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);

    &:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }

    .team-image-wrapper {
      width: 100%;
      height: 350px;
      position: relative;
      overflow: hidden;
    }

    .team-image {
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      position: relative;
      transition: transform 0.6s ease;

      &::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
          180deg,
          rgba(0, 0, 0, 0) 0%,
          rgba(0, 0, 0, 0.1) 50%,
          rgba(0, 0, 0, 0.3) 100%
        );
        z-index: 1;
        transition: opacity 0.4s ease;
      }

      .team-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.2);
        z-index: 2;
        transition: background 0.4s ease;
      }
    }

    .team-content {
      padding: 25px 20px;
      text-align: center;
      position: relative;
      z-index: 3;

      .team-name {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--third-color);
        margin-bottom: 8px;
        font-family: "Cairo", sans-serif;
        transition: color 0.3s ease;
      }

      .team-position {
        font-size: 1rem;
        color: var(--second-color);
        margin: 0;
        font-weight: 500;
        transition: color 0.3s ease;
      }
    }

    &:hover {
      .team-image {
        transform: scale(1.1);

        .team-overlay {
          background: rgba(0, 0, 0, 0.1);
        }
      }

      .team-content {
        .team-name {
          color: var(--white-color);
        }

        .team-position {
          color: var(--third-color);
        }
      }
    }
  }
}

/* Mobile Responsive for Team */
@media (max-width: 768px) {
  .team-section {
    padding: 60px 0;

    .team-card {
      margin-bottom: 20px;

      .team-image-wrapper {
        height: 300px;
      }

      .team-content {
        padding: 20px 15px;

        .team-name {
          font-size: 1.3rem;
        }

        .team-position {
          font-size: 0.9rem;
        }
      }
    }
  }
}

.blogs-section {

  .container-fluid,
  .container {
    position: relative;

    .blog-card {
      transition: all 0.5s ease;

      img {
        transition: all 0.3s ease;
        object-fit: cover;
        height: 450px;
        width: 100%;
        display: block;
      }

      .content-card {
        inset-inline-start: 0;
        bottom: 0;
        transition: all 0.3s ease;
        width: 100%;
        background-color: #1c1c1c;
      }
    }
  }
}

/* === MAIN ARTICLE CARD === */
.article-card {
  background: #1c1c1c;

  padding: 40px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.07);
}

.article-card h3 {
  margin-top: 35px;
}

.article-card p {
  color: var(--third-color);
  line-height: 1.9;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* === SIDEBAR === */
.sidebar-card {
  background: #1c1c1c;

  padding: 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.latest-post {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #1c1c1c;
}

.latest-post img {
  width: 90px;
  height: 70px;

  object-fit: cover;
}

.latest-post-title {
  font-weight: 600;
  margin-bottom: 4px;

}

/* =============== GENERAL PAGE BACKGROUND =============== */
.blog-details-page {
  background: #1c1c1c;
}

/*  
##################################################
#                  Contact                       #
##################################################
*/
.contact-section {
  position: relative;

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

  .contact-info {
    background: rgba(255, 255, 255, 0.15);
    z-index: 2;

    .icon-circle {
      width: 60px;
      height: 60px;
      background: rgba(255, 255, 255, 0.15);

      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1rem;
      transition: all 0.3s ease;

      i {
        color: #fff;
        transition: 0.3s ease;
      }
    }

    a {
      transition: all 0.3s ease;

      &:hover {
        font-weight: bold;
      }
    }

    .contact-item:hover .icon-circle {
      background: #fff;

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

.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 300;
}

.contact-form-wrapper {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.15);

  .form-control {
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background: transparent;

    &:focus {
      border-color: var(--main-color);
      box-shadow: transparent;
      outline: none;
    }

    &::placeholder {
      color: var(--third-color);
    }
  }
}

.map-wrapper {
  iframe {
    filter: grayscale(100%) contrast(125%);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;

    &:hover {
      filter: grayscale(0);
      border: none;
    }
  }
}

.map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;

  .pin {
    width: 48px;
    height: 48px;
    background-color: var(--background-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    animation: bounce 1.5s infinite;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
  }
}

/*  
##################################################
#                    Gallery                     #
##################################################
*/
.gallery-section {
  .gallery-img {
    transition: all 0.5s ease;
    cursor: pointer;
    border-radius: 20px;
    object-fit: cover;
    height: 400px;

    &:hover {
      transform: scale(1.05);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }
  }

  [data-fancybox="gallery"] {
    display: block;
    overflow: hidden;
    border-radius: 20px;
  }
}

/*  
##################################################
#                    Footer                      #
##################################################
*/

footer {
  background: var(--main-color);
  color: #dcdcdc;
  position: relative;
  overflow: hidden;
  z-index: 1;

  img {
    /* max-width: 200px; */
    height: auto;
    transition: transform 0.4s ease;
  }

  .footer-logo {
    /* filter: brightness(0) invert(1); */
    width: 250px;
  }

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

  p,
  a {
    font-size: 1rem;
    line-height: 1.7;
    color: #dca542;
  }

  h5 {
    color: var(--second-color);
    position: relative;
  }

  h5::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: var(--second-color);
    margin-top: 6px;
  }

  .footer-links a {
    position: relative;
    transition: all 0.4s ease-in-out;
    display: inline-block;

    &::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -4px;
      width: 0;
      height: 2px;
      background: var(--second-color);
      transition: width 0.3s ease-in-out;
    }

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

    &:hover::after {
      width: 100%;
    }
  }

  .contact-links a {
    transition: all 0.4s ease-in-out;

    &:hover {
      font-weight: bold;
    }
  }

  .footer-social {
    display: flex;
    gap: 15px;

    a {
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;

      transition: all 0.4s ease;
      font-size: 1.2rem;

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

      img {
        transition: all 0.4s ease;
      }
    }
  }

  .copyright {
    font-size: 0.9rem;
    color: #aaa;

    a {
      color: var(--second-color);
      transition: color 0.3s ease;

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

  hr {
    border-color: rgba(255, 255, 255, 0.1);
  }
}
section.hero-pages.position-relative.d-flex.align-items-center {
  margin-top: -60px;
}
.contact-floating {
  position: fixed;
  left: 30px;
  top: 80%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-floating a {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #dba849 0%, #c99235 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.4rem;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(219, 168, 73, 0.4);
  transition: all 0.3s ease;
}

.contact-floating a:hover {
  transform: scale(1.15) translateX(5px);
  box-shadow: 0 8px 25px rgba(219, 168, 73, 0.6);
}
