:root {
  --bg-color: #f0f4f8; /* Soft, light blue-gray background */
  --text-color: #2c3e50; /* Darker navy for text */
  --header-bg: #ffffff; /* Clean white header */
  --border-color: #e4e7eb; /* Light border color */
  --accent-color-1: #3498db; /* A vibrant, professional blue */
  --accent-color-2: #8e44ad; /* A deep purple for contrast */
  --accent-gradient: linear-gradient(90deg, #3498db, #8e44ad);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--header-bg);
  padding: 15px 5%; /* Use a percentage for responsive padding */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color-1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Navigation */
nav {
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--accent-gradient);
  transition: width 0.3s ease;
}

nav a:hover,
nav a.active {
  color: var(--accent-color-2);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-color);
}

/* Main Content */
main {
  width: 90%;
  max-width: 1200px; /* A bit wider for larger screens */
  margin: 30px auto;
}

section {
  margin-bottom: 40px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

thead th {
  background-color: var(--accent-color-1);
  color: white;
  text-align: left;
  padding: 15px;
  font-size: 1rem;
  text-transform: uppercase;
}

tbody td {
  padding: 15px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:nth-child(even) {
  background-color: #f8f9fa; /* Light stripe for even rows */
}

tbody tr:hover {
  background-color: #ecf0f1; /* Subtle hover color */
}

/* Responsive Navigation */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }

  nav {
    position: absolute;
    top: 65px;
    right: 20px;
    background: var(--header-bg);
    flex-direction: column;
    align-items: flex-start;
    width: 200px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
  }

  nav.active {
    display: flex;
  }

  nav a {
    width: 100%;
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
  }

  nav a:last-child {
    border-bottom: none;
  }

  .menu-toggle {
    display: block;
  }
}