
.swiper {
  overflow: hidden;
}

.textMuted {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #525252;
  width: 100%;
}

.heroh1 {
  font-size: 31px;
  font-weight: 600;
  color: #000;
}
.herop1 {
  font-weight: 400;
  font-size: 24px;
  color: #000;
}

.dropdown .btn {
  background-color: white;
  border: none;
}

.navbar-brand img {
  height: 40px;
}

.navbar {
  padding: 15px 0;
}

.nav-item {
  margin-inline: 8px;
}

.promo-banner {
  background-color: #02518c !important;
  font-size: 14px;
}

.promo-text a:hover {
  text-decoration: underline !important;
}

.promo-banner .text-warning {
  color: #ffc107 !important;
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: relative;
}

.hero-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  color: #333;
}
@media (max-width: 992px) {
  .hero-content {
    position: relative !important; /* remove absolute */
    transform: translateY(-10%) !important; /* remove translate */
    padding: 20px 0; /* optional spacing */
    text-align: center; /* center content */
  }
}

/* Mobile */
@media (max-width: 576px) {
  .hero-content {padding: 10px 0;font-size: 0.9rem;}
  .heroh1 {font-size: 20px;font-weight: bold;}
  .hero-content p {font-size: 14px;}
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.slider-dots {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.dot.active {
  background: white;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.slider-nav.prev {
  left: 20px;
}

.slider-nav.next {
  right: 20px;
}

.text-primary {
  color: #02518c !important;
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: relative;
}

.hero-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.dot.active {
  background: white;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.slider-nav.prev {
  left: 20px;
}

.slider-nav.next {
  right: 20px;
}

.text-primary {
  color: #02518c !important;
}

.hero-section {
  background-color: #f8f9fa;
  padding: 0px 0;
}

.hero-section img {
  width: 100%;
  /* max-width: 500px; */
}

.category-card {
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 20px;
  transition: all 0.3s ease;
}

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

.category-card img {
  height: 120px;
  object-fit: contain;
  margin-bottom: 15px;
}

.flag-icon {
  height: 15px;
  width: auto;
}

.icon-bar {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.icon-bar div {
  background-color: #02518c;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-card {
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  min-height: 170px;
}

.category-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px) scale(1.03);
}

.category-label {
  text-align: center;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}

.category-count {
  text-align: center;
}

.feature-bar {
  margin-top: 32px;
  margin-bottom: 32px;
}

.feature-list {
  background: #0a5a99;
  border-radius: 12px;
  padding: 16px 24px;
  gap: 32px;
}

.feature-item {
  min-width: 200px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  background: #fff;
  color: #0a5a99;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-text {
  font-size: 1rem;
  color: #fff;
  font-weight: 500;
}

@media (max-width: 768px) {
  .feature-list {
    flex-direction: column;
    gap: 16px;
    padding: 12px 8px;
  }

  .feature-item {
    min-width: 0;
  }
}

.marquee {
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  width: 100%;
  white-space: nowrap;
}

.brand-logo-card {
  min-width: 100px;
  min-height: 100px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s, transform 0.2s;
  background: #fff;
  border: solid 1px #d9d9d9;
  flex: 0 0 auto;
}

.custom-text {
  font-size: 13px;
  color: #757575;
  font-weight: 300;
  margin-bottom: 0;
}



.custom-text-head {
  font-size: 15px;
  color: #303030;
  font-weight: bold;
  margin-bottom: 2px;
}

.brand-logo-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px) scale(1.03);
}

@media (max-width: 768px) {
  .brand-logo-card {
    min-width: 60px;
    min-height: 50px;
    padding: 0.5rem;
  }

  .marquee {
    height: 60px;
  }
}

.hot-section {
  background: #eaf2f8;
}

.hot-card {
  min-width: 210px;
  min-height: 350px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}
.hot-card img {
  width: 160px;
  margin: auto;
  text-align: center;
  display: block;
  height: auto;
}
.hot-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px) scale(1.03);
}

.hotSwiper .swiper-pagination {
  position: absolute;
  left: 0;
  bottom: 0;
  width: auto;
}

