/* ============================================
   Widget Banner Business Coach - Estilos Scoped
   Todos los estilos están scoped bajo .banner-business-coach-widget
   ============================================ */

.banner-business-coach-widget {
  /* ============================================
     Estilos base de tipografía
     ============================================ */
  font-size: 16px;
  line-height: 1.7;
  font-family: var(--primary_font);
  font-weight: 400;
  color: var(--primary_color_font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #f3f3f3;
  a {
    text-decoration: none;
    transition: 0.3s;
    color: var(--primary_color_font);
  }

  img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
  }

  p {
    margin-bottom: 20px;
    color: var(--secondary_color_font);
    font-size: 16px;
    line-height: 1.7;

    &:last-child {
      margin-bottom: 0;
    }
  }

  /* ============================================
     Tmp Banner Business Coach Area
     ============================================ */
  .tmp-banner-business-coatch-area {
    height: 950px;
    display: flex;
    align-items: center;
    padding-top: 75px;

    @media only screen and (min-width: 768px) and (max-width: 991px) {
      height: auto;
      padding-top: 100px;
      padding-bottom: 100px;
    }

    @media only screen and (max-width: 767px) {
      height: auto;
      padding-top: 80px;
      padding-bottom: 80px;
    }
  }

  /* ============================================
     Banner Business Coach Wrapper
     ============================================ */
  .banner-business-coatch-wrapper {
    .title {
      margin-top: 15px;
      margin-bottom: 30px;
      font-size: 70px;
      font-weight: 700;
      line-height: 1.2;
      color: var(--primary_color_font);

      @media only screen and (min-width: 992px) and (max-width: 1199px) {
        font-size: 54px;
      }

      @media only screen and (min-width: 768px) and (max-width: 991px) {
        font-size: 44px;
      }

      @media only screen and (max-width: 767px) {
        font-size: 32px;
      }
    }

    p {
      margin-bottom: 40px;
      max-width: 85%;
      color: var(--secondary_color_font);
      font-size: 18px;
      line-height: 1.7;

      @media only screen and (max-width: 767px) {
        max-width: 100%;
        font-size: 16px;
      }
    }
  }

  /* ============================================
     Tmp Badge 2
     ============================================ */
  .tmp-badge-2 {
    font-size: 14px;
    height: 30px;
    line-height: 30px;
    font-weight: 500;
    padding: 0px 14px;
    border-radius: 4px;
    display: inline-block;
    background: var(--primary_color);
    color: #fff;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s;
    margin-bottom: 15px;

    &:hover {
      background: var(--primary_color);
      color: #fff;
    }

    .odometer {
      color: #fff;
      font-weight: 600;
    }
  }

  /* ============================================
     Theme Gradient
     ============================================ */
  .theme-gradient {
    color: var(--primary_color);
  }

  /* ============================================
     Banner Coach Right Image
     ============================================ */
  .banner-coatch-right-image {
    border-radius: 5px !important;
    display: block !important;
    position: relative;
    height: 642px !important;

    @media only screen and (min-width: 768px) and (max-width: 991px) {
      height: auto !important;
      margin-top: 50px;
    }

    @media only screen and (max-width: 767px) {
      height: auto !important;
      margin-top: 40px;
    }

    &::after {
      position: absolute;
      top: -5%;
      right: -6%;
      content: "";
      height: 100%;
      width: 100%;
      border-radius: 6px;
      z-index: 0;
      background: #fff;
    }

    &::before {
      position: absolute;
      bottom: -5%;
      left: -6%;
      content: "";
      height: 100%;
      width: 100%;
      border-radius: 6px;
      z-index: 0;
      background: #fff;
    }
  }

  /* ============================================
     Thumbnail Banner Business Coach
     ============================================ */
  .thumbnail-banner-business-coatch {
    height: 642px !important;
    overflow: hidden;
    border-radius: 5px;
z-index: 1;
position: relative;
    @media only screen and (min-width: 768px) and (max-width: 991px) {
      height: auto !important;
    }

    @media only screen and (max-width: 767px) {
      height: auto !important;
    }

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 5px;
      display: block;
    }
  }

  /* ============================================
     Absolute Rating Area
     ============================================ */
  .banner-coatch-right-image .absolute-rating-area {
    position: absolute;
    left: -20%;
    padding: 20px 32px;
    background: #fefefe;
    border-radius: 6px;
    bottom: 9%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
z-index: 3;
    @media only screen and (min-width: 768px) and (max-width: 991px) {
      left: 51px;
    }

    img {
      margin-bottom: 15px;
    }

    .stars-area {
      display: flex;
      align-items: center;
      gap: 7px;
      margin-bottom: 10px;

      img {
        max-width: 20px;
        margin-bottom: 0;
      }
    }

    p {
      font-size: 18px;
      color: var(--primary_color_font);
      font-weight: 500;
      margin-bottom: 0;

      .odometer {
        color: var(--primary_color);
        font-weight: 600;
        font-size: 18px;
      }
    }
  }

  /* ============================================
     Button Group
     ============================================ */
  .button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin: -10px;
    margin-top: 0;

    a,
    button {
      margin: 10px;
    }

    @media only screen and (max-width: 767px) {
      flex-direction: column;
      align-items: flex-start;
      margin: 0;
      gap: 15px;

      a,
      button {
        margin: 0;
        width: 100%;
        justify-content: center;
      }
    }
  }

  /* ============================================
     Button Styles
     ============================================ */
  .tmp-btn {
    padding: 0 28px;
    border-radius: 5px;
    background: var(--primary_color);
    transition-duration: 300ms;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    height: 50px;
    line-height: 49px;
    letter-spacing: 0.5px;
    width: max-content;
    transition: all 0.6s;
    border: 0 none;
    position: relative;
    z-index: 1;
    overflow: hidden;
    align-items: center;
    justify-content: center;

    @media only screen and (max-width: 767px) {
      padding: 0 16px;
      height: 42px;
      line-height: 42px;
    }

    &.btn-large {
      height: 60px;
      line-height: 59px;
      padding: 0 37px;
      font-size: 17px;

      @media only screen and (max-width: 767px) {
        height: 48px;
        line-height: 48px;
        padding: 0 24px;
        font-size: 16px;
      }
    }

    &.round {
      border-radius: var(--general_border_radius);
    }

    &::after {
      content: "";
      position: absolute;
      -webkit-transition-duration: 800ms;
      transition-duration: 800ms;
      width: 200%;
      height: 200%;
      top: 110%;
      left: 50%;
      background: var(--primary_color);
      -webkit-transform: translateX(-50%);
      transform: translateX(-50%);
      -webkit-border-radius: 50%;
      border-radius: 50%;
      z-index: -1;
    }

    &:hover {
      color: #fff;
      transform: translate3d(0, -2px, 0);
      box-shadow: 0 10px 25px rgba(82, 55, 249, 0.3);

      &::after {
        top: -30%;
      }
    }
  }

  /* ============================================
     Hover Icon Reverse Button
     ============================================ */
  .tmp-btn.hover-icon-reverse {
    background: var(--primary_color);
    color: #fff;
    border: 0 none;

    /* Eliminar el efecto ::after del botón normal */
    &::after {
      display: none;
    }

    &.btn-border {
      background: transparent;
      color: var(--primary_color_font);
      border: 2px solid rgba(27, 27, 28, 0.1);

      &:hover {
        border-color: var(--primary_color);
        color: var(--primary_color);
      }
    }

    &:hover {
      transform: translate3d(0, -2px, 0);
      color: #fff;
    }

    &.btn-border:hover {
      color: var(--primary_color);
    }

    .icon-reverse-wrapper {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .btn-text {
      display: inline-block;
      transition: transform 0.6s 0.125s cubic-bezier(0.1, 0.75, 0.25, 1);
      margin-inline-start: -23px;
      line-height: 1 !important;
    }

    &.btn-large .btn-text {
      line-height: 60px;
    }

    .btn-icon {
      display: inline-block;
      transition: opacity 0.4s 0.25s, transform 0.6s 0.25s;
      transition-timing-function: cubic-bezier(0.1, 0.75, 0.25, 1);

      i {
        font-size: 14px;
        line-height: 0.3 !important;
      }
    }

    &.btn-large .btn-icon i {
      line-height: 60px;
      padding-left: 6px;
    }

    .btn-icon + .btn-icon {
      margin-inline-end: 0;
      margin-inline-start: 8px;
      display: inline-block;
      margin-inline-start: 0;
      margin-inline-end: 0;
      opacity: 0;
      transform: translateX(-10px);
      transition-delay: 0s;
      order: -2;

      i {
        padding-left: 0;
        padding-right: 6px;
      }
    }

    &:hover {
      .btn-text {
        transition-delay: 0.1s;
        transform: translateX(23px);
      }

      .btn-icon {
        opacity: 0;
        transition-delay: 0s;
        transform: translateX(10px);

        i {
          opacity: 1;
        }

        & + .btn-icon {
          opacity: 1;
          transform: translateX(0);
          transition-delay: 0.225s;

          i {
            opacity: 1;
          }
        }
      }
    }
  }

  /* ============================================
     Tmp On Hover (Flashlight Effect)
     ============================================ */
  .tmponhover {
    position: relative;
    overflow: hidden;

    &::before {
      content: "";
      position: absolute;
      top: var(--y);
      left: var(--x);
      transform: translate(-50%, -50%);
      background: radial-gradient(var(--primary_color), transparent, transparent);
      width: 200%;
      height: 200%;
      opacity: 0;
      transition: 0.5s, top 0s, left 0s;
      border-radius: 6px;
    }

    &:hover::before {
      opacity: 1;
    }

    &::after {
      content: "";
      position: absolute;
      inset: 2px;
      background: #fefefe;
      border-radius: 6px;
      z-index: 1;
    }

    > * {
      z-index: 2;
      position: relative;
    }
  }

  /* ============================================
     Spacing Utilities
     ============================================ */
  .mt_md--80 {
    @media only screen and (min-width: 768px) and (max-width: 991px) {
      margin-top: 80px;
    }
  }

  .mt_sm--80 {
    @media only screen and (max-width: 767px) {
      margin-top: 80px;
    }
  }
}

