@import url("https://rsms.me/inter/inter.css");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons+Round");

*,
*::before,
*::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #000000;
  color:#fff;
}

.xl-text {
  font-size: 5.5rem;
  line-height: 1;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-top: 12rem;
}

.subtext {
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 500;
  color: #c8c8cc;
  text-align: center;
  padding: 55px 0;
}

.road-texture {
  background-image: url("https://static.vecteezy.com/system/resources/previews/000/167/493/non_2x/vector-highway-road-with-metal-traffic-barriers.jpg");
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: cover;
}

.logo {
  position: absolute;
  color: #fff;
  top: 55px;
  left: 50px;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.email-form {
  text-align: center;
  padding: 10px;
}

.email-form input[type="email"] {
  width: 50%;
  max-width: 300px; 
  padding: 10px;
  border-radius: 4px;
  border: none;
  margin-bottom: 20px;
  font-size: 1rem;
  color: #fff;
  background-color: #151519;
  border: 2px solid #1f1f24;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #323131;
}

.email-form button {
  background-color: #fff;
  margin-left: 5px;
  color: #000000;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.social-icons a {
  margin: 0 10px;
}

.social-icons {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
}

img.img-logo {
  width: 24px;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%)
    hue-rotate(137deg) brightness(110%) contrast(101%);
}

img.x-social {
  width: 35px;
}

.features-section {
  padding-top: 60px;
  text-align: center;
  color: #fff;
}

.features-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.feature-item {
  max-width: 300px;
  margin: 20px;
  flex: 1 1 200px;
}

.feature-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

img.feature-image {
  height: 150px;
  width: 150px;
}

.feature-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

h3.feature-title {
  font-weight: 700;
}

.feature-item p {
  font-size: 1rem;
  color: #c8c8cc;
}

.footer {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  text-align: center;
  color: #fff;
}

.footer-vehicles {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65px;
}

.car-img {
  position: absolute;
  bottom: 10px;
  width: 120px;
  height: auto;
}

.bus-img {
  position: absolute;
  bottom: 2px;
  width: 80px;
  height: auto;
}

.truck-img {
  position: absolute;
  bottom: 6px;
  width: 80px;
  height: auto;
}

.car-img {
  animation: carMove 9s ease-out infinite;
}

.bus-img {
  animation: busMove 13s ease-out infinite;
}

.truck-img {
  animation: truckMove 16s ease-out infinite;
}

@keyframes carMove {
  0% {
    left: -150px;
  }
  50% {
    left: calc(50% - 50px);
  }
  100% {
    left: 100%;
  }
}

@keyframes busMove {
  0% {
    left: -1000px;
  }
  50% {
    left: calc(50% - 50px);
  }
  100% {
    left: 100%;
  }
}

@keyframes truckMove {
  0% {
    left: -3000px;
  }
  50% {
    left: calc(50% - 50px);
  }
  100% {
    left: 100%;
  }
}

.road {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #333;
  overflow: hidden;
}

.road-line {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 20px,
    white 20px,
    white 40px
  );
  animation: roadMove 2s linear infinite;
}

@keyframes roadMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-40px);
  }
}

.footer-content {
  position: relative;
  z-index: 1;
  padding-top: 40px;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-description {
  font-size: 1rem;
  color: #c8c8cc;
  margin: 20px 0;
}

.credit-title h1 {
  color: #fff;
  text-align: center;
  margin-top: 160px;
  font-size: 3rem;
  font-weight: bolder;
}

.credit-title {
  color: #fff;
  text-align: center;
  font-size: 1.5rem;
}

.credit-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
  width: 100%;
  margin: 0 auto;
  max-width: 900px; 
}

img.grid-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid gray;
  transition: border 0.3s ease;
}

h2 {
  color: #fff;
}

h3 {
  color: #fff;
  font-weight: 300;
  position: relative;
  bottom: 25px;
  text-wrap: nowrap;
}

.grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

a {
  text-decoration: none;
}

.header-links {
  position: absolute;
  top: 55px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.13rem;
}

.join-heading {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-style: italic;
  overflow: hidden;
  white-space: nowrap;
  margin-left: 15px;
}

.gh-logo {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%)
    hue-rotate(137deg) brightness(110%) contrast(101%);
}

.credits {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 768px) {
  .xl-text {
    font-size: 4rem;
  }

  .subtext {
    font-size: 1.5rem;
  }

  .email-form input[type="email"] {
    width: 80%; 
  }

  .features-container {
    flex-direction: column; 
    align-items: center; 
  }

  .feature-item {
    max-width: 90%; 
  }

  .header-links {
    font-size: 1rem; 
  }
}

@media (max-width: 480px) {
  .xl-text {
    font-size: 3rem; 
  }

  .subtext {
    font-size: 1.2rem; 
  }

  .feature-item h3 {
    font-size: 1.2rem;
  }

  .feature-item p {
    font-size: 0.9rem; 
  }

  .footer-logo {
    font-size: 1rem;
  }

  .footer-description {
    font-size: 0.8rem; 
  }
}


.toast {
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
position: fixed;
top: 3rem;
left: 50%;
transform: translateX(-50%);
padding: 0.75rem 1.5rem;
background-color: rgba(255, 255, 255, 0.9);
color: #333;
border: 1px solid #ddd;
border-radius: 0.5rem;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
font-size: 0.875rem;
font-weight: 500;
z-index: 1000;
transition: opacity 0.3s ease, visibility 0.3s ease;
}

.toast.hidden {
  visibility: hidden;
}

.toast-message {
  font-size: 0.875rem;
  font-weight: 500;
}
