:root {
  --bg-1: #020024;
  --bg-2: #090979;
  --accent: #00d4ff;
  --text: #ffffff;
  --muted: #c7d6ff;
  --card-bg: rgba(255, 255, 255, 0.07);
  --card-border: rgba(255, 255, 255, 0.24);
  --shadow-neon: 0 0 18px rgba(0, 212, 255, 0.45);
  --radius: 18px;
  --container: min(1150px, 90%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: linear-gradient(-45deg, #020024, #090979, #02123a, #05003a);
  background-size: 300% 300%;
  animation: gradientShift 5s ease infinite;
  line-height: 1.6;
  overflow-x: hidden;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1.5rem;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.35);
}

.subheading {
  margin: 2rem 0 1rem;
  text-align: center;
  font-size: 1.3rem;
}

/* Scroll progress */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, #00d4ff, #67e8f9);
  box-shadow: var(--shadow-neon);
  z-index: 9999;
}

/* Decorative floating shapes */
.bg-shape {
  position: fixed;
  border-radius: 50%;
  filter: blur(16px);
  opacity: 0.24;
  pointer-events: none;
  z-index: 0;
  animation: floatShape 4s ease-in-out infinite;
}

.shape-1 {
  width: 260px;
  height: 260px;
  top: 10%;
  left: -70px;
  background: #00d4ff;
}

.shape-2 {
  width: 200px;
  height: 200px;
  right: 8%;
  top: 45%;
  background: #1e40af;
  animation-delay: 1.4s;
}

.shape-3 {
  width: 170px;
  height: 170px;
  left: 55%;
  bottom: 8%;
  background: #38bdf8;
  animation-delay: 2s;
}

@keyframes floatShape {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-24px);
  }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(2, 5, 38, 0.45);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.navbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.3px;
  font-size: 1.1rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.1rem;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

.mid-heading {
  font-size: 1.7rem;
  font-weight: 600;
  text-align: center;
}

/* Reusable components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-neon {
  color: #001428;
  padding: 0.72rem 1.35rem;
  background: linear-gradient(135deg, #00d4ff, #7df9ff);
  box-shadow: 0 0 0 rgba(0, 212, 255, 0), 0 10px 26px rgba(0, 212, 255, 0.35);
}

.btn-neon:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.75), 0 10px 28px rgba(0, 212, 255, 0.55);
}

.glass-panel,
.glass-card,
.sponsor-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
}

.glass-panel {
  padding: 1.4rem;
  font-size: 1.05rem;
  color: #dbeafe;
}

.grid {
  display: grid;
  gap: 1.15rem;
}

.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.domains-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.glass-card {
  padding: 1.35rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 255, 0.6);
  box-shadow: 0 10px 35px rgba(0, 212, 255, 0.25);
}

.card-icon {
  font-size: 1.55rem;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

/* Hero */
.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  line-height: 1.15;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.35);
}

.hero-tag {
  color: #93c5fd;
  margin-bottom: 0.6rem;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  font-size: 1.2rem;
}

.subtitle {
  font-size: clamp(1rem, 2.8vw, 1.3rem);
  color: #d6ebff;
  margin-bottom: 1rem;
}

.hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.3rem;
  margin-bottom: 1.5rem;
}

.hero-meta span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
}

.hero-btn {
  padding-inline: 1.8rem;
}

/* Sponsors */
.sponsors-ribbon {
  overflow: hidden;
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.sponsors-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding: 0.7rem 0.4rem;
  animation: sponsorMarquee 24s linear infinite;
}

@keyframes sponsorMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

.sponsors-ribbon:hover .sponsors-track {
  animation-play-state: paused;
}

.sponsor-card {
  padding: 1rem;
  min-width: 250px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sponsor-card img {
  max-width: 100%;
  border-radius: 10px;
  opacity: 0.92;
}

.sponsor-card:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-neon);
}

/* Domains */
.domain-card {
  text-align: center;
}

.domain-card h3 {
  margin-bottom: 0.35rem;
}

.domain-card p {
  color: #dbeafe;
}

/* ===== GALLERY GRID (3 per row) ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ===== KEEP YOUR ORIGINAL ZOOM EFFECT ===== */
.gallery-item {
  overflow: hidden;
  border-radius: 12px;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* 🔥 SAME ZOOM EFFECT */
.gallery-item:hover img {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Team */
.leadership-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.members-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.member-card {
  text-align: center;
}

.member-card img {
  width: 190px;          /* 🔥 smaller size */
  height: 190px;
  object-fit: cover;
  border-radius: 50%;    /* makes it circular (looks better) */
  margin: 0 auto 10px;   /* center + spacing */
  display: block;
}



.member-card h3,
.member-card h4 {
  margin-bottom: 0.2rem;
}

.member-card p {
  color: #cbd5e1;
}

/* ===== LEADERSHIP (TOP) ===== */
.leadership-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

/* ===== VOLUNTEERS (BOTTOM) ===== */
.volunteers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 in one row */
  gap: 20px;
}

/* ===== IMAGE SIZE ===== */
.member-card img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: block;
  transition: 0.3s;
}

.member-card img:hover {
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

@media (max-width: 768px) {
  .volunteers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .volunteers-grid {
    grid-template-columns: 1fr;
  }
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2rem 0;
}

/* Center line */
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  transform: translateX(-50%);
}

