:root {
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --secondary: #F97316;
  --secondary-hover: #EA580C;
  --bg-color: #F8FAFC;
  --white: #FFFFFF;
  --text-main: #1E293B;
  --text-muted: #64748b;
  --border-color: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Typography */
h1, h2, h3, h4 { color: var(--text-main); font-weight: 700; line-height: 1.2; }
h1 { font-size: 3rem; margin-bottom: 1rem; }
h2 { font-size: 2.25rem; margin-bottom: 1rem; text-align: center; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
p { color: var(--text-muted); font-size: 1rem; margin-bottom: 1rem; }

/* Navbar */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo span { color: var(--secondary); }
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  padding: 0.5rem 0;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--text-main); }

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
  padding: 6rem 1.5rem;
  text-align: center;
}
.hero.family-hero { background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%); }
.hero.work-hero { background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); }
.hero-content { max-width: 800px; margin: 0 auto; }
.hero h1 { color: #1e3a8a; }
.hero p { font-size: 1.25rem; color: #475569; margin-bottom: 2rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--primary); color: var(--white); box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff;}
.btn-secondary { background: var(--secondary); color: var(--white); box-shadow: var(--shadow-md); }
.btn-secondary:hover { background: var(--secondary-hover); transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff;}
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-group { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; }

/* Section & Container */
.section { padding: 5rem 1.5rem; }
.section-bg { background: var(--white); }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-header h2 { margin-bottom: 1rem; }

/* Card Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.card-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: #eff6ff;
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin-bottom: 1.5rem;
}
.card.family .card-icon { background: #fff7ed; color: var(--secondary); }
.card.family:hover { border-color: var(--secondary); }
.card-title { font-size: 1.5rem; margin-bottom: 1rem; color: var(--text-main); }
.card-desc { color: var(--text-muted); margin-bottom: 1.5rem; }
.card-features { margin-bottom: 2rem; }
.card-features li {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.5rem; color: #475569; font-size: 0.95rem;
}
.card-features li i { color: #10b981; }

/* About Section Specifics */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.value-card { text-align: center; padding: 2rem; background: var(--bg-color); border-radius: var(--radius); }
.value-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }

/* Footer */
.footer { background: #0f172a; color: #94a3b8; padding: 4rem 1.5rem 2rem; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand h3 { color: var(--white); margin-bottom: 1rem; font-size: 1.5rem; }
.footer-title { color: var(--white); font-size: 1.1rem; margin-bottom: 1.5rem; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { transition: var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid #1e293b; text-align: center; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 992px) {
  .grid-2, .grid-3, .about-grid, .values-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding: 4rem 1.5rem; }
  h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column; width: 100%;
    position: absolute; top: 100%; left: 0; background: var(--white);
    padding: 1rem 1.5rem; box-shadow: var(--shadow-md);
  }
  .nav-links.active { display: flex; }
  .mobile-toggle { display: block; }
}
