/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #03c4eb;
  --primary-dark: #0299b8;
  --primary-light: #26d4ff;
  --secondary-color: #00a8cc;
  --accent-color: #4dd0e1;
  --accent-purple: #80deea;
  --accent-cyan: #03c4eb;
  --accent-pink: #ff6b9d;
  --text-primary: #f8fafc;
  --text-secondary: #e2e8f0;
  --text-tertiary: #cbd5e1;
  --text-muted: #94a3b8;
  --bg-primary: #0a0a0f;
  --bg-secondary: #111827;
  --bg-tertiary: #1f2937;
  --bg-card: #1a1f2e;
  --bg-card-hover: #252b3d;
  --bg-elevated: #1e293b;
  --border-color: rgba(3, 196, 235, 0.2);
  --border-hover: rgba(3, 196, 235, 0.5);
  --gradient-primary: linear-gradient(
    135deg,
    #03c4eb 0%,
    #00a8cc 50%,
    #4dd0e1 100%
  );
  --gradient-secondary: linear-gradient(
    135deg,
    #03c4eb 0%,
    #26d4ff 50%,
    #80deea 100%
  );
  --gradient-accent: linear-gradient(135deg, #03c4eb 0%, #4dd0e1 100%);
  --gradient-hero: linear-gradient(
    135deg,
    #0a0a0f 0%,
    #111827 30%,
    #1f2937 60%,
    #0a0a0f 100%
  );
  --gradient-glow: radial-gradient(
    circle,
    rgba(3, 196, 235, 0.2) 0%,
    transparent 70%
  );
  --gradient-overlay: linear-gradient(
    180deg,
    rgba(10, 10, 15, 0.8) 0%,
    rgba(10, 10, 15, 0.95) 100%
  );
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.8);
  --shadow-xl: 0 24px 56px rgba(0, 0, 0, 0.9);
  --shadow-glow: 0 0 40px rgba(3, 196, 235, 0.4);
  --shadow-glow-strong: 0 0 60px rgba(3, 196, 235, 0.6);
  --shadow-glow-purple: 0 0 40px rgba(3, 196, 235, 0.4);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
}

/* Responsive images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-primary);
  background-image: radial-gradient(
      at 0% 0%,
      rgba(3, 196, 235, 0.1) 0px,
      transparent 50%
    ),
    radial-gradient(at 100% 0%, rgba(3, 196, 235, 0.08) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(3, 196, 235, 0.06) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(77, 208, 225, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
  background-size: 200% 200%;
  animation: backgroundShift 20s ease infinite;
}

@keyframes backgroundShift {
  0%,
  100% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
}

/* Animated CSESA Logo Background */
.animated-logo-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.08;
}

.csesa-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80vw;
  height: 80vw;
  max-width: 800px;
  max-height: 800px;
  color: var(--primary-color);
  animation: logoFloat 20s ease-in-out infinite;
  transform-origin: center center;
  transform: translate(-50%, -50%);
}

.csesa-logo .dashes path {
  animation: dashPulse 2s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.2s);
}

.csesa-logo .dashes path:nth-child(1) {
  --i: 0;
}
.csesa-logo .dashes path:nth-child(2) {
  --i: 1;
}
.csesa-logo .dashes path:nth-child(3) {
  --i: 2;
}
.csesa-logo .dashes path:nth-child(4) {
  --i: 3;
}
.csesa-logo .dashes path:nth-child(5) {
  --i: 4;
}

.csesa-logo .c-shape {
  animation: cShapeGlow 3s ease-in-out infinite;
}

.csesa-logo .node {
  animation: nodePulse 2s ease-in-out infinite;
  animation-delay: calc(var(--j, 0) * 0.3s);
}

.csesa-logo .node:nth-child(1) {
  --j: 0;
}
.csesa-logo .node:nth-child(2) {
  --j: 1;
}
.csesa-logo .node:nth-child(3) {
  --j: 2;
}

.csesa-logo .logo-text {
  animation: textGlow 3s ease-in-out infinite;
}

.csesa-logo .logo-subtext {
  animation: textGlow 3s ease-in-out infinite;
  animation-delay: 0.5s;
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(-5deg) scale(1);
    opacity: 0.08;
  }
  25% {
    transform: translate(-50%, -50%) rotate(-3deg) translateY(-30px) scale(1.05);
    opacity: 0.1;
  }
  50% {
    transform: translate(-50%, -50%) rotate(-5deg) translateY(-20px) scale(1);
    opacity: 0.08;
  }
  75% {
    transform: translate(-50%, -50%) rotate(-7deg) translateY(-10px) scale(0.95);
    opacity: 0.06;
  }
}

