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

body {
  font-family: Arial, sans-serif;
  background: #fdfdfd;
  /* cursor: none; */
}

#trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  /* click-through */
  z-index: 9999;
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 40px;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid transparent;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: slideDown 0.6s ease;
  transition: all 0.4s ease-in-out;
}

/* On hover — gives a glowing and gradient border effect */
/* header:hover {
  border-bottom: 2px solid #007bff;
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.15);
  transform: translateY(-2px);
} */

/* Animate the slide down when page loads */
@keyframes slideDown {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Example for nav links inside header */
/* header nav a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  margin: 0 18px;
  position: relative;
  transition: color 0.3s ease;
}

header nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #007bff, #00c6ff);
  left: 0;
  bottom: -4px;
  transition: width 0.3s ease;
}

header nav a:hover {
  color: #007bff;
}

header nav a:hover::after {
  width: 100%;
} */

/* Logo Section */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 22px;
  animation: bounceIn 1s ease;
}

.logo img {
  height: 80px;
  width: 80px;
  border-radius: 50%;
  transition: transform 0.5s ease;
  /* Smooth transform */
  cursor: pointer;
}

/* Image hover - only image scales */
.logo img:hover {
  transform: scale(1.2);
  animation: googleColors 2s infinite;
}

.logo span {
  transition: transform 0.5s ease;
  /* Smooth transform */
  cursor: pointer;
}

.logo span:first-child {
  color: #4285f4;
  /* Blue */
}

.logo span:last-child {
  color: #34a853;
  /* Green */
}

/* Text hover - only text scales */
.logo span:hover {
  transform: scale(1.2);
  animation: googleColors 2s infinite;
}

/* Navbar */
/* Enhanced Navigation with Button Styles */
/* Navigation Links - Default State */
/* Navigation Links */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav ul li a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  position: relative;
  color: #5f6368;
  padding: 10px 24px;
  border-radius: 24px;
  display: inline-block;
  transition: all 0.3s ease;
}

/* Home Button (1st child) - Red */
nav ul li:nth-child(1) a:hover,
nav ul li:nth-child(1) a.active {
  background: blue !important;
  color: white !important;
  width: 100%;
  font-weight: 600;
}

/* About (2nd child) - Blue */
nav ul li:nth-child(2) a:hover,
nav ul li:nth-child(2) a.active {
  background: red !important;
  color: white !important;
  width: 100%;
  font-weight: 600;
}

/* Teams (3rd child) - Green */
nav ul li:nth-child(3) a:hover,
nav ul li:nth-child(3) a.active {
  background: #34a853 !important;
  color: white !important;
  width: 100%;
  font-weight: 600;
}

/* Events (4th child) - Yellow */
nav ul li:nth-child(4) a:hover,
nav ul li:nth-child(4) a.active {
  background: #fbbc05 !important;
  color: white !important;
  width: 100%;
  font-weight: 600;
}

/* Resources (5th child) - Red */
nav ul li:nth-child(5) a:hover,
nav ul li:nth-child(5) a.active {
  background: blue !important;
  color: white !important;
  width: 100%;
  font-weight: 600;
}

/* Contact (6th child) - Blue */
nav ul li:nth-child(6) a:hover,
nav ul li:nth-child(6) a.active {
  background: red !important;
  color: white !important;
  width: 100%;
  font-weight: 600;
}

/* About Section - Red text when active */
nav ul li a[href="#about"].active {
  color: #ea4335;
  font-weight: 600;
}

/* Teams Section - Green text when active */
nav ul li a[href="#teams"].active {
  color: #34a853;
  font-weight: 600;
}

/* Events Section - Yellow text when active */
nav ul li a[href="#workshops"].active {
  color: #ea8b00;
  font-weight: 600;
}

/* Resources Section - Blue text when active */
nav ul li a[href="#resources"].active {
  color: #4285f4;
  font-weight: 600;
}

/* Contact Section - Pink text when active */
nav ul li a[href="#contact"].active {
  color: #e91e63;
  font-weight: 600;
}

@keyframes googleColors {
  0% {
    color: #4285f4;
  }

  25% {
    color: #ea4335;
  }

  50% {
    color: #fbbc05;
  }

  75% {
    color: #34a853;
  }

  100% {
    color: #4285f4;
  }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: black;
  transition: 0.3s;
}

