:root {
  --primary: #2c3e50;
  --accent: #e74c3c;
  --bg: #f8f9fa;
  --text-dark: #2c3e50;
  --text-light: #5a6c7d;
  --border: #dce4ec;
  --footer-bg: #2c3e50;
  --footer-text: #ecf0f1;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: inherit;
}

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

/* ---- Navigation ---- */
.navbar {
  padding: 1rem 2rem;
  background: white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

.nav-links .active {
  color: var(--accent);
  text-decoration: underline underline;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 500;
  border-radius: 4px;
  transition: background 0.2s;
}

.cta-btn:hover {
  background: #c0392b;
}

.cta-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  text-decoration: none;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.2s;
}

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

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  transition: transform 0.3s, opacity 0.3s;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="4" height="4" viewBox="0 0 4 4"%3E %3Cpath fill="currentColor" fill-opacity="0.3" d="M0 2h4V2H0Z"/%3E %3C/svg%3C');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 80px;
  padding-bottom 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.hero p {
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero .cta-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

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

.service-card {
  background: white;
  border-radius: 6px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

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

/* ---- About Strip ---- */
.about-strip {
  padding: 4rem 2rem;
  background: white;
  max-width: 1200px;
  margin: 0 auto;
}

.about-strip h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.about-strip p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* ---- Credentials Strip ---- */
.credentials {
  padding: 2rem;
  background: var(--primary);
  color: white;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.credentials p {
  margin: 0;
  font-size: 0.9rem;
}

/* ---- CTA Strip ---- */
.cta-strip {
  padding: 3rem 2rem;
  text-align: center;
  background: var(--primary);
  color: white;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-strip h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.cta-strip .cta-btn {
  color: white;
}

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

.footer .logo {
  color: white;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.footer .nav-links {
  color: var(--footer-text);
}

.footer .nav-links a {
  color: var(--footer-text);
}

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

.footer-column {
  float: left;
  width: 25%;
  padding: 0 1rem;
}

.footer-column h4 {
  color: white;
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.8rem;
}

.footer-column a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  clear: both;
  padding-top: 2rem;
  border-top: 1px solid #4a5568;
  margin-top: 2rem;
  text-align: center;
  color: #8aaeb7;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 250px;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    gap: 1.5rem;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
  }

  .footer-column {
    float: none;
    width: 100%;
    margin-bottom: 2rem;
    text-align: left;
  }

  .footer-column:last-child {
    margin-bottom: 0;
  }
}