/* Root and Normlize */
:root {
  --color-primary: #00835B;
  --color-secondary: #FFE41F;
  --color-dark-secondary: #0F2B42;
  --color-light: #E6F3EF;
  --color-text: #06121C;
  --color-light-text: #6B6B6B;
  --color-bg: #FDFDFD;
}

body {
  font-family: 'Almarai', sans-serif;
}

/* Normalized Classes */
p {
  margin: 0;
  line-height: 1.4;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

button:focus-visible {
  border: none;
  outline: none;
}

input:focus-visible {
  outline: none;
  border: none;
  box-shadow: none;
}

/* Reusable Classes */
.fs-36 {
  font-size: 36px;
}

.fs-16 {
  font-size: 16px;
}

.fs-14 {
  font-size: 14px;
}

.fs-12 {
  font-size: 12px;
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn {
  padding: 12px 16px;
  border-radius: 16px;
  line-height: 1.4;
  width: fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-btn {
  color: white;
  background-color: var(--color-primary);
  border: none;
}

.main-border-btn {
  color: var(--color-primary);
  background-color: transparent;
  border: 1px solid var(--color-primary);
}

.secondary-btn {
  color: var(--color-text);
  background-color: var(--color-secondary);
  border: none;
}

.secondary-border-btn {
  color: var(--color-secondary);
  background-color: transparent;
  border: 1px solid var(--color-secondary);
}

.white-btn {
  color: var(--color-primary);
  background-color: white;
  border: none;
}

.white-border-btn {
  color: white;
  background-color: transparent;
  border: 1px solid white;
}

/* Component classes */
/* navbar */
.header {
  padding: 12px 32px;
  background-color: white;
  border-radius: 16px;
}

.nav-link {
  color: #616161;
  font-size: 14px;
  line-height: 1.4;
  transition: all 0.4s;
}

.nav-link.active,
.nav-link:hover {
  font-weight: bold;
  color: var(--color-primary) !important;
}

.lang-btn {
  font-weight: 700;
  font-size: 12px;
  color: var(--color-dark-secondary);
  background-color: transparent;
  border: none;
}

.navbar-toggler {
  padding: 0;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler .navbar-toggler-icon:focus-visible,
.navbar-toggler .navbar-toggler-icon:focus {
  border: none;
  outline: none;
  box-shadow: none;
}

@media (max-width: 991px) {
  html[dir="rtl"] .nav-btns {
    position: absolute;
    top: 4px;
    left: 0;
  }

  html[dir="ltr"] .nav-btns {
    position: absolute;
    top: 4px;
    right: 0;
  }

}

/* footer */
.footer {
  background-color: var(--color-primary);
  color: white;
  padding: 24px 0;
}

.footer .links-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
}

.footer .footer-links {
  display: grid;
  gap: 16px;
  padding: 0;
}

.footer .footer-links li {
  font-size: 12px;
}

.footer .footer-links a {
  transition: all 0.4s;
}

.footer .footer-links a:hover {
  color: var(--color-secondary);
}

/* waitbuzz copyright */
.copyright {
  background-color: white;
  height: 55px;
  position: relative;
  font-size: 12px;
  line-height: 1.3;
  color: var(--color-text);
  text-align: center;
  display: flex;
}

.copyright .logo-div {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
}

.copyright .logo-div .waitbuzz-logo {
  position: absolute;
  top: 0;
  left: 25px;
  transform: translate(-50%, 50%);
  width: 100%;
  z-index: 3;
  visibility: visible;
  animation-delay: 0.5s;
  animation-name: bounceInUp;
}

.copyright .logo-div .img1 {
  visibility: visible;
  animation-name: bounceInUp;
}

.copyright .logo-div .img2 {
  visibility: visible;
  animation-name: bounceInUp;
  animation-delay: 1s;
}

.copyright .logo-div .img1 img,
.copyright .logo-div .img2 img {
  position: absolute;
  height: 48px !important;
  width: 48px !important;
  top: 0;
  left: 0;
}

.copyright .logo-div .img1 img {
  width: 100%;
  animation: rotateRight 15s linear infinite;
  -webkit-animation: rotateRight 15s linear infinite;
  z-index: 2;
}

.copyright .logo-div .img2 img {
  width: 100%;
  animation: rotateLeft 15s linear infinite;
  -webkit-animation: rotateLeft 15s linear infinite;
  z-index: 1;
}

.copyright span {
  font-weight: 700;
  color: var(--color-primary);
}

@keyframes rotateRight {
  form {
    transform: rotate(0);
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
  }
}

@keyframes rotateLeft {
  form {
    transform: rotate(0);
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
  }

  to {
    transform: rotate(-360deg);
    -webkit-transform: rotate(-360deg);
    -moz-transform: rotate(-360deg);
    -ms-transform: rotate(-360deg);
    -o-transform: rotate(-360deg);
  }
}

/* home page */
.main-header {
  background-image: linear-gradient(to bottom, var(--color-primary), var(--color-dark-secondary));
  padding: 18px 0;
}

.main-header h1 {
  color: white;
  font-weight: 800;
  line-height: 1.5;
}

.main-header .highlighted {
  position: relative;
  background-color: var(--color-secondary);
  padding: 0 8px;
  z-index: 2;
}

.main-header .highlighted::before {
  content: "";
  position: absolute;
  top: 7.5px;
  bottom: 0;
  width: 100%;
  height: 75%;
  background-color: var(--color-secondary);
  transform: skew(10deg, 10deg);
  z-index: -1;
}

html[dir="rtl"] .main-header .highlighted::before {
  left: 0;
}

html[dir="ltr"] .main-header .highlighted::before {
  right: 0;
}

.main-header .highlighted::after {
  content: "";
  position: absolute;
  top: 7.5px;
  bottom: 0;
  width: 100%;
  height: 75%;
  background-color: var(--color-secondary);
  transform: skew(-10deg, -10deg);
  z-index: -1;
}

html[dir="rtl"] .main-header .highlighted::after {
  right: 0;
}

html[dir="ltr"] .main-header .highlighted::after {
  left: 0;
}


@media only screen and (min-width: 1200px) {
  html[dir="rtl"]   .main-header .header-img {
    margin-right: 100px;
  }

  html[dir="ltr"]   .main-header .header-img {
    margin-left: 100px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .main-header h1 {
    font-size: 22px;
  }

  .main-header p {
    font-size: 14px;
  }


  .main-header .header-img {
    width: 120%;
  }
    html[dir="rtl"]   .main-header .header-img {
    margin-right: 0;
  }

  html[dir="ltr"]   .main-header .header-img {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .main-header h1 {
    font-size: 24px;
  }

  .main-header p {
    font-size: 14px;
  }

  .main-header .header-img {
    margin: 0;
    width: 100%;
    margin-top: 16px;
  }
}

/* fixed section classes  */
.section {
  margin: 40px 0;
  text-align: center;
  display: grid;
  gap: 16px;
}

.section-heading {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 800;
  color: var(--color-text);
  margin: 0;
}

.section-info {
  font-size: 14px;
  color: #A3A3A3;
  margin: 0;
}

/* features section */
.card {
  background-color: #F4F4F4;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 16px 0 hsla(0, 0%, 0%, 5%);
  text-align: center;
  display: grid;
  gap: 12px;
  border: none;
  height: 100%;
}

@media only screen and (max-width: 767px) {
  .card {
    height: max-content;
  }
}

.card img {
  margin: auto;
}

.card-title {
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-text);
  font-weight: 800;
  margin-bottom: 0;
}

.card-text {
  font-size: 12px;
  line-height: 1.4;
  color: #7F7F7F;
  margin-bottom: 0;
}

/* about section */
.feature-card {
  overflow: hidden;
  background-color: #F4F4F4;
  border: 1px solid #EEEEEE;
  border-radius: 16px;
  display: grid;
  gap: 12px;
  padding-bottom: 16px;
  text-align: center;
  height: 100%;
}

@media only screen and (max-width: 767px) {
  .feature-card {
    height: max-content;
  }
}

.feature-card img {
  width: 100%;
  max-height: 100%;
  object-fit: cover;
}

/* statistics section */
.map-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.stat-title {
  color: var(--color-primary);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.6;
  margin: 0;
}

@media only screen and (max-width: 767px) {
  .stat-title {
    font-size: 18px;
  }
}

@media only screen and (max-width: 575px) {
  .stat-title {
    font-size: 14px;
    line-height: 1.4;

  }

  .stat-details {
    font-size: 10px;
    line-height: 1.4;
  }
}

.stat-details {
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
  color: var(--color-text);
}

.stat-details span {
  font-weight: 700;
}

.sec-item {
  position: relative;
}

.sec-item::before,
.sec-item::after {
  content: '';
  position: absolute;
  top: 0;
  transform: translateY(50%);
  width: 1.5px;
  height: 32px;
  background-color: var(--color-primary);
  border-radius: 16px;
}

html[dir="rtl"] .sec-item::before {
  left: 0px;
}

html[dir="ltr"] .sec-item::before {
  right: 0px;
}

html[dir="rtl"] .sec-item::after {
  right: 0px;
}

html[dir="ltr"] .sec-item::after {
  left: 0px;
}

/* reviews section */
.review-section .reviewSwiper {
  width: 100%;
  height: auto;
}

.review-section .reviewSwiper .swiper-slide img {
  width: 100%;
  display: block;
}

/* Remove default Swiper arrows */
.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}

/* Style the navigation buttons */
.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

html[dir="rtl"] .swiper-button-next {
  left: 56px !important;
}

html[dir="ltr"] .swiper-button-next {
  right: 56px !important;
}

html[dir="rtl"] .swiper-button-prev {
  right: 56px !important;
}

html[dir="ltr"] .swiper-button-prev {
  left: 56px !important;
}

html[dir="rtl"] .review-section .right-arrow {
  transform: rotate(180deg);
}

html[dir="ltr"] .review-section .left-arrow {
  transform: rotate(180deg);
}


@media only screen and (max-width: 991px) {

  .swiper-button-next,
  .swiper-button-prev {
    width: 36px;
    height: 36px;
  }

  .swiper-button-next img,
  .swiper-button-prev img {
    width: 18px;
    height: auto;
  }
html[dir="rtl"] .swiper-button-next {
    left: 24px !important;
  }

html[dir="ltr"] .swiper-button-next {
    right: 24px !important;
  }
html[dir="rtl"] .swiper-button-prev {
    right: 24px !important;
  }

html[dir="ltr"] .swiper-button-prev {
    left: 24px !important;
  }

}

@media (max-width: 767px) {

  .swiper-button-next,
  .swiper-button-prev {
    width: 24px;
    height: 24px;
  }

  .swiper-button-next img,
  .swiper-button-prev img {
    width: 12px;
    height: auto;
  }
html[dir="rtl"] .swiper-button-next {
    left: 24px !important;
  }
html[dir="ltr"] .swiper-button-next {
    right: 24px !important;
  }
html[dir="rtl"] .swiper-button-prev {
    right: 24px !important;
  }
html[dir="ltr"] .swiper-button-prev {
    left: 24px !important;
  }
  
}


/* join section */
.join-card {
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-secondary);
  text-align: start;
  overflow: hidden;
}

html[dir="rtl"] .join-card {
  padding: 0 24px 0 0;
}

html[dir="ltr"] .join-card {
  padding: 0  0 0 24px;
}


.join-card.dark {
  background-color: var(--color-dark-secondary);
}

.join-card .title {
  font-size: 24px;
  line-height: 1.6;
  font-weight: 800;
  color: white;
  margin: 0;
}

.join-card .details {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: white;
}

.join-card .card-img {
  height: 260px;
  width: auto;
  margin-top: auto;
}

@media (max-width: 767px) {
  .join-card .title {
    font-size: 18px;
    line-height: 1.4;
    margin-top: 16px;
  }

  .join-card .details {
    font-size: 12px;
    line-height: 1.4;
  }

  .join-card .card-img {
    width: 50%;
    height: auto;
  }

  .join-card .btn {
    font-size: 12px;
    margin-bottom: 16px;
  }
}

/* app section */
.app-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-height: 400px;
  overflow: hidden;
  color: var(--color-primary);
  text-align: start;
}

.app-section .app-heading {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.5;
  margin: 0;
}

.app-section .or {
  font-size: 12px;
  color: #D1D1D1;
  line-height: 1.4;
  text-align: center;
}

.app-section .or::before,
.app-section .or::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: calc(50% - 10px);
  height: 1px;
  background-color: #D1D1D1;
}

