/* =====================
    SECTION: UTILITY
    ====================== */
.section__subtitle {
  color: var(--primary-color);
  font-family: var(--heading-font);
  display: inline-block;
  font-weight: 600;
  border-radius: 30px;
  background: rgba(var(--primary-color-rgb), 0.1);
  padding: 8px 24px;
}

.divider {
  position: absolute;
  content: "";
  height: 140px;
  width: 100%;
  bottom: 0;
  left: 0;
  background: url(../images/abstract/divider.webp);
  background-repeat: repeat-x;
}

/* =====================
    SECTION: HERO
    ====================== */
.hero {
  position: relative;
}

.hero .carousel-item {
  min-height: 75svh;
  display: grid;

  &::before {
    content: "";
    position: absolute;
    inset: 0;
    --background-ol: linear-gradient(to bottom, #031313, rgb(40 11 114 / 50%));
    background: var(--background-ol);
  }

  & img {
    height: 100%;
    object-fit: cover;
  }

  & .carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    text-align: start;

    & .text-banner {
      line-height: 1.15;

      & span {
        color: var(--secondary-color);
      }
    }
  }
}

.hero .carousel-inner .blurry-light {
  position: absolute;
  width: 240px;
  aspect-ratio: 1;
  z-index: 1;
  border-radius: 50%;
  filter: blur(150px);

  &.topStart {
    background: var(--primary-color);
    top: 0;
    left: 0;
    mix-blend-mode: luminosity;
  }

  &.bottomEnd {
    background: var(--secondary-color);
    bottom: 15%;
    right: -10%;
    width: 480px;
    opacity: 0.65;
    mix-blend-mode: hard-light;
  }
}

.hero .scroll-down {
  position: absolute;
  color: var(--bs-light);
  bottom: 1rem;
  left: 50%;
  z-index: 1;
  font-size: 2rem;
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.carousel-caption .subtitle {
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px;
  padding: 14px 24px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  margin-bottom: 32px;
}

/*  */
.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
}

.carousel-control-prev {
  margin-bottom: 80px;
}

