/* wellness-style.css - Medical white theme with dark navbar/footer */
:root {
  --pure-white: #ffffff;
  --background-light: #f5fafd;
  --text-primary: #122b3f;
  --text-secondary: #2c4b63;
  --accent-medical: #1e88e5;
  --accent-soft: #6ab7ff;
  --border-light: #d9e9f2;
  --hover-bg: #e1f0fa;
  --card-shadow: 0 10px 25px -5px rgba(0, 50, 80, 0.1);

  /* Dark navbar/footer */
  --nav-bg: #0b202f;
  --nav-text: #e0eefb;
  --nav-hover-bg: #1e3a5f;
  --dropdown-bg: #112b3c;
  --dropdown-border: #2b4b65;

  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  background-color: var(--pure-white);
  color: var(--text-primary);
  margin: 0;
  line-height: 1.7;
}

/* Navbar (dark) - from main style.css but reinforced */
.navbar {
  background: var(--nav-bg) !important;
  border-bottom: 2px solid var(--dropdown-border);
}

.logo {
  color: var(--nav-text) !important;
}
.logo-hb {
  background: var(--accent-medical);
  color: white;
  padding: 6px 12px;
  border-radius: 10px;
  margin-right: 8px;
  font-size: 1.4rem;
}
.logo span {
  color: var(--accent-medical);
}

/* --- Aesthetic Hero (updated overlay) --- */
.wellness-hero {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url("https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(11, 32, 47, 0.85), rgba(11, 32, 47, 0.5));
}

.hero-content {
  position: relative;
  z-index: 10;
  color: var(--pure-white);
  max-width: 800px;
  padding: 0 20px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--accent-medical);
  color: white;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  color: white;
}
.hero-content h1 span {
  color: var(--accent-soft);
}
.hero-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 20px;
}

/* --- Pillars Grid (white background, dark text) --- */
.wellness-container {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 4%;
}

.wellness-pillar {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  margin-bottom: 150px;
  align-items: center;
}

.wellness-pillar.reverse {
  grid-template-columns: 1fr 1.1fr;
}
.wellness-pillar.reverse .pillar-image-box {
  order: 2;
}

/* Image styling */
.pillar-image-box {
  position: relative;
  height: 500px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-light);
}

.pillar-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.wellness-pillar:hover .pillar-image-box img {
  transform: scale(1.05);
}

/* Text content */
.pillar-label {
  color: var(--accent-medical);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.pillar-text h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 25px;
  line-height: 1.1;
}

.pillar-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* Clinical Feature Boxes */
.clinical-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.box-item {
  background: var(--background-light);
  padding: 25px;
  border-radius: 16px;
  border-top: 4px solid var(--accent-medical);
  box-shadow: var(--card-shadow);
}

.box-item strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text-primary);
  font-size: 1.1rem;
}
.box-item p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--text-secondary);
}

/* Aesthetic Lists */
.aesthetic-list {
  list-style: none;
  padding: 0;
}

.aesthetic-list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
}

.aesthetic-list li span {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--accent-medical);
  margin-right: 20px;
  border: 1px solid var(--accent-medical);
  padding: 2px 8px;
  border-radius: 20px;
  background: white;
}

/* Stat Card */
.aesthetic-stat-card {
  display: flex;
  align-items: center;
  background: var(--nav-bg);
  color: white;
  padding: 35px;
  border-radius: 24px;
  gap: 30px;
  box-shadow: var(--card-shadow);
}

.stat-main h3 {
  font-size: 3.5rem;
  margin: 0;
  color: white;
}
.stat-main small {
  color: var(--accent-soft);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.75rem;
}

.stat-desc strong {
  display: block;
  color: var(--accent-soft);
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 5px;
}
.stat-desc p {
  margin: 0;
  font-size: 0.95rem;
  color: #cbd5e1;
}

/* New Sections */
.wellness-metrics,
.wellness-guidelines,
.wellness-research {
  margin: 80px 0;
}

.wellness-metrics h2,
.wellness-guidelines h2,
.wellness-research h2 {
  font-size: 2.2rem;
  color: var(--text-primary);
  margin-bottom: 40px;
}

.metrics-grid,
.guidelines-grid,
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.metric-card,
.guideline-item,
.research-card {
  background: var(--pure-white);
  padding: 30px;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
  transition: transform 0.2s;
}

.metric-card:hover,
.guideline-item:hover,
.research-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-medical);
}

.metric-card h3,
.guideline-item h3,
.research-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.metric-card p,
.guideline-item p,
.research-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Wellness note */
.wellness-note {
  background: #e3f2fd;
  border-left: 6px solid var(--accent-medical);
  padding: 25px 30px;
  border-radius: 16px;
  margin: 60px 0;
  color: var(--text-primary);
  font-size: 1.1rem;
  box-shadow: var(--card-shadow);
}
.wellness-note strong {
  color: var(--accent-medical);
}

/* Footer (dark) */
.footer {
  background: var(--nav-bg) !important;
  color: var(--nav-text);
  border-top: 2px solid var(--dropdown-border);
  padding: 80px 8% 40px;
  margin-top: 0;
}
.footer-section h2,
.footer-section h3 {
  color: white;
}
.footer-section h2 span {
  color: var(--accent-medical);
}
.footer-section p,
.footer-section a {
  color: #cbd5e1;
}
.footer-section a:hover {
  color: var(--accent-medical);
}
.footer-bottom {
  border-top-color: var(--dropdown-border);
  color: #8fa3b8;
}

/* Responsive */
@media (max-width: 992px) {
  .wellness-pillar,
  .wellness-pillar.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .pillar-image-box {
    height: 300px;
    order: 1 !important;
  }
  .pillar-text {
    order: 2 !important;
  }
  .clinical-box {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .aesthetic-stat-card {
    flex-direction: column;
    text-align: center;
  }
}
