:root {
  --primary-green: #22c55e;
  --dark-bg: #1f2937;
  --light-bg: #f9fafb;
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --border-light: #e5e7eb;
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
}

.navbar {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s ease;
}

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

.btn-success {
  background-color: var(--primary-green) !important;
  border-color: var(--primary-green) !important;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-success:hover {
  background-color: #16a34a !important;
  border-color: #16a34a !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(34, 197, 94, 0.2);
}

.btn-outline-success {
  color: var(--primary-green) !important;
  border-color: var(--primary-green) !important;
  font-weight: 600;
}

.btn-outline-success:hover {
  background-color: var(--primary-green) !important;
  border-color: var(--primary-green) !important;
}

.hero-section {
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  padding: 5rem 0 !important;
}

.hero-section h1 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.hero-section .lead {
  font-size: 1.1rem;
  line-height: 1.8;
}

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

.card {
  border-radius: 12px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1) !important;
}

.card img {
  border-radius: 12px 12px 0 0;
  object-fit: cover;
  height: 200px;
}

.form-control {
  border-radius: 8px;
  border: 1px solid var(--border-light);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-green) !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1) !important;
}

.page-header {
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-light);
}

.page-header h1 {
  color: var(--text-dark);
}

.page-header .lead {
  color: var(--text-muted);
}

.testimonials {
  background-color: var(--light-bg);
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-green) 0%, #16a34a 100%);
}

.cta-section h2 {
  font-size: 2rem;
}

footer {
  background-color: var(--dark-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-green) !important;
}

.text-success {
  color: var(--primary-green) !important;
}

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

.text-muted {
  color: var(--text-muted) !important;
}

.shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.shadow-sm:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.alert-warning {
  background-color: #fef08a;
  border-color: #fcd34d;
  color: #92400e;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0 !important;
  }

  .hero-section h1 {
    font-size: 1.75rem;
  }

  .display-4 {
    font-size: 2rem;
  }

  .services-full .col-md-6 {
    margin-bottom: 2rem;
  }

  .page-header h1 {
    font-size: 1.75rem;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  footer {
    padding-top: 2rem !important;
  }

  footer .col-md-3 {
    margin-bottom: 1.5rem;
  }
}

.container {
  max-width: 1140px;
}

.text-balance {
  text-wrap: balance;
}

.rounded {
  border-radius: 12px;
}

.nav-link.active {
  color: var(--primary-green) !important;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}
