/* ================= ROOT ================= */
:root {
  --bg: #f4f7f1;
  --bg-light: #e7efe3;
  --dark-green: #18392b;
  --forest: #2d5a40;
  --primary: #4CAF50;
  --primary-light: #7dffb2;
  --gold: #d4af37;
  --text-dark: #1b1b1b;
  --muted: #5f6b63;
  --glass: rgba(255,255,255,0.65);
  --border: rgba(255,255,255,0.4);
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --radius: 20px;
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg,#f8fbf6 0%,#eef5ea 100%);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ================= GLOBAL ================= */
img {
  width: 100%;
  display: block;
}

section {
  position: relative;
  padding: 7rem 2rem;
  scroll-margin-top: 100px;
}

section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(to right,transparent,rgba(0,0,0,0.08),transparent);
}

section h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--dark-green);
}

p {
  line-height: 1.9;
  color: var(--muted);
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1200px;
  height: 75px;
  border-radius: 20px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.92);
}

.navbar__container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.navbar__brand {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark-green);
  line-height: 1;
}

.navbar__brand span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 3px;
  margin-top: 5px;
  color: var(--forest);
}

.navbar__menu {
  display: flex;
}

.navbar__list {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.navbar__link {
  text-decoration: none;
  color: var(--text-dark);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.3s ease;
}

.navbar__link:hover {
  background: rgba(76,175,80,0.08);
  color: var(--forest);
}

/* ================= MOBILE NAV ================= */
.navbar__toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  margin: 4px 0;
  border-radius: 20px;
  background: var(--dark-green);
}

/* ================= HERO ================= */
#hero {
  position: relative;
  height: 100vh;
  background:
    linear-gradient(rgba(20,35,24,0.45),rgba(20,35,24,0.35)),
    url("../media/IMG_9246-min.png");
  background-size: cover;
  background-position: center top;
  will-change: background-position;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%,rgba(124,255,178,0.15),transparent 30%),
    radial-gradient(circle at 80% 70%,rgba(212,175,55,0.12),transparent 30%);
  animation: pulseGlow 8s ease infinite;
}

.hero {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.hero h1 {
  font-size: clamp(3rem,7vw,3rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -2px;
  max-width: 1000px;
  color: white;
  text-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.hero p {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  font-size: 1.3rem;
  color: rgba(255,255,255,0.9);
}

/* ================= BUTTONS ================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg,var(--primary),#2f7d32);
  box-shadow: 0 10px 25px rgba(76,175,80,0.25);
  transition: 0.35s ease;
}

.button:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 20px 40px rgba(76,175,80,0.35);
}

/* ================= ABOUT ================= */
.about-section {
  background:
    radial-gradient(circle at top left,rgba(76,175,80,0.08),transparent 40%),
    #f8fbf6;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: auto;
}

.about-image,
.about-text {
  flex: 1;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ================= SERVICES ================= */
#services {
  background: linear-gradient(180deg,#f4f7f1,#e8f0e4);
  text-align: center;
}

.services-title {
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
  list-style: none;
  max-width: 1200px;
  margin: auto;
}

/* ================= SERVICES CARDS ================= */
.services-grid li {
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.55);
  color: var(--text-dark);
  border: 1px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease,
    border 0.35s ease;
  cursor: pointer;
}

/* HOVER EFFECT */
.services-grid li:hover {
  transform: translateY(-12px) scale(1.02);
  background: linear-gradient(145deg,rgba(124,255,178,0.16),rgba(255,255,255,0.95));
  border: 1px solid rgba(76,175,80,0.35);
  box-shadow: 0 25px 45px rgba(76,175,80,0.18);
}

/* ================= STATS ================= */
.stats-section {
  background: var(--bg-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.stat-card {
  padding: 3rem 2rem;
  text-align: center;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: var(--shadow);
}

.stat-card h3 {
  margin-bottom: 1rem;
  color: var(--forest);
}

/* ================= CONTACT ================= */
.contact-section {

  background:
    radial-gradient(
      circle at top right,
      rgba(76,175,80,0.08),
      transparent 35%
    ),
    linear-gradient(
      180deg,
      #f8fbf6,
      #edf4e8
    );

}

.contact-container {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: auto;
}

.contact-text,
.contact-image {
  flex: 1;
}

.contact-text {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
}

.contact-text h2 {
  margin-bottom: 1rem;
}

.contact-text p {
  margin-bottom: 2rem;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* FORM */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark-green);

}

.form-group input,
.form-group textarea {

  width: 100%;

  padding: 15px 18px;

  border-radius: 14px;

  border: 1px solid rgba(0,0,0,0.08);

  background: rgba(255,255,255,0.9);

  font-family: inherit;

  font-size: 1rem;

  color: var(--text-dark);

  transition: 0.3s ease;

  outline: none;

}

.form-group textarea {

  resize: vertical;

  min-height: 160px;

}

.form-group input:focus,
.form-group textarea:focus {

  border-color: var(--primary);

  box-shadow:
    0 0 0 4px rgba(76,175,80,0.12);

}

.contact-form .button {

  border: none;

  cursor: pointer;

  margin-top: 0.5rem;

  width: fit-content;

}

.form-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

#result {
  font-size: 14px;
}

.fade {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.fade.show {
  opacity: 1;
}

/* ================= FOOTER ================= */
footer {
  padding: 2rem;
  text-align: center;
  background: #dfe9d9;
  color: #35523f;
}

/* ================= BACK TO TOP ================= */
#myBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
}

/* ================= ANIMATIONS ================= */
@keyframes pulseGlow {
  0% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.6;
  }
}

/* ================= TABLET ================= */
@media (max-width: 1024px) {
  /* Keep about stacked but show contact sections side-by-side on tablet */
  .about-container {
    flex-direction: column;
  }

  .about-image img {
    border-radius: 15px;
  }

  .contact-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
  }

  .contact-text,
  .contact-image {
    flex: 1 1 50%;
    min-width: 0;
  }

  .contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    display: block;
  }

  .services-grid,
  .stats-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  section {
    padding: 3rem 1.5rem 3.5rem 1.5rem;
  }

  section h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .about-text p {
    text-align: center;
  }

  .navbar {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    width: auto;
    transform: none;
    max-width: 100%;
    box-sizing: border-box;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__menu {
    display: none;
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    padding: 1rem;
  }

  .navbar__menu.active {
    display: flex;
    padding: 16px 0;
  }

  .navbar__list {
    width: 100%;
    flex-direction: column;
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: var(--shadow);
  }

  .navbar__brand {
    font-size: 1rem;
  }

  #hero {
    background:
      linear-gradient(rgba(0,0,0,0.35),rgba(0,0,0,0.25)),
      url("../media/IMG_9273-min.JPG");
    background-size: cover;
    background-position: center top;
    will-change: background-position;
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 1.8rem;
    font-weight: 700;
  }

  .hero p {
    font-size: 0.8rem;
    font-weight: bold;
  }

  .about-container,
  .contact-container {
    gap: 2rem;
  }

  .about-text {
    order: 1;
  }

  .about-image {
    order: 2;
  }

  .services-grid,
  .stats-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .services-grid li {
    font-size: 0.7rem;
  }

  .contact-text {
   padding: 40px;
  }

  .contact-text a.button {
    display: block;
    width: fit-content;
    margin: 0 auto;
  }

  .contact-text p {
    text-align: center;
    font-size: 0.7rem;
    margin-bottom: 1.5rem;
  }

  .contact-image {
    display: none;
  }

  .form-group input, .form-group textarea {
    font-size: 0.7rem;
  }

  footer {
    font-size: 13px;
  }
}