@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&family=Tajawal:wght@400;700&display=swap');

:root {
  --primaryColor: #FEA958;
  --middleColor: #393E46;
  --helperColor: #400B50;
  --lightHelper: #B60C52;
  --hrColor: #A9B5DF;
  --transparentColor: rgba(0, 0, 0, 0.699);
  --shadow: rgba(189, 188, 188, 0.514);
  /* --------------------------------- */
  --whatsappColor: #25D366;
  --white: #ffff;
  --blue: #1877F2;
  --green: #25D366;
  --gray: #f8f8f8;
  --container-width: 1340px;
  --header-height: 200px;
  /* 👈 غيّر الرقم حسب الارتفاع اللي تحبه */

}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Cairo', 'Tajawal', sans-serif;
}

a {
  text-decoration: none;
  transition: all 0.5s;

}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
  padding-top: 50px;
}

.hero-section {
  padding: 250px 18px 100px 18px;
  margin-top: -200px;
  background-image: url("../img/header-shape.svg"), linear-gradient(180deg, var(--helperColor) 55%, var(--lightHelper));
  position: relative;
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position-x:left;
  color: var(--white);
}

.hero-section::before {
  content: "";
  background-image: url("../img/shiny-back.webp");
  background-size: cover;
  position: absolute;
  background-repeat: no-repeat;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
}

.hero-content {
  width: 50%;
  margin-bottom: 100px;
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--primaryColor);
  margin-bottom: 24px;
}

.hero-content a {
  justify-self: center;
  margin-top: 30px;
  width: 60%;
  display: block;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  padding: 8px;
  border-radius: 2px 20px 2px 20px;
  background-image: linear-gradient(90deg, var(--lightHelper) 0%, var(--primaryColor) 100%);
}

.hero-content a:hover {
  border-radius: 20px 2px 20px 2px;
}

.hero-image-card {
  width: 50%;
  border-radius: 5px 30px 5px 30px;

}

.image-card {
  overflow: hidden;
}

.image-card img {
  border-radius: 5px 30px 5px 30px;
  width: 100%;
  display: block;
}

/* ========== responsive additions for hero.css ========== */

/* reduce big paddings on medium screens */
@media (max-width: 1200px) {
  .hero-section {
    padding: 250px 16px 80px 16px;
  }

  .hero-title {
    font-size: 34px;
  }
}

/* tablets */
@media (max-width: 900px) {
  .hero-section {
    padding: 180px 12px 80px 12px;
    margin-top: -120px;
    background-position-x: center;
  }

  .hero-content,
  .hero-image-card {
    width: 100%;
  }

  .hero-content {
    order: 2;
    padding: 0 8px;
  }

  .hero-image-card {
    order: 1;
    margin-bottom: 18px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-content a {
    width: 80%;
    margin: 18px auto 0;
    font-size: 16px;
    padding: 10px;
  }

  .image-card img {
    max-width: 360px;
    margin: 0 auto;
  }
}

/* small phones */
@media (max-width: 576px) {
  .hero-section {
    padding: 150px 10px 0px 10px;
    margin-top: -90px;
  }

  .hero-title {
    font-size: 22px;
    line-height: 1.2;
  }
  .hero-container {
    max-width: 100%;
    padding: 0 18px;
    flex-direction: column-reverse;
  }
  .hero-subtitle {
    font-size: 14px;
  }
  .hero-content {
    width: 100%;
    margin-bottom: 10px;
  }
  .hero-content a {
    width: 100%;
    font-size: 15px;
    padding: 10px;
  }

  .image-card {
    width: 100%;
  }
  .image-card img {
    max-width: 260px;
  }
}