:root {
  --primary: #0f172a;
  --primary-blue: #1e3a8a;
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --bg-light: #f8fafc;
  --card-bg: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #475569;
  --border-color: #e2e8f0;
  --radius: 12px;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.8;
  background-color: var(--bg-light);
}

/* Header & Navigation */
header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-container img {
  height: 85px;
  width: auto;
  object-fit: contain;
}

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

nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav a:hover, nav a.active {
  color: var(--accent);
  font-weight: 600;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-blue) 100%);
  color: #ffffff;
  text-align: center;
  padding: 6rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 2.75rem;
  max-width: 900px;
  margin: 0 auto 1.25rem;
  line-height: 1.2;
  font-weight: 800;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  opacity: 0.92;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  padding: 0.9rem 2.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.35);
}

/* Containers & Sections */
section {
  padding: 5rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  color: var(--primary);
  font-size: 2.25rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 3.5rem;
  font-size: 1.15rem;
}

/* Cards & Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(0,0,0,0.08);
}

.card h3 {
  color: var(--primary-blue);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
}

/* Footer */
footer {
  background: var(--primary);
  color: #ffffff;
  text-align: center;
  padding: 3.5rem 1rem;
  font-size: 0.95rem;
}

footer p {
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

/* Responsive fixes */
@media(max-width: 768px) {
  .hero h1 { font-size: 2.1rem; }
  header { flex-direction: column; gap: 1rem; text-align: center; }
  nav { gap: 1rem; flex-wrap: wrap; justify-content: center; }
}