/* CSS Variables */
:root {
  --primary-blue: #2563eb;
  --electric-blue: #3b82f6;
  --neon-blue: #60a5fa;
  --dark-blue: #1e40af;
  --bg-dark: #0f0f23;
  --bg-darker: #0a0a1a;
  --text-color: #e2e8f0;
  --text-muted: #94a3b8;
  --text-light: #ffffff;
  --glass-bg: rgba(15, 23, 42, 0.8);
  --glass-border: rgba(59, 130, 246, 0.3);
  --border-color: rgba(59, 130, 246, 0.2);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-darker));
  color: var(--text-color);
  overflow-x: hidden;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Loading Animation */
.loading-container {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-darker));
  z-index: 10000;
  transition: opacity 0.5s ease-out;
}

.loading-container.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loading-content {
  text-align: center;
}

.logo-animation-container {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.curvv-logo-animated,
.innovista-logo-animated {
  margin-bottom: 1rem;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.curvv-logo-animated {
  animation: logoImageFadeIn 1s ease-out 1s forwards;
  margin-bottom: 1rem;
}

/* Added new text elements for Student Design Community */
.community-text {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--neon-blue);
  letter-spacing: 0.1em;
  margin-bottom: 5rem;
  opacity: 0;
  animation: textFadeIn 1s ease-out 2.5s forwards, textGlow 3s ease-in-out 3s infinite alternate;
}

@keyframes textGlow {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.02);
  }
}

.innovista-logo-animated {
  animation: logoImageFadeIn 1s ease-out 3.5s forwards;
}

@keyframes textFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-image-animated {
  max-width: 100%;
  height: auto;
  transition: all 0.3s ease;
}

/* Made both logos same size and removed shadow effects */
.curvv-image {
  height: 175px;
  animation: logoFlip3D 2s ease-in-out 1s forwards, logoScale 3s ease-in-out 1.5s infinite alternate;
}

.innovista-image {
  height: 175px;
  animation: logoFlip3D 2s ease-in-out 4.5s forwards, logoScale 3s ease-in-out 5s infinite alternate;
}

/* Added new animation for logo scaling during loading */
@keyframes logoScale {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

@keyframes logoImageFadeIn {
  to {
    opacity: 1;
  }
}

@keyframes logoRotate3D {
  0% {
    transform: perspective(1000px) rotateY(-180deg) rotateX(20deg);
    opacity: 0.3;
  }

  50% {
    transform: perspective(1000px) rotateY(-90deg) rotateX(10deg);
    opacity: 0.7;
  }

  100% {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    opacity: 1;
  }
}

.loading-bar-container {
  width: 300px;
  margin: 0 auto;
}

.loading-bar {
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--neon-blue));
  border-radius: 2px;
  transition: width 0.1s ease;
}

.loading-percentage {
  margin-top: 1rem;
  font-family: "Space Mono", monospace;
  color: var(--neon-blue);
  font-size: 1.2rem;
  /* Made percentage more prominent */
  font-weight: 700;
}

/* Custom Cursor */
.custom-cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-blue);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: all 0.2s ease;
  z-index: 9999;
}

.custom-cursor.hover {
  width: 40px;
  height: 40px;
  background-color: rgba(37, 99, 235, 0.2);
  border-color: var(--neon-blue);
}

/* Main Content */
.main-content {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in, visibility 0.5s ease-in;
}

.main-content.active {
  opacity: 1;
  visibility: visible;
}

/* Curved Navigation */
.curved-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
}

.nav-curve {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  clip-path: ellipse(100% 100% at 50% 0%);
  padding-bottom: 20px;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  height: 60px;
}

/* Updated navigation logo layout */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.curvv-nav-logo .logo-image {
  height: 80px;
  /* Increased size */
  width: 180px;
}

.innovista-nav-logo .logo-image {
  height: 40px;
}

.innovista-nav .logo-image {
  animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  0% {
  }

  100% {
  }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--neon-blue));
  left: 50%;
  transform: translateX(-50%);
  bottom: -5px;
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--neon-blue);
  background: rgba(37, 99, 235, 0.1);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 30px;
  justify-content: space-between;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--primary-blue);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Floating Elements */
