.bg-services {
  width: 100%;
  height: clamp(1px, 53.5vw, 2100px);
  background-image: url("../../images/custom/Services/bg-services.png");
  background-repeat: no-repeat;
  background-size: cover;
}


.bg-form {
  width: 100%;
  height: auto;
  background-image: url("../../images/custom/Services/blue-stone.png");
  background-repeat: no-repeat;
  background-size: cover;
}


.sticky-nav {
  transition: opacity 0.3s ease;
}

.sticky-nav.fixed {
  position: fixed;
  left: 0;
  width: 100%;
  z-index: 999;
}

#sticky-nav.fade-out {
  opacity: 0;
  pointer-events: none;
}

#services-tab .nav-item .active {
  font-family: Aeonik Bold !important;
  border-radius: 100px;
  background: rgba(86, 198, 238, 0.25);
  border-radius: 100px;
}

#services-tab .nav-item .nav-link {
  color: #333333;
  border-radius: 100px;
  padding: clamp(1px, 0.495vw, 20px) clamp(1px, 2.5765vw, 100px);
}

#services-tab {
  border-radius: 3rem;
  border-radius: 100px;
  border: 2px solid rgb(51, 51, 51, .15);
  background-image: url("../../images/custom/Services/Marine Cargo Section 5.png");
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.nav-pills {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-padding-left: 1rem !important;
  justify-content: flex-start !important;
  white-space: nowrap;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: 100px;
}

.nav-pills::-webkit-scrollbar {
  display: none;
}

