body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0 12%;
  line-height: 1.6;
  color: #222;
}

/* Header */
header {
  padding: 60px 0 40px 0;
  border-bottom: 1px solid #e5e5e5;
}

header h1 {
  font-size: 3em;
  font-weight: 700;
  margin: 0;
  color: #111;
}

.subtitle {
  font-size: 1.6em;
  font-weight: 400;
  margin-top: 12px;
  margin-bottom: 0;
  color: #444;
}

/* Navigation */
nav {
  margin-top: 25px;
}

nav a {
  margin-right: 25px;
  text-decoration: none;
  color: #003366;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

/* Sections */
section {
  margin: 80px 0;
}

h2 {
  color: #003366;
  margin-bottom: 15px;
}

/* Footer */
footer {
  margin: 100px 0 40px 0;
  font-size: 0.9em;
  color: #666;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
}

.caption {
  font-size: 0.9em;
  color: #555;
  text-align: center;
  margin-bottom: 40px;
}

.consortium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.consortium-grid a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 110px;              /* equal height tiles */
  padding: 15px;
  background: #ffffff;
}

.consortium-grid img {
  max-width: 100%;
  max-height: 70px;           /* controls logo height */
  width: auto;
  height: auto;
  object-fit: contain;

  filter: grayscale(100%);
  opacity: 0.85;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.2s ease;
}

.consortium-grid a:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.consortium-grid a {
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
}

.consortium-photo {
  margin-top: 60px;
  text-align: center;
}

.consortium-photo img {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 6px;
}

.photo-caption {
  margin-top: 15px;
  font-size: 0.9em;
  color: #666;
}

.consortium-photo img {
  width: 100%;
  max-width: 1000px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-radius: 8px;
}

.partners-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 60px;
  margin-top: 40px;
  align-items: start;
}

.partner {
  text-align: left;
}

/* Equal-height logo tile */
.partner a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
}

/* Logo styling */
.partner img {
  max-height: 90px;
  max-width: 100%;
  object-fit: contain;

  filter: grayscale(100%);
  opacity: 0.85;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.2s ease;
}

/* Hover effect */
.partner a:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}
