/* BelDent Fusion Slider — clean styles */

body.home .tfs-slider .slide-content-container {
  top: 50% !important;
}

body.home .tfs-slider .slide-content {
  width: min(1050px, 90vw);
  max-width: 1050px;
  margin: 0 auto;
  padding: 36px 45px 40px;
  box-sizing: border-box;
  text-align: center;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    rgba(98,162,196,.38) 0%,
    rgba(52,73,94,.55) 50%,
    rgba(98,162,196,.38) 100%
  );
  box-shadow: none;
}

body.home .tfs-slider .slide-content .heading,
body.home .tfs-slider .slide-content .caption,
body.home .tfs-slider .slide-content .fusion-title-sc-wrapper {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.home .tfs-slider .slide-content .heading {
  margin: 0 0 10px !important;
}

body.home .tfs-slider .slide-content .caption {
  margin: 0 0 20px !important;
}

body.home .tfs-slider .slide-content .heading h2 {
  color: #fff !important;
  font-size: 46px !important;
  font-weight: 600 !important;
  line-height: 1.16 !important;
  letter-spacing: -.5px;
  margin: 0 !important;
  text-shadow: 0 2px 5px rgba(52,73,94,.55);
}

body.home .tfs-slider .slide-content .caption h3 {
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  text-shadow: 0 2px 5px rgba(52,73,94,.6);
}

/* Slider buttons */

body.home .tfs-slider .tfs-button-1,
body.home .tfs-slider .tfs-button-2 {
  display: inline-block;
  margin: 0 7px;
}

body.home .tfs-slider .fusion-button {
  min-width: 190px;
  padding: 14px 24px !important;
  border-radius: 5px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: background-color .2s ease !important;
}

body.home .tfs-slider .tfs-button-1 .fusion-button,
body.home .tfs-slider .tfs-button-1 .fusion-button:hover {
  border: 1px solid #34495e !important;
}

body.home .tfs-slider .tfs-button-1 .fusion-button {
  background: #34495e !important;
}

body.home .tfs-slider .tfs-button-1 .fusion-button:hover {
  background: #333c4e !important;
}

body.home .tfs-slider .tfs-button-1 .fusion-button-text {
  color: #fff !important;
  font-weight: 600 !important;
}

body.home .tfs-slider .tfs-button-2 .fusion-button {
  background: #fff !important;
  border: 1px solid #fff !important;
}

body.home .tfs-slider .tfs-button-2 .fusion-button:hover {
  background: #eef0f2 !important;
  border-color: #eef0f2 !important;
}

body.home .tfs-slider .tfs-button-2 .fusion-button-text {
  color: #34495e !important;
  font-weight: 600 !important;
}

/* Navigation arrows — consistent circle */

body.home .tfs-slider .flex-direction-nav a,
body.home .tfs-slider .flex-direction-nav a:hover,
body.home .tfs-slider .flex-direction-nav a:focus,
body.home .tfs-slider .flex-direction-nav a:active {
  background: rgba(52,73,94,.30) !important;
  border-radius: 50% !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  transition: none !important;
}

body.home .tfs-slider .flex-direction-nav a:before,
body.home .tfs-slider .flex-direction-nav a:after,
body.home .tfs-slider .flex-direction-nav a i {
  color: #fff !important;
}

/* Tablet and mobile */

@media (max-width: 1024px) {
  body.home .tfs-slider .slide-content {
    width: 92vw;
    padding: 26px 24px;
  }

  body.home .tfs-slider .slide-content .heading h2 {
    font-size: 34px !important;
  }
}

@media (max-width: 767px) {
  body.home .tfs-slider .slide-content {
    width: 94vw;
    padding: 20px 15px;
  }

  body.home .tfs-slider .slide-content .heading h2 {
    font-size: 26px !important;
  }

  body.home .tfs-slider .slide-content .caption h3 {
    font-size: 16px !important;
  }

  body.home .tfs-slider .tfs-button-1,
  body.home .tfs-slider .tfs-button-2 {
    display: block;
    margin: 8px auto;
  }

  body.home .tfs-slider .fusion-button {
    min-width: 0;
    width: 100%;
    max-width: 260px;
  }
}

/* BELDENT HEADING VISIBILITY OVERRIDE */

body.home .tfs-slider .slide-content {
  background: linear-gradient(
    90deg,
    rgba(98,162,196,.28) 0%,
    rgba(52,73,94,.62) 50%,
    rgba(98,162,196,.28) 100%
  ) !important;
}

body.home .tfs-slider .slide-content .heading {
  margin: 0 0 6px !important;
}

body.home .tfs-slider .slide-content .caption {
  margin: 0 0 18px !important;
}

body.home .tfs-slider .slide-content .heading h2 {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 54px !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -1px !important;
  text-transform: uppercase;
  color: #ffffff !important;
  text-shadow: 0 3px 10px rgba(0,0,0,.35) !important;
}

body.home .tfs-slider .slide-content .caption h3 {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 21px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.30) !important;
}

