body {
  margin: 0;
  background-color: #111;
  color: white;
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 50px 20px 50px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-link {
  text-decoration: none;
  color: inherit;
}

.logo-link img {
  height: 50px;
}

.logo-text {
  text-decoration: none;
  color: inherit;
}

.logo-text h1 {
  margin: 0;
  font-size: 24px;
  color: gold;
}

.logo-text p {
  margin: 0;
  font-size: 14px;
  color: #ccc;
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  color: white;
  font-size: 16px;
  transition: color 0.3s;
}

nav a:hover,
nav a:focus {
  color: gold;
}

main {
  text-align: center;
  padding: 50px 20px;
}

.homepage-intro {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: left;
}

.video-container {
  flex: 1;
  min-width: 0;
}

.video-container iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
}

.intro-text {
  flex: 1;
  min-width: 0;
}

.intro-text h1 {
  margin: 0 0 20px 0;
  font-size: 36px;
  color: gold;
}

.intro-text p {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #ccc;
  line-height: 1.6;
}

.homepage-story {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  max-width: 1000px;
  margin: 80px auto;
  padding: 40px 20px;
  text-align: left;
}

.story-image-container {
  flex: 1;
  min-width: 0;
}

.story-image-container img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.story-text {
  flex: 1;
  min-width: 0;
}

.story-text h1 {
  margin: 0 0 20px 0;
  font-size: 36px;
  color: gold;
}

.story-text p {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #ccc;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .homepage-story {
    flex-direction: column;
    text-align: center;
  }
  
  .story-text {
    text-align: center;
  }
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 80px auto 40px auto;
  padding: 0 20px;
}

.social-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.social-icon:hover {
  transform: scale(1.3);
}

.feature-cards {
  display: flex;
  gap: 50px;
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 60px;
  justify-content: center;
}

.feature-card {
  flex: 1;
  max-width: 200px;
  background-color: #2a2a2a;
  border-radius: 12px;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 320px;
}

.fll-card {
  background-color: #680303;
}

.ftc-card {
  background-color: #020264;
}

.mentorship-card {
  background-color: #DAA520;
}

.feature-card h2 {
  margin: 0 0 20px 0;
  font-size: 24px;
  color: white;
  font-weight: 600;
}

.card-image-placeholder {
  width: 100%;
  height: 100px;
  background-color: #888;
  border-radius: 8px;
  margin-bottom: 15px;
  flex-shrink: 0;
}

.card-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.3s, transform 0.2s;
  margin-top: auto;
}

.fll-card .card-button {
  background-color: #d76d7d;
  color: white;
}

.ftc-card .card-button {
  background-color: #1e3c96;
  color: white;
}

.mentorship-card .card-button {
  background-color: #FFA500;
  color: white;
}

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

@media (max-width: 768px) {
  .feature-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .feature-card {
    max-width: 100%;
  }
}

.season-page {
  text-align: center;
  color: white;
  background-color: #111;
  padding: 50px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.tabs-container {
  max-width: 1200px;
  margin: 0 auto;
}

.tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
}

.tab-button {
  padding: 12px 30px;
  background-color: transparent;
  color: #ccc;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s, border-color 0.3s;
  font-family: 'Segoe UI', sans-serif;
}

.tab-button:hover {
  color: white;
}

.tab-button.active {
  color: gold;
  border-bottom-color: gold;
}

.tab-content {
  display: none;
  text-align: left;
  padding: 20px;
}

.tab-content.active {
  display: block;
}

.tab-content h2 {
  color: gold;
  font-size: 32px;
  margin-bottom: 20px;
}

.tab-content p {
  color: #ccc;
  font-size: 16px;
  line-height: 1.6;
}

.sub-tabs-container {
  margin-top: 10px;
}

.sub-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
}

.sub-tab-button {
  padding: 10px 20px;
  background-color: transparent;
  color: #ccc;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s, border-color 0.3s;
  font-family: 'Segoe UI', sans-serif;
}

.sub-tab-button:hover {
  color: white;
}

.sub-tab-button.active {
  color: gold;
  border-bottom-color: gold;
}

.sub-tab-content {
  display: none;
  text-align: left;
  padding: 20px 0;
}

.sub-tab-content.active {
  display: block;
}

.sub-tab-content h3 {
  color: gold;
  font-size: 24px;
  margin-bottom: 15px;
}

.sub-tab-content p {
  color: #ccc;
  font-size: 16px;
  line-height: 1.6;
}

/* Outreach Grid Styling */
.outreach-page {
  background-color: #111;
  color: white;
  text-align: center;
  padding: 50px 20px;
}



/* Team page styles */
.team-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 60px 20px;
}

/* Sponsors page styles */
.sponsors-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 60px 20px;
  text-align: center;
  color: white;
}

.sponsors-page h1 {
  color: gold;
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
}

.sponsor-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
}

.sponsor-card {
  display: flex;
  align-items: center;
  background: #181818;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  padding: 24px 32px;
  min-width: 320px;
  max-width: 900px;
  width: 100%;
  gap: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.sponsor-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.22);
  transform: translateY(-4px) scale(1.02);
}

.sponsor-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  margin-right: 18px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.10);
}

.sponsor-info {
  text-align: left;
}

.sponsor-info h2 {
  margin: 0 0 8px 0;
  color: #fff;
  font-size: 1.3rem;
}

.sponsor-info p {
  margin: 0;
  color: #ccc;
  font-size: 1rem;
  line-height: 1.5;
}


.sponsors-page a {
  color: gold;
  text-decoration: none;
}

.sponsors-page a:hover {
  color: #ffd700;
  text-decoration: underline;
}

/* Footer styles */
footer {
  background-color: #2a2a2a;
  color: white;
  padding: 40px 150px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-top: auto;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column h3 {
  margin: 0 0 8px 0;
  color: gold;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.footer-column a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: gold;
}

.footer-column p {
  margin: 0;
  color: #ccc;
  font-size: 14px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  height: 50px;
}

.footer-logo p {
  margin: 0;
  color: #ccc;
  font-size: 16px;
  text-align: center;
  max-width: 200px;
  line-height: 1.4;
}

.footer-column a .social-handle {
  color: white;
}

.footer-logo p .legendlearn-word {
  color: white;
}

main {
  flex: 1;
}

@media (max-width: 768px) {
  .homepage-intro {
    flex-direction: column;
    text-align: center;
  }
  
  .intro-text {
    text-align: center;
  }
  
  .videos-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Video search styling */
.video-search-container {
  max-width: 1200px;
  margin: 0 auto 30px auto;
  padding: 0 20px;
}

.search-results-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.search-results-container h3 {
  color: gold;
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.hidden {
  display: none !important;
}

.video-search-input {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: block;
  padding: 12px 20px;
  font-size: 16px;
  background-color: #222;
  color: white;
  border: 2px solid #444;
  border-radius: 8px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.video-search-input:focus {
  outline: none;
  border-color: gold;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.video-search-input::placeholder {
  color: #888;
}

/* Videos grid styling */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
}

.video-item {
  display: flex;
  flex-direction: column;
}

.video-item.hidden {
  display: none;
}

.video-item h4 {
  margin-bottom: 15px;
  color: gold;
  font-size: 18px;
}

