* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  line-height: 1.6;
  padding-top: 80px;
}

.navbar {
  background: #111;
  color: white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-size: 15px;
}
.logo {
      display: flex;
      align-items: center;
      text-decoration: none;
    }

    .logo img {
      height: 55px;
      margin-right: 10px;
    }

    .logo span {
      font-size: 1.6rem;
      font-weight: bold;
      color: white;
    }

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  justify-content: center; 
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 12px;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #f39c12;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.hero {
  background: url('banner.jpg') center/cover no-repeat;
  padding: 100px 20px;
  text-align: center;
  color: white;
  background-color: #222;
}

.section {
  padding: 60px 10px;
  text-align: center;
}

.bike-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.bike-card {
  background: white;
  padding: 20px;
  width: 250px;
  border: 1px solid #ccc;
}

.bike-card img {
  width: 100%;
  height: auto;
}

.bike-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }

  .bike-card:hover img {
    transform: scale(1.05);
  }

form {
  max-width: 500px;
  margin: auto;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
}

button {
  padding: 10px 20px;
  background: #111;
  color: white;
  border: none;
  cursor: pointer;
}

button:hover {
  background: #f39c12;
}

footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 20px;
}

.carousel {
  position: relative;
  max-width: 100%;
  height: auto;
  text-align: center;
}

.carousel img {
  width: 100%;
  border-radius: 8px;
  transition: opacity 0.5s ease;
}

.hero-text {
  margin-top: 20px;
}

.bike-showcase {
  padding: 40px 20px;
  background: #f9f9f9;
  position: relative;
}

.scroll-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.scroll-btn {
  background: #111;
  color: white;
  border: none;
  font-size: 30px;
  cursor: pointer;
  padding: 10px;
  z-index: 1;
  transition: background 0.3s;
}

.scroll-btn:hover {
  background: #f39c12;
}

.scroll-btn.left {
  margin-right: 10px;
}

.scroll-btn.right {
  margin-left: 10px;
}

.bike-list {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  scroll-behavior: smooth;
  padding: 20px 0;
  scrollbar-width: none; /* Firefox */
}

.bike-list::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.bike-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 16px;
  width: 250px;
  min-width: 250px;
  flex: 0 0 auto;
  text-align: center;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.bike-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

.specs {
  font-size: 0.9rem;
  color: #555;
}

.services {
  background-color: #f9f9f9;
  padding: 50px 20px;
  text-align: center;
}

.services h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #333;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 25px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
}

.icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.3rem;
  color: #111;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
}

/* Fade in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  animation-name: fadeIn;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
}

/* Staggered delays */
.delay-0 { animation-delay: 0s; }
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }
.delay-4 { animation-delay: 1.2s; }
.delay-5 { animation-delay: 1.5s; }

.services-section {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.services-header h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #222;
}

.services-header p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
}

.service-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.service-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  width: 300px;
  text-align: left;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card .icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #0077cc;
  text-align: center;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
  text-align: center;
}

.service-card ul {
  padding-left: 0;
  list-style: none;
  color: #444;
}

.service-card ul li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.book-now {
  margin-top: 40px;
}

.book-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #0077cc;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.book-btn:hover {
  background-color: #005fa3;
}

@media (max-width: 768px) {
  .service-cards {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    width: 90%;
  }

  .services-header h2 {
    font-size: 2rem;
  }
}

 .services-section {
    max-width: 960px;
    margin: 40px auto 60px;
    padding: 0 20px;
  }

  .services-header {
    text-align: center;
    margin-bottom: 40px;
  }

  .services-header h2 {
    font-size: 2.6rem;
    color: #004a99;
    margin-bottom: 10px;
  }

  .services-header p {
    font-size: 1.15rem;
    color: #555;
  }

  .service-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .service-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    max-width: 300px;
    flex: 1 1 280px;
    padding: 25px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
  }

  .service-card .icon {
    font-size: 3.8rem;
    margin-bottom: 18px;
    color: #0077cc;
  }

  .service-card h3 {
    font-size: 1.7rem;
    margin-bottom: 20px;
    color: #004a99;
  }

  .service-card ul {
    list-style-type: none;
    color: #444;
    font-size: 1rem;
    text-align: left;
    padding-left: 0;
  }

  .service-card ul li {
    padding-left: 1.4em;
    position: relative;
    margin-bottom: 12px;
  }

  .service-card ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #28a745;
  }

  .book-now {
    text-align: center;
    margin-top: 50px;
  }

  .book-btn {
    background-color: #0077cc;
    color: white;
    padding: 14px 40px;
    font-size: 1.15rem;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,119,204,0.6);
    transition: background-color 0.3s ease;
    display: inline-block;
  }

  .book-btn:hover {
    background-color: #005fa3;
  }

  /* Contact Section */
  #contact {
    max-width: 500px;
    margin: 0 auto 60px;
    padding: 0 20px 40px;
  }

  #contact h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 2.4rem;
    color: #004a99;
  }

  #contact form {
    display: flex;
    flex-direction: column;
  }

  #contact input,
  #contact textarea {
    padding: 12px 15px;
    margin-bottom: 18px;
    border: 2px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    resize: vertical;
  }

  #contact input:focus,
  #contact textarea:focus {
    outline: none;
    border-color: #0077cc;
  }

  #contact button {
    background-color: #0077cc;
    color: white;
    font-size: 1.15rem;
    padding: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  #contact button:hover {
    background-color: #005fa3;
  }

  /* Responsive */
  @media (max-width: 720px) {
    .service-cards {
      flex-direction: column;
      align-items: center;
    }
  }

