* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  /* color: rgb(152, 9, 9); */
  /* color: #f0a500; */
    overflow-x: hidden;
  width: 100%;
}
/* Make sure images / media are not overflowing */
img, video, iframe {
  max-width: 100%;
  height: auto;
}


/*=== topbar ===*/
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;  
  width: 100%;
}


/*... header ...*/
/*=== topbar header's logo ===*/
.header {
  display: flex;
  justify-content:space-between;
  align-items: center;
  padding: 12px 200px 15px 70px;
  background-color: #f0a500;
}
.header .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header .logo img {
  height: 40px;
  width: auto;
}
.header .logo button{
  border: none;
}
.header .logo h2 {
  margin: 0;
  font-size: 1.8rem;
  color:rgb(152, 9, 9);
  background:#f0a500 ;
}
/*== topbar contact's contact ==*/
.header .contact {
  display: flex;
  align-items: center;
  gap:25px; /* space between items */
  list-style: none; /* if you are using li directly, remove bullets */
  margin: 0;
  padding: 0;
}
.header .contact li a {
  text-decoration: none;
  padding: 6px 12px;
}
.header .contact .signin{
    display: flex;
    flex-direction: row;
    gap:5px;
    width: 150px;
}
.header .contact .signin img{
    margin-top: 15px;
    width: 30px;
    height: 30px;
}
.header .contact .signin a{
    color: rgb(152, 9, 9);
    font-weight: bold;
}
.header .contact li a:hover {
    color: black;
}
/* "Contact Us" button */
.header .contact li.sign button {
  background:rgb(152, 9, 9);
  color:#f0a500;
  border: none;
  padding: 8px 16px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.header .contact li.sign button:hover {
  transform: scale(1.2);
}


/* Hamburger button styling */
.hamburger {
  display: none;
  font-size:2.5rem;
  color:rgb(152, 9, 9);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s;
}

/* ... header's media query ... */
@media (max-width:768px) {
    html, body {
        overflow-x: hidden;
    }
    .header .logo{
        display: flex;
        flex-direction: column;
        margin-left:-10px;
    }
    .header .logo h2{
        font-size: 1.5rem;
    }
    .header .contact {
        flex-direction: column;
        gap: 20px;
        margin-left: 40px;
    }
    .header .contact .signin img{
        margin-top: 10px;
    }
    .header .contact li a,
    .header .contact li.sign button {
        font-size: 0.8rem;
    }
    .header .contact li.sign button {
        padding: 6px 12px;
        margin-left: -42px;
    }
    /* Optional: adjust any padding / margin that might push things out */
    .header {
        padding-left: 20px;
        padding-right: 20px;
    }
    .navBar .navLinks {
        padding-left: 0;  /* instead of 220px */
    }
    .hamburger{
        display: block;
        margin-left:-12px;
    }
}



/*=== navbar ===*/
.navBar {
  display: block;
  background-color:rgb(152, 9, 9) ;
  /* background-color: orangered; */
  height: 80px;
  border-top: 1px solid white;
  padding: 10px;
}
.navBar .navLinks {
  margin: 0 auto;
  padding-left: 220px;
}
.navBar .linkRight {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.5rem;
  gap: 1.5rem;
}

/*=== topbar navbar's Dropdown menu ===*/
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  min-width: 180px;
  padding: 0.5rem 0;
  list-style: none;
}
.dropdown:hover .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(-5);
}
.dropdown-menu li a {
  display: block;
  color:black;
  margin-top:-22px;
  font-size:1rem;
}

