@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');
.blog-slider {
  /*   max-width: 1440px;
        margin: 70px auto; */
  overflow: visible !important;
  position: relative;

  &::after {
    content: "";
    display: block;
    width: 4000px;
    height: calc(100% + 80px);
    position: absolute;
    top: -40px;
    left: -4000px;
    background-color: #fff;
    z-index: 1;
  }

  .blog-slider-pagination {
    display: none;
  }

  .swiper-wrapper {
    /* display: flex;
    gap: 24px;
    flex-direction: row;
    flex-wrap: wrap; */

    .blog-slide {
      /* max-width: calc(25% - 72px / 3); */
      box-shadow: 0px 0px 36px 0px #0000000f;
      border-radius: 16px;
      overflow: hidden !important;
      background: #fff;
      height: auto;
      display: flex;
      flex-direction: column;
      gap: 0px;

      &:hover {
        .thumb {
          img {
            transform: scale(1.2);
          }
  
          &::after {
            height: 250%;
            transition: all 600ms linear;
            background-color: #fff0;
          }
        }
      }

      .thumb {
        aspect-ratio: 352/194;
        border-radius: 16px;
        cursor: pointer;
        border-radius: 16px;
        overflow: hidden;
        border-bottom: 6px solid #005dae;
        position: relative;

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          transition: all 600ms ease;
        }

        &::after {
          position: absolute;
          width: 200%;
          height: 0%;
          left: 50%;
          top: 50%;
          background-color: rgb(255 255 255 / 0.3);
          transform: translate(-50%, -50%) rotate(-45deg);
          content: "";
          z-index: 0;
        }

        &:hover {
          img {
            transform: scale(1.2);
          }

          &::after {
            height: 250%;
            transition: all 600ms linear;
            background-color: #fff0;
          }
        }
      }

      .blog-info {
        padding: 24px;
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 12px;
        /* background: #fff; */
        flex-grow: 1;

        h3.title {
          font-family: Montserrat;
          font-weight: 600;
          font-size: 20px;
          line-height: 24px;
          letter-spacing: 0%;
          margin: 0;
          padding: 0;
          color: #0e0e0e;

          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          line-clamp: 2;
          -webkit-box-orient: vertical;
        }

        p.excerpt {
          margin: 0;
          color: #9f9f9f;
          margin-bottom: 8px;
          font-family: Montserrat;
          font-weight: 400;
          font-size: 16px;
          line-height: 22px;
          letter-spacing: 0%;
          color: #9f9f9f;
        }

        a.read-more {
          border: 1px solid var(--Primary, #005dae);
          padding: 7px 36px;
          border-radius: 60px;
          text-decoration: none;
          font-family: Montserrat;
          font-weight: 500;
          font-size: 16px;
          line-height: 22px;
          letter-spacing: 0%;
          color: #005dae;
          position: relative;
          overflow: hidden;
          margin-top: auto;

          span {
            z-index: 2;
            position: relative;
          }

          &::before {
            content: "";
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: -100%;
            background-color: #005dae;
            z-index: 1;
            transition: all 600ms ease;
          }

          &:hover {
            color: #fff;

            &::before {
              left: 0;
            }
          }
        }
      }
    }
  }
}

.testimonial-slider {
  /* max-width: 1440px; */
  /* margin: 100px auto; */
  position: relative;
  .swiper-wrapper {
    /* display: flex; */
    /* gap: 20px; */
  }

  .testimonial-slider-next,
  .testimonial-slider-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    cursor: pointer;
  }

  .testimonial-slider-next {
    right: -23px;
  }
  .testimonial-slider-prev {
    left: -23px;
  }

  .testimonial-slider-pagination {
    display: none;
  }

  .testimonial {
    /* max-width: calc(33.33% - 40px / 3); */
    padding: 24px;
    box-shadow: 0px 0px 36px 0px #0000001a;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #fff;
    height: auto;

    .user-info {
      display: flex;
      gap: 12.38px;
      align-items: center;

      img {
        width: 73.62333679199219px;
        height: 73.62333679199219px;
        object-fit: cover;
        border-radius: 100%;
      }

      .info {
        display: flex;
        flex-direction: column;
        gap: 6px;
        max-width: calc(100% - 86.00333679199218px);
        min-width: calc(100% - 86.00333679199218px);

        h5.name {
          font-family: Montserrat;
          font-weight: 600;
          font-size: 32px;
          line-height: 30px;
          letter-spacing: 0%;
          margin: 0;
          padding: 0;
        }

        span.title {
          font-family: Montserrat;
          font-weight: 400;
          font-size: 16px;
          line-height: 24px;
          letter-spacing: 0%;
          color: #9f9f9f;
          margin: 0;
          padding: 0;
        }
      }
    }

    p.review {
      font-family: Montserrat;
      font-weight: 400;
      font-size: 16px;
      line-height: 24px;
      letter-spacing: 0%;
      color: #9f9f9f;
      margin: 0;
      margin-bottom: 12px;
      max-height: 168px;
      overflow-y: scroll;
      /* margin-top: auto; */
    }

    svg.rating {
      margin-top: auto;
    }
  }
}

