.motto-values-vision-mission {
  font-family: "Poppins", sans-serif;
}

.bg-red {
  background-color: #d71920;
}

.bg-dark {
  background-color: #1a1a1a;
}

.motto-box,
.values-box,
.vision-box,
.mission-box {
  min-height: 400px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  transition: all 0.3s ease;
}

.motto-box:hover,
.values-box:hover,
.vision-box:hover,
.mission-box:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.icon i {
  color: #b2b2b2
}

ul {
  padding: 0;

  margin: 0;

  line-height: 2;

  text-align: left;

  display: inline-block;
}

@media (max-width: 991px) {
  .motto-box,
  .values-box,
  .vision-box,
  .mission-box {
    min-height: auto;

    padding: 40px 20px;
  }
}

/* ====== AUTOMOBILE SECTION ====== */

.automobile-section {
  font-family: "Poppins", sans-serif;
}

.object-cover {
  object-fit: cover;

  height: 100%;
}

.battery-categories {
  max-width: 700px;

  margin: 0 auto;
}

.battery-card {
  background: #fff;

  border-radius: 12px;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

  padding: 15px 25px;

  display: flex;

  align-items: center;

  gap: 10px;

  width: 45%;

  min-width: 220px;

  justify-content: center;

  transition: all 0.3s ease;

  color: #d71920;

  border: 1px solid #eee;
}

.battery-card i {
  font-size: 22px;

  color: #d71920;
}

.battery-card span {
  font-weight: 500;

  color: #333;
}

.battery-card:hover {
  transform: translateY(-5px);

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);

  /* background: #d71920; */

  color: #d71920;
}

.battery-card:hover i,
.battery-card:hover span {
  color: #fff;
}

@media (max-width: 767px) {
  .battery-card {
    width: 100%;
  }
}

.home-commercial {
  background: #fff;

  padding: 0px 0;
}

.home-commercial .container {
  max-width: 1200px;

  margin: 0 auto;

  padding: 0 20px;
}

.home-commercial-content {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 60px;
}

.home-commercial-text {
  flex: 1;
}

.home-commercial-text h2 {
  font-size: 32px;

  color: #222;

  font-weight: 700;

  margin-bottom: 20px;
}

.home-commercial-text p {
  color: #555;

  line-height: 1.8;

  font-size: 16px;

  margin-bottom: 30px;
}

.red-line {
  display: block;

  width: 30px;

  height: 3px;

  background: #e4002b;

  margin-bottom: 15px;
}

.button-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 20px;
}

.product-btn {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 8px;

  background: #fff;

  color: #111;

  border: 1px solid #eee;

  border-radius: 10px;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);

  padding: 15px 20px;

  font-weight: 500;

  text-decoration: none;

  transition: all 0.3s ease;
}

.product-btn::before {
  content: "›";

  color: #e4002b;

  font-size: 20px;
}

.product-btn:hover {
  transform: translateY(-3px);

  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.home-commercial-image {
  flex: 1;
}

.home-commercial-image img {
  width: 100%;

  border-radius: 10px;

  object-fit: cover;
}

@media (max-width: 992px) {
  .home-commercial-content {
    flex-direction: column;
  }

  .home-commercial-text {
    text-align: center;
  }

  .button-grid {
    grid-template-columns: 1fr;
  }
}

.battery-info-section {
  background: #fff;

  font-family: "Poppins", sans-serif;
}

.battery-info-wrapper {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 40px;

  flex-wrap: wrap;
}

.battery-image {
  flex: 1 1 45%;

  text-align: center;
}

.battery-image img {
  width: 100%;

  max-width: 500px;

  border-radius: 8px;

  object-fit: cover;
}


.battery-image img:hover {
  transform: rotate(360deg);
  box-shadow: 0 0 20px rgba(0,255,255,0.5);
}

.battery-content {
  flex: 1 1 50%;
}

.battery-title {
  font-size: 28px;

  font-weight: 700;

  color: #222;

  margin-bottom: 15px;
}

.battery-desc {
  color: #555;

  line-height: 1.8;

  font-size: 15px;

  margin-bottom: 40px;
}

.battery-features {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));

  gap: 20px;
}

.feature-box {
  display: flex;

  align-items: center;

  justify-content: flex-start;

  gap: 10px;

  background: #fff;

  border-radius: 10px;

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);

  padding: 15px 20px;

  transition: all 0.3s ease;

  cursor: pointer;
}

