:root {
  --yellow: #db4242;       /* main red */
  --light-yellow: #ffbaba; /* lighter red */
  --black: #130f40;
  --light-color: #666;
  --border: .1rem solid rgba(0, 0, 0, 0.1);
  --box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
}

* {
  font-family: 'Poppins', sans-serif;
  margin: 0; 
  padding: 0;
  box-sizing: border-box;
  outline: none; 
  border: none;
  text-decoration: none;
  text-transform: capitalize;
  transition: all .2s linear;
}

html {
  font-size: 62.5%;
  scroll-padding-top: 7rem;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  height: 300rem;
}

section {
  padding: 2rem 9%;
}
.heading {
  text-align: center;
  padding-bottom: 2rem;
  font-size: 4.5rem;
  color: var(--black);
  position: relative;  /* for the span pseudo-element */
}

.heading span {
  color: var(--yellow);
  position: relative;
  z-index: 1; /* ensure text is above pseudo-element */
}

.heading span::before {
  content: '';
  position: absolute;
  bottom: 0; /* highlight behind text */
  left: 0;
  width: 100%;
  height: 0.5rem; /* adjust thickness of highlight */
  background: var(--yellow);
  z-index: 0; /* behind the text */
  border-radius: 2px;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  border-radius: .5rem;
  background: var(--light-yellow);
  color: var(--black);
  font-weight: 500;
  font-size: 1.7rem;
  cursor: pointer;
  padding: 1rem 3rem;   /* fixed (was 8rem, too big) */
}

.btn:hover {
  background: var(--yellow); /* fixed syntax */
}

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 9%;
  box-shadow: var(--box-shadow);
}

.logo {
  font-size: 2.5rem;
  color: var(--black);
  font-weight: bolder;
}

.logo span {
  color: var(--yellow);
}

.navbar a {
  font-size: 1.7rem;
  margin: 0 1rem;
  color: var(--black);
}

.navbar a:hover {
  color: var(--yellow);
}

/* Login form */
.login-form-container {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 1000; /* ensures it’s above everything */
}
     
.login-form-container.active {
  opacity: 1;
  pointer-events: auto; /* allow clicks */
}

.login-form-container form {
  position: relative;
  padding: 2rem;
  margin: 2rem;
  border-radius: 1rem;
  box-shadow: var(--box-shadow);
  border: var(--border);
  text-align: center;
  width: 40rem;
  max-width: 90%;
  background: #fff;
}

.login-form-container form h3 {
  color: var(--black);
  font-size: 2.5rem;
  padding-bottom: 1rem;
  text-transform: uppercase;
}

.login-form-container form .box {
  width: 100%;
  margin: 1rem 0;
  text-transform: none;
  color: var(--black);
  font-size: 1.6rem;
  padding: 1rem 1.2rem;
  border: var(--border);
  border-radius: .5rem;
}

.login-form-container form p {
  padding: 1rem 0;
  font-size: 1.5rem;
  color: var(--light-color);
}

.login-form-container form p a {
  color: var(--yellow);
  text-decoration: underline;
}

.login-form-container form .btn {
  display: block;
  width: 100%;
  margin: 1.5rem 0;
  background: var(--yellow);
  color: var(--black);
  font-size: 1.6rem;
  padding: 1rem;
  border-radius: .5rem;
  cursor: pointer;
}

.buttons {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* Close button */
#close-login-form {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 3rem;
  color: var(--black);
  cursor: pointer;
  z-index: 10;
}

