/*--------------------------------------------------------------*/

/*	Section Header & Title
/*--------------------------------------------------------------*/

.section-header {
  margin: -7px 0 60px;
  padding: 0 15px;
  display: block;
  text-align: center;
}

/* Global Section Title & Subtitle Styling */
.section-header .section-title,
.section-title,
.callout-to-action .title {
  margin: 0;
  font-weight: var(--formula-section-title-fw);
  font-size: var(--formula-section-title-fs);
  line-height: var(--formula-section-title-lh);
  text-transform: capitalize;
  margin-bottom: 8px;
  letter-spacing: var(--thm-letter-space-small);
}

.section-header .section-title span,
.section-title span,
.callout-to-action .title span {
  color: var(--thm-primary);
}

.section-header .section-subtitle,
.portfolio-selector .branding {
  position: relative;
  display: inline-block;
  color: var(--thm-primary);
  font-size: var(--formula-section-subtitle-fs);
  font-weight: var(--formula-section-subtitle-fw);
  line-height: var(--formula-section-subtitle-lh);
  margin-bottom: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.callout-to-action .subtitle {
  position: relative;
  display: inline-block;
  color: var(--thm-primary);
  font-size: var(--formula-section-subtitle-fs);
  font-weight: var(--formula-section-subtitle-fw);
  line-height: var(--formula-section-subtitle-lh);
  margin-bottom: 8px;
  letter-spacing: 0.2em;
  text-transform: capitalize;
}

.callout-to-action .subtitle {
  color: #cbd5e1;
  margin-bottom: 40px;
}

.section-header .section-title.light,
.section-header .section-subtitle.light {
  color: #fff;
}

/* Section Divider */
.section-header .divider-line {
  width: 60px;
  height: 4px;
  background-color: var(--formula-section-divider-color);
  margin: 10px auto 0;
  border: none;
  border-radius: 2px;
  display: block;
}

.section-header .divider-line:before,
.section-header .divider-line:after {
  display: none;
}

.divider-line {
  display: block;
  width: 100%;
  font-size: 0;
  line-height: 0;
  margin: 12px 0 17px;
}

.divider-line:before,
.divider-line:after {
  content: "";
  display: block;
  border-top: 2px solid;
}

.divider-line:before {
  width: 60px;
  margin: 0 auto;
}

.divider-line:after {
  width: 30px;
  margin: 5px auto 0;
}

.divider-line.light {
  color: #fff;
}

/*--------------------------------------------------------------*/

/*	Owl Carousel Next Prev 
/*--------------------------------------------------------------*/

.owl-carousel .owl-prev,
.owl-carousel .owl-next {
  background-color: #202020;
  color: #fff;
  font-size: 1rem;
  line-height: 2.5;
  width: 40px;
  height: 40px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  display: block;
  margin: -25px 0 0;
  position: absolute;
  text-align: center;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 10;
  overflow: hidden;
  opacity: 0;
  cursor: pointer;
}

.owl-carousel .owl-prev {
  left: 0px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

.owl-carousel .owl-next {
  right: 0px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

.owl-carousel:hover .owl-prev {
  left: 20px;
  opacity: 1;
}

.owl-carousel:hover .owl-next {
  right: 20px;
  opacity: 1;
}

.owl-carousel .owl-prev:hover,
.owl-carousel .owl-next:hover {
  color: #fff;
  opacity: 1;
}

@media (max-width: 768px) {

  .owl-carousel .owl-prev,
  .owl-carousel .owl-next {
    font-size: 0.813rem;
    line-height: 2.5;
    width: 30px;
    height: 30px;
  }

  .owl-carousel:hover .owl-prev {
    left: 10px;
    opacity: 1;
  }

  .owl-carousel:hover .owl-next {
    right: 10px;
    opacity: 1;
  }
}

/* Main Slider Next Prev */

#slider-demo .owl-prev,
#slider-demo .owl-next {
  background-color: #ffffff00;
  text-decoration: none;
  display: block;
  margin: -30px 0 0;
  width: 50px;
  height: 34px;
  position: absolute;
  text-align: center;
  font-size: 15px;
  line-height: 2.6;
  top: 50%;
  z-index: 10;
  overflow: hidden;
  opacity: 1;
  cursor: pointer;
  color: #ffffff;
  /* text-shadow: 1px 1px 0 rgb(255 255 255 / 30%); */
  /* -webkit-transition: all 0.3s ease-in-out; */
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  /* border-bottom: 2px solid #3c72fc; */
  transform: rotate(270deg);
}

#slider-demo .owl-prev {
  left: 0px;
  -webkit-border-radius: 0px 5px 5px 0px;
  -moz-border-radius: 0px 5px 5px 0px;
  border-radius: 0px 5px 5px 0px;
}

#slider-demo .owl-next {
  right: 0px;
  -webkit-border-radius: 5px 0px 0px 5px;
  -moz-border-radius: 5px 0px 0px 5px;
  border-radius: 5px 0px 0px 5px;
}

