/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  min-height: 100vh;
  line-height: 1.6;
}

#bgvideo {
  opacity: 0.5;
  position: fixed;
  z-index: -1;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Navbar (matches index & members) */
.navbar {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding-bottom: 5px;
  padding-top: 5px;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
    display: flex;
    width: 60px;
    height: 60px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ff0000;
}

/* Main content */
.main-content {
  margin-top: 30px;
  padding: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 2rem 0;
  color: #000;
  background: #fff;
  padding: 1rem 2rem;
  border-radius: 12px;
  display: inline-block;
  margin-left: 50%;
  transform: translateX(-50%);
  box-shadow: 8px 8px 2px black;
}

/* Event card */
.event-card {
  display: flex;
  flex-wrap: wrap;
  background: #e8edf5;
  color: #000;
  border-radius: 15px;
  margin: 2rem 0;
  overflow: hidden;
  box-shadow: 6px 6px 0 black;
  transition: transform 0.3s ease;
}

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

.event-image {
  flex: 1 1 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.event-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
}

.event-details {
  flex: 1 1 60%;
  padding: 2rem;
}

.event-number {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  opacity: 0.7;
}

.event-details h3 {
  font-size: 1.8rem;
  margin: 0.5rem 0;
  font-weight: 700;
}

.event-date {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.event-desc {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #333;
}

.event-link {
  text-decoration: none;
  color: #111;
  font-weight: 600;
  transition: color 0.3s ease;
}

.event-link:hover {
  color: #ff0000;
}

/* Responsive */
@media (max-width: 768px) {
  .event-card {
    flex-direction: column;
    text-align: center;
  }

  .event-image, .event-details {
    flex: 1 1 100%;
  }
}
@keyframes typing {
      from { width:0}
      to { width: 24rem }
}

@keyframes blink {
      50% { border-color: transparent }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .nav-menu a {
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .main-content {
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        font-size: 0.8rem;
        gap: 0.5rem;
    }
    
    .section-title {
        font-size: 1.2rem;
        padding: 0.6rem 1rem;
    }
    
}
html {
    scroll-behavior: smooth;
}