/* Reset some default styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Arial", "Helvetica Neue", sans-serif;
  background-color: #f7fdf7;
  color: #1e2d24;
  line-height: 1.5;
}

header {
  background-color: #00684b; /* INSEAD dark green */
  border-bottom: 4px solid #004a36; /* darker green accent */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

header h1 {
  margin: 0;
  font-size: 1.6rem;
  font-family: "Georgia", serif;
  color: #ffffff;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

nav a:hover,
nav a.active {
  background-color: #004a36;
  color: #ffffff;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.section-intro {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  border-left: 6px solid #00684b;
}

.section-intro h2 {
  margin-top: 0;
  font-size: 1.75rem;
  color: #111827;
}

.section-intro p {
  margin-bottom: 1rem;
  max-width: 80ch;
}

.btn {
  display: inline-block;
  background-color: #00684b;
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background-color: #004a36;
}

.search-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.search-input,
.filter-select {
  flex: 1 1 200px;
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 1rem;
}

.honorees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* Container for grouped honorees. Each pillar section has its own margin */
.pillar-section {
  margin-bottom: 3rem;
}

/* Pillar heading styling */
.pillar-heading {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #00684b;
  border-left: 4px solid #00684b;
  padding-left: 0.5rem;
}

/* Subcategory heading styling */
.subcategory-heading {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e2d24;
  padding-left: 0.25rem;
}

/* Grid for each subcategory within a pillar */
.honorees-subgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* Container for grouped honorees. Each pillar section has its own margin */
.pillar-section {
  margin-bottom: 3rem;
}

/* Pillar heading styling */
.pillar-heading {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #00684b;
  border-left: 4px solid #00684b;
  padding-left: 0.5rem;
}

/* Subcategory heading styling */
.subcategory-heading {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e2d24;
  padding-left: 0.25rem;
}

/* Grid for each subcategory within a pillar */
.honorees-subgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* Container for grouped honorees. Each pillar section has its own margin */
.pillar-section {
  margin-bottom: 3rem;
}

/* Pillar heading styling */
.pillar-heading {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #00684b;
  border-left: 4px solid #00684b;
  padding-left: 0.5rem;
}

/* Subcategory heading styling */
.subcategory-heading {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e2d24;
  padding-left: 0.25rem;
}

/* Grid for each subcategory within a pillar */
.honorees-subgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.1s ease;
}

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

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background-color: #e5e7eb;
}

.card-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
}

.card-subtitle {
  margin: 0.25rem 0 0.5rem;
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.2;
}

.card-tags {
  margin-top: auto;
}

.tag {
  display: inline-block;
  background-color: #e5f4e9;
  color: #00684b;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 2000;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6b7280;
}

footer {
  background-color: #f1f5f9;
  color: #6b7280;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

.disclaimer {
  font-size: 0.75rem;
  color: #374151;
  margin-top: 0.5rem;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}