.feature-box:hover {
  transform: translateY(-5px);

  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.feature-box .icon img {
  width: 24px;

  height: 24px;

  filter: invert(37%) sepia(88%) saturate(400%) hue-rotate(340deg);
}

.feature-box span {
  color: #444;

  font-weight: 500;

  font-size: 15px;
}

@media (max-width: 992px) {
  .battery-info-wrapper {
    flex-direction: column;

    text-align: center;
  }

  .battery-content {
    flex: 1 1 100%;
  }

  .battery-features {
    justify-content: center;
  }

  .feature-box {
    justify-content: center;
  }
}

/* ====== COUNTER ====== */

.stats-section {
  background:blue;

  padding: 50px 0;

  color: #fff;

  text-align: center;

  font-family: "Poppins", sans-serif;
}

.stats-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 40px;
}

.stat-item h2 {
  font-size: 48px;

  font-weight: 700;

  margin-bottom: -25px;

  color: #fff;
}

.underline {
  width: 30px;

  height: 2px;

  background: #fff;

  margin: 0 auto 15px;
}

.stat-item p {
  font-size: 14px;

  letter-spacing: 1px;

  text-transform: uppercase;

  font-weight: 500;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .stat-item h2 {
    font-size: 38px;
  }
}

.applications-section {
  background: #699acb;

  padding: 80px 0;

  text-align: center;

  font-family: "Poppins", sans-serif;
}

.section-title {
  font-size: 28px;

  font-weight: 700;

  margin-bottom: 5px;

  color: #222;
}

.section-title:hover {
  font-size: 28px;

  font-weight: 700;

  margin-bottom: 5px;

  color: #ffffff;
}

.title-underline {
  display: inline-block;

  width: 35px;

  height: 3px;

  background-color: #e74c3c;

  margin-bottom: 40px;
}

.applications-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  gap: 20px;

  max-width: 1000px;

  margin: 0 auto;
}

.app-box {
  background: #fff;

  border: 1px solid #eee;

  border-radius: 10px;

  padding: 35px 15px;

  transition: all 0.3s ease;

  cursor: pointer;
}

.app-box img {
  width: 60px;

  height: 60px;

  margin-bottom: 15px;

  filter: invert(41%) sepia(100%) saturate(350%) hue-rotate(340deg);

  transition: 0.3s;
}

.app-box p {
  color: #000000;

  font-size: 15px;

  font-weight: 500;

  margin: 0;
}

.app-box p:hover {
  color: #ffffff;

  font-size: 15px;

  font-weight: 500;

  margin: 0;
}

.app-box:hover {
  /* border-color: #e74c3c; */

  background: #4169E1;

  color: #fff;

  transform: translateY(-3px);
}

.app-box.active {
  background: #222;

  color: #fff;
}

.app-box.active img {
  filter: invert(100%);
}

.app-box.active p {
  color: #fff;
}

