@import url(mainstyle.css);

*{
    font-family: var(--primefont);
}
a{
    color: inherit;
    text-decoration: none;
}

[data-carzura-theme="dark"] [data-logo="dark"],
[data-carzura-theme="light"] [data-logo="light"] {
    display: block;
}

[data-carzura-theme="dark"] [data-logo="light"],
[data-carzura-theme="light"] [data-logo="dark"] {
    display: none;
}

img{
    object-fit: cover !important;
}
.btn-close {
    background-image: unset;
}

/* icon BG */
.icon-bg{
    min-width: 30px;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--icon-text);
}
.icon-bg-lg{
    min-width: 50px;
    min-height: 50px; 
}

/* header CSS */

.nav-link{
    color: var(--nav-text);
    font-weight: 500;
}
.nav-item.active .nav-link, .nav-item:hover .nav-link{
    color: var(--prime-text);
}

/* Banner CSS */
 ::placeholder{
    color: var(--input-text) !important;
    opacity: 0.5 !important;
 }
/* Banner container height */

#banner-slider {
    min-height: 920px;
} 
/* Slide backgrounds */
.slide-1 {
    background: linear-gradient(90deg, rgb(10 10 10), rgb(183 0 0 / 54%)),
                url('../../assets/images/banner1.webp') no-repeat; 
    background-size: cover;
    background-position: bottom center;
    min-height: 920px;
}
.slide-2 {
    background: linear-gradient(90deg, rgb(10 10 10), rgb(183 0 0 / 54%)),
                url('../../assets/images/banner2.webp') no-repeat;
    background-size: cover;
    background-position: bottom center;
    min-height: 920px;
}
.slide-3 {
    background: linear-gradient(90deg, rgb(10 10 10), rgba(130, 0, 0, 0.54)),
                url('../../assets/images/banner4.webp') no-repeat;
    background-size: cover;
    background-position: bottom center;
    min-height: 920px;
}

@media(max-width: 575px){
#banner-slider {
    min-height: 750px;
}    
.slide-1, .slide-2, .slide-3{
    min-height: 750px;
}
}
/* Content container */
.splide-container { 
    max-width: 720px;
}
  

/* Navigation Arrows */
.splide__arrow {
    background: linear-gradient(135deg, var(--prime-bg));
    width: 60px;
    height: 60px;
    border-radius: 50%;
    opacity: 0.95;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    transition: all 0.3s ease; 
} 
.splide__arrow svg {
    font-size: 28px;
    fill: #fff;
} 
  
@media(max-width:1480px){
.splide__arrow--prev {  
    top: unset;
    bottom: 0;
    left: calc(50% - 70px);
}
.splide__arrow--next { 
    top: unset;
    bottom: 0;
    right: calc(50% - 70px);
}
}

/* about us */
.head-content{
    margin: auto;
    text-align: center; 
    max-width: 1000px;
    width: 100%;
} 
/* expert service */
 .service-bg{
    background:linear-gradient(90deg, rgb(183 0 0 / 54%), rgb(10 10 10)), url('../../assets/images/banner3.webp')no-repeat;
    background-size: cover;
    background-position: center center;
    min-height: 900px;
 }
/* Hover Zoom */
.service-card-box{
    transition: 0.4s ease;
}
.service-card-main .service-card-box:nth-child(odd):hover{
    transform: rotate(5deg);  
}
.service-card-main .service-card-box:nth-child(even):hover{
    transform: rotate(-5deg);  
} 
.form-main{
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.769), rgba(130, 0, 0, 0.54)),
                url('../../assets/images/banner4.webp') no-repeat;
                background-position: center right;
    background-size:  cover; 
} 

.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: #000000;
}
[data-carzura-theme="dark"] .star{
    color: #ffffff;
}
.star:before {
  content: '★';
  position: absolute;
  left: 0;
  width: 0;
  overflow: hidden;
  color: gold;
}

.star.filled:before {
  width: 100%;
}

.star.half:before {
  width: 50%;
}
#backtotop {
    position: fixed;
    bottom: 30px;
    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;
} 
.preloader {
    position: fixed;
    height: 100vh; 
    width: 100%;
    z-index: 9999; 
        background: linear-gradient(90deg, rgb(10 10 10), rgba(130, 0, 0, 0.54)),
                url('../../assets/images/banner4.webp') no-repeat;
                background-size: cover;
                background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.preloader-img {
   width: 140px;
   height: 140px;
   border-radius: 50%;
   color: #ff2525;
   background: linear-gradient(currentColor 0 0) center/100%  10px,
          linear-gradient(currentColor 0 0) center/ 10px 100%,
          radial-gradient(farthest-side,#0000 calc(100% - 22px),currentColor calc(100% - 8.8px)),
          radial-gradient(circle 22px,currentColor 94%,#0000 0);
   background-repeat: no-repeat;
   animation: spinner-mu2ebf 1.2s infinite linear;
   position: relative;
}

.preloader-img::before {
   content: "";
   position: absolute;
   inset: 0;
   border-radius: inherit;
   background: inherit;
   transform: rotate(45deg);
}

@keyframes spinner-mu2ebf {
   to {
      transform: rotate(.5turn);
   }
}