:root {
  --primary: #16a34a;
  --primary-dark: #15803d;
  --secondary: #0f766e;
  --light: #f0fdf4;
  --dark: #102a24;
  --text: #475569;
  --white: #ffffff;
  --border: #dbeafe;
}

* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: var(--dark);
  background: #ffffff;
  line-height: 1.6;
  padding-top: 72px;
}

a {
  text-decoration: none;
}

.navbar-brand {
  color: var(--dark);
  font-size: 1.25rem;
}

.navbar-brand span {
  color: var(--primary);
}

.nav-link {
  font-weight: 600;
  color: var(--dark);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-btn {
  background: var(--primary);
  color: white;
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-weight: 700;
}

.nav-btn:hover {
  background: var(--primary-dark);
  color: white;
}

.hero-section {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, #f0fdf4, #ecfeff);
}

.hero-label {
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.hero-section h1 {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-text {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.primary-btn,
.secondary-btn {
  border-radius: 999px;
  padding: 0.8rem 1.3rem;
  font-weight: 800;
}

.primary-btn {
  background: var(--primary);
  color: white;
}

.primary-btn:hover {
  background: var(--primary-dark);
  color: white;
}

.secondary-btn {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.secondary-btn:hover {
  background: var(--light);
  color: var(--primary-dark);
}

.disclaimer-small {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text);
}

.hero-card {
  background: white;
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(15, 118, 110, 0.15);
}

.hero-card h3 {
  font-weight: 900;
  margin-bottom: 1rem;
}

.hero-card p {
  color: var(--text);
}

.hero-card a {
  color: var(--primary);
  font-weight: 800;
}

.ad-section {
  padding: 1.5rem 0;
}

.ad-box {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  color: #64748b;
  font-weight: 700;
}

.categories-section,
.featured-section,
.monetization-section,
.newsletter-section {
  padding: 3.5rem 0;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem;
}

.section-heading h2 {
  font-size: 1.8rem;
  font-weight: 900;
}

.section-heading p {
  color: var(--text);
}

.category-card {
  display: block;
  background: white;
  border: 1px solid #dcfce7;
  border-radius: 18px;
  padding: 1.2rem;
  text-align: center;
  color: var(--dark);
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.08);
  transition: 0.25s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  color: var(--primary);
}

.featured-section {
  background: #f8fafc;
}

.article-card,
.product-card {
  background: white;
  border-radius: 22px;
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.article-card span {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.85rem;
}

.article-card h3,
.product-card h3 {
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0.7rem 0;
}

.article-card p,
.product-card p {
  color: var(--text);
}

.article-card a {
  color: var(--primary);
  font-weight: 800;
}

.product-img {
  background: var(--light);
  border-radius: 18px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 1rem;
}

.product-btn {
  background: var(--secondary);
  color: white;
  border-radius: 999px;
  font-weight: 800;
  padding: 0.65rem 1rem;
}

.product-btn:hover {
  background: #115e59;
  color: white;
}

.newsletter-box {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 28px;
  padding: 2rem;
  text-align: center;
}

.newsletter-box h2 {
  font-weight: 900;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.newsletter-form input,
.newsletter-form button {
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1rem;
}

.newsletter-form input {
  width: 100%;
}

.newsletter-form button {
  background: var(--dark);
  color: white;
  font-weight: 800;
}

.site-footer {
  background: var(--dark);
  color: #d1fae5;
  padding: 2.5rem 0;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.footer-links a {
  color: white;
  font-weight: 700;
}

.copyright {
  font-size: 0.85rem;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .hero-section h1 {
    font-size: 3.4rem;
  }

  .hero-buttons {
    flex-direction: row;
  }

  .newsletter-form {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    flex-direction: row;
  }

  .newsletter-form input {
    flex: 1;
  }

  .newsletter-form button {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
/* index page to here */

.page-header {
  padding: 4rem 0 2.5rem;
  background: linear-gradient(135deg, #f0fdf4, #ecfeff);
  text-align: center;
}

.page-header h1 {
  font-weight: 900;
  font-size: 2.4rem;
}

.page-header p {
  color: var(--text);
  max-width: 720px;
  margin: 0 auto;
}

.content-section {
  padding: 3rem 0;
}

.content-card {
  background: white;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  margin-bottom: 1.5rem;
}

.content-card h2 {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.content-card p,
.content-card li {
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
}

.contact-form textarea {
  min-height: 160px;
}

.contact-form button {
  border: none;
  background: var(--primary);
  color: white;
  border-radius: 999px;
  padding: 0.8rem 1.4rem;
  font-weight: 800;
}

@media (min-width: 768px) {
  .page-header h1 {
    font-size: 3rem;
  }

  .content-card {
    padding: 2rem;
  }
}
/* Smart Health Tip Styles */
.related-links {
  justify-content: flex-start;
  text-align: left;
}

.related-links a {
  background: var(--light);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
}

.content-card ul {
  padding-left: 1.2rem;
}

.content-card strong {
  color: var(--dark);
}

/* for guides.html */
.article-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.article-card-link:hover .article-card {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.read-more {
  color: var(--primary);
  font-weight: 800;
}

/* ballance exercices */
.exercise-card {
      background: white;
      border-radius: 22px;
      padding: 1.5rem;
      height: 100%;
      box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    }

    .pose-avatar {
      width: 120px;
      height: 150px;
      display: block;
      margin: 0 auto 1rem;
      stroke: #16a34a;
      stroke-width: 6;
      stroke-linecap: round;
      stroke-linejoin: round;
      fill: none;
    }

    .pose-avatar circle {
      fill: none;
    }

    .exercise-card h3 {
      font-size: 1.2rem;
      font-weight: 900;
      margin-bottom: 0.7rem;
    }

    .exercise-card p,
    .exercise-card li {
      color: var(--text);
    }

    .exercise-card ul {
      padding-left: 1.1rem;
      margin-bottom: 0;
    }

    .safety-note {
      background: #f0fdf4;
      border-left: 5px solid #16a34a;
    }