@font-face {
  font-family: "font-main";
  src: url("../assets/Fonts/ArbFonts/alfont_com.ttf");
}
@font-face {
  font-family: "font-bold";
  src: url("../assets/Fonts/ArbFonts/ArbFONTS-VIP-Rawy-Bold1.ttf");
}

/*! الألوان الرئيسية */
:root {
  --white-color: #fff;
  --black-color: #000;
  --main-color: #0e6a39;
  --second-color: #0E6A39;
  --gradient-title: linear-gradient(
    90deg,
    var(--black-color),
    #0caf58,
    var(--black-color)
  );
  --text-color: #262626;
  --primary-btn: linear-gradient(94.56deg, #000000 0.38%, #0e6a39 51.5%);
  --primary-gradient-border: linear-gradient(
    94.56deg,
    #000000 0.38%,
    #0e6a39 51.5%
  );

  /* --text-color: ; */
}

body {
  font-family: "font-main";
  direction: rtl;
  /* position: relative; */

  background-image: url("../assets/images/bg-dots.svg");
  background-position: center;
  background-size: contain;
}
/* body::before {
  content: "";
  position: absolute;
  background-image: url("../assets/images/bg-dots.svg");
  background-position: center;
  background-size: contain;
  width: 100%;
  height: 100%;
  z-index: -1;
} */

::selection {
  background-color: var(--main-color);
  color: var(--white-color);
}

* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  outline: none;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

*:focus {
  outline: none;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button:focus,
a {
  outline: none;
}

button {
  border: none;
}

*:focus {
  outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure {
  margin: 0;
}

img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/*! Globals */
.main-container {
  width: 90%;
  margin: 0 auto;
}

.section {
  padding: 50px 0;
  margin-top: 80px;
}
section {
  overflow: hidden;
}

.title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
  margin-inline: auto;
  text-align: center;
}
.title h2 {
  background: var(--gradient-title);
  background-size: 200% 100%;
  background-position: 0% 50%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 700;
  font-size: clamp(30px, 4vw, 45px);
}
.title p {
  font-size: clamp(16px, 3vw, 24px);
}
.gradient-move {
  animation: gradientMove 3s linear infinite;
}
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.sub-title h2 {
  font-size: 32px;
  font-weight: 700;
  padding-bottom: 25px;
}

.main-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: self-end;
  gap: 5px;
  height: 48px;
  width: fit-content;
  background: var(--primary-btn);
  color: var(--white-color);
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
}

.second-btn {
  height: 48px;
  width: fit-content;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: self-end;
  gap: 5px;
  text-align: center;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  background: transparent;
  border: none;
  z-index: 1;
  transition: all 0.5s ease-in-out;
}

.second-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: var(--primary-gradient-border);

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);

  -webkit-mask-composite: xor;
  mask-composite: exclude;

  z-index: -1;
}
.second-btn img {
  width: 20px;
  height: 20px;
}
.second-btn:hover {
  box-shadow: -2px 4px 64px 0px #00000040;
}
.second-btn img {
  transition: transform 0.6s ease;
}

.second-btn:hover img {
  transform: rotate(360deg);
}
.second-btn span {
  color: var(--black-color) !important;
}

/* .img-animate {
  width: 170px;
} */
.img-animate img {
  width: 28px;
  height: 28px;
  transition:
    left 0.4s ease,
    transform 0.4s ease;
}

.img-animate span,.payment-button-container button span {
  transition: all 0.4s ease;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 700;
  color: var(--white-color);
}

.img-animate:hover span {
  opacity: 0;
  transform: translateX(20px);
  width: 0;
  overflow: hidden;
}
.img-animate:hover img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scale(1.1);
}

.img-animate:hover {
  gap: 0;
  width: 150px;
}

/*! ================ Scroll-Btn ================ */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  z-index: 9;
  font-size: 24px;
  display: grid;
  place-items: center;
  color: white;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  visibility: hidden;
  background: linear-gradient(to top, var(--main-color) 0%, #e6e6e6 0%);
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  animation: floatScrollTop 3s ease-in-out infinite;
}
@keyframes floatScrollTop {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  }
  50% {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(var(--main-color-rgb), 0.5);
  }
}
.scroll-top::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--main-color);
  opacity: 0.15;
  z-index: -1;
  transform: scale(1.3);
}
.scroll-top:hover::before {
  animation: outerGlow 2.5s ease-in-out infinite;
}
@keyframes outerGlow {
  0%,
  100% {
    transform: scale(1.2);
    opacity: 0.15;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.3;
  }
}
/* pages-header */
.pages-header .hero-wrapper {
  height: auto;
  min-height: 120px;
  background: transparent;
}
