/* ===========================
   Body Code Start Here 
=========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Orbitron", monospace;
  background: #000000;
  color: #00f0b5;
  min-height: 100vh;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ===========================
 Body Code End Here 
=========================== */

/* ===========================
  Body Code End Here 
=========================== */

.linkedin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0077b5, #00a0dc);
  color: white;
  font-size: 20px;
  box-shadow: 0 0 10px rgba(0, 174, 239, 0.6);
  transition: all 0.3s ease;
  text-decoration: none;
}

.linkedin-btn:hover {
  box-shadow: 0 0 20px rgba(0, 174, 239, 0.9), 0 0 40px rgba(0, 174, 239, 0.6);
  transform: scale(1.1);
}

/* ===========================
   Navbar Code Start Here 
=========================== */

.cyber-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid #00f0b5;
  z-index: 1000;
  transition: all 0.3s ease;
}

.cyber-navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #00f0b5, transparent);
  opacity: 0.1;
  animation: scan 3s linear infinite;
}

@keyframes scan {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.nav-container {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  position: relative;
}

.nav-logo {
  position: relative;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: rotateY(10deg) rotateX(5deg);
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 0 10px #00f0b5, 0 0 10px #00f0b5, 0 0 10px #00f0b5;
  letter-spacing: 2px;
}

.logo-accent {
  color: #00f0b5;
  /* animation: pulse 2s ease-in-out infinite; */
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, #00f0b5, transparent);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.nav-logo:hover .logo-glow {
  opacity: 0.3;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  margin-top: 22px;
  margin-left: -10px;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  border-radius: 5px;
  transition: all 0.3s ease;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover {
  color: #00f0b5;
  border-color: #00f0b5;
  box-shadow: 0 0 15px rgba(0, 255, 242, 0.5);
  transform: translateZ(10px) rotateX(5deg);
}

.link-text {
  position: relative;
  z-index: 2;
}

.link-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, #00f0b5, transparent);
  opacity: 0;
  border-radius: 5px;
  transition: opacity 0.3s ease;
}

.nav-link:hover .link-glow {
  opacity: 0.2;
}

.dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid #00f0b4;
  border-radius: 5px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) rotateX(-15deg);
  transition: all 0.3s ease;
  list-style: none;
  box-shadow: 0 10px 30px rgba(0, 255, 242, 0.3);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) rotateX(0);
}

.dropdown-link {
  display: block;
  padding: 0.8rem 1rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 255, 242, 0.1);
}

.dropdown-link:hover {
  color: #00f0b5;
  background: rgba(0, 255, 242, 0.1);
  transform: translateX(5px);
}

.dropdown-link:last-child {
  border-bottom: none;
}

.login-btn {
  position: relative;
  background: transparent;
  border: 2px solid #00f0b5;
  color: #00f0b5;
  padding: 0.8rem 2rem;
  font-family: "Orbitron", monospace;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-radius: 25px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  transform-style: preserve-3d;
}

.login-btn:hover {
  color: #00f0b5;
  box-shadow: 0 0 25px #00f0b5;
  transform: translateZ(15px) rotateY(5deg);
}

.btn-text {
  position: relative;
  z-index: 2;
}

.btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #00f0b5;
  transition: left 0.3s ease;
}

.login-btn:hover .btn-glow {
  left: 0;
}

.btn-particles {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, #00f0b5, transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.login-btn:hover .btn-particles {
  width: 200px;
  height: 200px;
  opacity: 0.3;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.toggle-line {
  width: 25px;
  height: 3px;
  background: #00f0b5;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px #00f0b5;
}

.mobile-toggle.active .toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active .toggle-line:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(15px);
  border-top: 1px solid #00f0b5;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  list-style: none;
  padding: 2rem;
}

.mobile-nav li {
  margin-bottom: 1rem;
}

.mobile-link {
  display: block;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem;
  border: 1px solid transparent;
  border-radius: 5px;
  transition: all 0.3s ease;
  text-align: center;
}