.app-section .or::before {
  right: 0;
}

.app-section .or::after {
  left: 0;
}

.app-section .app-info {
  font-size: 18px;
  margin: 0;
  line-height: 1.4;
}

.app-section .app-img {
  max-height: 450px;
  width: auto;
}

html[dir="rtl"] .app-section .app-img {
  margin-left: -100px;
}

html[dir="ltr"] .app-section .app-img {
  margin-right: -100px;
}


@media only screen and (max-width: 991px) {
  .app-section .app-heading {
    font-size: 24px;
  }

  .app-section .app-info {
    font-size: 14px;
  }

  .app-section .btn {
    font-size: 12px;
  }

  .app-section .app-img {
    max-height: 300px;
  }
  html[dir="rtl"] .app-section .app-img {
    margin-left: -80px;
  }

html[dir="ltr"] .app-section .app-img {
    margin-right: -80px;
  }


}

@media only screen and (max-width: 767px) {
  .app-section {
    display: grid;
    align-items: center;
    justify-content: normal;
    max-height: 100%;
    text-align: center;
  }

  .app-section .app-img {
    max-height: auto;
    width: 100%;
  }

  html[dir="rtl"] .app-img {
    margin-left: 0;
  }

html[dir="ltr"] .app-img {
    margin-right: 0;
  }

}

