:root {
  --primary-green: #2d5a3d;
  --light-green: #4a7c59;
  --accent-green: #6fa876;
  --background: #f8f9f7;
  --surface: #ffffff;
  --text-dark: #1a1a1a;
  --text-light: #555555;
  --border-light: #e0e0e0;
  --radius: 8px;
}

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

html,
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif;
  background-color: var(--background);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header.navbar-wrapper {
  background-color: var(--surface);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark) !important;
}

.brand-logo {
  background: var(--primary-green);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-size: 1.2rem;
  font-weight: 700;
}

.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  margin-left: 2rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.btn {
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

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

.btn-primary:hover {
  background-color: var(--light-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 90, 61, 0.3);
  color: white;
}

.btn-primary:active {
  transform: translateY(0);
}

.hero {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
  color: white;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.hero-image {
  flex: 1;
  max-width: 500px;
  border-radius: 20px;
  object-fit: cover;
  height: 400px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.bmi-calculator {
  background-color: var(--surface);
  padding: 60px 20px;
  margin: 40px 0;
}

.bmi-calculator h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--primary-green);
}

.calculator-form {
  max-width: 500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.calculator-form .form-group {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.1);
}

.calculator-form button {
  grid-column: 1 / -1;
  margin-top: 10px;
}

.bmi-result {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  background-color: var(--background);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary-green);
}

.bmi-result p {
  font-size: 1.2rem;
  margin: 10px 0;
}

.services-preview,
.testimonials,
.why-choose-us {
  padding: 80px 20px;
}

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

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

.why-choose-us {
  background-color: var(--surface);
}

h2 {
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: 50px;
  text-align: center;
}

.services-grid,
.testimonials-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.service-card {
  background-color: var(--background);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.service-card h3 {
  font-size: 1.3rem;
  color: var(--primary-green);
  padding: 20px 20px 10px;
  margin: 0;
}

.service-card p {
  padding: 0 20px 20px;
  color: var(--text-light);
}

.services-preview > .container > a {
  display: block;
  text-align: center;
  margin-top: 30px;
}

.testimonial {
  background-color: var(--surface);
  padding: 30px;
  border-radius: var(--radius);
  border-left: 4px solid var(--accent-green);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.testimonial strong {
  color: var(--primary-green);
  font-weight: 600;
}

.feature {
  background-color: var(--background);
  padding: 30px;
  border-radius: var(--radius);
  text-align: center;
  border-top: 4px solid var(--accent-green);
}

.feature h3 {
  color: var(--primary-green);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

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

.cta-section {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.cta-section h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

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

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.95;
}

.about-content,
.services-detailed,
.contact-section,
.policy-section,
.thank-you-section {
  padding: 60px 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.about-text h2,
.services-detailed h2 {
  text-align: left;
  margin-top: 0;
}

.about-image img,
.service-detail-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.8;
}

.our-approach {
  margin-top: 80px;
  margin-bottom: 60px;
}

.our-approach h2 {
  text-align: center;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.approach-item {
  background-color: var(--background);
  padding: 30px;
  border-radius: var(--radius);
  border-top: 4px solid var(--accent-green);
  text-align: center;
}

.approach-item h3 {
  color: var(--primary-green);
  margin-bottom: 15px;
}

.approach-item p {
  color: var(--text-light);
  line-height: 1.8;
}

.certifications {
  background-color: var(--background);
  padding: 40px;
  border-radius: var(--radius);
  margin-top: 60px;
}

.certifications h2 {
  text-align: left;
  margin: 0 0 30px 0;
}

.certifications-list p {
  color: var(--text-dark);
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 500;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
}

.service-detail:nth-child(even) {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-text h2 {
  text-align: left;
  margin-top: 0;
}

.service-detail-text h4 {
  color: var(--primary-green);
  margin-top: 20px;
  margin-bottom: 12px;
}

.service-detail-text ul {
  list-style: none;
  padding: 0;
}

.service-detail-text li {
  color: var(--text-light);
  padding: 8px 0 8px 25px;
  position: relative;
}

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

.service-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
  color: white;
  padding: 60px 40px;
  border-radius: var(--radius);
  margin-top: 80px;
}

.service-cta h2 {
  color: white;
  margin-bottom: 15px;
}

.service-cta p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2,
.contact-form h2 {
  text-align: left;
  margin-bottom: 30px;
}

.info-item {
  margin-bottom: 30px;
}

.info-item h4 {
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 10px;
}

.info-item p {
  color: var(--text-light);
}

.info-item a {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.info-item a:hover {
  color: var(--light-green);
}

.contact-form {
  background-color: var(--background);
  padding: 40px;
  border-radius: var(--radius);
}

.form-check {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.form-check-input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.form-check-input:checked {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
}

.form-check-input:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(45, 90, 61, 0.25);
}

.form-check-label {
  margin-left: 10px;
  color: var(--text-dark);
}

.form-check-label a {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 500;
}

.form-check-label a:hover {
  text-decoration: underline;
}

.policy-content h2 {
  text-align: left;
  font-size: 1.5rem;
  color: var(--primary-green);
  margin-top: 40px;
  margin-bottom: 15px;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p,
.policy-content li {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 12px;
}

.policy-content ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.policy-content ul li {
  margin-bottom: 8px;
}

.last-updated {
  color: var(--text-light);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 30px;
}

.thank-you-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--surface);
  padding: 60px 40px;
  border-radius: var(--radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.thank-you-content h1 {
  color: var(--primary-green);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.thank-you-content p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.thank-you-details {
  background-color: var(--background);
  padding: 30px;
  border-radius: var(--radius);
  margin: 30px 0;
  text-align: left;
}

.thank-you-details h3 {
  color: var(--primary-green);
  margin-bottom: 20px;
  text-align: center;
}

.thank-you-details ol {
  color: var(--text-light);
  margin-left: 20px;
}

.thank-you-details li {
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer {
  background-color: var(--text-dark);
  color: white;
  padding: 60px 20px 30px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--accent-green);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  font-size: 0.95rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent-green);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-image {
    max-width: 100%;
    height: 300px;
  }

  .calculator-form {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .service-detail,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

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

  .services-grid,
  .testimonials-grid,
  .features-grid,
  .approach-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  body {
    font-size: 0.95rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

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

  .services-preview,
  .testimonials,
  .why-choose-us,
  .about-content,
  .services-detailed,
  .contact-section,
  .policy-section,
  .thank-you-section {
    padding: 40px 15px;
  }

  .container {
    padding: 0 15px;
  }

  .thank-you-content {
    padding: 40px 20px;
  }
}