.mobile-link:hover {
  color: #00f0b5;
  border-color: #00f0b5;
  box-shadow: 0 0 15px rgba(0, 255, 242, 0.3);
}

.mobile-dropdown-menu {
  list-style: none;
  margin-top: 1rem;
  padding-left: 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-menu {
  max-height: 300px;
}

.mobile-dropdown-link {
  display: block;
  color: #cccccc;
  text-decoration: none;
  padding: 0.8rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.mobile-dropdown-link:hover {
  color: #00f0b5;
  transform: translateX(10px);
}

.mobile-login-btn {
  background: transparent;
  color: #00f0b5;
  border: 2px solid #00f0b5;
  border-radius: 6px;
  padding: 12px 0;
  font-size: 1.1rem;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  margin-top: 10px;
  width: 100%;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.mobile-login-btn:hover {
  border-color: #00cfa0;
  color: #00cfa0;
  background: transparent; /* No background change */
}

.cyber-navbar.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 5px 20px rgba(0, 255, 242, 0.3);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-5px);
  }
}

.nav-item:nth-child(odd) {
  animation: float 3s ease-in-out infinite;
}

.nav-item:nth-child(even) {
  animation: float 3s ease-in-out infinite reverse;
}

/* Utility classes */
.desktop-only {
  display: inline-block;
}

.mobile-only {
  display: none;
}

@media (max-width: 991px) {
  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-menu {
    display: none;
  }

  .mobile-menu.active {
    display: block;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }
}

/* ===========================
   Navbar Code End Here 
=========================== */

/* ===============================
   Particle Animation Start Here 
================================ */

@keyframes particleFloat {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-20px) scale(0);
  }
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #00f0b5;
  border-radius: 50%;
  pointer-events: none;
  animation: particleFloat 1s ease-out forwards;
}

/* ===============================
   Particle Animation End Here 
================================ */

/* ===============================
   Home Section Start Here 
================================ */

.video-container {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: -1;
}

.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
}

/* ===== Text Section ===== */
.content {
  flex: 1 1 400px;
  padding: 10px;
}

#cybernamehome {
  color: white;
  font-size: clamp(2rem, 5vw, 3rem);
  /* Keeps big text on mobile */
  line-height: 1.2;
  word-break: break-word;
}

#cybernamehome span {
  color: #00f0b5;
}

.content p {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  line-height: 1.6;
  margin-bottom: 15px;
  color: white;
  font-weight: bold;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.button-group .button {
  background: linear-gradient(270deg, #00f0b5, #009e85, #00ffd9);
  background-size: 400% 400%;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 240, 181, 0.4);
  animation: gradientMove 4s ease infinite;
}

.button-group .button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 240, 181, 0.7);
}

/* ===== Image Section ===== */
.animation {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
}

.animation img {
  max-width: 100%;
  height: auto;
}

/* Gradient Animation */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero {
  padding-top: 100px;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 200px;
    text-align: center;
  }
}

/* ===============================
   Responsive Adjustments
================================ */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .content {
    order: 1;
    /* Text first */
  }

  .animation {
    order: 2;
    /* Image second */
  }

  .animation img {
    max-width: 250px;
    margin-top: 20px;
  }
}

@media (max-width: 400px) {
  #cybernamehome {
    font-size: 1.8rem;

    /* Prevents tiny text */
  }

  .content p {
    font-size: 1rem;
  }

  .button-group {
    justify-content: center;
  }

  .button-group .button {
    font-size: 14px;
    padding: 10px 20px;
  }
}
/* ===============================
   Navbar Fix for Responsiveness
================================ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* ✅ allows wrapping on small screens */
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

.navbar ul {
  display: flex;
  flex-wrap: wrap; /* ✅ prevents text cut */
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 15px;
}

.navbar ul li a {
  color: white;
  text-decoration: none;
  font-size: clamp(0.9rem, 2vw, 1rem); /* ✅ scales font */
  padding: 8px 12px;
  display: block;
}

.navbar ul li a:hover {
  color: #00f0b5;
}

