.navbar-blur {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(39px);
  background-color: rgba(255, 255, 255, 0.1); /* adjust for light/dark */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

    .swiper {
      width: 100vw;
      height: 100vh;
    }

    .swiper-slide {
      background-size: cover;
      background-position: center;
      position: relative;
    }

    .swiper-slide .content {
      position: absolute;
      top: 60%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: white;
      text-align: center;
      z-index: 10;
    }


    .swiper-slide h1 {
      font-size: 3rem;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
    }

    .swiper-slide p {
      font-size: 1.2rem;
      letter-spacing: 1px;
      margin-top: 0.5rem;
      font-weight: 300;
      text-transform: uppercase;
    }

    .hero-button {
      background: white;
      color: black;
      border: none;
      padding: 12px 32px;
      font-weight: bold;
      text-transform: uppercase;
      margin-top: 20px;
      border-radius: 30px;
      transition: all 0.3s ease;
    }

    .hero-button:hover {
      background: #e0e0e0;
    }

    .swiper-pagination {
      left: 40px !important;
      right: auto;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
    }

    .afrimotors-vision-section {
      background-color: #fff;
      color: #222;
      padding: 12rem 0rem!important;
      font-family: 'Barlow', sans-serif;
    }

    .afrimotors-vision-section h2 {
      letter-spacing: 2px;
    }

    .afrimotors-vision-section p.lead {
      font-size: 1.2rem;
      line-height: 1.8;
      max-width: 800px;
      margin: 0 auto;
    }

    .afrimotors-vision-section hr {
      width: 60%;
      margin: 3rem auto;
      
    }


    .swiper-pagination-bullet {
      width: 10px;
      height: 10px;
      background: rgba(255, 255, 255, 0.6);
      margin: 6px 0;
      border-radius: 50%;
      opacity: 1;
    }

    .swiper-pagination-bullet-active {
      background: red!important;
      border: 2px solid red;
      width: 14px;
      height: 14px;
    }

    .after-swiper-section {
      height: 100vh;
      background: #f8f9fa;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
    }
.afrimotors-video-fullwidth {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  background-color: #000;
}

.afrimotors-video-fullwidth video {
  display: block;
  width: 100vw;
  height: auto;
  object-fit: cover;
}.afrimotors-video-fullwidth {
  position: relative;
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  background-color: #000;
}

.afrimotors-video-fullwidth video {
  width: 100vw;
  height: 80vh;
  display: block;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  font-size: 3rem;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  color: #000;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  cursor: pointer;
}

.video-play-btn:hover {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.05);
}

.carousel-img-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #000;
  transition: transform 0.3s ease;
  z-index: 2;
}

.carousel-img-overlay:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #aaa;
}

.carousel-indicators .active {
  background-color: #000;
}

.carousel-caption h5 {
  letter-spacing: 1px;
}

.carousel-caption p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  color: #555;
}
.nissan-models-section {
  background-color: #fff;
  font-family: 'Barlow', sans-serif;
}

.nissan-models-section h2 {
  font-size: 2rem;
}

.nissan-models-section img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nissan-models-section img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.nissan-models-section h6 {
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-top: 10px;
}

.nissan-models-section p {
  font-size: 1rem;
}
.nissan-carousel-section img {
  transition: transform 0.3s ease;
}

.nissan-carousel-section img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #999;
}

.carousel-indicators .active {
  background-color: #000;
}
.model-img-wrapper {
  height: 400px; /* Adjust as needed */
  overflow: hidden;
  border-radius: 8px;
}

.model-img-wrapper img {
  height: 100%;
  width: 100%;
  object-fit: cover; /* Ensures the image fills the box evenly */
  transition: transform 0.3s ease;
}

.model-img-wrapper img:hover {
  transform: scale(1.05);
}




































