/* Header Styles - Hero Section */
.overlap-wrapper {
  position: relative;
  width: 100%;
  max-width: 1217px;
  height: 585px;
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(
    265deg,
    rgba(248, 250, 252, 1) 6%,
    rgba(233, 244, 255, 1) 81%
  );
  animation: fadeInUp 1s ease-out;
}

.navbar-nav {
  transform: translateX(-210px); /* smoother positioning control */
}

.overlap-2 {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0 33px;
}

.image {
  position: absolute;
  width: 809px;
  height: 585px;
  top: 0;
  right: 0;
  object-fit: cover;
}

.text-wrapper-13 {
  position: absolute;
  width: 652px;
  top: 215px;
  left: 47px;
  font-family: "Inter", Helvetica;
  font-weight: 700;
  color: #000000;
  font-size: 72px;
  letter-spacing: 0;
  line-height: 78px;
}

.text-wrapper-14 {
  position: absolute;
  width: 752px;
  height: 54px;
  top: 392px;
  left: 47px;
  font-family: "Poppins", Helvetica;
  font-weight: 400;
  color: #64748b;
  font-size: 20px;
  letter-spacing: 0;
  line-height: 32px;
}

/* Navbar Container and Logo */
.custom-navbar {
    position: absolute;
    width: calc(100% - 66px);
    height: 73px;
    top: 22px;
    left: 33px;
    border-radius: 17px;
    border: 1px solid;
    border-color: #ffffff;
    box-shadow: 0px 4px 30.7px #d3cece40;
    background: linear-gradient(
      231deg,
      rgba(233, 244, 255, 1) 0%,
      rgba(248, 250, 252, 1) 72%
    );
    z-index: 10;
    padding: 0 20px;
}

.navbar-brand {
    padding: 0;
}

.netsxans-png {
    height: 35px;
    width: auto;
}

/* Navbar Links */
.navbar-nav {
    display: flex;
    align-items: center;
    margin-right: 20px; /* Gap between the links and the button */
}

.nav-item {
    margin-right: 20px; /* Gap between the links */
}

.nav-link.custom-link {
    font-family: "Poppins", Helvetica;
    font-weight: 400;
    color: #64748b;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 24px;
    white-space: nowrap;
    padding: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link.custom-link:hover {
    color: #4318d1;
}

/* Buttons */
.custom-button,
.custom-button-mobile {
    background-color: #4318d1;
    color: #ffffff;
    font-family: "Poppins", Helvetica;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 21px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.custom-button:hover,
.custom-button-mobile:hover {
    background-color: #3a15b8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 24, 209, 0.3);
    color: #ffffff;
}

.custom-button-mobile {
  display: block;
  text-align: center;
}

.offcanvas-body .navbar-nav {
    flex-direction: column;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries */
@media (max-width: 1200px) {
  .text-wrapper-13 {
    font-size: 60px;
    line-height: 70px;
    width: 500px;
  }
  .text-wrapper-14 {
    width: 600px;
    font-size: 18px;
    top: 440px;
  }
  .image {
    width: 600px;
  }
}

@media (max-width: 992px) {

.navbar-nav {
  transform: translateX(0px); /* smoother positioning control */
}
  .overlap-wrapper {
    height: auto;
    min-height: 500px;
  }
  .overlap-2 {
    height: auto;
    min-height: 500px;
  }
  .text-wrapper-13 {
    font-size: 48px;
    line-height: 56px;
    width: 400px;
    top: 150px;
  }
  .text-wrapper-14 {
    width: 450px;
    font-size: 16px;
    top: 330px;
  }
  .image {
    width: 400px;
    top: 50px;
  }
  .custom-navbar {
    width: calc(100% - 66px);
    height: auto;
    top: 22px;
    left: 33px;
    padding: 10px 20px;
  }
  .custom-link,
  .custom-button {
    font-size: 14px;
  }
  .netsxans-png {
    height: 30px;
  }
}

@media (max-width: 768px) {

  .navbar-nav {
  transform: translateX(0px); /* smoother positioning control */
}

  .overlap-wrapper {
    border-radius: 20px;
    margin: 0 15px;
  }
  .text-wrapper-13 {
    font-size: 36px;
    line-height: 42px;
    width: 300px;
    top: 120px;
    left: 20px;
  }
  .text-wrapper-14 {
    width: 320px;
    font-size: 14px;
    top: 260px;
    left: 20px;
  }
  .image {
    width: 300px;
    left: 50%;
    transform: translateX(-50%);
    top: 350px;
  }
  .custom-navbar {
    height: 60px;
    top: 15px;
    left: 15px;
    width: calc(100% - 30px);
    padding: 0 15px;
  }
  .netsxans-png {
    width: 120px;
    height: 25px;
  }
   .custom-button {
    font-size: 10px;
  }
}

@media (max-width: 576px) {

    .navbar-nav {
  transform: translateX(0px); /* smoother positioning control */
}
  .text-wrapper-13 {
    font-size: 28px;
    line-height: 32px;
    width: 250px;
    top: 100px;
  }
  .text-wrapper-14 {
    width: 280px;
    font-size: 12px;
    top: 210px;
  }
  .image {
    width: 250px;
    top: 300px;
  }
  .custom-navbar {
    height: 50px;
    top: 10px;
  }
  .netsxans-png {
    width: 100px;
    height: 20px;
  }

  .custom-button {
    font-size: 10px;
  }
}