.pdf-page {
  width: 100%;
  height: auto;
}

.responsive-img {
  max-width: 100%;
  /* Ensures the image never exceeds the container's width */
  height: auto;
  /* Maintains the aspect ratio of the image */
}

@media only screen and (max-width: 768px) {
  .carousel-caption {
    padding-top: 10px;
  }
}

@media only screen and (max-width: 629px) {
  .carousel-inner {
    height: 630px;
  }

  .flex-column {
    flex-direction: unset;
  }

  .d-flex {
    display: inline-table;
  }
}

@media only screen and (max-width: 400px) {
  .carousel-caption {
    height: 300px;
    padding-top: 420px;
    font-size: 14px;
    /* Adjust font size for mobile */
    text-align: center;
  }

  .carousel-item active {
    height: 300px;
  }
}

@media only screen and (max-width: 629px) {
  .carousel-item {
    position: unset !important;
  }

  .carousel-item active {
    position: unset;
  }

  /* .carousel-inner {
        } */
}

.main {
  background-color: #07254f;
  padding-top: 110px;
  height: 540px;
}

.sub {
  max-width: 900px;
}

/* For devices with a screen width of 34em (approximately 544px) */
@media only screen and (max-width: 34em) {
  .main {
    background-color: #07254f;
    padding-top: 60px;
    height: 500px;
  }

  .sub {
    max-width: 600px;
  }
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar-dark .navbar-nav .nav-link {
  font-family: "Nunito", sans-serif;
  position: relative;
  margin-left: 35px;
  padding: 15px 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  outline: none;
  transition: 0.5s;
}

/* Laptop */
@media (max-width: 1366px) {
  /* Styles for laptops */
  .navbar-dark .navbar-nav .nav-link {
    font-family: "Nunito", sans-serif;
    position: relative;
    margin-left: 10px;
    padding: 15px 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    transition: 0.5s;
  }
}
.steering-container {
  width: 45%;
  margin: auto;
}
@media (max-width: 767px) {
  .steering-container {
    width: 60%;
    margin: auto;
  }
}