/* about page */
@media (max-width: 991px) {
  .about-header .header-img {
    width: 100%;
  }
}

/* Our faith section */
.faith-card {
  background-color: var(--color-light);
  color: var(--color-dark-secondary);
  padding: 24px 16px;
  text-align: center;
  display: grid;
  gap: 12px;
  border-radius: 16px;
  height: 100%;
}

@media (max-width: 991px) {
  .faith-card {
    height: fit-content;
  }
}

.faith-card .card-text {
  color: var(--color-dark-secondary);
}

/* our values section */
.value-card {
  color: var(--color-dark-secondary);
  padding: 16px;
  text-align: center;
  display: grid;
  gap: 12px;
  border-radius: 16px;
  height: 100%;
}

@media only screen and (max-width: 767px) {
  .value-card {
    height: max-content;
  }
}

/* advantages section */
.adv-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark-secondary);
}

.overlay-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (min-width: 768px) and (max-width: 991px) {
  .overlay-img {
    height: 80%;
  }
}

/* join section */
.join-section {
  text-align: center;
  background: linear-gradient(0deg,
      rgba(230, 243, 239, 0.96) -750.56%,
      rgba(0, 119, 83, 0.96) 218.7%);
  box-shadow: 0 4px 24px 16px rgba(228, 234, 239, 0.10);
  backdrop-filter: blur(4px);
  color: white;
  padding: 24px;
  display: grid;
  gap: 16px;
}

