/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===== NAV ===== */
#nav {
  background: rgba(254, 254, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 94, 32, 0.08);
}

#nav.scrolled {
  box-shadow: 0 4px 20px rgba(27, 94, 32, 0.1);
}

/* ===== HERO SHAPES ===== */
.hero-shape {
  position: absolute;
  border-radius: 24px;
  opacity: 0.6;
}

.shape-1 {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #1B5E20, #2e7d32);
  top: 15%;
  right: 5%;
  transform: rotate(15deg);
  animation: float-shape 6s ease-in-out infinite;
}

.shape-2 {
  width: 80px;
  height: 80px;
  background: #c5e1a5;
  top: 60%;
  right: 12%;
  border-radius: 50%;
  animation: float-shape 8s ease-in-out infinite reverse;
}

.shape-3 {
  width: 60px;
  height: 60px;
  background: #dcedc8;
  top: 25%;
  left: 5%;
  transform: rotate(45deg);
  animation: float-shape 7s ease-in-out infinite;
}

.shape-4 {
  width: 100px;
  height: 100px;
  border: 3px solid rgba(27, 94, 32, 0.15);
  bottom: 20%;
  left: 8%;
  border-radius: 20px;
  animation: float-shape 9s ease-in-out infinite reverse;
}

.shape-5 {
  width: 40px;
  height: 40px;
  background: #aed581;
  bottom: 35%;
  right: 25%;
  border-radius: 50%;
  animation: float-shape 5s ease-in-out infinite;
}

@keyframes float-shape {
  0%, 100% { transform: translateY(0) rotate(15deg); }
  50% { transform: translateY(-20px) rotate(25deg); }
}

/* ===== FLOATING CARDS ===== */
.floating-card {
  animation: float-card 4s ease-in-out infinite;
}

.card-1 {
  animation-delay: 0s;
}

.card-2 {
  animation-delay: 1s;
}

.card-3 {
  animation-delay: 2s;
}

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

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1B5E20;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(27, 94, 32, 0.3);
}

.btn-primary:hover {
  background: #144a17;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27, 94, 32, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #1B5E20;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: 2px solid #1B5E20;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #1B5E20;
  color: #fff;
  transform: translateY(-2px);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #1B5E20;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ===== SERVICE CARDS ===== */
.service-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== WHY CARDS ===== */
.why-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.why-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== INPUT FIELDS ===== */
.input-field {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e8e6c8;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #1B5E20;
  background: #fefef8;
  transition: all 0.3s ease;
  outline: none;
}

.input-field:focus {
  border-color: #1B5E20;
  box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.1);
  background: #fff;
}

.input-field::placeholder {
  color: #c4c09e;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ===== MOBILE MENU ===== */
#mobile-menu {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-link {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
}

/* ===== SECTION REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .shape-1 { width: 80px; height: 80px; }
  .shape-2 { width: 50px; height: 50px; }
  .shape-3 { width: 40px; height: 40px; }
  .shape-4 { width: 60px; height: 60px; }
  .shape-5 { display: none; }

  .floating-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: inline-block;
    margin: 8px;
    animation: none;
  }

  .card-1, .card-2, .card-3 {
    margin: 8px;
  }
}