.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
  }

  .nav-left {
    position: relative;
    z-index: 1;
  }

  .nav-menu-content {
    position: relative;
  }
  .navbar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    color: white;
    font-family: 'Barlow', sans-serif;
  }

  .topbar span,
  .topbar i {
    color: white;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
  }

  .nav-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgb(0, 0, 0,.8);
    transition: left 0.5s ease;
    z-index: 2000;
  }

  .nav-overlay.open {
    left: 0;
  }

  .topbar {
  box-shadow: 0 1px 5px rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .topbar span:hover {
    text-decoration: underline;
    color: #f0f0f0;
  }
  .nav-left::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;    
    transition: left 1s ease;
    z-index: 0;
}

  .nav-left ul li {
    font-size: 1.4rem;
    margin: 20px 0;
    letter-spacing: 2px;
  }

  .nav-left ul li a,
  .nav-left ul li {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
    cursor: pointer;
  }

  .nav-left ul li a:hover,
  .nav-left ul li:hover {
    color: #ccc;
  }

  .navbar-blur {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.1);
  }
  
  .car-card {
  background: black;
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.car-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.car-card h4 {
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
  margin-top: 10px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.car-card p {
  color: white;
  font-size: 1rem;
  margin-bottom: 15px;
}

.car-card a.btn {
  display: inline-block;
  padding: 12px 30px;
  border: 1.5px solid #fff;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  background-color: transparent;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}
.car-card a.btn:hover {
  background-color: #fff;
  color: #000;
  text-decoration: none;
}


  .car-list-item {
    font-size: 1.2rem;
    padding: 10px 0;
    cursor: pointer;
  }

  .car-list-item:hover {
    text-decoration: underline;
  }

  .fade-in {
    animation: fadeIn 0.6s ease-in-out both;
  }

  @keyframes fadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
  }

  .back-btn {
    font-size: 1rem;
    color: white;
    margin-bottom: 20px;
    display: inline-block;
    cursor: pointer;
  }

  .back-btn:hover {
    text-decoration: underline;
  }
  .btn-outline-pill {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #000;
  background-color: white!important;
  text-decoration: none;
  transition: all 0.3s ease;
}  

.btn-outline-pill:hover {
  background-color: rgb(40, 40, 40)!important;
  color: white!important;
  text-decoration: none;
}





















/* Base state: hidden + transform */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

/* Triggered state */
.scroll-animate.visible {
  opacity: 1;
  transform: none;
}

/* Variants */
.scroll-fade-up {
  transform: translateY(40px);
}

.scroll-fade-left {
  transform: translateX(-40px);
}

.scroll-fade-right {
  transform: translateX(40px);
}

.scroll-zoom-in {
  transform: scale(0.9);
}

.scroll-zoom-out {
  transform: scale(1.1);
}

/* All get reset to final form when 'visible' is added */
.scroll-animate.visible.scroll-fade-up,
.scroll-animate.visible.scroll-fade-left,
.scroll-animate.visible.scroll-fade-right,
.scroll-animate.visible.scroll-zoom-in,
.scroll-animate.visible.scroll-zoom-out {
  opacity: 1;
  transform: none;
}


















.afrimotors-navbar {
  font-family: 'Barlow', sans-serif;
  background: linear-gradient(to bottom, #a59f98, #b3ada7); /* soft grey/beige */
  color: white;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.top-nav span,
.top-nav i {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

.bottom-nav {
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.bottom-nav nav a {
  text-transform: uppercase;
  font-weight: 500;
  color: white;
  margin: 0 12px;
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
}

.bottom-nav nav a::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background: white;
  margin: 5px auto 0;
  transition: width 0.3s;
}

.bottom-nav nav a:hover::after,
.bottom-nav nav a.active::after {
  width: 100%;
}

.dropdown-toggle {
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  color: white;
  letter-spacing: 1px;
}

.dropdown-menu {
  background-color: #fff;
  color: #000;
  font-size: 0.9rem;
  text-align: left;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f0f0f0;
}
.performance-txt {
  font-family: 'Barlow', sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgb(223, 222, 222)!important;
}

.hero-header {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: #000;
}

.parallax-bg {
  background: url('assets/img/nissanpatrol.jpg') center center / cover no-repeat fixed;
  position: absolute;
  width: 100%;
  height: 130%;
  top: -15%;
  left: 0;
  z-index: 0;
  will-change: transform;
}

.dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0,0,0,0.7));
  z-index: 1;
}

.animate-slide-in {
  opacity: 0;
  transform: translateY(30px);
  animation: slideIn 1.2s ease forwards;
}
@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-bounce {
  animation: bounce 2s infinite;
  color: #fff;
  background: none;
  border: none;
}
.animate-bounce:hover {
  color: #ddd;
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
}

.key-specs-section .spec-item {
  padding: 1.5rem;
}
.key-specs-section .spec-item h6 {
  color: #e60000;
  margin-bottom: 0.5rem;
}
.key-specs-section .spec-item p {
  font-size: 1.1rem;
  margin-bottom: 0;
  font-family: 'Lora', serif;
}
@media (max-width: 767px) {
  .key-specs-section .spec-item {
    border-left: none !important;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
}


    body {
      font-family: 'Barlow', sans-serif;
    }
    .scroll-scale-image {
      transform: scale(0.8);
      opacity: 0;
      transition: all 1.2s ease;
      will-change: transform, opacity;
    }
    .scroll-scale-image.visible {
      transform: scale(1);
      opacity: 1;
    }
    .btn-outline-pill {
      padding: 12px 30px;
      border: 1.5px solid #000;
      border-radius: 50px;
      text-transform: uppercase;
      letter-spacing: 2px;
      font-size: 0.9rem;
      font-weight: 500;
      color: #000;
      background-color: transparent;
      text-decoration: none;
      transition: all 0.3s ease;
    }
    .btn-outline-pill:hover {
      background-color: #000;
      color: #fff;
      text-decoration: none;
    }
    .scroll-pan-wrapper {
      height: 60vh;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .scroll-pan-image {
      width: 70%;
      max-width: none;
      transform: translateX(100%);
      transition: transform 0.1s linear;
      will-change: transform;
    }

    .divider-line {
      height: 1px;
      width: 50px;
      background: red;
      animation: gradientMove 3s ease infinite;
      margin: 20px 0px;
    }
    @keyframes gradientMove {
      0% {
        background-position: 0% 0%;
      }
      50% {
        background-position: 100% 100%;
      }
      100% {
        background-position: 0% 0%;
      }
    }














  @media (max-width: 768px) {
  .nav-overlay.open {
    flex-direction: row;
  }
  .nav-overlay{
    padding: 0px!important;
  }
  .px-5{
    padding: 0px 14px!important;
  }
  .menu-toggle{
    padding-left: 30px!important
  }

  .nav-left {
    width: 100%!important;
  }
  .img-logo{
    height: 50px!important;
  }
  .nav-right {
    width: 55%;
    display: block;
  }
  .find-dealer{
    display: none!important;
  }
  .topbar {
    padding: 10px 0px!important;
  }

  .menu-toggle,
  .find-dealer {
    font-size: 1rem;
  }

  .nav-menu-content ul li {
    font-size: 1.1rem;
  }
}





