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

:root {
  --main-color: #253e57;
  --second-color: #fbde2d;
  --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(--white-color);
  color: var(--main-color);
  overflow-x: hidden;
}

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

p,
li {
  font-family: "Cairo", sans-serif;
  font-weight: 400;
  color: var(--main-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(--main-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(--main-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%;
  }
}

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

.fixed {
  .navbar {
    box-shadow: var(--box-shadow);
    background: #ffffff !important;
    
    
    
    
    
    
    

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

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

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

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

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

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

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

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

  .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(--main-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: var(--second-color);
          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: var(--third-color) !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);
    }
  }
}

/*  
##################################################
#              Modern Header Styles             #
##################################################
*/

.modern-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;

  .navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    /* background: #7e1330; */
    
    
    
    
    
    
    
    
    
    

    .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
  }

  .logo-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;

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

    .logo-img {
      height: auto;
      max-height: 100px;
      width: auto;
      transition: all 0.3s ease;
    }
  }

  .navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    .nav-item {
      position: relative;

      .nav-link {
        position: relative;
        padding: 0.75rem 1.25rem;
        color: #000000;
        font-weight: 500;
        font-size: 1rem;
        text-decoration: none;
        transition: all 0.3s ease;
        border-radius: 6px;
        
        
        
        

        &::after {
          content: '';
          position: absolute;
          bottom: 0.5rem;
          left: 50%;
          transform: translateX(-50%) scaleX(0);
          width: 0;
          height: 2px;
          background: var(--second-color);
          transition: all 0.3s ease;
        }

        &:hover {
          color: var(--main-color);
          background: rgba(37, 62, 87, 0.05);

          &::after {
            width: 80%;
            transform: translateX(-50%) scaleX(1);
          }
        }

        &.active {
          color: var(--main-color);
          font-weight: 600;

          &::after {
            width: 80%;
            transform: translateX(-50%) scaleX(1);
          }
        }
      }

      .sub-menu {
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        min-width: 220px;
        background: var(--white-color);
        list-style: none;
        padding: 0.75rem 0;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1000;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        border-radius: 8px;
        border: 1px solid rgba(0, 0, 0, 0.05);

        li {
          margin: 0;

          a {
            display: block;
            padding: 0.75rem 1.5rem;
            color: var(--main-color);
            text-decoration: none;
            font-size: 0.95rem;
            transition: all 0.3s ease;

            &:hover {
              background: rgba(37, 62, 87, 0.05);
              color: var(--main-color);
              padding-inline-start: 2rem;
            }
          }
        }
      }

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

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;

    .menu-icon {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      width: 24px;
      height: 18px;
      position: relative;

      span {
        display: block;
        height: 2px;
        width: 100%;
        background: var(--main-color);
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
      }
    }

    &:hover .menu-icon span {
      background: var(--second-color);
    }
  }
}

/* Mobile Menu Styles */
.mobile-menu {
  .offcanvas-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;

    .mobile-logo {
      img {
        max-height: 50px;
        width: auto;
      }
    }

    .btn-close {
      padding: 0.5rem;
      opacity: 0.7;
      transition: opacity 0.3s ease;

      &:hover {
        opacity: 1;
      }
    }
  }

  .offcanvas-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 80px);
  }

  .mobile-nav {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;

    .mobile-nav-list {
      list-style: none;
      padding: 0;
      margin: 0;

      .mobile-nav-item {
        margin-bottom: 0.5rem;

        .mobile-nav-link {
          display: flex;
          align-items: center;
          justify-content: space-between;
          padding: 1rem 1.25rem;
          color: var(--main-color);
          text-decoration: none;
          font-size: 1.1rem;
          font-weight: 500;
          border-radius: 8px;
          transition: all 0.3s ease;

          span {
            flex: 1;
          }

          i {
            font-size: 0.875rem;
            transition: transform 0.3s ease;
          }

          &:hover {
            background: rgba(37, 62, 87, 0.05);
            color: var(--main-color);
          }

          &.active {
            background: rgba(37, 62, 87, 0.1);
            color: var(--main-color);
            font-weight: 600;
          }
        }

        .mobile-submenu {
          list-style: none;
          padding: 0;
          margin: 0.5rem 0 0 0;
          max-height: 0;
          overflow: hidden;
          transition: max-height 0.3s ease;

          li {
            a {
              display: block;
              padding: 0.75rem 1.25rem 0.75rem 2.5rem;
              color: var(--main-color);
              text-decoration: none;
              font-size: 0.95rem;
              transition: all 0.3s ease;
              border-radius: 6px;

              &:hover {
                background: rgba(37, 62, 87, 0.05);
                padding-inline-start: 3rem;
              }
            }
          }
        }

        &.active {
          .mobile-nav-link i {
            transform: rotate(180deg);
          }

          .mobile-submenu {
            max-height: 500px;
          }
        }
      }
    }
  }

  .mobile-contact-info {
    padding: 1.5rem;
    background: rgba(37, 62, 87, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.05);

    .contact-item {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      margin-bottom: 1.5rem;

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

      .contact-icon {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--second-color);
        border-radius: 8px;
        flex-shrink: 0;

        i {
          color: var(--main-color);
          font-size: 1rem;
        }
      }

      .contact-details {
        flex: 1;

        .contact-label {
          display: block;
          font-size: 0.75rem;
          font-weight: 600;
          color: var(--main-color);
          opacity: 0.7;
          text-transform: uppercase;
          letter-spacing: 0.5px;
          margin-bottom: 0.25rem;
        }

        .contact-value {
          display: block;
          font-size: 0.95rem;
          color: var(--main-color);
          text-decoration: none;
          transition: color 0.3s ease;

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

  .mobile-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);

    .social-link {
      width: 45px;
      height: 45px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--main-color);
      color: var(--white-color);
      border-radius: 50%;
      text-decoration: none;
      transition: all 0.3s ease;
      font-size: 1.1rem;

      &:hover {
        background: var(--second-color);
        color: var(--main-color);
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      }
    }
  }
}

