@import url(mainstyle.css);

*{
    font-family: var(--primefont);
}
a{
    color: inherit;
    text-decoration: none;
}
a:hover{
    color: inherit;
    text-decoration: none;
}
.nav-link{
  color: var(--nav-text) !important;
  font-weight: 600;
}
.nav-link:hover{
  color: var(--prime-text) !important; 
}
.nav-item.active .nav-link{
  color: var(--prime-text) !important; 
}
.head-content{
    width: 920px;
    margin: auto;
    max-width: 100%;
    text-align: center;
} 
::placeholder{
    color: var(--input-text) !important;
    text-transform: capitalize;
}
.icon-bg{ 
    width: 75px;
    height: 75px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--icon-text);
} 
footer .icon-bg{ 
    width: 30px;
    height: 30px; 
} 

/* 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%;
}



/* Banner CSS */
#banner-slider{
    min-height: 800px;
}
#banner-slider .slide-1{
    background:linear-gradient(90deg, rgba(var(--banner-bg), 0.95), rgba(var(--banner-bg), 0.4)), url('../../assets/banner-img/banner1.webp')no-repeat;
    background-size: cover;
    background-position: topcenter;
    min-height: 800px;
}
#banner-slider .slide-2{
    background:linear-gradient(90deg, rgba(var(--banner-bg), 0.95), rgba(var(--banner-bg), 0.4)), url('../../assets/banner-img/banner2.webp')no-repeat;
    background-size: cover;
    background-position: topcenter;
    min-height: 800px;
}
#banner-slider .slide-3{
    background:linear-gradient(90deg, rgba(var(--banner-bg), 0.95), rgba(var(--banner-bg), 0.4)), url('../../assets/banner-img/banner3.webp')no-repeat;
    background-size: cover;
    background-position: topcenter;
    min-height: 800px;
} 
 #banner-slider .splide-container{ 
    width: 700px; 
    max-width: 100%;   
    height:100%;
    position: relative; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* navigation styles */
#banner-slider .splide__arrow {
    background: var(--prime-bg);
    width: 55px;
    height: 55px;
    border-radius: 5px;
    opacity: 1;
}
#banner-slider .splide__arrow svg{
    font-size: 24px;
    fill: var(--white-text);  
}
#banner-slider .splide__pagination__page {
    background: #ffff;
    border: 0;
    display: inline-block;
    height: 14px;
    margin: 3px;
    opacity: 0.8;
    padding: 0;
    position: relative;
    transition: transform 0.5s ease;
    width: 14px;
}
#banner-slider .splide__pagination__page.is-active {
    background: var(--prime-bg);
    transform: scale(1.2);
    z-index: 1;
}
@media(max-width: 1400px){
  #banner-slider .splide-container{ 
    text-align: center;
    margin: auto;
  }
}
@media(max-width: 991px){
  #banner-slider .splide__arrow--prev{
    top: unset;
    bottom: -10px !important;
    left: unset;
    right: 80px !important;
    box-shadow: unset;
  }
  #banner-slider .splide__arrow--next{
    top: unset;
    bottom: -10px !important;
    box-shadow: unset;
  }
  #banner-slider, #banner-slider .slide-1, #banner-slider .slide-2, #banner-slider .slide-3{
    min-height: 550px;
  }
}
@media(max-width:768px){
    #banner-slider{
        min-height: 600px;
    }
    #banner-slider .splide__slide{
        min-height: 600px;
    }
    #banner-slider .splide__arrow {
        width: 40px;
        height: 40px;
    }
    #banner-slider .splide__arrow--prev{ 
        right: 65px !important; 
    }
}

/* about */

/* .abt-1-img{
    position: relative;
    min-height: 600px;
}
.abt-1-img img:nth-child(1){
    width: 500px !important;
    max-width: calc(100% - 70px);
    min-height: 450px;
    object-fit: cover;
    border: 10px solid var(--body-bg);
    border-radius: 50px 20px 0 20px;
}
.abt-1-img img:nth-child(2){
    width: 400px !important;
    max-width: calc(100% - 70px);
    min-height: 300px;
    object-fit: cover;
    position: absolute;
    right: 0;
    bottom: 0;
    border: 10px solid var(--body-bg);
    border-radius: 20px 20px 60px 20px;
}  */
#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;
}
.border, .border-top, .border-bottom, .border-start, .border-end, input, textarea, select{
  border-color: var(--light-border) !important;
}
input, textarea, select{
  padding: 10px !important;
}
.form-label{
  font-weight: 700; 
}
.preloader {
    position: fixed;
    height: 100vh;
    width: 100%;
    z-index: 9999;
    background-color: var(--body-bg);
}
.preloader-img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
} 
#newsletter div.error{
  display: block; 
  position: absolute;
  bottom: -30px;
  padding: 2px 5px;
  border-radius: 5px; 
  background-color: var(--alt-bg);
}
.error{
  color: var(--prime-text);
  font-size: 14px;
  text-transform: capitalize;
}