@media (max-width: 1024px) {
  body.home .tfs-slider .slide-content .heading h2 {
    font-size: 40px !important;
  }

  body.home .tfs-slider .slide-content .caption h3 {
    font-size: 18px !important;
  }
}

@media (max-width: 767px) {
  body.home .tfs-slider .slide-content .heading h2 {
    font-size: 28px !important;
    line-height: 1.12 !important;
    letter-spacing: -.4px !important;
  }

  body.home .tfs-slider .slide-content .caption h3 {
    font-size: 16px !important;
  }
}

/* BELDENT FULL WIDTH SLIDER BAND */

body.home .tfs-slider .slide-content-container {
  top: 64% !important;
}

body.home .tfs-slider .slide-content {
  position: relative;
  z-index: 1;
  background: transparent !important;
  border-radius: 0 !important;
  width: min(1050px, 90vw);
  max-width: 1050px;
  padding: 30px 40px 34px;
  overflow: visible;
}

body.home .tfs-slider .slide-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    rgba(98,162,196,.28) 0%,
    rgba(52,73,94,.48) 50%,
    rgba(98,162,196,.28) 100%
  );
  pointer-events: none;
}

body.home .tfs-slider .slide-content .heading h2 {
  text-transform: none !important;
  font-size: 48px !important;
  letter-spacing: -.5px !important;
}

body.home .tfs-slider .slide-content .heading {
  margin-bottom: 8px !important;
}

body.home .tfs-slider .slide-content .caption {
  margin-bottom: 16px !important;
}

@media (max-width: 767px) {
  body.home .tfs-slider .slide-content-container {
    top: 60% !important;
  }

  body.home .tfs-slider .slide-content {
    width: 94vw;
    padding: 20px 14px 24px;
  }

  body.home .tfs-slider .slide-content .heading h2 {
    font-size: 28px !important;
  }
}

/* BELDENT SLIDER LARGER TYPOGRAPHY */

@media (min-width: 1025px) {
  body.home .tfs-slider .slide-content .heading h2 {
    font-size: 64px !important;
    font-weight: 700 !important;
    line-height: 1.12 !important;
    letter-spacing: -1px !important;
  }

  body.home .tfs-slider .slide-content .caption h3 {
    font-size: 32px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
  }
}

body.home .tfs-slider .slide-content .heading {
  margin-bottom: 8px !important;
}

body.home .tfs-slider .slide-content .caption {
  margin-bottom: 20px !important;
}

@media (max-width: 767px) {
  body.home .tfs-slider .slide-content .heading h2 {
    font-size: 30px !important;
    line-height: 1.15 !important;
  }

  body.home .tfs-slider .slide-content .caption h3 {
    font-size: 17px !important;
  }
}
/* BELDENT SLIDER LOWER BAND OVERRIDE */

body.home .tfs-slider .slide-content-container {
  top: 67% !important;
  width: 100%;
  left: 0;
  overflow: visible;
}

