:root {
  --primary-color: #7c3aed;
  --primary-dark: #6d28d9;
  --secondary-color: #a78bfa;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --white: #ffffff;
  --border-color: #e5e7eb;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

.navbar-brand {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.navbar-brand:hover {
  color: var(--primary-dark);
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

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

.hero-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-text {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 12px 32px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
  padding: 12px 32px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

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

.bmi-calculator {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.bmi-calculator h2 {
  color: var(--text-dark);
  font-weight: 700;
}

.form-control {
  border-radius: 8px;
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(124, 58, 237, 0.15);
}

.service-card,
.testimonial-card,
.team-card,
.cert-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover,
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.service-card h3,
.team-card h3 {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-card p,
.team-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

.testimonial-card {
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.testimonial-author {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.testimonial-author strong {
  display: block;
  color: var(--text-dark);
}

.testimonial-author span {
  color: var(--text-light);
  font-size: 0.9rem;
}

.team-role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
}

.footer {
  background-color: #1f2937;
  color: var(--white);
}

.footer h5 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

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

.footer a:hover {
  color: var(--white);
}

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

.page-header {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

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

.about-content p,
.services-detail p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.about-content ul,
.services-detail ul {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.contact-info-box {
  background: var(--bg-light);
  padding: 40px;
  border-radius: 12px;
}

.contact-item h5 {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--text-light);
  margin-bottom: 0;
}

.faq-item h5 {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: var(--text-light);
  margin-bottom: 0;
}

.thank-you-content {
  padding: 60px 40px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.step-box {
  background: var(--bg-light);
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
}

.step-box h4 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-box p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.policy-section {
  background: var(--white);
}

.policy-content h2 {
  color: var(--text-dark);
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

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

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

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

#bmiResult {
  padding: 20px;
  border-radius: 8px;
  background: var(--bg-light);
  display: none;
}

#bmiResult.show {
  display: block;
}

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

.cert-card {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.cert-card h3 {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cert-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

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

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

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

  .bmi-calculator {
    padding: 30px 20px;
  }

  .btn-lg {
    padding: 10px 24px;
    font-size: 1rem;
  }
}