.linkRight li {
  position: relative;
}
.linkRight li a {
  text-decoration: none;
  font-size: 1.03rem;
  color: white;
  font-weight: bold;
  padding: 0.5rem 0.75rem;
  transition: background 0.3s, color 0.3s;
}
.linkRight li a:hover {
  /* color:#555; */
  color: #f0a500;
}
.linkRight li.sign button {
  background: red;
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  font-weight: bold;
  box-sizing: border-box;
    /* Pulse animation */
  animation: pulse-btn 2s ease-in-out infinite;
}
/* @keyframes for pulse */
@keyframes pulse-btn {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


/* Mobile / small-screen styles */
@media (max-width:768px) {
  .header{
    height: 150px;
  }
  .navBar {
    display: none;
    width: 100%;
  }
  .navBar.active {
    display: block;
    background:rgb(152, 9, 9);
    height: 60vh;
  }
  .navBar .navLinks {
    padding: 1rem;
  }
  .navBar .linkRight {
    flex-direction: column;
    gap: 0;
  }
  .linkRight li {
    width: 100%;
    margin: 0;
    padding: 0.5rem 0;
  }
  .linkRight li a {
    display: block;
    width: 100%;
    color: #f0a500;
    padding: 0.75rem 1rem;
    background: transparent;
  }
  
  /* Allow scrolling if list is long */
  .navBar.active .linkRight {
    overflow-y: auto;
    max-height: 80vh;
    padding-bottom: 100px; /* space for button visibility */
  }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: transparent;
  }
  .dropdown-menu li a {
    color:white;
    padding-left: 2rem;
  }

}









.hero-specs {
  background: rgb(250, 250, 250);
  color: white;
  padding: 80px 20px;
  text-align: center;

  /* Animation on load */
  opacity: 0;
  transform: scale(0.98);
  animation: specFadeIn 1s ease-out forwards;
  animation-delay: 0.3s;
}
@keyframes specFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


.hero-specs .hero-content {
  max-width: 700px;
  margin: auto;
}

.hero-specs h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: orangered;

  /* Pulsing effect on load + small continuous pulse */
  animation: pulseTitle 2s ease-in-out infinite, specFadeIn 1s ease-out forwards;
  animation-delay: 0.3s;
  transform-origin: center center;
}
@keyframes pulseTitle {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}


.hero-specs p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #555;
}

.selector-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.selector-group select {
  padding: 8px 12px;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  background-color: orangered;
  color: white;

  /* Let options also fade in a little (optional) */
  opacity: 0;
  animation: specFadeIn 1s ease-out forwards;
  animation-delay: 0.5s;
}

.selector-group .btn-explore {
  padding: 8px 16px;
  font-size: 1rem;
  background: black;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;

  opacity: 0;
  animation: specFadeIn 1s ease-out forwards;
  animation-delay: 0.7s;
}

.selector-group .btn-explore:hover {
  background: white;
  border: 1px solid black;
  color: black;
}

/* Media query for <= 768px */
@media only screen and (max-width: 768px) {
  .hero-specs {
    padding: 60px 15px;
  }

  .hero-specs h1 {
    font-size: 2rem;
  }

  .hero-specs p {
    font-size: 1rem;
  }

  .selector-group {
    flex-direction: column;
    align-items: center;
  }

  .selector-group select,
  .selector-group .btn-explore {
    width: 100%;
    max-width: 300px;
  }

  .selector-group select {
    margin-bottom: 10px;
  }
}











.basic-info-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 20px 30px;
  background:orangered;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

  /* Animation: fade in on load */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.basic-info-section h2 {
  /* position: relative; */
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: white;
  margin-left: 250px;
  text-decoration:underline;
}

/* Underline pseudo-element */
.basic-info-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px; /* adjust as needed */
  height: 2px;  /* thickness of underline */
  width: 50%;
  background: black;
  transform-origin: left center;
  animation: underlineGrow 1.5s ease-in-out forwards infinite;
}