.testimonials-section {
  background: #f8fafc;
}

.testimonials-section .card {
  border-radius: 15px;
  transition: all 0.3s ease;
}

.testimonials-section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}


.avatar-img {
  margin-top: -50px;
  background: white;
}

/* --- Testimonial card --- */
.testimonials-section .card {
  position: relative;
  border-radius: 15px;
  /* remove overflow: hidden from the main card */
  z-index: 1;
}

/* --- Create a wrapper for overlay to preserve rounding --- */
.testimonials-section .card .overlay-wrapper {
  position: absolute;
  inset: 0;
  border-radius: 15px;
  overflow: hidden;         /* limit overlay within corners, not the avatar */
  z-index: 1;
}

/* --- The slide-up overlay --- */
.testimonials-section .card .overlay-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 81, 140, 0.9);   /* your blue overlay */
  transform: translateY(100%);
  transition: transform 0.45s ease;
}

/* --- Hover effect --- */
.testimonials-section .card:hover .overlay-wrapper::before {
  transform: translateY(0);
}

/* --- Text color change --- */
.testimonials-section .card:hover h6,
.testimonials-section .card:hover p {
  color: #fff !important;
  z-index: 1;
}
.testimonials-section .card:hover .text-warning {
  color: #ffdf5d !important;
  z-index: 1;
}

/* --- Avatar should always stay above overlay --- */
.avatar-img {
  position: relative;
  z-index: 3;
  margin-top: -50px;
  background: #fff;
}

.offer-section {
  background-color: #f9fbfd;
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.footer-section {
  background-color: #0a5a99;
}

.footer-section h6 {
  color: #fff;
}

.footer-section a:hover {
  text-decoration: underline;
  color: #f3f3f3;
}

.article-card {
  /* Ensures cards are the same height */
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s;
}

.article-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.article-card img {
  height: 180px; /* Fixed height for consistent image size */
  object-fit: cover;
}

.card-body {
  /* Pushes the footer (read more) to the bottom */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card-height {
  /* Set a specific fixed height */
  height: 270px;

  /* Alternatively, set a minimum height to ensure it expands with content */
  /* min-height: 400px; */
}

.card-text {
  flex-grow: 1; /* Allows description to take up available space */
  color: #555;
  font-size: 0.95rem;
}

.card-link-container {
  margin-top: auto; /* Pushes the Read More link to the bottom */
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
}

.read-more-link {
  text-decoration: none;
  font-weight: 300;
  font-size: 13px;
  color: #02518c; /* Standard Bootstrap primary blue */
}
.read-more {
  text-decoration: none;
  font-weight: 300;
  font-size: 13px;
  color: #696969;
  background-color: #f5f5f5;
  padding: 5px;
  border-radius: 4px;
  box-shadow: #1e1e1e;
}

.header-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  /* border-bottom: 1px solid #f0f0f0; */
  margin-bottom: 2rem;
}

.logo-text {
  font-weight: bold;
  color: #ff6600; /* Placeholder color for logo/brand identity */
}

/* ancalsnclasnclancn */

.hot-swiper .swiper {
  width: 100%;
  height: 400px;
  position: relative;
}

.swiper-scrollbar {
  display: none;
}

.NewHotSwiper {
  width: 100%;
  height: 250px;
  position: relative;
}

.TestimonialSwiper {
  width: 100%;
  height: 300px;
  position: relative;
}

.hero-banner-swiper {
  width: 100%;
  height: 500px;
  position: relative;
}

.ArticleSwiper {
  width: 100%;
  height: 460px;
  position: relative;
}

/* albcsbacbac */

.why-choose-section {
  padding: 60px 0;
}

.why-title {
  font-weight: 700;
  margin-bottom: 30px;
}

.info-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  height: 250px;
  cursor: pointer;
  transition: transform 0.4s ease;
}

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

.info-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: all 0.3s ease-in-out;
}
.info-card .caption {
  position: absolute;
  left: 0;
  bottom:0;
  z-index: 2;
  display: block;
  width:100%;
  color:white;
  font-size:23px;
  font-weight:700;
  background:#02518C80;
  padding:12px 30px;
  transition: transform 0.4s ease;
}
.info-card:hover .caption{
  display: none;
}


