@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap");

:root {
  --main-color: #000000;
  --second-color: #ffffff;
  --third-color: #bebfc0;
  --fourth-color: #919aa1;
  --background-color: rgba(192, 192, 192, 0.4);
  --placeholder-color: #a1a1a1;
  --box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px,
    rgba(17, 17, 26, 0.05) 0px 8px 32px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

ul li {
  list-style: none;
}

body {
  font-family: "Inter", sans-serif;
}

html,
body {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 6px;
}

/* ::-webkit-scrollbar-track {
  background: transparent;
} */

::-webkit-scrollbar-thumb {
  background-color: var(--main-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;
  border-radius: 10px;
  background-color: var(--main-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;
    border-radius: 8px;
    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(--main-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(--main-color);
      padding: 14px 18px;
      border-radius: 6px;
      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(--main-color);
      padding: 10px 14px;
      border-radius: 6px;
      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: #919aa1;
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: "Dancing Script", cursive !important;
  }

  h3 {
    font-weight: bold;
    font-size: 50px;
    margin-bottom: 20px;
  }
}

/*  
##################################################
#                  SOCIAL ICONS                  #
##################################################
*/
.social-icon {
  inset-inline-start: 0 !important;
  margin-inline-start: 16px;
  margin-bottom: 50px;
  width: fit-content;
  height: fit-content;

  a {
    background: var(--third-color) !important;
    color: var(--main-color);
    padding: 0.8rem;
    border-radius: 10px;
    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(--main-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-end: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: var(--third-color) !important;
  color: var(--main-color);
  border-radius: 10px;

  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(--main-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: var(--second-color);
  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: var(--second-color) !important;

    .nav-link {
      color: var(--main-color) !important;

      &:hover {
        color: var(--main-color) !important;
      }
    }

    .navbar-brand img {
      filter: brightness(1) invert(0);
    }

    .navbar-toggler {
      color: var(--white-color);

      i {
        color: var(--main-color);
      }
    }
  }
}

.fixed-top {
  .navbar-brand img {
    filter: brightness(0) invert(1);
  }

  .navbar-toggler i {
    color: var(--second-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: 0.9rem;
        width: fit-content;

        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;
          }
        }
      }
    }
  }

  /* 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: 12px 28px;
  border: none;
  border-radius: 12px;
  background-color: var(--main-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 {
    &::before {
      background-color: var(--second-color);
    }

    .btn-content {
      color: var(--main-color);
    }
  }
}

.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;
      display: block;
      &:hover {
        font-weight: bold;
      }
    }
  }
}

/*  
##################################################
#                     Home                       #
##################################################
*/

.hero {
  position: relative;
  transition: all 0.3s;

  &-pages {
    .overlay {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 1;
      background: hsla(0, 0%, 0%, 0.6);
    }
  }

  .swiper {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;

    .swiper-wrapper {
      .swiper-slide {
        height: 100vh;
        position: relative;
        transition: all 0.4s ease;
        cursor: pointer;

        &::before {
          content: "";
          position: absolute;
          inset: 0;
          z-index: 1;
          background: hsla(0, 0%, 0%, 0.8);
          opacity: 0.4;
          transition: all 0.5s ease;
          cursor: pointer;
        }

        &:hover {
          &::before {
            background: transparent !important;
          }

          .text-box {
            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%
            );

            h2 {
              transform: translateY(-30px) !important;
            }
          }
        }

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          cursor: pointer;
        }
      }
    }
  }

  .text-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px;
    color: #fff;
    transition: all 0.4s ease;
    z-index: 5;
    transform: translateY(0px);

    h2 {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 10px;
      transition: all 0.4s ease;
    }

    p {
      font-size: 1.2rem;
    }
  }

  .swiper-pagination {
    bottom: 130px !important;

    .swiper-pagination-bullet {
      background: rgba(255, 255, 255, 0.5);
      opacity: 1;
      width: 12px;
      height: 12px;
      margin: 0 10px !important;
      transition: all 0.3s ease;
      border-radius: 50px !important;
      position: relative;

      &::before {
        content: "";
        position: absolute;
        border: 2.5px solid var(--second-color);
        width: 100%;
        height: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 50px !important;
        padding: 10px;
      }
    }

    .swiper-pagination-bullet-active {
      background: var(--second-color);
      height: 14px;
      width: 14px;
      border-radius: 50px !important;
    }
  }
}

