:root {
  --primary-background-color: #527a9a;
  --secondary-background-color: #312f2f;
  --gray-background-color: #48525b;
  --dark-color: #212529;
  --light-color: #f8f9fa;
}

a {
  text-decoration: none;
}

body {
  font-family: "Almarai", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1 {
  font-size: 2rem;
  font-weight: bold;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  font-size: 1.125rem;
}

img {
  max-width: 100%;
}

.whats-app {
  position: relative;
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  cursor: pointer;
  border-radius: 50%;
  height: 55px;
  width: 55px;
}

.whats-app {
  img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
  }
}

.scroll-up {
  width: 55px;
  height: 55px;
  background-color: var(--gray-background-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  bottom: -100px;
  right: 20px;
  z-index: 1000;
  transition: bottom 0.4s ease;
}

.scroll-up.show {
  bottom: 20px;
}

.scroll-up svg {
  font-size: 30px;
  color: #fff;
}

.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: none;
}

.opacity-reveal {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.opacity-reveal.show {
  opacity: 1;
}

/* image slider */

.slider {
  width: 100%;
  height: var(--height);
  overflow: hidden;
  background-color: #f8f9fa;
  p {
    margin-top: 20px;
    text-align: center;
    font-size: 18px;
  }
}

.slider .list {
  display: flex;
  width: 100%;
  min-width: calc(var(--width) * var(--quantity));
  position: relative;
}

.slider .list .item {
  width: var(--width);
  height: var(--height);
  position: absolute;
  left: 100%;
  animation: autoRun 10s linear infinite;
  transition: filter 0.5s;
  animation-delay: calc(
    (10s / var(--quantity)) * (var(--position) - 1) - 10s
  ) !important;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.slider .list .item img {
  max-width: 200px;
  height: 80px;
  margin-left: 20px;
}

@keyframes autoRun {
  from {
    left: 100%;
  }

  to {
    left: calc(var(--width) * -1);
  }
}

.slider[reverse="true"] .item {
  animation: reversePlay 10s linear infinite;
}

@keyframes reversePlay {
  from {
    left: calc(var(--width) * -1);
  }

  to {
    left: 100%;
  }
}

nav {
  background-color: var(--gray-background-color) !important;
  a {
    color: white !important;
  }
}

.hero {
  background-image: url(../images/487551916_1123289063146083_2506571795667924464_n.jpg);
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}
.hero-content {
  position: relative;
  z-index: 1;
}

.about {
  ul {
    margin-top: 30px;
    li {
      margin-bottom: 20px;
      font-size: 18px;
      list-style: none;
      position: relative;
    }
  }
}
.about li::before {
  content: "✓";
  color: var(--gray-background-color);
  position: absolute;
  right: -30px;
  top: 0;
  font-size: 25px;
}

.goals {
  background-color: var(--gray-background-color);
}
.custom-card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 8px;
  height: 100%;
}
.card-title {
  font-weight: bold;
  color: #0d2345;
  border-bottom: 2px solid #c49a6c;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

.gallary {
  background-color: #edecec;
  text-align: center;
}
.gallary img {
  height: 300px;
  width: 100%;
}
.gallary h1 {
  margin-bottom: 30px;
}
.modal img {
  width: 100%;
  height: 100%;
}
.gallary .layout {
  position: relative;
  cursor: pointer;
}
.gallary .layout img {
  cursor: pointer;
}
.gallary .layout::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 1;
  transition: 0.3s;
  opacity: 0.7;
}
.gallary svg:nth-child(2) {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: turquoise;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  transition: 0.3s;
}
.gallary .layout:hover {
  svg:nth-child(2) {
    display: block;
  }
}
.gallary .layout:hover::before {
  width: calc(100% - 24px);
  height: 100%;
}

.gallary .container a:last-child {
  background-color: var(--gray-background-color);
  padding: 20px;
  border-radius: 8px;
  color: white !important;
  text-decoration: none;
  margin-top: 20px;
  display: inline-block;
}

footer {
  background-color: var(--gray-background-color);
  color: white !important;
  a {
    color: white !important;
    width: fit-content;
    margin: 5px auto;
  }
  ul {
    padding: 0;
    list-style: none;
  }
}