/* Keyframes for the underline animation */
@keyframes underlineGrow {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

.basic-info-section h3 {
  font-size: 1.4rem;
  margin-top: 30px;
  margin-bottom: 15px;
  color: black;
  text-decoration: underline;
  margin-left: 300px;
}

.info-grid,
.dimensions-grid,
.weight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.info-item,
.dim-item,
.weight-item {
  display: flex;
  flex-direction: column;
}

.label {
  font-weight: bold;
  color:white;
}

.value {
  margin-top: 4px;
  color: white;
}

@media only screen and (max-width: 768px) {
  .basic-info-section {
    max-width: 95%;
    margin: 40px auto;
    padding: 15px 20px;
  }

  .basic-info-section h2 {
    font-size: 1.5rem;
    margin-left: 0;
    text-align: center;
    /* optional: remove text-decoration if too wide */
    text-decoration: none;
  }

  /* Adjust the animated underline for smaller screens */
  .basic-info-section h2::after {
    left: 50%;
    bottom: -4px;
    width: 40%; /* shorter underline on smaller screens */
    background: black;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    animation: underlineGrowSmall 1.5s ease-in-out forwards;
  }

  @keyframes underlineGrowSmall {
    from {
      transform: translateX(-50%) scaleX(0);
    }
    to {
      transform: translateX(-50%) scaleX(1);
    }
  }

  .basic-info-section h3 {
    font-size: 1.2rem;
    margin-left: 0;
    text-align: center;
    margin-left: -5px;
  }

  .info-grid,
  .dimensions-grid,
  .weight-grid {
    grid-template-columns: 1fr; /* stack items vertically */
    gap: 10px;
    margin-left: 130px;
  }

  .label,
  .value {
    font-size: 0.95rem;
    margin-left: 0;
  }
}










.powertrain-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 30px 20px;
  background: #555;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);

  /* Animation on load */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpPower 0.8s ease-out forwards;
}

@keyframes fadeInUpPower {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.powertrain-section h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color:black;
  text-align: center;
  text-decoration: underline;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.basic-info-section .spec-item .label {
  color: white;
}

.basic-info-section .spec-item .value {
  color: white;
}
@media only screen and (max-width: 768px) {
  .powertrain-section {
    padding: 20px 15px;
  }
  .powertrain-section h2 {
    font-size: 1.6rem;
  }
  .spec-grid {
    grid-template-columns: 1fr;
    margin-left: 130px;
  }
  .spec-item .label {
    font-size: 0.95rem;
  }
  .spec-item .value {
    font-size: 1rem;
  }
}











.perf-metrics-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 30px 20px;
  background: orangered;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);

  /* Animation: fade in on load */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInPerf 0.8s ease-out forwards;
}

@keyframes fadeInPerf {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.perf-metrics-section h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color:black;
  text-align: center;
  text-decoration: underline;
}

.perf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.perf-item {
  display: flex;
  flex-direction: column;
}

.perf-item .label {
  font-weight: bold;
  color: white;
}

.perf-item .value {
  margin-top: 4px;
  color: white;
}

@media only screen and (max-width: 768px) {
  .perf-metrics-section {
    padding: 20px 15px;
  }

  .perf-metrics-section h2 {
    font-size: 1.6rem;
  }

  .perf-grid {
    grid-template-columns: 1fr;
    margin-left: 130px;
  }

  .perf-item .label {
    font-size: 0.95rem;
  }

  .perf-item .value {
    font-size: 1rem;
  }
}












.chassis-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 30px 20px;
  background:#555;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

  /* Animation: fade in on load */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInChassis 0.8s ease-out forwards;
}

@keyframes fadeInChassis {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chassis-section h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color:black;
  text-align: center;
  text-decoration: underline;
}

.chassis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-item .label {
  font-weight: bold;
  color:white;
}

.spec-item .value {
  margin-top: 4px;
  color:white;
}

@media only screen and (max-width: 768px) {
  .chassis-section {
    padding: 20px 15px;
  }
  .chassis-section h2 {
    font-size: 1.6rem;
  }
  .chassis-grid {
    grid-template-columns: 1fr;
    margin-left: 130px;
  }
  .spec-item .label {
    font-size: 0.95rem;
  }
  .spec-item .value {
    font-size: 1rem;
  }
}












.warranty-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 30px 20px;
  background: orangered;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);

  /* Fade-in animation */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInWarranty 0.8s ease-out forwards;
}

