/* === General Reset === */
body, html {
  margin: 0;
  font-family: 'Anek Tamil', sans-serif;
  scroll-behavior: smooth;
  background: #0d1b2a; /* Krishna dark blue base */
  color: #fff;
  
}

/* Navbar */
.custom-navbar {
  background: #fff;
  height: 70px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Brand left */
.custom-navbar .navbar-brand {
  color: #0d1b2a;
  font-weight: 700;
}

/* Center menu */
.custom-navbar .navbar-nav {
  margin: 0 auto; /* center menu horizontally */
  height: 100%;
  display: flex;
  align-items: center;
}

/* Menu items */
.custom-navbar .nav-item {
  height: 100%;
}

.custom-navbar .nav-link {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-weight: 600;
  color: #0d1b2a;
  position: relative; /* for underline */
  transition: color 0.2s;
}

/* Hover color */
.custom-navbar .nav-link:hover {
  color: #007bff;
}

/* Active underline */
.custom-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: #0d1b2a; /* underline color */
  border-radius: 10px;
}

.navbar-brand {
  font-size: 1.5rem; /* default size for desktop/tablet */
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1rem; /* smaller size on mobile */
  }
}
.navbar-toggler {
  border: none;
  outline: none;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%230a1931' viewBox='0 0 30 30'><path stroke='%230a1931' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>");
}

/* Mobile menu design */
@media (max-width: 991px) {
  .custom-navbar .navbar-collapse {
    background-color: #fff; /* White dropdown */
    padding: 1rem;
    border-radius: 0 0 10px 10px;
  }
  .custom-navbar .nav-link {
    display: block;
    padding: 0.75rem 0;
    color: #0a1931; /* Blue text */
    font-size: 1.1rem;
    text-align: center;
    font-weight: 500;
  }
  .custom-navbar .nav-link:hover,
  .custom-navbar .nav-link.active {
    color: #0077b6; /* lighter blue highlight */
  }
}




    /* make sure nav-link is positioned for pseudo-element (only for desktop) */
    @media (min-width: 992px) {
      .custom-navbar .nav-link { position: relative; }
    }

    /* ---------- BODY / SECTION LAYOUT (for testing ScrollSpy) ---------- */
   

    section {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      color: #fff;
    }
    



/* === Hero Section === */
.hero {
  margin-top: 70px;        /* keep navbar space */
             /* desired height */
  position: relative;
  overflow: hidden;
}

.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item {
  height: 100%;            /* inherit full height of .hero */
}

.hero .carousel-item img {
  height: 100%;            /* force to fill height */
  width: 100%;
  object-fit: cover;        /* crop nicely */
}


.hero .btn {
  margin-top: 20px;
  background: #3B82F6;
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 30px;
  transition: background 0.3s ease;
}

.hero .btn:hover {
  background: #2563EB;
}

.about-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
 
}

.section-title {
  font-size: 2.5rem;
}

.about-section p i {
  color: #1E3A8A; /* icon color */
  margin-right: 10px;
  font-size: 1.2rem;
}

/* === Bike Section === */
#models {
  background: #f9f9f9;
}

#models .section-title {
  color: #0d1b2a;
}

/* Bike card */
.bike-card {
  position: relative;
  width: 250px;
  height: 250px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 auto;
  padding: 0; /* remove padding so image touches edges */
}

.bike-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

/* Bike image */
.bike-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills box */
  display: block;
}

/* Overlay labels */
.bike-card .position-absolute {
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}