@keyframes dashPulse {
  0%,
  100% {
    opacity: 0.6;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(5px);
  }
}

@keyframes cShapeGlow {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

@keyframes nodePulse {
  0%,
  100% {
    opacity: 0.7;
    r: 12;
  }
  50% {
    opacity: 1;
    r: 15;
  }
}

@keyframes textGlow {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.9;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(15px, 3vw, 20px);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 15, 0.95);
  border-bottom-color: var(--border-hover);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-icon:hover {
  transform: scale(1.15) rotate(5deg);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  background-size: 300% 300%;
  z-index: -1;
  animation: gradientShift 25s ease infinite;
}

.hero-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(3, 196, 235, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(3, 196, 235, 0.18) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 20%,
      rgba(3, 196, 235, 0.12) 0%,
      transparent 50%
    ),
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(99,102,241,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 1;
  animation: pulse 10s ease-in-out infinite;
}

.hero-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      ellipse at top,
      rgba(3, 196, 235, 0.15) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at bottom,
      rgba(3, 196, 235, 0.12) 0%,
      transparent 60%
    );
  animation: float 18s ease-in-out infinite;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.hero-content {
  text-align: center;
  color: white;
  z-index: 1;
  animation: fadeInUp 1s ease;
}

.hero-logo {
  width: clamp(120px, 15vw, 200px);
  height: clamp(120px, 15vw, 200px);
  object-fit: contain;
  margin: 0 auto 30px;
  display: block;
  animation: heroLogoFloat 6s ease-in-out infinite;
  transition: all 0.4s ease;
}

.hero-logo:hover {
  transform: scale(1.05);
}

@keyframes heroLogoFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-title {
  font-size: clamp(1.75rem, 5vw + 1rem, 3.75rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #e2e8f0 30%,
    #cbd5e1 60%,
    #26d4ff 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw + 0.5rem, 1.85rem);
  font-weight: 400;
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.03em;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: clamp(10px, 1.5vw, 12px) clamp(24px, 3vw, 30px);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.5vw + 0.2rem, 1rem);
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  animation: glow 2s ease-in-out infinite;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary:active {
  transform: translateY(-1px) scale(1.02);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--bg-primary);
  border-color: rgba(255, 255, 255, 0.95);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.25);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid white;
  border-radius: 20px;
  position: relative;
}

.mouse::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: white;
  border-radius: 2px;
  animation: scroll 1.5s infinite;
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw + 0.5rem, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
  animation: fadeInUp 0.8s ease forwards;
  position: relative;
  display: inline-block;
  letter-spacing: -0.03em;
  background: linear-gradient(
    135deg,
    var(--text-primary) 0%,
    var(--text-secondary) 50%,
    var(--primary-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-1);
  animation: titleUnderline 1s ease forwards 0.5s;
}

@keyframes titleUnderline {
  to {
    width: 100%;
  }
}

.title-underline {
  width: 0;
  height: 4px;
  background: var(--gradient-primary);
  margin: 0 auto 25px;
  border-radius: 3px;
  animation: expandLine 1.2s ease forwards 0.8s;
  position: relative;
}

.title-underline::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 10px;
  background: var(--gradient-primary);
  border-radius: 3px;
  opacity: 0.4;
  filter: blur(10px);
}

@keyframes expandLine {
  to {
    width: 80px;
  }
}

.section-subtitle {
  font-size: clamp(1rem, 2vw + 0.2rem, 1.2rem);
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 0.02em;
  opacity: 0.9;
}

/* Leadership Heads Section */
.heads-section {
  background: linear-gradient(
    180deg,
    var(--bg-secondary) 0%,
    var(--bg-tertiary) 100%
  );
  position: relative;
  overflow: hidden;
}

.heads-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(3, 196, 235, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(3, 196, 235, 0.15) 0%,
      transparent 50%
    );
  pointer-events: none;
  animation: pulse 11s ease-in-out infinite;
}

