/* Main CSS Style */

@font-face {
  font-family: 'Exo';
  src: url('../assets/font/Exo/Exo-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: 'Exo';
  src: url('../assets/font/Exo/Exo-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
}

@font-face {
  font-family: 'Source Sans Pro';
  src: url('../assets/font/Source_Sans_3/SourceSans3-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 900;
  font-style: normal;
}

@font-face {
  font-family: 'Source Sans Pro';
  src: url('../assets/font/Source_Sans_3/SourceSans3-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 900;
  font-style: italic;
}

.exo {
  font-family: 'Exo' !important;
}

.source-sans-pro {
  font-family: 'Source Sans Pro' !important;
}

.TED-red {
  color: #d71818 !important;
}

.bg-TED-red {
  background-color: #d71818 !important;
}

.about-blue {
  color: #00205B !important;
}

.svg-white {
  filter: invert(99%) sepia(47%) saturate(0%) hue-rotate(256deg) brightness(110%) contrast(101%);
  border-radius: 10%;
}

.svg-gray {
  filter: invert(72%) sepia(0%) saturate(1239%) hue-rotate(164deg) brightness(83%) contrast(79%);
}

.text-gray {
  color: #939393;
}

.bg-gray {
  background-color: #252525;
}

.bar-red-gradient {
  background: linear-gradient(to right, #591010 0%, #D71818 36%, #591010 100%);
}

.fleet-gradient {
  position: relative;
  width: 100%;
}

.fleet-gradient::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 70%, rgba(255,255,255,1) 95%);
  pointer-events: none;
}

#header-logo {
  width: 313px;
}
#header-phone img {
  width: 25px;
}
#header-phone p {
  font-size: 27px;
  font-weight: 600;
  margin: 0;
}
.nav-item {
  font-size: 25px;
  text-decoration: none;
}
@media (max-width: 1399px) {
  .nav-item {
    font-size: 18px;
  }
}
@media (max-width: 684px) {
  #header-logo {
    width: 150px;
  }
  #header-phone img {
    width: 15px;
  }
  #header-phone p {
    font-size: 18px;
  }
}
@media (max-width: 500px) {
  .navbar-toggler {
    display: none;
  }
}

.hero-title {
  font-size: clamp(50px, 8vw, 130px);
  margin-top: 80px;
}
.hero-title2 {
  font-size: clamp(30px, 5.5vw, 90px);
  font-weight: 600;
  margin-top: -10px;
}

.fold-button {
  font-weight: 500;
  font-size: clamp(20px, 2vw, 30px);
  width: 30vw;
  min-width: 310px;
  max-width: 436px;
  height: 80px;
}
@media (max-width: 684px) {
  .fold-button {
    width: 320px;
    min-width: unset;
    margin: 0 0 20px 0;
  }
}

.certifications {
  font-size: clamp(18px, 2vw, 35px);;
  margin-bottom: 0px;
  letter-spacing: 17%;
}

.statistics-bar {
  background: linear-gradient(to right, #591010 0%, #D71818 36%, #591010 100%);
  height: 1px;
  width: 920px;
  margin: 20px auto;
}
.statistics {
  font-size: clamp(40px, 3vw, 55px);;
  margin: 0px;
  line-height: 1;
}
.statistics-text {
  font-size: clamp(14px, 1.2vw, 22px);
  margin: 0px;
}
@media (max-width: 1199px) {
  .statistics-bar {
    width: 750px;
  }
}
@media (max-width: 991px) {
  .statistics-bar {
    width: 600px;
  }
  #to-about {
    display: none;
  }
}
@media (max-width: 767px) {
  .statistics-bar {
    width: 450px;
  }
  .stats-div {
    margin-bottom: 30px;
  }
}
@media (max-width: 575px) {
  .statistics-bar {
    width: 300px;
  }
}

