@media screen and (min-width: 1400px) and (max-width: 2400px) {
  /* Container max-width to prevent excessive stretching */
  .container, .container-fluid {
    max-width: 1800px;
    margin: 0 auto;
  }

  /* Announcement section */
  .announcement {
    padding: 5rem 3rem;
    max-width: 1800px;
    margin: 0 auto;
  }

  .announcement-title h1 {
    font-size: clamp(3rem, 4vw, 5rem);
    letter-spacing: 15px;
  }

  .announcement-title p {
    font-size: clamp(1.2rem, 1.5vw, 2rem);
    margin-bottom: 2rem;
  }

  .announcement-image img {
    height: auto;
    max-height: 35rem;
    width: auto;
    max-width: 100%;
  }

  /* Rider/Track section */
  .rider {
    padding: 5rem 3rem;
    max-width: 1800px;
    margin: 0 auto;
  }

  .rider-content h2 {
    font-size: clamp(2.5rem, 3vw, 4rem);
    letter-spacing: 15px;
    margin-bottom: 1.5rem;
  }

  .rider-content p {
    font-size: clamp(1.2rem, 1.5vw, 2rem);
    margin-bottom: 2rem;
  }

  /* Card carousel */
  .card-carousel {
    padding: 0 2rem;
  }

  .card img {
    width: 100%;
    max-width: 25rem;
    transition: transform 0.3s ease;
  }

  .card img:hover {
    transform: scale(1.05);
  }

  .carousel-inner {
    padding: 2em;
  }

  /* Carousel controls */
  .carousel-control-prev,
  .carousel-control-next {
    width: 8vh;
    height: 8vh;
  }

  /* Bike section */
  .bike {
    padding: 5rem 3rem;
    max-width: 1800px;
    margin: 0 auto;
  }

  .bike h2 {
    font-size: clamp(2.5rem, 3vw, 4rem);
    letter-spacing: 15px;
    margin-bottom: 1.5rem;
  }

  .bike p {
    font-size: clamp(1.2rem, 1.5vw, 2rem);
    margin-bottom: 2rem;
  }

  .bike-img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
  }

  .bike-img:hover {
    transform: scale(1.05);
  }

  .bike-text ul {
    margin-top: 3rem;
    font-size: clamp(1.2rem, 1.5vw, 1.8rem);
    letter-spacing: 2px;
  }

  /* Footer */
  .footer-content {
    max-width: 1800px;
    margin: 0 auto;
    padding: 3rem 0;
  }

  .footer-content h5 {
    font-size: clamp(1.2rem, 1.5vw, 2rem);
  }

  .footer-content p, .footer-content a {
    font-size: clamp(1rem, 1.2vw, 1.3rem);
  }
}
@media screen and (min-width: 768px) and (max-width: 1300px) {
  /* Announcement section */
  .announcement {
    padding: 5rem 2rem 2rem;
  }

  .announcement-title h1 {
    font-size: clamp(2rem, 4vw, 2.3rem);
    letter-spacing: 8px;
  }

  .announcement-title p {
    font-size: clamp(1rem, 2vw, 1.5rem);
  }

  .announcement-image img {
    height: auto;
    max-height: 25rem;
    width: auto;
    max-width: 100%;
  }


  /* Bike section */
  .bike {
    padding: 3rem 2rem;
  }

  .bike h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    letter-spacing: 8px;
  }

  .bike p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
  }

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

  .bike-text ul {
    margin-top: 2rem;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    letter-spacing: 1px;
  }
  .bike-text ul{
    border-radius: 35px;
    box-shadow: 0 8px 32px 0 rgb(255, 255, 255), 0 0 0 4px rgb(166, 166, 166);
    list-style: none;
    margin-top: 1px;
    text-align: center;
    color: var(--third-text-color);
    letter-spacing: 1px;
    font-size: 1.2rem;
    padding: 1rem;
  }
}

@media screen and (min-width: 320px) and (max-width: 768px) {
  /* Navbar */
  .navbar {
    padding: 0.5rem;
  }

  #logo {
    width: 2.5rem;
  }

  /* Announcement section */
  .announcement {
    padding-top: 5rem;
    min-height: auto;
    padding-bottom: 2rem;
  }

  .announcement-title h1 {
    color: var(--text-color);
    text-wrap: nowrap;
    letter-spacing: 5px;
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    margin-bottom: 1rem;
  }

  .announcement-title p {
    color: var(--sec-text-color);
    letter-spacing: 1px;
    font-size: clamp(1rem, 4vw, 1.2rem);
    margin-bottom: 1.5rem;
  }





  /* Bike section */
  .bike {
    min-height: auto;
    padding: 3rem 0;
  }

  .bike h2 {
    text-wrap: nowrap;
    color: var(--text-color);
    letter-spacing: 5px;
    font-size: clamp(1.2rem, 6vw, 2rem);
    margin-bottom: 10px;
  }

  .bike p {
    color: var(--sec-text-color);
    letter-spacing: 1px;
    font-size: clamp(0.9rem, 3vw, 1rem);
    margin-bottom: 1rem;
    padding: 0 1rem;
  }

  .bike-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .bike-img {
    max-width: 80%;
    height: auto;
    margin-bottom: 1rem;
  }

  .bike-text ul{
    border-radius: 35px;
    box-shadow: 0 8px 32px 0 rgb(255, 255, 255), 0 0 0 4px rgb(166, 166, 166);
    list-style: none;
    margin-top: 1px;
    text-align: center;
    color: var(--third-text-color);
    letter-spacing: 1px;
    font-size: 1.2rem;
    padding: 1rem;
  }

  /* Footer */
  .footer-content {
    text-align: center;
  }

  .footer-content div {
    margin-bottom: 1.5rem;
  }
}
