:root {
  --primary: #1e293b;
  --primary-dark: #312e81;

  --secondary: #06b6d4;
  --accent: #a855f7;

  --text-light: #f8fafc;
  --text-dark: #334155;

  --bg-light: #f1f5f9;
  --bg-dark: #0a192f;

  --success: #22c55e;
  --warning: #eab308;
  --error: #dc2626;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Header styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: var(--bg-light);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  text-decoration: none;
}

.logo-icon {
  font-size: 1.8rem;
}

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

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

nav a:hover {
  color: var(--primary);
}

nav a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 5px;
}

/* Footer styles */
footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 3rem 2rem;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin-bottom: 2rem;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: white;
}

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

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

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

.footer-column a:hover {
  opacity: 1;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  background: none;
  border: none;
  cursor: pointer;
}

/* Responsive styles */
@media (max-width: 1024px) {
  nav ul {
    gap: 1rem;
  }
}

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

  nav ul {
    display: none;
  }

  .logo {
    font-size: 1.2rem;
  }

  .footer-column {
    flex: 100%;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-light);
    padding: 1rem 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }

  .nav-menu.active li {
    margin: 0.8rem 0;
    text-align: center;
  }
}
