
/*==================================================
WAJHA STYLE
==================================================*/

:root {
  --primary: #2E7D32;
  --primary-dark: #1B5E20;
  --white: #ffffff;
  --light: #F5F7FA;
  --text: #222;
  --gray: #777;
  --radius: 22px;
  --shadow: 0 15px 40px rgba(0, 0, 0, .08);
  --transition: .35s ease;
}

/*==================================================
RESET
==================================================*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  font-family: 'Cairo', sans-serif;
  background: var(--light);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.8;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
}

/*==================================================
CONTAINER
==================================================*/

.container {
  width: min(1180px, 92%);
  margin: auto;
}

/*==================================================
BUTTONS
==================================================*/

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

.btn-light {
  background: #fff;
  color: var(--primary);
}

.btn-light:hover {
  background: #f1f1f1;
}

/*==================================================
HERO
==================================================*/

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      rgba(16, 35, 16, .72),
      rgba(46, 125, 50, .42)
    ),
    url(images/hero.jpg)
    center center / cover;
  animation: heroZoom 18s infinite alternate;
  overflow: hidden;
}

.overlay {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 720px;
  color: #fff;
}

.badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .2);
  font-weight: 700;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: 68px;
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 30px;
}

.hero p {
  font-size: 22px;
  margin-bottom: 45px;
  opacity: .95;
  line-height: 2.1;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.scroll {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 28px;
  animation: float 2s infinite;
}

@keyframes heroZoom {
  from {
    background-size: 100%;
  }

  to {
    background-size: 108%;
  }
}

@keyframes float {
  0%, 100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 10px);
  }
}

/*==================================================
SECTION TITLE
==================================================*/

.section-title {
  text-align: center;
  margin-bottom: 70px;
}

.section-title span {
  display: inline-block;
  padding: 8px 18px;
  background: #E8F5E9;
  color: var(--primary);
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 22px;
}

.section-title h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.5;
}

.section-title p {
  color: var(--gray);
  font-size: 17px;
  margin-top: 20px;
  line-height: 2.2;
}

/*==================================================
FEATURES
==================================================*/

#features {
  padding: 130px 0;
  background: #fff;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
}

.card {
  background: #fff;
  padding: 40px 35px;
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, .05);
  text-align: center;
  transition: .35s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 45px rgba(46, 125, 50, .16);
}

.card i {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  border-radius: 50%;
  background: #E8F5E9;
  color: var(--primary);
  font-size: 24px;
  transition: .35s;
}

.card:hover i {
  transform: rotate(10deg) scale(1.08);
  background: var(--primary);
  color: #fff;
}

.card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 22px;
  color: #222;
  line-height: 1.7;
}

.card p {
  font-size: 15px;
  color: #777;
  margin-top: 18px;
  line-height: 2.3;
}

/*==================================================
STATS
==================================================*/

#details,
#stats {
  padding: 130px 0;
  background: #F8FAF8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 35px;
}

.stat-card {
  background: #fff;
  padding: 45px 30px;
  text-align: center;
  border-radius: 22px;
  box-shadow: var(--shadow);
  transition: .35s;
  border: 1px solid rgba(0, 0, 0, .05);
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(46, 125, 50, .15);
}

.stat-card i {
  font-size: 30px;
  color: var(--primary);
  margin-bottom: 25px;
}

.stat-card h3 {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 18px;
  line-height: 1.5;
}

.stat-card p {
  color: #777;
  font-size: 15px;
  margin-top: 15px;
  line-height: 2.2;
}

/*==================================================
CONTACT
==================================================*/

#contact {
  padding: 130px 0;
  background: #fff;
}

#contact .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

#contact .card {
  padding: 35px 25px;
}

#contact .card > i {
  width: 50px;
  height: 50px;
  font-size: 20px;
  margin-bottom: 22px;
}

#contact .card h3 {
  font-size: 18px;
  margin-bottom: 25px;
}

#contact .card .btn {
  width: 100%;
  padding: 10px 18px;
  font-size: 13px;
  margin-top: 12px;
  gap: 8px;
}

#contact .card .btn i {
  width: auto;
  height: auto;
  background: transparent;
  font-size: 16px;
  margin: 0;
}

#contact .card .btn + .btn {
  margin-top: 20px;
}

/*==================================================
MAPS
==================================================*/

.maps {
  padding: 130px 0;
  background: #F8FAF8;
}

.maps .cards {
  gap: 35px;
}

.maps .card {
  padding: 35px 30px;
}

.maps .card > i {
  width: 50px;
  height: 50px;
  font-size: 20px;
  margin-bottom: 22px;
}

.maps .card h3 {
  margin-bottom: 25px;
  font-size: 21px;
}

.maps .card .btn {
  padding: 10px 22px;
  font-size: 13px;
  margin-top: 15px;
}

.maps .card .btn i {
  width: auto;
  height: auto;
  background: transparent;
  font-size: 16px;
  margin: 0;
}

/*==================================================
FOOTER
==================================================*/

footer {
  padding: 70px 20px;
  background: #173C1C;
  color: #fff;
  text-align: center;
}

footer h2 {
  font-size: 32px;
  margin-bottom: 25px;
}

footer p {
  opacity: .8;
  margin-top: 12px;
  line-height: 2.2;
}

/*==================================================
FLOATING BUTTON
==================================================*/

.floating {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .18);
  z-index: 999;
  transition: .35s;
  animation: pulse 3s infinite;
  font-size: 14px;
}

.floating:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 125, 50, .45);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(46, 125, 50, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);
  }
}

/*==================================================
RESPONSIVE
==================================================*/

@media (max-width: 992px) {
  .hero h1 {
    font-size: 50px;
  }

  #contact .cards {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    text-align: center;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 17px;
    line-height: 2;
  }

  .hero-buttons {
    justify-content: center;
  }

  .cards,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    margin-bottom: 50px;
  }

  .section-title h2 {
    font-size: 30px;
    margin-bottom: 22px;
  }

  .section-title p {
    font-size: 15px;
    line-height: 2.2;
  }

  #features,
  #details,
  #stats,
  #contact,
  .maps {
    padding: 90px 0;
  }

  .card {
    padding: 35px 25px;
  }

  .floating {
    width: 60px;
    height: 60px;
    padding: 0;
    justify-content: center;
  }

  .floating span {
    display: none;
  }
}