:root {
  --primary: #1a2a3e;
  --accent: #d4a853;
  --bg: #f8f9fa;
  --text-dark: #2d3748;
  --text-light: #ffffff;
  --border: #a0aec0;
  --success: #38a169;
  --card-bg: #ffffff;
  --footer-bg: #16202c;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---- Navigation ---- */
.navbar {
  background: var(--primary);
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links li a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
  position: relative;
}

.nav-links li a.active,
.nav-links li a:hover {
  color: var(--accent);
}

.nav-links li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-links li a:hover::after {
  width: 100%;
}

.cta-nav {
  background: var(--accent);
  color: var(--primary);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.3s;
}

.cta-nav:hover {
  background: #bf9742;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  transition: 0.3s;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary);
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    display: none;
  }

  .nav-active .nav-links {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links li a {
    width: 100%;
    padding: 0.8rem;
    border-bottom: 1px solid var(--border);
    font-size: 1.1rem;
  }

  .nav-links li a.active {
    color: var(--accent);
    background: var(--bg);
  }

  .cta-nav {
    width: 100%;
    padding: 0.8rem;
    text-align: center;
    margin-top: 1rem;
  }
}

/* ---- Hero (index.html) ---- */
.hero {
  padding: 8rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.hero p {
  font-size: 1.25rem;
  color: #4a5568;
  margin-bottom: 2rem;
}

/* ---- Services Grid ---- */
.services-grid {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--card-bg);
  padding: 2rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.service-card .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  fill: var(--primary);
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.service-card p {
  font-size: 0.875rem;
  color: #718096;
  margin-bottom: 1.5rem;
}

/* ---- Credentials Strip (homepage) ---- */
.credentials-strip {
  background: var(--footer-bg);
  color: var(--text-light);
  padding: 2rem;
  margin: 4rem 0;
  border-radius: 8px;
}

.credentials-strip .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.credentials-strip .item {
  text-align: center;
}

.credentials-strip .item .value {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0.3rem;
  display: block;
}

.credentials-strip .item .label {
  font-size: 0.875rem;
  color: #cbd5e0;
  margin-bottom: 0.5rem;
  display: block;
}

/* ---- CTA Strip ---- */
.cta-strip {
  background: var(--accent);
  color: var(--primary);
  padding: 2rem;
  max-width: 1200px;
  margin: 4rem auto;
  border-radius: 8px;
  text-align: center;
}

.cta-strip .btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  margin: 0 0.5rem;
  transition: opacity 0.3s;
}

.cta-strip .btn-primary {
  background: var(--primary);
  color: var(--text-light);
}

.cta-strip .btn-primary:hover {
  opacity: 0.9;
}

.cta-strip .btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.cta-strip .btn-outline:hover {
  background: var(--primary);
  color: var(--text-light);
}

/* ---- Footer ---- */
.footer {
  background: var(--footer-bg);
  color: #a0aec0;
  padding: 4rem 2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .footer .container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.footer-column h4 {
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--accent);
  font-weight: 600;
}

.footer-column ul li {
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.footer-column a {
  color: #718096;
  transition: color 0.3s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  margin-top: 3rem;
  text-align: center;
  color: #718096;
  font-size: 0.85rem;
  margin-top: 2rem;
}

/* ---- Privacy & Terms Pages ---- */
.page-hero {
  background: var(--primary);
  color: var(--text-light);
  padding: 6rem 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---- Index Specific ---- */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}