@media (max-width: 768px) {
  .applications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.battery-finder-section {
  background: linear-gradient(rgba(210, 0, 32, 0), rgba(210, 0, 32, 0)),
    url("assets/img/bg-dealer3.jpg") center center / cover no-repeat fixed;

  color: #fff;

  text-align: center;

  padding: 50px 0;

  position: relative;

  overflow: hidden;
}

.battery-finder {
  position: relative;

  z-index: 2;
}

.battery-finder .title {
  font-size: 36px;

  font-weight: 700;

  margin-bottom: 8px;
}

.battery-finder .subtitle {
  font-size: 16px;

  color: rgba(255, 255, 255, 0.85);

  margin-bottom: 40px;
}

.finder-form {
  display: flex;

  justify-content: center;

  align-items: flex-end;

  flex-wrap: wrap;

  gap: 20px;
}

.finder-form .form-group {
  display: flex;

  flex-direction: column;

  text-align: left;
}

.finder-form label {
  font-size: 14px;

  margin-bottom: 5px;

  color: #fff;
}

.finder-form select {
  min-width: 220px;

  height: 45px;

  border: none;

  border-radius: 4px;

  padding: 8px 10px;

  font-size: 15px;

  color: #333;

  background: #fff;

  appearance: none;

  outline: none;

  cursor: pointer;
}

.apply-btn {
  background: #fff;

  color: #d1001f;

  font-weight: 600;

  border: none;

  padding: 12px 50px;

  border-radius: 25px;

  cursor: pointer;

  transition: all 0.3s ease;
}

.apply-btn:hover {
  background: #222;

  color: #fff;
}

@media (max-width: 768px) {
  .finder-form {
    flex-direction: column;

    align-items: center;
  }

  .finder-form select {
    width: 100%;
  }

  .apply-btn {
    width: 200px;

    margin-top: 10px;
  }
}

/*** Blog Start ***/

.blog .blog-item {
  border-radius: 10px;

  /* transition: 0.5s; */
}

/* .blog .blog-item:hover {

                                                                                                                                                                                                                                                                                                                                                  box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);

                                                                                                                                                                                                                                                                                                                                                } */

.blog .blog-item .blog-img {
  position: relative;

  overflow: hidden;

  border-top-left-radius: 10px;

  border-top-right-radius: 10px;
}

.blog .blog-item .blog-img::after {
  content: "";

  position: absolute;

  width: 100%;

  height: 0;

  bottom: 0;

  left: 0;

  /* background: rgba(255, 255, 255, 0.3);



                                                                                                                                                                                                                                                                                                                                                  transition: 0.5s; */
}

.blog .blog-item:hover .blog-img::after {
  height: 100%;
}

/* .blog .blog-item .blog-img img {

                                                                                                                                                                                                                                                                                                                                                  transition: 0.5s;

                                                                                                                                                                                                                                                                                                                                                } */

/* .blog .blog-item:hover .blog-img img {

                                                                                                                                                                                                                                                                                                                                                  transform: scale(1.2);

                                                                                                                                                                                                                                                                                                                                                } */

.blog .blog-item .blog-content {
  position: relative;

  background: var(--bs-light);
}

.blog .blog-item .blog-content .blog-date {
  position: absolute;

  top: 233px;

  display: none;

  left: 171px;

  /* transform: translateY(-50%); */

  padding: 12px 25px;

  border-radius: 10px;

  color: var(--bs-black);

  /* background: transparent; */
}

.blog .blog-item .blog-content .blog-comment {
  display: flex;

  justify-content: space-between;
}

/*** Blog End ***/

/* ====== BACK TO TOP ====== */

.back-to-top {
  position: fixed;

  right: 25px;

  bottom: 25px;

  z-index: 999;

  background: #d71920;

  border: none;

  width: 45px;

  height: 45px;

  display: flex;

  align-items: center;

  justify-content: center;

  transition: all 0.3s ease;
}

.back-to-top:hover {
  background: #a50f14;

  transform: translateY(-3px);
}

.back-to-top i {
  color: #fff;
}

/*** Spinner Start ***/

#spinner {
  opacity: 0;

  visibility: hidden;

  transition: opacity 0.8s ease-out, visibility 0s linear 0.5s;

  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.8s ease-out, visibility 0s linear 0s;

  visibility: visible;

  opacity: 1;
}

.back-to-top {
  position: fixed;

  right: 30px;

  bottom: 30px;

  display: flex;

  width: 45px;

  height: 45px;

  align-items: center;

  justify-content: center;

  transition: 0.5s;

  z-index: 99;
}

/*** Spinner End ***/

/*** Button Start ***/

.btn {
  font-weight: 600;

  transition: 0.5s;
}

.btn-square {
  width: 32px;

  height: 32px;
}

.btn-sm-square {
  width: 34px;

  height: 34px;
}

.btn-md-square {
  width: 44px;

  height: 44px;
}

.btn-lg-square {
  width: 56px;

  height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
  padding: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  font-weight: normal;
}

.btn.border-secondary {
  transition: 0.5s;
}

.btn.border-secondary:hover {
  background: var(--bs-secondary) !important;

  color: var(--bs-white) !important;
}

/*** Topbar Start ***/

/* === Top Bar === */

.top-bar {
  background: #fff;

  font-size: 14px;

  color: #000;
}

.top-bar i {
  color: #d71920;
}

.top-bar a {
  color: #000;

  transition: 0.3s;
}

.top-bar a:hover {
  color: #d71920;
}
.top-bar {
  transition: all 0.3s ease;
}

/* === Navbar === */
.sticky-navbar {
  position: fixed; /* changed from sticky to fixed */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  transition: top 0.3s ease;
  background-color: #000; /* keep your original color */
}

.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 25px;
  height: 2px;
  background-color: #d71920;
}

.navbar-nav .nav-link:hover {
  color: #d71920 !important;
}

/* === Cart Count === */

