.header{
  padding: 20px 0;
}

.hero-wrapper {
  background: linear-gradient(180.35deg, #ffffff 53.25%, #6dbd92 99.7%);
  min-height: 100vh;
  /* max-height: 110vh; */
  padding: 20px 0 50px;
  position: relative;
  overflow: hidden;
}

.stripes-bg {
  position: absolute;
  inset: 0;
  display: flex;
  pointer-events: none;
  z-index: 0;
}

.stripe {
  flex: 1;
  height: 100%;
  box-shadow: -2px 4px 64px 0px #00000040 inset;
}

.nav {
  position: relative;
  z-index: 10;
}

.nav nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: calc(40px,2vw,68px);
  width: fit-content;
  transition: all 0.5s ease-in-out;
}
.logo:hover img {
  filter: drop-shadow(0 0 12px rgba(14, 106, 57, 0.4));
}

.logo-2030 img {
  height: 60px;
  width: fit-content;
  transition: all 0.5s ease-in-out;
}

.hero-content {
  position: relative;
  text-align: center;
  /* padding: 60px 20px 40px; */
}

.hero-content h1::before {
  position: absolute;
  content: "";
  top: 25%;
  right: 100%;
  width: 45px;
  height: 45px;

  background-image: url("../assets/images/before-hero.gif");
  background-repeat: no-repeat;
  background-size: contain;
}

.hero-content h1 {
  position: relative;
  font-size: clamp(22px, 5vw, 42px);
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.5;
  margin-bottom: 20px;
  width: 55%;
  margin: 30px auto;
}

