
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  scroll-behavior: smooth;
}

a {
  color: var(--color-links);
  text-decoration: none;
}

a:hover {
  color: var(--color-links-hover);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
}
.sec-title {
  font-size: 30px;
  font-weight: 600;
  color: var(--color-primary-dark);
}
.logo-img{
  max-width: 300px;
}
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: var(--color-white);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
}
#preloader:before, #preloader:after {
  content: "";
  position: absolute;
  border: 4px solid var(--color-primary);
  border-radius: 50%;
  -webkit-animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
#preloader:after {
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}

@-webkit-keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }
  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }
  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  background: rgba(var(--color-secondary-rgb), 0.05);
  min-height: 40px;
  margin-top: 76px;
}
.breadcrumbs h2 {
  font-size: 30px;
  font-weight: 300;
  margin: 0;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}
.breadcrumbs ol li + li {
  padding-left: 10px;
}
.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: var(--color-secondary-light);
  content: "/";
}
@media (max-width: 992px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }
  .breadcrumbs h2 {
    margin-bottom: 10px;
    font-size: 24px;
  }
  .breadcrumbs ol {
    display: block;
  }
  .breadcrumbs ol li {
    display: inline-block;
  }
}
/*--------------------------------------------------------------
# Sections & Section Header
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-header {
  text-align: center;
  padding-bottom: 40px;
}
.section-header p {
  margin: 0 auto;
  color: var(--color-default);
}
@media (min-width: 1280px) {
  .section-header p {
    max-width: 80%;
  }
}
/*--------------------------------------------------------------
# Scroll top button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 995;
  background: var(--color-primary);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}
.scroll-top i {
  font-size: 24px;
  color: var(--color-white);
  line-height: 0;
}
.scroll-top:hover {
  background: rgba(var(--color-primary-rgb), 0.85);
  color: var(--color-white);
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}
/*--------------------------------------------------------------
# Index Page
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Animated Hero Section
--------------------------------------------------------------*/
.hero-animated {
  width: 100%;
  min-height: 50vh;
  background: url("../img/slider.jpg") center center;
  background-size: cover;
  position: relative;
  padding: 80px 0 60px;
}
.hero-animated h2,.hero-animated h1 {
  margin: 0 0 10px 0;
  font-size: 35px;
  font-weight: 500;
  color: var(--color-white);
}
.hero-animated p {
  color: var(--color-white);
  margin: 0 0 30px 0;
  font-size: 17px;
  font-weight: 300;
}
  .hero-animated .animated {
    max-width: 250px;
  }
.hero-animated .btn-get-started {
  font-size: 16px;
  font-weight: 400;
  display: inline-block;
  padding: 10px 28px;
  border-radius: 4px;
  transition: 0.5s;
  color: var(--color-white);
  background: var(--color-primary);
}
.hero-animated .btn-get-started:hover {
  background: rgba(var(--color-primary-rgb), 0.8);
}
.hero-animated a{
  color: rgba(var(--color-white-rgb), 0.8);
}
.hero-animated a:hover{
  color: var(--color-primary);
}
@media (max-width: 640px) {
  .hero-animated h1,.hero-animated h2 {
    font-size: 25px;
  }
  .hero-animated p {
    font-size: 18px;
    margin-bottom: 30px;
  }
}
/*--------------------------------------------------------------
# beforeafter Section
--------------------------------------------------------------*/
.beforeafter {
  padding: 60px 0 60px 0;
  background: var(--color-primary);
}
.beforeafter .swiper-slide img {
  opacity: 0.8;
  transition: 0.3s;
  border-radius: 5px;
}
.beforeafter .swiper-slide img:hover {
  filter: none;
  opacity: 1;
}
.beforeafter .swiper-pagination-bullet {
  background: var(--color-primary-dark);
}
.beforeafter .swiper-pagination {
  position: relative;
  margin-top: 30px;
}

/*--------------------------------------------------------------
# contact Section
--------------------------------------------------------------*/
.contact {
  background: #f5f5f5;
}
.contact .details {
  padding: 50px 30px;
  margin: 30px;
  transition: all ease-in-out 0.3s;
  background: var(--color-white);
  position: relative;
  background: rgba(var(--color-white-rgb), 0.9);
  text-align: center;
  border-radius: 8px;
  box-shadow: 0px 0 25px rgba(var(--color-black-rgb), 0.1);
}
.contact .details .icon {
  margin: 0;
  width: 80px;
  height: 80px;
  background: var(--color-primary);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-white);
  font-size: 28px;
  transition: ease-in-out 0.3s;
  position: absolute;
  top: -39px;
  left: calc(50% - 36px);
  border: 6px solid var(--color-white);
}
.contact .details h3 {
  color: var(--color-default);
  font-weight: 500;
  margin: 10px 0 15px 0;
  font-size: 20px;
  transition: ease-in-out 0.3s;
}
.contact .details p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}
.contact .service-item:hover .details h3 {
  color: var(--color-primary);
}
.contact .service-item:hover .details .icon {
  background: var(--color-white);
  border: 2px solid var(--color-primary);
}
.contact .service-item:hover .details .icon i {
  color: var(--color-primary);
}
.contact .service-item:hover .img img {
  transform: scale(1.2);
}


/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services .service-item {
  padding: 30px;
  transition: all ease-in-out 0.4s;
  background: var(--color-white);
  height: 100%;
  margin: 0px 20px;
}
.featured-services .col-lg-4.col-md-6 {
  margin-top: 5px;
}
.featured-services .service-item .icon {
  margin-bottom: 10px;
}
.featured-services .service-item .icon img {
  width: 75px;
}
.featured-services .service-item h4 {
  font-weight: 500;
  margin-bottom: 15px;
  font-size: 19px;
}
.featured-services .service-item h4 a {
  color: var(--color-secondary);
  transition: ease-in-out 0.3s;
}
.featured-services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}
.featured-services .service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0px 0 60px 0 rgba(var(--color-secondary-rgb), 0.1);
}
.featured-services .service-item:hover h4 a {
  color: var(--color-primary);
}
.featured-services .bi-reply-all-fill::before {
  content: "\f51d";
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  margin-left: 5px;
}
.featured-services  .default-btn:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}
a.default-btn {
  color: var(--color-white);
  font-weight: 500;
  font-size: 16px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 5px;
  transition: 0.5s;
  margin-top: 10px;
  background: var(--color-primary);
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  color: var(--color-white);
  font-size: 14px;
  padding: 30px 0;
  background: var(--color-default);
}
.footer img {
  width: 175px;
}
.footer .footer-legal a {
  color: var(--color-white);
  transition: 0.3s;
}

.footer .footer-legal a:hover {
  color: var(--color-primary);
}
footer p {
  margin-bottom: 0;
  margin-top: 10px;
}
.copyright {
  border-top: 1px solid var(--color-white);
  margin-top: 10px;
  padding-top: 10px;
}