@keyframes fadeInWarranty {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.warranty-section h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color:black;
  text-decoration: underline;
  text-align: center;
}

.warranty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.warranty-item {
  display: flex;
  flex-direction: column;
}

.warranty-item .label {
  font-weight: bold;
  color:black;
  text-decoration: underline;
}

.warranty-item .value {
  margin-top: 4px;
  color:white;
  line-height: 1.4;
}

/* Responsive for small screens */
@media only screen and (max-width: 768px) {
  .warranty-section {
    padding: 20px 15px;
  }
  .warranty-section h2 {
    font-size: 1.6rem;
  }
  .warranty-grid {
    grid-template-columns: 1fr;
  }
  .warranty-item .label {
    font-size: 0.95rem;
  }
  .warranty-item .value {
    font-size: 1rem;
  }
}













/* Base reset for footer */
.auto-footer {
  position: relative;
  background:rgb(152, 9, 9);
  /* background: orangered; */
  color: #eee;
  padding-top: 30px; 
  font-family: sans-serif;
  overflow: hidden;
}

.auto-footer .logo{
  display: flex;
  flex-direction: row;
  margin-left: 550px;
  margin-bottom: 30px;
}
.auto-footer .logo button{
  border: none;
  background-color: rgb(152, 9, 9);
}
.auto-footer .logo button h2{
  font-size: 2.5rem;
  color: white;
}

/* Footer content */
.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 20px;
  max-width: 1500px;
  margin: auto;
}


.footer-col {
  flex: 1 1 200px;
  margin: 10px;
}
.footer-col h4 {
  margin-bottom: 10px;
  color: #f0a500;
  /* color: #555; */
  text-shadow: 2px 2px 2px;
  font-size: 1.5rem;

  /* Pulse animation */
  animation: pulse 2s infinite ease-in-out;
  transform-origin: center center;
}
/* Define the pulse keyframes */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


.footer-content .services{
    padding-left: 100px;
}


.footer-col p,
.footer-col ul {
  font-size: 14px;
  line-height: 1.6;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-col ul li a:hover {
  color: #f0a500;
  text-decoration: underline;
}


.social-links {
    margin-top: 30px;
}
.social-links a {
  display: inline-block;
  transition: transform 0.3s, color 0.3s;
  margin: 0 10px;
  color: #ddd;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}
/* Social-links hover animation */
.social-links a {
  display: inline-block;
  transition: transform 0.3s, color 0.3s;
  /* Animation */
  animation: pulse 2s infinite ease-in-out;
  display: inline-block; /* ensures transform works correctly */
  will-change: transform, opacity; /* helps performance */
}
/* Pulse keyframes */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes content-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Footer bottom */
.footer-bottom {
  padding: 15px 100px;
  margin-left: 550px;
  margin-bottom: 20px;
}
.footer-bottom p {
  margin: 0;
  font-size: 13px;
}




/* Responsive for small screens (<= 450px) */
@media (max-width:768px) {
  .auto-footer .logo {
    /* For smaller screens, you probably don't want huge left margin */
    margin-left: 0;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px; /* adjust as needed */
  }

  .auto-footer .logo button {
    width: 100%; /* make button full width or adjust */
    padding: 10px; /* optional padding */
    /* you can change background, border or other styles if needed */
  }

  .auto-footer .logo button h2 {
    font-size: 1.8rem; /* smaller font for smaller screen */
    text-align: center;
  }
  .footer-content {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }
  .footer-col {
    margin: 5px 0;
    text-align: center;
  }
  .footer-content .services{
    padding-left: 2px;
    /* margin-bottom: 30px; */
    /* padding-top: -40px; */
    padding-bottom: 40px;
  }
  .footer-col p, .footer-col ul li a {
    font-size: 12px;
  }
  .footer-bottom {
    margin-left: 2px;
  }
  .social-links{
    margin-left:-1px;
  }
  .social-links img{
    /* width: 25px; */
    margin-top: 25px;
    margin-bottom: 15px;
  }
}