.service-gradient-left,
.service-gradient-right {
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.service-gradient-left {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  border-radius: 50px 0 0 50px;
}

.service-gradient-right {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  border-radius: 0 50px 50px 0;
}

.services-icon img {
  width: clamp(1px, 3.907vw, 150px);
  height: auto;
}

.services-form-text {
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 2px solid #076abd !important;
  background-color: transparent !important;
  margin-top: 1rem !important;
}

.submit-btn {
  background-color: transparent !important;
  border: 1.5px solid #076abd !important;
  margin-top: 1rem !important;
}

.arrow-bounce {
  animation: bounce-subtle 2s infinite ease-in-out;
}

@keyframes bounce-subtle {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.service-content {
  width: clamp(1px, 87.657vw, 3366px);
}

.services-img {
  width: clamp(1px, 54.115vw, 2058px);
  height: 100%;
}

.services-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* arrows in form */

.animation-icon,
.mail-animation {
  position: relative;
}

.animation-icon img {
  width: clamp(1px, 57.3vw, 1100px);
  height: 100%;
}

.con-icon {
  position: absolute;
  top: 0;
  left: 0;
}

.mail-animation img {
  width: clamp(1px, 24.896vw, 956px);
  height: 100%;
}

.mail-icon {
  width: clamp(1px, 5vw, 386px);
  height: clamp(1px, 5vw, 404px);
}

.mail-icon {
  position: absolute;
  top: 0;
  left: 0;
}

.mail-icon-sm {
  width: auto;
  height: clamp(1px, 7vw, 450px) !important;
  position: relative;
}

/* contact form */
input::placeholder,
textarea::placeholder {
  color: #333333 !important;
  font-family: 'Aeonik Regular';
}

.contact-label input {
  width: clamp(1px, 32.813vw, 1260px);
  height: clamp(1px, 3.386vw, 130px);
  margin: 0;
  border: none;
  background-color: transparent !important;
  border-bottom: 2px solid #076abd;
  padding: 0px 5px;
}

.wpcf7-submit {
  background: transparent;
  width: clamp(1px, 8.8542vw, 340px);
  height: clamp(1px, 2.865vw, 110px);
  border: clamp(1px, 0.2vw, 6px) solid #076ABD;
  border-radius: 100px;
  padding: 0 !important;
}

.form-btn p {
  position: relative;
  width: 100%;
  margin: 0 !important;
}

.wpcf7-submit:hover {
  background-color: #076abd;
  border: clamp(1px, 0.2vw, 6px) solid #076abd;
  color: white !important;
}

.contact-label input:focus,
.contact-label input:focus-visible {
  outline: none;
  box-shadow: none;
}

textarea {
  width: clamp(1px, 32.813vw, 1260px);
  min-height: clamp(1px, 3.6vw, 140px);
  border: none;
  background-color: transparent !important;
  border-bottom: 2px solid #076abd;
  padding: clamp(1px, 1.1vw, 40px) 5px;
  margin: 0;
  max-height: clamp(1px, 3.6vw, 140px);
  transition: max-height 0.2s ease;
}

textarea:focus,
textarea:focus-visible {
  outline: none;
  box-shadow: none;
  max-height: clamp(1px, 10.5vw, 400px);
  border-bottom: 2px solid #076abd;
}

.contact-label label {
  color: #076abd !important;
  padding-top: 6px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

@keyframes bounce {
  0% {
    transform: translateY(100%) scale(1);
  }

  80% {
    transform: translateY(0%) scale(1);
  }

  100% {
    transform: translateY(0%) scale(1.05);
  }
}

/* Ensure the label becomes visible when input is focused or filled */
.contact-label div:focus-within label,
.contact-label input:not(:placeholder-shown)+label,
.contact-label textarea:not(:placeholder-shown)+label {
  opacity: 1 !important;
  animation: bounce 0.5s;
}

/* For input and textarea, hide placeholder when filled or focused */
input:focus::placeholder,
textarea:focus::placeholder,
input:not(:placeholder-shown)::placeholder,
textarea:not(:placeholder-shown)::placeholder {
  opacity: 0;
  animation: bounce 0.5s;
}

/* When the input or textarea is focused, show the label */
.contact-label input:focus+label,
.contact-label textarea:focus+label,
.contact-label input.filled+label,
.contact-label textarea.filled+label {
  opacity: 1 !important;
  animation: bounce 0.5s;
}

.contact-label div.focused label,
.contact-label div.filled label {
  opacity: 1 !important;
}

.contact-label :-webkit-autofill,
.contact-label textarea:-webkit-autofill,
.contact-label select:-webkit-autofill {
  background-color: transparent !important;
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-text-fill-color: #333333 !important;
  caret-color: #333333 !important;
  transition: background-color 5000s ease-in-out 0s;
}

.contact-label input:focus,
.contact-label textarea:focus {
  outline: none;
  background-color: transparent !important;
}

#service-contact {
  scroll-margin-top: 100px !important;
}

.nav-anim-scroll {
    animation: scroll-tabs 4s linear alternate;
    will-change: transform;
}

@keyframes scroll-tabs {
    0% {
        transform: translateX(0%);
    }
    50% {
      transform: translate(-5%);
    }
    100% {
        transform: translateX(0);
    }
}


@media (max-width: 767px) {
  .contact-label input {
    width: clamp(1px, 87vw, 700px);
    height: clamp(1px, 12.096vw, 65px);
  }

  textarea {
    width: clamp(1px, 87vw, 700px);
    min-height: clamp(1px, 12.096vw, 70px);
  }

  .submit-btn {
    text-align: center !important;
  }

  .wpcf7-submit {
    width: clamp(1px, 30.931vw, 170px);
    height: clamp(1px, 11.63vw, 50px) !important;
    border: clamp(1px, 0.6vw, 3px) solid #076abd;
  }

  .nav-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-padding-left: 1rem !important;
    justify-content: flex-start !important;
  }

  .nav-item {
    flex: 0 0 auto;
    margin-right: 0.5rem;
  }

  .nav-link {
    white-space: nowrap;
  }

  .services-img {
    margin-left: 0rem !important;
  }

  .bg-services {
    width: 100%;
    height: 100% !important;
    background-image: url("../../images/custom/Services/bg-services.png");
  }

  .service-content,
  .services-img {
    width: 100%;
  }

  .services-icon img {
    width: clamp(1px, 11.63vw, 80px);
  }

  #services-tab .nav-item .nav-link {
    padding: clamp(1px, 2.56vw, 20px) clamp(1px, 11.835vw, 100px);
  }

  .sticky-nav.fixed {
    top: clamp(1px, 16.28vw, 115px) !important;
  }

  .services-tabs-container {
    padding-right: 0 !important;
    margin-right: 0 !important;
  }
  
	.service-gradient-left, .service-gradient-right {
		width: 50px;
	}
	
}