body.home .tfs-slider .slide-content {
  position: relative;
  background: transparent !important;
  z-index: 3;
}

/* Horizontal fade: completely transparent at both edges */
body.home .tfs-slider .slide-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  top: -35px;
  bottom: -65px;
  background: linear-gradient(
    90deg,
    rgba(98,162,196,0) 0%,
    rgba(98,162,196,.12) 15%,
    rgba(98,162,196,.42) 30%,
    rgba(52,73,94,.55) 50%,
    rgba(98,162,196,.42) 70%,
    rgba(98,162,196,.12) 85%,
    rgba(98,162,196,0) 100%
  );
  pointer-events: none;
}

body.home .tfs-slider .slide-content .heading {
  margin-bottom: 6px !important;
}

body.home .tfs-slider .slide-content .caption {
  margin-bottom: 18px !important;
}

@media (min-width: 768px) {
  body.home .tfs-slider .slide-content .heading,
  body.home .tfs-slider .slide-content .caption,
  body.home .tfs-slider .slide-content .buttons {
    position: relative;
    top: 0;
  }
}

/* BELDENT MOBILE SLIDER ALIGNMENT */
@media (max-width: 767px) {
  body.home .tfs-slider .slide-content-container {
    top: 78% !important;
    left: 0 !important;
    width: 100% !important;
    text-align: center !important;
  }

  body.home .tfs-slider .slide-content {
    width: calc(100% - 20px) !important;
    max-width: 480px !important;
    margin: 0 auto !important;
    padding: 16px 8px 18px !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  body.home .tfs-slider .slide-content::before {
    top: -5px !important;
    bottom: -25px !important;
  }

  body.home .tfs-slider .slide-content .heading,
  body.home .tfs-slider .slide-content .caption {
    width: 100% !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.home .tfs-slider .slide-content .heading h2 {
    font-size: 17px !important;
    line-height: 1.25 !important;
    letter-spacing: -0.5px !important;
    white-space: nowrap !important;
    text-align: center !important;
  }

  body.home .tfs-slider .slide-content .caption h3 {
    font-size: 13px !important;
    line-height: 1.35 !important;
    text-align: center !important;
  }

  body.home .tfs-slider .slide-content .buttons {
    text-align: center !important;
  }
}

/* BELDENT SLIDER HEIGHT TWEAK */
@media (min-width: 768px) {
  body.home .tfs-slider .slide-content::before {
    top: 18px !important;
    bottom: -120px !important;
  }
}

/* BELDENT — VERTICAL CONTENT CORRECTION */

@media (min-width: 768px) {
  body.home .tfs-slider .slide-content .heading,
  body.home .tfs-slider .slide-content .caption,
  body.home .tfs-slider .slide-content .buttons {
    top: 0 !important;
    transform: translateY(35px) !important;
  }
}

/* BELDENT SLIDER CONTENT CENTERING FIX */

@media (min-width: 768px) {
  body.home .tfs-slider .slide-content .heading,
  body.home .tfs-slider .slide-content .caption,
  body.home .tfs-slider .slide-content .buttons {
    top: 0 !important;
    transform: none !important;
  }

  body.home .tfs-slider .slide-content {
    transform: translateY(55px) !important;
  }
}

/* BELDENT FINAL CONTENT ALIGNMENT */

@media (min-width: 768px) {
  body.home .tfs-slider .slide-content .heading,
  body.home .tfs-slider .slide-content .caption,
  body.home .tfs-slider .slide-content .buttons {
    transform: translateY(15px) !important;
  }
}


/* BELDENT SLIDER — FADE ONLY */
/* Avada animates opacity and margin-top together.
   Keep opacity animation, disable vertical movement. */

body.home .tfs-slider .slide-content-container .slide-content {
  margin-top: 0 !important;
}

/* BELDENT MOBILE SECTION SPACING START */
@media (max-width: 767px) {
  body.home .fusion-fullwidth:not(.fusion-header) {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
}
/* BELDENT MOBILE SECTION SPACING END */
