@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Yellowtail&display=swap');


* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background-color: #555;
	
	font-family: 'Inter','Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

/* body {
	font-family: sans-serif;
	background-image: url("img/bg.jpg");
	background-size: cover;
	background-position: center;
	min-height: 100vh;
} */

.banner {
	position: relative;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding-top: 2vh;
	overflow: hidden;
	text-align: center;
	
}

.banner::before {
	content: "";
	position: absolute;
	inset: 0;
	top: 34vh;
	background-image: url("img/group.webp");
	background-size: cover;
	background-position: center;
	padding-top: 20px;
	animation: bgZoomIn 4s ease-in-out forwards;
	z-index: -2;
	
}

.banner::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("img/after3.png");
	background-size: cover;
	background-position: top;
	transform: scale(2);
	animation: bgZoomOut 4s ease-in-out forwards;
	z-index: -1;
}

.title {
	width: 100%;
	max-width: 90vw;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 10;
}

.title svg {
	width: 100%;
	height: auto;
	max-width: 600px;
}

svg path {
	fill: transparent;
	stroke: #f2f2f2;
	stroke-width: 0.5;
	stroke-dasharray: 200;
	stroke-dashoffset: 200;
	animation: textAnimation 4s ease-in-out forwards;
}

@keyframes bgZoomIn {
	from {
		transform: scale(1.2);
	}
	to {
		transform: scale(1);
	}
}

@keyframes bgZoomOut {
	from {
		transform: scale(1);
	}
	to {
		transform: scale(2);
	}
}

@keyframes textAnimation {
	0% {
		stroke-dashoffset: 200;
	}
	80% {
		fill: transparent;
	}
	100% {
		fill: #f2f2f2;
		stroke-dashoffset: 0;
	}
}

/* Responsive tweaks */
@media (max-width: 600px) {
	.title svg {
		max-width: 90vw;
	}

	svg path {
		stroke-width: 1;
	}

	.banner {
		padding-top: 12vh;
	}
}

.logo {
	width: 80px;
	margin-bottom: 10px;
	animation: logoDrop 2s ease forwards;
	opacity: 0;
}

@keyframes logoDrop {
	0% {
		transform: translateY(-30px);
		opacity: 0;
	}
	100% {
		transform: translateY(0);
		opacity: 1;
	}
}


.comptech-container {
  /* width: 1142px; */
  width: 100%;
  margin:0 auto;
  background-color: #f2f2f2;
}


.scooter-grid {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 50px 50px ;
}

.scooter-card {
  flex-basis: calc(33.33333% - 30px);
  margin: 0 15px 30px;
  overflow: hidden;
  border-radius: 28px;
}

.scooter-link {
  display: block;
  padding: 30px 20px;
  background-color: #121212;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.scooter-link:hover,
.scooter-link:hover .scooter-specs {
  color: #FFF;
}

.scooter-link:hover .scooter-badge-bg {
  transform: scale(10);
}

.scooter-img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.scooter-title {
  font-weight: bold;
  font-size: 26px;
  color: #FFF;
  z-index: 2;
  position: relative;
  margin-bottom: 12px;
}

.scooter-specs {
  font-size: 16px;
  color: #f9b234;
  z-index: 2;
  position: relative;
  transition: color 0.5s ease;
}

.scooter-badge-bg {
  height: 128px;
  width: 128px;
  background-color: #f9b234;
  z-index: 1;
  position: absolute;
  top: -75px;
  right: -75px;
  border-radius: 50%;
  transition: all 0.5s ease;
}

/* Alternate badge colors for variety */
.scooter-card:nth-child(2n) .scooter-badge-bg { background-color: #3ecd5e; }
.scooter-card:nth-child(3n) .scooter-badge-bg { background-color: #e44002; }
.scooter-card:nth-child(4n) .scooter-badge-bg { background-color: #952aff; }
.scooter-card:nth-child(5n) .scooter-badge-bg { background-color: #cd3e94; }
.scooter-card:nth-child(6n) .scooter-badge-bg { background-color: #4c49ea; }

.view-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #f9b234;
  color: #000;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
  position: relative;
  z-index: 2;
}

.view-btn:hover {
  background-color: #d89e1f;
}

/* Responsive Tweaks */
@media only screen and (max-width: 979px) {
  .scooter-card {
    flex-basis: calc(50% - 30px);
  }
  .scooter-title {
    font-size: 22px;
  }
}

@media only screen and (max-width: 767px) {
  .comptech-container {
    width: 96%;
  }
}

@media only screen and (max-width: 639px) {
  .scooter-card {
    flex-basis: 100%;
  }
  .scooter-title {
    font-size: 20px;
  }
  .scooter-link {
    padding: 22px 40px;
  }
  .scooter-specs {
    font-size: 14px;
  }
}

.features-section {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 20px;
}

.features-heading {
  font-size: 36px;
  color: #000000;
  font-weight: bold;
  position: relative;
  display: inline-block;
}

.features-heading::after {
  content: '';
  width: 60px;
  height: 4px;
  background-color: #f9b234;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}