/* Home section */
.home {
  height: 100vh;
  width: 100%;
  background: url('https://i.pinimg.com/1200x/8e/90/dc/8e90dccc7db91b111dac33180ffd28f2.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.home h1 {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: clamp(3rem, 8vw, 7rem);
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
  line-height: 1.2;
}
.home::before {
  background: rgba(0,0,0,0.35);
}
.home > *:not(.terms-and-conditions) { opacity:0; transform:translateY(40px);}
.scroll-up-visible { opacity:1; transform: translateY(0);}
.home img, .home .btn, .home .home-parallax { display: none; }

.home .vehicle-filters {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  z-index: 2;
  margin-top: 2rem;
}

.home .vehicle-filters select {
  padding: 1.2rem 2rem;
  border-radius: 0.8rem;
  border: var(--border);
  font-size: 1.6rem;
  min-width: 200px;
  text-align: center;
  font-weight: 600;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.home .vehicle-filters select:hover,
.home .vehicle-filters select:focus {
  border-color: var(--yellow);
  box-shadow: 0 5px 15px rgba(219, 66, 66, 0.3);
  outline: none;
}

/* Responsive Hero Filters */
@media (max-width: 768px) {
  .home .vehicle-filters {
    flex-direction: column;
    gap: 1rem;
  }

  .home .vehicle-filters select {
    min-width: 100%;
  }
}
a:focus, button:focus {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}


/* Optional: subtle overlay for text readability */
.home::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35); /* pick one */
  z-index: 0;
}

.home h1 {
  position: relative; /* stay above overlay */
  z-index: 2;
  color: #fff;
  font-size: clamp(3rem, 8vw, 7rem);
  text-align: center;
  text-transform: uppercase;
  margin: 0;
}




/* Remove all hero hover effects */
.home img,
.home .btn,
.home .home-parallax {
  display: none; /* hide any old images, buttons, parallax elements */
}


.icons-cointainer {
  padding-top: 5rem;
  padding-bottom: 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr)); /* fixed typo */
  gap: 1.5rem;
  background: #eee;
}

.icons-cointainer .icon {  /* fixed class name */
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: #fff;
  box-shadow: var(--box-shadow);
  border-radius: .5rem;
  transition: all 0.3s ease;
}

.icons-cointainer .icon i {
  height: 6rem;  /* fixed unit */
  width: 6rem;   /* fixed unit */
  line-height: 6rem; /* fixed unit */
  font-size: 2.5rem;
  border-radius: 50%;
  background: #eee;
  color: var(--black);
  text-align: center;
}

.icons-cointainer .icon .content h3 {
  color: var(--yellow);
  font-size: 2.5rem;
}

.icons-cointainer .icon .content p {
  color: var(--light-color);
  font-size: 1.5rem;
}

/* Hover effects */
.icons-cointainer .icon:hover {
  background: var(--black);
}

.icons-cointainer .icon:hover i {
  background: var(--yellow);
}

.icons-cointainer .icon:hover .content h3 {
  color: #fff;
}

.icons-cointainer .icon:hover .content p {
  color: #eee;
}
#searchBrand, #searchModel {
  padding: 0.8rem 1rem;
  font-size: 1.5rem;
  border: var(--border);
  border-radius: .5rem;
  background: #fff;
  color: var(--black);
  margin-right: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

#searchBrand:hover, #searchModel:hover,
#searchBrand:focus, #searchModel:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 5px var(--yellow);
  outline: none;
}
/* Filter inside hero */
.home .vehicle-filters {
  position: relative; /* relative to hero */
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 3rem;
  z-index: 2; /* above overlay */
}

.home .vehicle-filters select {
  padding: 1rem 1.5rem;
  border-radius: .5rem;
  border: var(--border);
  font-size: 1.6rem;
  color: var(--black);
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 180px;
}

.home .vehicle-filters select:hover,
.home .vehicle-filters select:focus {
  border-color: var(--yellow);
  box-shadow: 0 4px 10px rgba(219, 66, 66, 0.2);
  outline: none;
}

/* Adjust hero spacing */
.home h1 {
  color: #fff;
  font-size: clamp(3rem, 8vw, 7rem);
  text-align: center;
  margin-bottom: 2rem; /* space above filters */
  z-index: 2;
  position: relative;
}

/* Vehicles Section */

.vehicles {
  padding: 5rem 9%;
  background: #f9f9f9;
}

.vehicles .heading {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
}

.vehicles .heading span {
  color: var(--yellow);
}

/* Vehicle grid layout */
/* Vehicle grid layout */
/* Vehicles Grid */
.vehicles .vehicle-slider {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 5rem;
  min-height: 500px; 

}

