/* Our projects-filter start */

.navbar {
  background-color: #f5f8ff !important;
}

@media screen and (min-width: 1200px) {
  .site-header .nav-item:hover > .dropdown-menu {
    background-color: white;
  }

  .navbar #navbarNav ul li a:hover {
    color: var(--Red);
    background-color: transparent !important;
  }
}

#projects-filter {
  padding: 0px 96px 96px 96px;
  margin: auto;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  background: var(--Light-blue, #f5f8ff);
}

#projects-filter h1 {
  color: var(--Blue, #1e3c72);

  font-size: 50px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%; /* 65px */
  text-transform: uppercase;
}

#projects-filter .row {
  border-radius: 20px;
}

#projects-filter h5 {
  color: var(--Blue, #1e3c72);
  font-size: 36px;
  font-style: normal;
  font-weight: 600;
  line-height: 40px; /* 111.111% */
  text-transform: uppercase;
  margin-bottom: 24px;
}

#projects-filter .link-arrow {
  display: inline-block;
  flex: 0 auto;
  -webkit-box-flex: 0;
  min-width: 100%;
  position: relative;
  text-align: left;
  text-decoration: none;
  color: var(--Blue, #1e3c72);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  margin-top: 48px;
  padding-bottom: 14px;
  border-bottom: 1px solid #1e3c72;
}

#projects-filter .link-arrow:hover {
  color: var(--Red, #ca202e);
  border-bottom: 1px solid var(--Red, #ca202e);
}

#projects-filter .link-arrow::before,
#projects-filter .link-arrow::after {
  content: url("images/arrow-right.svg");
  display: block;
  font-family: Inter;
  font-size: inherit;
  position: absolute;
  top: 50%;
  right: 0px;
  transform: translate(0%, -50%);
  transition: all 0.5s cubic-bezier(0.25, 0.25, 0.08, 1.08);
}

#projects-filter .link-arrow:hover::before {
  content: url("images/arrow-right-red.svg");
}

#projects-filter .link-arrow.font-reg::before,
#projects-filter .link-arrow.font-reg::after {
  font-weight: 300;
}

#projects-filter .link-arrow::before {
  opacity: 0;
  transform: translate(-100%, -50%);
}

#projects-filter .link-arrow:hover::before {
  opacity: 1;
  transform: translate(0, -50%);
}

#projects-filter .link-arrow:hover::after {
  opacity: 0;
  transform: translate(100%, -50%);
}

#projects-filter .nav-tabs .nav-link {
  color: rgba(30, 60, 114, 0.6);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  padding: 16px 32px;
  border-radius: 50px;
  margin-right: 10px;
}

#projects-filter .nav-tabs .nav-link:hover {
  border-radius: 50px;
  color: var(--blue-transparent);
  padding: 16px 32px;
  border-color: var(--blue-transparent);
}

#projects-filter .nav-tabs .nav-link:focus {
  isolation: none;
  border-color: none;
}

#projects-filter .nav-tabs .nav-link.active {
  border-radius: 50px;
  padding: 16px 32px;
  color: var(--Blue, #1e3c72);
  background-color: transparent;

  font-style: normal;
  font-weight: 400;
  border: 1px solid var(--Blue);
}

#projects-filter #customTab {
  margin-top: 24px;
  margin-bottom: 24px;
  border-bottom-width: 0px;
  border-bottom-style: solid;
  gap: 5px;
}

#customTabfilter {
  padding-top: 24px;
  padding-bottom: 24px;
  border-bottom: 0px;
}

#customTabfilterContent .card {
  background-color: white;
  padding: 24px;
  border-radius: 20px;
  border: 0px;
}

#customTabfilterContent .card img {
  border-radius: 20px;
  height: 236px; /* Set the fixed height */
  width: 100%; /* Ensures the image scales horizontally */
  object-fit: cover; /* Maintains aspect ratio while filling the container */
}

#customTabfilterContent .card .card-body {
  padding: 0px;
  margin-top: 32px;
}

#customTabfilterContent .card .card-body a h3 {
  color: var(--Blue, #1e3c72);
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 32px; /* 133.333% */
  text-transform: capitalize;
}

#customTabfilterContent .card .card-body a h3:hover {
  color: var(--Red, #ca202e);
}

#customTabfilterContent .card .card-body a h3:hover {
  color: var(--Red, #ca202e);
}

#customTabfilterContent .card .card-body .card-text {
  margin-bottom: 24px;
  color: var(--Blue, #1e3c72);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
}

