:root {
  --primary-color: #2c5282; /* Deep trustworthy blue for health */
  --secondary-color: #38a169; /* Health/Nature green */
  --accent-color: #e53e3e; /* Alert/Energy red for CTA */
  --text-color: #2d3748;
  --bg-color: #f0f4f8; /* Soft blue-gray background */
  --white: #ffffff;
  --transition-speed: 0.3s;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.05); }
  28% { transform: scale(1); }
  42% { transform: scale(1.05); }
  70% { transform: scale(1); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

header {
  background-color: var(--white);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 4px solid var(--secondary-color);
  animation: fadeIn 0.6s ease-out;
}

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

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--secondary-color);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  transition: color var(--transition-speed);
  font-size: 1.05rem;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.btn, .cta-button {
  display: inline-block;
  background: var(--accent-color);
  color: var(--white) !important;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(229, 62, 62, 0.3);
}

.btn:hover, .cta-button:hover {
  background: #c53030;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(229, 62, 62, 0.4);
}

.btn-heartbeat {
  animation: heartbeat 2.5s infinite;
}

main {
  padding: 60px 0;
}

.hero {
  text-align: center;
  padding: 80px 20px;
  background: var(--white);
  border-radius: 16px;
  margin-bottom: 60px;
  animation: slideUpFade 0.8s ease-out forwards;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.hero h1 {
  font-size: 3.2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
  color: #4a5568;
}

article {
  background: var(--white);
  padding: 60px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
  animation: slideUpFade 0.8s ease-out 0.2s forwards;
  opacity: 0;
  border-top: 5px solid var(--primary-color);
}

h1, h2, h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  margin-top: 40px;
  font-weight: 800;
}

h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-top: 0;
  padding-bottom: 15px;
  border-bottom: 2px solid #edf2f7;
}

h2 {
  font-size: 2.1rem;
  display: flex;
  align-items: center;
}

h2::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  margin-right: 15px;
}

h3 {
  font-size: 1.6rem;
  color: #2b6cb0;
}

p {
  margin-bottom: 22px;
  font-size: 1.15rem;
  color: #4a5568;
}

ul {
  margin-bottom: 25px;
  padding-left: 25px;
}

li {
  margin-bottom: 12px;
  font-size: 1.15rem;
  color: #4a5568;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.blog-card {
  background: var(--white);
  border-radius: 12px;
  padding: 35px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e2e8f0;
  opacity: 0;
  animation: slideInRight 0.6s ease-out forwards;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }
.blog-card:nth-child(5) { animation-delay: 0.5s; }

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
  border-color: #bee3f8;
}

.blog-card h3 {
  margin-top: 0;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--primary-color);
}

.blog-card p {
  font-size: 1.05rem;
  color: #718096;
  margin-bottom: 25px;
}

.read-more {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: color var(--transition-speed);
}

.read-more:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.related-posts {
  margin-top: 60px;
  padding-top: 40px;
  background-color: #f7fafc;
  padding: 40px;
  border-radius: 12px;
  border-left: 5px solid var(--primary-color);
}

.related-posts h3 {
  margin-top: 0;
}

.cta-section {
  background: var(--primary-color);
  padding: 60px;
  text-align: center;
  border-radius: 16px;
  margin: 60px 0;
  color: var(--white);
  box-shadow: 0 10px 25px rgba(44, 82, 130, 0.3);
}

.cta-section h2 {
  margin-top: 0;
  color: var(--white);
  justify-content: center;
}

.cta-section h2::before {
  display: none;
}

.cta-section p {
  color: #e2e8f0;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 30px auto;
}

footer {
  background-color: #1a202c;
  color: #a0aec0;
  text-align: center;
  padding: 50px 0;
  margin-top: 60px;
}

footer p {
  margin-bottom: 10px;
  font-size: 0.95rem;
}