.about-section {
  position: relative;
  background-image: url('TVSCompany1.jpg'); /* Replace with your image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 80px 20px;
  text-align: left;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
  z-index: 0;
}

.about-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  background-color: rgba(255, 0, 0, 0.2); /* semi-transparent blue */
  padding: 20px;
  border-radius: 10px;
}
.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 0.8rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.red-title {
  color: red;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-section {
    padding: 50px 15px;
    min-height: 400px;
  }
  .about-content h2 {
    font-size: 1.8rem;
  }
  .about-content p {
    font-size: 1rem;
  }
}

 /* Marquee container with responsive red background */
    .marquee {
      width: 100%;
      overflow: hidden;
      white-space: nowrap;
      background-color: red; /* Red background */
      color: white;           /* White text */
      padding: 3px 0;        /* Padding for spacing */
    }

    .marquee span {
      display: inline-block;
      animation: marquee-animation 10s linear infinite;
    }

    @keyframes marquee-animation {
      0% {
        transform: translateX(100%);
      }
      100% {
        transform: translateX(-100%);
      }
    }

    /* Responsive design: Adjust padding and speed on smaller screens */
    @media (max-width: 768px) {
      .marquee {
        padding: 5px 0; /* Less padding on small screens */
      }

      .marquee span {
        font-size: 1.2rem; /* Smaller font size on mobile */
      }
    }

    @media (max-width: 480px) {
      .marquee {
        padding: 6px 0; /* Even smaller padding on very small screens */
      }

      .marquee span {
        font-size: 1rem; /* Further reduce text size on very small screens */
      }
    }

/* Section Styling */
.dealer-section {
  background-color: #f9f9f9;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Dealer Card Styling */
.dealer-card {
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 25px;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-family: 'Arial', sans-serif;
}

/* Title */
.dealer-title {
  color: #d32f2f;
  font-weight: bold;
  font-size: 22px;
  margin-bottom: 20px;
}

/* Info Paragraphs */
.dealer-info p {
  margin: 6px 0;
  font-size: 15px;
  line-height: 1.5;
}

.label {
  font-weight: bold;
  display: inline-block;
  min-width: 80px;
}

.status {
  color: #1a73e8;
  font-weight: bold;
  font-size: 13px;
  margin-left: 6px;
}

.checkmark {
  color: #1a73e8;
  font-weight: bold;
  font-size: 16px;
  margin-top: 10px;
}

/* Directions Button */
.directions-btn {
  margin-top: 20px;
}

.directions-btn a {
  background-color: #002d74;
  color: white;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  display: inline-block;
  transition: background 0.3s ease;
}

.directions-btn a:hover {
  background-color: #003b9f;
}
.dealer-divider {
  border: 0;
  height: 1px;
  background-color: #ccc;
  margin: 10px 0 20px 0;
  width: 100%;
}

.book-now-button {

  display: inline-block;

  padding: 12px 24px;

  background-color: #d71920; /* TVS red */

  color: white;

  font-size: 16px;

  text-decoration: none;

  border-radius: 5px;

  font-weight: bold;

  transition: background 0.3s ease;

}

 

.book-now-button:hover {

  background-color: #b0161c;

}

.contact-btn {

  display: inline-block;

  padding: 12px 24px;

  background-color: #d71920;

  color: white;

  text-decoration: none;

  font-weight: bold;

  border-radius: 5px;

  transition: background-color 0.3s ease;

}

.contact-btn:hover {

  background-color: #b0161c;

}

/* Responsive Behavior */
@media (max-width: 600px) {
  .dealer-card {
    padding: 20px;
  }

  .dealer-title {
    font-size: 18px;
  }

  .label {
    min-width: 70px;
  }

  .directions-btn a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-container {
    display: flex;
    justify-content: space-between; /* keeps logo left, toggle right */
    align-items: center;
    padding: 1rem;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;  /* pushes toggle to the right */
    margin-right: 0;    /* ensures no extra gap */
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #222;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 10px 0;
  }

  .nav-links.show {
    display: flex;
  }
}




