/* — Reset & Variables — */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #00529b;
  --dark: #222;
  --light: #f0f4f8;
  --radius: 5px;
  --spacing: 1rem;
  --max-width: 900px;
}
body {
  font-family: Arial, sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
}

/* — Navbar — */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing);
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--primary);
}
.nav-links {
  list-style: none;
  display: flex;
  gap: var(--spacing);
}
.nav-links a {
  text-decoration: none;
  color: var(--dark);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
}
.nav-links a:hover {
  background: var(--light);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
}

/* — Hero — */
.hero {
  text-align: center;
  padding: 5rem 1rem;
  background: white;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}
.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  opacity: 0.9;
}

/* — About & Features — */
.about,
.features {
  max-width: var(--max-width);
  margin: 3rem auto;
  padding: 0 1rem;
}
.features .feature {
  background: white;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
}
.features h2,
.about h2 {
  margin-bottom: 1rem;
}

/* — Contact — */
.contact {
  max-width: var(--max-width);
  margin: 3rem auto;
  padding: 2rem 1rem;
  background: white;
  border-radius: var(--radius);
}
.contact form {
  display: grid;
  gap: 1rem;
}
.contact input,
.contact textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
}
.contact button {
  width: fit-content;
}

/* — Footer — */
footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: #555;
}

/* — Responsive — */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: var(--spacing);
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
}