.cart-count {
  position: absolute;

  top: -8px;

  right: -10px;

  background: #d71920;

  color: #fff;

  font-size: 11px;

  border-radius: 50%;

  padding: 1px 5px;
}

/* === Dropdown on Hover === */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; /* optional: remove dropdown gap */
}

/* Optional smooth transition */
.dropdown-menu {
  display: none;
  transition: all 0.3s ease;
}

/* To prevent flicker when hovering near edges */
.nav-item.dropdown:hover > .nav-link {
  color: #d71920; /* optional hover color */
}
/* === Responsive === */

@media (max-width: 991px) {
  .top-bar {
    flex-direction: column;

    text-align: center;

    gap: 5px;
  }

  .navbar-collapse {
    background: rgb(75 119 66);

    padding: 15px;
  }

  .navbar-nav {
    align-items: center;
  }
}

.dropdown-toggle::after {
  display: none;
}
/*** Navbar End ***/

/*** Hero Header ***/

/* ===== Hero Slider ===== */

#heroSlider {
  position: relative;

  overflow: hidden;
}

.slider-bg {
  background-size: cover;

  background-position: center;

  height: 60vh;

  position: relative;

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 0 5%;
}

.overlay-content {
  max-width: 600px;

  text-align: left;
}


.overlay-content,
.slider-product {
  position: relative;

  z-index: 2;

  margin-top: 100px;
}

.slider-product {
  height: 280px;

  animation: fadeInRight 1s ease;
}

@keyframes fadeInRight {
  from {
    transform: translateX(40px);

    opacity: 0;
  }

  to {
    transform: translateX(0);

    opacity: 1;
  }
}

/* Controls */

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(8, 8, 8, 0.199);

  border-radius: 50%;

  padding: 20px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

/* Responsive */

@media (max-width: 991px) {
  .slider-bg {
    flex-direction: column;

    text-align: center;

    height: 40vh;

    background-size: cover;
  }

  .slider-product {
    height: 200px;

    margin-top: 20px;
  }

  .overlay-content,
  .slider-product {
    position: relative;

    z-index: 2;
  }
}

/*** Hero Header end ***/

/*** featurs Start ***/

.featurs .featurs-item .featurs-icon {
  position: relative;

  width: 120px;

  height: 120px;
}

.featurs .featurs-item .featurs-icon::after {
  content: "";

  width: 35px;

  height: 35px;

  background: var(--bs-secondary);

  position: absolute;

  bottom: -10px;

  transform: translate(-50%);

  transform: rotate(45deg);

  background: var(--bs-secondary);
}

/*** featurs End ***/

/*** service Start ***/

.service .service-item .service-content {
  position: relative;

  width: 250px;

  height: 130px;

  top: -50%;

  left: 50%;

  transform: translate(-50%, -50%);
}

/*** service End ***/

/*** Fruits Start ***/

.fruite .tab-class .nav-item a.active {
  background: var(--bs-secondary) !important;
}

.fruite .tab-class .nav-item a.active span {
  color: var(--bs-white) !important;
}

.fruite .fruite-categorie .fruite-name {
  line-height: 40px;
}

.fruite .fruite-categorie .fruite-name a {
  transition: 0.5s;
}

.fruite .fruite-categorie .fruite-name a:hover {
  color: var(--bs-secondary);
}

.fruite .fruite-item {
  height: 100%;

  transition: 0.5s;
}