.carCareProductsSwiper .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 51, 102, 0.55);
  /* lighter transparent blue */
  opacity: 0;
  transition: opacity 0.4s ease;
  color: #fff;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 25px;
}

.carCareProductsSwiper .info-card:hover .overlay {
  opacity: 1;
}

.carCareProductsSwiper .overlay h5 {
  font-weight: 700;
}

.carCareProductsSwiper .overlay p {
  font-size: 0.95rem;
  margin-top: 10px;
  color: #f0f0f0;
}

.hotSwiper .swiper-button-next,
.hotSwiper .swiper-button-prev {
  color: #0a5a99 !important;
  background: #fff !important;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  top: 0 !important;
  right: 0;
  left: auto;
}

.swiper-button-next,
.swiper-button-prev {
  color: #0a5a99 !important;
  background: #fff;
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
}

.hotSwiper .swiper-button-prev {
  right: 50px !important;
  left: auto !important;
}

.swiper-button-prev {
  right: 50px !important;
  left: auto !important;
}

.hotSwiper .swiper-button-next:after,
.hotSwiper .swiper-button-prev:after {
  font-size: 18px !important;
}

.new-swiper-button-next:after,
.new-swiper-button-prev:after {
  font-size: 18px !important;
}

@media (max-width: 768px) {
  .hot-card {
    min-width: 170px;
    min-height: 220px;
  }
}
/* kasckackbcb */
.swiper-slide {
  /* display: flex; */
  align-items: center;
  justify-content: center;
  /* background: #fff; */
  height: 430px;
}

.swiper-controls {
  position: absolute !important;
  right: 30px !important;
  bottom: 20px !important;
  display: flex !important;
  align-items: center !important;
  z-index: 10 !important;
  justify-content: space-between;
  width: 89%;
}

.swiper-pagination {
  position: static !important;
  /* width: 0% !important;
            flex-direction: row !important; */
  text-align: left !important;
}

.swiper-nav-btns {
  display: flex !important;
  gap: 10px !important;
}

.swiper-button-next,
.swiper-button-prev {
  position: static !important;
  color: #fff !important;
  background: #0a5a99 !important;
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: background 0.2s !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #08406b !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 18px !important;
}

.swiper-scrollbar {
  background: rgba(0, 0, 0, 0.1) !important;
}

/* ================================
   ✅ Mobile Fixes (≤ 575px)
================================ */
@media (max-width: 575px) {
  /* ✅ Top Bar Cleanup */
  .top-bar .top-bar-link {
    display: none !important; /* hide announcement text */
  }

  .top-bar .d-flex.align-items-center {
    gap: 6px !important; /* reduce spacing */
  }

  .topbarspan {
    font-size: 12px !important;
    margin-right: 4px;
  }

  .dropdown .btn img.flag-icon {
    height: 12px !important;
  }

  /* ✅ Category Grid – 1 Card Per Row */
  .category-section .col-12 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .category-card img {
    height: 120px !important;
  }

  .category-card {
    min-height: 185px !important;
  }

  /* ✅ Brand Bar – convert to grid on mobile (but marquee stays desktop) */
  .marquee {
    white-space: normal !important;
    overflow-x: hidden !important;
    height: auto !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 10px 0;
  }

  .brand-logo-card {
    min-width: unset !important;
    min-height: 113px !important;
    padding: 6px !important;
  }

  /* ✅ Sliders for Why + Articles – 1.5 cards */
  .swiper {
    height: auto !important;
  }

  .NewHotSwiper,
  .ArticleSwiper {
    padding-left: 5px;
    padding-right: 5px;
  }

.swiper.hero-banner-swiper.swiper-initialized.swiper-horizontal.swiper-backface-hidden{
    padding-bottom: 50px;
}
.swiper.TestimonialSwiper.swiper-initialized.swiper-horizontal.swiper-backface-hidden {
    margin-bottom: 30px;
}
}