.heads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.head-card {
  background: var(--bg-card);
  border-radius: 28px;
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--border-color);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.head-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(3, 196, 235, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

.head-card:hover::before {
  opacity: 1;
}

.head-card:hover {
  transform: translateY(-22px) scale(1.06);
  border-color: var(--primary-color);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
  background: var(--bg-card-hover);
}

.head-image-wrapper {
  position: relative;
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 160px;
}

.head-image {
  width: 160px;
  height: 160px;
  min-width: 160px;
  min-height: 160px;
  max-width: 160px;
  max-height: 160px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--primary-color);
  position: relative;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
  z-index: 2;
  box-sizing: border-box;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

.head-image::after {
  content: "\f00e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: white;
  font-size: 2.5rem;
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.head-image:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

.head-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
  border-radius: 50%;
}

.head-card:hover .head-image img {
  transform: scale(1.15);
}

.head-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(170px, 17vw, 220px);
  height: clamp(170px, 17vw, 220px);
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0;
  filter: blur(25px);
  transition: opacity 0.5s ease;
  z-index: 1;
  animation: pulseGlow 2s ease-in-out infinite;
}

.head-card:hover .head-glow {
  opacity: 0.6;
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.6;
  }
}

.head-info {
  position: relative;
  z-index: 2;
}

.head-name {
  font-size: clamp(1.25rem, 2.5vw + 0.3rem, 1.6rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
  transition: color 0.3s ease;
  letter-spacing: -0.01em;
}

.head-card:hover .head-name {
  color: var(--primary-color);
}

.head-role {
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 20px;
  font-size: clamp(0.95rem, 1.8vw + 0.2rem, 1.15rem);
}

.head-social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.head-social .social-link {
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
}

/* About Section */
.about {
  background: var(--bg-secondary);
  color: var(--text-primary);
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(3, 196, 235, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(3, 196, 235, 0.08) 0%,
      transparent 50%
    );
  pointer-events: none;
  animation: pulse 12s ease-in-out infinite;
}

.about-content {
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: center;
}

.about-intro {
  font-size: clamp(1.15rem, 2.5vw + 0.3rem, 1.4rem);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 22px;
  letter-spacing: 0.3px;
}

.about-description {
  font-size: clamp(0.95rem, 2vw + 0.2rem, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.9;
  opacity: 0.95;
}

.vision-mission {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.vm-card {
  background: var(--bg-card);
  padding: 50px 45px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.vm-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.vm-card:hover::before {
  opacity: 1;
}

.vm-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.vm-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: white;
  animation: float 4s ease-in-out infinite;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.vm-card:hover .vm-icon {
  transform: scale(1.25) rotate(360deg);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8);
}

.vm-card h3 {
  font-size: 1.6rem;
  margin-bottom: 18px;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.vm-card p,
.vm-card ul {
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: 1.05rem;
}

.vm-card ul {
  text-align: left;
  list-style: none;
  padding-left: 0;
}

.vm-card ul li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 10px;
}

.vm-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.quote-section {
  margin-top: 70px;
  padding: 60px 50px;
  background: var(--gradient-primary);
  border-radius: 28px;
  text-align: center;
  color: white;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  animation: fadeInUp 1s ease forwards;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.quote-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.quote-icon {
  font-size: 3rem;
  opacity: 0.3;
  margin-bottom: 20px;
}

.quote-text {
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.8;
}

/* Events Section */
.events {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  position: relative;
  overflow: visible;
}

.events::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 80% 20%,
      rgba(3, 196, 235, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(3, 196, 235, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
  animation: pulse 14s ease-in-out infinite;
}

.event-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 14px 32px;
  border: 2px solid var(--primary-color);
  background: var(--bg-card);
  color: var(--primary-color);
  border-radius: 35px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Poppins", sans-serif;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.4px;
}

.filter-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--gradient-primary);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
  width: 300px;
  height: 300px;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-4px) scale(1.08);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px 0;
  overflow: visible;
}

.event-card {
  background: var(--bg-card);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
  user-select: none;
  will-change: transform;
}

.event-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

.event-card:hover::before {
  opacity: 1;
}

.event-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  z-index: 10;
}