/* Responsive */
@media (max-width: 991px) {
  html { font-size: 55%; }
  section { padding: 2rem; }
}

@media (max-width: 768px) {
  .vehicles .vehicle-slider {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 450px) {
  .vehicles .vehicle-slider {
    grid-template-columns: 1fr;
  }
  html { font-size: 50%; }
}


/* Individual car box */
.vehicles .vehicle-slider .box {
  background: #fff;
  border-radius: .5rem;
  box-shadow: var(--box-shadow);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s;
}

.vehicles .vehicle-slider .box:hover {
  transform: translateY(-10px);
}

/* Car image */
.vehicles .vehicle-slider .box img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s;
}

.vehicles .vehicle-slider .box img:hover {
  transform: scale(1.05);
}

/* Car content */
.vehicles .vehicle-slider .content {
  padding: 1.5rem;
}

.vehicles .vehicle-slider .content h3 {
  font-size: 2rem;
  color: var(--black);
}

.vehicles .vehicle-slider .content .price {
  font-size: 2rem;
  color: var(--yellow);
  margin: 1rem 0;
  font-weight: bold;
}

.vehicles .vehicle-slider .content p {
  font-size: 1.3rem;
  color: var(--light-color);
  line-height: 1.5;
  border-top: var(--border);
  padding-top: 0.8rem;
}

/* Button */
.vehicles .vehicle-slider .btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  background: var(--yellow);
  color: var(--black);
  font-size: 1.3rem;
  border-radius: .5rem;
  transition: background 0.3s;
}

.vehicles .vehicle-slider .btn:hover {
  background: var(--black);
  color: #fff;
}
.checkout-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.checkout-modal .checkout-content {
  background: #fff;
  padding: 3rem 2rem; 
  border-radius: 0.3rem;
  width: 90%;
  max-width: 800px;
  text-align: center;
  position: relative;
  font-size: 1.4rem;
  overflow-y: auto; /* në rast se modal ka shumë përmbajtje */
  max-height: 90vh; /* nuk del jashtë ekranit */
}

.checkout-modal .checkout-content img {
  max-width: 75%;
  max-height: 500px;
  object-fit: contain;
  margin: 1rem auto;
  display: block;
  border-radius: 8px;
}

/* Car info boxes */
.modal-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
}

.modal-info .info-box {
  flex: 1 1 45%;
  background: #f1f1f1;
  padding: 0.7rem 1rem;
  border-radius: 0.3rem;
  text-align: center;
  font-size: 1.2rem;
  position: relative; /* për butonin remove në të njëjtin konteiner */
}

.modal-info .info-box span {
  display: block;
  font-weight: bold;
  color: var(--yellow);
  font-size: 1.3rem;
}
.modal-slider {
  display: flex;
  overflow: hidden;
  width: 100%;
  touch-action: pan-y; /* allow vertical scroll outside slider */
}

.modal-slider .slide {
  min-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease-in-out;
}

/* Close button */
.checkout-content .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2rem;
  cursor: pointer;
}

/* Vehicle images inside slider */
.vehicle-slider .vehicle-box img,
.checkout-modal .checkout-content img {
  max-width: 75%;
  max-height: 500px;
  object-fit: contain;
  margin: 1rem auto;
  display: block;
  border-radius: 8px;
}


.image-box {
  position: relative;
  width: 80%;        /* bigger box */
  max-width: 600px;  /* limit max size */
  margin: 2rem auto; /* center vertically with spacing */
}

/* Image styling */
.image-box img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: contain;
}

/* Remove button in center of image */
.remove-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 75, 92, 0.85);
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 10;
  transition: background 0.3s;
}

.remove-btn:hover {
  background: rgba(255, 31, 58, 0.85);
}


/* Company contact section */
.company-contact {
  background: #f9f9f9;
  padding: 1.5rem; /* reduced slightly */
  border-radius: .5rem;
  margin-top: 1.5rem;
  text-align: left;
  font-size: 1.6rem; /* slightly smaller than before */
}