#slider-demo:hover .owl-prev {
  left: 15px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

#slider-demo:hover .owl-next {
  right: 15px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

#slider-demo .owl-prev:hover,
#slider-demo .owl-next:hover {
  opacity: 1;
}

@media (max-width: 768px) {

  #slider-demo .owl-prev,
  #slider-demo .owl-next {
    font-size: 0.813rem;
    line-height: 2.5;
    width: 30px;
    height: 30px;
  }

  #slider-demo:hover .owl-prev {
    left: 10px;
  }

  #slider-demo:hover .owl-next {
    right: 10px;
  }
}

/*--------------------------------------------------------------*/

/*	Owl Carousel Paginations / Dots
/*--------------------------------------------------------------*/

.owl-theme .owl-dots .owl-dot span {
  background: rgba(32, 32, 32, 1);
}

.testimonial .owl-theme .owl-dots .owl-dot.active span,
.testimonial .owl-theme .owl-dots .owl-dot:hover span {
  background: rgba(255, 255, 255, 1);
}

.testimonial-two .owl-theme .owl-dots .owl-dot span {
  background: #cacaca;
}

/*--------------------------------------------------------------*/

/*	Service Section
/*--------------------------------------------------------------*/

.service {
  position: relative;
}

.service-shape {
  background-repeat: no-repeat;
  position: absolute;
  height: 100%;
  width: 100%;
  opacity: 0.3;
  top: 0;
}