.join-section h4 {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 0;
}

/* locations page */
/* header */
.seconed-header {
  text-align: center;
  padding: 40px;
  color: white;
}

.seconed-header p {
  width: 58%;
  margin: 16px auto 0;
}

@media (min-width: 768px) and (max-width: 991px) {
  .seconed-header p {
    width: 70%;
  }

}

@media (max-width: 767px) {
  .seconed-header p {
    width: 100%;
  }
}

.search {
  position: absolute;
  bottom: -30px;
  right: 50%;
  transform: translateX(50%);
  width: 410px;
  padding: 16px;
  background-color: #F4F4F4;
  color: var(--color-dark-secondary);
  border-radius: 16px;
  border: 1px solid #F1F1F1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.search input {
  width: 100%;
  background-color: transparent;
  border: none;
  padding: 0;
}

.search input::placeholder {
  color: var(--color-dark-secondary);
  font-size: 14px;
  line-height: 1.5;
}


.search input::-webkit-search-cancel-button {
  display: none;
}

/* locations section */
.locations-container {
  padding: 24px;
  border-radius: 16px;
  background-color: #F4F4F4;
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.05);
  display: grid;
  gap: 16px;
}

.tab {
  background-color: #E6F3EF;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  padding: 12px 16px;
  border-radius: 16px;
  font-weight: bold;
  line-height: 1.4;
  transition: all 0.3s;
}

