*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: Arial, sans-serif;
}

body{
  background:#081b29;
  color:white;
}

/* HERO VIDEO SECTION */
.hero{
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.hero-video{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  top: 0;
  left: 0;
}

.hero-overlay{
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  text-align: center;
  z-index: 15;
}

.hero-overlay h1{
  font-size: 60px;
  letter-spacing: 4px;
}

.hero-overlay p{
  margin-top: 10px;
  font-size: 18px;
  opacity: 0.9;
}

/* SOUND BUTTON */
.sound-btn{
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 20;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.sound-btn:hover{
  background: rgba(255,255,255,0.2);
}

/* MEMBERS / EVENTS GRID */
.members{
  padding: 60px 10%;
  text-align: center;
}

.members h2{
  font-size: 40px;
}

.members span{
  color: #ff2e88;
}

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

/* CARD STYLING */
.card{
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 300px;
  cursor: pointer;
}

.card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.overlay{
  position: absolute;
  bottom:0;
  left:0;
  width:100%;
  height:100%;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  text-align: left;
  transition: background 0.4s;
}

.overlay h3{
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 1px;
}

.overlay p{
  font-size: 15px;
  color: #ddd;
}

.card:hover img{
  transform: scale(1.1);
}

.card:hover .overlay{
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

/* RESPONSIVE */
@media(max-width:600px){
  .hero{
    height: 200px;
  }
  .hero-overlay h1{
    font-size: 32px;
  }
  .hero-overlay p{
    font-size: 14px;
  }
  .member-grid{
    grid-template-columns: 1fr;
  }
}
/* MOBILE HERO VIDEO */
@media(max-width:600px){
  .hero{
    height: 50vh; /* increase height slightly */
    min-height: 250px; /* ensures video is fully visible */
  }

  .hero-video{
    object-fit: cover; /* fills container, can change to 'contain' if you want full video visible without cropping */
  }

  .hero-overlay h1{
    font-size: 28px;
  }

  .hero-overlay p{
    font-size: 14px;
  }

  .member-grid{
    grid-template-columns: 1fr;
  }
}