.service .post {
  position: relative;
  display: block;
  background-color: #0b0d17;
  /* Slate-950 approx or slightly lighter for better visibility */
  padding: 50px 40px 90px;
  margin-bottom: 30px;
  transition: all 500ms ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service .post .entry-header .entry-title {
  font-size: 22px;
  color: var(--thm-base);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.service .post .entry-header .entry-title a {
  color: var(--thm-base);
}

.service .post .entry-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #94a3b8;
  /* Slate-400 */
  transition: all 500ms ease;
}

.service-image {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  margin-top: 25px;
  transition: all 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.service-image a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

.service-image img {
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.service-icon {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 54px;
  height: 54px;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: all 500ms ease;
}

.service-icon i {
  font-size: 24px;
  color: var(--thm-base);
  line-height: 1;
  transition: all 500ms ease;
  display: block;
}

.service .post .more-link {
  position: relative;
  display: inline-block;
  font-size: 12px;
  color: #8f8da0;
  font-weight: 700;
  text-transform: var(--thm-text-transform);
  letter-spacing: 0.1em;
  transition: all 500ms ease;
}

.service .post .more-link:hover::before {
  width: 100%;
}

.service .post .more-link:before {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  height: 2px;
  width: 10px;
  background-color: currentColor;
  transition: width 500ms ease;
}

.service .post:hover {
  background-color: var(--thm-primary);
  transform: translateY(-5px);
}

.service .post:hover .entry-content p,
.service .post:hover .entry-content a {
  color: var(--thm-base);
}

.service .post:hover .service-icon {
  background-color: rgba(255, 255, 255, 0.2);
}

.service .post:hover .service-icon i {
  color: var(--thm-base);
}

.service .post:hover .service-image img {
  transform: translateY(-4px) scale(1.04);
}

/*--------------------------------------------------------------*/

/*	Contact Section
/*--------------------------------------------------------------*/

.contact-form-section {
  padding-bottom: 100px;
}

.contact-form-section form label {
  font-size: 0.938rem;
  display: block;
  margin: 0 0 20px;
  font-weight: 600;
}

.contact-form-section form input,
.contact-form-section form textarea {
  height: 70px;
  width: 100%;
  border: none;
  background: var(--thm-light);
  padding-left: 30px;
  padding-right: 60px;
  margin-bottom: 30px;
  border-radius: 0px;
  font-size: 14px;
  color: var(--thm-gray);
  font-weight: 500;
  display: block;
}

/* Overwrite WP Forms Styles */
.wpforms-form input,
.wpforms-form textarea {
  height: 70px;
  width: 100%;
  border: none;
  background: var(--thm-light);
  padding-left: 30px;
  padding-right: 60px;
  margin-bottom: 30px;
  border-radius: 0px;
  font-size: 14px;
  color: var(--thm-gray);
  font-weight: 500;
  display: block !important;
}

.wpforms-form button {
  position: relative;
  display: inline-block !important;
  vertical-align: middle;
  -webkit-appearance: none;
  border: none;
  background-color: var(--thm-primary);
  color: var(--thm-base);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 18px 50px;
  transition: 500ms;
  letter-spacing: 0.1em;
}

.contact-form-section form textarea {
  height: 140px;
}

.contact-form-section .thm-btn:hover {
  background: var(--thm-black);
  color: var(--thm-base);
}

.contact .contact-header {
  padding: 20px 20px 20px 0px;
}

.contact .contact-header .section-title {
  margin-bottom: 40px;
}

.contact .contact-location {
  position: relative;
  display: block;
  background-color: var(--thm-light);
  padding: 45px 50px 55px;
  margin-bottom: 30px;
  transition: all 500ms ease;
  cursor: pointer;
}

.contact .contact-location:hover {
  background-color: var(--thm-primary);
}

.contact .contact-location .location-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 30px;
  text-transform: var(--thm-text-transform);
  margin-bottom: 20px;
  letter-spacing: var(--thm-letter-space-small);
  transition: all 500ms ease;
}

.contact .contact-location:hover .location-title,
.contact .contact-location:hover .location-text {
  color: var(--thm-base);
}

.contact .contact-location .location-text {
  font-size: 16px;
  margin: 0;
  line-height: 30px;
  transition: all 500ms ease;
}

.contact .google-map {
  border: 1px solid #f2f4f8;
  box-shadow: rgb(100 100 111 / 20%) 0px 7px 29px 0px;
}

.contact .google-map iframe {
  margin-bottom: -10px;
}

.contact-location-section {
  position: relative;
  display: block;
  border-top: 1px solid #e6e9ef;
  padding-top: 120px;
}

.contact-loc-wrap {
  margin-bottom: 50px;
}

@media (min-width: 1200px) {

  /* Main row: stretch columns to match height */
  .contact-loc-wrap {
    display: flex;
    align-items: stretch;
  }

  /* Make both left and right main columns flex containers */
  .contact-loc-wrap>div {
    display: flex;
    flex-direction: column;
  }

  /* Make the inner row stretch inside the right column */
  .contact-loc-wrap>div>.row {
    flex-grow: 1;
    display: flex;
    align-items: stretch;
  }

  /* Make the inner box columns flex containers */
  .contact-loc-wrap>div>.row>div {
    display: flex;
    flex-direction: column;
  }

  /* Make the contact-location boxes fill 100% height, center content vertically, and remove bottom margin */
  .contact .contact-location {
    flex-grow: 1;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 350px;
  }

  /* Make the map container fill the full height of the left column */
  .contact .card-holder.double.base,
  .contact .card__image,
  .contact .google-map {
    height: 100%;
  }

  .contact .google-map iframe {
    height: 100%;
    min-height: 100%;
    margin-bottom: 0;
  }
}

/*--------------------------------------------------------------*/

/*	Blog Single Page

/*	Slider One - Owl Carousel
/*--------------------------------------------------------------*/

.hero-slider {
  position: relative;
  font-family: "Inter", sans-serif;
}

#slider-demo {
  margin: 0px;
}

#slider-demo .item {
  position: relative;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center center;
  width: 100%;
  z-index: 0;
  background-size: cover;
  height: 980px;
}