/* ✅ Mobile Toggle Menu (if needed) */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 15px;
  }

  .navbar ul {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .navbar ul li a {
    width: 100%;
    padding: 10px;
    text-align: left;
  }
}

/* ===============================
   Home Section Adjustments
================================ */
.video-container {
  position: relative;
  min-height: 100vh; /* ✅ min instead of fixed height */
  width: 100%;
  overflow: hidden;
}

#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: -1;
}

.overlay {
  position: relative;
  background-color: rgba(0, 0, 0, 0.7);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  padding-top: 120px; /* ✅ extra space for navbar */
}

/* ===============================
   Responsive Adjustments
================================ */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 150px; /* ✅ avoid overlap with navbar */
  }

  .animation img {
    max-width: 250px;
    margin-top: 20px;
  }
}

@media (max-width: 400px) {
  #cybernamehome {
    font-size: 1.8rem;
  }

  .content p {
    font-size: 1rem;
  }

  .button-group {
    justify-content: center;
  }

  .button-group .button {
    font-size: 14px;
    padding: 10px 20px;
  }
}

/* ===============================
   Home Section Start Here 
================================ */

/* ===========================
   About Section Start
=========================== */

/* Matrix Canvas */
#matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
  opacity: 0.2;
}

.about {
  padding: 80px 0;
  color: var(--cg-base1);
}

.title-name {
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
}

.sub-title-name {
  font-weight: 600;
  color: white;
  margin-bottom: 30px;
}

#title-para {
  font-size: 10px;
  line-height: 1.5;
  color: white;
  opacity: 0.9;
}

.info-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 20px;
  background: rgba(42, 78, 71, 0.05);
  border: 3px solid rgba(0, 255, 204, 0.1);
  border-radius: 10px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease-in-out;
}

.info-box:hover {
  transform: translateX(10px);
  box-shadow: 0 0 12px var(--cg-glow);
}

.icon-circle {
  min-width: 50px;
  height: 50px;
  background: var(--text-gradient);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0px 4px 12px var(--cg-glow);
  font-size: 20px;
}

.about-btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--btn-col1), var(--btn-col2));
  color: white;
  border: none;
  border-radius: 40px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 20px;
  box-shadow: 0 0 10px var(--cg-glow);
}

.about-btn:hover {
  background: linear-gradient(135deg, var(--btn-col2), var(--btn-col1));
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--cg-glow);
}

.about-box {
  background: rgba(0, 255, 204, 0.07);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  color: var(--neon-green);
  box-shadow: 0 0 15px var(--cg-glow);
}

.about-box h4 {
  font-size: 3rem;
  margin: 0;
}

.about-box h2 {
  font-size: 1rem;
  margin: 0;
  font-weight: 500;
}

/* ===================================
   Responsive Only (No Design Change)
==================================== */

@media (max-width: 991.98px) {
  .about .row {
    flex-direction: column-reverse;
  }

  .info-box {
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
  }

  .about-btn {
    width: 100%;
    text-align: center;
    margin-top: 20px;
  }

  .about .position-relative {
    height: auto !important;
  }

  .about .position-relative img {
    height: auto !important;
  }

  .about .position-absolute {
    position: static !important;
    width: 100% !important;
    margin-top: 15px;
  }

  .about-box {
    text-align: center;
    padding: 20px;
  }
}