.carousel-control-next {
  margin-top: 80px;
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  right: 130px;
  width: 60px;
  height: 60px;
  padding: 12px;
  background-color: transparent;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.carousel-control-prev {
  left: auto;
  margin-bottom: 15px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: none;
}

/* =====================
    SECTION: ABOUT
    ====================== */

.about__section {
  position: relative;
  z-index: 1;
}

.about__section img {
  border-radius: 1rem;
}

.about1-thumb {
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
}

.about__counter {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 195px;
  padding: 40px;
  border-radius: 10px;
  background: var(--green-color);
  display: inline-block;
  text-align: center;
}

.about__content {
  max-width: 563px;
}

.about__box {
  position: relative;
  border-radius: 1rem;
  border: 1px solid #c9f2de;
  background-color: #e8fdf3;
  padding: 45px 21px 49px 47px;
  background-color: rgb(253, 244, 228);
  border-width: 1px;
  border-style: solid;
  border-color: rgb(249, 211, 178);
  border-image: initial;
}

.about__box.green {
  border: 1px solid #c9f2de;
  background-color: #e8fdf3;
}

.about__box.blue {
  border: 1px solid #cff3ff;
  background-color: #edf9fd;
}

/* =====================
    SECTION: 
    ====================== */

.our__keyfactor {
  position: relative;
  z-index: 1;
  background: #f6f6f9;
}

.our__keyfactor::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url(../images/bg/bg_1.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.our__keyfactor .accordion-button {
  font-size: var(--fs-small-banner);
  font-weight: 600;
}

.our__keyfactor .accordion-button:not(.collapsed) {
  background: rgba(var(--primary-color-rgb), 0.1);
  box-shadow: none;
}

.our__keyfactor .accordion-item {
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  overflow: hidden;
  border: none;
}

.our__keyfactor .accordion-body {
  background: rgba(var(--primary-color-rgb), 0.1);
}

/* =====================
    SECTION: 
    ====================== */

.counter__section {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 70px;
  background: url(../images/bg/bg_2.webp);
  background-position: center;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.counter__section::before {
  position: absolute;
  content: "";
  background: var(--primary-color);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0.96;
}

.counter__info {
  position: relative;
  z-index: 5;

  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  height: 100%;
  text-align: center;
}

.counter__section .section__subtitle {
  background: rgba(255, 255, 255, 0.18);
}

/* =====================
    SECTION: VIDEO
    ====================== */
.video {
  position: relative;
  z-index: 6;
}

.video__thumb img {
  border-radius: 18px;
}

.video-button {
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9;
}

.video .play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  text-decoration: none;
  color: #ffffff;
}

.ripple {
  position: relative;
}

.ripple::before,
.ripple::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 80px;
  height: 80px;
  transform: translateX(-50%) translateY(-50%);
  border-radius: 50%;
  box-shadow: 0 0 0 0 #ffffff;
  animation: rippleOne 3s infinite;
}

@keyframes rippleOne {
  70% {
    box-shadow: 0 0 0 40px rgba(244, 68, 56, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(244, 68, 56, 0);
  }
}

.ripple::before {
  animation-delay: 0.9s;
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
}

.ripple::after {
  animation-delay: 0.6s;
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
}

/* =====================
    SECTION: TESTIMONIAL
    ====================== */

.testimonial__section {
  background: #f6f6f9;
}

.testimonial__info {
  text-align: center;
  padding: 50px 34px;
  border-radius: 18px;
  background: #ffffff;
  margin-top: 50px;
  height: 100%;
}

.testimonial__image {
  position: relative;
  margin-top: -200px;
  margin-bottom: 40px;
  display: inline-flex;
}

.testimonial__image img {
  border-radius: 50%;
  width: 100px;
}

.testimonial__image__quote {
  position: absolute;
  top: 50%;
  right: -13px;
  z-index: 4;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  border-radius: 50%;
  transform: translateY(-50%);
}

.testimonial__image__quote i {
  color: #ffffff;
}

.testimonial__name {
  font-size: var(--fs-sub-title);
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--primary-color);
}

.testimonial__desg {
  margin-bottom: 1rem;
  font-style: italic;
}

/* =====================
    SECTION: product
    ====================== */
.toc .nav .nav-link {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: #000;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  background-color: var(--primary-color);
  color: #000;
  margin-left: 15px;
}

/* =====================
    SECTION: BLOG
    ====================== */

.blog__section {
  background: #f6f6f9;
}

.client__info {
  display: block;
  text-decoration: none;
  color: var(--primary-color);
}

.blog__info {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  gap: 24px;
  border-radius: 18px;
  background: #ffffff;
}

.blog__content {
  padding: 22px 0;
}

.blog__Image img {
  height: 100%;
  object-fit: cover;
  border-radius: 18px 0px 0px 18px;
}

/*RIGHTSIDE BAR*/
.about__box1 {
  position: relative;
  border-radius: 1rem;
}

.rightbar .about__box,
.rightbar .about__box1 {
  padding: 10px 20px;
}

.gallery-thumbnail {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  grid-gap: 20px;
}

.gallery-thumbnail :is(img, video) {
  width: 100%;
  height: 100%;
  overflow: hidden;
  object-fit: cover;
  object-position: center 35%;
  transition: all 0.5s ease;
  border-radius: 0.5rem;
}

label.error{
  color: #f00;
  font-size: 13px;
}

/* =====================
    SECTION: Loading
    ====================== */

.loader {
  width: fit-content;
  font-weight: bold;
  font-family: monospace;
  font-size: 40px;
  background: radial-gradient(circle closest-side, #000 94%, #0000) right/calc(200% - 1em) 100%;
  animation: l24 1s infinite alternate linear;
  margin: auto;
}

.loader::before {
  content: "Loading...";
  line-height: 1em;
  color: #0000;
  background: inherit;
  background-image: radial-gradient(circle closest-side, #fff 94%, #000);
  -webkit-background-clip: text;
  background-clip: text;
}

@keyframes l24 {
  100% {
    background-position: left;
  }
}

/* =====================
    RESPONSIVE : DESKTOP
    ====================== */

@media only screen and (min-width: 1025px) {
  .services__tab {
    & .accordion-header {
      display: none;
    }

    & .accordion-item .collapse:not(.show) {
      display: block;
    }
  }
}

/* =====================
    RESPONSIVE : TABLET
    ====================== */

@media only screen and (max-width: 1024px) {
  .menu__bar .navbar {
    z-index: 1111;
    top: 0;
    right: 0;
    background: none;
    width: 100%;
    background: #fff;
  }

  .menu__bar .navbar .navbar-toggler {
    background: var(--secondary-color);
  }

  .offcanvas-body {
    background: var(--primary-color);
  }

  .menu__bar .nav-link {
    color: var(--bs-light);
  }

  .top__bar {
    display: none;
  }

  .carousel-control-prev,
  .carousel-control-next {
    top: 80%;
    right: 30px;
    width: 40px;
    height: 40px;
  }

  .carousel-caption {
    left: 5%;
  }

  .carousel-control-next {
    margin-top: 50px;
  }

  .services__tab .tab-content>.tab-pane {
    display: block !important;
    opacity: 1;
  }

  .accordion-button {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: #000;
  }

  .accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: #000;
  }
}

/* =====================
  RESPONSIVE : MOBILE
====================== */

@media only screen and (max-width: 400px) {
  .breadcrumb__sc .breadcrumb {
    width: 90%;
  }

  .accordion-header {
    border-radius: 18px;
  }
}