.products-slider,
.products-grid {
  /* max-width: 1440px;
  margin: 40px auto; */
  overflow: visible !important;

  .products-slider-pagination {
    display: none;
  }

  .swiper-wrapper,
  .products-grid-wrapper {
    /* display: flex;
    gap: 25px; */

    .product {
      /* max-width: calc(20% - 20px) !important;
      min-width: calc(20% - 20px) !important; */

      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      /* gap: 26px; */
      gap: 5px;
      height: auto;

      &:hover {
        div.thumb::after {
          height: 250%;
          transition: all 600ms linear;
          background-color: #fff0;
        }
      }

      div.thumb {
        aspect-ratio: 248/276;
        max-width: 100%;
        width: 100%;
        height: auto;
        padding: 23px 0;
        box-shadow: 0px 0px 36px 0px #0000000f;
        border-radius: 14px;
        display: block;
        margin-bottom: 21px;
        position: relative;
        overflow: hidden;
        background: #fff;

        &::after {
          position: absolute;
          width: 200%;
          height: 0%;
          left: 50%;
          top: 50%;
          background-color: rgb(255 255 255 / 0.3);
          transform: translate(-50%, -50%) rotate(-45deg);
          content: "";
          z-index: 0;
        }

        img {
          width: 100%;
          height: 100%;
          object-fit: contain;
          /*position: relative;*/
        }
      }

      h3.product-name {
/*         font-family: 'Montserrat' ; */
        font-weight: 600;
        font-size: 22px;
        line-height: 27px;
        letter-spacing: 0%;
        text-align: center;
        color: #005dae;
        margin: 0;
        padding: 0;
      }

      p.description {
/*         font-family: 'Montserrat' ; */
        font-weight: 500;
        font-size: 16px;
        line-height: 21px;
        letter-spacing: 0%;
        text-align: center;
        color: #0e0e0e;
        margin: 0;
        padding: 0;
        margin-bottom: 15px;
      }

      a.order-now {
        background: #005dae;
        text-decoration: none;
        color: #fff;
        padding: 10.5px 34px;
        font-family: Montserrat;
        font-weight: 600;
        font-size: 18px;
        line-height: 130%;
        letter-spacing: 0%;
        border-radius: 70px;
        border: 1px solid #005dae;
        transition: all 600ms ease;
        margin-top: auto;

        &:hover {
          background: #fff;
          color: #005dae;
        }
      }
    }
  }

  .products-grid-wrapper {
    display: flex;
    gap: 25px;
    flex-direction: row;
    flex-wrap: wrap;

    .product {
      width: calc(20% - 20px);
    }
  }
}

