/* 
  Global Enviro Custom Styles
  Primary Colors:
  Green: #0f9d58, #008040
  Earth Tone: #6c7a89
  Dark: #1a1a1a
  Light: #f4f7f6
*/

:root {
  --primary-color: #008040;
  --primary-hover: #006030;
  --secondary-color: #0f9d58;
  --accent-color: #f1c40f;
  --dark-color: #1a1a1a;
  --light-color: #f4f7f6;
  --text-color: #4a4a4a;
  --text-heading: #2c3e50;
  --transition: all 0.3s ease-in-out;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-heading);
  font-weight: 700;
}

/* Utilities */
.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-dark {
  background-color: var(--dark-color) !important;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 128, 64, 0.3);
}

.hover-lift {
  transition: var(--transition);
}
.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.hover-white:hover {
  color: #fff !important;
}

/* Topbar */
.topbar {
  background-color: var(--dark-color);
  font-size: 0.85rem;
}

/* Header & Navbar */
#header {
  transition: var(--transition);
}

#header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important;
}

.navbar-brand h2 {
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-link {
  color: var(--text-heading);
  position: relative;
  transition: var(--transition);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeUp 0.3s ease forwards;
  }
}

.dropdown-menu {
  border-radius: 8px;
  padding: 0.5rem 0;
}

.dropdown-item {
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: rgba(0, 128, 64, 0.05);
  color: var(--primary-color);
  padding-left: 1.8rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 85vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-section {
    height: auto;
    padding: 100px 0;
    background-attachment: scroll;
  }
}

/* Page Banner */
.page-banner {
  padding: 80px 0;
  background-color: var(--dark-color);
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

/* Section Padding */
.section-padding {
  padding: 80px 0;
}

/* Section Titles */
.section-title {
  position: relative;
  margin-bottom: 50px;
}

.section-title .subtitle {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 10px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0;
}

/* Feature/Service Cards */
.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  border-bottom-color: var(--primary-color);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(0, 128, 64, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border-radius: 50%;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary-color);
  color: #fff;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.read-more i {
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--primary-hover);
}

.read-more:hover i {
  transform: translateX(5px);
}

/* Image wrappers with hover effect */
.img-wrapper {
  overflow: hidden;
  border-radius: 12px;
  position: relative;
}

.img-wrapper img {
  transition: transform 0.5s ease;
  width: 100%;
}

.img-wrapper:hover img {
  transform: scale(1.05);
}

/* Counters */
.counter-box {
  text-align: center;
  padding: 30px;
}

.counter-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  font-family: 'Outfit', sans-serif;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.counter-number span {
  font-size: 2.5rem;
}

.counter-text {
  font-weight: 600;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Footer */
.footer-links a {
  transition: var(--transition);
}
.footer-links a:hover {
  padding-left: 5px;
}

/* Floating WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  background-color: #128C7E;
  color: white;
  transform: scale(1.1);
}

/* Scroll To Top */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: var(--dark-color);
  color: white;
  border-radius: 8px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Forms */
.form-control {
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(0, 128, 64, 0.1);
}