.event-image {
  width: 100%;
  height: clamp(180px, 25vw, 220px);
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.event-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.event-content {
  padding: 25px;
}

.event-title {
  font-size: clamp(1.15rem, 2vw + 0.3rem, 1.4rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.event-category {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(3, 196, 235, 0.25);
  border-radius: 18px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 15px;
  border: 1px solid rgba(3, 196, 235, 0.3);
}

.event-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: clamp(0.85rem, 1.5vw + 0.15rem, 0.95rem);
  opacity: 0.9;
}

.event-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.event-card:hover .event-read-more {
  transform: translateX(6px);
  color: var(--primary-light);
}

.event-read-more i {
  transition: transform 0.3s ease;
}

.event-card:hover .event-read-more i {
  transform: translateX(3px);
}

/* Event Modal */
.event-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.event-modal.active {
  display: flex;
}

.event-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
}

.event-modal-content {
  position: relative;
  z-index: 10001;
  background: var(--bg-card);
  border-radius: 20px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
  animation: slideUp 0.4s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(3, 196, 235, 0.3);
}

.event-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid rgba(3, 196, 235, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-light);
  z-index: 10002;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.event-modal-close:hover {
  background: var(--primary-color);
  color: white;
  transform: rotate(90deg);
}

.event-modal-body {
  display: flex;
  flex-direction: column;
}

.event-modal-image {
  width: 100%;
  height: clamp(200px, 30vh, 250px);
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.event-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.event-modal-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
}

.event-modal-info {
  padding: 40px;
}

.event-modal-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.event-modal-category {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(3, 196, 235, 0.25);
  border-radius: 22px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 20px;
  border: 1px solid rgba(3, 196, 235, 0.3);
}

.event-modal-description {
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: 1.15rem;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .event-modal-content {
    max-width: 95%;
    max-height: 95vh;
  }

  .event-modal-image {
    height: 200px;
  }

  .event-modal-info {
    padding: 25px;
  }

  .event-modal-title {
    font-size: 1.5rem;
  }
}

/* Faculty Section */
.faculty {
  background: var(--bg-secondary);
  color: var(--text-primary);
  position: relative;
}

.faculty::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 15% 50%,
      rgba(3, 196, 235, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 85% 50%,
      rgba(3, 196, 235, 0.08) 0%,
      transparent 50%
    );
  pointer-events: none;
  animation: pulse 13s ease-in-out infinite;
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.faculty-card {
  background: var(--bg-card);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  border: 1px solid var(--border-color);
  position: relative;
}

.faculty-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.faculty-card:hover::before {
  opacity: 1;
}

.faculty-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.faculty-image {
  width: 100%;
  height: clamp(250px, 30vw, 320px);
  overflow: hidden;
  background: var(--gradient-secondary);
  display: flex;
  justify-content: center;
  align-items: center;
}

.faculty-image img {
  width: clamp(50%, 60vw, 60%);
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
}

.faculty-info {
  padding: 30px;
}

.faculty-info h3 {
  font-size: clamp(1.25rem, 2.5vw + 0.3rem, 1.6rem);
  margin-bottom: 12px;
  color: var(--text-primary);
  font-weight: 700;
}

.faculty-role {
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 18px;
  font-size: clamp(0.95rem, 1.8vw + 0.2rem, 1.1rem);
}

.faculty-message {
  color: var(--text-secondary);
  line-height: 1.9;
  font-style: italic;
  font-size: clamp(0.9rem, 1.8vw + 0.15rem, 1.05rem);
  opacity: 0.95;
}

/* Team Section */
.team {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  position: relative;
}

.team::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(3, 196, 235, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
  animation: pulse 15s ease-in-out infinite;
}

.team-categories {
  margin-top: 50px;
}

.team-category {
  margin-bottom: 60px;
}

.category-title {
  font-size: clamp(1.5rem, 3vw + 0.5rem, 2.2rem);
  font-weight: 700;
  margin-bottom: 35px;
  color: var(--text-primary);
  text-align: center;
  position: relative;
  padding-bottom: 18px;
  letter-spacing: -0.02em;
}

.category-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 3px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 35px;
}

.team-grid.center-small-grid {
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(220px, max-content));
  max-width: 800px;
  margin: 0 auto;
}

.team-member {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 35px 30px;
  text-align: center;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.team-member::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.team-member:hover::before {
  left: 100%;
}

.team-member:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.member-image {
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--primary-color);
  position: relative;
  background: var(--gradient-primary);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
  box-sizing: border-box;
  z-index: 2;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

.member-image:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
  border-color: var(--primary-light);
}

.member-image::after {
  content: "\f00e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: white;
  font-size: 2.5rem;
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.member-image:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
  border-radius: 50%;
}

.team-member:hover .member-image img {
  transform: scale(1.15);
}