#customTabfilterContent a:active,
#customTabfilterContent a:hover {
  outline: 0;
}

#customTabfilterContent .link-arrow {
  display: inline-block;
  flex: 0 auto;
  -webkit-box-flex: 0;
  min-width: 100%;
  position: relative;
  text-align: left;
  text-decoration: none;
  color: var(--Blue, #1e3c72);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  margin-top: auto !important;
  padding-bottom: 14px;
  border-bottom: 1px solid #1e3c72;
}

#customTabfilterContent .link-arrow:hover {
  color: var(--Red, #ca202e);
  border-bottom: 1px solid var(--Red, #ca202e);
}

#customTabfilterContent .link-arrow::before,
#customTabfilterContent .link-arrow::after {
  content: url("images/arrow-right.svg");
  display: block;
  font-family: Inter;
  font-size: inherit;
  position: absolute;
  top: 50%;
  right: 0px;
  transform: translate(0%, -50%);
  transition: all 0.5s cubic-bezier(0.25, 0.25, 0.08, 1.08);
}

#customTabfilterContent .link-arrow:hover::before {
  content: url("images/arrow-right-red.svg");
}

#customTabfilterContent .link-arrow.font-reg::before,
#customTabfilterContent .link-arrow.font-reg::after {
  font-weight: 300;
}

#customTabfilterContent .link-arrow::before {
  opacity: 0;
  transform: translate(-100%, -50%);
}

#customTabfilterContent .link-arrow:hover::before {
  opacity: 1;
  transform: translate(0, -50%);
}

#customTabfilterContent .link-arrow:hover::after {
  opacity: 0;
  transform: translate(100%, -50%);
}

#customTabfilterContent .custom-margin {
  margin-bottom: 24px;
}

@media (max-width: 1200px) {
  #projects-filter {
    padding: 0px 96px 96px 96px;
    margin: auto;
  }

  #projects-filter .row {
    text-align: center;
  }

  #projects-filter .slider-container {
    margin-top: 24px;
    width: 100%;
  }

  #projects-filter h5 {
    text-align: start;
  }

  #projects-filter .link-arrow {
    margin-top: 16px;
  }

  #projects-filter .slider-navigation {
    margin: auto;
  }

  #projects-filter .slider-container p {
    text-align: start;
  }

  #customTabfilterContent .card .card-body a h3 {
    text-align: start;
  }

  #customTabfilterContent .card .card-body .card-text {
    text-align: start;
  }

  #customTabfilterContent .custom-margin {
    margin-bottom: 24px;
  }

  #customTabfilterContent .card img {
    border-radius: 20px;
    height: 167px; /* Set the fixed height */
    width: 100%; /* Ensures the image scales horizontally */
    object-fit: cover; /* Maintains aspect ratio while filling the container */
  }
}

@media (max-width: 768px) {
  #projects-filter h1 {
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 40px; /* 111.111% */
    text-transform: uppercase;
    margin-bottom: 0px;
  }

  #projects-filter #customTab {
    padding: 0px;
    margin-top: 40px;
    margin-bottom: 40px;
  }

  /* Ensure the tab list is scrollable horizontally */
  #customTab {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    padding: 0 10px;
    flex-wrap: nowrap;
  }

  #customTab::-webkit-scrollbar {
    display: none; /* Hide scrollbar for WebKit browsers */
  }

  #customTab .nav-item {
    flex: 0 0 auto;
    list-style: none;
  }

  #customTab .nav-link {
    display: inline-block;
    white-space: nowrap;
    padding: 0.5rem 1rem;
  }

  #projects-filter .row {
    padding: 0px;

    text-align: center;
  }

  .cube-img {
    height: 300px;
  }

  .hotspot-text {
    font-size: 14px;
    padding: 10px;
  }

  #projects-filter .slider-container {
    margin-top: 24px;
    width: 100%;
  }

  #projects-filter .slide-content {
    padding: 0px 4px;
  }

  #projects-filter {
    padding: 0px;
    padding-top: 80px;
    padding-bottom: 80px;
    margin: auto;
  }

  #projects-filter .slider-container p {
    text-align: start;
    color: var(--Blue, #1e3c72);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
  }

  #customTabfilterContent .card .card-body a h3 {
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px; /* 140% */
  }

  #customTabfilterContent .card .card-body .card-text {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
    margin-bottom: 16px;
  }

  #customTabfilterContent .card img {
    height: 167px; /* Set the fixed height */
  }
}