.highlight {
  background: linear-gradient(94.56deg, #000000 0.38%, #0E6A39 51.5%);
  background-size: 200% auto;
  background-position: 0% center;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
  to {
    background-position: 200% center;
  }
}
.hero-content p {
  font-size: clamp(14px, 2vw, 24px);
  font-weight: 700;
  color: #262626;
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-imgs {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 40px 20px 20px;
  margin-bottom: 30px;
}

.hero-imgs .img1 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-imgs .img1:last-child {
  animation-delay: 1.6s;
}
.hero-imgs .img1 img {
  max-width: 250px;
  height: 300px;
}


.hero-imgs .img3,
.hero-imgs .img1 {
  background-image: url("../assets/images/img-hero.svg");
  background-size: cover;
  background-position: center;
  width: 260px;
  height: 300px;
  padding: 10px;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-imgs .img3 p,
.hero-imgs .img1 p {
  font-size: clamp(21px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.2;
  background: var(--gradient-title);
  background-size: 200% 100%;
  background-position: 0% 50%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}













.hero-imgs .img1 .hero-text {
  position: absolute;
  top: -36px;
  left: 90%;
}
.hero-imgs .img1 .bottom {
  left: -60%;
  top: 99%;
  min-width: 240px;


  /* width: 70%; */
}


.hero-imgs .img1 .bottom p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  text-align: center;
  text-wrap: balance;
}
.hero-imgs .img2 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 -10px;
  z-index: 2;
  animation-delay: 0.8s;
}

.hero-imgs .img2 img {
  width: 98%;
}

.hero-imgs .img2 .hero-text {
  position: absolute;
  top: 110%;
}

/* .hero-imgs .img1,
.hero-imgs .img2 {
  animation: float 5s ease-in-out infinite;
} */

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

.hero-imgs .hero-text {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 6px;
  /* animation: messageFloat 4s ease-in-out infinite; */
}
@keyframes messageFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}
.hero-imgs .hero-text p {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0;
  color: #0E6A39;
}

.hero-imgs .hero-text p img {
  width: 22px;
  height: 22px;
}

.hero-imgs .img1 .main-btn {
  position: absolute;
  bottom: 10px;
  animation: pulseBtn 2s infinite;
}

.hero-imgs .img1 .main-btn img {
  width: 28px;
  height: 28px;
}
.hero-imgs .main-btn:hover {
  transform: scale(1.1);
}
@keyframes pulseBtn {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

/* From Uiverse.io by Subu19 */
.hamburger {
  height: 55px;
  width: 55px;
  transform: 0.2s;
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 999999;
  background: linear-gradient(94.56deg, #000000 0.38%, #0e6a39 51.5%);
  color: white;
  border-radius: 12px 0 0 12px;
}
.hamburger .checkbox {
  position: absolute;
  opacity: 0;
  height: 100%;
  width: 100%;
  cursor: pointer;
}
.hamburger svg {
  width: 70%;
  margin-top: 3px;
}
.line {
  transition: 0.5s;
  stroke-width: 6px;
  stroke: white;
}
.lineTop {
  stroke-dasharray: 40 40;
  stroke-dashoffset: 25;
}
.lineBottom {
  stroke-dasharray: 40 40;
  stroke-dashoffset: 60;
}
.lineMid {
  stroke-dasharray: 40 40;
}
.hamburger .checkbox:checked + svg .line {
  stroke: #68b98e;
}
.hamburger .checkbox:checked + svg .lineTop {
  stroke-dashoffset: 0;
  transform-origin: left;
  transform: rotateZ(45deg) translate(-7px, -5px);
}
.hamburger .checkbox:checked + svg .lineMid {
  stroke-dashoffset: 40;
}
.hamburger .checkbox:checked + svg .lineBottom {
  stroke-dashoffset: 0;
  transform-origin: left;
  transform: rotateZ(-45deg) translate(-5px, 5px);
}

/*  */
.menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  background: linear-gradient(180.35deg, #ffffff 53.25%, #6dbd92 99.7%);
  clip-path: circle(0% at 100% 0%);
  transition: clip-path 0.7s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 900;
  display: flex;
  /* align-items: center;
  justify-content: center; */
  flex-direction: row-reverse;
}

.menu-overlay.open {
  width: 100vw;
  height: 100vh;
  clip-path: circle(150% at 100% 0%);
}

/* Menu Links */
.menu-overlay nav {
  position: absolute;
  width: 300px;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  opacity: 0;
  transform: translateY(20px);
  height: 100%;
  padding: 0 50px;
  justify-content: center;
  box-shadow: -2px 4px 64px 0px #00000040 inset;
  transition:
    opacity 0.4s ease 0.4s,
    transform 0.4s ease 0.4s;
  z-index: 1;
}

.menu-overlay.open nav {
  opacity: 1;
  transform: translateY(0);
}

.hamburger.menu-open {
  right: 300px;
  transition: right 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

.hamburger {
  transition: right 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

.menu-overlay nav a {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s;
}
.menu-overlay nav a img {
  width: 22px;
  height: auto;
}
.menu-overlay nav .logo img {
    height: calc(40px,5vw,68px) ;
    width: 100%;
  }
.menu-overlay nav a.active,
.menu-overlay nav a:hover {
  color: #22a06b;
}

@keyframes topAnim {
  0% {
    d: path("M6 11L44 11");
  }
  100% {
    d: path("M8 8L42 42");
  }
}
@keyframes midAnim {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes bottomAnim {
  0% {
    d: path("M6 37H43");
  }
  100% {
    d: path("M8 42L42 8");
  }
}

.menu-preview {
  width: 0;
  height: 100%;
  background: #f5f5f5;
  position: relative;
  overflow: hidden;
  transition: width 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.menu-preview.expanded {
  width: calc(100% - 300px)
}

.preview-item {
  position: absolute;
  inset: 0;
  gap: 20px;
  opacity: 0;
  transform: translateX(-20px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  pointer-events: none;
}

.preview-item.active {
  opacity: 1;
  transform: translateX(0);
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-item p {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-color);
}

.preview-item p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  z-index: 1;
}

/* overlay داكن فوق الصورة عشان الكلام يبان */
.preview-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}
