/* ==========================
   Global Styles
========================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f8faf8;
  color: #2d3436;
  line-height: 1.7;
}

.container {
  width: min(1100px, 90%);
  margin: auto;
}

section {
  padding: 6rem 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  color: #1f5134;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 3rem;
  max-width: 650px;
  margin-inline: auto;
}

/* ==========================
   Navigation
========================== */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 1rem 7%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);

  box-shadow: 0 4px 30px rgba(0,0,0,0.05);
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1f5134;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: .3s ease;
}

.nav-links a:hover {
  color: #2e8b57;
}

/* ==========================
   Hero
========================== */

.hero {
  position: relative;
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  color: white;
  overflow: hidden;

  background:
    linear-gradient(
      rgba(19, 40, 28, 0.70),
      rgba(19, 40, 28, 0.70)
    ),
    url('../assets/images/hero.jpg')
    center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-text {
  position: relative;
  z-index: 2;
  width: min(750px, 90%);
}

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);

  padding: .7rem 1.2rem;
  border-radius: 999px;

  font-size: .9rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.95;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================
   Buttons
========================== */

.btn,
.btn-secondary {
  text-decoration: none;
  border-radius: 999px;
  padding: 1rem 2rem;
  font-weight: 600;
  transition: .3s ease;
}

.btn {
  background: #38a169;
  color: white;
  box-shadow: 0 10px 30px rgba(56,161,105,.3);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-secondary {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,.3);
  color: white;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.22);
}

/* ==========================
   Services
========================== */

.services {
  background: #fff;
}

.card-container {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 24px;

  box-shadow:
    0 10px 40px rgba(0,0,0,.06);

  transition: .35s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 50px rgba(0,0,0,.10);
}

.icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  color: #1f5134;
  margin-bottom: 1rem;
}

/* ==========================
   About
========================== */

.about {
  background: #f3f8f4;
  text-align: center;
}

.about p {
  max-width: 750px;
  margin: auto;
  color: #555;
  font-size: 1.05rem;
}

/* ==========================
   Testimonials
========================== */

.testimonials-modern {
  background: white;
}

.testimonial-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.testimonial-content {
  width: min(700px, 100%);
}

.testimonial {
  display: none;

  background: #f8faf8;
  padding: 3rem;
  border-radius: 28px;

  box-shadow:
    0 10px 40px rgba(0,0,0,.06);
}

.testimonial.active {
  display: block;
}

.stars {
  color: #f7c948;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.name {
  color: #1f5134;
  margin-bottom: 1rem;
}

.quote {
  color: #666;
  font-size: 1.1rem;
}

/* Arrows */

.arrow {
  border: none;
  background: white;
  width: 55px;
  height: 55px;
  border-radius: 50%;

  cursor: pointer;
  font-size: 1.5rem;

  box-shadow:
    0 10px 30px rgba(0,0,0,.08);

  transition: .3s ease;
}

.arrow:hover {
  transform: scale(1.08);
}

/* Dots */

.dots {
  display: flex;
  justify-content: center;
  gap: .7rem;
  margin-top: 2rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d6d6d6;
  cursor: pointer;
  transition: .3s ease;
}

.dot.active {
  background: #2e8b57;
}

/* ==========================
   Contact
========================== */

.contact {
  background: #f3f8f4;
  text-align: center;
}

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

form {
  max-width: 700px;
  margin: auto;

  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input,
textarea {
  padding: 1rem 1.2rem;
  border-radius: 16px;
  border: 1px solid #d8e0da;

  font-size: 1rem;
  font-family: inherit;

  transition: .3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #38a169;
  box-shadow:
    0 0 0 4px rgba(56,161,105,.15);
}

textarea {
  min-height: 180px;
  resize: vertical;
}

button {
  border: none;
  cursor: pointer;

  background: #38a169;
  color: white;

  padding: 1rem;
  border-radius: 16px;

  font-weight: 600;
  font-size: 1rem;

  transition: .3s ease;
}

button:hover {
  transform: translateY(-2px);
}

/* ==========================
   Footer
========================== */

footer {
  background: #163323;
  color: rgba(255,255,255,.75);
  text-align: center;
  padding: 2rem;
}

/* ==========================
   Responsive
========================== */

@media (max-width: 768px) {

  section {
    padding: 4rem 0;
  }

  .navbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .testimonial-wrapper {
    flex-direction: column;
  }

  .arrow {
    display: none;
  }

  .testimonial {
    padding: 2rem;
  }
}