:root {
  --primary-color: #1a365d;
  --secondary-color: #4a5568;
  --accent-color: #3182ce;
  --bg-color: #f7fafc;
  --surface-color: #ffffff;
  --text-main: #2d3748;
  --text-muted: #718096;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05);
  --radius: 8px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navbar */
.navbar {
  background-color: var(--surface-color);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  font-weight: 500;
  color: var(--text-main);
}

nav a:hover, nav a.active {
  color: var(--accent-color);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--accent-color);
}

/* Base Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.primary-btn {
  background-color: var(--primary-color);
  color: #fff;
  border: 1px solid var(--primary-color);
}

.primary-btn:hover {
  background-color: #2a4365;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.hero-content h2 {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

/* Services */
.services {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.15rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: var(--surface-color);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e0;
}

.service-card .icon {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.35rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background-color: #f1f5f9;
}

.contact-card {
  background: var(--surface-color);
  padding: 4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.contact-card h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-card > p {
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1.15rem;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: left;
}

.contact-item {
  background: #f8fafc;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

/* Legal Page Headers & Content */
.page-header {
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  padding: 5rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
}

.content-section {
  padding: 4rem 0;
}

.content-box {
  background: var(--surface-color);
  padding: 4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.content-box h3 {
  color: var(--primary-color);
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.content-box h3:first-child {
  margin-top: 0;
}

.content-box p {
  margin-bottom: 1.75rem;
  color: var(--text-main);
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background-color: var(--surface-color);
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--secondary-color);
  margin-left: 1.5rem;
}

.footer-links a:hover {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .hero-content h2 { font-size: 2.5rem; }
  .navbar .container { flex-direction: column; gap: 1rem; }
  .footer .container { flex-direction: column; }
}
