/* Cademix Healthcare - Main Stylesheet */
:root {
  --primary: #0f4c5c;
  --secondary: #37656d;
  --accent: #225d69;
  --bg: #f7f9fa;
  --text: #16212b;
  --muted: #59656f;
  --white: #ffffff;
  --border: #dce3e6;
  --shadow: 0 4px 6px rgba(0,0,0,0.05);
}

* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
a { color: var(--accent); text-decoration: none; font-weight: 600; transition: color 0.2s; }
a:hover { color: var(--primary); }
h1, h2, h3, h4 { margin-top: 0; line-height: 1.2; }

/* Navigation */
nav { background: var(--white); border-bottom: 1px solid var(--border); padding: 1rem 2rem; position: sticky; top: 0; z-index: 100; }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 800; font-size: 1.2rem; color: var(--primary); text-decoration: none; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--secondary); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--primary); }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--primary); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); color: var(--white); padding: 5rem 2rem; text-align: center; }
.hero-inner { max-width: 900px; margin: 0 auto; }
.hero .eyebrow { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.15em; opacity: 0.9; margin-bottom: 1rem; display: block; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.5rem; font-weight: 800; }
.hero p { font-size: 1.25rem; opacity: 0.9; max-width: 700px; margin: 0 auto 2rem; }
.btn { display: inline-block; background: var(--white); color: var(--primary); padding: 0.8rem 1.8rem; border-radius: 50px; font-weight: 700; transition: transform 0.2s, box-shadow 0.2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); color: var(--primary); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); margin-left: 1rem; }
.btn-outline:hover { background: rgba(255,255,255,0.1); color: var(--white); }

/* Sections */
.section { padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: 2.2rem; color: var(--primary); margin-bottom: 0.5rem; }
.section-title p { color: var(--muted); max-width: 600px; margin: 0 auto; }

/* Grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.card-icon { width: 48px; height: 48px; background: #eef4f6; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--primary); font-size: 1.5rem; }
.card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--text); }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* CTA Section */
.cta-section { background: var(--primary); color: var(--white); text-align: center; padding: 4rem 2rem; }
.cta-section h2 { font-size: 2rem; margin-bottom: 1rem; }
.cta-section p { opacity: 0.9; margin-bottom: 2rem; }

/* Footer */
footer { background: #1a252f; color: #a0aab4; padding: 3rem 2rem; text-align: center; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-links { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.footer-links a { color: #a0aab4; font-size: 0.9rem; }
.footer-links a:hover { color: var(--white); }
.copyright { font-size: 0.85rem; margin-top: 2rem; opacity: 0.7; }

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero h1 { font-size: 2.2rem; }
  .btn-outline { margin-left: 0; margin-top: 1rem; display: block; }
  .grid { grid-template-columns: 1fr; }
}
