/* Cloud Civil Rights — Academic Website Styles */
:root {
  --navy: #0a2540;
  --blue: #1a4a7a;
  --accent: #2c6cb0;
  --light: #f7f9fc;
  --text: #1e2937;
  --muted: #64748b;
  --border: #e2e8f0;
  --serif: "Georgia", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--sans);
  color: var(--text);
  line-height: 1.7;
  background: #fff;
}

header {
  background: var(--navy);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.logo span { color: #7dd3fc; }

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

nav a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: opacity 0.2s;
}

nav a:hover, nav a.active { opacity: 1; border-bottom: 2px solid #7dd3fc; }

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: white;
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero h1 {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero .subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.hero .definition {
  background: rgba(255,255,255,0.08);
  border-left: 4px solid #7dd3fc;
  padding: 1.5rem 2rem;
  max-width: 800px;
  margin: 2rem auto 0;
  text-align: left;
  font-size: 1.05rem;
  line-height: 1.6;
}

section {
  padding: 4.5rem 0;
}

section h2 {
  font-family: var(--serif);
  font-size: 2.25rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

section h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--blue);
  margin: 2rem 0 1rem;
}

.light-bg { background: var(--light); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.card h3 {
  margin-top: 0;
  font-size: 1.25rem;
  color: var(--navy);
}

.card .question {
  font-style: italic;
  color: var(--muted);
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--light);
  font-weight: 600;
  color: var(--navy);
}

.timeline {
  position: relative;
  margin: 2rem 0;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.35rem;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-item strong { color: var(--navy); }

.note {
  background: #f0f9ff;
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 6px 6px 0;
  font-size: 0.95rem;
}

footer {
  background: var(--navy);
  color: white;
  padding: 3rem 0 2rem;
  margin-top: 2rem;
  font-size: 0.9rem;
}

footer a { color: #7dd3fc; text-decoration: none; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 1rem;
  transition: background 0.2s;
}

.btn:hover { background: #1e4d8c; }

@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  nav ul { gap: 1rem; font-size: 0.85rem; }
  .card-grid { grid-template-columns: 1fr; }
}