.tab.active,
.tab:hover {
  background-color: var(--color-primary);
  color: white;
}

.locations-container .cities-grid {
  display: flex;
  row-gap: 18px;
  column-gap: 16px;
  flex-wrap: wrap;
}

.locations-container .city-card {
  background-color: white;
  color: var(--color-dark-secondary);
  border-radius: 16px;
  border: 1px solid #E6E6E6;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: start;
  width: calc((100% - 54px) / 4);
  transition: all 0.3s;
}

@media only screen and (max-width: 991px) {
  .locations-container .city-card {
    width: calc((100% - 36px) / 3);
  }
}

@media only screen and (max-width: 767px) {
  .locations-container .city-card {
    width: calc((100% - 18px) / 2);
  }
}

.locations-container .city-card:hover {
  background-color: var(--color-light);
  border-color: var(--color-primary);
}

.locations-container .city-name {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}

.locations-container .city-card p {
  font-size: 10px;
  line-height: 1.5;
}

.breadcrumb-container {
  display: none;
  justify-content: start;
}

.breadcrumb-container.active {
  display: flex;
  justify-content: start;
}

.breadcrumb-container .breadcrumb-item {
  color: var(--color-dark-secondary);
  cursor: pointer;
  transition: all 0.3s;
}

.breadcrumb-container .breadcrumb-item:hover {
  text-decoration: underline;
}

.places-grid {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.place-card {
  background: #FDFDFD;
  border: 2px solid #E6E6E6;
  border-radius: 16px;
  padding: 12px 16px;
  font-weight: 700;
  color: var(--color-dark-secondary);
  cursor: pointer;
  transition: all 0.3s;
  width: calc((100% - 54px) / 4);
}

.place-card:hover {
  border-color: var(--color-primary);
  background: var(--color-light);
}


@media only screen and (max-width: 991px) {
  .locations-container .places-grid .place-card {
    width: calc((100% - 36px) / 3);
  }
}

@media only screen and (max-width: 767px) {
  .locations-container .places-grid .place-card {
    width: calc((100% - 18px) / 2);
  }
}


.hidden {
  display: none;
}

/* news page */
.category {
  position: absolute;
  top: 0;
  left: 0;
  background-image: linear-gradient(to right, #FFD500EE, #FFD500F7, #FF9A1F);
  border-radius: 0 0 16px 0;
  color: var(--color-dark-secondary);
  font-size: 12px;
  padding: 8px 16px;
  z-index: 100;
  font-weight: 800;
}

/* article page */
.article-img {
  width: 100%;
  max-height: 480;
  border-radius: 16px;
  overflow: hidden;
}

.article-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.time {
  font-size: 14px;
  color: var(--color-dark-secondary);
  text-align: start;
}

.article {
  display: grid;
  gap: 24px;
  color: var(--color-dark-secondary);
  font-weight: 400;
  font-size: 16px;
  text-align: start;
  line-height: 155%;
}

/* contact page */
.background-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background-image: linear-gradient(to bottom, rgba(0, 61, 21, 0.5), rgba(0, 0, 0, 0.8));
  z-index: 2;
}

.content {
  position: relative;
  z-index: 3;
}

.form {
  position: relative;
  left: 100px;
  width: 628px;
  background-color: #FDFDFD;
  border: 1px solid #E6E6E6;
  border-radius: 16px;
  padding: 16px 0;
  display: grid;
  gap: 24px;
  margin-bottom: 20px;
  justify-self: end;
}

@media (max-width: 991px) {
  .form {
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
  }

}

.form form {
  padding: 0 16px;
  display: grid;
  gap: 12px;
}

.form label {
  color: var(--color-dark-secondary);
  font-size: 14px;
  line-height: 1.5;
  display: block;
}

.form input,
.form select {
  display: block;
  background-color: white;
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #E6E6E6;
}

.form input::placeholder {
  font-size: 12px;
  line-height: 1.4;
  color: #A3A3A3;
}