/* Animations */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 0.5;
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  60% {
    transform: scale(1.1);
    opacity: 0.5;
  }

  100% {
    transform: scale(1);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Responsive */

/* Hamburger animation when active */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero section */
/* ===== HERO SECTION ===== */
/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: flex-start;
  /* Changed from center to flex-start */
  justify-content: space-between;
  padding: 70px 60px;
  /* Reduced padding */
  position: relative;
  background: #e8eef5;
}

/* Remove the ::before pseudo-element background */
/* .hero::before - DELETE THIS */

/* Hero Content - Left Side */
.hero-content {
  position: relative;
  z-index: 1;
  color: #111;
  max-width: 600px;
  flex: 1;
  animation: fadeIn 1.2s ease-in-out;
}
.hero-content h2 {
  font-weight: 500; /* Normal weight by default */
  font-size: 3rem;
  margin-bottom: 20px;
  color: #202124;
  line-height: 1.2;
}

/* Each span inside h2 - Enhanced smooth transition */
.hero-content h2 span {
  display: inline-block;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); /* Smooth elastic effect */
  cursor: pointer;
  font-weight: 500;
  position: relative;
}

/* Hover effect - Smooth bold with multiple effects */
.hero-content h2 span:hover {
  font-weight: 700 !important; /* Bold on hover */
  transform: scale(1.08) translateY(-2px); /* Zoom + slight lift */
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Subtle shadow for depth */
}

.hero-content h2 span::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0%;
  height: 2px;
  background: currentColor;
  transform: translateX(-50%);
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0.6;
}

.hero-content h2 span:hover::after {
  width: 100%;
}

.hero-content p {
  font-size: 1.2rem;
  color: #374151;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-content .btn {
  padding: 12px 25px;
  font-size: 16px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.hero-content .btn:hover {
  background: #1d4ed8;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
}

/* Hero Image - Right Side */
.hero-image {
  flex: 1;
  max-width: 800px;
  display: flex;
  align-items: center;
  justify-content: right align;
  z-index: 0;
  margin-top: -50px;
  /* Moves image up */
  margin-right: -120px;
}

.hero-image img {
  width: 86%;
  max-width: 1000px;
  height: auto;
  object-fit: contain;
  /* animation: float 3s ease-in-out infinite; */
  opacity: 0.9;
}

/* Social Media Icons */
/* Social Media Icons */
.social-icons-home {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.social-icon-home {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  /* Circular - your style */
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* SVG sizing */
.social-icon-home svg {
  width: 32px;
  height: 32px;
  transition: all 0.3s ease;
}

/* Instagram - Official Colors */
.social-icon-home.instagram {
  background: linear-gradient(
    45deg,
    #405de6,
    #5851db,
    #833ab4,
    #c13584,
    #e1306c,
    #fd1d1d,
    #f56040,
    #f77737,
    #fcaf45,
    #ffdc80
  );
  color: white;
}

.social-icon-home.instagram:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(225, 48, 108, 0.4);
  filter: brightness(1.15);
}

/* GitHub - Official Dark */
.social-icon-home.github {
  background: #181717;
  color: white;
}

.social-icon-home.github:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(24, 23, 23, 0.5);
  background: #24292e;
}

/* LinkedIn - Official Blue */
.social-icon-home.linkedin {
  background: #0a66c2;
  color: white;
}

.social-icon-home.linkedin:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(10, 102, 194, 0.5);
  background: #004182;
}

/* Responsive */

/* Responsive */

/* Floating animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Section */
/* ====== ABOUT SECTION ====== */
.about-section {
  padding: 120px 5% 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #f0f4f8 0%, #ffffff 100%);
}

/* Decorative floating shapes */
.about-section::before,
.about-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  z-index: 0;
}

