/* Logo */
.custom-logo-250 {
  max-width: 150px;
  max-height: 100px;
}
.custom-logo {
  max-width: 200px;
  max-height: 200px;
}

/* Scroll Up Button */
.scrollUp {
  position: fixed;
  bottom: 40px;
  right: 20px;
  left: auto;
  display: none;
  z-index: 99;
  border: none;
  background: #235090;
  padding: 5px 8px;
  border-radius: 50%;
  font-size: 10px;
  cursor: pointer;
  border: 2px solid #fff;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

/* Body */
body {
  font-family: "Tajawal", sans-serif;
  font-weight: 200;
  font-style: normal;
  direction: ltr;
  text-align: left;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Tajawal", Arial, sans-serif;
  font-weight: 200;
  font-size: 20px;
}

/* Font Face */
@font-face {
  font-family: "Tajawal";
  src: url("../fonts/Tajawal-Medium.ttf");
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #23bfd2;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
#preloader .heartbeat {
  font-size: 80px;
  color: white;
  animation: heartbeat 1.5s infinite ease-in-out;
  -webkit-animation: heartbeat 1.5s infinite ease-in-out;
}
@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
  }
  50% {
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
  }
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-out;
  -webkit-transition: opacity 1s ease-out;
  -moz-transition: opacity 1s ease-out;
  -ms-transition: opacity 1s ease-out;
  -o-transition: opacity 1s ease-out;
}

/* Custom Backgrounds */
.custom-bg {
  background: #235090;
}
.custom-bg1 {
  background: #23bfd2;
}

/* Custom Colors */
.custom-color {
  color: #235090;
}
.custom-color1 {
  color: #23bfd2;
}

/* Custom Glass Effect */
.custom-glass {
  background: #ffffff5f !important;
  backdrop-filter: blur(10.8px) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  transform: scale(1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  -webkit-transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  -moz-transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  -ms-transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  -o-transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
}

/* Featured Image */
.featured-image-4posts {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Pagination */
.pagination .page-item.active .page-link {
  background-color: #235090;
  border-color: #235090;
  color: #fff;
}
.pagination .page-link {
  color: #235090;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}
.pagination .page-link:hover {
  background-color: #f8f9fa;
  color: #235090;
}

/* Preloader Area */
.preloader {
  position: fixed;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  z-index: 9999999;
  transition: 0.9s;
}
.preloader .loader {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-block;
  margin: 0 auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.5s;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}
.preloader .loader .loader-outter {
  position: absolute;
  border: 4px solid #ffffff;
  border-left-color: transparent;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: loader-outter 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  -webkit-animation: loader-outter 1s cubic-bezier(0.42, 0.61, 0.58, 0.41)
    infinite;
}
.preloader .loader .loader-inner {
  position: absolute;
  border: 4px solid #ffffff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  left: calc(40% - 21px);
  top: calc(40% - 21px);
  border-right: 0;
  border-top-color: transparent;
  animation: loader-inner 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  -webkit-animation: loader-inner 1s cubic-bezier(0.42, 0.61, 0.58, 0.41)
    infinite;
}
.preloader .loader .indicator {
  position: absolute;
  right: 0;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scale(1.5);
  -webkit-transform: translateY(-50%) scale(1.5);
  -moz-transform: translateY(-50%) scale(1.5);
  -ms-transform: translateY(-50%) scale(1.5);
  -o-transform: translateY(-50%) scale(1.5);
}
.preloader .loader .indicator svg polyline {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.preloader .loader .indicator svg polyline#back {
  stroke: #ffffff;
}
.preloader .loader .indicator svg polyline#front {
  stroke: #23bfd2;
  stroke-dasharray: 12, 36;
  stroke-dashoffset: 48;
  animation: dash 1s linear infinite;
  -webkit-animation: dash 1s linear infinite;
}
.preloader::before,
.preloader::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 60%;
  z-index: -1;
  background: #23bfd2;
  transition: 0.9s;
}
.preloader::after {
  left: auto;
  right: 0;
}
.preloader.preloader-deactivate {
  visibility: hidden;
}
.preloader.preloader-deactivate::after,
.preloader.preloader-deactivate::before {
  width: 0;
}
.preloader.preloader-deactivate .loader {
  opacity: 0;
  visibility: hidden;
}
@keyframes loader-outter {
  0% {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
  }
}
@keyframes loader-inner {
  0% {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
    -webkit-transform: rotate(-360deg);
    -moz-transform: rotate(-360deg);
    -ms-transform: rotate(-360deg);
    -o-transform: rotate(-360deg);
  }
}
@keyframes dash {
  62.5% {
    opacity: 0;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: #235090;
  border-radius: 10px;
  border: 2px solid #f0f0f0;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #235090;
}
::-webkit-scrollbar-corner {
  background: #e0f7fa;
}

/* Header Carousel */
.header-carousel .owl-carousel-text {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 3rem;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}
.header-carousel .owl-nav {
  position: absolute;
  width: 200px;
  height: 45px;
  bottom: 30px;
  left: 50%;
  right: auto;
  transform: translateX(50%);
  display: flex;
  justify-content: space-between;
  -webkit-transform: translateX(50%);
  -moz-transform: translateX(50%);
  -ms-transform: translateX(50%);
  -o-transform: translateX(50%);
}
.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #235090;
  background: transparent;
  border-radius: 45px;
  font-size: 22px;
  transition: 0.5s;
  -webkit-border-radius: 45px;
  -moz-border-radius: 45px;
  -ms-border-radius: 45px;
  -o-border-radius: 45px;
}
.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  background: #ffffff;
  border-color: #235090;
}
.header-carousel .owl-dots {
  position: absolute;
  height: 45px;
  bottom: 30px;
  left: 50%;
  right: auto;
  transform: translateX(50%);
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-transform: translateX(50%);
  -moz-transform: translateX(50%);
  -ms-transform: translateX(50%);
  -o-transform: translateX(50%);
}
.header-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 15px;
  transition: 0.5s;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
}
.header-carousel .owl-dot::after {
  position: absolute;
  content: "";
  width: 5px;
  height: 5px;
  top: 4px;
  right: 4px;
  background: #235090;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.header-carousel .owl-dot.active {
  background: #ffffff;
  border-color: #235090;
}