/* Steps */
.timeline-step {
  position: relative;
  width: 50%;
  padding: 1.5rem 2rem;
}

/* Left side */
.timeline-step:nth-child(odd) {
  left: 0;
  text-align: right;
}

/* Right side */
.timeline-step:nth-child(even) {
  left: 50%;
}

/* Dot */
.step-dot {
  position: absolute;
  top: 20px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: var(--shadow-neon);
}

/* Dot positions */
.timeline-step:nth-child(odd) .step-dot {
  right: -7px;
}

.timeline-step:nth-child(even) .step-dot {
  left: -7px;
}

.timeline-step {
  position: relative;
  padding-top: 2rem;
}

.step-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: var(--shadow-neon);
  position: absolute;
  top: 0.8rem;
  left: 1.2rem;
}

/* Register CTA */
.register-section {
  padding-top: 4rem;
}

.register-wrap {
  text-align: center;
  padding: 2.1rem;
  border-radius: 24px;
  background: linear-gradient(
    140deg,
    rgba(0, 212, 255, 0.22),
    rgba(9, 9, 121, 0.58),
    rgba(2, 0, 36, 0.86)
  );
  border: 1px solid rgba(0, 212, 255, 0.38);
  box-shadow: 0 16px 45px rgba(2, 0, 36, 0.52);
}

.register-wrap h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.register-wrap p {
  margin: 0.65rem 0 1.2rem;
  color: #dbeafe;
}

.register-btn {
  padding: 0.85rem 1.9rem;
  font-size: 1.02rem;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 2rem 0;
  margin-top: 2rem;
  background: rgba(0, 0, 0, 0.25);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 0.9rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #dbeafe;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.social-links a:hover {
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon);
}

/* Responsive */
@media (max-width: 980px) {
  .nav-links {
    position: absolute;
    top: 74px;
    right: 5%;
    width: min(320px, 90%);
    flex-direction: column;
    padding: 1rem;
    border-radius: 14px;
    background: rgba(2, 5, 38, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    transform: scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: 0.22s ease;
  }

  .nav-links.open {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .cards-4,
  .domains-grid,
  .timeline,
  .members-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .leadership-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4rem 0;
  }

  .brand {
    font-size: 1rem;
  }

  .nav-cta {
    display: none;
  }

  .gallery-grid,
  .cards-4,
  .domains-grid,
  .timeline,
  .members-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    flex-direction: column;
    align-items: center;
  }
}


@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-step {
    width: 100%;
    left: 0 !important;
    padding-left: 50px;
    text-align: left !important;
  }

  .timeline-step .step-dot {
    left: 12px !important;
  }
}

.hero-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 3vw, 30px);
}

/* Apply same styling as footer logos */
.aiet-logo {
  height: clamp(90px, 14vw, 160px);
  width: auto;
  opacity: 0.9;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover glow effect */
.aiet-logo:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 12px #00d4ff);
}

/* ===== ENHANCED FOOTER ===== */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 2.5rem 0;
  margin-top: 3rem;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}

/* Brand */
.footer-brand h3 {
  font-size: 1.4rem;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.footer-brand p {
  font-size: 0.9rem;
  color: #cbd5e1;
}

/* Contact */
.footer-contact {
  font-size: 0.95rem;
  color: #dbeafe;
}

/* Social Icons Upgrade */
.social-links a {
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
  color: var(--accent);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.7);
  background: rgba(0, 212, 255, 0.1);
}

/* Quick Links */
.footer-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -3px;
  left: 0;
  background: var(--accent);
  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-links a:hover::after {
  width: 100%;
}

/* Copyright */
.footer-copy {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* ===== FOOTER ENHANCEMENTS ===== */

/* Footer Logos */
.footer-logos {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.footer-logo {
  height: 80px;
  opacity: 0.9;
  transition: 0.3s;
}

.footer-logo:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px cyan);
}

/* Powered text */
.powered {
  font-size: 1.0rem;
  color: #9ecfff;
}

/* ===== FOOTER CONTACT ENHANCED ===== */

.footer-contact {
  text-align: center;
  margin: 1rem 0;
  color: #dbeafe;
}

.contact-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.footer-contact p {
  margin: 6px 0;
  font-size: 0.95rem;
}

.footer-contact i {
  color: #00d4ff;
  margin-right: 6px;
}

.footer-contact a {
  color: #7dd3fc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-contact a:hover {
  color: #00d4ff;
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}

.footer-social-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: #dbeafe;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.footer-social-btn i {
  color: var(--accent);
  margin-right: 0;
}

.footer-social-btn:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(0, 212, 255, 0.6);
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.45);
}

.footer-social-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.footer-social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #00d4ff;
  transition: 0.3s;
  backdrop-filter: blur(10px);
}

/* 🔥 Hover effect */
.footer-social-btn:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.7);
}

/* Optional: brand colors */
.footer-social-btn:nth-child(1):hover {
  color: #E1306C; /* Instagram */
}

.footer-social-btn:nth-child(2):hover {
  color: #25D366; /* WhatsApp */
}

/* 🚫 Disable text selection (CSS level) */
body {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}