html[dir="rtl"] {
  /* .feature-api-card-title {
    text-align: right;
  } */
  .blog-service-container .card .card-title {
    text-align: center !important;
  }

  .testimonial-author {
    text-align: left !important;
    font-size: 1.5rem;
  }
  .quote-start {
    bottom: 6%;
    top: unset;
    left: 1.5%;
    /* transform: translateX(-50%); */
    transform: scaleY(-1) translateX(-50%);
  }
  .quote-end {
    top: -6%;
    bottom: unset;
    right: 1.5%;
    transform: scaleY(-1) translateX(50%);
  }
  .blog-service-container .card .card-text {
    line-height: 30px !important;
  }

  .feature-api-card .home-page-pse {
    margin-top: 10px;
  }
  /* .feature-api-card .views-field-field-pse{
    text-align: right !important;
  } */
  .feature-api-card {
    height: 390.89px;
  }
  .feature-api-card-body {
    text-align: center !important;
    height: 50px;
  }

  @media (max-width: 1024px) {
    .testimonial-author {
      padding-left: 5%;
    }
  }
  @media (max-width: 768px) {
    .feature-api-card-body {
      line-height: 25px;
    }
    .feature-api-card .home-page-pse {
      margin-top: 3px;
      font-size: 10px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      width: max-content;
      max-width: 157px;
      text-align: left;
      margin-bottom: 5px;
    }
    .feature-api-card-title {
      font-size: 15px !important;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .feature-api-card-body {
      font-size: 14px;
      line-height: 20px;
    }
  }
  @media (min-width: 320px) and (max-width: 767px) {
    .testimonial-author {
      font-size: 12px !important;
    }
    .get-started-subtitle {
      font-size: 16px;
    }
    .signup-btn {
      margin-top: 10px !important;
    }
    .quote-start {
      left: 5%;
    }
    .quote-end {
      right: 5%;
    }
  }
}
.empty-featured {
  border-top: 2px solid #1e3564;
  margin: auto;
  width: 67%;
}
@media screen and (width: 320px) {
  .feature-api-card {
    width: 300px !important;
  }
}
/* PSE Container Section */
.pse-container {
  font-family: Helvetica, Arial, sans-serif;
}

.pse-container .pse-container-heading {
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: -0.011em;
  color: var(--Nautral-700, #1e3564);
  text-align: center;
  margin-bottom: 40px;
}

.pse-track-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 180px;
}

.pse-track {
  display: grid;
  grid-template-rows: repeat(2, auto);
  /* Always 2 rows */
  grid-auto-flow: column;
  /* Arrange cards in columns */
  gap: 12px;
  /* Space between cards */
  transition: transform 0.5s ease-in-out;
  /* Smooth sliding */
  width: max-content;
  /* Allow track to expand horizontally */
}

.pse-card-container {
  width: 100%;
  /* Make card width dynamic */
  max-width: 268px;
  /* Limit maximum card width */
}

.pse-track-container .pse-card {
  box-shadow: 0px 0px 10px 0px #00000026 !important;
  padding: 16px;
  border-radius: 16px !important;
  max-width: 268px;
  max-height: 81px !important;
  border: 1px solid var(--Nautral-300, #dcdfe2) !important;
}

.pse-track-container .pse-card:hover {
  border: 1px solid #42bc97 !important;
}

.pse-card .card-body {
  padding: 0 !important;
}

.ministry-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: #f8f9fa;
}

.pse-container .card-title {
  width: 160px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 22.4px !important;
  text-align: left !important;
  color: var(--Nautral-700, #1e3564) !important;
}

html[dir="rtl"] {
  .pse-container .card-title {
    text-align: right !important;
    margin-right: 0.5rem;
    font-size: 17px !important;
  }
  .card-body {
    .ms-3 {
      margin-left: 0rem !important;
    }
  }
}

.arrow-icon {
  margin-left: auto;
}

.arrow-icon img {
  width: 15px;
  height: 15px;
}

/* Navigation Arrows */
.nav-arrow {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid var(--Nautral-300, #dcdfe2);
  background: white;
  border-radius: 10px;
  box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--Nautral-400, #aac1f0);
  transition: all 0.3s ease;
  /* z-index: 10; */
}

.nav-arrow:hover {
  background-color: #f8f9fa;
  color: var(--Nautral-700, #1e3564);
}
.nav-prev {
  left: -2%;
}
.nav-next {
  right: -2%;
}

html[dir="rtl"] {
  .pse-track-container {
    width: 99%;
  }
  .nav-prev {
    left: 98%;
  }
  .nav-next {
    right: 97%;
  }
}

.nav-arrow:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.scroll-img {
  display: flex;
  justify-content: center;
  padding-top: 20px;
}

/* Featured api section */

.featured-api-container {
  background-image: url("../images/featured-api-bg.png") !important;
  background-size: cover !important;
  object-fit: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  border-radius: 56px;
  text-align: center;
  padding: 32px;
}

.featured-api-header {
  color: var(--Nautral-100, #ffffff);
  text-align: center;
  padding: 0 16.5%;
}

.featured-api-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  word-break: normal;
}

.featured-api-subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 25.6px;
  letter-spacing: var(--TitleLargeTracking);
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  padding: 1rem 2rem;
}

.featured-api-container .view-content {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.feature-api-card .views-field-field-image {
  height: 140px !important;
  img {
    height: auto !important;
    max-height: 150px;
  }
}

.feature-api-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.011em;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--Nautral-700, #1e3564);
  padding-top: 1rem;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feature-api-card-body {
  font-size: 16px;
  font-weight: 400;
  line-height: 25.6px;
  letter-spacing: -0.011em;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--Nautral-700, #1e3564);
  display: -webkit-box;
  /* Enables the flex container */
  -webkit-line-clamp: 2;
  /* Clamps the text to two lines */
  -webkit-box-orient: vertical;
  /* Vertical stacking of lines */
  overflow: hidden;
  /* Hides the overflowed content */
  text-overflow: ellipsis;
  /* Adds the '...' to indicate truncation */
  word-break: break-word;
  height: 50px;
}

.feature-api-card-body > p {
  margin-bottom: 0rem !important;
}

.feature-api-card-link {
  font-size: 14px;
  font-weight: 700;
  line-height: 22.4px;
  letter-spacing: var(--TitleLargeTracking);
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--Nautral-100, #ffffff);
  cursor: pointer;
  padding-top: 1rem;
}
.feature-api-card .home-page-pse {
  margin-top: 10px;
}
.feature-api-card .views-field-field-pse {
  text-align: center;
  height: 60px;
  overflow-y: auto;
}
.feature-api-card {
  width: 330.67px;
  height: 390.89px;
  min-height: 346px;
  max-height: 380px;
  padding: 38px 24px 24px 24px;
  gap: 24px;
  border-radius: 16px;
  opacity: 0px;
  background: var(--Cards, #ffffffb2);
  backdrop-filter: blur(24px);
  box-shadow: 0px 0px 24px 0px #0000001a;
}

.featured-api-container .view-footer {
  text-align: -webkit-center !important;
}

.featured-api-container .cta-btn {
  text-decoration: none;
  border-radius: 8px;
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.10000000149011612px;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  background-color: transparent;
  color: white;
  border: 1px solid white;
  width: 160px;
}

.featured-api-container .cta-btn:hover {
  color: #42bc97;
  border: 1px solid #42bc97;
}

.feature-api-card:hover .feature-api-card-link {
  color: #42bc97;
}

/* Disabled Blog  section */

.featured-blog-container {
  text-align: center;
  gap: 16px;
  opacity: 0px;
}

.featured-blog-container .view-content {
  display: flex;
  justify-content: center;
  padding: 70px 0px;
  gap: 16px;
}

.feature-services-grid {
  width: 361.67px;
  height: 375.89px;
  padding: 48px 24px 24px 24px;
  gap: 24px;
  border-radius: 16px;
  border: 1px;
}

.featured-blog-description {
  font-family: Helvetica;
  font-size: 16px;
  font-weight: 400;
  line-height: 25.6px;
  letter-spacing: -0.011em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--Nautral-700, #1e3564);
}

.featured-blog-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.011em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  padding-top: 1rem;
  color: var(--Nautral-700, #1e3564);
}

.featured-blog-tag {
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: -0.011em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  padding-top: 1rem;
  color: var(--Nautral-700, #1e3564);
}

.featured-blog-link {
  font-family: Helvetica;
  font-size: 14px;
  font-weight: 700;
  line-height: 22.4px;
  letter-spacing: var(--TitleLargeTracking);
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--Nautral-700, #1e3564);
}

/****************************** Blog Service Section *********************************************************/

.blog-service-container .card {
  border-radius: 16px !important;
}

.blog-service-card {
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  transition: transform 0.2s !important;
  background-color: white !important;
  color: var(--Brand-blue-400, #1e3564) !important;
  padding: 12px;
  gap: 24px;
  border-radius: 16px 0px 0px 0px;
  border: 1px 0px 0px 0px;
  opacity: 0px;
}

.blog-service-card:hover {
  background: var(--Brand-blue-400, #1e3564) !important;
  border: 1px solid #42bc97 !important;
  color: fff !important;
}

.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.img-section-first {
  background-image: url("../images/blog-service-1.svg");
  /* Set the background image */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 128px;
  height: 128px;
}

.img-section-second {
  background-image: url("../images/blog-service-2.svg");
  /* Set the background image */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 128px;
  height: 128px;
}

.img-section-third {
  background-image: url("../images/blog-service-3.svg");
  /* Set the background image */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 128px;
  height: 128px;
}

.card:hover .img-section-first {
  background-image: url("../images/blog-service-1-hover.svg") !important;
  /* Set the background image */
}

.card:hover .img-section-second {
  background-image: url("../images/blog-service-2-hover.svg") !important;
}

.card:hover .img-section-third {
  background-image: url("../images/blog-service-3-hover.svg") !important;
  /* Set the background image */
}

.blog-service-card-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.badge {
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: normal;
  padding: 4px 8px;
  gap: 10px;
  border-radius: 10px;
  color: var(--Nautral-700, #1e3564) !important;
  background-color: var(--Nautral-300, #dcdfe2) !important;
}

.blog-service-container .card .card-title {
  color: var(--Brand-blue-400, #1e3564) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 24px !important;
  letter-spacing: -0.011em !important;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}
.blog-service-card .card-badge {
  height: 5px !important;
}
.card-badge {
  color: var(--Brand-blue-400, #1e3564);
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: -0.011em;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

.blog-service-container .card .card-text {
  color: var(--Brand-blue-400, #1e3564) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 25.6px !important;
  letter-spacing: -0.011em !important;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  display: -webkit-box;
  /* Enables the flex container */
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  /* Vertical stacking of lines */
  overflow: hidden;
  /* Hides the overflowed content */
  text-overflow: ellipsis;
  /* Adds the '...' to indicate truncation */
  word-break: break-word;
}

.blog-service-card-link {
  color: var(--Brand-blue-400, #1e3564);
  font-size: 14px;
  font-weight: 700;
  line-height: 22.4px;
  letter-spacing: var(--TitleLargeTracking);
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  margin-top: 5%;
}

.card:hover .blog-service-card-title {
  color: white !important;
}

.card:hover .card-badge {
  color: white !important;
}

.card:hover .blog-card-desc {
  color: white !important;
}

.card:hover .blog-service-card-link {
  color: #42bc97 !important;
}

.card:hover .badge {
  background-color: #fff;
}

/*************************** Get Started section*****************************************/
.get-started-section {
  text-align: center;
  padding: 40px 20px 0 20px;
  font-family: Arial, sans-serif;
  color: #002f5f;
}

.get-started-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--Nautral-700, #1e3564);
  padding: 2%;
}

.get-started-subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: var(--TitleLargeTracking);
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--Nautral-700, #1e3564);
}

.signup-btn {
  display: inline-block;
  color: var(--Nautral-700, #1e3564);
  border: 1px solid var(--Nautral-700, #1e3564);
  padding: 16px;
  border-radius: 8px;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.10000000149011612px;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  padding: 16px 36px;
}

.signup-btn:hover {
  color: #42bc97;
  border: 1px solid #42bc97;
}

.feature-api-card-link,
.blog-service-card-link {
  a:hover {
    text-decoration: none;
  }
}

.testimonial-block-container {
  margin: 7rem 0rem 5rem 0rem;
  position: relative;
  /* Ensure the container is a positioning context */
}

.quote-start,
.quote-end {
  font-size: 7rem;
  color: #1e3a8a;
  position: absolute;
  line-height: 1;
}

.quote-start {
  top: -13%;
  /* Adjust as needed */
  left: 1.5%;
  /* Reset left position */
  transform: translateX(-50%);
  /* Center horizontally */
}

.quote-end {
  bottom: 10%;
  right: 1%;
  transform: translateX(50%);
}

.testimonial-content {
  padding: 4rem 4rem;
  position: relative;
  /* Ensure content is above the quotes */
  z-index: 1;
  /* Ensure content is above the quotes */
  text-align: justify;
}

.testimonial-content::after {
  content: "";
  position: absolute;
  width: 130.45px;
  height: 155.48px;
  left: 70%;
  top: 35%;
  background: #42bc97;
  opacity: 0.5;
  filter: blur(60px);
  transform: rotate(-23.14deg);
  z-index: 0;
}

.testimonial-content::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 100px;
  left: 20%;
  top: 30%;
  background: var(--Brand-blue-100, #aac1f0);
  opacity: 0.5;
  filter: blur(40px);
  transform: rotate(-15deg);
  z-index: 0;
}

.testimonial-text {
  word-break: normal;
  font-size: 42px;
  font-weight: 400;
  line-height: 48px;
  color: #298fc2;
  text-align: justify;
}

.testimonial-author {
  font-size: 1.25rem;
  text-align: right;
  margin-bottom: 0;
  color: #298fc2;
}

@media (max-width: 768px) {
  .testimonial-content::after {
    left: 55%;
  }
  .feature-api-card {
    height: 347px !important;
  }
  .feature-api-card .home-page-pse {
    margin-top: 3px;
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: max-content;
    max-width: 157px;
    text-align: left;
    margin-bottom: 5px;
  }
  .feature-api-card-title {
    font-size: 15px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .feature-api-card-body {
    font-size: 14px;
    line-height: 19px;
    height: 40px !important;
  }
}

/* iPad Mini and smaller tablets */
@media only screen and (min-width: 744px) and (max-width: 819px) {
  .feature-api-card-body {
    width: 175px !important;
  }

  .feature-api-card {
    .views-field-title {
      max-width: 175px !important;
    }
  }
}

/* iPad Air and iPad Pro 11-inch */
@media only screen and (min-width: 820px) and (max-width: 1023px) {
  .feature-api-card-body {
    width: 175px !important;
  }

  .feature-api-card {
    .views-field-title {
      max-width: 175px !important;
    }
  }
}

/* iPad Pro 12.9-inch */
@media only screen and (min-width: 1024px) and (max-width: 1194px) {
  .feature-api-card-body {
    width: 240px !important;
  }

  .feature-api-card {
    .views-field-title {
      max-width: 240px !important;
    }
  }
}

@media (min-width: 320px) and (max-width: 767px) {
  .pse-track {
    gap: 8px;
  }

  .pse-card-container {
    max-width: 100%;
    /* Allow cards to take full width */
  }

  .pse-container .pse-container-heading {
    font-size: 20px;
    line-height: 28px;
  }

  .featured-api-container {
    padding: 20px 0px;
  }

  .feature-api-card {
    height: 370px !important;
  }

  .featured-api-container .view-content {
    flex-direction: column !important;
    flex-wrap: wrap !important;
    align-items: center !important;
  }

  .featured-api-container .cta-btn {
    padding: 7px;
  }

  .featured-api-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 25px;
  }

  .featured-api-header {
    padding: 0 10%;
  }

  .featured-api-subtitle {
    font-size: 12px;
    font-weight: 400;
    padding: 0;
  }

  .nav-arrow {
    top: 42%;
    width: 25px;
    height: 25px;
    font-size: 16px;
  }

  .nav-prev {
    left: 2px;
    /* Even closer for extra small screens */
  }

  .nav-next {
    right: 2px;
    /* Even closer for extra small screens */
  }

  .testimonial-content {
    text-align: center;
    padding: 4rem 3rem;
  }

  .testimonial-text {
    font-size: 18px;
    line-height: 20px;
  }

  .testimonial-author {
    font-size: 12px;
  }

  .quote-start {
    top: -7% !important;
    left: 5%;
  }

  .quote-end {
    right: 5%;
  }

  .get-started-title {
    font-size: 24px;
  }

  .get-started-subtitle {
    font-size: 15px;
  }

  .signup-btn {
    padding: 9px 20px;
  }

  .quote-end,
  .quote-start {
    img,
    svg {
      width: 50px;
    }
  }

  /* .blog-service-container {
    padding: 2px 4%;
  } */
}

@media (min-width: 768px) and (max-width: 1199px) {
  .pse-card-container {
    max-width: 100%;
    /* Allow cards to take full width */
  }

  .nav-arrow {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .nav-prev {
    left: 0px;
    /* Bring closer to the left edge */
  }

  .nav-next {
    right: 0px;
    /* Bring closer to the right edge */
  }

  /* .featured-api-container .view-content {
    padding: 0px 25px;
  } */

  .testimonial-author {
    font-size: 0.8rem !important;
  }

  .featured-api-title {
    font-size: 20px;
    font-weight: 600;
  }

  .featured-api-header {
    padding: 0 10%;
  }

  .featured-api-subtitle {
    font-size: 12px;
    font-weight: 400;
  }

  .feature-api-card {
    padding: 24px 15px;
    height: 360px;
  }

  .blog-service-container {
    padding: 2% !important;
  }

  .testimonial-content {
    text-align: center;
  }

  .testimonial-text {
    font-size: 23px;
    line-height: 35px;
  }

  .quote-start {
    top: -7% !important;
    left: 5%;
  }

  .quote-end {
    right: 3%;
  }

  .get-started-title {
    font-size: 30px;
  }

  .get-started-subtitle {
    font-size: 18px;
  }

  .signup-btn {
    padding: 9px 20px;
  }

  .quote-end,
  .quote-start {
    img,
    svg {
      width: 50px;
    }
  }
}
@media (min-width: 320px) and (max-width: 767px) {
  #search-form {
    #edit-keys {
      margin: 2px 10px;
    }
  }
}
