/* Header */

header {
  position: fixed;
  z-index: 5;
  height: 72px;
  top: 0;
  transition: all 0.3s ease;
  width: 100%;
  background: #ffffff;
}
.hideHeader {
  top: -72px;
}
.bodyHidden {
  overflow: hidden;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  height: 100%;
}
header .navLinks {
  display: flex;
  gap: 32px;
}
header .navLinks .navList {
  display: flex;
  gap: 32px;
}
header .navLinks .commonBtn {
  display: inline-block;
  width: 100%;
  text-align: center;
}
.navLinks li a {
  color: #0b1128;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  text-decoration: none;
}
.navLinks li a:hover {
  color: #ea860b;
}
.login a {
  text-decoration: none;
  padding: 8px 24px;
  border: 1px solid #ea860b;
  border-radius: 25px;
  color: #ea860b;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  background: #ffffff;
}
.login a:hover {
  background: #ea860b;
  color: #ffffff;
}
.hamburger {
  display: none;
}

/* Banner */

.banner {
  padding: 72px 0 0;
  height: 100vh;
  position: relative;
}
.bannerBgImg {
  object-fit: cover;
  object-position: right;
}
.bannerBgMed {
  display: none;
}
.bannerImgPhn {
  display: none;
}
.bannerContent {
  position: absolute;
  top: 53%;
  transform: translateY(-50%);
  max-width: 614px;
}
.bannerContent .commonBtn {
  display: inline-block;
}
.bannerHeading {
  padding-bottom: 40px;
}
.bannerHeading h1 {
  font-weight: 600;
  font-size: 56px;
  line-height: 72px;
  /* max-width: 693px; */
  color: #ffffff;
}
.bannerHeading h1 span {
  color: #ea860b;
}
.bannerHeading p {
  color: #d1d3dd;
  font-weight: 500;
  font-size: 21px;
  line-height: 160%;
  letter-spacing: -0.02em;
  padding-top: 16px;
}
.bannerContent a:hover {
  background: #ffffff;
  color: black;
}

/* Sub systems */

