﻿:root {
  --primary: #2e7d32;
  --secondary: #66bb6a;
  --accent: #f4c542;
  --cream: #f5f5f0;
  --text: #333333;
  --dark: #1f4f23;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans TC", "Source Han Sans TC", "Microsoft JhengHei", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  font-weight: 700;
  color: var(--dark);
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 68px;
  height: 4px;
  border-radius: 4px;
  background: var(--accent);
}

.section-subtitle {
  color: #4d4d4d;
  max-width: 720px;
}

.btn-brand {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border: 2px solid rgba(244, 197, 66, 0.7);
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-brand:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(102, 187, 106, 0.7);
}

.btn-outline-brand {
  border: 2px solid var(--secondary);
  color: var(--primary);
  background: transparent;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  transition: all 0.3s ease;
}

.btn-outline-brand:hover {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 0 12px rgba(102, 187, 106, 0.6);
}

.navbar {
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark) !important;
  font-weight: 700;
}

.navbar-brand img {
  height: 44px;
}

.nav-link {
  color: var(--text);
  font-weight: 600;
}

.nav-link.active,
.nav-link:hover {
  color: var(--primary);
}

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: var(--white);
  position: relative;
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(31, 79, 35, 0.88), rgba(46, 125, 50, 0.62));
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1,
.hero p {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.scroll-hint {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  color: var(--white);
  animation: bounce 1.6s infinite;
  font-size: 0.95rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

.wave-divider svg {
  display: block;
  width: 100%;
  margin-top: -1px;
}

.card-lift,
.icon-card,
.service-card,
.recycle-item {
  transition: all 0.35s ease;
  border: 1px solid rgba(244, 197, 66, 0.38);
  border-left: 4px solid var(--accent);
  border-radius: 16px;
  box-shadow: var(--shadow);
  background: var(--white);
}

.card-lift:hover,
.icon-card:hover,
.service-card:hover,
.recycle-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 32px rgba(46, 125, 50, 0.2);
}

.icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(102, 187, 106, 0.2);
  color: var(--primary);
  font-size: 1.4rem;
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(var(--secondary), var(--primary));
  animation: growLine 2.6s ease-out;
}

@keyframes growLine {
  from {height: 0;}
  to {height: 100%;}
}

.timeline li {
  position: relative;
  padding: 0 0 28px 52px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--secondary);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
}

.partner-block {
  background: #e9f7ea;
  border: 1px solid rgba(244, 197, 66, 0.45);
  border-bottom: 4px solid var(--accent);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  font-weight: 700;
  color: var(--dark);
  box-shadow: var(--shadow);
}

.gradient-section {
  background: linear-gradient(130deg, #f3fbf3, #ecf8ef);
}

.parallax-section {
  background-image: linear-gradient(rgba(31, 79, 35, 0.72), rgba(31, 79, 35, 0.72)), url("../images/img102.jpg");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.footer {
  background: var(--dark);
  color: #dce8dc;
  padding: 56px 0 24px;
  border-top: 4px solid var(--accent);
}

.footer h5 {
  color: var(--white);
}

.footer a {
  color: #dce8dc;
  text-decoration: none;
}

.footer a:hover {
  color: var(--secondary);
}

.whatsapp-float,
.back-to-top {
  position: fixed;
  right: 16px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  z-index: 1040;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.whatsapp-float {
  bottom: 88px;
  background: #25d366;
}

.back-to-top {
  bottom: 24px;
  background: var(--primary);
  border: none;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.page-hero {
  min-height: 55vh;
}

.form-control,
.form-select {
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 0.2rem rgba(102, 187, 106, 0.25);
}

.contact-card {
  border-radius: 16px;
  box-shadow: var(--shadow);
  background: var(--white);
  border: 1px solid rgba(244, 197, 66, 0.42);
}

@media (max-width: 991px) {
  .hero {
    min-height: 78vh;
  }

  .section-padding {
    padding: 64px 0;
  }

  .navbar-brand span {
    font-size: 0.95rem;
  }

  .parallax-section {
    background-attachment: scroll;
  }
}