.about-section::before {
  width: 180px;
  height: 180px;
  top: -60px;
  left: -60px;
  background: radial-gradient(circle, #1a73e8 0%, transparent 70%);
  animation: floatShape 8s ease-in-out infinite alternate;
}

.about-section::after {
  width: 250px;
  height: 250px;
  bottom: -80px;
  right: -60px;
  background: radial-gradient(circle, #00c6ff 0%, transparent 70%);
  animation: floatShape 10s ease-in-out infinite alternate-reverse;
}

/* ====== Subtitle Styling ====== */
.section-subtitle {
  font-size: 1.4rem;
  color: #1c1d29;
  max-width: 800px;
  margin: 0 auto 4rem;
  line-height: 1.8;
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
  background: linear-gradient(90deg, #1a73e8, #00c6ff, #007bff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 1s ease 0.3s forwards, gradientShift 5s ease infinite;
}

/* ====== Heading Styling ====== */
.about-section h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a73e8;
  opacity: 0;
  animation: fadeInUp 1s ease 0.5s forwards;
}

/* Paragraph Styling */
.about-section p {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.7s forwards;
  line-height: 1.7;
}

/* Floating animation for shapes */
@keyframes floatShape {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(20px) rotate(15deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* Gradient text animation */
@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Fade In Up Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Optional: Add subtle hover glow for paragraphs */
.about-section p:hover {
  color: #1a73e8;
  transform: scale(1.02);
  transition: all 0.3s ease;
}

/* Optional: Add a subtle floating effect to the subtitle */
.section-subtitle {
  animation: fadeInUp 1s ease 0.3s forwards, floatText 6s ease-in-out infinite alternate;
}

@keyframes floatText {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Why Join */
body {
  font-family: "Poppins", Arial, sans-serif;
  background: linear-gradient(180deg, #fafafa 0%, #f0f4f8 100%);
  color: #333;
  overflow-x: hidden;
}

/* ===== Section Styling ===== */
.section {
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section h2 {
  font-size: 32px;
  color: #1a73e8;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  animation: fadeSlideIn 1s ease forwards;
}

.section h2::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #1a73e8, #00c6ff);
  border-radius: 3px;
  animation: slideInLine 1.2s ease;
}

.section p {
  font-size: 16px;
  color: #555;
  margin-bottom: 50px;
  animation: fadeIn 1.5s ease forwards;
}

/* ===== Card Layout ===== */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

/* ===== Card Styling ===== */
.card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  text-align: left;
  animation: fadeUp 1s ease;
  position: relative;
  overflow: hidden;
}

/* Hover effect */
.card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 12px 30px rgba(26, 115, 232, 0.25);
}

/* Gradient glow border animation */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, #1a73e8, #00c6ff, #007bff);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover::before {
  opacity: 1;
}

/* ===== Card Inner Content ===== */
.icon {
  font-size: 32px;
  margin-bottom: 18px;
  color: #1a73e8;
  transition: transform 0.4s ease, color 0.3s ease;
}

.card:hover .icon {
  transform: rotate(12deg) scale(1.1);
  color: #007bff;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #222;
}

.card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLine {
  from {
    width: 0;
  }

  to {
    width: 60%;
  }
}

/* Mission/Vision Cards */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-bottom: 6rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 3rem 2rem;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(66, 133, 244, 0.2);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  transition: all 0.5s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(66, 133, 244, 0.1), transparent);
  transition: left 0.5s ease;
}

.card:hover::before {
  left: 100%;
}

.card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(66, 133, 244, 0.2);
  border-color: rgba(66, 133, 244, 0.5);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #4285f4, #34a853);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
}

.card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #4285f4;
  font-weight: 600;
}

.card p {
  font-size: 1.1rem;
  color: black;
  line-height: 1.7;
}

/* Journey Section */
.journey-section {
  padding: 6rem 5%;
  /* background: rgba(0, 0, 0, 0.2); */
  position: relative;
}

