html, body {
  overflow-x: hidden;
}
.navbar_style {
  background-color: transparent;
  transition: background-color 0.3s ease-in-out;
}

.navbar.scrolled {
  background-color: #f2f3f8 !important;
  /* Change this to your desired color */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  color: black !important;
}

.navbar {
  height: 150px; /* Set the height of the navbar */
}

.navbar-logo {
  height: 150px; /* Make logo take full navbar height */
  width: auto; /* Maintain aspect ratio */
  max-width: 150px; /* Prevent it from being too large */
}


.topLink {
  color: #b3c724 !important;
}

.topLinkScrolled {
  color: black !important;
}

.topLink:hover {
  color: #64be67 !important;

}

.topLink_login {
  border: 1px solid #b3c724;
  border-radius: 5px;
  padding: 6px 12px;
  background-color: transparent;
  color: white !important;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.topLink_login_scrolled {
  border: 1px solid #b3c724;
  border-radius: 5px;
  padding: 6px 12px;
  background-color: transparent;
  color: black !important;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.topLink_login:hover {
  background-color: black;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.darkened-image {
  filter: brightness(60%)
}

/* #header-bottom {
  margin: 0;
  padding: 0;
  top: 100%;
} */

#app-div {
  position: absolute;
  width: 100%;
  top: 35%;
  text-align: center;
}

.app-text-small {
  color: white;
  margin: 20px;
  font-weight: bold;
  font-size: 41px;
  line-height: 49px;
  padding-bottom: 20px;
  text-align: center; /* Ensure centering */
}

.dba-container {
  text-align: center; /* Center the D/B/A MXC text */
}

.dba-text {
  color: #b3c724;
  font-size: 31px; /* Bigger than MXC but smaller than MIG XPRESS CORP */
  font-weight: bold;
}

.mxc-text {
  color: #b3c724;
  font-size: 20px; /* Smaller than D/B/A */
  font-weight: bold;
}

.header-bottom {

  color: white;
  margin: 20px;
  font-weight: bold;
  font-size: 41px;
  line-height: 49px;
  padding-bottom: 20px;
  position: absolute;
  width: 100%;
  bottom: 5%;
  text-align: center;
}

.driver_ap_link {

  color: #ffffff;
  background-color: #b3c724;
  padding: 20px 18px;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 700;
  font-family: Open Sans;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
}

.driver_ap_link:hover {
  /* background-color: #64be67; */
  text-decoration: none;
  color: #ffffff;
}

@media (max-width: 768px) {
  .navbar {
    height: 60px; /* Set the height of the navbar */
  }
  .navbar-collapse {
    background: #f2f3f8 !important;
  }
  .navbar-nav{
    padding-left: 3%;;
  }
  .topLink {
    color: black !important;
  }

  .topLink_login {
    border: none;
    display: inline-block; /* Prevent full width */
    width: auto; /* Let it size based on content */
    text-align: center; /* Keep text centered */
  }

  .navbar-text {
    display: none;
  }

  .navbar-logo {
    display: none;
  }

  .topLink_login:hover {
    border: none;
  }

  .app-text-small {
    margin: 14px;
    font-weight: bold;
    font-size: 24px;
    line-height: 38px;
    padding-bottom: 14px;
  }

  .dba-text {
    color: #b3c724;
    font-size: 17px; /* Bigger than MXC but smaller than MIG XPRESS CORP */
    font-weight: bold;
  }
  
  .mxc-text {
    color: #b3c724;
    font-size: 14px; /* Smaller than D/B/A */
    font-weight: bold;
  }
}

@media (max-width: 860px) {
  .navbar {
    height: 60px; /* Set the height of the navbar */
  }
  .navbar-collapse {
    background: #f2f3f8 !important;
  }
  
  .navbar-nav{
    padding-left: 3%;;
  }
  .topLink {
    color: black !important;
  }

  .navbar-text {
    display: none;
  }

  .navbar-logo {
    display: none;
  }
  .topLink_login {
    border: none;
    display: inline-block; /* Prevent full width */
    width: auto; /* Let it size based on content */
    text-align: center; /* Keep text centered */
  }

  .app-text-small {
    margin: 14px;
    font-weight: bold;
    font-size: 24px;
    line-height: 38px;
    padding-bottom: 14px;
  }
  .dba-text {
    color: #b3c724;
    font-size: 17px; /* Bigger than MXC but smaller than MIG XPRESS CORP */
    font-weight: bold;
  }
  
  .mxc-text {
    color: #b3c724;
    font-size: 14px; /* Smaller than D/B/A */
    font-weight: bold;
  }
}

@media (max-width: 576px) {
  .navbar {
    height: 60px; /* Set the height of the navbar */
  }
  .navbar-nav{
    padding-left: 3%;;
  }
  .driver_ap_link {
    padding: 10px 9px;
    font-size: 12px;
    font-weight: 700;
    font-family: Open Sans;
    border-radius: 3px;
  }

  .app-text-small {
    margin: 14px;
    font-weight: bold;
    font-size: 24px;
    line-height: 38px;
    padding-bottom: 14px;
  }

  .dba-text {
    color: #b3c724;
    font-size: 17px; /* Bigger than MXC but smaller than MIG XPRESS CORP */
    font-weight: bold;
  }
  
  .mxc-text {
    color: #b3c724;
    font-size: 14px; /* Smaller than D/B/A */
    font-weight: bold;
  }

  #app-div {
    top: 20%;
  }

  .navbar-logo {
    display: none;
  }
  .topLink_login {
    border: none;
    display: inline-block; /* Prevent full width */
    width: auto; /* Let it size based on content */
    text-align: center; /* Keep text centered */
  }
}


/* Slide Show */

.slide-show h2 {
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
}

.slide-show {
  background-color: #FFFFFF;
  padding-bottom: 150px;
  padding-top: 150px;
}

* {
  box-sizing: border-box
}

.mySlides {
  display: none
}

/* Slideshow container */
.slideshow-container {
  width: 30%;
  position: relative;
  margin: auto;
}


/* The dots/bullets/indicators */
.dot {
  height: 7px;
  width: 7px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

@keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {
    font-size: 11px
  }
}

@media (max-width: 640px) {
  .dot {
    height: 5px;
    width: 5px;
  }

}

/* End SlideShow */

.about_position {
  padding-bottom: 100px;
  padding-top: 100px;
}

.pre_misson_height {
  height: 200px;
}

.mission_position {
  padding-bottom: 300px;
}

.aboutUs {
  display: block;
  position: relative;
  background-color: #3e69a9;
  color: white;
  font-weight: bold;
  opacity: 1;
}

.aboutUs p {
  text-transform: uppercase;
  position: relative; 
  overflow: hidden;
}

.aboutUs p>span {
  font-weight: 800;
  font-style: italic;
}

.aboutUs::after {
  content: "";
  background: url(../img/aboutUs_new1.jpg) no-repeat center center;
  background-size: cover;
  opacity: 0.1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;  /* Ensures full width */
  height: 100%; /* Ensures full height */
}

.modal-content {
  width: auto !important;
  padding: 0 3%;
  margin: 20% 0;
}

.equipment_position {
  padding-bottom: 250px;
  padding-top: 250px;
}

.equipment_img {
  position: relative;

}

.equipment_img .caption_2 {
  display: none;
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  background-color: #006D9C;
  opacity: 0.3;
  border-radius: 8px 8px 0 0;
}

.equipment_img .caption_2 p {
  color: #fff;
  text-align: center;
  padding: 20px 0 20px 0;
  font-family: Verdana;
  font-weight: bold;
  letter-spacing: 2px;
  font-style: italic;
}

.equipment_img:hover .caption_2 {
  display: block;
}

.equipment_img:hover {
  border: 1px solid #006D9C;
  border-radius: 8px;
}

.equipment_img img {
  max-width: 100%;
  height: auto;
}



.img-thumbnail {
  border: 1px solid #FFFFFF !important;
}


.map_contacts {
  height: 500px;
  width: 100%;
  display: block;
  float: left;
}

.mig_map_overlay {
  background: transparent;
  position: relative;
  /* width: 2000px;
  height: 500px;
  top: 500px;
  margin-top: -500px; */
}

.mig_google_map {
  width: 100%;
  max-width: 100%;
  height: 500px;
  /* margin-bottom: -15px; */
}

.left-half {
  width: 100%;
  float: left;
}

.contactUs {
  display: block;
  position: relative;
  background-color: black;
  color: white;
  font-weight: bold;
  opacity: 1;
  min-height: 300px;
  padding: 0;
  margin: 0;
}

.contactUs p {
  text-transform: uppercase;
}

.contactUs p>span {
  font-weight: 800;
  font-style: italic;
}

.contactUs::after {
  content: "";
  background: url(../img/truck-head.jpg)  no-repeat center center;
  background-size: cover;
  opacity: 0.3;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.testimonial-background {
  background-color: #3e69a9;
  width: 100%;
}

.testimonial-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.testimonial-card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  border-style: solid;
  border-width: 1px;
  border-color: #b3c724;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  width: 100%;
}

.testimonial-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  /* Align icon and name */
  gap: 0.5rem;
  /* Add spacing between icon and name */
  margin-top: 10px;
}

.quote-icon {
  color: #d9534f;
  font-size: 1.5rem;
}

.testimonial-name {
  font-style: italic;
  font-weight: bold;
}

.testimonial-role {
  font-size: 1rem;
}