.animate__animated.animate__bounce {
  --animate-duration: 2s;
}

:root {
  --animate-duration: 800ms;
  --animate-delay: 0.9s;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "IBM Plex Sans Arabic", serif;
  font-weight: 400;
  font-style: normal;
}
body {
  overflow-x: hidden !important;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.section {
  min-height: 100vh !important;
  background-repeat: no-repeat;
  width: 100% !important;
  background-size: cover;
}

.header {
  background-image: url("../images/section/1.jpg");
  background-repeat: no-repeat;
  width: 100% !important;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.nav-item .nav-link {
  font-size: 16px !important;
  transition: color 0.5s ease-in-out;
}
.nav-item:hover .nav-link {
  color: #ac9f61 !important;
  text-decoration: underline;
}
.section2 {
  padding-top: 100px;
  padding-bottom: 225px;
  background-image: url("../images/section/2.jpg");
}
.section3 {
  background-image: url("../images/section/3.jpg");
}
.section4 {
  background-image: url("../images/section/4.jpg");
}
.section5 {
  background-image: url("../images/section/5.jpg");
  min-height: 40vh !important;
}
.section6 {
  background-image: url("../images/section/6.jpg");
  min-height: auto !important;
}
.card-1 {
  position: relative;
  width: 100%;
  background-image: url(../images/card-1.png);
  padding: 1.5rem;
  border-top-right-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
  color: white; /* Adjust as necessary for visibility */
  z-index: 1; /* Ensure card content is above the overlay */
  cursor: pointer;
}

.card-1 p {
  position: relative; /* Ensure text is positioned above the overlay */
  z-index: 1; /* Ensure text is above the overlay */
}

.card-1::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(101deg, #235146 16.74%, #ac9f61 100%);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  border-radius: inherit;
  z-index: 0; /* Make sure the overlay is below the content */
}

.card-1:hover::after {
  opacity: 1; /* Show overlay on hover */
}

/* .card-1 {
  position: relative;
  width: 100%;
  background-image: url(../images/card-1.png);
  padding: 1.5rem;
  border-top-right-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
}

.card-1::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(101deg, #235146 16.74%, #ac9f61 93.28%);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  border-radius: inherit;
}

.card-1:hover::after {
  opacity: 1;
} */
/* .card-1 {
  width: 100%;
  background-image: url(../images/card-1.png);
  padding: 1.5rem;
  border-top-right-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
  transition: background-image 5s ease-in-out, background-color 5s ease-in-out;
}

.card-1:hover {
  background-image: linear-gradient(101deg, #235146 16.74%, #ac9f61 93.28%);
} */

.card-1-icon {
  height: 24px;
  width: 24px;
}

/* .card-1 {
  width: 100%;
  background-color: #235146;
  padding: 1.5rem;
  border-top-right-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
}
.card-1-icon {
  height: 24px;
  width: 24px;
} */
.card-2 {
  width: 100%;
  background-color: #ffffff !important;
  color: #ac9f61 !important;
  padding: 0.5rem 0.8rem;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.5s ease-in-out;
}

.card-2:hover {
  background-color: #153e35 !important;
}

.card-2:hover p {
  color: #fff !important;
  transition: color 0.5s ease; /* Ensure smooth text color transition */
}

/* .card-2 {
  width: 100%;
  background-color: #ffffff !important;
  color: #ac9f61 !important;
  padding: 0.5rem 0.8rem;
  border-radius: 15px;
  cursor: pointer;
}
.card-2:hover,
.card-2:hover p {
  color: #fff !important;
  background-color: #153e35 !important;
} */
.card-2-icon {
  height: 32px;
  width: 32px;
}
.border-bottom-right {
  border-right: 1px solid #000 !important;
}
.card-3 {
  padding: 2rem;
  width: 100% !important;
  background: linear-gradient(
    to bottom,
    rgb(255, 255, 255) 0%,
    rgba(255, 255, 255, 0.356) 100%
  );
  border-radius: 25px;
}
@media (max-width: 1440px) {
  .header {
    background-size: cover;
    padding: 30px;
    min-height: 60vh !important;
  }
  .section2 {
    padding-top: 100px;
    padding-bottom: 225px;
  }
  .section3 {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}
@media (max-width: 1190px) {
  .border-bottom-right {
    border-right: 0px solid #000 !important;
  }
}
@media (max-width: 1024px) {
  .header {
    background-size: cover;
    padding: 30px;
    min-height: 60vh !important;
  }
  .nav-item .nav-link {
    font-size: 15px !important;
  }
  .card-1,
  .card-2,
  .card-3 {
    padding: 1.5rem;
  }
}
@media (max-width: 912px) {
  .header {
    background-size: cover;
    padding: 0px;
    min-height: 30vh !important;
  }
  .nav-item .nav-link {
    font-size: 15px !important;
  }
  .card-1,
  .card-2,
  .card-3 {
    padding: 1.5rem;
  }
}
@media (max-width: 820px) {
  .header {
    background-size: cover;
    padding: 20px;
    min-height: 10vh !important;
  }
  .section {
    min-height: 80vh !important;
  }
  .card-1,
  .card-2,
  .card-3 {
    padding: 1rem;
  }
  .nav-item .nav-link {
    font-size: 14px !important;
  }
  .navbar-toggler-icon {
    width: 2em;
    height: 2em;
  }
}
@media (max-width: 768px) {
  .header {
    background-size: cover;
    padding: 30px;
    min-height: 50vh !important;
  }

  .section {
    min-height: 80vh !important;
  }

  .card-1,
  .card-2,
  .card-3 {
    padding: 1rem;
  }

  .nav-item .nav-link {
    font-size: 14px !important;
  }

  .navbar-toggler-icon {
    width: 2em;
    height: 2em;
  }
}

@media (max-width: 480px) {
  .section {
    min-height: 60vh !important;
  }

  .header {
    background-size: cover;
    padding: 25px;
  }

  .nav-item .nav-link {
    font-size: 12px !important;
  }
  .hide-on-sm {
    display: none !important;
  }
  .show-on-sm {
    display: block !important;
  }
}
