/* Base styles */
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background-color: #f7f5f2;
  background-image:
    radial-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 18px 18px;
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.left {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: 100px;
}

.right {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-right: 100px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px; /* space between image + TSAI */
  line-height: 1.1;
}

.logo-main {
  font-weight: 800;
  font-size: 1.2rem;
}

.logo-sub {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
}

/* Navigation */
nav {
  display: flex;
  gap: 24px;
}

nav a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
}

nav a:hover {
  color: #111827;
}

/* Button */
.events-btn {
  padding: 10px 18px;
  border-radius: 999px;
  background-color: #111827;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.events-btn:hover {
  background-color: #1f2937;
}

/* Hero */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px 60px;
  text-align: center;
}

.hero-title {
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.05;
  color: #3f3946;
}

.hero-subtitle {
  margin: 0 auto 48px;
  max-width: 900px;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  color: rgba(63, 57, 70, 0.78);
  line-height: 1.6;
}

/* CTA card */
.hero-cards.single {
  display: flex;
  justify-content: center;
}

.hero-card {
  max-width: 520px;
  width: 100%;
  text-decoration: none;
  background: #6a5a6f;
  color: white;
  border-radius: 18px;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 18px rgba(17, 24, 39, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.hero-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(17, 24, 39, 0.16);
  filter: brightness(1.03);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.card-sub {
  font-size: 1rem;
  opacity: 0.9;
}

.card-arrow {
  font-size: 1.35rem;
  opacity: 0.75;
}

/* About section */
.about {
  padding: 10px 20px 50px;
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.about h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #3f3946;
}

.about p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(63, 57, 70, 0.85);
  margin-bottom: 20px;
}

/* Mobile */
@media (max-width: 800px) {
  .left,
  .right {
    margin: 0 20px;
  }
}
.lower-section {
  background-color: rgba(211, 182, 156, 0.1); /* subtle darker shade */
}
.logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.terps-red {
  color: #f2d235;
}

.terps-yellow {
  color: #b32828;
}

.footer {
  padding: 20px 20px;
  background-color: rgba(211, 182, 156, 0.1); /* matches lower-section */
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #3f3946;
  margin: 0 0 14px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 18px;
}

.footer-links a {
  text-decoration: none;
  font-weight: 600;
  color: rgba(63, 57, 70, 0.85);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #111827;
}

.footer-copy {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(63, 57, 70, 0.65);
}

.page {
  padding: 70px 20px 80px;
}

.page-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-title {
  margin: 0 0 18px;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #3f3946;
}

.page-text {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(63, 57, 70, 0.85);
  margin-bottom: 18px;
}

/* "Our Team" smaller header */
.section-title {
  margin-top: 50px;
  margin-bottom: 18px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #3f3946;
}

/* Team blocks */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 20px;
}

.team-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 18px rgba(17, 24, 39, 0.06);
}

.team-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(63, 57, 70, 0.75);
  margin-bottom: 12px;
}

.team-bio {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(63, 57, 70, 0.85);
}

/* Mobile */
@media (max-width: 800px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: 2.2rem;
  }
}