/* General Reset & Body Setup */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; /* modern sans-serif */
  background-color: #e0e0e0; /* light gray background */
  color: #333;
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
}

/* Street Map Background Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('https://tile.openstreetmap.org/12/1205/1535.png'); /* static NYC street tile */
  background-size: cover;
  background-position: center;
  background-repeat: repeat; /* repeat to fill whole screen */
  opacity: 0.2; /* subtle visibility */
  z-index: -1;
}

/* Header / Navigation        */
.header-container {
  background-color: rgba(60, 60, 60, 0.95); /* softer black / streetlight black */
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  border-radius: 8px;
}

.logo {
  max-width: 150px;
  height: auto;
  margin-bottom: 15px;
}

.header-text h1 {
  font-size: 2em;
  margin-bottom: 10px;
}

.header-text p {
  font-size: 1em;
  max-width: 100%;
  line-height: 1.4;
  margin-bottom: 20px;
}

/* Navbar Styling */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
  transition: color 0.2s;
}

.nav-links li a:hover {
  color: #FFD700; /* subtle streetlight highlight on hover */
}

.nav-links li a.active {
  text-decoration: underline;
  color: #32CD32; /* green light for active link */
}

/* Main Content Sections      */
main {
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 20px;
}

/* Intro Section */
.intro {
  text-align: center;
  margin-bottom: 40px;
}

.intro .logo {
  max-width: 120px;
  margin-bottom: 15px;
}

.intro p {
  font-size: 1.1em;
  color: #333; 
}

/* Team Intro Section */
.team-intro {
  text-align: center;
  margin-bottom: 40px;
}

.team-intro h2 {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: #333;
}

.team-intro .subtitle {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 15px;
}

.team-intro .intro-text {
  font-size: 1em;
  max-width: 800px;
  margin: 0 auto;
  color: #555;
}

.intro-text-bubble, 
.team-intro-content,
.doc-card,
.pres-card,
.vid-card {
  background-color: rgba(255, 255, 255, 0.5); /* 50% translucent white */
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  max-width: 800px;
  margin: 20px auto;
  text-align: center;
}

/* Optional: slightly larger text for emphasis */
.intro-text-bubble p,
.team-intro-content p {
  font-size: 1.05em;
  color: #333;
}

/* Team Grid Section          */
.team-grid-container {
  display: flex;
  justify-content: center;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  width: 100%;
}

/* Individual Team Cards */
.team-card {
  background-color: rgba(255, 255, 255, 0.95); /* slightly transparent for contrast */
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  text-align: center;
  transition: transform 0.2s;
  flex: 0 0 220px;
  max-width: 220px;
  margin: 0 auto;
}

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

.team-card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}

.team-card h3 {
  margin: 10px 0 5px 0;
  font-size: 1.2em;
}

.team-card p {
  font-size: 0.9em;
  color: #555;
  margin-bottom: 5px;
}

.team-card a {
  color: #007BFF;
  text-decoration: none;
}

.team-card a:hover {
  text-decoration: underline;
}

.team-card.sponsor,
.team-card.mentor {
  flex: 0 0 480px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.team-card.sponsor {
  order: 1;
}

.team-card.mentor {
  order: 2;
}

.team-card.sponsor img,
.team-card.mentor img {
  width: 120px;
  height: 140px;
  border-radius: 8px;
  object-fit: cover;
}

ul.no-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.schedule-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px auto;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.schedule-table th,
.schedule-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.schedule-table th {
  background-color: green; /* green header */
  color: white;
  font-size: 1.1em;
  font-weight: bold;
}

.schedule-table tr:nth-child(even) td {
  background-color: rgba(245, 245, 245, 0.9);
}

.schedule-table tr:hover td {
  background-color: #f1f8f1; /* light green hover */
}

.schedule-table td {
  font-size: 0.95em;
  color: #333;
}

/* Footer */
footer {
  background-color: rgba(30, 30, 30, 0.95);
  color: white;
  text-align: center;
  padding: 15px 0;
  margin-top: 50px;
  font-size: 0.9em;
  border-radius: 8px 8px 0 0;
}

/* Responsive adjustments for medium screens */
@media (max-width: 995px) and (min-width: 600px) {
  .team-card {
    flex: 0 0 45%;
    max-width: 45%;
    margin: 10px auto;
  }

  .team-card.sponsor,
  .team-card.mentor {
    flex: 0 0 100%;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* For small screens, stack normally */
@media (max-width: 600px) {
  .team-card,
  .team-card.sponsor,
  .team-card.mentor {
    flex: 0 0 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}