/* ==========================================================================
   Base & Reset
   ========================================================================== */
:root {
  /* Brand Colors */
  --color-primary: #006940;
  --color-primary-light: #008c56;
  --color-primary-dark: #004d2e;
  
  /* Accent Colors (High Conversion) */
  --color-accent: #ff9d00;
  --color-accent-hover: #ff7b00;

  /* Neutral Colors */
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-light);
}

ul {
  list-style: none;
}

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

/* ==========================================================================
   Utilities & Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-24) 0;
}

.section-light {
  background-color: var(--color-surface);
}

.section-dark {
  background-color: var(--color-primary);
  color: white;
}

.section-dark h2, .section-dark p {
  color: white;
}

.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.font-bold { font-weight: 700; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-8 { gap: var(--space-8); }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(0, 105, 64, 0.39);
}

.btn-primary:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 6px 20px rgba(0, 105, 64, 0.23);
}

.btn-accent {
  background-color: var(--color-accent);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(255, 157, 0, 0.39);
}

.btn-accent:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 6px 20px rgba(255, 157, 0, 0.23);
}

.btn-pulse {
  animation: pulse-shadow 2s infinite;
}

@keyframes pulse-shadow {
  0% { box-shadow: 0 0 0 0 rgba(255, 157, 0, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(255, 157, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 157, 0, 0); }
}

/* ==========================================================================
   Header (Sticky & Navigation)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-4) 0;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 90px; /* Increased from 65px for a larger logo */
  transition: transform var(--transition-fast);
}

.logo:hover img {
  transform: scale(1.02);
}

.main-nav {
  display: none; /* Hidden on mobile */
}

@media (min-width: 992px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-8);
  }
}

.nav-link {
  color: var(--color-text);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
}

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

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

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 8rem 0;
  background-color: var(--color-primary-dark);
  color: white;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 77, 46, 0.9) 0%, rgba(0, 105, 64, 0.4) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 650px;
  animation: fadeInUp 1s ease-out forwards;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  color: white;
  margin-bottom: var(--space-6);
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.25rem;
  color: #e2e8f0;
  margin-bottom: var(--space-8);
  font-weight: 500;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Trust Badges
   ========================================================================== */
.trust-bar {
  background-color: var(--color-surface);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 20;
  margin-top: -2px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
}

.trust-icon {
  background: rgba(0, 105, 64, 0.1);
  color: var(--color-primary);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
}

.trust-item h4 {
  margin-bottom: 0;
  font-size: 1.125rem;
}

.trust-item p {
  margin-bottom: 0;
  font-size: 0.875rem;
}

/* ==========================================================================
   Services Section (Glassmorphism & Cards)
   ========================================================================== */
.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-16);
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--color-text);
}

.section-title p {
  font-size: 1.125rem;
}

.service-card {
  background-color: var(--color-surface);
  border-radius: 16px;
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,0.5);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 2rem;
  margin-bottom: var(--space-6);
  box-shadow: 0 10px 15px -3px rgba(0, 105, 64, 0.3);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
}

.service-card p {
  flex-grow: 1;
  margin-bottom: var(--space-6);
}

.service-link {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: auto;
}

.service-link svg {
  width: 20px;
  height: 20px;
  margin-left: 8px;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link svg {
  transform: translateX(5px);
}

/* ==========================================================================
   Split Section (About/Why)
   ========================================================================== */
.split-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

@media (min-width: 992px) {
  .split-wrap {
    flex-direction: row;
    align-items: center;
  }
}

.split-content {
  flex: 1;
}

.split-image {
  flex: 1;
  position: relative;
}

.split-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.split-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 70%;
  height: 70%;
  background-color: var(--color-primary);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.1;
}

.check-list {
  margin-bottom: var(--space-8);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-4);
  font-size: 1.125rem;
  color: var(--color-text);
  font-weight: 500;
}

.check-list li svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  margin-right: var(--space-4);
  margin-top: 2px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: var(--space-16) 0 var(--space-8);
}

.footer h3 {
  color: white;
  margin-bottom: var(--space-6);
}

.footer-grid {
  display: grid;
  gap: var(--space-12);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.footer-contact li {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-4);
}

.footer-contact li svg {
  width: 20px;
  height: 20px;
  margin-right: var(--space-4);
  color: var(--color-primary-light);
}

.footer-bottom {
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.875rem;
}

/* ==========================================================================
   Mobile Sticky Call Button (PPC Crucial)
   ========================================================================== */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-accent);
  padding: 1rem;
  z-index: 100;
  text-align: center;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
}

.mobile-sticky-cta a {
  color: white;
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 767px) {
  .mobile-sticky-cta {
    display: block;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .header .btn {
    display: none; /* Hide header button on mobile to save space */
  }
  body {
    padding-bottom: 70px; /* Space for sticky CTA */
  }
}