@media (max-width: 767.98px) {
  .title-name {
    font-size: 1.75rem;
  }

  .sub-title-name {
    font-size: 1.25rem;
  }

  .title-para {
    font-size: 1rem;
  }

  .about-box h4 {
    font-size: 2rem;
  }

  .about-box h2 {
    font-size: 1rem;
  }

  .icon-circle {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 576px) {
  .about-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .about-box h4 {
    font-size: 1.5rem;
  }

  .about-box h2 {
    font-size: 0.9rem;
  }

  .icon-circle {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .info-box {
    gap: 10px;
  }
}

/* ===========================
   About End
=========================== */

/* ===========================
   Counter start
=========================== */

.counter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 50px;
}

.ring-counter {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(#00f0b5 0%, #00f0b5 0%, #222 0%);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #00f0b5;
  text-shadow: 0 0 10px #00f0b5;
  box-shadow: 0 0 30px rgba(0, 255, 231, 0.4);
}

.ring-counter::before {
  content: "";
  position: absolute;
  width: 160px;
  /* Increased from 140px to 160px */
  height: 160px;
  /* Increased from 140px to 160px */
  background-color: #090e1a;
  border-radius: 50%;
  z-index: 1;
}

.ring-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.ring-value {
  font-size: 28px;
  font-weight: bold;
}

.ring-label {
  font-size: 14px;
  color: #00f0b5;
}

/* ===========================
   Counter End
=========================== */

/* ===============================
   Community Perks Start Here
================================ */

.community-perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns always on desktop */
  gap: 30px;
  max-width: 1400px; /* Prevents overflow on wide screens */
  margin: 60px auto 0 auto;
  padding: 0 20px;
  justify-items: stretch;
  align-items: stretch;
  box-sizing: border-box;
}

.card {
  position: relative;
  width: calc(25% - 30px);
  /* 4 cards per row */
  height: 300px;
  background: #000000;
  transform-style: preserve-3d;
  transform: perspective(2000px);
  transition: 1s;
  box-shadow: inset 100px 0 50px rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  margin-bottom: 40px;
}

.card:hover {
  z-index: 1111;
  transform: perspective(2000px);
  box-shadow: inset 20px 0 50px rgba(0, 0, 0, 0.5);
}

.card .img-container {
  position: relative;
  width: 100%;
  height: 100%;
  border: 1px solid #000;
  box-sizing: border-box;
  transform-origin: left;
  z-index: 1;
  transition: 1s;
  border-radius: 20px;
  overflow: hidden;
}

.card .img-container img {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.card:hover .img-container {
  transform: rotateY(-135deg);
}

.card .card-details {
  position: absolute;
  left: 0;
  top: 0;
  box-sizing: border-box;
  padding: 20px;
  color: #000;
}

.card .card-details h2 {
  margin: 0;
  padding: 0.5em 0;
  text-transform: uppercase;
  font-size: 2em;
  color: #00f0b5;
}

/* .card .card-details p {
  margin: 0;
  padding: 0;
  line-height: 25px;
  font-size: 1.0em;
} */
.card .card-details .para {
  margin: 0;
  padding: 0;
  line-height: 25px;
  font-size: 0.99em;
}

/* Responsive for smaller screens */
@media (max-width: 1200px) {
  .card {
    width: calc(33.333% - 30px);
    /* 3 per row */
  }
}

@media (max-width: 900px) {
  .card {
    width: calc(50% - 30px);
    /* 2 per row */
  }
}

@media (max-width: 600px) {
  .card {
    width: 100%;
    /* 1 per row */
  }
}

/* ===========================
   Community Perks End
=========================== */

/* ===========================
   Event Section Start
=========================== */

.event .event-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 10px rgba(0, 255, 204, 0.1);
  border-top: 2px solid rgba(0, 255, 204, 0.8);
  border-bottom: 2px solid rgba(0, 255, 204, 0.8);
  margin-top: 50px;
}

.event .event-item:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 0 30px var(--neon-green);
}

.event .event-inner {
  position: relative;
  /* height: 100%; */
  display: flex;
  flex-direction: column;
}

.event .event-img {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
  position: relative;
  transition: 0.5s ease;
}

.event .event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
  will-change: transform;
}

.event .event-item:hover .event-img img {
  transform: scale(1.2);
}

.event .event-img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  border-radius: 0 0 15px 15px;
  background: rgba(255, 255, 255, 0.08);
  transition: height 0.6s ease, opacity 0.4s ease;
  opacity: 0;
  z-index: 1;
}

.event .event-item:hover .event-img::after {
  height: 100%;
  opacity: 1;
}

.event-title-name {
  position: relative;
  margin-top: -35px;
  transition: 0.3s ease-in-out;
  color: #00f0b5;
}

.event .event-item:hover .event-title-name {
  opacity: 0;
  visibility: hidden;
}