.subSystems {
  background-image: url(/assets/images/bgBlueLines.png);
  background-color: #17214f;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}
.subSystems .commonHeading {
  max-width: 650px;
}

/*rail*/
.modules {
  padding-bottom: 200px;
}

.rail .cardImg {
  padding-bottom: 0px;
}

.modules .commonHeading h2 {
  color: #0b1128;
}
.modules .commonHeading {
  top: 25px;
  position: sticky;
  padding-left: 16px;
}
.module-cards {
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  padding-bottom: 380px !important;
  gap: 5px;
}
.modules .cardHeading h3 {
  font-weight: 600;
  font-size: 32px;
  line-height: 38px;
  color: #0b1128;
  white-space: nowrap;
}
.modules .card {
  background: linear-gradient(279.88deg, #ffd1d1 -5.23%, #faebf0 110.97%);
  border-radius: 16px;
  display: flex;
  position: sticky;
  height: 450px;
}
.modules .optimizer {
  top: 115px;
  width: 95%;
  margin: auto auto -105px;
}
.modules .optimizer .cardImg {
  padding-bottom: 70px;
}
.modules .truckLink {
  background: linear-gradient(279.88deg, #affacb -5.23%, #ebf5fa 110.97%);
  top: 200px;
  width: 96%;
  margin: 50px auto -190px;
}
.modules .gating {
  background: linear-gradient(279.88deg, #faddaf -5.23%, #faf8eb 110.97%);
  top: 285px;
  width: 97%;
  margin: 150px auto -268px;
}
.modules .vessel {
  background: linear-gradient(279.88deg, #d1efff -5.23%, #ecebfa 110.97%);
  top: 370px;
  width: 98%;
  margin: 250px auto -350px;
}
.modules .vessel .cardImg {
  padding-bottom: 25px;
}

/*rail section*/
.modules .rail {
  background: linear-gradient(279.88deg, #ebffbd -5.23%, #fdffdb 110.97%);
  width: 99%;
  margin: 300px auto -435px;
  top: 455px;
}
.cardPoints {
  padding: 40px;
  flex-basis: 50%;
}
.cardImg {
  flex-basis: 50%;
  padding-bottom: 50px;
}
.cardPoints ul {
  display: flex;
  max-width: 472px;
  flex-direction: column;
  gap: 20px;
  padding-top: 24px;
}
.cardPoints ul li {
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  color: #4e587e;
  padding-left: 24px;
  position: relative;
}
.cardPoints ul li::before {
  content: url(/assets/images/pinkPoint.svg);
  position: absolute;
  left: 0;
  top: 3px;
}
.truckLink ul li::before {
  content: url(/assets/images/greenPoint.svg);
}
.gating ul li::before {
  content: url(/assets/images/yellowPoint.svg);
}
.vessel ul li::before {
  content: url(/assets/images/bluePoint.svg);
}
.rail ul li::before {
  content: url(/assets/images/railGreenPoint.svg);
}
.yugaAI ul li::before {
  content: url(/assets/images/yugaBluePoint.svg);
}
.modules .knowMore a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 32px 0 0 24px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #ea860b;
  text-decoration: none;
  width: fit-content;
}
.modules .knowMore span:hover {
  border-bottom: 1px solid #ea860b;
}
.modules .knowMore img {
  width: 20px;
  height: 20px;
}
.scroll-first {
  transition: transform 0.3s ease-in-out;
  transform: translateY(-450%);
}

.scroll-first.scroll-up {
  transform: translateY(-100%);
}

/* yugaAI */
.modules .yugaAI {
  background: linear-gradient(280deg, #d9bcff -5.23%, #ffeefc 110.97%);
  top: 460px;
  width: 100%;
  margin: 365px auto -513px;
}

.yugaAI .cardImg {
  padding-bottom: 0px;
}
/* advantage */

.advantage {
  background: #17214f;
}
.advantage .commonHeading h2 {
  color: #ffffff;
}
.advantage .container {
  padding: 0 20px;
}
.advantage .commonHeading p {
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  max-width: 685px;
  color: #d1d3dd;
  padding-top: 16px;
}
.advantage .advantageContent {
  padding-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.hovered {
  opacity: 1 !important;
  /* display: none; */
}
.advantage .advantageCards {
  background: #161f4b;
  border-radius: 8px;
  padding: 25px;
  flex-basis: 32%;
  border: 1px solid rgba(0, 136, 255, 0.1);
  position: relative;
  /* padding-top: 40px; */
}
.hoveredCard {
  opacity: 1;
}
.unHoveredCard {
  opacity: 0.2;
}
.hiddenAdvCard {
  position: absolute;
  top: 0;
  left: 0;
  padding: 24px;
  background: #161f4b;
  z-index: 2;
  border-radius: 8px;
  border: 1px solid rgba(0, 136, 255, 0.1);
  display: none;
}
.hiddenAdvCardActive {
  display: block;
}
.advantage .advantageImg {
  width: 52px;
  height: 52px;
}
.advantage .advantageCards h4 {
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  color: #ffffff;
  padding: 20px 0 8px 0;
}
.advantage .advantageCards p {
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  color: #d1d3dd;
}
.dotReadMore {
  font-weight: 600;
  cursor: pointer;
}
.removeDots {
  display: none;
}
.readMore {
  display: none;
}
.readMoreActive {
  display: block;
}
.readLess {
  display: none;
  font-weight: 600;
  cursor: pointer;
}
.readLessActive {
  display: block;
}

/* contact Us */

.contactUs {
  position: relative;
  background: #f0f1f4;
  overflow: hidden;
}
.contactDetails {
  display: flex;
  justify-content: flex-end;
}
.globalPhn {
  display: none;
}
.global {
  position: absolute;
  bottom: 0;
  z-index: 0;
  left: 0;
  /* padding-top: 29px; */
  max-width: 658px;
}
.global img {
  display: block;
}
.contactUs .commonHeading h2 {
  color: #0b1128;
}
.contactUs .contactForm form {
  padding-top: 40px;
}
.contactForm {
  flex-basis: 50%;
  z-index: 1;
  max-width: 568px;
}
.formBtn a {
  display: inline-block;
  width: fit-content;
}
.formBtn input:hover {
  background-color: #ffffff;
  color: #ea860b;
}
.contactUs .formField {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contactUs .formField input,
textarea {
  background: #ffffff;
  color: #0b1128;
  border: 1px solid #e3e4e8;
  border-radius: 8px;
  width: 100%;
  padding: 19px 24px;
  min-height: 64px;
}
.contactUs .formField input::placeholder {
  color: #b3b6c6;
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
}
.contactUs .formField textarea::placeholder {
  color: #b3b6c6;
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
}
.contactUs .formField input:focus-visible {
  outline: 1px solid #4e587e;
}
.contactUs .formField textarea:focus-visible {
  outline: 1px solid #4e587e;
}
.contactUs .formField textarea {
  min-height: 120px;
  resize: none;
}
.contactUs .formField textarea::placeholder {
  position: absolute;
  top: 14px;
}
.contactForm .formBtn {
  padding-top: 32px;
}
.contactUs .msgSent {
  flex-direction: column;
  display: none;
  gap: 24px;
  margin-top: 40px;
  background: #ffffff;
  max-width: 568px;
  min-height: 372px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.formInput {
  display: flex;
  gap: 6px;
  flex-direction: column;
  position: relative;
}
.msgSentActive {
  display: flex !important;
}
.formHide {
  display: none;
}
.errorMsg {
  color: #ff0000;
  font-weight: 400;
  font-size: 12px;
  line-height: 160%;
  position: absolute;
  bottom: -22px;
}
.contactUs .msgSent p {
  /* max-width: 310px; */
  text-align: center;
  font-weight: 600;
  font-size: 24px;
  line-height: 46px;
  max-width: 310px;
  /* background: #ffffff;
  padding: 140px 129px; */
}
.contactUs .msgSent span {
  color: #ea860b;
}
.msgSent .mobile {
  display: block;
  width: 92px;
}

/* footer */

footer .navLinks li a {
  color: #ffffff;
}
.privacySection {
  padding-top: 24px;
  border-top: 1px solid #1c285f;
  display: flex;
  justify-content: space-between;
}
.privacySection a {
  text-decoration: none;
  letter-spacing: -0.02em;
  opacity: 0.6;
}
.privacySection p,
li a {
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  color: #d1d3dd;
}
.copyright p {
  letter-spacing: -0.02em;
  opacity: 0.6;
}
.privacySection ul {
  display: flex;
  gap: 32px;
  height: 18px;
}
footer {
  padding: 50px 0;
  background: #0b1128;
}
.footerNavLinks {
  padding-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer .footerLogo {
  width: 73px;
  height: 80px;
}

@media (max-width: 1200px) {
  .bannerHeading h1 {
    font-size: 46px;
  }
}

@media (max-width: 1340px) {
  .advantage .advantageCards {
    flex-basis: 31%;
  }
}

@media (max-width: 992px) {
  header .navLinks .navList {
    gap: 26px;
  }
  .banner {
    /* background-image: url(/assets/images/bannerImgPhn.png); */
  }
  .bannerContent {
    /* margin: 25px 0; */
  }
  .modules .optimizer {
    margin: auto auto -105px;
  }
  .modules .truckLink {
    margin: 50px auto -192px;
  }
  .modules .gating {
    margin: 150px auto -275px;
  }
  .modules .vessel {
    margin: 250px auto -370px;
  }
}

@media (max-width: 736px) {
  .modules .truckLink {
    margin-bottom: -113px !important;
  }
  .modules .gating {
    margin-bottom: -220px !important;
  }
}
@media (max-width: 492px) {
  .modules .truckLink {
    margin-bottom: -130px !important;
  }
  .modules {
    padding-bottom: 165px !important;
  }
}
@media (max-width: 438px) {
  .modules .truckLink {
    margin-bottom: -110px !important;
  }
}
@media (max-width: 425px) {
  .modules .truckLink {
    margin-bottom: -90px !important;
  }
  .modules .gating {
    margin-bottom: -165px !important;
  }
  .modules .vessel {
    margin-bottom: -180px !important;
  }
  .modules .rail {
    margin-bottom: -210px !important;
  }
}
@media (max-width: 421px) {
  .modules .card {
    height: 618px !important;
  }
  .modules .vessel {
    margin-bottom: -185px !important;
  }
  .modules .gating {
    margin-bottom: -165px !important;
  }
  .modules .truckLink {
    margin-bottom: -160px !important;
  }
  .modules .rail {
    margin-bottom: -385px !important;
  }
}

@media (max-width: 360px) {
  .modules {
  }
}

@media (max-width: 768px) {
  section {
    padding: 56px 0;
  }
  .commonHeading h2 {
    font-size: 24px;
    line-height: 28px;
  }

  .banner {
    /* height: 77vh; */
    padding: 42px 0 0;
  }
  .banner .container {
    padding: 0;
  }
  .bannerBgImg {
    display: none;
  }
  .bannerBgMed {
    display: block;
  }
  header {
    height: 48px;
  }
  .headerColor {
    background: #161f4b;
  }
  header .navLinks {
    /* display: none; */
    position: absolute;
    top: 48px;
    background: #ffffff;
    width: 100%;
    left: 100%;
    height: calc(100vh - 48px);
    padding: 40px 24px;
    transition: all 0.5s;
    flex-direction: column;
    justify-content: space-between;
  }
  header .navLinks .navList {
    flex-direction: column;
  }
  header .mobile {
    /* padding-bottom: 20px; */
  }
  .navOpen {
    left: 0 !important;
  }
  .sideBarClose {
    display: none !important;
  }
  .sideBarOpen {
    display: block;
  }
  .bannerHeading {
    padding-bottom: 32px;
  }
  .hamburger {
    display: flex;
    gap: 24px;
    cursor: pointer;
    align-items: center;
  }
  .hideLoginBtn {
    display: none !important;
  }
  .hamburger .mobile a {
    display: inline-block;
    padding: 4px 18px;
  }
  .bannerContent {
    top: 41.1%;
    margin: 0 20px;
  }
  .bannerHeading h1 {
    font-size: 32px;
    line-height: 38px;
  }
  .bannerHeading p {
    font-size: 16px;
  }
  .login a {
    display: none;
  }
  .logo {
    width: 32px;
    height: 32px;
  }
  .hideLogo {
    display: none;
  }
  .modules .card {
    flex-direction: column;
    gap: 0;
    height: inherit;
  }
  .modules .cardHeading h3 {
    font-size: 20px;
    line-height: 24px;
  }
  .cardPoints ul {
    max-width: 100%;
    gap: 16px;
  }
  .cardPoints ul li {
    font-size: 14px;
  }
  .cardPoints {
    padding: 20px;
  }
  .modules .knowMore a {
    padding: inherit;
    margin: 24px 0 0 24px;
    font-size: 14px;
  }
  .module-cards {
    padding-top: 32px;
    padding-bottom: 320px !important;
    /* gap: 32px; */
  }
  .advantage .advantageCards {
    flex-basis: 100%;
    opacity: 1 !important;
    padding: 0;
  }
  .advantage .advantageImg {
    width: 40px;
    height: 40px;
  }
  .advantage .commonHeading p {
    font-size: 16px;
  }
  .advantage .advantageContent {
    padding-top: 32px;
    gap: 16px;
  }
  .advantage .advantageCards p {
    font-size: 14px;
  }
  .hovered {
    padding: 0 !important;
  }
  .advantageCards > div:first-child {
    display: none;
  }
  .hiddenAdvCard {
    position: static;
    display: block;
  }
  .modules .cardHeading h3 {
    font-size: 20px;
    line-height: 24px;
  }
  .cardPoints ul li {
    font-size: 13px;
  }
  .modules .optimizer {
    margin-bottom: -70px;
  }
  .modules .optimizer .cardImg {
    padding-bottom: 70px;
  }
  .modules .truckLink {
    margin-bottom: -105px;
    top: 185px;
  }
  .modules .gating {
    margin-bottom: -160px;
    top: 255px;
  }
  .modules .vessel {
    margin-bottom: -230px;
    top: 325px;
  }
  .contactUs {
    background-image: url(/assets/images/GlobePhn.png);
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 59%;
  }
  .contactUs .contactForm form {
    padding-top: 32px;
  }
  .global {
    display: none;
  }
  .contactForm .formBtn a {
    text-align: center;
    width: 100%;
  }
  .contactForm .formBtn input {
    display: inline-block;
    width: 100%;
    height: 44px;
  }
  .contactForm {
    flex-basis: 100%;
    max-width: 100%;
  }
  .contactUs .formField input,
  textarea {
    padding: 7px 16px;
    min-height: 40px;
  }
  .contactUs .formField textarea {
    min-height: 90px;
  }
  .contactUs .formField textarea::placeholder {
    top: 2px;
  }
  .contactUs .formField {
    gap: 24px;
  }
  .contactForm .formBtn {
    /* padding-top: 24px; */
  }
  .contactUs .msgSent {
    flex-direction: column;
    margin-top: 32px;
    min-height: 282px;
  }
  .contactUs .msgSent p {
    font-weight: 600;
    font-size: 16px;
    line-height: 32px;
    max-width: 207px;
  }
  .contactUs .mobile {
    max-width: 73px;
    height: 80px;
  }
  /*rail*/
  .modules .rail {
    margin-bottom: -280px;
    top: 500px;
  }

  .modules .yugaAI {
    margin-bottom: -302px;
  }
  .modules {
    padding-bottom: 50px;
  }
}

@media (max-width: 600px) {
  footer .footerLogo {
    align-self: flex-start;
  }
  .footerNavLinks {
    flex-direction: row-reverse;
  }
  .footerNavLinks ul {
    flex-direction: column;
    gap: 24px;
  }
  .privacySection {
    flex-direction: column;
    gap: 12px;
  }
  .privacySection ul {
    gap: 16px;
  }
  /*rail*/
  .modules .rail {
    margin-bottom: -380px;
  }
}

@media (max-width: 420px) {
  .truckLink .cardImg {
    padding-bottom: 20px;
  }
  .gating .cardImg {
    padding-bottom: 10px;
    flex-basis: inherit;
  }
  .cardImg {
    flex-basis: 46%;
  }
  .bannerBgMed {
    display: none;
  }
  .bannerImgPhn {
    display: block;
  }
  .subSystems {
    background-image: url(/assets/images/bgBlueLinesPhn.png);
    background-position: 30%;
    background-size: inherit;
  }
  .modules .commonHeading {
    top: 0;
  }
  .modules .optimizer {
    top: 48px;
    margin-bottom: -116px;
  }
  .module-cards {
    padding-bottom: 230px;
  }
  .modules .truckLink {
    margin-bottom: -177px !important;
    top: 120px;
    margin-top: 100px;
  }
  .modules .vessel {
    margin-bottom: -230px;
  }
  .modules .gating {
    margin-bottom: -245px !important;
    top: 193px;
    margin-top: 140px;
  }
  .modules .vessel {
    margin-bottom: -314px !important;
    top: 265px;
    margin-top: 200px;
  }
  .modules .rail {
    margin-bottom: -381px !important;
    top: 335px;
    margin-top: 300px;
  }
  .modules .yugaAI {
    margin-bottom: -440px !important;
    top: 435px;
    margin-top: 400px;
  }
}

@media (max-height: 420px) {
  .banner {
    height: 100%;
  }
}
@media (max-height: 845px) {
  .cardPoints {
    padding: 20px 20px 0 20px;
  }
  .modules .vessel {
    /* margin-top: 185px; */
  }
}
