@import url(mainstyle.css);

* {
  font-family: var(--primefont);
}

a {
  color: inherit;
  text-decoration: none;
}

[data-luvio-theme="dark"] [data-logo="dark"],
[data-luvio-theme="light"] [data-logo="light"] {
  display: block;
}

[data-luvio-theme="dark"] [data-logo="light"],
[data-luvio-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; 
  color: var(--icon-text) !important;
  background-color: var(--icon-bg) !important;
}

.icon-xl {
  min-width: 60px !important;
  min-height: 60px !important;
  background-color: var(--icon-alt-bg) !important;
}

.circle-icon-lg {
  min-width: 80px;
  min-height: 80px;
}

.offcanvas{
  height: 100vh;
}
.head-content{
    width: 920px;
    margin: auto;
    max-width: 100%;
    text-align: center;
}
header{
    transition: 0.2s ease;
    z-index: 999;
}
header.fix{
  /* background-color: var(--head-bg) !important; */
   background-color: #9b9b9b88 !important;
   backdrop-filter: blur(10px) !important;
    position: fixed !important;
}

header .nav-link {
  color: var(--nav-text) ;
}
header.fix .nav-link {
  color: var(--head-text) !important;
} 

/* header CSS */
.nav-link {
    color: var(--nav-text);
    font-weight: 500; 
}
.nav-item.active .nav-link,
.nav-item:hover .nav-link, .social-icon a:hover {
    color: var(--nav-alt-text) !important;
}
@media(max-width:991px){
    .offcanvas-body{
        background-color: var(--head-bg) !important;
    }
    .nav-link {
        color:var(--head-text) !important;
    }
}


.theme-switch-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}



#banner-slider {
    min-height: 900px;
}

/* Slide backgrounds */
.slide-1 {
    background: linear-gradient(170deg, rgb(10 10 10), rgba(106, 129, 75, 0.3)),
        url('../../assets/images/slider-img-1.webp') no-repeat;
    background-size: cover;
    background-position: top center;
    min-height: 900px;
}

.slide-2 {
    background: linear-gradient(170deg, rgb(10 10 10), rgb(106, 129, 75, 0.2)),
        url('../../assets/images/slider-img-2.webp') no-repeat;
    background-size: cover;
    background-position: center bottom;
    min-height: 900px;
}

.slide-3 {
    background: linear-gradient(170deg, rgb(10 10 10), rgba(106, 129, 75, 0.2)),
        url('../../assets/images/slider-img-3.webp') no-repeat;
    background-size: cover;
    background-position:  center;
    min-height: 900px;
}

@media(max-width: 575px) {
    #banner-slider,.testimonial-container {
        min-height: 600px;
    }

    .slide-1,
    .slide-2,
    .slide-3,.testimonial-slide-1,.testimonial-slide-2,.testimonial-slide-3 {
        min-height: 650px;
    }
    .fs-10{
      font-size: large;
    }
}
.splide-container{
  max-width: 720px;
  width: 100%;
}

.splide__arrow  {
  display: none !important;
}
 
.about-img{
  max-height: 550px;
  height: 500px;
  object-position: top;
}

.service-card-section {
  background: url("../../assets/images/service-img.webp") no-repeat  center/cover;
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 650px;
  max-width: 1800px;
  margin-top: 40px;
}

.service-card {
  position: relative;
  height: 300px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
  backdrop-filter: blur(0px);
}
.service-content {
  position: absolute;
  width: 100%;
  padding: 1.5rem;
  color: white;
  bottom: -100px;
  transition: bottom 0.5s ease-in-out;
  z-index: 10;
  border-radius: 0 0 1rem 1rem;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .service-content{
    bottom: -130px;
  }
}
@media screen and (min-width: 768px) and (max-width: 992px) {
  .service-content {
     bottom: -80px;
  }
}
.service-card:hover {
  backdrop-filter: blur(10px);
  transform: translateY(-10px);
}

.service-card:hover .service-content {
  bottom: 0px;
}

.custom-select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.custom-select {
    border: none;
    width: 100%;
    padding: 0;
    box-shadow: none;
    background: transparent;
    appearance: none;       
}

.custom-select:focus {
    outline: none;
}
[data-luvio-theme ="dark"] .custom-select option {
  background-color: #1e1e1e;   /* dark dropdown */
  color: #ffffff;              /* white option text */
}

.select-icon {
    position: absolute;
    right: 0;
    pointer-events: none;   
}
.product-content{
  max-width: 700px;
  width: 100%;
}

.blog-card .card-img {
    overflow: hidden;            
    border-radius: 6px;          
}

.blog-card .card-img img {
    transition: transform 0.4s ease;
    display: block;
}

.blog-card:hover .card-img img {
    transform: scale(1.1);       
}
.splide__slide { 
  padding: 20px; 
}
.testimonial-img{
    width: 150px;
    height: 150px;
    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%;
}

.form-control::placeholder{
  color: var(--input-text);
}


#backtotop.show {
    opacity: 1;
    visibility: visible;
}
@media(max-width:992px){
  .product-image img{
      height: 350px;
  }
}
#backtotop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    min-width: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px !important;
    height: 50px !important;
}
[data-luvio-theme ="dark"] input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) hue-rotate(180deg) saturate(0) brightness(1.1);
  -webkit-appearance: none; /* optional: remove native appearance if you want full control */
}

/* Firefox (not all versions support styling) */
[data-luvio-theme ="light"] input[type="date"]::-moz-calendar-picker-indicator {
  filter: invert(1) saturate(0) brightness(1.1);
}
div.error{
  color: rgb(198, 2, 2);
}
#newsletter div.error{
  position: absolute;
  bottom: -23px;
  left: 0;
}
.alertmsg{
  z-index: 9999;
}