.event-name {
  position: relative;
  display: inline-block;
  padding: 10px 28px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  color: white;
  margin-bottom: 20px;
  text-transform: uppercase;
  border: 1px solid rgba(0, 255, 204, 0.3);
  background: rgba(0, 255, 204, 0.05);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  transition: 0.4s ease-in-out;
  box-shadow: inset 0 0 10px rgba(0, 255, 204, 0.2),
    0 0 12px rgba(0, 255, 204, 0.15);
}

.event-name::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(0, 255, 204, 0.3),
    rgba(0, 100, 80, 0.3)
  );
  opacity: 0;
  z-index: -1;
  transition: 0.5s ease-in-out;
}

.event-item:hover .event-name::before {
  opacity: 1;
  filter: blur(10px);
}

.event .event-item:hover .event-name {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
}

.event-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.6s ease;
  background: linear-gradient(
    145deg,
    rgba(0, 0, 0, 0.85),
    rgba(0, 50, 30, 0.75)
  );
  margin: 0 30px 20px;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}

.event .event-item:hover .event-content {
  transform: translateY(0%);
  opacity: 1;
  pointer-events: auto;
}

.event-content h4 {
  color: #00f0b5;
  font-size: 1.25rem;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 8px;
}

.event-content p {
  color: white;
  font-size: 0.95rem;
  line-height: 1.6;
}

.event-content .btn-glow {
  margin-top: 12px;
}

.event .title-name {
  font-size: 3rem;
  font-weight: 700;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #00f0b5;
}

.event .title-para {
  color: #00f0b5;
  max-width: 700px;
  margin: auto;
  font-size: 1rem;
  padding-top: 10px;
}

@media (max-width: 991.98px) {
  .event-img {
    height: 220px;
  }

  .event-content {
    margin: 0 20px 15px;
    padding: 16px;
  }

  .event-content h4 {
    font-size: 1.15rem;
  }

  .event-content p {
    font-size: 0.95rem;
  }
}

@media (max-width: 767.98px) {
  .event-img {
    height: 200px;
  }

  .event-content h4 {
    font-size: 1.05rem;
  }

  .event-content p {
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .event-img {
    height: 180px;
  }

  .event-content {
    margin: 0 12px 12px;
    padding: 14px;
  }

  .event-content h4 {
    font-size: 1rem;
  }

  .event-content p {
    font-size: 0.85rem;
  }
}

/* ===========================
   Event Section End
=========================== */

/* ===========================
     Professionals Start
=========================== */

.professionals-section {
  padding: 80px 20px;
  text-align: center;
}

.professionals-section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.professionals-section .title-para {
  color: white;
  max-width: 700px;
  margin: 0 auto 60px;
  font-size: 1.2rem;
}

.professionals-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.professionals-item {
  border: 1px solid var(--border-glow);
  border-radius: 15px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(0, 255, 195, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  width: 320px;
  position: relative;
}

.professionals-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px var(--neon-green);
}

.professionals-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-glow);
}

.professionals-content {
  padding: 20px;
}

.professionals-content h4 {
  color: var(--neon-green);
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.professionals-content .role {
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 10px;
}

.professionals-content .description {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: white;
}

.professionals-icon {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding-bottom: 15px;
  color: black;
}

.professionals-icon a {
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.3s ease;
  background-color: #00f0b5;
  color: black;
}

.professionals-icon a:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .professionals-container {
    flex-direction: column;
    align-items: center;
  }
}

/* ===========================
     Professionals End
=========================== */

/* ===========================
          Team Start
=========================== */

.team-section {
  background: #000;
  margin: 20px;
  font-family: "Orbitron";
  color: white;
  text-align: center;

  border: 2px;
}

.team .team-item {
  position: relative;
  z-index: 1;
}

.team .team-item .team-img {
  position: relative;
  overflow: hidden;
}

.team .team-item .team-img::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.5s;
  z-index: 2;
}

.team .team-item:hover .team-img::after {
  height: 100%;
}

