:root {
  --leaf-green: #6B9B47;
  --teal: #2C5F5D;
  --light-gray: #f8f9fa;
  --dark-gray: #495057;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
}

/* Custom Colors */
.text-teal {
  color: var(--teal) !important;
}

.text-leaf-green {
  color: var(--leaf-green) !important;
}

.bg-teal {
  background-color: var(--teal) !important;
}

.bg-leaf-green {
  background-color: var(--leaf-green) !important;
}

.btn-leaf-green {
  background-color: var(--leaf-green);
  border-color: var(--leaf-green);
  color: white;
  transition: all 0.3s ease;
}

.btn-leaf-green:hover {
  background-color: #5a8639;
  border-color: #5a8639;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(107, 155, 71, 0.3);
}

/* Navigation */
.navbar {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95) !important;
  transition: all 0.3s ease;
}

.navbar-brand span {
  font-size: 1.25rem;
}

.nav-link {
  font-weight: 500;
  color: var(--dark-gray) !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--leaf-green) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(44, 95, 93, 0.9) 0%, rgba(107, 155, 71, 0.8) 100%), 
              url('https://images.unsplash.com/photo-1559757148-5c350d0d3c56?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover;
  background-attachment: fixed;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%236B9B47" fill-opacity="0.05" points="0,0 1000,300 1000,1000 0,700"/></svg>');
  background-size: cover;
  z-index: -1;
}

.hero-content h1 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content .lead {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  font-weight: 400;
}

.hero-image-placeholder,
.feature-image-placeholder,
.about-image-placeholder {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(233, 236, 239, 0.95) 100%), 
              url('https://images.unsplash.com/photo-1559757175-0eb30cd8c063?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover;
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.hero-image-placeholder:hover,
.feature-image-placeholder:hover,
.about-image-placeholder:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.placeholder-content {
  opacity: 0.8;
  color: var(--teal);
}

/* Services Section */
.service-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%), 
              url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1f?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  backdrop-filter: blur(5px);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--leaf-green), #5a8639);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.service-card h4 {
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Features Section */
.feature-list {
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

#features {
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.95) 0%, rgba(233, 236, 239, 0.95) 100%), 
              url('https://images.unsplash.com/photo-1559757148-5c350d0d3c56?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover;
  background-attachment: fixed;
}

.feature-image-placeholder {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(233, 236, 239, 0.9) 100%), 
              url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover;
}

/* Gallery Section */
.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-placeholder {
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(233, 236, 239, 0.9) 100%);
  padding: 3rem 2rem;
  text-align: center;
  border: 2px dashed #dee2e6;
  border-radius: 15px;
  transition: all 0.3s ease;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.gallery-placeholder:hover {
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

/* Specific gallery backgrounds */
.gallery-item:nth-child(1) .gallery-placeholder {
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(233, 236, 239, 0.9) 100%), 
              url('https://images.unsplash.com/photo-1559757175-0eb30cd8c063?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover;
}

.gallery-item:nth-child(2) .gallery-placeholder {
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(233, 236, 239, 0.9) 100%), 
              url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1f?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover;
}

.gallery-item:nth-child(3) .gallery-placeholder {
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(233, 236, 239, 0.9) 100%), 
              url('https://images.unsplash.com/photo-1559757148-5c350d0d3c56?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover;
}

.gallery-item:nth-child(4) .gallery-placeholder {
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(233, 236, 239, 0.9) 100%), 
              url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover;
}

.gallery-item:nth-child(5) .gallery-placeholder {
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(233, 236, 239, 0.9) 100%), 
              url('https://images.unsplash.com/photo-1559757175-0eb30cd8c063?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover;
}

.gallery-item:nth-child(6) .gallery-placeholder {
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(233, 236, 239, 0.9) 100%), 
              url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1f?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover;
}

/* About Section */
#about {
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.95) 0%, rgba(233, 236, 239, 0.95) 100%), 
              url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover;
  background-attachment: fixed;
}

.about-image-placeholder {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(233, 236, 239, 0.9) 100%), 
              url('https://images.unsplash.com/photo-1582750433449-648ed127bb54?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover;
}

/* Contact Section */
.contact-info {
  padding: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-item i {
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.contact-item h5 {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-form {
  background: rgba(255, 255, 255, 0.95);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.form-control {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--leaf-green);
  box-shadow: 0 0 0 0.2rem rgba(107, 155, 71, 0.25);
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background-color: var(--teal) !important;
}

.social-links a {
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--leaf-green) !important;
  transform: translateY(-2px);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.animate {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.fade-in-up.animate {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.fade-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.fade-in-right.animate {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
    padding-top: 100px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .hero-image-placeholder,
  .feature-image-placeholder,
  .about-image-placeholder {
    padding: 2rem 1rem;
    margin-top: 2rem;
  }
  
  .contact-form {
    margin-top: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .gallery-placeholder {
    padding: 2rem 1rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover Effects */
.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--leaf-green);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #5a8639;
}
