:root {
  --green-dark: #1f3d2b;
  --green-main: #2f6b3f;
  --green-light: #e8f2ec;
  --text-dark: #222;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #fafafa;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo { 
  height: 80px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.header-tagline {
  font-size: 1rem;
  color: var(--green-dark);
  font-weight: 600;
  letter-spacing: 0.5px;
  border-left: 3px solid var(--green-main);
  padding-left: 20px;
  opacity: 0.9;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar a {
  position: relative;
  text-decoration: none;
  font-weight: 600;
  color: var(--text-dark);
  padding: 10px 18px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.navbar a:not(.nav-cta):hover {
  color: var(--green-main);
  background: var(--green-light);
}

.navbar a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--green-main);
  transition: transform 0.3s ease;
}

.navbar a:not(.nav-cta):hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-cta {
  background: var(--green-main);
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  margin-left: 8px;
  box-shadow: 0 2px 8px rgba(47, 107, 63, 0.3);
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(47, 107, 63, 0.4);
}

/* Responsive Header */
@media (max-width: 968px) {
  .header-tagline {
    display: none;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 16px 20px;
  }
  
  .logo {
    height: 60px;
  }
  
  .navbar {
    gap: 4px;
  }
  
  .navbar a {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
  
  .nav-cta {
    padding: 8px 14px;
  }
}

/* Hero Slideshow */
.hero-slideshow {
  position: relative;
  height: 85vh;
  min-height: 600px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.slide.active { opacity: 1; }

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

.hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content {
  max-width: 900px;
  animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 25px 0;
  text-shadow: 2px 4px 12px rgba(0,0,0,0.4);
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 40px 0;
  text-shadow: 1px 2px 8px rgba(0,0,0,0.3);
  opacity: 0.95;
  line-height: 1.6;
}

.hero-buttons { 
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  font-size: 1.1rem;
  padding: 16px 36px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.hero-buttons .btn.primary:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.hero-buttons .btn.secondary:hover {
  background: var(--green-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Fade in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive hero text */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
  }
  
  .hero-buttons .btn {
    font-size: 1rem;
    padding: 14px 28px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1.05rem;
  }
}

/* Buttons */
.btn {
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.btn.primary {
  background: var(--green-main);
  color: white;
}

.btn.secondary {
  background: white;
  color: var(--green-main);
}

/* Sections */
.section {
  padding: 80px 20px;
  text-align: center;
  background: white;
}

.section.muted { background: var(--green-light); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 40px auto 0;
}

/* =========================
   SERVICES – HOVER ENHANCED
   ========================= */

.services-grid {
  margin-top: 50px;
}

.service-card {
  position: relative;
  background: white;
  padding: 40px 20px;
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Card grows slightly on hover */
.service-card:hover {
  transform: scale(1.20);
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

/* Title fades out */
.service-card h3 {
  position: relative;
  z-index: 2;
  transition: opacity 0.25s ease;
  margin: 0;
}

.service-card:hover h3 {
  opacity: 0;
}

/* Overlay fades in */
.service-overlay {
  position: absolute;
  inset: 0;
  background: var(--green-main);
  color: white;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 80%;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-card:hover .service-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   ABOUT US SECTION
   ========================= */

.about-section {
  background: white;
  padding: 80px 20px;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--green-dark);
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-dark);
}

/* =========================
   CONTACT US SECTION
   ========================= */

.contact-section {
  background: var(--green-light);
  padding: 80px 20px;
}

.contact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--green-dark);
}

.contact-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contact-form-wrapper {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-phone {
  text-align: center;
  margin-bottom: 25px;
}

.contact-phone h3 {
  font-size: 1.2rem;
  color: var(--green-dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.phone-number {
  display: inline-block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

.phone-number:hover {
  color: var(--green-dark);
}

.contact-divider {
  text-align: center;
  position: relative;
  margin: 30px 0;
}

.contact-divider::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: #e0e0e0;
}

.contact-divider span {
  position: relative;
  background: white;
  padding: 0 15px;
  color: #888;
  font-size: 0.9rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green-main);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  margin-top: 10px;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background-color: var(--green-dark);
  transform: translateY(-2px);
}

.contact-map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  height: 100%;
  min-height: 450px;
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 450px;
  border: none;
}

/* Responsive design for Contact section */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .contact-form-wrapper {
    padding: 30px;
  }
  
  .phone-number {
    font-size: 1.6rem;
  }
  
  .contact-map-wrapper {
    min-height: 350px;
  }
}


/* Footer */
footer {
  background: var(--green-dark);
  color: white;
  text-align: center;
  padding: 30px;
}

/* =========================
   SCROLL ANIMATIONS
   ========================= */

.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation for service cards */
.service-card.scroll-reveal {
  transition-delay: 0s;
}

.service-card.scroll-reveal:nth-child(1) {
  transition-delay: 0.1s;
}

.service-card.scroll-reveal:nth-child(2) {
  transition-delay: 0.2s;
}

.service-card.scroll-reveal:nth-child(3) {
  transition-delay: 0.3s;
}

.service-card.scroll-reveal:nth-child(4) {
  transition-delay: 0.4s;
}