html {
    scroll-behavior: smooth;
}

/* Brand Gradients */
.hero-gradient {
    background: linear-gradient(135deg, #15592a 0%, #1a7431 100%);
}
.testimonial-gradient {
    background: linear-gradient(135deg, #006d7a 0%, #00a4b4 100%);
}

/* Brand Colors */
.bg-kea-green {
    background-color: #15592a;
}
.bg-kea-teal {
    background-color: #006d7a;
}
.text-kea-green {
    color: #15592a;
}
.text-kea-teal {
    color: #006d7a;
}
.border-kea-green {
    border-color: #1a7431;
}
.border-kea-teal {
    border-color: #00a4b4;
}

/* Hover States */
.hover\:bg-kea-green:hover {
    background-color: #1a7431;
}
.hover\:bg-kea-teal:hover {
    background-color: #00a4b4;
}
.hover\:text-kea-green:hover {
    color: #1a7431;
}
.hover\:text-kea-teal:hover {
    color: #00a4b4;
}

/* Brand Text Colors */
.text-kea-light {
    color: #e2f3e4;
}
.text-kea-dark {
    color: #1a2e1c;
}

/* Additional Brand Backgrounds */
.bg-kea-light {
    background-color: #e2f3e4;
}
.bg-kea-dark {
    background-color: #1a2e1c;
}

/* Additional Text Color Variants */
.text-kea-dark-soft {
    color: #2d4430;
}
.text-kea-green-dark {
    color: #15592a;
}
.text-kea-teal-dark {
    color: #006d7a;
}

/* Additional Background Colors */
.bg-kea-light-soft {
    background-color: #f8f9fa;  /* More neutral light background */
}
.bg-kea-teal-light {
    background-color: #f0f7f8;  /* Softer teal background */
}

/* Focus and Active States */
.focus\:text-kea-green:focus {
    color: #1a7431;
}
.active\:text-kea-green:active {
    color: #1a7431;
}

:root {
    --kea-green: #1a7431;
    --kea-green-dark: #156129;
    --kea-teal: #00a4b4;
    --kea-teal-light: #e6f7f8;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --red-600: #dc2626;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    color: var(--gray-700);
    background-color: #fff;
    margin: 0;
    padding: 0;
}

.roi-calculator {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--gray-200);
    max-width: 800px;
    margin: 2rem auto;
}

/* Typography */
h2 {
    color: var(--kea-green-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.slider-label {
    font-weight: 500;
    color: var(--gray-700);
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.slider-value {
    color: var(--kea-teal);
    font-weight: 700;
}

.hours-display {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Slider styles */
.slider-container {
    margin-bottom: 1.5rem;
}

input[type="range"] {
    width: 100%;
    height: 0.5rem;
    background-color: var(--gray-200);
    border-radius: 9999px;
    appearance: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    background-color: var(--kea-teal, #00a4b4);
    border-radius: 9999px;
    cursor: pointer;
  }
  
  input[type="range"]::-moz-range-thumb {
    width: 1.25rem;
    height: 1.25rem;
    background-color: var(--kea-teal, #00a4b4);
    border-radius: 9999px;
    cursor: pointer;
    border: none;
  }

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.error-message {
    color: var(--red-600);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Results section */
.results-container {
    background-color: var(--gray-50);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.results-summary {
    text-align: center;
    margin-bottom: 1rem;
}

.results-title {
    color: var(--gray-700);
    font-size: 1.125rem;
    font-weight: 500;
}

.monthly-savings {
    color: var(--kea-green-dark);
    font-size: 2rem;
    font-weight: 700;
}

.annual-savings {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.results-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .results-details {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.result-card {
    background-color: white;
    padding: 1rem;
    border-radius: 0.25rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-200);
}

.result-card h4 {
    color: var(--gray-700);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.result-card .value {
    font-size: 1.25rem;
    font-weight: 700;
}

.result-card .current-cost {
    color: var(--red-600);
}

.result-card .automation-cost {
    color: var(--kea-green-dark);
}

.result-card .roi {
    color: var(--kea-teal);
}

.result-card .description {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Time saving summary */
.time-saving-summary {
    background-color: var(--kea-teal-light);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #b2e8ed;
    text-align: center;
}

/* Enhanced Hero Gradient with Texture */
.hero-gradient {
    background: linear-gradient(135deg, #15592a 0%, #1a7431 100%);
    position: relative;
    overflow: hidden;
}

/* Add subtle texture pattern overlay */
.hero-gradient::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: 1;
}

/* Add subtle diagonal lines */
.hero-gradient::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.05) 75%, transparent 75%, transparent);
    background-size: 100px 100px;
    opacity: 0.2;
    z-index: 1;
}

/* Ensure content stays above the background effects */
.hero-gradient > * {
    position: relative;
    z-index: 2;
}

/* Add a subtle background animation */
@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-gradient {
    background-size: 200% 200%;
    animation: gradientAnimation 15s ease infinite;
}

/* Optional: Add a subtle glow effect around the content */
.hero-content {
    position: relative;
}

.hero-content::before {
    content: "";
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    pointer-events: none;
}