@font-face {
  font-family: 'Bethany Elingston';
  src: url('../fonts/bethany_elingston/BethanyElingston.otf') format('opentype');
}
* {
  font-family: 'Bethany Elingston', sans-serif;
}
* > body {
  line-height: 1.5; /* Adjust spacing between lines */
  letter-spacing: 1px; /* Adjust spacing between letters */
}
/* Header */
.header {
    transition: all .3s ease-in-out;
    background-color: #000;
}
.header-up {
    transform: translateY(-100%);
}
.header-down {
    transform: translateY(0);
}
/* Desktop nav animations */
/* Arrow Rotation for dropdown - Apply only to navigation links */
nav .group:hover .fa-chevron-down {
  transform: rotate(180deg);
  transition: transform 0.3s ease-in-out;
}
/* Bottom border and text color change for all nav links */
nav a {
  position: relative;
  display: inline-block; /* Ensures proper width handling */
  color: #4A5568; /* Default text color */
  transition: color 0.3s ease;
}
nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #f87171; /* Red line color */
  transform: scaleX(0); /* Hide the line initially */
  transform-origin: center;
  transition: transform 0.3s ease;
}
nav a:hover {
  color: #f87171; /* Change text color to red when hovered */
}
nav a:hover::after {
  transform: scaleX(1); /* Show the line */
}
/* Dropdown visibility for both third and fifth links */
nav .th-link:hover .th-link-dropdown-menu,
nav .fifth-link:hover .fifth-link-dropdown-menu {
  display: block; /* Show dropdown when hovering over parent link */
}
nav .th-link .th-link-dropdown-menu,
nav .fifth-link .fifth-link-dropdown-menu {
  display: none; /* Hide the dropdown by default */
  position: absolute;
  top: 70%;
  left: 0;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 100%;
  padding: 10px 0;
  z-index: 10;
}
/* Parallax Effect */
.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-attachment: fixed; /* Keeps the background fixed */
  background-size: cover;
}
/* Optional smooth scrolling effect */
body {
  height: 200vh;
}
.h-review {
  height: 30vh
}
/* Slider */
.slider-container {
  overflow: hidden;
  position: relative;
  max-width: 100%;
  height: 80vh;
}
.slider {
  display: flex;
  transition: transform 0.6s ease-in-out;
  height: 100%;
}
.slide {
  max-width: 40%; /* Two slides per view */
  flex-shrink: 0;
  margin: 0 5%;
  height: 100%;
}
.leading-50 {
  line-height: 1.2rem;
}
/* footer */
.footer {
  background-color: #000;
}
/* Ourfleet slider */
/* Ourfleet slider */
.ourfleet-slider-container {
  overflow: hidden;
  position: relative;
  max-width: 100%;
  height: 80vh;
}
.ourfleet-Slider {
  display: flex;
  transition: transform 0.6s ease-in-out;
  height: 100%;
}
.ourfleet-slide {
  width: 30.5%; /* Default for desktop */
  margin: 0 1.333%;
  flex-shrink: 0;
  height: 100%;
}
@media screen and (max-width: 768px) {
  .slide {
    max-width: 90%; /* Two slides per view */
    flex-shrink: 0;
    margin: 0 5%;
  }
  .ourfleet-slide {
    width: 100%; /* Show one slide at a time */
    margin: 0;
  }
}



