/* About page conntent styles */

/* About intro */
.page-content .about-intro {
  padding: 4.25rem 0 2.5rem;
  color: var(--text-color);
  margin-top: 10rem;
}

.page-content .about-intro .heading {
  font-size: 2.5rem;
  line-height: 1.5;
}

.page-content .about-intro .description {
  font-size: 1.5rem;
  line-height: 2;
}

.page-content .about-intro .about-gallery {
  background-color: white;
  padding: 1.5rem 2.5rem;
  box-shadow: 0px 0px 16px 0px #00000040;
  position: relative;
}

.page-content .about-intro .about-gallery .background {
  position: absolute;
  left: 0;
  width: 100%;
  height: 9rem;
  object-fit: cover;
  z-index: -1;
}

.page-content .about-intro .about-gallery .background-top {
  top: 0;
}

.page-content .about-intro .about-gallery .background-bottom {
  bottom: 0;
}

.page-content .about-intro .swiper-wrapper {
  margin-top: 1rem;
}

.page-content .about-intro .swiper-button-next::after,
.page-content .about-intro .swiper-button-prev::after {
  content: "";
}

.page-content .about-intro .swiper-button-next,
.page-content .about-intro .swiper-button-prev {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  padding: 0.75rem;
  cursor: pointer;
  position: static;
  margin: 0;
}

.page-content .about-intro .swiper-button-prev {
  background: linear-gradient(
    63.07deg,
    rgba(161, 168, 164, 0.6) 27.32%,
    rgba(255, 255, 255, 0.24) 69.76%
  );
}

.page-content .about-intro .swiper-button-next {
  background-color: white;
  box-shadow: 0px 0px 100px 0px #00000040;
}

.page-content .about-intro .swiper img {
  width: 100%;
  height: 24.5rem;
  object-fit: cover;
}

@media screen and (max-width: 767px) {
  .page-content .about-intro .heading {
    font-size: 2rem;
  }
}

@media screen and (max-width: 575px) {
  .page-content .about-intro .swiper img {
    height: 16rem;
  }
}

/* ------------------------------------------- */
/* Waqf info */
.page-content .waqf-info {
  padding: 5rem 0;
}

.page-content .waqf-info .card {
  border: 4px solid var(--primary-color);
  width: 100%;
  max-width: 50%;
}

.page-content .waqf-info .card .title {
  position: absolute;
  border: 1px solid var(--primary-color);
  font-size: 2.5rem;
  color: var(--primary-color);
  background-color: white;
  top: -3px;
  transform: translateY(-50%);
  padding: 0 1rem;
}

.page-content .waqf-info .card .content {
  font-size: 1.5rem;
  font-weight: bold;
}

.page-content .waqf-info .card .list {
  list-style: none;
}

.page-content .waqf-info .card .list li::before {
  content: "";
  position: absolute;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--primary-color);
  right: 0;
  top: 1rem;
}

.page-content .goals .list .side-title {
  font-size: 1.25rem;
}

@media screen and (max-width: 1199px) {
  .page-content .waqf-info .card .title {
    font-size: 1.5rem;
  }

  .page-content .waqf-info .card .content {
    font-size: 1.25rem;
  }

  .page-content .waqf-info .card .list li::before {
    top: .8rem;
  }
}

@media screen and (max-width: 991px) {
  .page-content .waqf-info .card {
    max-width: 100%;
  }
}

/* ------------------------------------------- */
/* Waqf details */
.page-content .waqf-details {
  padding: 2.5rem 0;
  color: var(--text-color);
}

.page-content .waqf-details .content > div {
  width: 50%;
}

.page-content .waqf-details .items .data {
  line-height: 2;
}

.page-content .waqf-details .swiper-slide {
  height: 50rem;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.page-content .waqf-details .swiper-slide-active {
  opacity: 1;
  pointer-events: all;
}

.page-content .waqf-details .waqf-details-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-content .waqf-details .swiper-button-next::after,
.page-content .waqf-details .swiper-button-prev::after {
  content: "";
}

.page-content .waqf-details .swiper-button-next,
.page-content .waqf-details .swiper-button-prev {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  padding: 0.75rem;
  cursor: pointer;
  border: 2px solid var(--grey-200, #c7cfcb);
  box-shadow: 0px 0px 100px 0px #00000040;
}

.page-content .waqf-details .swiper-button-prev {
  background: linear-gradient(
    163.68deg,
    #eef2f0 20.9%,
    rgba(255, 255, 255, 0.4) 79.76%
  );
}

.page-content .waqf-details .swiper-button-next {
  background-color: white;
}

@media screen and (max-width: 991px) {
  .page-content .waqf-details .content > div {
    width: 100%;
  }

  .page-content .waqf-details .swiper-slide {
    max-height: 30rem;
  }

  .page-content .waqf-details .waqf-details-gallery {
    width: 80% !important;
  }
}

@media screen and (max-width: 767px) {
  .page-content .waqf-details .waqf-details-gallery {
    width: 100% !important;
  }
}

/* ------------------------------------------- */
/* Governance and operation */
.page-content .governance-and-operation {
  padding-bottom: 2.5rem;
}

.page-content .governance-and-operation .content {
  padding: 5rem 2.5rem;
  background-color: #ffffff;
  border-radius: 4rem;
  box-shadow: 0px 0px 16px 0px #00000040;
  position: relative;
  overflow: hidden;
}

.page-content .governance-and-operation .content .background {
  position: absolute;
  left: 0;
  width: 100%;
}

.page-content .governance-and-operation .content .background-top {
  top: 0;
}

.page-content .governance-and-operation .content .background-bottom {
  bottom: 0;
}

.page-content .governance-and-operation .details {
  position: relative;
  z-index: 1;
}

.page-content .governance-and-operation .heading {
  font-size: 2.5rem;
  line-height: 1.5;
}

.page-content .governance-and-operation .card {
  background-color: #f9f9f9;
  border: 2px solid #e5e5e5;
  padding: 4rem 1rem;
  font-size: 1.75rem;
}

.page-content .governance-and-operation .card .data {
  font-size: 2rem;
}

@media screen and (max-width: 767px) {
  .page-content .governance-and-operation .content {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
