@import url('https://fonts.googleapis.com/css2?family=Archivo+Narrow:ital,wght@0,400;1,400&family=Archivo:ital,wdth,wght@0,100,400;0,100,600;0,100,700;0,125,900;1,100,400;1,100,600;1,100,700&display=swap');

:root {
  --primary-color: #5881BC;
  /* Racing Red */
  --bg-light: #ffffff;
  --bg-alt: #f8f9fa;
  --bg-darker: #f1f3f5;
  --text-dark: #212529;
  --text-muted: #6c757d;
}

html,
body {
  font-family: 'Archivo', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  overflow-x: hidden;
}

.text-dark {
  color: var(--text-dark) !important;
}

.bg-light {
  background-color: var(--bg-light) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.nav-link,
.btn {
  font-family: 'Archivo', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ZXMOTO Navbar */
.header-zxmoto {
  background-image: none !important;
  border-bottom: none;
  padding: 0;
  /* Removed padding to maximize logo height */
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: saturate(180%) blur(2px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 9999;
  transition: 0.5s;
}

.header-zxmoto .navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  padding: 0;
  /* Removed padding to maximize logo height */
  transition: color 0.5s ease;
}

.header-zxmoto .navbar-brand img {
  height: 30px;
}

.header-zxmoto .z-logo path {
  transition: fill 0.5s ease;
}

.header-zxmoto .nav-link {
  font-weight: 500;
  padding: 10px 15px !important;
  position: relative;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.5s ease;
}

.header-zxmoto .nav-link::after {
  display: none;
}

.header-zxmoto .search-icon,
.header-zxmoto .region-icon {
  transition: color 0.5s ease;
}

/* PC Default (Dark) & Hover (White) */
@media (min-width: 992px) {
  .header-zxmoto {
    box-shadow: none;
  }

  .header-zxmoto .nav-item {
    height: 80px;
  }

  .header-zxmoto .nav-link {
    height: 100%;
    display: flex;
    align-items: center;
  }

  .header-zxmoto .navbar-brand,
  .header-zxmoto .nav-link,
  .header-zxmoto .search-icon,
  .header-zxmoto .region-icon {
    color: #ffffff !important;
  }

  .header-zxmoto .z-logo path {
    fill: #ffffff;
  }

  .header-zxmoto .nav-link.active,
  .header-zxmoto .nav-link:hover {
    color: #5881BC !important;
  }

  /* Hover State (White) */
  .header-zxmoto:hover {
    background-color: #ffffff !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .header-zxmoto:hover .navbar-brand,
  .header-zxmoto:hover .nav-link,
  .header-zxmoto:hover .search-icon,
  .header-zxmoto:hover .region-icon,
  .header-zxmoto:hover .navbar-toggler,
  .header-zxmoto:hover .toggler-icon {
    color: #333333 !important;
  }

  .header-zxmoto:hover .z-logo path {
    fill: #333333;
  }

  .header-zxmoto:hover .nav-link.active,
  .header-zxmoto:hover .nav-link:hover {
    color: #5881BC !important;
  }

  .header-zxmoto:hover .region-icon {
    background-color: #f1f3f5 !important;
    padding: 4px 10px !important;
    border-radius: 4px;
    border: 1px solid #e9ecef;
  }

  /* Mega Menu positioning */
  .zxmoto-dropdown .dropdown-menu {
    border-radius: 0;
    margin-top: 0;
    background-color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    border-top: 1px solid #eee !important;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
  }

  .zxmoto-dropdown .dropdown-menu .text-muted,
  .zxmoto-dropdown .dropdown-menu h6,
  .zxmoto-dropdown .dropdown-menu i {
    color: #5881BC !important;
  }

  .zxmoto-dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* Removed mobile light header overrides so the header stays dark and transparent, matching desktop default */

/* Mobile Night Mode & Layout */
@media (max-width: 991px) {
  .header-zxmoto {
    padding: 15px 0 !important;
  }

  .header-zxmoto .navbar-collapse {
    background-color: #ffffff;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0 20px 20px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .header-zxmoto .nav-item {
    border-bottom: 1px solid #eee;
  }

  .header-zxmoto .nav-item:last-child {
    border-bottom: none;
  }

  .header-zxmoto .nav-link {
    padding: 15px 0 !important;
    font-size: 1rem;
    color: #333 !important;
  }

  .header-zxmoto .dropdown-menu {
    border: none;
    background-color: #ffffff;
    padding: 10px;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.05);
  }

  /* Night Mode */
  @media (prefers-color-scheme: dark) {

    .header-zxmoto,
    .header-zxmoto .navbar-collapse {
      background-color: rgba(20, 20, 20, 0.98) !important;
    }

    .header-zxmoto .navbar-brand,
    .header-zxmoto .nav-link,
    .header-zxmoto .search-icon,
    .header-zxmoto .region-icon,
    .header-zxmoto .navbar-toggler,
    .header-zxmoto .toggler-icon {
      color: #ffffff !important;
    }

    .header-zxmoto .z-logo path {
      fill: #ffffff;
    }

    .header-zxmoto .nav-item {
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header-zxmoto .region-icon {
      background-color: transparent !important;
      padding: 0 !important;
      border: none;
    }

    .header-zxmoto .nav-link {
      color: #ffffff !important;
    }

    .header-zxmoto .nav-link.active,
    .header-zxmoto .nav-link:hover {
      color: #5881BC !important;
    }

    .header-zxmoto .dropdown-menu {
      background-color: rgba(0, 0, 0, 0.2);
    }
    
    .model-category h6.text-dark {
      color: #ffffff !important;
    }
  }
}

/* Logo display */
.logo-hover {
  display: none;
}

@media (min-width: 992px) {
  .header-zxmoto:hover .logo-default {
    display: none !important;
  }

  .header-zxmoto:hover .logo-hover {
    display: inline-block !important;
  }
}

/* Toggler icon */
.navbar-toggler {
  color: inherit;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.text-inherit {
  color: inherit;
}

/* Hero Slider */
.hero-slider {
  background-color: #000;
  height: 100vh;
}

@media (max-width: 991.98px) {
  .hero-slider {
    height: 70vh;
  }
}

@media (max-width: 767.98px) {
  .hero-slider {
    height: 60vh;
  }
}

.hero-slide-content {
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.carousel-loader {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 5px;
  background-color: var(--primary-color);
  width: 0;
  z-index: 10;
}

.carousel-item.active .carousel-loader {
  animation: loadProgress 8s linear forwards;
}

@keyframes loadProgress {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

.carousel-indicators-vertical button.active {
  background-color: var(--primary-color) !important;
  opacity: 1 !important;
}

.custom-carousel-btn {
  transition: opacity 0.3s ease;
}

.custom-carousel-btn:hover {
  opacity: 0.7 !important;
}

.social-sidebar a {
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-sidebar a:hover {
  color: var(--primary-color) !important;
  transform: scale(1.1);
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  font-weight: 600;
  padding: 12px 35px;
  border-radius: 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #fff;
  transition: all 0.4s ease;
  z-index: -1;
}

.btn-primary:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover::before {
  left: 0;
}

.btn-outline-light {
  border-radius: 0;
  padding: 12px 35px;
  font-weight: 600;
  border-width: 2px;
}

.btn-outline-light:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

/* Sections */
.section-padding {
  padding: 50px 0;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
}

.section-title span {
  color: var(--primary-color);
}

/* Cards */
.model-card {
  background-color: var(--bg-darker);
  border: 1px solid #222;
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  height: 100%;
}

.model-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(88, 129, 188, 0.2);
  border-color: var(--primary-color);
}

.model-card .card-img-top {
  border-radius: 0;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.model-card:hover .card-img-top {
  transform: scale(1.1);
}

.model-card .card-body {
  padding: 2rem;
  position: relative;
  z-index: 2;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
}

.model-card .card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.model-card .card-text {
  color: var(--text-muted);
  flex-grow: 1;
}

.specs-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.specs-list li {
  border-bottom: 1px solid #333;
  padding: 5px 0;
  display: flex;
  justify-content: space-between;
}

.specs-list li span:last-child {
  color: var(--text-dark);
  font-weight: bold;
}

/* Launch Section */
.launch-section {
  position: relative;
  padding: 150px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
}

.launch-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.launch-content {
  position: relative;
  z-index: 2;
}

.launch-badge {
  color: var(--primary-color);
  font-family: 'Archivo', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.launch-badge .line {
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
  margin-right: 15px;
}

.launch-title {
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.0;
  margin-bottom: 1.5rem;
  color: #fff;
  text-transform: uppercase;
}

.launch-title .highlight {
  color: #5881bc;
  /* Gold/Yellow accent */
}

.launch-subtitle {
  font-size: 1.2rem;
  color: #ccc;
  max-width: 600px;
  line-height: 1.6;
}

.btn-accent {
  background-color: var(--primary-color);
  color: #ffffff;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  padding: 15px 40px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 1px solid var(--primary-color);
  display: inline-block;
  text-decoration: none;
}

.btn-accent:hover {
  background-color: #ffffff;
  color: var(--primary-color);
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Secondary Button Pattern Override */
.btn-outline-light {
  background-color: transparent !important;
  color: #ffffff !important;
  border: 1px solid #ffffff !important;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

/* Versatility Section Redesign */
.versatility-section {
  /* background-color: #050505; */
  overflow: hidden;
}

.overlap-panel {
  margin-left: -100px;
  z-index: 3;
}

@media (max-width: 991px) {
  .overlap-panel {
    margin-left: 0;
    margin-top: -60px;
  }
}

.glass-panel {
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border-right: 4px solid var(--primary-color);
}

.versatility-badge {
  color: var(--primary-color);
  font-family: 'Archivo', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  text-transform: uppercase;
}

.versatility-badge .line {
  width: 20px;
  height: 2px;
  background-color: var(--primary-color);
  margin-right: 10px;
}

.versatility-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  text-transform: uppercase;
}

.versatility-title .highlight {
  color: var(--primary-color);
}

.versatility-subtitle {
  color: #bbb;
  line-height: 1.5;
}

/* Footer */
footer {
  background-color: var(--bg-darker);
  border-top: 1px solid #333;
  padding: 60px 0 20px;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 10px;
}

.footer-link:hover {
  color: var(--primary-color);
}

.social-icons a {
  color: #fff;
  font-size: 1.5rem;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--primary-color);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
}

::-webkit-scrollbar-thumb:hover {
  background: #cc2222;
}

/* Image wrappers for overflow hidden */
.img-wrapper {
  overflow: hidden;
  position: relative;
}

/* Micro-animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-box {
  text-align: center;
  padding: 30px;
  background: var(--bg-darker);
  border: 1px solid #222;
  transition: all 0.3s ease;
}

.stat-box:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: 'Archivo', sans-serif;
}

/* Contact form */
.form-control {
  background-color: transparent;
  border: 1px solid #444;
  border-radius: 0;
  color: #fff;
  padding: 15px;
}

.form-control:focus {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--primary-color);
  color: #fff;
  box-shadow: none;
}

/* News Card Styles */
.date-box {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #5881BC;
  color: white;
  padding: 10px 15px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.news-card-img-wrapper {
  position: relative;
}

.news-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
  margin-top: 15px;
  margin-bottom: 10px;
}

.news-desc {
  font-size: 0.95rem;
  color: #666;
}

/* Sub-page Hero Fixes */
.hero {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  /* Offset for fixed header */
  width: 100%;
}

/* Modern Footer */
.modern-footer {
  background-color: rgb(33 37 41 / 97%) !important;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.modern-subscribe input:focus {
  border-color: var(--primary-color) !important;
  color: #fff;
}

.modern-subscribe button:hover {
  color: #fff !important;
}

.modern-footer .text-muted,
.modern-footer p,
.modern-footer a {
  color: #aaa !important;
}

.modern-footer h6 {
  color: #ffffff !important;
}

.modern-footer a:hover {
  color: #5881BC !important;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #5881BC;
  transition: width 0.3s ease;
}

.footer-nav a:hover {
  color: #5881BC !important;
  transform: translateX(5px);
}

.footer-nav a:hover::after {
  width: 100%;
}

.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50% !important;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-btn i {
  color: #6c757d;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(88, 129, 188, 0.4);
}

.social-btn:hover i {
  color: #5881BC;
}

.legal-links a:hover {
  color: #fff !important;
}

/* Premium Contact Page Styles */
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
  border-color: var(--primary-color) !important;
}

.contact-card:hover .icon-box {
  background: var(--primary-color) !important;
  color: #fff !important;
}

.icon-box {
  transition: all 0.3s ease;
}

.premium-input {
  background-color: #1a1a1a !important;
  border: 1px solid #333 !important;
  color: #fff !important;
  /* border-radius: 8px !important; */
  transition: all 0.3s ease;
}

.premium-input:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(88, 129, 188, 0.25) !important;
  background-color: #222 !important;
}

.custom-floating>label {
  color: #777;
}

.custom-floating>.form-control:focus~label,
.custom-floating>.form-control:not(:placeholder-shown)~label,
.custom-floating>.form-select~label {
  color: var(--primary-color);
}

.custom-floating>label::after {
  background-color: transparent !important;
}

.custom-floating>.form-control:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #1a1a1a inset !important;
  -webkit-text-fill-color: white !important;
}

/* Global Mobile Responsiveness */
@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
  }

  .hero-subtitle {
    font-size: 1rem !important;
  }

  /* Fix index slider content alignment and padding */
  .hero-slide-content {
    text-align: center !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin-top: 80px !important;
    margin-bottom: 120px !important;
  }

  /* Reduce heavy padding on mobile containers */
  .text-center.p-5 {
    padding: 1.5rem !important;
  }

  /* Ensure header elements fit */
  .header-zxmoto .navbar-brand img {
    height: 28px !important;
  }

  /* Optimize mega menu icons for mobile */
  .model-category i.fa-2x {
    font-size: 1.5em !important;
  }


  .model-category h6 {
    font-size: 0.7rem !important;
    letter-spacing: 0px !important;
  }

  /* Fix launch section text size */
  .launch-title {
    font-size: 2.5rem !important;
  }
}

/* --- Customer Feedback Updates --- */
/* Remove borders, rounded corners, shadows globally for a cleaner look */
*,
.card,
.glass-panel,
.box,
.overlap-panel,
.gradient-box,
img,
.btn,
.nav-pills .nav-link,
.dropdown-menu {
  border-radius: 0 !important;
}

.card,
.glass-panel,
.box,
.overlap-panel,
.gradient-box {
  box-shadow: none !important;
  border: none !important;
}

/* specifically remove the border-right on glass-panel */
.glass-panel {
  border-right: none !important;
}

/* Remove gradient overlays if they exist, replace with solid or remove */
.launch-section::before {
  background: rgba(0, 0, 0, 0.6) !important;
}

/* Typography adjustments */
h1,
h2,
h3,
h4,
h5,
h6,
.versatility-title {
  line-height: 1.1 !important;
}

/* Increase 2nd liners */
.subtitle,
.hero-subtitle,
.launch-subtitle,
.versatility-subtitle {
  font-size: 1.25rem !important;
}

/* Ensure logo is larger */
.header-zxmoto .navbar-brand img {
  /* height: 70px !important; */
}

/* Styling for the new news-style featured machine cards */
.news-card-title {
  text-transform: none !important;
  font-size: 1.6rem !important;
  font-weight: 700;
  color: #000;
  line-height: 1.2 !important;
  margin-bottom: 0.5rem;
}

.news-card-title a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-card-title a:hover {
  color: var(--primary-color);
}

.news-card-text {
  font-size: 1.05rem;
  color: #6c757d;
  line-height: 1.5;
}

/* "More" button style for featured machines */
.btn-more {
  background-color: var(--primary-color) !important;
  color: #fff !important;
  border: 1px solid var(--primary-color) !important;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 5px !important;
}

.btn-more:hover {
  background-color: #fff !important;
  color: var(--primary-color) !important;
}

/* Flexible split for featured machines card */
.model-card {
  height: auto !important;
  min-height: 550px;
}

.model-card .img-wrapper {
  min-height: 300px;
  flex: 1 1 auto;
  position: relative;
  overflow: hidden;
}

.model-card .card-img-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.model-card .card-body {
  flex: 0 0 auto;
  padding: 1.5rem !important;
}

/* Date badge styling for the news card structure */
.news-date-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.75rem 1rem;
  font-family: 'Archivo', sans-serif;
  text-align: left;
  z-index: 10;
}

.news-date-badge .date-year {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.2;
}

.news-date-badge .date-month {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.2;
}

/* Responsive Utility Classes */
.responsive-hero-title {
  font-family: 'Archivo';
  font-size: 4rem;
  letter-spacing: -1px;
  font-weight: 700;
}

.responsive-cta-title {
  font-family: 'Archivo';
  font-size: 4.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  line-height: 1;
}

.responsive-section-title {
  font-family: 'Archivo', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
}

.responsive-section-subtitle {
  font-family: 'Archivo', sans-serif;
  font-size: 2.2rem;
}

.section-py-large {
  padding-top: 120px !important;
  padding-bottom: 120px !important;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
  .responsive-hero-title {
    font-size: 2.5rem !important;
  }

  .responsive-cta-title {
    font-size: 2.5rem !important;
  }

  .responsive-section-title {
    font-size: 2rem !important;
  }

  .responsive-section-subtitle {
    font-size: 1.8rem !important;
  }

  .section-py-large {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  /* Make sure specific large paddings scale down */
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

/* Model Grid Styles */
.model-filter-nav {
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 3rem;
  padding-bottom: 10px;
}

.model-filter-nav .nav-link {
  color: #111;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.5rem 1rem;
  border-radius: 0;
  background: transparent;
  transition: color 0.3s;
  text-transform: uppercase;
}

.model-filter-nav .nav-link.active {
  color: var(--primary-color);
  background: transparent;
}

.model-filter-nav .nav-link:hover {
  color: var(--primary-color);
  background: transparent;
}

.model-grid-card {
  border: none;
  background: transparent;
  text-align: center;
  position: relative;
  padding: 1.5rem;
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.model-grid-card:hover {
  transform: translateY(-5px);
}

.model-grid-image {
  max-width: 100%;
  height: 250px;
  object-fit: contain;
  margin-bottom: 2rem;
}

.model-grid-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0;
  letter-spacing: 0.5px;
  font-family: 'Archivo', sans-serif;
}

.model-grid-title.blue-text {
  color: #5b7bb2;
}

/* New Badge Ribbon */
.new-badge {
  position: absolute;
  top: 20px;
  right: 30px;
  background: linear-gradient(to right, #7c9dc6, #4a6c9a);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 2rem;
  letter-spacing: 1px;
  clip-path: polygon(15% 0, 100% 0%, 100% 100%, 0% 100%);
  z-index: 10;
}

/* Custom Pagination Styles */
.custom-pagination {
  gap: 8px;
}

.custom-pagination .page-item .page-link {
  border: none;
  background: transparent;
  color: #777;
  font-weight: 700;
  font-size: 1.1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.custom-pagination .page-item:not(.active):not(.disabled) .page-link:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.custom-pagination .page-item.active .page-link {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 12px rgba(88, 129, 188, 0.4);
}

.custom-pagination .page-item.disabled .page-link {
  color: #ccc;
  background: transparent;
}

/* Vertical Sidebar Nav Styles */
.sidebar-filter-bar {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.model-filter-nav-vertical {
  border: none;
  padding-left: 0;
}

.model-filter-nav-vertical .nav-item {
  margin-bottom: 8px;
}

.model-filter-nav-vertical .nav-link {
  color: #555;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 20px;
  border-radius: 8px;
  background: transparent;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.model-filter-nav-vertical .nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--primary-color);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  border-radius: 4px 0 0 4px;
}

.model-filter-nav-vertical .nav-link.active {
  color: var(--primary-color);
  background: rgba(88, 129, 188, 0.05);
  font-weight: 700;
}

.model-filter-nav-vertical .nav-link.active::before {
  transform: scaleY(1);
}

.model-filter-nav-vertical .nav-link:hover {
  color: var(--primary-color);
  background: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transform: scale(1.03) translateX(5px);
  z-index: 2;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #ffffff;
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.back-to-top:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* About Page Hero Section (.n_ban) */
.n_ban {
  width: 100%;
  height: 100vh;
  background-color: #000;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.n_ban .container {
  position: absolute;
  top: 55%;
  left: 50%;
  z-index: 99;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

.n_ban .w_z {
  width: 50%;
  font-size: 80px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  line-height: 86px;
  color: #fff;
}

.n_ban .w_z span {
  display: inline-block;
  opacity: 0;
  animation: fadeInLeftCustom 1s forwards;
}

@keyframes fadeInLeftCustom {
  from {
    opacity: 0;
    transform: translate3d(-100px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Media queries for About Hero */
@media only screen and (max-width: 1440px) {
  .n_ban .w_z {
    width: 55%;
    font-size: 60px;
    line-height: 76px;
  }
}

@media only screen and (max-width: 1260px) {
  .n_ban {
    background-attachment: scroll;
  }

  .n_ban .w_z {
    width: 60%;
    font-size: 50px;
    line-height: 60px;
  }
}

@media only screen and (max-width: 992px) {
  .n_ban {
    height: 360px;
  }

  .n_ban .w_z {
    width: 100%;
    font-size: 40px;
    line-height: 50px;
    text-align: center;
  }
}

@media only screen and (max-width: 576px) {
  .n_ban {
    height: 300px;
  }

  .n_ban .w_z {
    font-size: 30px;
    line-height: 40px;
  }

  .n_ban .container {
    top: 50%;
  }
}

/* Featured Bike Image Responsiveness */
#featured-bike-img {
  object-fit: cover;
  height: 600px;
  width: 100%;
}

@media (max-width: 991px) {
  #featured-bike-img {
    height: 450px;
  }
}

@media (max-width: 767px) {
  transition: all 0.3s ease;
}

.custom-pagination .page-item:not(.active):not(.disabled) .page-link:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.custom-pagination .page-item.active .page-link {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 12px rgba(88, 129, 188, 0.4);
}

.custom-pagination .page-item.disabled .page-link {
  color: #ccc;
  background: transparent;
}

/* Vertical Sidebar Nav Styles */
.sidebar-filter-bar {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.model-filter-nav-vertical {
  border: none;
  padding-left: 0;
}

.model-filter-nav-vertical .nav-item {
  margin-bottom: 8px;
}

.model-filter-nav-vertical .nav-link {
  color: #555;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 20px;
  border-radius: 8px;
  background: transparent;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.model-filter-nav-vertical .nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--primary-color);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  border-radius: 4px 0 0 4px;
}

.model-filter-nav-vertical .nav-link.active {
  color: var(--primary-color);
  background: rgba(88, 129, 188, 0.05);
  font-weight: 700;
}

.model-filter-nav-vertical .nav-link.active::before {
  transform: scaleY(1);
}

.model-filter-nav-vertical .nav-link:hover {
  color: var(--primary-color);
  background: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transform: scale(1.03) translateX(5px);
  z-index: 2;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #ffffff;
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.back-to-top:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* About Page Hero Section (.n_ban) */
.n_ban {
  width: 100%;
  height: 100vh;
  background-color: #000;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.n_ban .container {
  position: absolute;
  top: 55%;
  left: 50%;
  z-index: 99;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

.n_ban .w_z {
  width: 50%;
  font-size: 80px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  line-height: 86px;
  color: #fff;
}

.n_ban .w_z span {
  display: inline-block;
  opacity: 0;
  animation: fadeInLeftCustom 1s forwards;
}

@keyframes fadeInLeftCustom {
  from {
    opacity: 0;
    transform: translate3d(-100px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Media queries for About Hero */
@media only screen and (max-width: 1440px) {
  .n_ban .w_z {
    width: 55%;
    font-size: 60px;
    line-height: 76px;
  }
}

@media only screen and (max-width: 1260px) {
  .n_ban {
    background-attachment: scroll;
  }

  .n_ban .w_z {
    width: 60%;
    font-size: 50px;
    line-height: 60px;
  }
}

@media only screen and (max-width: 992px) {
  .n_ban {
    height: 360px;
  }

  .n_ban .w_z {
    width: 100%;
    font-size: 40px;
    line-height: 50px;
    text-align: center;
  }
}

@media only screen and (max-width: 576px) {
  .n_ban {
    height: 300px;
  }

  .n_ban .w_z {
    font-size: 30px;
    line-height: 40px;
  }

  .n_ban .container {
    top: 50%;
  }
}

/* Featured Bike Image Responsiveness */
#featured-bike-img {
  object-fit: contain;
  height: 600px;
  width: 100%;
  transition: opacity 0.3s ease-in-out;
}

@media (max-width: 991px) {
  #featured-bike-img {
    height: 450px;
  }
}

@media (max-width: 767px) {
  #featured-bike-img {
    height: 350px;
  }
}

@media (max-width: 575px) {
  #featured-bike-img {
    height: 250px;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed !important;
  width: 60px !important;
  height: 60px !important;
  bottom: 90px !important;
  right: 30px !important;
  background-color: #25d366 !important;
  color: #FFF !important;
  border-radius: 100px !important;
  text-align: center !important;
  font-size: 35px !important;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3) !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.whatsapp-float:hover {
  background-color: #128C7E !important;
  color: #FFF !important;
  transform: translateY(-5px) !important;
  box-shadow: 2px 6px 15px rgba(0, 0, 0, 0.4) !important;
}

@media (max-width: 767px) {
  .whatsapp-float {
    width: 50px !important;
    height: 50px !important;
    bottom: 90px !important;
    right: 20px !important;
    font-size: 30px !important;
  }
}

/* Further Mobile Optimization for Hero Slider Texts and Logos */
@media (max-width: 767.98px) {
  .hero-slide-content img.img-fluid {
    max-height: 80px !important;
  }
  .hero-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
  }
  .hero-slide-content .btn {
    padding: 10px 25px !important;
    font-size: 0.85rem !important;
  }
  .hero-slide-content {
    padding-left: 50px !important;
    padding-right: 50px !important;
    margin-bottom: 40px !important;
  }
  .carousel-indicators {
    display: none !important;
  }
  .custom-carousel-btn i {
    font-size: 1.8rem !important;
  }
}

/* --- News Page Updates --- */
.news-card .news-card-img-wrapper {
  overflow: hidden;
}

.news-card .news-card-img-wrapper img {
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-img-wrapper img {
  transform: scale(1.05);
}

.news-card .news-title {
  transition: color 0.3s ease;
}

.news-card:hover .news-title {
  color: #5881BC !important;
}

/* Custom Pagination Styling */
.custom-pagination .page-link {
  color: #333;
  border: none;
  background-color: transparent;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  padding: 10px 15px;
  margin: 0 5px;
  border-radius: 4px !important;
  transition: all 0.3s ease;
}

.custom-pagination .page-item.active .page-link {
  background-color: #5881BC;
  color: white;
}

.custom-pagination .page-link:hover {
  background-color: #f1f3f5;
  color: #5881BC;
}

.custom-pagination .page-item.active .page-link:hover {
  background-color: #5881BC;
  color: white;
}

/* Custom Register Interest Button Hover */
.btn-register-nav {
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-register-nav::before {
  display: none !important;
}

.btn-register-nav:hover,
.btn-register-nav:focus,
.btn-register-nav:active {
  transform: scale(1.05);
  color: white !important;
  box-shadow: 0 4px 12px rgba(88, 129, 188, 0.4) !important;
}
/* News Card Title Hover */
.custom-news-title { color: #111; transition: color 0.3s ease; }
.news-card:hover .custom-news-title { color: #5881BC; }


/* News Card Uniform Heights */
.news-card .news-title {
    font-size: 1rem; /* Reduced size to show full heading */
    line-height: 1.4;
    margin-bottom: 0.75rem;
}
.news-card .news-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 72px; /* Force 3 lines height */
}


/* News Detail Article Styles */
.news-detail-wrapper {
    max-width: 900px;
    margin: 0 auto;
}
.news-content-area img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
    border-radius: 8px;
}


/* News Detail Navbar Background */
.bg-news-detail {
    background-color: #3a3a3a !important;
}


/* Responsive News Pages */
.article-title {
    font-size: 2.2rem;
    color: #333;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .article-title {
        font-size: 1.7rem;
    }
    .responsive-hero-title {
        font-size: 2.2rem !important;
    }
    .news-meta {
        gap: 1rem !important;
        font-size: 0.85rem !important;
        flex-wrap: wrap;
    }
    .news-pagination {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1.5rem;
    }
    .news-pagination .next-post {
        text-align: left !important;
        max-width: 100% !important;
        width: 100%;
    }
    .news-pagination .prev-post {
        max-width: 100% !important;
        width: 100%;
    }
    .news-content-area {
        font-size: 0.95rem !important;
    }
}
@media (max-width: 576px) {
    .article-title {
        font-size: 1.4rem;
    }
}

