/* --- GENERAL RESPONSIVE FIXES --- */
@media (max-width: 900px) {

  /* Layout Strings */
  .section-padding {
    padding: 50px 0 !important;
  }

  .section-header {
    margin-bottom: 30px !important;
  }

  /* Typography Scaling */
  h1,
  .page-header h1 {
    font-size: 2.5rem !important;
    line-height: 1.2;
  }

  .section-title {
    font-size: 1.8rem !important;
  }

  h3 {
    font-size: 1.4rem !important;
  }

  /* Hero Section */
  .hero-content h1 {
    font-size: 2.8rem !important;
    line-height: 1.1;
  }

  .hero-content p {
    font-size: 1rem !important;
    max-width: 100%;
  }

  .hero-btns {
    flex-direction: column;
    gap: 15px;
  }

  .hero-btns .btn {
    width: 100%;
    text-align: center;
    margin: 0 !important;
  }

  /* About Section */
  .about-stats {
    flex-direction: column;
    /* Stack stats */
    align-items: center;
    gap: 30px;
  }

  /* Footer */
  .footer-logo h2 {
    font-size: 1.5rem;
  }

  /* Car Animation in Footer */
  .race-track {
    /* Remove track scaling, it messes up width calculation */
    transform: none;
    height: 50px;
  }

  .race-car {
    transform: scale(0.6);
    /* Scale cars down */
    transform-origin: bottom left;
    /* Keep them on the 'floor' */
    bottom: 5px !important;
  }

  /* Reduce Traffic on Mobile: Hide every 2nd car to prevent 'Traffic Jam' overlap */
  .race-car:nth-child(even) {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem !important;
  }
}