* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

/* CSS Variables */
:root {
  --primary-color: #00e5ff;
  --secondary-color: #ff4081;
  --dark-bg: #0d0d14;
  --darker-bg: #1e1e2f;
  --text-light: #e0e0e0;
  --text-muted: #aaa;
}

/* Dark Gradient Background */
body {
  background: radial-gradient(circle at top left, #1e1e2f, #0d0d14);
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Loading Animation */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0d0d14;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: fadeOut 0.5s 1.5s forwards;
}

.loader-circle {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(0, 229, 255, 0.3);
  border-top: 3px solid #00e5ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 15, 25, 0.95);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  z-index: 1000;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  animation: slideDown 0.6s ease;
}

nav.scrolled {
  padding: 10px 40px;
  background: rgba(15, 15, 25, 0.98);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  /* background: linear-gradient(90deg, #00e5ff, #ff4081); */
  /* background-clip: text; */
  /* -webkit-background-clip: text; */
  /* -webkit-text-fill-color: transparent; */
  /* animation: glow 2s ease-in-out infinite alternate; */

}

.logo img {
  height: 100px;
  width: 100px;
  object-fit: contain;
}

/* @keyframes glow {
  from {
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5));
  }

  to {
    filter: drop-shadow(0 0 20px rgba(255, 64, 129, 0.5));
  }
} */

.logo-icon {
  width: 35px;
  height: 35px;
  /* background: linear-gradient(135deg, #00e5ff, #ff4081); */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #e0e0e0;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
  padding: 5px 0;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00e5ff, #ff4081);
  transition: width 0.3s;
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a:hover {
  color: #00e5ff;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #00e5ff;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding: 140px 40px 100px;
  min-height: 100vh;
  position: relative;
}

/* Animated Background Particles */
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(0, 229, 255, 0.5);
  border-radius: 50%;
  animation: float 15s infinite linear;
}

@keyframes float {
  from {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  to {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

.hero-left {
  flex: 1;
  max-width: 600px;
  animation: fadeInLeft 1s ease;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-left h1 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #00e5ff, #ff4081);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
  from {
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.5));
  }

  to {
    filter: drop-shadow(0 0 30px rgba(255, 64, 129, 0.5));
  }
}

.hero-left p {
  font-size: 20px;
  margin-bottom: 30px;
  color: #ccc;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.hero-buttons a {
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-light {
  background: linear-gradient(135deg, #00e5ff, #00bcd4);
  color: #0d0d14;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 229, 255, 0.6);
}

.btn-dark {
  background: rgba(30, 30, 47, 0.8);
  color: #fff;
  border: 2px solid #00e5ff;
  backdrop-filter: blur(10px);
}

.btn-dark:hover {
  background: rgba(0, 229, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 229, 255, 0.3);
}

/* Stats Counter */
.stats {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  background: linear-gradient(90deg, #00e5ff, #ff4081);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: #aaa;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Right - Events Sidebar */
.hero-right {
  flex: 1;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInRight 1s ease;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-right h2 {
  margin-bottom: 20px;
  text-align: center;
  color: #00e5ff;
  font-size: 1.8rem;
}

.event-update {
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
  border-radius: 12px;
  margin-bottom: 18px;
  border-left: 4px solid #00e5ff;
  transition: all 0.3s;
  cursor: pointer;
}

.event-update:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

.event-update h4 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.1rem;
}

.event-update p {
  color: #aaa;
  font-size: 14px;
  margin-bottom: 5px;
}

.event-badge {
  display: inline-block;
  background: linear-gradient(135deg, #00e5ff, #ff4081);
  color: white;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 5px;
}

.register-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, #00e5ff, #ff4081);
  color: white;
  font-weight: bold;
  padding: 14px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.register-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s;
}

.register-btn:hover::before {
  left: 100%;
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 229, 255, 0.6);
}

/* Sections */
section {
  padding: 100px 40px;
  min-height: 100vh;
  text-align: center;
  position: relative;
}

.section-title {
  margin-bottom: 15px;
  font-size: 2.5rem;
  background: linear-gradient(90deg, #00e5ff, #ff4081);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.section-subtitle {
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 18px;
  color: #bbb;
  line-height: 1.8;
}

/* About Section */
#about {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.03), rgba(255, 64, 129, 0.03));
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 50px auto;
}

.about-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 229, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.about-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #00e5ff, #ff4081);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
}

.about-card h3 {
  color: #00e5ff;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.about-card p {
  color: #ccc;
  line-height: 1.6;
}

/* Events Section */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 50px auto;
}

.event-card {
  /* width: 100vw; */
  /* left: 300px; */
  /* margin-bottom: 10px; */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.event-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 229, 255, 0.4);
}

.event-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #00e5ff, #ff4081);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
}

.event-date {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.event-content {
  padding: 25px;
}

.event-content h3 {
  color: #00e5ff;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.event-content p {
  color: #aaa;
  margin-bottom: 15px;
  line-height: 1.6;
}

.event-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.event-tag {
  background: rgba(0, 229, 255, 0.1);
  color: #00e5ff;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  border: 1px solid rgba(0, 229, 255, 0.3);
}

/* Members Section */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 50px auto;
}

.member-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #00e5ff, #ff4081);
}

.member-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 229, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.member-avatar {
  width: 100px;

  background-size: cover;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  /* background: linear-gradient(135deg, #00e5ff, #ff4081); */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  font-weight: bold;
  position: relative;
}

.member-avatar img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* .member-avatar::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid transparent;
  background: linear-gradient(135deg, #00e5ff, #ff4081);
  background-clip: padding-box;
  animation: rotate 3s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
} */

.member-card h3 {
  color: #fff;
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.member-role {
  color: #00e5ff;
  font-size: 14px;
  margin-bottom: 15px;
  font-weight: 500;
}

.member-bio {
  color: #aaa;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.member-socials {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-link {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00e5ff;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.social-link:hover {
  background: rgba(0, 229, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 229, 255, 0.4);
}

/* Contact Section */
#contact {
  background: linear-gradient(135deg, rgba(255, 64, 129, 0.03), rgba(0, 229, 255, 0.03));
}

.contact-container {
  max-width: 800px;
  margin: 50px auto;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
  margin-bottom: 25px;
  text-align: left;
}

.form-group label {
  display: block;
  color: #00e5ff;
  margin-bottom: 10px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00e5ff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #00e5ff, #ff4081);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 229, 255, 0.6);
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.8);
  color: #aaa;
  padding: 50px 40px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  color: #00e5ff;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-section p,
.footer-section ul {
  color: #aaa;
  line-height: 1.8;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #00e5ff;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #666;
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #00e5ff, #ff4081);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4);
  z-index: 999;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 229, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
  nav {
    padding: 15px 20px;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 25, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    flex-direction: column;
    padding: 120px 20px 80px;
    gap: 40px;
  }

  .hero-left h1 {
    font-size: 2.5rem;
  }

  .hero-right {
    max-width: 100%;
  }

  .stats {
    justify-content: space-around;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Animations on Scroll */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* #explore {
  position: relative;
  left: 200px;
} */

/* .left {
  position: relative;
  left: 160px;
} */