.fruite .fruite-item:hover {
  box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.fruite .fruite-item .fruite-img {
  overflow: hidden;

  transition: 0.5s;

  border-radius: 10px 10px 0 0;
}

.fruite .fruite-item .fruite-img img {
  transition: 0.5s;
}

.fruite .fruite-item .fruite-img img:hover {
  transform: scale(1.3);
}

/*** Fruits End ***/

/*** vesitable Start ***/

.vesitable .vesitable-item {
  height: 100%;

  transition: 0.5s;
}

.vesitable .vesitable-item:hover {
  box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.vesitable .vesitable-item .vesitable-img {
  overflow: hidden;

  transition: 0.5s;

  border-radius: 10px 10px 0 0;
}

.vesitable .vesitable-item .vesitable-img img {
  transition: 0.5s;
}

.vesitable .vesitable-item .vesitable-img img:hover {
  transform: scale(1.2);
}

.vesitable .owl-stage {
  margin: 50px 0;

  position: relative;
}

.vesitable .owl-nav .owl-prev {
  position: absolute;

  top: -8px;

  right: 0;

  color: var(--bs-primary);

  padding: 5px 25px;

  border: 1px solid var(--bs-secondary);

  border-radius: 20px;

  transition: 0.5s;
}

.vesitable .owl-nav .owl-prev:hover {
  background: var(--bs-secondary);

  color: var(--bs-white);
}

.vesitable .owl-nav .owl-next {
  position: absolute;

  top: -8px;

  right: 88px;

  color: var(--bs-primary);

  padding: 5px 25px;

  border: 1px solid var(--bs-secondary);

  border-radius: 20px;

  transition: 0.5s;
}

.vesitable .owl-nav .owl-next:hover {
  background: var(--bs-secondary);

  color: var(--bs-white);
}

/*** vesitable End ***/

/*** Banner Section Start ***/

.banner .banner-btn:hover {
  background: var(--bs-primary);
}

/*** Banner Section End ***/

/*** Facts Start ***/

.counter {
  height: 100%;

  text-align: center;

 
}

.counter i {
  font-size: 60px;

  margin-bottom: 25px;
}

.counter h4 {
  color: var(--bs-primary);

  letter-spacing: 1px;

  text-transform: uppercase;
}

.counter h1 {
  margin-bottom: 0;
}

/*** Facts End ***/

/*** testimonial Start ***/

.testimonial .owl-nav .owl-prev {
  position: absolute;

  top: -58px;

  right: 0;

  color: var(--bs-primary);

  padding: 5px 25px;

  border: 1px solid var(--bs-secondary);

  border-radius: 20px;

  transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
  background: var(--bs-secondary);

  color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
  position: absolute;

  top: -58px;

  right: 88px;

  color: var(--bs-primary);

  padding: 5px 25px;

  border: 1px solid var(--bs-secondary);

  border-radius: 20px;

  transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
  background: var(--bs-secondary);

  color: var(--bs-white);
}

/*** testimonial End ***/

/*** Single Page Start ***/

.pagination {
  display: inline-block;
}

.pagination a {
  color: var(--bs-dark);

  padding: 10px 16px;

  text-decoration: none;

  transition: 0.5s;

  border: 1px solid var(--bs-secondary);

  margin: 0 4px;
}

.pagination a.active {
  background-color: var(--bs-primary);

  color: var(--bs-light);

  border: 1px solid var(--bs-secondary);
}

.pagination a:hover:not(.active) {
  background-color: var(--bs-primary);
}

.nav.nav-tabs .nav-link.active {
  border-bottom: 2px solid var(--bs-secondary) !important;
}

/*** Single Page End ***/

/*** Footer Start ***/

.footer {
  background: #141414;

  color: #ccc;

  padding: 60px 0 20px;

  font-family: "Poppins", sans-serif;
}

.footer .container {
  max-width: 1200px;

  margin: auto;

  padding: 0 20px;
}

.footer-grid {
  display: grid;

  grid-template-columns: 2fr 1fr 1fr 1.5fr;

  gap: 40px;
}

.footer-logo {
  width: 180px;

  margin-bottom: 15px;
}

.footer h3 {
  color: #fff;

  margin-bottom: 15px;

  font-size: 16px;

  letter-spacing: 1px;
}

.footer ul {
  list-style: none;

  padding: 0;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: #ccc;

  text-decoration: none;

  transition: color 0.3s;
}

.footer ul li a:hover {
  color: #e4002b;
}

.footer-about p {
  line-height: 1.7;

  color: #bbb;
}

.subscribe-box {
  display: flex;

  background: #fff;

  border-radius: 4px;

  overflow: hidden;

  margin-bottom: 10px;
}

.subscribe-box input {
  flex: 1;

  border: none;

  padding: 10px;

  outline: none;
}

.subscribe-box button {
  background: #e4002b;

  border: none;

  color: #fff;

  padding: 0 15px;

  cursor: pointer;
}

.social-icons a {
  color: #fff;

  margin-right: 12px;

  font-size: 18px;

  transition: color 0.3s;
}

.social-icons a:hover {
  color: #e4002b;
}

.footer-bottom {
  text-align: center;

  padding-top: 30px;

  border-top: 1px solid #333;

  font-size: 14px;

  color: #888;
}

.footer-bottom a {
  color: #fff;

  text-decoration: none;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    text-align: center;
  }

  .subscribe-box {
    justify-content: center;
  }
}

/*** Footer End ***/
