/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Orbitron', sans-serif;
  background-color: #0a0a14;
  color: #e0e0ff;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Header */
.event-header {
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(10, 10, 20, 0.85);
  border-bottom: 1px solid rgba(0, 245, 255, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
}

.back-button {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: #00f5ff;
  font-size: 1.5rem;
  text-decoration: none;
  background: rgba(0, 245, 255, 0.1);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}

.back-button:hover {
  background: rgba(0, 245, 255, 0.2);
  transform: translateX(-5px);
}

.event-logo img {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 0 10px #00f5ff);
}

.event-branding h1 {
  font-size: 2.2rem;
  color: #00f5ff;
  text-shadow: 0 0 10px rgba(0, 245, 255, 0.7);
  margin-left: 40rem;
  letter-spacing: 0.2rem;
}

.nav-bg {
  display: flex;
  justify-content: center;
}

/* Container */
.event-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Bearers Grid */
.bearers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

/* Committee Section */
.committee-section {
  background: linear-gradient(to top, rgba(0, 245, 255, 0.15) 0%, rgb(10, 10, 20) 20%);
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.15);
  transition: all 0.6s ease;
  background-size: 100% 200%;
  background-position: bottom;
}

.committee-section:hover {
  background-position: top;
  box-shadow: 0 0 25px rgba(0, 245, 255, 0.4);
  transform: translateY(-5px);
}

.committee-name {
  font-size: 1.4rem;
  color: #00f5ff;
  margin-bottom: 1.5rem;
  text-align: center;
  text-shadow: 0 0 8px rgba(0, 245, 255, 0.5);
  border-bottom: 1px solid rgba(0, 245, 255, 0.3);
  padding-bottom: 0.8rem;
}

/* Members Container */
.members-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5rem;
}

/* Member Card */
.member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 140px;
}

.member-photo {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.8rem;
  background-color: rgba(0, 245, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-name {
  font-family: 'Noto Sans Multani', sans-serif;
  color: #c0c0ff;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Back to Home */
.bottom-back-button {
  text-align: center;
  margin: 3rem 0 2rem;
}

.back-button2 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #00f5ff;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border: 2px solid rgba(0, 245, 255, 0.3);
  border-radius: 25px;
  transition: 0.3s;
  background: rgba(0, 245, 255, 0.1);
  font-family: 'Orbitron', sans-serif;
}

.back-button2:hover {
  background: rgba(0, 245, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .event-branding h1 {
    font-size: 1.6rem;
    margin-left: 50px;
  }
  
  .bearers-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .committee-section {
    padding: 1rem;
  }
  
  .committee-name {
    font-size: 1.2rem;
  }
  
  .members-container {
    gap: 4rem;
  }
  
  .member-card {
    width: 300px;
  }
  
  .member-photo {
    width: 150px;
    height: 150px;
  }
  
  .member-name {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .member-card {
    width: 100px;
  }
  
  .member-photo {
    width: 150px;
    height: 150px;
  }
  
  .member-name {
    font-size: 0.8rem;
  }
}