:root {
  --primary-color: #2d7a4d;
  --primary-dark: #1f5638;
  --primary-light: #3d9a63;
  --accent-color: #f7941d;
  --text-dark: #2c3e50;
  --section-padding: 80px;
  --border-radius: 12px;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Typography */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.display-1, .display-2, .display-3, .display-4 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* AI Image Placeholder */
ai-img {
  display: block;
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  position: relative;
  overflow: hidden;
}
ai-img::before {
  content: attr(alt);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #6c757d;
  font-size: 12px;
  text-align: center;
  padding: 1rem;
  width: 80%;
}
ai-img::after {
  content: '📷';
  position: absolute;
  top: 10px;
  right: 10px;
  opacity: 0.3;
  font-size: 24px;
}
ai-img.rounded-circle { border-radius: 50%; }
ai-img.card-img-top { border-radius: var(--border-radius) var(--border-radius) 0 0; }

/* Layout & Sections */
section {
  
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.section-title.text-start::after {
  left: 0;
  transform: none;
}

/* Cards */
.card {
  transition: var(--transition);
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-body {
  padding: 1.5rem;
}

.card-img-top {
  height: 240px;
  object-fit: cover;
}

/* Navigation */
.navbar {
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
  position: relative;
}

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

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

/* Promo Bar */
.promo-bar {
  background: linear-gradient(135deg, var(--accent-color) 0%, #e67e10 100%) !important;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.promo-bar::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(10%); }
}

/* Buttons */
.btn {
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  box-shadow: 0 4px 12px rgba(45, 122, 77, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  box-shadow: 0 6px 20px rgba(45, 122, 77, 0.4);
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  background: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-section ai-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-section::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(45, 122, 77, 0.85) 0%, rgba(31, 86, 56, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: absolute;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Stats Section */
.stats-card {
  text-align: center;
  padding: 2rem 1rem;
  transition: var(--transition);
  border-radius: var(--border-radius);
}

.stats-card:hover {
  background-color: rgba(45, 122, 77, 0.05);
  transform: scale(1.05);
}

.stats-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Testimonials */
.testimonial-card {
  border-left: 4px solid var(--primary-color);
  background: white;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 80px;
  color: var(--primary-light);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

/* Author Card */
.author-card {
  border-left: 4px solid var(--primary-color);
  background: white;
}

/* Color Overrides */
.bg-primary { background-color: var(--primary-color) !important; }
.text-primary { color: var(--primary-color) !important; }
.border-primary { border-color: var(--primary-color) !important; }

/* Floating Buttons */
.floating-buttons {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.floating-buttons .btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.floating-buttons .btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

#backToTop {
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

footer a {
  transition: var(--transition);
}

footer a:hover {
  color: var(--accent-color) !important;
  padding-left: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  :root {
    --section-padding: 48px;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .stats-number {
    font-size: 2.5rem;
  }

  .floating-buttons {
    bottom: 1rem;
    right: 1rem;
  }

  .floating-buttons .btn {
    width: 48px;
    height: 48px;
  }
}
