:root {
  --color-primary: #1B4332;
  --color-secondary: #2D6A4F;
  --color-accent: #40C057;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* Button Fixes */
button, .btn, [class*="btn-"], a[href="#consultation_form"] {
  white-space: nowrap;
  min-width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

form button[type="submit"] {
  white-space: normal;
  width: 100%;
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ Animations */
.rotate-180 {
  transform: rotate(180deg);
}

/* Decorative Elements */
.decor-grid-dots {
  background-image: radial-gradient(circle, currentColor 1px, transparent 1px);
  background-size: 20px 20px;
}

.decor-grid-lines {
  background-image: linear-gradient(currentColor 1px, transparent 1px),
                    linear-gradient(90deg, currentColor 1px, transparent 1px);
  background-size: 20px 20px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(45deg, 
    transparent, transparent 10px, currentColor 10px, currentColor 11px);
}

.decor-mesh {
  background: radial-gradient(ellipse 200% 100% at 50% 0%, 
    rgba(64, 192, 87, 0.1) 0%, transparent 50%);
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
  opacity: 0.1;
  filter: blur(60px);
  pointer-events: none;
}

.decor-corner-tr::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(-45deg, var(--color-accent), transparent);
  opacity: 0.1;
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, var(--color-accent), transparent);
  opacity: 0.1;
}

.decor-glow-element::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  border-radius: inherit;
  opacity: 0.1;
  filter: blur(20px);
  z-index: -1;
}

.decor-rings-svg {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2340C057' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='10'/%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3Ccircle cx='30' cy='30' r='30'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Intensity Modifiers */
.decor-subtle {
  opacity: 0.05;
}

.decor-moderate {
  opacity: 0.1;
}

.decor-bold {
  opacity: 0.2;
}

/* Form Enhancements */
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  ring-color: var(--color-accent);
}

/* Consultation Form Styling */
#consultation-form {
  max-width: 100%;
}

#consultation-form input,
#consultation-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

#consultation-form button[type="submit"] {
  background-color: var(--color-accent);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 1rem;
  font-weight: 600;
  transition: background-color 0.2s;
}

#consultation-form button[type="submit"]:hover {
  background-color: rgba(64, 192, 87, 0.9);
}

/* Loading State */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .decor-gradient-blur::before {
    filter: blur(40px);
  }
  
  [data-animate] {
    transform: translateY(10px);
  }
}