.team .team-item .team-img .team-icon {
  position: absolute;

  width: 100%;
  left: 0;
  bottom: 0;
  transform: scale(-1);
  margin-bottom: 100%;
  background: transparent;
  transition: 0.5s;
  opacity: 0;
  z-index: 5;
}

.team .team-item:hover .team-img .team-icon {
  transform: scale(1);
  margin-bottom: 0;
  opacity: 1;
}

.team .team-item .team-border-style-1,
.team .team-item .team-border-style-2 {
  width: 50%;
  height: 50%;
  position: absolute;
  background: #00f0b5;
  transition: 0.5s;
  z-index: -1;
}

.team .team-item .team-border-style-1 {
  top: 0;
  left: 0;
}

.team .team-item .team-border-style-2 {
  right: 0;
  bottom: 0;
}

.team .team-item .team-border-style-3,
.team .team-item .team-border-style-4 {
  width: 0;
  height: 0;
  position: absolute;
  background: #00f0b5;
  transition: 0.5s;
  z-index: -1;
}

.team .team-item .team-border-style-3 {
  top: 0;
  right: 0;
}

.team .team-item .team-border-style-4 {
  left: 0;
  bottom: 0;
}

.team .team-item:hover .team-border-style-1,
.team .team-item:hover .team-border-style-2 {
  width: 0%;
  height: 0%;
}

.team .team-item:hover .team-border-style-3,
.team .team-item:hover .team-border-style-4 {
  width: 50%;
  height: 50%;
}

/* ===========================
          Team End
=========================== */

/* ===========================
     Students Section - Premium Cyber Style
=========================== */

.students .students-item {
  position: relative;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(0, 240, 181, 0.3);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 240, 181, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.students .students-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(0, 240, 181, 0.2),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* 
.students .students-item:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 25px rgba(0, 240, 181, 0.6);
} */

.students .students-img {
  width: 140px;
  height: 140px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  padding: 4px;
  background: #00f0b5;
  box-shadow: 0 0 20px rgba(0, 240, 181, 0.6);
  animation: neonGlow 2s infinite alternate;
}

.students .students-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* @keyframes neonGlow {
  from {
    box-shadow: 0 0 15px rgba(0, 240, 181, 0.6), 0 0 30px rgba(0, 240, 181, 0.4);
  }
  to {
    box-shadow: 0 0 25px rgba(0, 240, 181, 0.9), 0 0 50px rgba(0, 240, 181, 0.6);
  }
} */