.floating-elements {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.floating-icon {
  position: absolute;
  font-size: 2rem;
  color: rgba(37, 99, 235, 0.3);
  animation: float var(--duration) infinite linear;
  animation-delay: var(--delay);
}

.floating-icon:nth-child(1) {
  left: 10%;
  top: -10%;
}

.floating-icon:nth-child(2) {
  left: 30%;
  top: -10%;
}

.floating-icon:nth-child(3) {
  left: 50%;
  top: -10%;
}

.floating-icon:nth-child(4) {
  left: 70%;
  top: -10%;
}

@keyframes float {
  0% {
    transform: translateY(-10vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  position: relative;
}

.hero-content {
  z-index: 1;
}

.main-logo-container {
  margin-bottom: 2rem;
  animation: floatUpDown 4s ease-in-out infinite alternate;
}

.main-logo-image {
  height: 300px;
  /* Increased from default size */
  max-width: 100%;
  width: auto;
  animation: logoGlow 3s ease-in-out infinite alternate;
  transition: all 0.3s ease;
}

.main-logo-image:hover {
  transform: scale(1.05);
}

@keyframes logoGlow {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.02);
  }
}

@keyframes floatUpDown {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.tagline {
  font-family: "Space Mono", monospace;
  font-size: 1.5rem;
  color: var(--neon-blue);
  letter-spacing: 0.2em;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 1s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 1px;
}

.cta-button.primary {
  background: linear-gradient(45deg, var(--primary-blue), var(--neon-blue));
  color: white;
}

.cta-button.secondary {
  background: transparent;
  color: var(--neon-blue);
  border: 2px solid var(--primary-blue);
}

.cta-button:hover {
  transform: translateY(-3px);
}

.cta-button.primary:hover {
  background: rgba(37, 99, 235, 0.1);
}

.cta-button.secondary:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--neon-blue);
}

/* Sections */
section {
  padding: 6rem 0;
  position: relative;
}

section:nth-of-type(even) {
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(10px);
}

.section-title {
  font-family: "Rajdhani", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(45deg, var(--primary-blue), var(--neon-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* About Section */
.about-content {
  text-align: center;
  max-width: 1400px; /* @vivek */
  margin: 0 auto;
}

.about-content p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem 1rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.2), transparent);
  transition: left 0.5s;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
  border-color: var(--primary-blue);
}

.card-icon {
  margin-bottom: 1rem;
}

.card-icon i {
  font-size: 3rem;
  color: var(--primary-blue);
}

.feature-card h3 {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.5rem;
  color: var(--neon-blue);
  margin-bottom: 1rem;
}

/* Added venue information styling */
.venue-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 1.5s forwards;
}

.venue-text,
.date-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  color: var(--text-light);
  background: var(--glass-bg);
  padding: 0.8rem 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  width: auto;
}

.venue-text:hover,
.date-text:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--primary-blue);
  transform: translateY(-2px);
}

.venue-text i,
.date-text i {
  color: var(--neon-blue);
  font-size: 1.2rem;
}

/* Forms */
.registration-form,
.contact-form {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 3rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: var(--primary-blue);
  font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-color);
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.3);
  outline: none;
  background: rgba(15, 23, 42, 0.9);
}

.submit-btn {
  background: linear-gradient(45deg, var(--primary-blue), var(--neon-blue));
  color: white;
  padding: 1.2rem 3rem;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 1px;
  width: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(37, 99, 235, 0.1);
}

.faq-question h3 {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.3rem;
  color: var(--text-color);
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--primary-blue);
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  display: none;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-answer ul {
  list-style: none;
  text-align: left;
}

.faq-answer ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-answer ul li i {
  color: var(--neon-blue);
  font-size: 0.8rem;
}

/* Footer */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand .footer-logo {
  font-family: "Orbitron", monospace;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(45deg, var(--primary-blue), var(--neon-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 7rem;
}

.footer-column-container {
  /* @vivek  */
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-column h4 {
  color: var(--neon-blue);
  margin-bottom: 1rem;
  font-family: "Rajdhani", sans-serif;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--neon-blue);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer .social-links a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--primary-blue);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer .social-links a:hover {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
}

/* Added footer logo animations and styling */
.footer-logos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo-item {
  display: flex;
  justify-content: flex-start;
}

.footer-logo-image {
  height: 50px;
  transition: all 0.3s ease;
}

.curvv-footer-glow {
  animation: footerLogoGlow 3s ease-in-out infinite alternate;
}

.innovista-footer-glow {
  animation: footerLogoGlow 3s ease-in-out infinite alternate 1.5s;
}

@keyframes footerLogoGlow {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.05);
  }
}

.footer-logo-image:hover {
  transform: scale(1.1) rotate(5deg);
}

/* Participation Certificate Card Styles */
.participation {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.1), var(--glass-bg));
  border: 2px solid #34d399;
}

.participation .reward-icon {
  color: #34d399;
}

.participation .animated-certificate {
  animation: certificateBounce 2s ease-in-out infinite;
}

@keyframes certificateBounce {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-5px) rotate(2deg);
  }

  50% {
    transform: translateY(-10px) rotate(0deg);
  }

  75% {
    transform: translateY(-5px) rotate(-2deg);
  }
}