.journey-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 4rem;
  background: linear-gradient(135deg, #4285f4, #34a853);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #4285f4, #34a853, #fbbc05, #ea4335);
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 2rem;
  position: relative;
  margin: 3rem 0;
  width: 50%;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.timeline-item:nth-child(even) {
  align-self: flex-end;
  justify-content: flex-start;
  padding-left: 2rem;
  padding-right: 0;
  margin-left: 50%;
  transform: translateX(50px);
}

.timeline-item.show {
  opacity: 1;
  transform: translateX(0);
}

.timeline-content {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(66, 133, 244, 0.3);
  max-width: 400px;
  position: relative;
}

.timeline-content h4 {
  color: #4285f4;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.timeline-content p {
  color: #1c1d29;
  line-height: 1.6;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: linear-gradient(45deg, #4285f4, #34a853);
  border-radius: 50%;
  border: 4px solid #1a1d29;
  z-index: 1;
}

/* Join Community Section */
.join-community {
  margin: 4rem auto;
  padding: 4rem 3rem;
  background: linear-gradient(135deg, #4285f4 0%, #578dc7 25%, #05e4f0 75%, #021677 100%);
  border-radius: 25px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 800px;
  box-shadow: 0 20px 60px rgba(66, 133, 244, 0.3);
}

.join-community::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0.1),
    transparent,
    rgba(255, 255, 255, 0.1)
  );
  animation: rotate 8s linear infinite;
  z-index: 0;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

.join-community h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.join-community p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  opacity: 0.95;
}

.cta-button {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 1rem 3rem;
  font-size: 1.2rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  position: relative;
  z-index: 1;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.cta-button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* HERO SECTION STYLES END */

/* WORKSHOPS SECTION STYLES START */
.workshops {
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-align: center;
}

.workshops-container {
  max-width: 1200px;
  margin: 0 auto;
}

.workshops-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #4285f4, #34a853);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.workshops-description {
  font-size: 1.2rem;
  color: black;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* WORKSHOPS SECTION STYLES END */

/* EVENTS SECTION STYLES START */
.events {
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.02);
}

.events-container {
  max-width: 1200px;
  margin: 0 auto;
}

.events-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #4285f4;
  text-align: left;
}

.events-category {
  margin-bottom: 4rem;
}

.category-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #4285f4;
  opacity: 0.9;
  text-align: center;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.event-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid #1c1d29;
  transition: all 0.3s ease;
  cursor: pointer;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(66, 133, 244, 0.3);
}

.event-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-status {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.event-status.upcoming {
  background: rgba(147, 51, 234, 0.9);
  color: white;
}

.event-status.ongoing {
  background: rgba(249, 115, 22, 0.9);
  /* Orange color for ongoing */
  color: white;
}

.event-status.past {
  background: rgba(107, 114, 128, 0.9);
  color: white;
}

.event-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  z-index: 2;
}

.event-badge {
  background: rgba(34, 197, 94, 0.9);
  color: white;
}

.event-badge.started {
  background: rgba(59, 130, 246, 0.9);
}

.event-badge.ongoing {
  background: rgba(245, 101, 101, 0.9);
  /* Red-orange for currently running */
}

.event-badge.completed {
  background: rgba(107, 114, 128, 0.9);
}

.event-content {
  padding: 1.5rem;
}

.event-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: black;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.event-description {
  font-size: 0.95rem;
  color: black;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.event-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: black;
}

.event-detail i {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

/* Icon styles using CSS */
.icon-calendar::before {
  content: "📅";
  font-size: 14px;
}

.icon-clock::before {
  content: "🕐";
  font-size: 14px;
}

.icon-location::before {
  content: "📍";
  font-size: 14px;
}

.icon-users::before {
  content: "👥";
  font-size: 14px;
}

#resources {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f0f4f8, #ffffff);
  position: relative;
  overflow: hidden;
}

/* Floating animated circles */
#resources::before,
#resources::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(66, 133, 244, 0.1);
  animation: float 12s ease-in-out infinite;
}

#resources::before {
  top: -150px;
  left: -150px;
}

#resources::after {
  bottom: -120px;
  right: -150px;
  animation-delay: 6s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-30px) translateX(20px);
  }
}

/* Section titles */
.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #4285f4, #ea4335, #fbbc05, #34a853);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInDown 1.2s ease;
}

.subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 50px;
  animation: fadeInUp 1.2s ease;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Grid layout: 3 cards per row */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-items: stretch;
}

/* Resource cards */
.resource-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  border: 1px solid #eee;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.resource-card::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(66, 133, 244, 0.2), transparent);
  top: -100%;
  left: -100%;
  transform: rotate(45deg);
  transition: 0.6s ease;
}

.resource-card:hover::before {
  top: 0;
  left: 0;
}

.resource-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.resource-card i {
  font-size: 3rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #4285f4, #ea4335, #fbbc05, #34a853);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.resource-card h3 {
  margin: 10px 0;
  font-size: 1.4rem;
}