/* Scroll Effect */
.modern-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);

  .logo-img {
    max-height: 100px;
  }

  .navbar {
    padding: 0.75rem 0;
  }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .modern-header {
    .navbar-nav {
      display: none;
    }
  }
}

@media (min-width: 992px) {
  .modern-header {
    .mobile-menu-toggle {
      display: none;
    }
  }
}

.offcanvas {
  .offcanvas-header {
    .navbar-brand img {
      filter: invert(0) brightness(1) !important;
    }
  }

  .offcanvas-body .nav-link {
    color: var(--main-color) !important;
    transition: all 0.3s ease;
    width: fit-content;
    font-size: 17px;
    padding: 5px 10px;

    &:hover {
      color: var(--main-color);
      /* transform: translateX(5px); */
    }
  }

  .list-contact {
    a {
      transition: all 0.3s ease;
      color: var(--main-color) !important;
      display: block;

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

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

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

.hero {
  position: relative;
  transition: all 0.3s;
  width: 100%;
  margin: 0;
  padding: 0;

  &-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;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    &::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 {
      width: 100%;
      height: 100%;
      position: absolute;
      inset: 0;
      margin: 0;
      padding: 0;
      overflow: hidden;

      img,
      video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        cursor: pointer;
        display: block;
        position: absolute;
        inset: 0;
      }
    }

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

    .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%;

        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;
        }

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

/* 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 {
  width: 100%;
  margin: 0;
  padding: 0;

  .hero-home-mobile {
    height: 140vh;
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    
    
    
    
    
    
    
    
    
    

    .image-slider {
      width: 100%;
      height: 100%;
      position: absolute;
      inset: 0;
      margin: 0;
      padding: 0;
      overflow: hidden;

      img,
      video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        cursor: pointer;
        display: block;
        position: absolute;
        inset: 0;
      }
    }

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

    .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%);

        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;
          padding: 0;
          opacity: 0.9;
          text-align: left;
          white-space: nowrap;
          display: block;
          line-height: 1.2;
        }
      }
    }
  }
}

.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: 740px !important;
      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: #000000;
  }

  li {
    font-size: 17px;
    color: var(--main-color) !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;
    }
  }
}

.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: #000000;
  color: #ffffff;
  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: #ffffff;
  }

  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: var(--white-color);
    opacity: 0.8;

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

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

  hr {
    border-color: rgba(255, 255, 255, 0.2);
  }
}

/* ============================================
   PRODUCT DETAILS PAGE STYLES
   ============================================ */
.product-details-section {
  background: #ffffff;
}

.product-image-wrapper {
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.product-image-wrapper img {
  object-fit: cover;
  transition: transform 0.5s ease;
  width: 100%;
  height: auto;
}

.product-image-wrapper:hover img {
  transform: scale(1.05);
}

.product-title {
  color: var(--main-color);
  font-size: 2.5rem;
  font-weight: 700;
}

.product-description {
  color: var(--main-color);
  line-height: 1.9;
  font-size: 1.1rem;
}

.product-gallery h3 {
  color: var(--main-color);
  font-weight: 700;
}

.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
  width: 100%;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.product-sidebar .contact-box {
  background: var(--main-color);
  border-radius: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 100px;
}

.product-sidebar .contact-box h4 {
  color: #ffffff;
  font-weight: 700;
}

.related-products-widget {
  background: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.related-products-widget .widget-title {
  color: var(--main-color);
  border-bottom: 3px solid var(--second-color);
  padding-bottom: 15px;
  font-weight: 700;
}

.related-products-widget li {
  border-bottom: 1px solid #e9ece9;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.related-products-widget li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.product-link {
  color: var(--main-color);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-link:hover {
  color: var(--second-color) !important;
}

[dir="ltr"] .product-link:hover {
  transform: translateX(5px);
}

[dir="rtl"] .product-link:hover {
  transform: translateX(-5px);
}

.product-thumb {
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 8px;
  flex-shrink: 0;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-link:hover .product-thumb img {
  transform: scale(1.1);
}

.social-widget {
  background: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.social-widget .widget-title {
  color: var(--main-color);
  border-bottom: 3px solid var(--second-color);
  padding-bottom: 15px;
  font-weight: 700;
}

.social-link {
  width: 50px;
  height: 50px;
  background: var(--second-color);
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.social-link:hover {
  background: var(--main-color) !important;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.product-image-widget {
  border-radius: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.product-image-widget img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

@media (max-width: 991px) {
  .product-sidebar .contact-box {
    position: relative;
    top: 0;
  }

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