/* Added comprehensive rewards section styling */
.rewards-section {
  padding: 5rem 0;
  background: var(--bg-dark);
  position: relative;
}

.rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.reward-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* places the 4th card in the 2nd column @Vivek */
.reward-card:nth-child(4) {
  grid-column: 2;
}

.prize-benefits-container {
  display: flex;
  justify-content: space-between;
}

.reward-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.reward-card:hover::before {
  left: 100%;
}

.reward-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.reward-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
}

.first-prize {
  border-color: #ffd700;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), var(--glass-bg));
}

.first-prize .reward-icon {
  color: #ffd700;
}

.first-prize .animated-trophy {
  animation: trophyBounce 2s ease-in-out infinite;
}

@keyframes trophyBounce {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-10px) rotate(5deg);
  }

  50% {
    transform: translateY(-15px) rotate(0deg);
  }

  75% {
    transform: translateY(-5px) rotate(-5deg);
  }
}

.second-prize {
  border-color: #c0c0c0;
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.1), var(--glass-bg));
}

.second-prize .reward-icon {
  color: #c0c0c0;
}

.second-prize .animated-medal {
  animation: medalSpin 3s ease-in-out infinite;
}

@keyframes medalSpin {
  0%,
  100% {
    transform: rotateY(0deg);
  }

  50% {
    transform: rotateY(180deg);
  }
}

.third-prize {
  border-color: #cd7f32;
  background: linear-gradient(135deg, rgba(205, 127, 50, 0.1), var(--glass-bg));
}

.third-prize .reward-icon {
  color: #cd7f32;
}

.third-prize .animated-award {
  animation: awardPulse 2s ease-in-out infinite;
}

@keyframes awardPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.reward-card h3 {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.prize-amount {
  font-family: "Orbitron", monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neon-blue);
  margin-bottom: 1.5rem;
}

.prize-benefits {
  list-style: none;
  text-align: left;
}

.prize-benefits li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.prize-benefits li i {
  color: var(--neon-blue);
  font-size: 0.8rem;
}

/* Added student community footer styling */
.student-community-footer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--glass-bg);
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  width: fit-content;
}

.student-community-footer:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--primary-blue);
  transform: translateY(-2px);
}

.student-icon-animated {
  font-size: 1.8rem;
  color: var(--neon-blue);
  animation: studentIconFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.4));
}

@keyframes studentIconFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    color: var(--neon-blue);
  }

  50% {
    transform: translateY(-5px) rotate(10deg);
    color: var(--primary-blue);
  }
}

.student-community-footer span {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  color: var(--text-light);
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* paces the 4th card in 1st column @vivek  */
  .reward-card:nth-child(4) {
    grid-column: 1;
  }

  .prize-benefits-container {
    display: block;
  }

  /* Prevent mobile menu from being clipped by the curved header */
  .nav-curve {
    clip-path: none;
    overflow: visible;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    display: flex;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 9990;
  }

  .nav-menu.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu li {
    margin-bottom: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 200px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1.2rem;
  }

  /* Responsive adjustments for new text elements */
  .community-text {
    font-size: 1.4rem;
  }

  .curvv-image {
    height: 140px;
  }

  .innovista-image {
    height: 140px;
  }

  .venue-info {
    align-items: center;
  }

  .venue-text,
  .date-text {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }

  .rewards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .reward-card {
    padding: 1.5rem;
  }

  .reward-icon {
    font-size: 3rem;
    height: 60px;
  }

  .footer-logos {
    align-items: center;
  }

  .student-community-footer {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 !important; /* ✅ Edited: gap removed for mobile */
  }

  .nav-content {
    padding: 1rem;
  }

  .registration-form,
  .contact-form {
    padding: 2rem 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.8rem;
  }

  /* Mobile adjustments for text elements */
  .community-text {
    font-size: 1.2rem;
  }

  .curvv-image {
    height: 120px;
  }

  .innovista-image {
    height: 120px;
  }
}

.present-text {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 50px;
  background: linear-gradient(
    45deg,
    hsl(0, 80%, 50%),
    hsl(60, 80%, 50%),
    hsl(120, 80%, 50%),
    hsl(180, 80%, 50%),
    hsl(240, 80%, 50%),
    hsl(300, 80%, 50%),
    hsl(360, 80%, 50%)
  );
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: presentColorCycle 7s linear infinite;
}