.resource-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* Gallery section */
#gallery {
  padding: 80px 20px;
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Modal styles (shared) */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 35px;
  border-radius: 20px;
  width: 90%;
  max-width: 650px;
  text-align: center;
  position: relative;
  animation: slideIn 0.4s ease-out;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}

@keyframes slideIn {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
  transition: color 0.3s ease;
}

.modal .close:hover {
  color: #4285f4;
}

/* Album (book style) */
.album {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 30px;
  perspective: 1200px;
  min-height: 350px;
}

.album-page {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: none;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  animation: fadePage 0.6s ease;
}

.album-page.active {
  display: flex;
}

.album-page img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.cover-page {
  background: #ffffff;
  /* plain background instead of gradient */
  color: #333;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* GDG logo styling */
.cover-page .gdg-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  animation: fadeInZoom 1.5s ease;
}

.cover-page h2 {
  margin-bottom: 10px;
  font-size: 1.8rem;
  color: #4285f4;
  /* GDSC blue */
}

.cover-page p {
  font-size: 1.1rem;
  color: #555;
}

/* Animation for logo */
@keyframes fadeInZoom {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Page transition */
@keyframes fadePage {
  from {
    opacity: 0;
    transform: rotateY(-20deg);
  }

  to {
    opacity: 1;
    transform: rotateY(0deg);
  }
}

/* Navigation buttons */
.album-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
  gap: 40px;
  /* spacing between buttons */
}

