:root {
  --hero-subtitle-line-height: 1.3rem;
  --heading-width-line-height: 2.5rem;
  --hero-title-line-height: 1.5rem;
}

:root[dir="rtl"] {
  --hero-subtitle-line-height: calc(var(--ar-line-height) - 2px);
}

.hero-section {
  position: relative;
  overflow: hidden;
}

@media (width >=1200px) {
  .hero-section {
    /* max-height: 35rem; */
    position: relative;
    overflow: hidden;
  }
}

.rtl-flip{
    transform: scaleX(-1);
}
.hero-subtitle {
  opacity: 78%;
  text-align: justify;
  margin-bottom: 1rem;
  line-height: var(--hero-subtitle-line-height) !important;

  display: -webkit-box;
  line-clamp: 6;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: calc( (6* var(--hero-subtitle-line-height) ) + 2px);
}
@media screen and (min-width: 992px) and (max-width: 1399.8px){
  .hero-subtitle{
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: calc( (3* var(--hero-subtitle-line-height) ) + 2px);
  }
}
@media screen and (max-width: 991.98px){
  .hero-subtitle{
    display: block;
    line-clamp: unset;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: auto;
    text-overflow: auto;
    height: auto;
  }
}
.hero-image-container {
  width: 80%;
}
.hero-text {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  z-index: 1;
  padding: 2rem 0;
  padding-inline-end: 2rem;
  justify-content: start;
  height: 85%;
}

/* Swiper Specific Styles */
.hero-section .hero-swiper img {
    aspect-ratio: 14.8 / 9;
}
.hero-swiper {
  width: 100%;
  height: auto;
  aspect-ratio: 22/9;
}


/* html[dir="rtl"] .hero-swiper {
  width: 100%;
  height: 90vh;
} */

@media (min-width: 1400px) {
  .hero-swiper {
    width: 100%;
  }
}

@media (min-width: 1200px) and (max-width: 1400px) {
  .hero-swiper {
    width: 100%;
  }
}

@media (max-width: 991.88px) {
  .hero-swiper {
    width: 100%;
  }
}

.swiper-slide-design {
  display: flex;
}
/* Video Container Styles */
.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top right;
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background-color: rgba(31, 42, 109, 0.8);
  color: white;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
}

