:root {
  --primary-green: #2d8659;
  --light-green: #4fb383;
  --dark-bg: #1a1a1a;
  --light-bg: #f8f9fa;
  --text-dark: #333333;
  --text-light: #666666;
  --border-color: #e0e0e0;
}

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

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

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.5rem;
  color: var(--primary-green) !important;
  letter-spacing: 0.5px;
}

.nav-link {
  color: var(--text-dark) !important;
  margin-left: 1rem;
  transition: color 0.3s ease;
}

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

.hero {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
  color: white;
  padding: 120px 0;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.6;
}

.btn-primary {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #1f5c3d;
  border-color: #1f5c3d;
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: var(--primary-green);
  border-color: var(--primary-green);
  padding: 0.75rem 2rem;
  font-weight: 600;
}

.btn-outline-primary:hover {
  background-color: var(--primary-green);
  color: white;
}

.page-header {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
  color: white;
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.service-card {
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-card img {
  height: 250px;
  object-fit: cover;
}

.service-card .card-title {
  color: var(--primary-green);
  font-weight: 600;
  margin-top: 1rem;
}

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

.services-preview h2 {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 2rem;
}

.bmi-calculator {
  padding: 60px 0;
}

.bmi-calculator h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--primary-green);
}

.bmi-calculator input {
  border: 2px solid var(--border-color);
  padding: 0.75rem;
}

.bmi-calculator input:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(45, 134, 89, 0.25);
}

#bmiResult {
  background: var(--light-green);
  color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
}

#bmiResult h4 {
  font-weight: 700;
}

.testimonials {
  padding: 60px 0;
  background-color: var(--light-bg);
}

.testimonials h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-left: 4px solid var(--primary-green);
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  min-height: 200px;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.feature-box {
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  border-top: 3px solid var(--primary-green);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
  margin-bottom: 1.5rem;
}

.feature-box h4 {
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-box p {
  color: var(--text-light);
  line-height: 1.6;
}

.services-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.services-content img {
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  color: var(--text-light);
  position: relative;
}

.service-features li:before {
  content: "✓";
  color: var(--primary-green);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.team-member {
  text-align: center;
}

.team-member h5 {
  color: var(--text-dark);
  font-weight: 700;
  margin-top: 1rem;
}

.team-member .text-muted {
  color: var(--light-green);
}

.contact-content {
  padding: 60px 0;
}

.contact-info {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 0.5rem;
  border-top: 3px solid var(--primary-green);
}

.contact-info h5 {
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-info a {
  color: var(--primary-green);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-content form {
  background: white;
  padding: 2.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-content label {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-content .form-control {
  border: 2px solid var(--border-color);
  padding: 0.75rem;
  border-radius: 0.25rem;
}

.contact-content .form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(45, 134, 89, 0.25);
}

.custom-control-label {
  color: var(--text-light);
}

.custom-control-label a {
  color: var(--primary-green);
  text-decoration: none;
}

.custom-control-label a:hover {
  text-decoration: underline;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
}

.thank-you {
  padding: 100px 0;
  text-align: center;
  background: var(--light-bg);
  min-height: 500px;
  display: flex;
  align-items: center;
}

.thank-you h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.thank-you p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.policy-content {
  padding: 60px 0;
  max-width: 900px;
  margin: 0 auto;
}

.policy-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.policy-content h3 {
  color: var(--primary-green);
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-content h4 {
  color: var(--text-dark);
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.policy-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.policy-content ul {
  color: var(--text-light);
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.policy-content ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.policy-content a {
  color: var(--primary-green);
  text-decoration: none;
}

.policy-content a:hover {
  text-decoration: underline;
}

.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.cta-section .lead {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.footer {
  background-color: var(--dark-bg);
  padding: 40px 0 20px;
  margin-top: auto;
}

.footer h6 {
  font-weight: 700;
  color: var(--light-green);
  margin-bottom: 1rem;
}

.footer p {
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-link {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--light-green);
}

.footer hr {
  border-top: 1px solid #444444;
  margin: 20px 0;
}

.footer .small {
  color: #999999;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero {
    padding: 60px 0;
    min-height: 400px;
  }

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

  .services-preview h2 {
    font-size: 1.5rem;
  }

  .policy-content h1 {
    font-size: 1.8rem;
  }

  .thank-you h1 {
    font-size: 1.8rem;
  }

  .nav-link {
    margin-left: 0;
    padding: 0.5rem 0;
  }

  .contact-info {
    margin-bottom: 1.5rem;
  }

  .footer .text-md-right {
    text-align: left !important;
    margin-top: 1.5rem;
  }

  .footer ul.d-inline-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer ul li {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .btn-primary,
  .btn-outline-primary {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
  }

  .service-card img {
    height: 180px;
  }
}
