html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  overflow-x: hidden;
  font-family: 'Lexend', sans-serif;
}
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  position: relative;
  padding-top: 80px;
}
.video-background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}
#bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  max-width: 1000px;
  margin: 0 auto;
  text-shadow: 0 0 5px #1b4bb1, 0 0 10px #1b4bb1, 0 0 20px #ffffff00, 0 0 40px #1b4bb100, 0 0 80px #1b4bb100;
}
.content h1 {
  font-size: clamp(1.8rem, 4vw + 0.5rem, 3rem);
  margin-bottom: 15px;
  line-height: 1.2;
}
.subtitle {
  font-size: clamp(1rem, 2.2vw + 0.3rem, 1.6rem);
  color: #fff;
  margin-top: 8px;
  letter-spacing: 0.05em;
}
.button-group {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.neon-button {
  display: inline-block;
  padding: clamp(10px, 2vw, 15px) clamp(20px, 4vw, 35px);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 400;
  color: #fff;
  text-shadow: 0 0 5px #1b4bb1, 0 0 10px #1b4bb1, 0 0 20px #ffffff00, 0 0 40px #1b4bb100, 0 0 80px #1b4bb100;
  text-decoration: none;
  text-transform: uppercase;
  border: 2px solid #0d41b2;
  border-radius: 10px;
  background-color: #ffffff30;
  box-shadow: 0 0 5px #1b4bb1, 0 0 10px #1b4bb1, 0 0 20px #1b4bb1, 0 0 40px #1b4bb1;
  transition: all 0.3s ease;
}
.neon-button:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 10px #1b4bb1, 0 0 20px #1b4bb1, 0 0 40px #1b4bb1, 0 0 60px #1b4bb1;
  color: #fff;
}
.team-page {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  color: #e6f6ff;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}
.team-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #022153;
  margin-top: 10vh;
  margin-bottom: 2vh;
  text-shadow: 0 0 10px #e2e7ee;
  text-align: center;
}
.team-intro-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 80%;
  margin: 0 auto;
  gap: 40px;
  box-sizing: border-box;
  flex-wrap: nowrap;
}
.team-intro-img {
  width: 450px;
  height: 240px;
  border-radius: 3%;
  border: 3px solid #000;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}
.team-intro {
  position: relative;
  background-color: #84a7cb;
  border-radius: 8px;
  color: #000;
  transition: transform 0.3s ease;
  width: 38%;
  padding: 20px;
  box-sizing: border-box;
  text-align: left;
}
.team-intro:before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid #022153;
  border-radius: 6px;
  pointer-events: none;
}
.team-intro p {
  margin: 0;
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.5;
}
.team-circle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  gap: 30px;
  padding: 0 2vw;
  box-sizing: border-box;
  margin-top: 40px;
  margin-bottom: 80px;
}
.team-member {
  position: relative;
  flex: 1 1 250px;
  max-width: 256px;
  min-width: 220px;
  text-align: center;
  border-radius: 4px;
  color: #022153;
  transition: all 0.4s ease;
  font-size: 0.9em;
  background-color: hsl(210, 41%, 66%);
  cursor: pointer;
  overflow: hidden;
  padding: 12px;
  box-sizing: border-box;
}
.team-member:hover {
  transform: translateY(-10px);
}
.team-member:before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid #022153;
  border-radius: 6px;
  pointer-events: none;
}
.team-member img {
  width: clamp(70px, 8vw, 90px);
  height: clamp(70px, 8vw, 90px);
  border-radius: 10%;
  border: 3px solid #000;
  object-fit: cover;
}
.team-member h2 { margin-bottom: -10px; }
.short-bio { margin-bottom: 0; }
.team-member i.bi { margin-top: -5px; }
.team-member .more-info {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.6s ease;
}
.team-member.expanded {
  background-color: hsl(210, 41%, 76%);
  transform: scale(1.03);
  padding-bottom: 20px;
  max-height: none;
}
.team-member.expanded .more-info {
  max-height: 500px;
  opacity: 1;
  margin-top: -30px;
  margin-bottom: 0;
}
.linkedin-link a {
  color: #08539e;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #08539e;
  border-radius: 5px;
  padding: 4px 8px;
  transition: all 0.3s ease;
  background-color: #ffffffa5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.back-bar { 
  background-color: #0a224b;
}
.footer-container { 
  background-color: #0a224b; 
  backdrop-filter: blur(10px); 
}
@media (max-width: 1024px) {
  .team-intro-wrapper { flex-direction: column; align-items: center; text-align: center; gap: 25px; width: 85%; }
  .team-intro-img { width: 70%; max-width: 420px; height: auto; object-fit: contain; }
  .team-intro { width: 90%; font-size: 0.95em; }
  .team-circle { gap: 25px; margin-top: 30px; margin-bottom: 90px; }
  .team-member { flex: 0 1 calc(45% - 20px); max-width: calc(45% - 20px); font-size: 0.85em; }
}
@media (max-width: 768px) {
  .team-intro-wrapper { width: 90%; gap: 20px; }
  .team-intro-img { width: 80%; max-width: 380px; }
  .team-intro { width: 95%; font-size: 0.9em; }
  .team-circle { gap: 25px; margin-top: 30px; margin-bottom: 100px; }
  .team-member { flex: 0 1 calc(48% - 20px); max-width: calc(48% - 20px); font-size: 0.8em; padding: 10px; }
  .team-member.expanded { max-height: none; }
}
@media (max-width: 480px) {
  .content h1 { font-size: 2rem; }
  .subtitle { font-size: 1.1rem; }
  .neon-button { padding: 10px 25px; font-size: 0.95rem; }
  .team-intro-wrapper { width: 95%; gap: 15px; }
  .team-intro-img { width: 90%; max-width: 320px; }
  .team-intro { width: 95%; padding: 10px; font-size: 0.85em; text-align: center; }
  .team-circle { flex-direction: column; align-items: center; gap: 25px; margin-bottom: 120px; }
  .team-member { width: 90%; max-width: 360px; font-size: 0.8em; padding: 10px; }
  .team-member img { width: 75px; height: 75px; }
}