.video-play-button:hover {
  background-color: rgba(31, 42, 109, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

/* Play button style that was previously inline */
.video-play-button[style="display: none;"] {
  display: none;
}

.hex-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3csvg width='100' height='86' viewBox='0 0 100 86' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M50 0L100 25.5V76.5L50 102L0 76.5V25.5L50 0Z' stroke='%234a4a7a' stroke-opacity='0.15' stroke-width='2'/%3e%3c/svg%3e");
  background-repeat: repeat;
  background-size: 6.25rem 5.375rem;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.btn-explore {
  background: white;
  color: var(--primary-color);
  font-weight: 400;
  border-radius: 3.125rem;
  padding: 0.6rem .9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #fff;
  transition: background-color 0.3s ease;
  width: auto;
  max-width: 20rem;
  white-space: nowrap;
  margin-bottom: 2rem;
}

[dir="rtl"] .btn-explore {
  padding: 0.3rem .9rem;
  margin-top: 2rem;
  margin-bottom:2rem;
}

.btn-search:hover {
  background-color: #fff !important;
  color: var(--primary-color) !important;
}

.btn-explore:hover {
  background: white !important;
  color: var(--primary-color) !important;
  /* background-color: #fff; */
  /* color: #fff; */
  /* border: 1px solid #fff; */
}

.btn-explore:hover i,
.bntMore:hover i {
  transition: transform 0.3s ease;
}
.btn-explore i,
.bntMore i {
  transition: transform 0.3s ease;
}

.btn-circle {
  width: 2.5rem;
  height: 2.5rem;
  border: 0.063rem solid white;
  border-radius: 50%;
  background: transparent;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.btn-circle:hover {
  background: white;
  color: var(--primary-color);
}

/* Fade Animation for Slides */
.swiper-slide-active .hero-text p:first-child,
.swiper-slide-active .hero-heading,
.swiper-slide-active .hero-paragraph,
.swiper-slide-active .btn-explore {
  animation: fadeInUp 0.8s forwards;
  opacity: 0;
}

.swiper-slide-active .hero-text p:first-child {
  animation-delay: 0.1s;
}

.swiper-slide-active .hero-heading {
  animation-delay: 0.3s;
}

.swiper-slide-active .hero-paragraph {
  animation-delay: 0.5s;
}

.swiper-slide-active .btn-explore {
  animation-delay: 0.7s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.swiper-nav-buttons {
  opacity: 1;
  transition: opacity 0.3s ease;
  position: absolute;
  bottom: 12%;
}
@media screen and (max-width: 991.8px){
  .swiper-nav-buttons {
    bottom: 2%;
  }
}
.hero-section-cards {
  z-index: 10;
  width: 100%;
  display: grid;
  margin: 0 auto;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 1rem;
  margin-top: -7rem;
  position: relative;
  margin-bottom: 4rem;
}

.hero-title{
  line-height: var(--hero-title-line-height) !important;
}
@media screen and (min-width: 992px) and (max-width: 1199.8px){
  .hero-title{
    display: -webkit-box;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: calc( (1* var(--hero-title-line-height) ) + 5px);
  }
}
.heading-width{
  line-height: var(--heading-width-line-height) !important;
}
@media screen and (min-width: 992px) and (max-width: 1199.8px){
  .heading-width{
    display: -webkit-box;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: calc( (1* var(--heading-width-line-height) ) + 5px);
  }
}
@media (max-width: 991.88px) and (min-width: 768px) {
  .hero-swiper {
    height: 90vh;
  }
}
@media (max-width: 767.89px) {
  .hero-swiper {
    height: 70vh;
  }
}
.search-card {
  background: linear-gradient(270.17deg, #4055a5 -1.5%, #4055a5 102.29%);
  box-shadow: 0 0 3.75rem 0 #b6b6b659;
  color: white;
  padding: 1.5rem;
  box-shadow: 0 0 3.75rem 0 rgba(182, 182, 182, 0.35);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.info-card-container {
  position: relative;
  top: -5rem;
  z-index: 10;
}
.info-card-container img {
  width: 3.5rem;
}
.search-card select:invalid {
  color: rgba(255, 255, 255, 0.5);
}
.search-card option[disabled] {
  color: rgba(255, 255, 255, 0.5) !important;
}
.search-card select.placeholder {
  border-color: #ffffff !important;
  cursor: pointer;
}
.search-card select {
  background-color: var(--secondary-color);
  border: 0.094rem solid #ffffff;
  color: white;
  border-radius: 3.125rem;
  padding: 0.375rem 1.25rem;
  font-size: 0.85rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 0.85rem;
}

.search-card select:focus {
  outline: none;
  box-shadow: none;
  border-color: white;
}

.search-card button {
  border-radius: 3.125rem;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.4rem 1.4rem;
  border: none;
  background: white;
  color: var(--primary-color);
  transition: background-color 0.3s ease;
}

/* .search-card button:hover {
  background-color: #f0f0f0;
  color: var(--primary-color);
} */

.info-card {
  background-color: #e9f0f4;
  padding: 1.5rem;
  box-shadow: 0 0.25rem 0.5rem rgb(0 0 0 / 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  color: var(--primary-color);
  min-width: 0;
  height: 100%;
}

.info-card i {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-card h3 {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.info-card a {
   color: var(--primary-color) !important;

}

.info-card p {
  font-size: 0.85rem;
  color: rgba(33, 31, 95, 0.5);
  margin: 0;
  margin-bottom: 0.5rem;
  text-align: start;
}

.Icon {
  width: 1.9rem;
  height: auto;
}

.Icon img {
  aspect-ratio: 1 / 1;
}

.hero-text-container {
  display: flex;
  flex-direction: column;
  justify-content: start;
}
.testimonial-img-container img {
    aspect-ratio: 5 /3;
}
.testimonial-img-container i {
    font-size: 2.3rem;
}
.video-section .list-group-item h6 {
    max-width: 250px;
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-section-cards {
        margin-top: -6rem;
    }
}
@media (max-width: 991.89px) {
  .hero-content {
    padding: 2rem 1.5rem 1rem 1.5rem;
  }
  .hero-section-cards {
    grid-template-columns: 1fr;
    position: static;
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-top: 0;
  }
  .btn-explore {
    font-size: 0.75rem;
    max-width: 100%;
  }
  .info-card {
    min-width: 100%;
  }
  .search-card {
    top: -1.5rem;
    padding: 2rem;
    max-width: 100% !important;
  }
  .video-play-button {
    width: 3.125rem;
    height: 3.125rem;
    font-size: 1.25rem;
  }

  /* Additional responsive styles for small screens */
  .hero-section .swiper-slide {
    flex-direction: column !important;
  }
  .hero-text-container {
    width: 100% !important;
    padding: 1rem 0.75rem !important;
    min-height: 50%;
    display: flex;
    align-items: center;
  }

  .hero-image {
    position: relative;
    z-index: 1;
    height: 50vh;
    min-height: 300px;
    overflow: hidden;
  }

  .hero-video,
  .hero-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transform: none !important;
    opacity: 1 !important;
    will-change: transform;
  }

  .swiper-nav-buttons {
    justify-content: center !important;
    margin-top: 1rem !important;
  }
  .btn-circle {
    width: 2.5rem !important;
    height: 2.5rem !important;
    font-size: 1.25rem !important;
  }
  .info-card-container {
    flex-direction: column !important;
    gap: 1rem !important;
    top: 0;
    margin-bottom: 1rem;
  }
  .info-card {
    width: 100% !important;
  }
  .video-section .content {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    margin: 0;
  }
  .left-section {
    padding: 2rem 1rem !important;
    height: auto !important;
    border-radius: 0 !important;
  }
  .right-section {
    padding: 2rem 1rem !important;
    height: auto !important;
    border-radius: 0 !important;
  }
  .right-title {
    width: 100% !important;
  }

  .mouwasat-app-para {
    width: 74%;
  }
  .testimonial-card {
    max-width: 100% !important;
  }
  .testimonial-img-container {
    width: 100% !important;
    height: auto !important;
  }
  .carousel-container {
    max-width: 100% !important;
    padding: 1rem 0 0 0 !important;
  }
  .carousel-icons {
    gap: 0.75rem !important;
  }
  .carousel-icon {
    width: 2.5rem !important;
    height: 2.5rem !important;
    font-size: 1rem !important;
  }
  .carousel-icon.active {
    width: 60px !important;
    height: 60px !important;
    font-size: 1.5rem !important;
  }
  .carousel-info {
    font-size: 0.9rem !important;
  }
  .carousel-dots {
    gap: 0.25rem !important;
  }
  .carousel-dot {
    width: 0.5rem !important;
    height: 0.5rem !important;
  }
  .main-sectio {
    padding: 0rem !important;
    margin-top: 2rem;
  }
  .links {
    padding: 5rem 0rem 5rem 0rem !important;
    border-top-left-radius: 5.625rem !important;
  }

  .features-grid {
    width: 100% !important;
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 1rem !important;
  }

  .download-row {
    width: 100% !important;
    height: auto !important;
    align-items: flex-start !important;
  }
  .download-row .image {
    border-radius: 1rem !important;
    width: 8.263rem !important;
  }
  .qr-code {
    width: 2.5rem !important;
    height: 2.5rem !important;
  }

  .News {
    height: auto !important;
  }
  .news-card {
    margin-bottom: 1rem !important;
  }

  .hero-text p.fw-semibold.small.mb-2 {
    font-size: 0.85rem;
  }

  .hero-text p.fw-semibold.small.mb-2 {
    font-size: 0.75rem;
  }

  .hero-heading {
    font-size: 1.5rem;
  }

  .hero-paragraph {
    font-size: 0.8rem;
  }

  .btn-explore {
    font-size: 0.75rem;
    padding: 0.7rem 1rem;
    justify-content: center;
  }

  .btn-explore:hover {
    font-size: 0.75rem;
    background-color: var(--primary-color);
  }
  .swiper-nav-buttons {
    gap: 1rem;
  }

  .video-section .content .text-content li {
    height: 3rem;
  }
  .video-section {
    /* height: auto !important; /* Let content define height */
    /* min-height: unset; */
    position: relative;
  }

  .video-section .content .text-content {
    width: 100%;
    border-radius: 0;
    padding: 1rem 0.5rem;
    box-sizing: border-box;
    margin: 0 auto;
  }

  .swiper-slide-design {
    flex-direction: column;
    width: 100% !important;
  }
}

.video-section {
  position: relative;
  padding-block: 1rem;
  /*height: 100vh;
 */
}
.video-section video {
  object-fit: cover;
  width: 100%;
  height: 50rem;
}
.video-section iframe {
  object-fit: cover;
  width: 100%;
  aspect-ratio: 16/9;
}
.video-section .content {
  position: absolute;
  bottom: 0;
  top: 0;
  z-index: 2;
  max-width: max-content;
  padding: 0;
}
.v-divider {
  display: flex;
  align-items: center;

  width: 100%;
  margin: 0.625rem auto;
  opacity: 30%;
}
.v-divider .line {
  flex: 1;
  border-top: 0.125rem solid #ccc;
  height: 0;
}
.v-divider .notch {
  width: 1.5rem;
  height: 1rem;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.v-divider .notch svg {
  display: block;
  position: absolute;
  top: 0.375rem;
  left: 0;
}
.video-section .content .text-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.video-section .content .text-content li {
  padding: 0.65rem 0;
}
.patient-title {
  position: relative;
  top: -1rem;
}
.left-section {
  position: relative;
  color: #fff;
  border-bottom-right-radius: 8.125rem;
  /* height: 100vh; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Gradient only in left section */
  background: linear-gradient(45deg, rgba(64, 85, 165, 0.93) 0%, #211f5f 100%);
  overflow: hidden;
  z-index: 1; /* Make sure content is above the ::before */
}
.left-section[dir="rtl"] {
  /* border-bottom-right-radius: 0; */
  /* border-bottom-left-radius: 8.125rem !important; */
}

/* Additional selector for HTML elements with lang attribute */
html[lang="ar"] .left-section {
  /* border-bottom-right-radius: 0; */
  /* border-bottom-left-radius: 8.125rem !important; */
}

.left-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0; /* align to right bottom */
  bottom: 0;
  width: 100%; /* control width of pattern */
  /* background-image: url("/assets/images/pattern-hero.svg"); */
  transform: rotate(30deg);
  background-size: contain; /* or try cover, or 100% auto */
  background-position: left bottom;
  background-repeat: no-repeat;
  opacity: 0.04;
  z-index: 0;
  pointer-events: none; /* so it doesn't interfere with interactions */
}

.left-section > * {
  position: relative;
  z-index: 1;
}

.quote-circle {
  width: 8rem;
  height: 8rem;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-cl {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}
.patient-voice-label {
  font-size: 1.25rem;
  font-weight: 500;
  opacity: 0.85;
  display: block;
}
.proud {
  padding-top: 4rem;
}
.left-title {
  line-height: 3rem;
  margin-bottom: 2rem;
}

html[dir="rtl"] .btn-viewall {
  margin-top: 2rem;
  /* margin-bottom: 2rem; */
}
.btn-viewall {
  border-radius: 1.5rem;
  font-weight: 400;
  padding: 0.4rem 1.4rem;
  font-size: 1.125rem;
  color: var(--primary-color);
}

.btn-viewall:hover {
  background: white;
  color: var(--primary-color);
}

.right-section {
  background: white;
  /* height: 100vh; */
  border-bottom-right-radius: 5rem;
  padding: 3.75rem 2.5rem 3.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  width: 100%;
  max-width: 38.125rem;
}

.testimonial-img-container {
  position: relative;
  width: 25rem;
  height: 15rem;
  overflow: hidden;
}

.play-btn {
  width: 3.438rem;
  height: 3.438rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
}

.carousel-container {
  max-width: 25rem;

  position: relative;
}
.carousel-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}
.carousel-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #eff3f7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 1.5rem;
  opacity: 0.5;
  cursor: pointer;
  box-shadow: 0 0 2.5rem 0 #b6b6b640;

  transition: all 0.3s;
  position: relative;
  z-index: 1;
}
.carousel-icon.active {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background-color: #eff3f7;
  color: #23233c;
  opacity: 1;
  z-index: 2;
  font-size: 2rem;
}
.carousel-icon:not(.active):hover {
  opacity: 0.7;
  background: #e9eefd;
}
.carousel-info {
  text-align: center;
  margin-bottom: 0.75rem;
}
.carousel-name {
  font-weight: 500;
  /* font-size: 1.25rem; */
  line-height: 1.563rem;
  color: #211f5f;
}
.carousel-role {
  color: var(--secondary-color);
  /* font-size: 1rem; */
  margin-top: 0.125rem;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
}
.carousel-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background-color: var(--primary-color);
  opacity: 0.5;
}
.carousel-dot.active {
  opacity: 1;
  background-color: var(--primary-color);
}
/* Decorative notch */
.carousel-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2.75rem;
  height: 1rem;
  overflow: hidden;
}
.carousel-notch svg {
  display: block;
  width: 100%;
  height: 100%;
}
.carousel-divider {
  position: absolute;
  top: 0.5rem;
  left: 0;
  width: 100%;
  height: 0.063rem;
  background: var(--primary-color);
  z-index: 0;
}
.testimonial-text {
  color: rgba(33, 31, 95, 0.6);
  font-weight: 400;
  text-align: center;
  margin-bottom: 0;
  width: 73%;
}
.right-title {
    width: 56%;
}
.testimonial-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.nav-circle {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: #f3f5fa;
  margin: 00.375rem;
  display: inline-block;
  border: 0.125rem solid transparent;
  transition: border 0.2s, background 0.2s;
}

.nav-circle.active {
  border: 0.125rem solid #2a357a;
  background: #fff;
  box-shadow: 00.125rem 0.5rem rgba(44, 62, 80, 0.08);
}

.testimonial-profile {
  margin-top: 0.375rem;
}

.profile-name {
  font-weight: 700;
  color: #232b4d;
  /* font-size: 1.1rem; */
}

.profile-role {
  color: #8a93b7;
  /* font-size: 0.98rem; */
}

@media (max-width: 991.89px) {
  .left-section,
  .right-section {
    border-radius: 0;
    padding: 2rem 1rem;
    min-height: unset;
  }
  .left-section::before {
    /* border-radius: 0; */
  }
  .left-section {
    justify-content: center !important;
    align-items: center !important;
  }
  .content-Qr {
    margin-bottom: 6rem !important;
  }
  .proud {
    padding-top: 2rem !important;
  }
}

.News {
  margin-top: 2rem;
  /* height: 100vh; */
}
.news-card {
  border: none;
  border-radius: 0.55rem !important;
  background: #eff3f7;
  overflow: hidden;
}
.news-card .card-img-top {
  border-top-left-radius: 0.55rem !important;
  border-top-right-radius: 0.55rem !important;
}
/* .news-card img {
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
} */
.news-card span {
  width: 1.172rem;
  height: 0.984rem;
}
.news-date {
  font-weight: 400;
  margin-bottom: 0.5rem;
  opacity: 50%;
}
.bntMore {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: auto;
}
.view-all-btn {
  background: linear-gradient(20deg, rgba(64, 85, 165, 0.93) 20%, #211f5f 100%);
  color: white;
  border-radius: 1.5rem;
  font-weight: 400;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
}
[dir="rtl"] .view-all-btn{
  padding: 0.4rem 1.4rem;
}

.view-all-btn.white-version{
  background: #fff;
  color: var(--primary-color);
}
[dir="rtl"] .view-all-btn.white-version{
  margin-top: 1rem;
}
.view-all-btn:hover {
  color: white;
}

.view-all-btn:focus {
  color: #fff !important;
}
.hero-start-section  .view-all-btn:focus,
.hero-start-section  .view-all-btn:active {
    color: var(--primary-color) !important;
    background-color: #fff;
}

.Believe {
  margin-top: 2rem;
}

.swiper-slide {
  margin: 0 !important;
}
.Believe .swiper-slide {
  max-width: 40rem;
  border-radius: 0.625rem;
}

.accreditation-slide {
  width: 25% !important;
}
.accreditation-card {
  height: 100% !important;
  padding: 1rem;
  display: flex;
  margin: 1rem 0rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 0.75rem;
  transition: box-shadow 0.2s;
  cursor: pointer;
}
.accreditation-card {
  box-shadow: 0 4px 10px rgba(182, 182, 182, 0.25) !important;
}

.custom-shadow {
  transition: box-shadow 0.2s;
  cursor: pointer;
  padding: 1rem;
  margin: 1rem !important;
  background: white !important;
  box-shadow: 0 0 1.25rem 0 rgba(182, 182, 182, 0.25) !important;
}


/* Logo styling for accreditations */
.accereditations-logo {
  width: 5.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding-bottom: 0.7rem; */
}

.coe-logo {
  width: 6.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding-bottom: 0.8rem; */
}

.himmsA-logo {
  width: 13rem;
  height: 2.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem !important;
}

.coeent-logo {
  width: 6.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin:1rem !important; */
}

.ashp-logo {
  width: 7.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ashp-logo2 {
  width: 6rem;
}

.carf-logo {
  width: 7.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carf-logo2 {
  width: 6rem;
}

.swiper-pagination {
  position: relative !important;
  margin: 1rem 0;
}
.swiper-pagination-bullet {
  width: 0.625rem;
  height: 0.625rem;
  background: #211f5f;
  opacity: 0.3;
  margin: 0 0.375rem !important;
}
.swiper-pagination-bullet-active {
  opacity: 1;
  background: #211f5f;
}

/* Adding styles for iframe elements */
iframe.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}
iframe.w-100.h-100 {
  object-fit: cover;
  border: none;
}
/* Additional styles that were previously inline */
.container-fluid-section {
  margin-right: auto;
  margin-left: auto;
}
/* Primary and secondary colors */
/* .primary-color {
  color:var(--primary-color);
} */
.secondary-color {
  color: #4055a5;
}

@media (max-width: 991.98px) {
  .accreditation-card {
    min-height: 11.25rem;
  }
  .container-fluid-section {
    margin-bottom: 0;
    flex-wrap: wrap;
  }
  .info-card-container {
    top: -1rem;
  }
  .search-card {
    top: -1rem;
  }
}
.left-panel {
  color: #253a7d;
  z-index: 2;
  display: flex;
  justify-content: start;
  align-items: start;
}
.UseApp {
  top: 264.125rem;
  left: 6.563rem;
  border-radius: 1.5rem;
  background-color: var(--primary-color);
  color: #ffffff;
  cursor: pointer !important;
  padding: 0.8rem 1.3rem;
}
.UseApp img {
  width: 1.25rem;
  padding: 0.063rem;
}
.UseAp:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}
.links {
  padding-bottom: 3rem;
  padding-top: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  position: relative;
  z-index: 2;
}
/* .links::after {
  content: "";
  position: absolute;
  width: 45rem;
  height: 45rem;
  border-radius: 50%;
  background: linear-gradient(
    180deg,
    rgba(239, 243, 247, 0.13) 0%,
    rgba(239, 243, 247, 0) 100.22%
  );
  inset-inline-end: 2%;
} */
.features-grid {
  width: 50%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 0;
  color: #ffffff;
  max-width: 30rem;
}
.feature-item {
  display: flex;
  align-items: center;
  color: #fff;
  gap: 0.313rem;
  padding: 0.5rem;
}

.feature-item img {
  width: 1.563rem;
}
.download-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
  padding-inline-start: 0.75rem;
}

.download-app {
  padding: 1rem 0;
  padding-inline-start: 0.75rem;
}

.download-row .image {
  height: auto;
  width: 11rem;
  border-radius: 8.25rem;
}
.download-row img {
  height: auto;
  width: 100%;
}
.qr-code {
  width: 5.313rem;
}
.qr-code .img {
  height: auto;
  width: 100%;
}
/* .Apps { */
  /* background: #253a7d; */
  /* border-top-left-radius: 8.25rem; */
/* } */

.hex-bg {
  position: absolute;
  width: 30%;
  top: 6%;
  height: 100%;
  z-index: 1;
  background: url("/assets/images/pattern-hero.svg");
  opacity: 0.1;

  transform: rotate(-30deg);
  border-bottom-left-radius: 4rem;
}

.app-circle-icon {
  position: relative;
  top: 0.1rem;
}

/* modal*/
.modal-card {
  display: flex;
  gap: 2rem;
  max-height: 40rem;
}

.modal-content {
  border: none;
}

.modal-body {
  padding: 0;
  border-radius: 0.5rem !important;
  border: none;
}

.acc-logo img {
  aspect-ratio: 5/1;
  padding: 2rem;
  mix-blend-mode: darken; /* this code for remove background , if you need image without white background */
}
.acc-logo-splide {
  width: 20rem;
}
.acc-logo-splide img {
  aspect-ratio: 3/1;
  padding: 1rem;
}

.accreditation-card .card-title {
  padding: 0 0.5rem !important;
}

/* .ncdr-logo {
  width: 12.77rem;
  padding: 1.2rem 0;
}

.ncdr-logo2 {
  width: 14.4rem;
}

.cath-logo {
  width: 6.5rem;
}

.cath-logo2 {
  width: 5rem;
} */

.bull-color {
  color: var(--secondary-color);
  font-size: 3rem;
  margin-top: 0.55rem;
}

.modal-lg {
  max-width: 50rem !important;
  height: 40rem !important;
}

.modal-body .bg-soft-white {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.modal .custom-close {
  position: absolute;
  top: -13%;
  inset-inline-end: -7%;
  background-color: var(--secondary-color);
  color: #fff;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  font-size: 1.5rem;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

html[dir="rtl"] .modal .custom-close {
  inset-inline-start: -5%;
}

.custom-close:hover {
  background-color: #fff;
  color: var(--primary-color);
}

/*------------------- slider -----------------------*/
.custom-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 1rem;
}

.custom-prev {
  background-color: transparent;
  border: 0.125rem solid #fff;
  color: #fff !important;
  padding: 0.625rem;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
  inset-inline-start: -14%;
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
}

html[dir="rtl"] .custom-prev {
  inset-inline-start: -14%;
}

.custom-next {
  background-color: transparent;
  border: 0.125rem solid #fff;
  color: #fff !important;
  padding: 0.625rem;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
  inset-inline-start: 14%;
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
}

.modal .splide__slide {
  border-radius: 10px;
  padding-bottom: 2rem !important;
}

html[dir="rtl"] .custom-next {
  inset-inline-start: 14%;
}

@media (width<991.88px) {
  .custom-close {
    position: absolute;
    top: -10% !important;
    inset-inline-end: 0% !important;
    background-color: var(--secondary-color);
    color: #fff;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    font-size: 1.5rem;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .acc-logo img {
    aspect-ratio: 3 / 1;
    padding: 2rem;
  }

  .modal-lg {
    max-width: 60% !important;
    height: 40rem !important;
    margin: auto;
    margin-top: 13%;
  }

  .modal .splide__slide {
    border-radius: 10px;
    padding-bottom: 2rem !important;
  }

  .custom-prev {
    inset-inline-start: -20%;
  }

  html[dir="rtl"] .custom-prev {
    inset-inline-start: -20%;
  }

  .custom-next {
    inset-inline-start: 20%;
  }

  html[dir="rtl"] .custom-next {
    inset-inline-start: 20%;
  }
  html[dir="rtl"] .custom-close {
    inset-inline-start: 1% !important;
  }
}

@media (min-width: 992px) {
  .modal-lg {
    margin-top: 7%;
  }
}

@media (min-width: 375px) and (max-width: 576px) {
  .modal .modal-lg {
    margin-top: 13% !important;
    max-width: 70% !important;
  }
  .custom-prev {
    inset-inline-start: -25% !important;
  }

  .custom-next {
    inset-inline-start: 25% !important;
  }

  .custom-close {
    top: -9% !important;
  }

  .acc-logo img {
    aspect-ratio: 2/1;
  }
}

@media (max-width: 375px) {
  .modal .modal-lg {
    margin-top: 17% !important;
    max-width: 70% !important;
  }

  html[dir="rtl"] .custom-prev {
    inset-inline-start: -25%;
  }

  .custom-next {
    inset-inline-start: 25%;
  }

  .custom-prev {
    inset-inline-start: -25%;
  }
  html[dir="rtl"] .custom-next {
    inset-inline-start: 25%;
  }
  .acc-logo img {
    padding: 0.2rem;
  }
}

.custom-prev:hover,
.custom-next:hover {
  background-color: var(--primary-color);
  color: #fff;
  border: 1px solid var(--primary-color);
}
/*==================================*/
.right-panel {
  inset-inline-end: 5%;
  position: absolute;
  bottom: 3rem;
  padding: 0;
  width: 40%;
  height: 86%;
  z-index: 10;
}
@media (min-width: 1199.98px) and (max-width: 1399.98px) {
    .right-panel {
        bottom: 5rem;
    }
}
.phone-mockup {
  border-radius: 2rem;
  transition: transform 0.3s;
  height: 100%;
  object-position: bottom;
}

@media (max-width: 991.89px) {
  .right-panel {
    bottom: 30%;
    inset-inline-end: 5%;
  }
  .main-section {
    flex-direction: column;
    padding: 0;
  }
  .left-panel {
    padding: 2rem 1rem 1rem 1rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hex-bg {
    display: none;
  }
}
/* Responsive styles for middle screens only */

@media (max-width: 767px) {
  .left-title {
    /* font-size: 1.5rem; */
    width: 100%;
  }
  .right-panel {
    position: relative;
    width: 80%;
    margin: 0 auto !important;
    transform: translateY(-5rem) !important;
  }
  .links {
    padding-top: 0 !important;
  }
}

@media (min-width: 992px) and (max-width: 1100px) {
  .video-section .content {
    .Icon {
      width: 2rem;
    }
  }
}

@media (min-width: 1200px) and (max-width: 1440px) {
  .video-section .content .text-content li {
    padding: 0.65rem 0;
  }
}

@media (width>=1440px) {
  .video-section .content .text-content li {
    padding: 1rem 0;
  }
}
@media (min-width: 1800px) {
  .video-section .content .text-content {
    padding: 1.5rem 3rem;
  }
}
@media (min-width: 992px) and (max-width: 1024px) {
  .video-section .content .text-content li {
    padding: 1rem 0;
  }
}

.twitter-icon {
  fill: white;
}

#accreditations-slider .splide__track {
  padding-bottom: 3rem !important;
}

#accreditations-slider .card-body {
  padding-top: 0.5rem;
}

.modal .splide__track {
  padding: 0rem !important;
  padding-bottom: 0 !important;
}

.modal .bg-soft-white {
  margin: 0 0.1rem;
}

[dir="rtl"] select {
  background-position: left 0.75rem center !important;
}

.links-gap {
  --bs-gutter-y: 1.5rem;
  --bs-gutter-x: 1.5rem;
}

@media (min-width: 1024px) and (max-width: 1200px) {
  .links-gap {
    --bs-gutter-y: 1.45rem;
    --bs-gutter-x: 1.45rem;
  }
}