.bundle-offers-slider {
  overflow: visible !important;

  .swiper-wrapper {
    .products-bundle {
      padding: 22px 20px 27px 20px;
      border: 1px solid #63bdf8;
      box-shadow: 0px 0px 36px 0px #0000000f;
      border-radius: 24px;
      background: #fff;

      display: flex;
      flex-direction: column;
      gap: 32px;
      position: relative;

      &:hover {
        .bundle-pricing::after {
          height: 250%;
          transition: all 600ms linear;
          background-color: #fff0;
        }
      }

      .bundle-pricing {
        padding: 28px;
        display: flex;
        flex-direction: column;
        /* justify-content: center; */
        align-items: center;
        gap: 26px;
        background: radial-gradient(
          94.37% 94.37% at 50% 45.02%,
          #ffffff 0%,
          #b8dcef 100%
        );
        border-radius: 14px;
        position: relative;
        overflow: hidden;

        &::after {
          position: absolute;
          width: 200%;
          height: 0%;
          left: 50%;
          top: 50%;
          background-color: rgb(255 255 255 / 0.3);
          transform: translate(-50%, -50%) rotate(-45deg);
          content: "";
          z-index: 0;
        }

        .bundle-title {
          font-family: Montserrat;
          font-weight: 600;
          font-size: 26px;
          line-height: 32px;
          letter-spacing: 0%;
          text-align: center;
          color: #0e0e0e;
          margin: 0;
          padding: 0;
          max-width: 200px;

          span {
            display: block;
          }
        }

        .price {
          display: flex;
          flex-direction: column-reverse;
          align-items: center;
          justify-content: center;
          gap: 6px;

          del {
            font-family: Montserrat;
            font-weight: 400;
            font-size: 20px;
            line-height: 24px;
            letter-spacing: 0%;
            text-align: center;
          }

          ins {
            font-family: Montserrat;
            font-weight: 800;
            font-size: 32px;
            line-height: 24px;
            letter-spacing: 0%;
            color: var(--Primary, #005dae);
            text-decoration: none;
            text-align: center;
          }
        }
      }

      a.offer-btn {
        border: 1px solid var(--Primary, #005dae);
        padding: 11px 36px;
        border-radius: 62px;
        text-decoration: none;
        font-family: Montserrat;
        font-weight: 600;
        font-size: 16px;
        line-height: 22px;
        letter-spacing: 0%;
        color: #005dae;
        position: relative;
        overflow: hidden;
        align-self: center;

        span {
          z-index: 2;
          position: relative;
        }

        &::before {
          content: "";
          width: 100%;
          height: 100%;
          position: absolute;
          top: 0;
          left: -100%;
          background-color: #005dae;
          z-index: 1;
          transition: all 600ms ease;
        }

        &:hover {
          color: #fff;

          &::before {
            left: 0;
          }
        }
      }

      div.bundle-features > *:not(ul):not(ul li) {
        display: none;
      }

      ul.bundle-features,
      ul {
        margin: 0;
        padding: 0;
        padding-left: 28px;
        display: flex;
        flex-direction: column;
        gap: 17px;

        li {
          font-family: Montserrat;
          font-weight: 400;
          font-size: 16px;
          line-height: 22px;
          letter-spacing: 0%;
          color: #9f9f9f;
          list-style-image: url(https://national.websiteview.in/wp-content/uploads/2025/04/elements14.svg);
          margin: 0;
          padding-left: 5px;

          strong {
            font-weight: 600;
            color: #005dae;
          }
        }
      }

      a.order-btn {
        background: #005dae;
        text-decoration: none;
        color: #fff;
        padding: 12px 34px;
        font-family: Montserrat;
        font-weight: 600;
        font-size: 18px;
        line-height: 130%;
        letter-spacing: 0%;
        border-radius: 70px;
        border: 1px solid #005dae;
        transition: all 600ms ease;

        align-self: center;

        &:hover {
          background: #fff;
          color: #005dae;
        }
      }

      div.vat-info {
        font-family: Montserrat;
        font-weight: 400;
        font-size: 14px;
        line-height: 24px;
        letter-spacing: 0%;
        color: #9f9f9f;
        margin: 0;
        padding: 0;
        text-align: center;
        margin-top: -12px;
      }

      span.bundle-ribon {
        font-family: Montserrat;
        font-weight: 500;
        font-size: 16px;
        line-height: 20px;
        letter-spacing: 0%;
        text-align: center;

        color: #ffffff;
        background: #005dae;
        padding: 16.5px 30px;
        border-radius: 6px;

        position: absolute;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
      }
    }
  }
}

@media (max-width: 1024px) {
  .products-slider,
  .products-grid {
    .products-slider-pagination {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 32px;
      gap: 5.7px;

      .swiper-pagination-bullet {
        width: 9.975000381469727px;
        height: 9.975000381469727px;
        opacity: 0.7;
        border-radius: 100%;
        background: #9f9f9f;
        opacity: 0.7;
        margin: 0 !important;

        &.swiper-pagination-bullet-active {
          background: #005dae;
          opacity: 1;
        }
      }
    }

    .product {
      gap: 2px !important;
      div.thumb {
        margin-bottom: 18px !important;
        img {
          //
        }
      }

      h3.product-name {
        font-family: Montserrat !important;
        font-weight: 600 !important;
        font-size: 18px !important;
        line-height: 100% !important;
        letter-spacing: 0% !important;
        text-align: center !important;
      }

      p.description {
        font-family: Montserrat !important;
        font-weight: 500 !important;
        font-size: 14px !important;
        line-height: 21px !important;
        letter-spacing: 0% !important;
        text-align: center !important;

        margin-bottom: 14px !important;
      }

      a.order-now {
        font-family: Montserrat !important;
        font-weight: 600 !important;
        font-size: 16px !important;
        line-height: 130% !important;
        letter-spacing: 0% !important;

        padding: 8.5px 27.5px !important;
      }
    }

    .products-grid-wrapper {
      gap: 16px;

      .product {
        width: calc(50% - 8px);
      }
    }
  }

  .blog-slider {
    .blog-slider-pagination {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 32px;
      gap: 5.7px;

      .swiper-pagination-bullet {
        width: 9.975000381469727px;
        height: 9.975000381469727px;
        opacity: 0.7;
        border-radius: 100%;
        background: #9f9f9f;
        opacity: 0.7;
        margin: 0 !important;

        &.swiper-pagination-bullet-active {
          background: #005dae;
          opacity: 1;
        }
      }
    }

    .swiper-wrapper {
      .blog-slide {
        .thumb {
          aspect-ratio: 297/176 !important;
        }

        .blog-info {
          padding: 20px !important;
          gap: 16px !important;

          h3.title {
            font-weight: 600 !important;
            font-size: 20px !important;
            line-height: 24px !important;
            letter-spacing: 0% !important;
          }

          p.excerpt {
            font-weight: 400 !important;
            font-size: 14px !important;
            line-height: 20px !important;
            letter-spacing: 0% !important;
            margin-bottom: 8px !important;
          }

          a.read-more {
            font-weight: 500 !important;
            font-size: 16px !important;
            line-height: 22px !important;
            letter-spacing: 0% !important;
            letter-spacing: 0% !important;
            position: relative !important;
            overflow: hidden !important;

            span {
              z-index: 2 !important;
              position: relative !important;
            }

            &::before {
              content: "";
              width: 100%;
              height: 100%;
              position: absolute;
              top: 0;
              left: -100%;
              background-color: #005dae;
              z-index: 1;
              transition: all 600ms ease;
            }

            &:hover {
              color: #fff;

              &::before {
                left: 0;
              }
            }
          }
        }
      }
    }
  }

  .testimonial-slider {
    overflow: visible !important;

    .testimonial-slider-next,
    .testimonial-slider-prev {
      display: none !important;
    }

    .testimonial-slider-pagination {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 32px;
      gap: 5.7px;

      .swiper-pagination-bullet {
        width: 9.975000381469727px;
        height: 9.975000381469727px;
        opacity: 0.7;
        border-radius: 100%;
        background: #9f9f9f;
        opacity: 0.7;
        margin: 0 !important;

        &.swiper-pagination-bullet-active {
          background: #005dae;
          opacity: 1;
        }
      }
    }

    .testimonial {
      padding: 20px;
      gap: 16px;

      .user-info {
        gap: 12.38px;

        .info {
          gap: 0;

          h5.name {
            font-size: 24px;
            line-height: 30px;
          }

          span.title {
            font-size: 14px;
          }
        }
      }

      p.review {
        font-size: 14px;
        line-height: 21px;
        letter-spacing: 0%;
        margin: 0;
        margin-bottom: 0;
      }

      svg {
        width: 126px;
        height: 22.049999237060547px;
      }
    }
  }

  .bundle-offers-slider {
    .swiper-wrapper {
      .products-bundle {
        padding: 15px;
        border-radius: 16px;
        gap: 12px;

        .bundle-pricing {
          padding: 22px;
          gap: 10px;
          border-radius: 12px;
          margin-bottom: 2px;

          .bundle-title {
            font-weight: 600;
            font-size: 21px;
            line-height: 37px;
            max-width: 100%;

            span {
              display: inline;
            }
          }

          .price {
            gap: 3px;

            del {
              font-size: 18px;
            }

            ins {
              font-size: 22px;
            }
          }
        }

        a.offer-btn {
          padding: 5.5px 25.5px;
          font-size: 14px;
        }

        ul.bundle-features,
        ul {
          padding-left: 28px;
          display: flex;
          flex-direction: column;
          gap: 17px;
          margin-bottom: 8px;

          li {
            font-size: 14px;
          }
        }

        a.order-btn {
          padding: 8.5px 27.5px;
          font-size: 16px;
        }

        div.vat-info {
          margin-top: 0;
        }

        span.bundle-ribon {
          color: #ffffff;
          background: #005dae;
          padding: 9.5px 13px;
          top: -18px;
        }
      }
    }
  }
}

/* BTW: the WHY SLIDER only exists in mobile */
.why-national-slider {
  overflow: visible !important;

  .swiper-wrapper {
    img.swiper-slide {
      background: #ffffff;
      box-shadow: 0px 0px 40.86px 0px #0000000f;
      aspect-ratio: 78.26261138916016/70.83261108398438;
      height: auto;
      width: 100%;
      border-radius: 9.42px;
      padding: 10px;
    }
  }
}