@keyframes presentColorCycle {
  0% {
    background-position: 0% 50%;
  }

  25% {
    background-position: 100% 50%;
  }

  50% {
    background-position: 100% 100%;
  }

  75% {
    background-position: 0% 100%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Announcement ticker styles: red, highlighted, infinite animation */
.announcement-ticker {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 9999px; /* pill shape */
  background: #ffe5e5; /* light red highlight */
  border: 2px solid #ff2d2d; /* red outline */
  color: #a40000; /* dark red text */
  box-shadow: 0 0 0 3px rgba(255, 45, 45, 0.15); /* soft highlight glow */
  overflow: hidden;
  max-width: 100%;
}

.bullet-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: #ff2d2d;
  box-shadow: 0 0 0 0 rgba(255, 45, 45, 0.6);
  animation: pulseDot 1.5s ease-out infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 45, 45, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 45, 45, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 45, 45, 0);
  }
}

/* Marquee/ticker effect */
.announcement-track {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  gap: 40px;
}

.announcement-track .announcement-text {
  display: inline-block;
  white-space: nowrap;
  padding-left: 0.5rem;
  font-weight: 700; /* emphasize */
  color: #a40000; /* ensure readable on light red */
  animation: tickerScroll 12s linear infinite;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Make text accessible and responsive */
@media (max-width: 480px) {
  .announcement-ticker {
    padding: 6px 10px;
    gap: 8px;
  }
  .announcement-track .announcement-text {
    font-size: 0.9rem;
  }
}

/* Contact links: ensure spacing and ordering look clean with number before name */
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.contact-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--text-light);
  transition: all 0.3s ease;
}
.contact-links a i {
  color: var(--neon-blue);
}
.contact-links a .phone-number {
  font-weight: 700;
  color: var(--text-light);
}
.contact-links a .contact-name {
  color: var(--text-muted);
}
.contact-links a:hover {
  background: var(--primary-blue);
  color: #fff;
  transform: translateY(-2px);
}
.contact-links a:hover .phone-number,
.contact-links a:hover .contact-name,
.contact-links a:hover i {
  color: #fff;
}

/* Animated heading “Contact us for any issues” with subtle gradient motion */
.contact-heading {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  background: linear-gradient(90deg, #35c5f0, #7cf06b, #ffd166, #ff7b7b, #35c5f0);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: headingShine 8s linear infinite;
}
@keyframes headingShine {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

/* Desktop alignment: make right group columns sit side-by-side */
@media (min-width: 900px) {
  .footer-right {
    flex-wrap: nowrap;
    gap: 2rem;
  }
  .footer-right .footer-column {
    min-width: 220px;
  }
  .contact-us-box {
    max-width: 420px;
  }
}

/* Registration Popup Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 2px solid var(--neon-blue);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 255, 255, 0.3);
  transform: scale(0.7) translateY(50px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.popup-overlay.show .popup-content {
  transform: scale(1) translateY(0);
}

.popup-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.popup-overlay.show .popup-content::before {
  left: 100%;
}

.popup-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: popupIconBounce 0.6s ease;
}

.popup-icon.success i {
  color: #10b981;
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.popup-icon.error i {
  color: #ef4444;
  text-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

.popup-content h3 {
  color: var(--text-white);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.popup-content p {
  color: var(--text-light);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.popup-close-btn {
  background: linear-gradient(45deg, var(--primary-blue), var(--neon-blue));
  color: var(--text-white);
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.popup-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4);
  background: linear-gradient(45deg, var(--neon-blue), #00d4ff);
}

@keyframes popupIconBounce {
  0% {
    transform: scale(0) rotate(0deg);
  }
  50% {
    transform: scale(1.2) rotate(180deg);
  }
  100% {
    transform: scale(1) rotate(360deg);
  }
}

/* Mobile responsiveness for popup */
@media (max-width: 768px) {
  .popup-content {
    padding: 30px 20px;
    margin: 20px;
  }

  .popup-icon {
    font-size: 3rem;
  }

  .popup-content h3 {
    font-size: 1.5rem;
  }

  .popup-content p {
    font-size: 0.9rem;
  }
}
/* Countdown styles */
.countdown {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.countdown-inner {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.countdown-item {
  background: #0b0b0f;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 10px 12px;
  min-width: 70px;
  text-align: center;
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.08) inset, 0 8px 24px rgba(0, 0, 0, 0.35);
}

.countdown-value {
  display: block;
  font-family: "Orbitron", "Space Mono", monospace;
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.countdown-label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.countdown-sep {
  align-self: center;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  user-select: none;
}

.countdown.countdown-complete .countdown-value {
  opacity: 0.7;
}

@media (max-width: 480px) {
  .countdown-item {
    min-width: 58px;
    padding: 8px 10px;
  }
  .countdown-value {
    font-size: 22px;
  }
  .countdown-label {
    font-size: 10px;
  }
}