.company-contact h4 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--black);
}

.company-contact p {
  display: flex;
  align-items: center;
  gap: 0.8rem; /* tighter spacing */
  margin-bottom: 0.6rem;
}

.company-contact i {
  font-size: 1.8rem;
  color: var(--yellow);
}

.company-contact a {
  color: var(--black);
  font-weight: bold;
  text-decoration: none;
}

.company-contact a:hover {
  text-decoration: underline;
}


/* Modal gallery */
/* Modal gallery */
.modal-gallery {
  display: flex;
  overflow: hidden;
  position: relative;
  margin: 1.2rem 0;   /* slightly smaller margin */
  cursor: pointer;
  border-radius: .4rem; /* slightly smaller radius */
}

.modal-gallery img {
  min-width: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.modal-gallery img:hover {
  transform: scale(1.02); /* slightly smaller zoom */
}

/* arrows */
.modal-gallery .prev, .modal-gallery .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7); /* slightly lighter */
  border: none;
  font-size: 1.2rem;  /* smaller arrows */
  padding: .1rem .5rem; /* smaller padding */
  cursor: pointer;
  border-radius: .2rem;
  z-index: 10;
}

.modal-gallery .prev { left: .3rem; }
.modal-gallery .next { right: .3rem; }

/* Fullscreen overlay */
.fullscreen-overlay {
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center; align-items: center;
  z-index: 10000;
}

.fullscreen-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: .5rem;
}
.view-all-cars {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
}

.view-all-btn {
  display: inline-block;
  background: #db4242; /* your main color */
  color: #fff;
  font-size: 1.3rem;
  font-weight: bold;
  padding: 15px 40px;
  border-radius: 10px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.view-all-btn:hover {
  background: #ffbaba;
  color: #130f40;
  transform: translateY(-3px);
}

.services {
  padding: 6rem 2rem;
  background: #f8f9fa;
  text-align: center;
}

.services .heading {
  font-size: 3.5rem;
  margin-bottom: 4rem;
  color: var(--black);
}

.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row on desktop */
  gap: 3rem;
}

/* Responsive for tablets and mobiles */
@media (max-width: 1024px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
  }
}

.service-box {
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  box-shadow: var(--box-shadow);
  transition: all 0.4s ease;
  cursor: pointer;
}

.service-box i {
  font-size: 4rem; /* bigger icon */
  color: var(--yellow);
  margin-bottom: 1.5rem;
  transition: color 0.4s ease;
}

.service-box h3 {
  font-size: 2rem; /* bigger title */
  margin-bottom: 1rem;
  color: var(--black);
  transition: color 0.4s ease;
}

.service-box p {
  font-size: 1.1rem; /* bigger text */
  color: var(--light-color);
  line-height: 1.8;
  transition: color 0.4s ease;
}

.service-box:hover {
  transform: translateY(-12px) scale(1.05);
  background: var(--yellow);
  box-shadow: 0 .8rem 2rem rgba(0, 0, 0, 0.25);
}

.service-box:hover i,
.service-box:hover h3,
.service-box:hover p {
  color: #fff;
}
/* Featured Section */
.featured {
  padding: 2rem;
  background: #f8f9fa;
}

/* Container & Slider */
.featured-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.featured-slider {
  display: flex;
  gap: 1rem; /* space between boxes */
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

/* Vehicle Box */
.featured-box {
  flex: 0 0 calc(33.333% - 0.8rem); /* 3 boxes per row */
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
  font-size: 1rem; /* slightly bigger text */
  height: 350px; /* smaller box */
}

.featured-box:hover {
  transform: scale(1.03);
}

/* Vehicle Image */
.featured-box img {
  width: 100%;
  height: 200px; /* smaller image */
  object-fit: cover;
  border-radius: 1rem 1rem 0 0;
}

/* Box Content */
.featured-box .content {
  flex: 1;
  padding: 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.1rem; /* less space between text */
}

.featured-box .content h3 {
  font-size: 1.2rem; /* bigger title */
  margin: 0;
  font-weight: bold;
}

.featured-box .content p {
  font-size: 1rem; /* bigger text */
  margin: 0;
  color: var(--light-color);
  line-height: 1.3;
}

.featured-box .price {
  font-size: 1.1rem; /* bigger price */
  font-weight: bold;
  margin: 0;
  color: #db4242;
}

/* Button */
.featured-box .btn {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: var(--yellow);
  color: #fff;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 1.3rem;
  transition: 0.3s;
}

.featured-box .btn:hover {
  background: #db4242;
}

/* Badge */
.badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.3rem 0.7rem;
  border-radius: 0.4rem;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem; /* bigger badge */
}