.hero-mobile {
  .swiper {
    .swiper-wrapper {
      .swiper-slide {
        height: 60vh;
        position: relative;
        transition: all 0.4s ease;
        cursor: pointer;

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          cursor: pointer;
        }
      }
    }
  }

  .swiper-pagination {
    bottom: 30px !important;

    .swiper-pagination-bullet {
      background: rgba(255, 255, 255, 0.5);
      opacity: 1;
      width: 12px;
      height: 12px;
      margin: 0 10px !important;
      transition: all 0.3s ease;
      border-radius: 50px !important;
      position: relative;

      &::before {
        content: "";
        position: absolute;
        border: 2.5px solid var(--second-color);
        width: 100%;
        height: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 50px !important;
        padding: 10px;
      }
    }

    .swiper-pagination-bullet-active {
      background: var(--second-color);
      height: 14px;
      width: 14px;
      border-radius: 50px !important;
    }
  }

  .text-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px;
    color: #fff;
    transition: all 0.4s ease;
    z-index: 5;
    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%
    );

    h2 {
      font-size: 1.5rem;
      font-weight: 700;
      margin: 15px 0;
      transition: all 0.4s ease;
      transform: translateY(-40px);
    }
  }
}

.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 {
  .img-one {
    img {
      height: 600px;
      width: 600px;
      transition: transform 0.5s ease;
      &:hover {
        transform: scale(1.05);
      }
    }
  }

  .img-two {
    right: 0;
    bottom: -20px;
    background-color: var(--second-color);
    padding: 16px;
    border-top-left-radius: 20px;

    img {
      width: 400px;
      height: 400px;
      transition: transform 0.5s ease;
      &:hover {
        transform: scale(1.02);
      }
    }
  }

  p {
    font-size: 18px;
  }

  li {
    font-size: 17px;
    color: #555151;
  }
}
.vision,
.mission {
  img {
    height: 600px;
    transition: transform 0.5s ease;
    &:hover {
      transform: scale(1.05);
    }
  }
}
/*  
##################################################
#                  Services                      #
##################################################
*/
.services-section {
  .service-card {
    overflow: hidden;
    transition: all 0.5s ease;
    border-radius: 14px !important;
    cursor: pointer;

    &::before {
      content: "";
      position: absolute;
      background: hsla(0, 0%, 0%, 0.9) !important;
      width: 100%;
      height: 100%;
      inset: 0;
      z-index: 1;
      opacity: 0.3;
      transition: all 0.3s ease;
    }

    img {
      transition: all 0.3s ease;
      object-fit: cover;
      height: 600px;
    }

    .content-card {
      transition: all 0.3s ease;
      width: 100%;

      &::before {
        content: "";
        position: absolute;
        transition: all 0.3s ease;
        width: 100%;
        height: 100%;
        bottom: 0;
        inset-inline-start: 0;
      }
    }

    &:hover {
      img {
        transform: scale(1.1);
      }

      &::before {
        background: transparent !important;
      }

      .content-card::before {
        background: linear-gradient(
          90deg,
          rgba(20, 20, 20, 0.5) 0%,
          rgba(60, 60, 60, 0.6) 40%,
          rgba(255, 255, 255, 0.1) 100%
        );
      }
    }

    .btn-bg {
      position: absolute;
      inset-inline-end: 0;
      bottom: 0;
      /* background-color: var(--second-color); */
      border-top-left-radius: 10px !important;
      border-bottom-right-radius: 10px !important;
      padding: 5px;

      a {
        background-color: var(--main-color);
        width: 55px;
        height: 55px;
        border: none;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
        z-index: 3 !important;
        &::after {
          content: "";
          position: absolute;
          transition: all 0.3s ease;
        }

        &:hover {
          background-color: #0d0d0d !important;
          transform: scale(1.05);

          &::after {
            background-color: var(--second-color);
            padding: 20px;
            border-radius: 10px;
          }
        }
      }

      i {
        position: relative;
        font-size: 20px;
        transform: rotate(-45deg);
        color: #fff;
        z-index: 2;
        transition: color 0.3s ease;

        a:hover & {
          color: var(--main-color);
        }
      }
    }
  }

  .nav-pills {
    .nav-link {
      background-color: transparent;
      color: var(--fourth-color);
      font-size: 25px;
      transition: all 0.3s ease;
      width: 100%;

      &:hover {
        background-color: rgba(255, 255, 255, 0.05);
        transform: translateX(5px);
      }

      &.active {
        color: var(--main-color) !important;
        border-color: var(--main-color);

        i {
          color: var(--main-color) !important;
        }
      }

      i {
        color: var(--fourth-color);
      }
    }
  }
}
.service-details-section {
  .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;
        }
      }
    }
  }
}
/*  
##################################################
#                  Projects                      #
##################################################
*/
.projects-section {
  .container {
    position: relative;

    .project-card {
      transition: all 0.5s ease;
      border-radius: 14px !important;

      &::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        opacity: 0.8;
        transition: all 0.5s ease;
        cursor: pointer;
        background: linear-gradient(
          130deg,
          rgba(0, 0, 0, 0.2) 0%,
          rgba(0, 0, 0, 0.6) 40%,
          rgba(255, 255, 255, 0.2) 100%
        );
      }

      img {
        transition: all 0.3s ease;
        object-fit: cover;
        height: 500px;
        display: block;
      }

      .content-card {
        inset-inline-start: 0;
        bottom: 0;
        transition: all 0.3s ease;
        width: 100%;
      }

      &:hover {
        img {
          transform: scale(1.06);
        }
      }

      .btn-bg {
        inset-inline-end: -2px;
        bottom: 0;
        transition: all 0.3s ease;
        z-index: 2;
        background-color: var(--second-color);
        overflow: hidden;
        border-top-left-radius: 15px;
        padding: 10px 12px;

        a {
          background-color: var(--main-color);
          width: 55px;
          height: 55px;
          border: none;
          border-radius: 14px;
          display: flex;
          align-items: center;
          justify-content: center;
          cursor: pointer;
          position: relative;
          overflow: hidden;
          transition: all 0.3s ease;

          z-index: 3 !important;

          &::after {
            content: "";
            position: absolute;
            transition: all 0.3s ease;
            z-index: 1;
          }

          &:hover {
            background-color: #0d0d0d !important;
            transform: scale(1.05);

            &::after {
              background-color: var(--second-color);
              padding: 20px;
              border-radius: 10px;
            }
          }
        }

        i {
          position: relative;
          font-size: 20px;
          transform: rotate(-45deg);
          color: #fff;
          z-index: 2;
          transition: color 0.3s ease;

          a:hover & {
            color: var(--main-color);
          }
        }
      }
    }
    .project-swiper {
      width: 100%;

      .swiper-slide {
        height: 100% !important;
        display: flex;
        justify-content: center;
        position: relative;
        overflow: hidden;
      }
    }

    .swiper-navigation {
      left: 50%;
      top: 55%;
      transform: translate(-50%, -50%);
      width: calc(100% - 20px) !important;
      z-index: 3;

      .swiper-button-next,
      .swiper-button-prev {
        color: var(--second-color);
        background-color: var(--main-color);
        width: 60px;
        height: 60px;
        border-radius: 12px !important;
        transition: all 0.3s ease;
        z-index: 10;
        margin: 0 -30px !important;
      }

      .swiper-button-next svg,
      .swiper-button-prev svg {
        display: none;
      }

      .swiper-button-next i,
      .swiper-button-prev i {
        font-size: 20px;
      }

      .swiper-button-next:hover,
      .swiper-button-prev:hover {
        color: var(--main-color) !important;
      }

      .swiper-button-next::after,
      .swiper-button-prev::after {
        position: absolute;
        content: "";
        transition: all 0.3s ease;
        z-index: -1;
      }

      .swiper-button-next:hover::after,
      .swiper-button-prev:hover::after {
        padding: 20px;
        border-radius: 6px;
        background-color: var(--second-color);
      }
    }
  }
}
.project-section-details {
  .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;
        }
      }
    }
  }
}
/*  
##################################################
#                  Contact                       #
##################################################
*/
.contact-section {
  position: relative;

  .contact-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
  }

  .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);
      border-radius: 50%;
      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-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(--second-color);
    }
  }

  .btn-send {
    background: var(--second-color);
    border: none;
    color: var(--main-color);
    transition: 0.3s ease;
    letter-spacing: 0.5px;

    &:hover {
      background: var(--main-color);
      color: var(--main-color) !important;
      transform: translateY(-3px);
      i {
        color: var(--main-color) !important;
      }
    }
  }
}
.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;

  &::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.3),
      transparent 80%
    );
    z-index: -1;
  }

  img {
    max-width: 150px;
    height: auto;
    transition: transform 0.4s ease;
  }
  .footer-logo {
    filter: brightness(0) invert(1);
  }
  img:hover {
    transform: scale(1.05);
  }

  p,
  a {
    font-size: 1rem;
    line-height: 1.7;
    color: #dcdcdc;
  }

  h5 {
    color: var(--second-color);
    position: relative;
  }

  h5::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: var(--second-color);
    margin-top: 6px;
    border-radius: 10px;
  }

  .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);
  }
}
