@import url(mainstyle.css);

* {
  font-family: var(--primefont);
}

a {
  color: inherit;
  text-decoration: none;
}

[data-Velontrax-theme="dark"] [data-logo="dark"],
[data-Velontrax-theme="light"] [data-logo="light"] {
  display: block;
}

[data-Velontrax-theme="dark"] [data-logo="light"],
[data-Velontrax-theme="light"] [data-logo="dark"] {
  display: none;
}

/* icon BG */
.icon-bg {
  min-width: 35px;
  min-height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--icon-text);
}

.icon-xl {
  min-width: 60px !important;
  min-height: 60px !important;
}

.circle-icon-lg {
  width: 80px;
  height: 80px;
  overflow: hidden;
}
.circle-icon-lg img{ 
  width: 100%;
  object-fit: cover;
}

header {
  transition: 0.2s ease;
  z-index: 999;
}

header.fix {
  background-color: transparent;
}

/* header CSS */
.nav-link {
  color: var(--nav-text);
  font-weight: 500;
}

.nav-item.active .nav-link,
.nav-item:hover .nav-link,
.nav-item .nav-link:focus:hover {
  color: var(--prime-text) !important;
}

.theme-switch-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* head-content */
.head-content {
  width: 920px;
  margin: auto;
  max-width: 100%;
  text-align: center;
}

#banner-slider {
  min-height: 650px;
}

/* Slide backgrounds */
.slide-1 {
  background: linear-gradient(170deg, rgb(10 10 10), rgba(13, 13, 13, 0.3)),
    url("../../assets/images/slide-1.webp") no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 650px;
}

.slide-2 {
  background: linear-gradient(170deg, rgb(10 10 10), rgba(16, 16, 16, 0.3)),
    url("../../assets/images/slide-2.webp") no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 650px;
}

.slide-3 {
  background: linear-gradient(170deg, rgb(10 10 10), rgba(17, 17, 17, 0.3)),
    url("../../assets/images/slide-3.webp") no-repeat;
  background-size: cover;
  background-position: center center;
  min-height: 600px;
}

@media (max-width: 575px) {
  #banner-slider,
  .testimonial-container {
    min-height: 450px;
  }

  .slide-1,
  .slide-2,
  .slide-3,
  .testimonial-slide-1,
  .testimonial-slide-2,
  .testimonial-slide-3 {
    min-height: 450px;
  }
  .fs-10 {
    font-size: 40px !important;
  }

  .fs-9 {
    font-size: 40px !important;
  }
}

.theme-btn {
  width: 52px;
  height: 42px;
}

/* Content container */
.splide-container {
  max-width: 800px;
  line-height: 10px;
}

/* Navigation Arrows */
.splide__arrow {
  background: transparent;
  display: none;
}

.moving-banner {
  background-color: var(--prime-bg);
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
}

.banner-content {
  display: inline-flex;
  position: relative;
  animation: scrollLeft 16s linear infinite;
  will-change: transform;
  padding-right: 50px;
}

.banner-content::after {
  content: attr(data-text);
  display: inline-flex;
  padding-left: 50px;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.service-card {
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-3px);
  }

  50% {
    transform: translateX(3px);
  }

  75% {
    transform: translateX(-3px);
  }
}

.service-card:hover .car-img img {
  animation: shake 0.3s ease;
}

.about-imge-container {
  position: relative;
  padding: 20px;
  overflow: hidden;
}
div.progress {
  background-color: var(--alt-bg);
  border: 1px solid var(--prime-border) !important;
}

.img-block-1 {
  background-image: url("../../assets/images/about-img-1.webp");
  background-size: cover;
  background-position: center;
  height: 280px;
  width: 75%;
  margin-left: 20%;
  border-radius: 10px;
  z-index: 2;
  position: relative;
}

.img-block-2 {
  background-image: url("../../assets/images/about-img-2.webp");
  background-size: cover;
  background-position: center;
  height: 300px;
  width: 80%;
  border-radius: 10px;
  margin-top: -100px;
  margin-left: 0;
  z-index: 1;
  position: relative;
}

.experience-box {
  background-color: var(--prime-bg);
  width: 150px;
  height: 150px;
  position: absolute;
  top: 80px;
  left: 60px;
  z-index: 10;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-count {
  top: 22%;
  right: -1%;
  width: 70px; 
  border-top-left-radius: 10px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 0px;
  padding: 15px;
}

/* Give slides some visible style */
.splide__slide {
  padding: 20px;
}
.testimonial-img {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  outline: 2px solid var(--prime-border);
  outline-offset: 2px;
  overflow: hidden;
}
.testimonial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* rating */
.star-rating {
  display: inline-block;
  font-size: 1.5rem;
  cursor: pointer;
}

.star {
  position: relative;
  display: inline-block;
  color: #ccc;
}

.star:before {
  content: "★";
  position: absolute;
  left: 0;
  width: 0;
  overflow: hidden;
  color: gold;
}

.star.filled:before {
  width: 100%;
}

.star.half:before {
  width: 50%;
}

.footer-bg {
  background: linear-gradient(170deg, rgb(10 10 10), rgba(13, 13, 13, 0.854)),
    url("../../assets/images/footer-bg-.webp") no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 380px;
}

.form-control:focus {
  box-shadow: none !important;
  border: 1px solid var(--prime-border);
}

.input-text::placeholder {
  color: var(--para-text);
  text-transform: capitalize;
}

#backtotop {
  position: fixed;
  bottom: 60px;
  right: 30px;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  width: 50px !important;
  min-width: unset;
  height: 50px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

#backtotop.show {
  opacity: 1;
  visibility: visible;
}

#newsletter div.error{
  position: absolute;
  bottom: -25px;
}
.error{
  color: red;
}
.alertmsg{
  z-index: 99999;
}