.badge.new { background: #28a745; }
.badge.hot { background: #dc3545; }
.badge.deal { background: #ffc107; color: #000; }

/* Slider Buttons */
.slider-btn {
  background: var(--yellow);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  transition: 0.3s;
}

.slider-btn:hover { background: #db4242; }
.slider-btn.prev { left: 0.5rem; }
.slider-btn.next { right: 0.5rem; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .featured-box {
    flex: 1 1 calc((100% - 1.5rem) / 2); /* 2 boxes per row */
    height: 280px;
  }
  .featured-box img { height: 140px; }
}

@media (max-width: 768px) {
  .featured-box {
    flex: 1 1 90%; /* single box width */
    margin: 0 auto;
    height: 260px;
  }
  .featured-box img { height: 160px; }
  .featured-box .content h3 { font-size: 1.3rem; }
  .featured-box .content p { font-size: 1.1rem; }
  .featured-box .price { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .featured-box {
    flex: 1 1 100%;
    height: 240px;
  }
  .featured-box img { height: 120px; }
}

.reviews {
  padding: 5rem 5%;
  background: 
    linear-gradient(to right, rgba(248,249,250,0.8), rgba(233,236,239,0.8)),
    url('https://i.postimg.cc/nhN2fz8t/a2a87b54-c4fd-4a40-9ed7-4ee579911e45.jpg') center/cover no-repeat;
  text-align: center;
  position: relative;
}


.reviews .heading {
  font-size: 3rem;
  margin-bottom: 3rem;
  color: var(--black);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.reviews-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 1rem;
}

.reviews-slider-wrapper {
  overflow-x: auto;
  flex: 1;
}

.reviews-slider {
  display: flex;
  gap: 2rem;
  flex-wrap: nowrap;
  justify-content: center;
  padding-bottom: 1rem;
}

.reviews-slider::-webkit-scrollbar {
  display: none;
}

.review-box {
  flex: 0 0 320px;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 1rem 2rem rgba(0,0,0,0.1);
  padding: 2rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.review-box.featured-review {
  flex: 0 0 380px;
  transform: scale(1.05);
  z-index: 5;
}

.review-box img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 1.5rem;
  border: 3px solid var(--yellow);
}

.review-box .review-content p {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  color: #495057;
  font-style: italic;
  line-height: 1.6;
}

.review-box .review-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.3rem;
}

.review-box .review-content span {
  font-size: 0.9rem;
  color: #6c757d;
}

/* Hover Effect */
.review-box:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 1.5rem 3rem rgba(0,0,0,0.2);
}

/* Slider buttons */
.reviews .slider-btn {
  background: var(--yellow);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10;
}

.reviews .slider-btn:hover { background: #db4242; }
.reviews .slider-btn.prev { margin-right: 0.5rem; }
.reviews .slider-btn.next { margin-left: 0.5rem; }

/* Review Form */
.review-form-container {
  margin-top: 4rem;
  background: #fff;
  padding: 2.5rem;
  border-radius: 1.2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 1rem 2rem rgba(0,0,0,0.1);
}

.review-form-container h3 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: var(--black);
  font-weight: 700;
}

.review-form-container input,
.review-form-container textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  border-radius: 0.6rem;
  border: 1px solid #ced4da;
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
}

.review-form-container input:focus,
.review-form-container textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 8px rgba(255, 190, 0, 0.3);
}

.review-form-container button.btn {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  border-radius: 0.6rem;
  border: none;
  background: var(--yellow);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.review-form-container button.btn:hover {
  background: #db4242;
}

/* Responsive Reviews */
@media screen and (max-width: 992px) {
  .review-box { flex: 0 0 45%; }
  .review-box.featured-review { flex: 0 0 100%; }
}

@media screen and (max-width: 600px) {
  .review-box { flex: 0 0 100%; }
}
/* ===== Initial state: hidden and slightly below ===== */
.home > *:not(.terms-and-conditions),
.services > *:not(.terms-and-conditions),
.vehicles > *:not(.terms-and-conditions),
.reviews > *:not(.terms-and-conditions),
.footer > *:not(.terms-and-conditions) 
.contact > *:not(.terms-and-conditions) {

  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

/* ===== Visible state: fade in and move up ===== */
.scroll-up-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ===== Staggered animation using nth-child ===== */
.home > *:not(.terms-and-conditions):nth-child(1),
.services > *:not(.terms-and-conditions):nth-child(1),
.vehicles > *:not(.terms-and-conditions):nth-child(1),
.reviews > *:not(.terms-and-conditions):nth-child(1),
.contact > *:not(.terms-and-conditions):nth-child(1),
.footer > *:not(.terms-and-conditions):nth-child(1) { transition-delay: 0.1s; }

.home > *:not(.terms-and-conditions):nth-child(2),
.services > *:not(.terms-and-conditions):nth-child(2),
.vehicles > *:not(.terms-and-conditions):nth-child(2),
.reviews > *:not(.terms-and-conditions):nth-child(2),
.contact > *:not(.terms-and-conditions):nth-child(2),

.footer > *:not(.terms-and-conditions):nth-child(2) { transition-delay: 0.2s; }

.home > *:not(.terms-and-conditions):nth-child(3),
.services > *:not(.terms-and-conditions):nth-child(3),
.vehicles > *:not(.terms-and-conditions):nth-child(3),
.reviews > *:not(.terms-and-conditions):nth-child(3),
.contact > *:not(.terms-and-conditions):nth-child(3),

.footer > *:not(.terms-and-conditions):nth-child(3) { transition-delay: 0.3s; }

/* Add more nth-child rules as needed */


/* ===== Contact Section ===== */
.contact {
  padding: 5rem 5%;
  background: linear-gradient(to right, #f8f9fa, #e9ecef);
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.contact-info h2 {
  font-size: 2.5rem; /* increased from 2rem */
  margin-bottom: 1rem;
  color: #333;
}

.contact-info p {
  margin-bottom: 1.5rem;
  color: #555;
  font-size: 1.3rem; /* increased from default */
}

.info-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.info-box i {
  font-size: 1.8rem; /* increased from 1.5rem */
  color: #db4242;
}

.info-box:hover {
  transform: translateX(10px);
}

.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  animation: fadeInUp 1s ease;
}

.contact-form h3 {
  margin-bottom: 1.5rem;
  font-size: 2rem; /* increased from default */
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 1rem; /* increased from 0.9rem */
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
  font-size: 1.2rem; /* increased from default */
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #db4242;
  box-shadow: 0 0 5px rgba(219,66,66,0.4);
}

.contact-form .btn {
  width: 100%;
  padding: 1.2rem; /* increased from 1rem */
  border: none;
  border-radius: 10px;
  background: #db4242;
  color: #fff;
  font-size: 1.3rem; /* increased from 1.1rem */
  cursor: pointer;
  transition: 0.3s;
}

.contact-form .btn:hover {
  background: #b52f2f;
}

.contact-map iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Footer ===== */
.site-footer {
  background: #111;
  color: #ddd;
  padding: 5rem 5% 3rem;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

@media(max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr; /* stack columns on mobile */
    gap: 2rem;
  }
}

/* ===== Footer Headings ===== */
/* ===== Footer Headings ===== */
.footer-col h4 {
  color: #fff;
  font-size: 1.8rem; /* bigger and readable */
  margin-bottom: 1.2rem;
  position: relative;
}

.footer-col h4::after {
  content: "";
  width: 50px;
  height: 3px;
  background: #db4242;
  position: absolute;
  left: 0;
  bottom: -8px;
}

/* ===== Footer Lists ===== */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin: 0.7rem 0;
}

.footer-col ul li a {
  color: #ffecec;
  text-decoration: none;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #fff;
}

/* ===== Footer Paragraphs ===== */
.footer-col p {
  margin: 0.7rem 0;
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 0.6rem; /* space between icon and text */
}

/* ===== Social Links ===== */
.social-links a {
  display: inline-block;
  margin: 0 10px;
  color: #fff7f7;
  font-size: 1.8rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  color: #db4242;
  transform: translateY(-3px);
}

/* ===== Footer Bottom ===== */
.footer-bottom {
  text-align: center;
  font-size: 1.3rem; /* larger and readable */
  color: #aaa;
  margin-top: 2rem; /* spacing from footer content */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
}


.footer-col.contact {
  background: #1a1a1a; /* subtle background for Contact Us */
  padding: 1.5rem 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.footer-col.contact p i {
  color: #db4242; /* icon color */
  font-size: 1.6rem; /* bigger icons */
}
/* ===== Contact Us Box Styling ===== */
.footer-contact {
  background: #1a1a1a;
  padding: 1.5rem 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.footer-contact h4 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-contact p, 
.footer-contact a {
  font-size: 1.3rem;
  color: #ffecec;
  display: block;
  margin-bottom: 0.6rem;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #db4242;
}
.footer-link {
  color: #ffecec; /* same as other footer links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #fff; /* same hover effect as other links */
}

/* ===== Success Message ===== */
.success-message {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #28a745;
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: fadeInUp 0.5s ease;
  z-index: 9999;
}

.success-message i {
  font-size: 1.8rem;
}
/* Terms & Conditions Overlay */
.terms-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 9999; /* above everything */
}


/* Overlay for the terms box */
.terms-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Box content */
.terms-content {
  background: #222  no-repeat center center; /* Add your logo */
  background-size: 150px 150px; /* Adjust logo size */
  color: #fff;
  padding: 4rem 2rem 2rem 2rem;
  width: 90%;
  max-width: 600px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow-y: auto;
  max-height: 80vh; /* scrollable if content too long */
}

/* Heading */
.terms-content h2 {
  font-size: 2rem;
  color: #db4242;
  margin-bottom: 1.5rem;
}

/* Terms text */
.terms-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #fff;
}

/* Buttons container */
.terms-buttons {
  margin-top: 2rem;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons styling */
.terms-buttons button {
  padding: 1rem 2rem;
  font-size: 1.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

/* Accept button */
#acceptBtn {
  background-color: #28a745;
  color: #fff;
}

#acceptBtn:hover {
  background-color: #218838;
}

/* Decline button */
#declineBtn {
  background-color: #dc3545;
  color: #fff;
}

#declineBtn:hover {
  background-color: #c82333;
}

/* Responsive */
@media (max-width: 768px){
  .vehicles .vehicle-slider {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 per row */
@media (max-width: 450px){
  .vehicles .vehicle-slider {
    grid-template-columns: 1fr;
  }
  html {
    font-size: 50%;
  }
}

/* General section adjustments */
@media (max-width: 991px){
  html { font-size: 55%; }
  section { padding: 2rem; }
}




/* Media Queries */
@media(max-width:991px){
  html { font-size: 55%; }
  .header { padding: 2rem; }
  .header.active { padding: 2rem; }
  section { padding: 2rem; }
}

@media(max-width:768px){
  .header .navbar {
    position: absolute;
    top: 99%; left: 0; right: 0;
    background: #fff;
    border-top: var(--border);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    overflow: hidden;
    transition: all 0.4s ease;
  }

  .header .navbar.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  }

  .header .navbar a {
    display: block;
    margin: 2rem;
    font-size: 2rem;
  }
}

@media(max-width:450px){
  html { font-size: 50%; }
}