.member-name {
  font-size: clamp(1.1rem, 2vw + 0.3rem, 1.35rem);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
  transition: color 0.3s ease;
  letter-spacing: -0.01em;
}

.team-member:hover .member-name {
  color: var(--primary-color);
}

.member-role {
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 20px;
  font-size: clamp(0.85rem, 1.5vw + 0.2rem, 1rem);
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(3, 196, 235, 0.3);
  font-size: 1.1rem;
}

.social-link:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
  border-color: transparent;
}

/* Contact Section */
.contact {
  background: var(--bg-secondary);
  color: var(--text-primary);
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 30% 40%,
      rgba(3, 196, 235, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(3, 196, 235, 0.08) 0%,
      transparent 50%
    );
  pointer-events: none;
  animation: pulse 16s ease-in-out infinite;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 40px 35px;
  background: var(--bg-card);
  border-radius: 24px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.contact-item:hover::before {
  opacity: 1;
}

.contact-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.contact-icon {
  width: 55px;
  height: 55px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.contact-details h4 {
  font-size: clamp(1.05rem, 2vw + 0.2rem, 1.25rem);
  margin-bottom: 12px;
  color: var(--text-primary);
  font-weight: 700;
}

.contact-details p {
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: clamp(0.9rem, 1.8vw + 0.15rem, 1.05rem);
  opacity: 0.95;
}

.contact-details a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: clamp(0.75rem, 1.5vw + 0.1rem, 0.9rem);
  word-break: break-word;
}

.contact-details a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

/* Footer */
.footer {
  background: linear-gradient(180deg, var(--bg-primary) 0%, #050508 100%);
  color: white;
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0.6;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: clamp(1rem, 2.5vw + 0.3rem, 1.25rem);
  font-weight: 700;
}

.footer-logo .logo-icon {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.footer-text {
  margin-bottom: 10px;
  opacity: 0.8;
  font-size: clamp(0.85rem, 1.8vw + 0.1rem, 0.95rem);
}

.footer-credit {
  opacity: 0.6;
  font-size: clamp(0.75rem, 1.5vw + 0.1rem, 0.85rem);
}

/* Enhanced Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-10deg) scale(0.8);
  }
  to {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  }
  50% {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  }
}

/* Add animations to sections */
.about {
  animation: fadeInUp 1s ease forwards;
}

.events {
  animation: fadeInUp 1s ease forwards;
}

.team {
  animation: fadeInUp 1s ease forwards;
}

.contact {
  animation: fadeInUp 1s ease forwards;
}

.faculty {
  animation: fadeInUp 1s ease forwards;
}

/* Animate cards on scroll */
.vm-card {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.vm-card:nth-child(1) {
  animation-delay: 0.1s;
}

.vm-card:nth-child(2) {
  animation-delay: 0.3s;
}

/* Enhanced event card animations */
.event-card {
  animation: scaleIn 0.6s ease forwards;
  opacity: 0;
}

/* Enhanced team member animations */
.team-member {
  animation: rotateIn 0.6s ease forwards;
  opacity: 0;
}

/* Faculty card animations */
.faculty-card {
  animation: slideInLeft 0.8s ease forwards;
  opacity: 0;
}

.faculty-card:nth-child(2) {
  animation-name: slideInRight;
}

.faculty-card:nth-child(3) {
  animation-name: slideInLeft;
}

/* Contact item animations */
.contact-item {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.contact-item:nth-child(1) {
  animation-delay: 0.1s;
}
.contact-item:nth-child(2) {
  animation-delay: 0.2s;
}
.contact-item:nth-child(3) {
  animation-delay: 0.3s;
}
.contact-item:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--bg-card);
    width: 100%;
    text-align: center;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-md);
    padding: 2rem 0;
    border-top: 1px solid rgba(3, 196, 235, 0.2);
    z-index: 999;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    padding: 1rem 0;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    display: block;
    width: 100%;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
    position: relative;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .hero-logo {
    width: 150px;
    height: 150px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .vision-mission {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 25px;
  }

  .team-grid.center-small-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, max-content));
    max-width: 600px;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    align-items: center;
  }

  .heads-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
  }

  .head-glow {
    width: clamp(140px, 22vw, 170px);
    height: clamp(140px, 22vw, 170px);
  }

  .faculty-image {
    height: clamp(250px, 40vw, 320px);
  }

  .faculty-image img {
    width: clamp(50%, 60vw, 60%);
  }

  .event-image {
    height: clamp(180px, 30vw, 220px);
  }

  .event-modal-image {
    height: clamp(200px, 35vh, 250px);
  }
}