.students .students-title h4 {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.certificate-btn {
  margin-top: 10px;
  background: linear-gradient(135deg, #00f0b5, #00f0b5, #00f0b5);
  background-size: 300%;
  color: #fff;
  border: none;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.5px;
  box-shadow: 0 0 12px rgba(0, 240, 181, 0.4);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

/* Glow effect on hover */
.certificate-btn:hover {
  background-position: right;
  box-shadow: 0 0 20px rgba(0, 240, 181, 0.9), 0 0 40px rgba(0, 240, 181, 0.6);
  transform: scale(1.08);
}

/* Light sweep animation */
.certificate-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75px;
  width: 50px;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  transform: skewX(-25deg);
  transition: left 0.5s ease;
}

.certificate-btn:hover::before {
  left: 120%;
}

/* Responsive */
@media (max-width: 768px) {
  .students .students-item {
    padding: 20px;
  }

  .students .students-img {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 992px) {
  .students .students-item {
    margin-bottom: 30px;
    padding: 0 20px 20px 20px;
  }

  .students .students-img {
    width: 100px;
    height: 100px;
  }

  .students .students-item .students-title {
    padding: 20px 0;
  }

  .certificate-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .students .students-item {
    padding: 0 15px 15px 15px;
  }

  .students .students-img {
    width: 90px;
    height: 90px;
  }

  .students .students-item .students-title h4 {
    font-size: 1rem;
  }

  .students .students-item .students-title p {
    font-size: 0.9rem;
  }

  .certificate-btn {
    padding: 5px 10px;
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .students .students-img {
    width: 80px;
    height: 80px;
  }

  .students .students-item {
    padding: 0 10px 10px 10px;
  }

  .students .students-item .students-title h4 {
    font-size: 0.95rem;
  }

  .students .students-item .students-title p {
    font-size: 0.85rem;
  }

  .certificate-btn {
    font-size: 11px;
    padding: 4px 10px;
  }
}

/* ===========================
     Students End
=========================== */

/* ===========================
   Contact Section Start
=========================== */

:root {
  --mint: #00f0b5;
  --glow-bg: linear-gradient(145deg, #001a12, #003322);
  --deep-glow-bg: linear-gradient(135deg, #000000 0%, #002f23 100%);
  --neon-green: #00ffcc;
  --emerald: #007f5f;
  --form-bg: rgba(0, 0, 0, 0.6);
  --form-btn-gradient: linear-gradient(
    45deg,
    var(--neon-green),
    var(--emerald)
  );
}

.contact-form {
  background: var(--deep-glow-bg);
  color: var(--neon-green);
  padding: 60px 20px;
}

.contact-form .container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.form-content {
  background: var(--form-bg);
  border: 1px solid var(--mint);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 0 20px rgba(0, 255, 204, 0.1);
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
  animation: slideInUp 0.6s ease forwards;
  opacity: 0;
}

.form-group:nth-child(1) {
  animation-delay: 0.2s;
}

.form-group:nth-child(2) {
  animation-delay: 0.4s;
}

.form-group:nth-child(3) {
  animation-delay: 0.6s;
}

.form-group:nth-child(4) {
  animation-delay: 0.8s;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background: transparent;
  border: 1px solid var(--mint);
  border-radius: 6px;
  color: var(--neon-green);
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #00f0b5;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--emerald);
  outline: none;
  background-color: #0f0f0f;
  box-shadow: 0 0 8px rgba(0, 214, 143, 0.4);
}

.name-group {
  text-align: left;
  margin-bottom: 20px;
}

.name-label {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.name-fields {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.name-fields input {
  flex: 1 1 30%;
  min-width: 100px;
  padding: 12px 15px;
  background: transparent;
  border: 1px solid var(--mint);
  border-radius: 6px;
  color: var(--neon-green);
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.name-fields input::placeholder {
  color: #00f0b5;
}

.name-fields input:focus {
  border-color: var(--emerald);
  outline: none;
  background-color: #0f0f0f;
  box-shadow: 0 0 8px #ffffff;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background-image: var(--form-btn-gradient);
  border: none;
  border-radius: 5px;
  color: #000;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  transition: background-position 0.5s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
  animation: slideInUp 0.6s ease forwards;
  animation-delay: 1s;
  opacity: 0;
  background-size: 200% 200%;
}

.submit-btn:hover {
  background-position: 100% 0;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 214, 143, 0.4);
}

.success-message {
  margin-top: 20px;
  padding: 12px;
  background: rgba(0, 255, 204, 0.1);
  border: 1px solid var(--emerald);
  border-radius: 6px;
  color: var(--emerald);
  display: none;
  animation: fadeInScale 0.5s ease forwards;
}

@keyframes slideInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===========================
   Contact Section End
=========================== */

/* ===========================
   Footer Responsive
=========================== */

/* For tablets and below (≤ 991px) */
@media (max-width: 991px) {
  .footer {
    padding: 60px 20px 30px;
    text-align: left !important; /* force left alignment */
  }

  .footer .row {
    display: flex;
    flex-direction: column;       /* stack vertically */
    align-items: flex-start !important; /* align to left */
    justify-content: flex-start !important;
    width: 100%;
    margin: 0;                    /* remove auto margins */
  }

  .footer .footer-item {
    width: 100% !important;       /* take full width */
    text-align: left !important;  /* keep content left */
    margin: 0 0 20px 0;           /* spacing between items */
  }

  .footer .footer-item h4,
  .footer .footer-item p,
  .footer .footer-item a {
    text-align: left !important;
  }
}

/* For mobile screens (≤ 576px) */
@media (max-width: 576px) {
  .footer {
    padding: 40px 15px;
    text-align: left !important;
  }

  .footer .row {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .footer .footer-item {
    width: 100% !important;
    text-align: left !important;
    margin-bottom: 15px;
  }
}

/* Services (Events) Vertical List */
.footer-item ul {
  display: flex;
  flex-direction: column; /* vertical direction */
  flex-wrap: nowrap; /* wrap बंद */
  gap: 12px; /* प्रत्येक item मध्ये अंतर */
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: flex-start; /* left-align (center हवं असेल तर center करा) */
}

.footer-item li {
  white-space: nowrap; /* नाव खाली जाणार नाही */
}

.footer-item a {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--neon-green);
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
}

.footer-item a i {
  margin-right: 8px;
  min-width: 20px; /* icon साठी जागा fix */
  text-align: center;
}

/* ===========================
   Footer Section End
=========================== */

.counter-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.circle-border {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 6px solid transparent;
  background: conic-gradient(
    #00f0b5 var(--rotation, 0deg),
    transparent var(--rotation, 0deg)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: bold;
  position: relative;
  animation: pulse 1.5s infinite ease-in-out;
  box-shadow: 0 0 20px rgba(0, 240, 181, 0.5);
}

.circle-border span {
  position: relative;
  z-index: 1;
  color: #00f0b5;
  text-shadow: 0 0 8px #00f0b5, 0 0 15px rgba(0, 240, 181, 0.7);
  animation: fadeIn 0.3s ease-in-out;
}

.circle-border::before {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  background: #000;
  border-radius: 50%;
  z-index: 0;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(0, 240, 181, 0.6);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 240, 181, 1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

p {
  margin-top: 15px;
  font-size: 1.2rem;
  color: white;
}

.nashik {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #00f0b5;
  font-size: 30px;
}

.volunteer {
  position: absolute;
  color: #00f0b5;
  font-size: 20px;
}

svg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/* Line Animation */
line {
  stroke: #00f0b5;
  stroke-width: 1.5;
  stroke-dasharray: 4;
  animation: dash 2s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -8;
  }
}

.plus-sign {
  margin-left: 2px;
  color: #00f0b5;
}

/* =======================
Card CSS
======================= */
.maincontainer {
  width: 100%; /* Fill grid cell */
  height: 340px; /* Or your preferred height */
  margin: 0;
  float: none;
  position: relative;
  perspective: 1000px;
  box-sizing: border-box;
}

.front,
.back {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  position: absolute;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  transition: transform 0.6s;
}

.front {
  background: #fff;
  transform: rotateY(0deg);
  z-index: 2;
  box-shadow: 0 0 10px rgba(0, 255, 204, 0.1);
  border-top: 2px solid rgba(0, 255, 204, 0.8);
  border-bottom: 2px solid rgba(0, 255, 204, 0.8);
}

.front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.front h2 {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  margin: 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
  font-size: 1rem;
  color: #000;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;

  text-transform: uppercase;
  border: 1px solid rgba(0, 255, 204, 0.3);
  background: rgba(202, 202, 202, 0.744);

  border-radius: 12px;

  box-shadow: inset 0 0 10px rgba(0, 255, 204, 0.2),
    0 0 12px rgba(0, 255, 204, 0.15);
}

.back {
  background: linear-gradient(
    145deg,
    rgba(0, 0, 0, 0.85),
    rgba(0, 50, 30, 0.75)
  );
  color: white;
  padding: 20px;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 10px;
  box-shadow: inset 0 0 10px rgba(0, 255, 204, 0.2),
    0 0 12px rgba(0, 255, 204, 0.15);
  opacity: 1;
}

.back h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.back p {
  font-size: 1rem;
  line-height: 2;
  text-align: justify;
}

.maincontainer:hover .front {
  transform: rotateY(-180deg);
}

.maincontainer:hover .back {
  transform: rotateY(0deg);
}

/* Responsive grid for Community Perks */
@media (max-width: 1200px) {
  .community-perks {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .community-perks {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .community-perks {
    grid-template-columns: 1fr;
  }
}