.album-btn {
  padding: 12px 35px;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  background: linear-gradient(90deg, #4285f4, #34a853);
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.5s ease;
  /* smoother */
}

.album-btn:hover {
  background: linear-gradient(90deg, #ea4335, #fbbc05);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Smooth page fade/flip */
@keyframes fadePage {
  from {
    opacity: 0;
    transform: rotateY(-45deg) scale(0.95);
  }

  to {
    opacity: 1;
    transform: rotateY(0) scale(1);
  }
}

/* EVENTS SECTION STYLES END */
/* Footer */
.footer {
  background: #0f1419;
  padding: 4rem 5% 2rem;
  border-top: 1px solid rgba(66, 133, 244, 0.2);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4285f4, transparent);
  opacity: 0.3;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-section h3 {
  color: #4285f4;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-about {
  color: #a0aec0;
  line-height: 1.7;
  margin: 1rem 0;
}

.footer-contact {
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Logo */
.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-logo-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 10px;
  background: rgba(66, 133, 244, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #4285f4;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(66, 133, 244, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4285f4;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: linear-gradient(135deg, #4285f4, #34a853);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(66, 133, 244, 0.1);
  color: #a0aec0;
}

.footer-bottom span {
  color: #ea4335;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 500px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-logo {
    justify-content: center;
  }
}

/* Responsive Design */
/* EVENTS RESPONSIVE STYLES END */

/* RESPONSIVE STYLES END */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

body {
  font-family: "Poppins", sans-serif;
  color: #fff;
  overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, #1a1d29 0%, #2d3748 50%, #1a1d29 100%);
}

.bg-animation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%234285f4" stop-opacity="0.1"/><stop offset="100%" stop-color="%234285f4" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="300" r="100" fill="url(%23a)"><animate attributeName="cx" values="200;800;200" dur="20s" repeatCount="indefinite"/></circle><circle cx="800" cy="700" r="150" fill="url(%23a)"><animate attributeName="cx" values="800;200;800" dur="25s" repeatCount="indefinite"/></circle></svg>');
}

/* Container */
.container {
  max-width: 1000px;
  margin: 10px auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero-section {
  text-align: center;
  margin: 8rem 0 4rem;
  transform: translateY(50px);
  opacity: 0;
  animation: heroRise 1.2s ease forwards 0.3s;
}

@keyframes heroRise {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 2rem;
  color: #1a1d29;
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%,
  100% {
    text-shadow: 0 0 20px rgba(66, 133, 244, 0.3);
  }

  50% {
    text-shadow: 0 0 40px rgba(66, 133, 244, 0.6), 0 0 60px rgba(66, 133, 244, 0.4);
  }
}

.gradient-text {
  background: linear-gradient(
    135deg,
    #4285f4 0%,
    #34a853 25%,
    #fbbc05 50%,
    #ea4335 75%,
    #4285f4 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.hero-subtitle {
  font-size: 1.3rem;
  color: black;
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.8;
  animation: subtitleFade 1.5s ease forwards 1s;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes subtitleFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-10deg);
  }

  50% {
    opacity: 1;
    transform: scale(1.05) rotate(5deg);
  }

  70% {
    transform: scale(0.95) rotate(-2deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.animate-fade-in {
  animation: fadeInUp 1s ease forwards;
}

.animate-slide-up {
  animation: slideUp 0.8s ease forwards;
}

.animate-bounce-in {
  animation: bounceIn 1s ease forwards;
}

/* Team Leads Section with Special Styling */
.team-leads-section {
  position: relative;
  margin-bottom: 10rem;
}

.team-leads-title {
  font-size: 7.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%) translateY(-80%);
  pointer-events: none;
  white-space: nowrap;
  font-family: "Arial Black", "Arial Bold", Arial, sans-serif;
  background: linear-gradient(to bottom, #1a1d29 0%, transparent 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: rgba(66, 133, 244, 0.15);
  -webkit-text-fill-color: transparent;
  z-index: 0;
  text-shadow: 0 0 40px rgba(66, 133, 244, 0.1);
}

.team-leads-content {
  position: relative;
  z-index: 1;
  margin-top: 150px;
}
.section-members {
  transform: translateY(-10%);
}
/* Our members*/
.section-header {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: #e2e8f0;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
  transform: translateY(-100%);
}

.section-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 47%;
  transform: translateX(-40%);
  width: 280px;
  height: 3px;
  background: linear-gradient(90deg, #4ade80 0%, #fbbf24 100%);
}

@keyframes underlineFloat {
  0%,
  100% {
    width: 100px;
  }
  50% {
    width: 120px;
  }
}

/* Cards */
.card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(66, 133, 244, 0.2);
  transition: all 0.5s ease;
  overflow: hidden;
  position: relative;
  transform: translateY(-100%);
  padding: 3rem 2rem;
  text-align: center;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(66, 133, 244, 0.1), transparent);
  transition: left 0.5s ease;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(66, 133, 244, 0.2);
  border-color: rgba(66, 133, 244, 0.5);
  animation: cardGlow 0.6s ease forwards;
}

@keyframes cardGlow {
  0% {
    box-shadow: 0 20px 40px rgba(66, 133, 244, 0.2);
  }

  50% {
    box-shadow: 0 25px 50px rgba(66, 133, 244, 0.4), 0 0 30px rgba(66, 133, 244, 0.3);
  }

  100% {
    box-shadow: 0 20px 40px rgba(66, 133, 244, 0.2);
  }
}

.card-image {
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 3rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  border: 2px solid #4285f4;
  transition: all 0.3s ease;
  position: relative;
}

.card-image:hover {
  transform: scale(1.05);
  animation: imageFloat 2s ease-in-out infinite;
}

@keyframes imageFloat {
  0%,
  100% {
    transform: scale(1.05) translateY(0px) rotate(0deg);
  }

  50% {
    transform: scale(1.05) translateY(-5px) rotate(2deg);
  }
}

.card-name {
  font-size: 3rem;
  font-weight: bold;
  color: #e2e8f0;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.card:hover .card-name {
  color: #4285f4;
  animation: textPulse 1s ease infinite;
}

@keyframes textPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.card-role {
  color: #4285f4;
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.card-bio {
  color: #a0aec0;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(66, 133, 244, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4285f4;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(66, 133, 244, 0.3) 0%, transparent 70%);
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
}

.social-btn:hover::before {
  width: 100px;
  height: 100px;
}

.social-btn:hover {
  background: #4285f4;
  color: white;
  transform: translateY(-5px) rotate(10deg);
  animation: socialBounce 0.6s ease forwards;
}

@keyframes socialBounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(-5px) rotate(10deg);
  }

  40% {
    transform: translateY(-10px) rotate(-5deg);
  }

  60% {
    transform: translateY(-8px) rotate(5deg);
  }
}

.social-icon {
  width: 1.2rem;
  height: 1.2rem;
  z-index: 1;
  position: relative;
}

/* Coordinator Grid */
.coordinator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  max-width: 64rem;
  margin: 0 auto;
}

.coordinator-grid .card {
  animation: coordinatorSlide 1s ease forwards;
  opacity: 0;
  transform: translateY(-50%);
  cursor: pointer;
}

.coordinator-grid .card:nth-child(1) {
  animation-delay: 0.2s;
}

.coordinator-grid .card:nth-child(2) {
  animation-delay: 0.4s;
  transform: translateX(-50%);
}

@keyframes coordinatorSlide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* New Carousel Styles */
.carousel-container {
  width: 100%;
  max-width: 1200px;
  height: 450px;
  position: relative;
  perspective: 1000px;
  margin: 0 auto 4rem;
  animation: carouselFade 1.5s ease forwards;
  opacity: 0;
}

@keyframes carouselFade {
  to {
    opacity: 1;
  }
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lead-card {
  position: absolute;
  width: 16rem;
  height: 18rem;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  perspective: 1000px;
}

.lead-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.lead-card:hover .lead-card-inner {
  transform: rotateY(180deg);
}

.lead-card-front,
.lead-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 1rem;
  overflow: hidden;
}

.lead-card-front {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(66, 133, 244, 0.2);
}

.lead-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lead-card-back {
  background: rgba(26, 29, 41, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(66, 133, 244, 0.4);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
}

.lead-social-links {
  display: flex;
  gap: 1.5rem;
}

.lead-social-btn {
  width: 60px;
  height: 60px;
  background: rgba(66, 133, 244, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4285f4;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid rgba(66, 133, 244, 0.3);
}

.lead-social-btn:hover {
  background: #4285f4;
  color: white;
  transform: scale(1.1);
  border-color: #4285f4;
}

.lead-social-btn svg {
  width: 24px;
  height: 24px;
}

.lead-card.center {
  z-index: 10;
  transform: scale(1.1) translateZ(0);
  box-shadow: 0 30px 60px -12px rgba(66, 133, 244, 0.4);
  border-color: rgba(66, 133, 244, 0.6);
}

.lead-card.center img {
  filter: none;
}

.lead-card.left-2 {
  z-index: 1;
  transform: translateX(-400px) scale(0.8) translateZ(-300px);
  opacity: 0.7;
}

.lead-card.left-2 img {
  filter: grayscale(100%);
}

.lead-card.left-1 {
  z-index: 5;
  transform: translateX(-200px) scale(0.9) translateZ(-100px);
  opacity: 0.9;
}

.lead-card.left-1 img {
  filter: grayscale(100%);
}

.lead-card.right-1 {
  z-index: 5;
  transform: translateX(200px) scale(0.9) translateZ(-100px);
  opacity: 0.9;
}

.lead-card.right-1 img {
  filter: grayscale(100%);
}

.lead-card.right-2 {
  z-index: 1;
  transform: translateX(400px) scale(0.8) translateZ(-300px);
  opacity: 0.7;
}

.lead-card.right-2 img {
  filter: grayscale(100%);
}

.lead-card.hidden {
  opacity: 0;
  pointer-events: none;
}

.member-info {
  text-align: center;
  margin-top: 20px;
  transition: all 0.5s ease-out;
  transform: translateY(-180%);
}

.member-name {
  color: #4285f4;
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

/* ADD these new classes: */
.section {
  margin-bottom: 8rem;
}

.faculty-coordinator-section {
  margin-bottom: 10rem;
}

.lead-organizer-section {
  margin-bottom: 10rem;
}

.member-role {
  color: #a0aec0;
  font-size: 1.8rem;
  font-weight: 500;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 0;
  margin-top: -15px;
  position: relative;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 60px;
  transform: translateY(-500%);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(66, 133, 244, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  transform: translateY(-500%);
}

.dot.active {
  background: #4285f4;
  transform: scale(1.2);
  animation: dotGlow 2s ease-in-out infinite;
  transform: translateY(-500%);
}

@keyframes dotGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.4);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(66, 133, 244, 0);
  }
}

/* Tabs */
.tabs-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tab-button {
  padding: 0.75rem 2rem;
  border-radius: 50px;
  border: 1px solid rgba(66, 133, 244, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: #1a73e8;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transform: translateY(-100%);
}

.tab-button.active {
  background: linear-gradient(45deg, #4285f4, #34a853);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
  animation: tabGlow 2s ease infinite;
  transform: translateY(-100%);
}

@keyframes tabGlow {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
  }

  50% {
    box-shadow: 0 6px 25px rgba(66, 133, 244, 0.5), 0 0 20px rgba(52, 168, 83, 0.3);
  }
}

/* Members Grid */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.member-card {
  cursor: pointer;
  perspective: 1000px;
  height: 320px;
  opacity: 0;
  animation: memberEntrance 0.8s ease forwards;
}

.member-card:nth-child(1) {
  animation-delay: 0.1s;
}

.member-card:nth-child(2) {
  animation-delay: 0.2s;
}

.member-card:nth-child(3) {
  animation-delay: 0.3s;
}

.member-card:nth-child(4) {
  animation-delay: 0.4s;
}

.member-card:nth-child(5) {
  animation-delay: 0.5s;
}

.member-card:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes memberEntrance {
  0% {
    opacity: 0;
    transform: perspective(1000px) rotateY(-90deg) translateY(50px) scale(0.8);
  }

  50% {
    opacity: 0.7;
    transform: perspective(1000px) rotateY(-30deg) translateY(10px) scale(1.05);
  }

  100% {
    opacity: 1;
    transform: perspective(1000px) rotateY(0deg) translateY(0px) scale(1);
  }
}

.member-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.member-card:hover .member-card-inner {
  transform: rotateY(180deg);
}

.member-card-front,
.member-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(66, 133, 244, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.member-card-back {
  transform: rotateY(180deg);
  background: rgba(52, 168, 83, 0.05);
  border-color: rgba(52, 168, 83, 0.3);
}

.member-card-back h4 {
  color: #34a853;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.member-card-back p {
  color: #a0aec0;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.member-card .card-content {
  padding: 2rem;
}

.member-card .card-image {
  width: 10rem;
  height: 10rem;
}

.member-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #4285f4;
  margin-bottom: 0.25rem;
}

.member-role {
  color: #7c3aed;
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(5px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  animation: overlayFade 0.3s ease forwards;
}

@keyframes overlayFade {
  from {
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
  }

  to {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}

.modal {
  background: #111827;
  color: white;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 32rem;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid #10b981;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.8) rotateY(20deg);
  animation: modalEntrance 0.6s ease forwards;
}

@keyframes modalEntrance {
  0% {
    transform: scale(0.8) rotateY(20deg);
    opacity: 0;
  }

  50% {
    transform: scale(1.05) rotateY(-5deg);
    opacity: 0.8;
  }

  100% {
    transform: scale(1) rotateY(0deg);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  background: #374151;
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: #4b5563;
  transform: rotate(90deg) scale(1.1);
}

/* UPDATED MODAL WITH BLUR BACKGROUND */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  /* Beautiful blur background instead of black */
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
  /* Add subtle animation */
  opacity: 0;
  transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
}

.modal.show {
  display: flex !important;
  opacity: 1;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}

.modal-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 30px;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  position: relative;
  z-index: 1000000;
  /* Beautiful shadow */
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  /* Smooth scale animation */
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: scale(1);
}

.modal .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  z-index: 1000001;
  color: #666;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.modal .close:hover {
  color: #4285f4;
  background: rgba(66, 133, 244, 0.2);
  transform: scale(1.1);
}

/* Download button enhancement */
.download-btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #4285f4, #34a853);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
  font-weight: 500;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(66, 133, 244, 0.4);
  background: linear-gradient(135deg, #5a95f5, #4caf50);
}

/* Enhanced modal content styling */
.modal-content h2 {
  color: #333;
  margin-bottom: 15px;
  font-size: 1.6rem;
  font-weight: 600;
}

.modal-content p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* For browsers that don't support backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
  .modal {
    background: rgba(0, 0, 0, 0.7);
  }

  .modal-content {
    background: rgba(255, 255, 255, 0.98);
  }
}

/* iOS Safari fix */
@supports (-webkit-backdrop-filter: blur(10px)) {
  .modal {
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
  }

  .modal-content {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }
}
