:root {
  --primary-color: #1a4a76; /* Professional deep blue for health/medical */
  --secondary-color: #2e8b57; /* Calm sea green for natural/herbal */
  --text-color: #2d3748;
  --bg-color: #f7fafc; /* Clean light gray-blue */
  --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 pulseBorder {
  0% { box-shadow: 0 0 0 0 rgba(46, 139, 87, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(46, 139, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 139, 87, 0); }
}

header {
  background-color: var(--white);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  animation: fadeIn 0.8s ease-in;
  border-bottom: 3px solid var(--primary-color);
}

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

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

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

.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: 0.95rem;
}

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

.btn, .cta-button {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--white) !important;
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
  transition: background 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.btn:hover, .cta-button:hover {
  background: #246e45;
  transform: translateY(-2px);
}

.btn-pulse {
  animation: pulseBorder 2s infinite;
}

main {
  padding: 50px 0;
}

.hero {
  text-align: center;
  padding: 70px 20px;
  background: linear-gradient(180deg, #e2e8f0 0%, #ffffff 100%);
  border-radius: 12px;
  margin-bottom: 50px;
  animation: slideUpFade 0.8s ease-out forwards;
  border: 1px solid #cbd5e0;
}

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

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

article {
  background: var(--white);
  padding: 60px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.03);
  animation: slideUpFade 0.8s ease-out 0.2s forwards;
  opacity: 0;
  border-top: 4px solid var(--secondary-color);
}

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

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

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

h2::before {
  content: '✓';
  color: var(--secondary-color);
  margin-right: 12px;
  font-size: 1.8rem;
}

h3 {
  font-size: 1.5rem;
  color: #2c5282;
}

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

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

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

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

.blog-card {
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  border: 1px solid #e2e8f0;
  opacity: 0;
  animation: slideUpFade 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.4rem;
  line-height: 1.4;
}

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

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

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

.related-posts {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #edf2f7;
  background-color: #f7fafc;
  padding: 40px;
  border-radius: 10px;
}

.related-posts h3::before {
  content: '📚 ';
}

.cta-section {
  background: var(--primary-color);
  padding: 60px;
  text-align: center;
  border-radius: 12px;
  margin: 50px 0;
  color: var(--white);
}

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

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

.cta-section p {
  color: #e2e8f0;
}

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

footer p {
  margin-bottom: 8px;
  font-size: 0.9rem;
}