@media (max-width: 480px) {
  .nav-link {
    font-size: 1rem;
    padding: 0.6rem 1rem;
  }

  .hero-logo {
    width: clamp(100px, 25vw, 120px);
    height: clamp(100px, 25vw, 120px);
  }

  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
  }

  .team-grid.center-small-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, max-content));
    max-width: 100%;
    padding: 0 10px;
  }

  .head-glow {
    width: clamp(130px, 27vw, 140px);
    height: clamp(130px, 27vw, 140px);
  }

  .faculty-image {
    height: clamp(200px, 50vw, 250px);
  }

  .event-image {
    height: clamp(150px, 40vw, 180px);
  }

  .btn {
    padding: clamp(8px, 2vw, 10px) clamp(18px, 4vw, 20px);
    font-size: clamp(0.85rem, 2vw, 0.9rem);
  }

  .logo-icon {
    width: clamp(32px, 8vw, 42px);
    height: clamp(32px, 8vw, 42px);
  }

  .team-member {
    padding: clamp(25px, 5vw, 35px) clamp(20px, 4vw, 30px);
  }

  .category-title {
    margin-bottom: clamp(25px, 5vw, 35px);
  }

  .footer-content {
    align-items: center;
  }
}

/* Enhanced loading animations with stagger effect */
.event-card:nth-child(1) {
  animation-delay: 0.1s;
}
.event-card:nth-child(2) {
  animation-delay: 0.2s;
}
.event-card:nth-child(3) {
  animation-delay: 0.3s;
}
.event-card:nth-child(4) {
  animation-delay: 0.4s;
}
.event-card:nth-child(5) {
  animation-delay: 0.5s;
}
.event-card:nth-child(6) {
  animation-delay: 0.6s;
}
.event-card:nth-child(7) {
  animation-delay: 0.7s;
}
.event-card:nth-child(8) {
  animation-delay: 0.8s;
}
.event-card:nth-child(9) {
  animation-delay: 0.9s;
}
.event-card:nth-child(10) {
  animation-delay: 1s;
}

/* Photo Modal */
.photo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.photo-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  position: relative;
  z-index: 10001;
  background: var(--bg-card);
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
  animation: slideUp 0.4s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(3, 196, 235, 0.3);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid rgba(3, 196, 235, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-light);
  z-index: 10002;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.modal-close:hover {
  background: var(--primary-color);
  color: white;
  transform: rotate(90deg);
}

.modal-image-container {
  width: 100%;
  height: 450px;
  overflow: hidden;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.modal-image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.modal-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.modal-content:hover .modal-image-container img {
  transform: scale(1.05);
}

.modal-info {
  padding: 35px;
  text-align: center;
  background: var(--bg-card);
}

.modal-info h3 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.modal-info p {
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 25px;
  font-size: 1.25rem;
}

.modal-social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.modal-social .social-link {
  width: 48px;
  height: 48px;
  font-size: 1.3rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Professional Styling */
.team-member {
  background: var(--bg-card);
  border: 1px solid rgba(3, 196, 235, 0.2);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-member:hover {
  border-color: var(--primary-color);
  background: var(--bg-card-hover);
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
}

/* Enhanced Buttons */

/* Enhanced Navigation */

/* Enhanced Hero */
.hero-background {
  background: var(--gradient-hero);
  background-size: 200% 200%;
  animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Enhanced Contact Items */
.contact-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
  transform: translateY(-10px);
  background: var(--bg-card-hover);
}

/* Responsive Modal */
@media (max-width: 768px) {
  .modal-content {
    max-width: 95%;
    max-height: 95vh;
  }

  .modal-image-container {
    height: 300px;
  }

  .modal-info {
    padding: 20px;
  }

  .modal-info h3 {
    font-size: 1.4rem;
  }
  .team-member {
    max-width: 200px;
  }

  .member-image {
    max-width: 130px;
  }
}

.footer-content {
  display: flex;
  justify-content: space-around;
}

@media (max-width: 360px) {
  .team-grid {
    justify-items: center;
  }

  .team-member {
    margin-inline: auto;
    width: 100%;
    max-width: 260px;
  }
}
