/* -------------------
   GLOBAL RESET + BASE
------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  background: #fafafa;
  color: #222;
}

a {
  color: #0056b3;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* -------------------
   LAYOUT CONTAINERS
------------------- */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* -------------------
   NAVIGATION
------------------- */
header {
  background: #002147;
  color: white;
  padding: 1em 0;
}

header nav {
  display: flex;
  gap: 1em;
  justify-content: center;
  flex-wrap: wrap;
}

header nav a {
  color: white;
  font-weight: bold;
  padding: 0.5em 1em;
  border-radius: 5px;
  transition: background 0.2s ease-in-out;
}

header nav a:hover,
header nav a[aria-current="page"] {
  background: #004080;
}

/* -------------------
   HERO SECTIONS
------------------- */
section.hero {
  text-align: center;
  padding: 4em 1em;
  background: linear-gradient(120deg, #002147, #004080);
  color: white;
  border-radius: 0 0 12px 12px;
  margin-bottom: 2em;
}

section.hero h1 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
}

section.hero p {
  font-size: 1.2em;
  opacity: 0.9;
}

/* -------------------
   GRID SYSTEM
------------------- */
.grid {
  display: grid;
  gap: 2em;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* -------------------
   CARDS
------------------- */
.stat-card,
.resource-card,
.article-card {
  background: white;
  border-radius: 8px;
  padding: 1.5em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease-in-out;
}

.stat-card:hover,
.resource-card:hover,
.article-card:hover {
  transform: translateY(-4px);
}

/* -------------------
   BUTTONS
------------------- */
.btn {
  display: inline-block;
  background: #0056b3;
  color: white;
  padding: 0.6em 1.2em;
  border-radius: 5px;
  transition: background 0.2s ease-in-out;
  margin-top: 0.5em;
}

.btn:hover {
  background: #003d80;
}

/* -------------------
   FORMS
------------------- */
form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

input, textarea {
  padding: 0.7em;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button.btn {
  cursor: pointer;
  border: none;
}

/* -------------------
   FOOTER
------------------- */
footer {
  text-align: center;
  padding: 1.5em 0;
  margin-top: 3em;
  background: #002147;
  color: white;
  border-radius: 12px 12px 0 0;
}
.twitter-container {
  max-width: 600px;
  margin: 20px auto;
  padding: 15px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.tweets-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.tweet {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
