.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: "Tajawal", sans-serif;
  font-weight: 400;
  font-style: normal;
}

body {
  scroll-behavior: smooth !important;
  overflow-x: hidden !important;
}
.navbar {
  transition: top 1s ease-in-out;
}
.input-group-text {
  display: flex !important;
  align-items: center !important;
  padding: 0.375rem 0.75rem !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  text-align: center !important;
  white-space: nowrap !important;
  background-color: white !important;
  border-right: 1px solid #e6e6e6 !important;
  border-left: none !important;
  border-top: 1px solid #e6e6e6 !important;
  border-bottom: 1px solid #e6e6e6 !important;
  border-radius: 0.375rem !important;
}
input[type="email"] {
  border-right: none !important;
}
/* .navbar-visible {
  display: block;
  position: fixed;
  box-sizing: border-box !important;
  z-index: 1;
  max-width: 100%;
  transition: top 1s ease-in-out;
  background-color: #eae7d7d5 !important;
}
.navbar-visible .nav-link {
  color: black !important;
} */
#scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  height: 70px;
  width: 70px;
  background-color: #0056fa; /* No background color */
  backdrop-filter: blur(10px); /* Blur effect */
  color: rgb(255, 255, 255);
  border: 1px solid #dddddd8a;
  border-radius: 50%;
  font-size: 30px;
  cursor: pointer;
  display: none; /* Initially hidden */
  opacity: 0; /* Start with opacity 0 */
  animation: fadeInUp 2s ease-in-out infinite; /* Adjusted duration for smoother transition */
}

/* Animation for the "scroll to top" button */
@keyframes fadeInUp {
  0% {
    opacity: 1;
    transform: translateY(10px); /* Start slightly below */
  }
  50% {
    opacity: 1;
    transform: translateY(0px); /* Move to the original position */
  }
  100% {
    opacity: 1;
    transform: translateY(10px); /* Return slightly below */
  }
}

.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%;
}
.card-animated {
  /* padding: 10px;
  width: 100% !important; */
  transform: scale(1.1);
  transition: all 0.3s ease; /* Smooth transition for all properties */
}

.card-animated:hover {
  border: 1px solid#881AFF;
  transform: scale(1.3); /* Increase the size of the card */
  border-radius: 15px; /* Add border radius for rounded corners */
  backdrop-filter: blur(3px); /* Apply background blur */
  background-color: rgba(
    255,
    255,
    255,
    0.5
  ); /* Optional: Make background slightly transparent */
}
.navbar {
  transition: top 1s ease-in-out;
}
.header .img-fluid {
  filter: drop-shadow(5px 50px 20px rgba(0, 0, 0, 0.363));
  /* box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2); */
}
.navbar-visible {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  transition: top 1s ease-in-out;
  background-color: #0057fa94 !important;
  backdrop-filter: blur(2px) !important;
}

.navbar-visible.navbar-brand {
  z-index: 1040; /* Make sure the logo is above the navbar */
}
.section {
  min-height: 110vh !important;
  background-repeat: no-repeat;
  width: 100% !important;
  background-size: cover;
}
.modal-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  padding: 1.5rem !important;
  border: none !important;
}
/* .container {
  max-width: 1084px !important;
} */
.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-weight: 700;
  font-size: 16px !important;
  transition: color 0.5s ease-in-out;
}
.nav-item:hover .nav-link {
  /* background: #000000;
  backdrop-filter: blur(100px);
  border-radius: 2rem;
  text-decoration: underline; */
  color: #ffffff !important;
  text-decoration: underline;
}
.section2 {
  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;
}
.section4-7 {
  background-image: url("../images/section/4-7.jpg");
  min-height: 100vh !important;
}
.section4-7 .card-header {
  border: none !important;
}
.list-unstyled > .text-center {
  padding: 0.5rem !important;
}
.list-unstyled > hr {
  background-color: #7a7a7a !important;
  width: 97% !important;
  margin: 0.5rem auto !important;
  /* border-bottom: 1px solid #000 !important; */
}
.list-unstyled > .text-center {
  width: 97% !important;
  margin: 0px auto !important;
}
.list-unstyled > .text-center:hover {
  border-radius: 5px !important;
  background-color: #aca061bd !important;
}
.card-header.text-dark.text-end {
  background-color: #ffffff03;
}
.section4-7 .card {
  background-color: #ffffffce !important;
}
.section4-7 .card-header h6 {
  padding: 1rem !important;
  border-radius: 0% !important;
}
.section4-7 .card,
.section4-7 .card-header,
.section4-7 .card-body {
  padding: 0% !important;
  /* width: 100% !important;
  margin: 100px auto !important;
  text-decoration: none !important; */
  color: #153e35 !important;
  font-weight: bolder !important;
  /* text-align: end !important; */
  /* background-color: #ffffffb0 !important; */
  cursor: pointer !important;
  /* border-radius: 10px !important; */
  border-radius: 10px !important;
  border-radius: 10px !important;
}
.nav-link-new {
  background-color: ;
}
.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 */
}
.footer-card {
  width: 100% !important;
  background: #ffffff98;
  border-top-left-radius: 10rem !important;
  border-top-right-radius: 1rem !important;
  border-bottom-left-radius: 1rem !important;
  border-bottom-right-radius: 1rem !important;
  padding: 10px;
  position: relative;
}

/* Create a blurred background effect without affecting content */
.footer-card::before {
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit; /* Inherits the background */
  filter: blur(10px); /* Apply blur to background only */
  z-index: -1; /* Places it behind the content */
}

.send-btn {
  border: none;
  outline: none;
  position: absolute;
  right: -20px; /* Moves the button to the right */
  top: -20px; /* Moves the button higher */
  border-radius: 50%;
  background-color: #0056fa;
  align-content: center;
  padding: 1.5rem; /* Adjust padding if needed */
}

.footer-card input {
  border: 1px solid #e6e6e6 !important;
  outline: none !important;
  margin-bottom: 10px;
  width: 100%;
  border-radius: 5px;
  position: relative; /* Ensures it appears above the blurred background */
  background: #ffffff; /* Adds a solid background to inputs */
}

.footer-card input:hover,
.footer-card input:active,
.footer-card input:focus {
  border: 1px solid #ccc !important;
  outline: none !important;
}
.email {
  position: relative;
}

.input-ic {
  position: absolute;
  right: 155px;
  top: 160px;
}
.arsal {
  outline: none;
  border: none;
  border-radius: 10px;
  background-color: #0056fa;
  color: white;
}
/* .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: 991px) {
  header section .col-lg-6:nth-child(1) {
    display: none;
  }
}
@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) {
  .input-ic {
    display: none !important;
  }
  .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;
  }
}