#slider-demo .item::before {
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
}

.slider-caption {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-top: 0;
}

.caption-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-top: 0;
  width: 100%;
}

.caption-content.text-left {
  align-items: flex-start;
}

.caption-content.text-center {
  align-items: center;
}

.caption-content.text-right {
  align-items: flex-end;
}

.owl-carousel .owl-item.active .slider-caption .thm-btn,
.owl-carousel .owl-item.active .slider-caption p,
.owl-carousel .owl-item.active .slider-caption span,
.owl-carousel .owl-item.active .slider-caption h2,
.owl-carousel .owl-item.active p {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) translateX(0);
}

.slider-caption .title {
  margin: 0;
  margin-bottom: 30px;
  color: var(--thm-base);
  font-weight: 900;
  letter-spacing: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(120px);
  transition-delay: 1000ms;
  transition:
    transform 2000ms ease,
    opacity 2000ms ease;
  font-size: var(--formula-slider-title-fs);
  line-height: var(--formula-slider-title-lh);
  text-transform: var(--thm-text-transform);
  padding-top: 32px;
  max-width: var(--formula-slider-title-mw, 70%);
}

.slider-caption .subtitle {
  font-size: var(--formula-slider-subtitle-fs);
  position: relative;
  font-weight: 600;
  color: var(--thm-base);
  text-transform: uppercase;
  letter-spacing: 4px;
  background-color: rgba(var(--thm-black-rgb), 0.1);
  display: inline-block;
  padding: 8px 0px;
  margin: 0;
  opacity: 0;
  transform: translateY(-120px);
  transition-delay: 0;
  transition:
    transform 2000ms ease,
    opacity 2000ms ease;
  background-color: rgba(var(--thm-base-rgb), 0.2);
  border-bottom: 2px solid var(--thm-primary);
  max-width: var(--formula-slider-subtitle-mw, 100%);
}

.slider-caption p {
  font-size: var(--formula-slider-desc-fs);
  line-height: var(--formula-slider-desc-lh);
  color: var(--thm-base);
  font-weight: 300;
  margin-bottom: 50px;
  margin-top: 15px;
  opacity: 0;
  transform: translateY(120px);
  transition-delay: 0;
  transition:
    transform 2000ms ease,
    opacity 2000ms ease;
  max-width: var(--formula-slider-desc-mw, 50%);
}

/* Aligning slider caption blocks correctly with max-width */
.caption-content.text-center .title,
.caption-content.text-center p,
.caption-content.text-center .m-top-40,
.caption-content.text-center .subtitle {
  margin-left: auto;
  margin-right: auto;
}

.caption-content.text-right .title,
.caption-content.text-right p,
.caption-content.text-right .m-top-40,
.caption-content.text-right .subtitle {
  margin-left: auto;
  margin-right: 0;
}

.caption-content.text-left .title,
.caption-content.text-left p,
.caption-content.text-left .m-top-40,
.caption-content.text-left .subtitle {
  margin-left: 0;
  margin-right: auto;
}

.hero-slider .slider-caption .thm-btn {
  font-size: var(--formula-slider-btn-fs);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(100px);
  transition-delay: 2500ms;
  transition:
    transform 2000ms ease,
    opacity 2000ms ease,
    color 500ms ease,
    background 500ms ease;
}

@media (max-width: 768px) {
  .slider-caption {
    width: 84%;
  }

  .header_btn {
    display: none;
  }

  .site-description {
    display: none;
  }
}