/* Justify Text */
.text-justify {
  text-align: justify;
}

/* About Image */
.about-img {
  background-image: url(/images/slider.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  background-color: #235090;
}

/* Carousel */
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.745);
}
@media (max-width: 576px) {
  .carousel-caption h5 {
    font-size: 14px;
    font-weight: 300 !important;
  }
  .carousel-caption h1 {
    font-size: 18px;
    font-weight: 400 !important;
  }
}
.carousel-control-prev,
.carousel-control-next {
  width: 10%;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
}

/* Testimonial */
.testimonial-carousel .owl-dots {
  margin-top: 15px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  background: #dddddd;
  border-radius: 2px;
  transition: 0.5s;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
}
.testimonial-carousel .owl-dot.active {
  width: 30px;
  background: #235090;
}
.testimonial-carousel .owl-item.center {
  position: relative;
  z-index: 1;
}
.testimonial-carousel .owl-item .testimonial-item {
  transition: 0.5s;
}
.testimonial-carousel .owl-item.center .testimonial-item {
  background: #ffffff !important;
  box-shadow: 0 0 30px #dddddd;
}

/* 404 Page */
.bg-404 {
  background: linear-gradient(135deg, #23bfd2, #ffffff);
  color: #fff;
}
.error-container {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}
.error-title {
  font-size: 6rem;
  font-weight: bold;
}
.error-message {
  font-size: 1.5rem;
}
.btn-primary {
  background-color: #23bfd2;
  border-color: #ffffff;
}
.btn-primary:hover {
  background-color: #235090;
  border-color: #ffffff;
}

/* Team */
.team-item {
  transition: 0.5s;
}
.team-social {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}
.team-social a.btn {
  position: relative;
  margin: 0 3px;
  margin-top: 100px;
  opacity: 0;
}
.team-item:hover {
  box-shadow: 0 0 30px #dddddd;
}
.team-item:hover .team-social {
  background: rgba(9, 30, 62, 0.7);
}
.team-item:hover .team-social a.btn:first-child {
  opacity: 1;
  margin-top: 0;
  transition: 0.3s 0s;
  -webkit-transition: 0.3s 0s;
  -moz-transition: 0.3s 0s;
  -ms-transition: 0.3s 0s;
  -o-transition: 0.3s 0s;
}
.team-item:hover .team-social a.btn:nth-child(2) {
  opacity: 1;
  margin-top: 0;
  transition: 0.3s 0.05s;
  -webkit-transition: 0.3s 0.05s;
  -moz-transition: 0.3s 0.05s;
  -ms-transition: 0.3s 0.05s;
  -o-transition: 0.3s 0.05s;
}
.team-item:hover .team-social a.btn:nth-child(3) {
  opacity: 1;
  margin-top: 0;
  transition: 0.3s 0.1s;
  -webkit-transition: 0.3s 0.1s;
  -moz-transition: 0.3s 0.1s;
  -ms-transition: 0.3s 0.1s;
  -o-transition: 0.3s 0.1s;
}
.team-item:hover .team-social a.btn:nth-child(4) {
  opacity: 1;
  margin-top: 0;
  transition: 0.3s 0.15s;
  -webkit-transition: 0.3s 0.15s;
  -moz-transition: 0.3s 0.15s;
  -ms-transition: 0.3s 0.15s;
  -o-transition: 0.3s 0.15s;
}
.team-item .team-img img,
.blog-item .blog-img img {
  transition: 0.5s;
}
.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
  transform: scale(1.15);
  -webkit-transform: scale(1.15);
  -moz-transform: scale(1.15);
  -ms-transform: scale(1.15);
  -o-transform: scale(1.15);
}

/* Doctor Image */
.img-doctor {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
}

/* Miscellaneous */
@media (min-width: 991.98px) {
  .facts {
    position: relative;
    margin-top: -75px;
    z-index: 1;
  }
}

/* Bread Crumbs */
.hero-section {
  position: relative;
  color: #fff;
  background-image: url("../images/slider.jpg");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  /* padding: 250px 0; */
}
.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #235090b2;
}

.news-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  height: 100%;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  -ms-border-radius: 0.5rem;
  -o-border-radius: 0.5rem;
}

.news-card a {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.news-card .news-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  -webkit-transition: transform 0.3s ease;
  -moz-transition: transform 0.3s ease;
  -ms-transition: transform 0.3s ease;
  -o-transition: transform 0.3s ease;
}

.news-card .overlay-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1rem;
  width: 100%;
  background: linear-gradient(to top, rgb(0, 0, 0), transparent);
  color: white;
  z-index: 2;
}

.news-card .overlay-content h5 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.news-card .overlay-content h5 a {
  color: white;
  text-decoration: none;
}

.news-card .overlay-content h5 a:hover {
  text-decoration: none;
}

.news-card .overlay-content .excerpt {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.news-card .overlay-content .date {
  font-size: 0.8rem;
  color: #ddd;
}

.news-card:hover .news-img {
  transform: scale(1.05);
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
}

.bg-img-ruh {
  position: relative;
  background-image: url("../images/AlAdanHospital-01.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
  padding: 50px 0;
  height: 100vh;
  z-index: 0;
}

.bg-img-ruh::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.bg-img-ruh > * {
  position: relative;
  z-index: 2;
}
