/* css/style.css */
:root {
  --primary-color: #1a4480;
  --secondary-color: #c9174d;
  --text-color: #1b1b1b;
  --light-gray: #f4f4f4;
  --border-color: #dfe1e2;
  --header-height: 120px;
  --section-spacing: 4rem;
}

body {
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #ffffff;
}

header {
  background-color: var(--primary-color);
  color: #fff;
  padding: 2rem 0;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
}

header h1 {
  margin: 0;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: "Merriweather", serif;
}

header .tagline {
  margin: 1rem 0 0;
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

nav {
  background-color: var(--primary-color);
  padding: 1rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav ul.think-tanks {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

nav ul.think-tanks li {
  margin: 0;
}

nav ul.think-tanks li a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  padding: 0.75rem 0;
  transition: all 0.2s ease-in-out;
  display: inline-block;
  font-size: 1rem;
  opacity: 0.9;
}

nav ul.think-tanks li a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* Remove the button-specific styles since we're not using them anymore */
nav ul.think-tanks li a.button {
  color: white;
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  padding: 0.75rem 0;
}

nav ul.think-tanks li a.button:hover {
  background-color: transparent;
  color: white;
}

/* Hero Section */
.hero {
  background-color: var(--light-gray);
  padding: var(--section-spacing) 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-family: "Merriweather", serif;
}

.hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: var(--text-color);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Featured Section */
.featured {
  padding: var(--section-spacing) 0;
}

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

.think-tank-card {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease-in-out;
}

.think-tank-card:hover {
  transform: translateY(-5px);
}

.think-tank-card h3 {
  color: var(--primary-color);
  margin-top: 0;
  font-family: "Merriweather", serif;
}

.think-tank-card p {
  margin-bottom: 1.5rem;
}

/* About Section */
.about {
  background-color: var(--light-gray);
  padding: var(--section-spacing) 0;
}

.about .alert {
  margin-top: 2rem;
}

.about .alert ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.about .alert li {
  margin-bottom: 0.5rem;
}

/* Button Styles */
.button {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button:hover {
  background-color: #112f52;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.button-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.button-secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section Headers */
section h2 {
  color: var(--primary-color);
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  font-family: "Merriweather", serif;
}

/* Alert Boxes */
.alert {
  background-color: #f8f9fa;
  border-left: 4px solid var(--primary-color);
  padding: 1.25rem;
  margin: 1.5rem 0;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.alert.warning {
  border-left-color: var(--secondary-color);
  background-color: #fff5f5;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: #fff;
  padding: 2rem 0;
  text-align: center;
  margin-top: 3rem;
}

footer p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Overview Section */
.overview {
  padding: var(--section-spacing) 0;
  background-color: #fff;
}

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

.info-card {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.2s ease-in-out;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card h3 {
  color: var(--primary-color);
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.info-card p {
  margin: 0;
  color: var(--text-color);
  font-size: 1.2rem;
  font-weight: 500;
}

/* Content Blocks */
.content-block {
  margin-bottom: 3rem;
}

.content-block p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* People Section */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.person-card {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.person-card h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 1rem;
  font-family: "Merriweather", serif;
}

.person-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.person-card li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.person-card li:before {
  content: "•";
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

.person-card a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.person-card a:hover {
  color: var(--secondary-color);
}

/* Alert Enhancements */
.alert h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.alert.warning h3 {
  color: var(--secondary-color);
}

.alert ul {
  margin: 0;
  padding-left: 1.5rem;
}

.alert li {
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  header {
    padding: 1.5rem 0;
  }

  header h1 {
    font-size: 2.5rem;
  }

  header .tagline {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  nav ul.think-tanks {
    flex-direction: column;
    align-items: center;
  }
  
  nav ul.think-tanks li {
    width: 100%;
    margin: 0.5rem 0;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .think-tank-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  .info-grid,
  .people-grid {
    grid-template-columns: 1fr;
  }

  .info-card,
  .person-card {
    padding: 1.5rem;
  }

  .content-block p {
    font-size: 1rem;
  }
}