.about-title {
  font-weight: 300;
  font-size: 50px;
  letter-spacing: -1%;
  line-height: 1.2
}
.about-text {
  font-size: 25px;
  letter-spacing: 1%;
  font-weight: 300;
  line-height: 139%;
}
.about-bar {
  background-color: #00205B;
  margin-top: 5px;
  border: 1px solid #00205B;
  height: 10px;
  width: 32px;
}
@media (max-width: 1099px) {
  .about-title {
    font-size: 40px;
    order: 1;
  }
  .about-text {
    font-size: 20px;
    width: 100%;
    margin-top: 20px;
    order: 2;
  }
}
@media (max-width: 991px) {
  .about-title {
    font-size: 30px;
    width: 120%;
  }
  .about-text {
    font-size: 16px;
    width: 100%;
    text-align: justify;
  }
}
@media (max-width: 400px) {
  .about-title {
    width: 200%;
  }
}

.neumorphic-button {
  background: #ffffff;
  border: none;
  border-radius: 15px;
  box-shadow: 
    1px 5px 12px #bebebe;
  padding: 12px 24px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.neumorphic-div {
  background: #ffffff;
  border: none;
  box-shadow: 
    0px 0px 15px #858585;
}

.neumorphic-services {
  background: #ffffff;
  border: none;
  box-shadow: 
    3px 2.5px 8px #c3c3c3;
  height: 465px;
  width: 365px;
}

.service-description {
  font-size: 15px;
  margin: 0;
  color: #5A5A5A;
}

.service-text {
  max-width: 44%;
  font-size: 17px;
  text-align: left;
}
@media (max-width: 767px) {
  .service-text {
    max-width: 100%;
  }
}

.neumorphic-icon {
  background: #ffffff;
  border: none;
  box-shadow: 
    0.5px 2px 3px #bbbbbb;
}

.neumorphic-icon-red {
  background: #d71818;
  border: none;
  box-shadow: 
    0px 2px 12px #00000040;
}

.neumorphic-image-icon {
  background: #d9d9d9d4;
  border: none;
  border-radius: 0 0 0 10%;
  padding: 8px;
  width: 75px;
  height: 75px;
}

.neumorphic-advantage {
  background: #ffffff;
  border: none;
  border-radius: 10px;
  box-shadow: 
    0px 4px 8px #808080;
  height: 108px;
  width: 145px;
}

.fleet-title {
  font-size: clamp(25px, 3.5vw, 45px);
  letter-spacing: 8.5px;
}

.fleet-button {
  width: 500px;
  height: 60px;
  background-color: #000000;
  border-radius: 0.6rem;
  z-index: 1;
}

.fleet-button p {
  white-space: nowrap;
}

@media (max-width: 991px) {
  .fleet-button {
    width: 450px;
  }
  .fleet-button p {
    font-size: 14px !important;
  }
  .fleet-button img {
    width: 26px !important;
    height: 26px !important;
  }
}
@media (max-width: 767px) {
  .fleet-button {
    width: 400px;
  }
  .fleet-button p {
    font-size: 13px !important;
  }
  .fleet-button img {
    width: 24px !important;
    height: 24px !important;
  }
}
@media (max-width: 575px) {
  .fleet-button {
    width: 95%;
  }
  .fleet-button p {
    font-size: 12px !important;
  }
  .fleet-button img {
    width: 22px !important;
    height: 22px !important;
  }
}
@media (max-width: 400px) {
  .fleet-button p {
    font-size: 10px !important;
    white-space: normal;
  }
  .fleet-button img {
    width: 18px !important;
    height: 18px !important;
  }
  .fleet-button a {
    gap: 4px !important;
  }
}

.neumorphic-fleet {
  background: #ffffff;
  border: none;
  border-radius: 0.6rem;
  box-shadow: 
    3px 2.5px 8px #c3c3c3;
  aspect-ratio: 342 / 352;
  min-height: 290px;
  width: 342px;
  margin: 20px 20px;
  overflow: hidden;
  text-align: left;
  max-width: 100%;
  container-type: inline-size;
}

.neumorphic-fleet .px-4 > p:first-of-type {
  font-size: clamp(16px, 6.4cqi, 22px) !important;
}

.neumorphic-fleet .px-4 > p:nth-of-type(2) {
  font-size: clamp(12px, 4.4cqi, 15px) !important;
}

.neumorphic-fleet .d-flex.gap-2 {
  flex-wrap: wrap;
  align-content: flex-end;
  align-items: flex-end;
  padding-bottom: 15px;
}

.fleet-feature {
  border: none;
  background-color: #d71818;
  border-radius: 5px;
  color: white;
  font-weight: 500;
  flex: none;
  padding: 2px 8px;
  white-space: nowrap;
  font-family: 'Source Sans Pro';
  font-size: 12px;
  margin: 0 !important;
}

.neumorphic-fleet .fleet-feature {
  font-size: clamp(9px, 3.5cqi, 12px);
}

.neumorphic-contact {
  border-radius: 32px;
  width: 1070px;
  height: 640px;
  box-shadow: 
    3px 4px 18px 3.5px #00000040;
}
@media (max-width: 1199px) {
  .neumorphic-contact {
    width: 90%;
    height: auto;
  }
}

.contact-title {
  font-size: clamp(40px, 6vw, 70px);
}

.contact-subtitle {
  font-size: clamp(25px, 3.5vw, 40px);
  line-height: 130%;
}

.contact-text {
  font-size: clamp(18px, 2.5vw, 25px);
}

.neumorphic-form {
  border-radius: 17px;
  background-color: #f9f9f9;
  margin: 20px 40px 20px 0;
  height: 93%;
  box-shadow: 
    2px 3px 23px -3px #00000040;
}
@media (max-width: 1199px) {
  .neumorphic-form {
    margin: 20px 20px 20px 20px;
    height: 600px;
  }
}

.neumorphic-form-card {
  border-radius: 5px;
  background-color: #ffffff;
  box-shadow: 
    0px 3px 8px #00000040;
  transition: 0.3s ease-in-out;
  font-size: 20px;
}
@media (max-width: 991px) {
  .neumorphic-form-card {
    width: 100% !important;
  }
}

.neumorphic-card-btn {
  transition: 0.3s ease-in-out;
}
.neumorphic-card-btn:hover{
  scale: 1.1;
  cursor: pointer;
}

.neumorphic-form-input {
  border-radius: 5px;
  background-color: #ffffff;
  box-shadow: 
    0px 3px 8px #00000040;
  transition: 0.3s ease-in-out;
  font-size: 20px;
  border: none;
  width: 800%;
  width: 350px;
  height: 60px;
}
.neumorphic-form-input:focus {
  outline: none;
}
@media (max-width: 767px) {
  .neumorphic-form-input {
    width: 200px;
  }
}

.info-card {
  border-radius: .8rem;
  padding: 2px 10px 5px 10px;
  overflow: hidden;
  font-size: clamp(14px, 2vw, 20px);
}

.neumorphic-info-card {
  box-shadow: 
    2.5px 3.5px 5.3px 2.5px #00000040;
}

.autocomplete-suggestions {
  position: absolute;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  z-index: 2000;
  max-height: 260px;
  overflow-y: auto;
  width: 100%;
  left: 0;
  top: 100%;
}
.autocomplete-suggestion {
  padding: 10px 16px;
  cursor: pointer;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1.05rem;
  color: #222;
  border-bottom: 1px solid #f3f3f3;
  transition: background 0.13s;
}
.autocomplete-suggestion:last-child {
  border-bottom: none;
}
.autocomplete-suggestion:hover, .autocomplete-suggestion.active {
  background: #ffeaea;
  color: var(--maintheme);
}
.autocomplete-ctn {
  position: relative;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.legal-title {
  height: 280px;
  width: 100%;
  background: linear-gradient(135deg, #d71818 0%, #b31414 100%);
  background-size: cover;
  background-position: center;
}
@media (max-width: 684px) {
  .legal-title {
    height: 420px;
  }
}

/* Responsive address inputs for screens below 550px */
@media (max-width: 549px) {
  #start-address-input,
  #middle-address-input,
  #end-address-input {
    width: 90vw !important;
    max-width: 250px !important;
    font-size: 15px;
  }

  #middle-stops-container {
    width: 90vw !important;
    max-width: 238px !important;
  }

  .address-input {
    width: 70vw !important;
    max-width: 190px !important;
    font-size: 12px;
  }
}