* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}


.custom-navbar {
  /* background-color: rgba(0, 0, 0, 0.7); */
  backdrop-filter: blur(8px);
  box-shadow: 0 0 10px #00ff9f;
}

.navbar-brand,
.nav-link {
  color: #00ff9f !important;
  font-weight: bold;
  font-size: 1.1rem;
}

.nav-link:hover {
  text-shadow: 0 0 10px #00ff9f;
}

.navbar-toggler {
  border: none;
  background: none;
  padding: 0.25rem 0.75rem;
  outline: none;
}
.hamburger {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.hamburger-icon,
.hamburger-icon::before,
.hamburger-icon::after {
  display: block;
  background-color: #00ff9f;
  height: 2px;
  width: 25px;
  position: relative;
  transition: all 0.3s ease-in-out;
  content: '';
}

.hamburger-icon::before,
.hamburger-icon::after {
  position: absolute;
}

.hamburger-icon::before {
  top: -8px;
}

.hamburger-icon::after {
  top: 8px;
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon {
  background-color: transparent ;
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon::after {
  transform: rotate(-45deg);
  top: 0;
}




/* Hero Section */
.hero-section {
  height: 100vh;
  /* background: linear-gradient(to right, #0f2027, #203a43, #2c5364); */
  background-size: cover;
  color: #00ff9f;
  animation: fadeIn 1s ease-in-out;
  overflow: hidden;
}

/* Glitch Effect */
.glitch {
  font-size: 3rem;
  font-weight: bold;
  position: relative;
  color: #00ff9f;
  animation: glitch 2s infinite;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  width: 100%;
  color: #0ff;
  clip: rect(0, 900px, 0, 0);
}

.glitch::before {
  animation: glitchTop 1s infinite linear alternate-reverse;
  color: #0f0;
}

.glitch::after {
  animation: glitchBottom 1s infinite linear alternate-reverse;
  color: #f0f;
}

@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

@keyframes glitchTop {
  0% { clip: rect(0, 9999px, 0, 0); }
  50% { clip: rect(0, 9999px, 100%, 0); }
  100% { clip: rect(0, 9999px, 0, 0); }
}

@keyframes glitchBottom {
  0% { clip: rect(100%, 9999px, 100%, 0); }
  50% { clip: rect(0, 9999px, 100%, 0); }
  100% { clip: rect(100%, 9999px, 100%, 0); }
}

/* Tagline */
.tagline {
  font-size: 1.2rem;
  color: #ccc;
  margin-top: 1rem;
  animation: fadeInUp 2s ease-in-out;
}

/* Hacker Buttons */
.btn-hacker {
  background-color: #00ff9f;
  color: #000;
  border: none;
  padding: 0.7rem 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px #00ff9f, 0 0 40px #00ff9f;
}

.btn-hacker:hover {
  background-color: #000;
  color: #00ff9f;
  box-shadow: 0 0 15px #00ff9f, 0 0 60px #00ff9f;
  cursor: pointer;
}

.btn-outline-hacker {
  background-color: transparent;
  color: #00ff9f;
  border: 2px solid #00ff9f;
  padding: 0.7rem 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-outline-hacker:hover {
  background-color: #00ff9f;
  color: #000;
  box-shadow: 0 0 20px #00ff9f;
  cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .glitch {
    font-size: 2rem;
  }
  .tagline {
    font-size: 1rem;
  }
}

:root {
  --accent: #00ff9f;
  /* --card-bg: rgba(0, 0, 0, 0.4); */
  --border-glow: 1px solid rgba(0, 255, 159, 0.5);
}

.text-accent {
  color: var(--accent);
}

.event-card {
  background: var(--card-bg);
  border: var(--border-glow);
  backdrop-filter: blur(10px);
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 0 25px var(--accent);
}

.event-title {
  color: var(--accent);
  font-family: 'Courier New', monospace;
  text-shadow: 0 0 5px var(--accent);
}

.event-desc {
  font-size: 0.95rem;
  font-family: 'Orbitron', sans-serif;
}


.contact-section {
  background: transparent;
  backdrop-filter: blur(6px);
}

.hacker-heading {
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  animation: glitch 2s infinite;
}

.highlight {
  color: #00ff9f;
  text-shadow: 0 0 5px #00ff9f;
}

.glass-card {
  /* background: rgba(0, 0, 0, 0.5); */
  border: 1px solid #00ff9f44;
  border-radius: 15px;
  box-shadow: 0 0 10px #00ff9f33;
}

.hacker-input {
  background-color: #535252;
  border: 1px solid #00ff9f88;
  color: #00ff9f;
}

.hacker-input:focus {
  background-color: #535252;
  border-color: #00ff9f;
  box-shadow: 0 0 10px #00ff9f55;
}

.hacker-btn {
  border: 1px solid #00ff9f;
  color: #00ff9f;
  transition: 0.3s ease-in-out;
}

.hacker-btn:hover {
  background-color: #00ff9f;
  color: #000;
  box-shadow: 0 0 15px #00ff9f;
}

/* Optional: Glitch animation */
@keyframes glitch {
  0% { text-shadow: 2px 2px #00ff9f, -2px -2px #000; }
  20% { text-shadow: -2px 2px #00ff9f, 2px -2px #000; }
  40% { text-shadow: 2px -2px #00ff9f, -2px 2px #000; }
  60% { text-shadow: -2px -2px #00ff9f, 2px 2px #000; }
  80% { text-shadow: 2px 2px #00ff9f, -2px -2px #000; }
  100% { text-shadow: none; }
}


.our-team {
  padding: 30px 0 40px;
  margin-bottom: 30px;
  /* background-color: rgba(0, 0, 0, 0.7); */
  text-align: center;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
  box-shadow: 0 0 15px #00ff9f33;
}

.our-team .picture {
  display: inline-block;
  height: 130px;
  width: 130px;
  margin-bottom: 50px;
  position: relative;
}

.our-team .picture img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  transition: all 0.9s ease;
}

.our-team:hover .picture img {
  box-shadow: 0 0 0 10px #00ff9f33;
  transform: scale(0.9);
}

.our-team .team-content .name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #00ff9f;
  margin-bottom: 5px;
}

.our-team .title {
  font-size: 14px;
  color: #cccccc;
}

.our-team .social {
  width: 100%;
  padding: 0;
  margin: 0;
  /* background-color: #0f0f0f; */
  position: absolute;
  bottom: -100px;
  left: 0;
  transition: all 0.5s ease;
  border-top: 1px solid #00ff9f33;
}

.our-team:hover .social {
  bottom: 0;
}

.our-team .social li {
  display: inline-block;
}

.our-team .social li a {
  display: block;
  padding: 12px 15px;
  font-size: 18px;
  color: #00ff9f;
  transition: all 0.3s ease;
  text-decoration: none;
}

.our-team .social li a:hover {
  background-color: #00ff9f;
  color: #000;
  border-radius: 5px;
}
.newfont {
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  color: whitesmoke;
  font-size: 1.3rem;
  text-align: justify;
}

.card {
  border: none;
  border-left: 4px solid #00ff9f;
  /* background-color: white; */
  color: whitesmoke;
  background: var(--card-bg);
  border: var(--border-glow);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}
.card:hover {
  transform: scale(1.02);
}
.card-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00ff9f;
}
.icon {
  color: #00ff9f;
  font-size: 1.2rem;
}
.text-purple {
  color: #00ff9f;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0a0a0a; /* dark hacker style background */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 1s ease;
}
#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

#main-content {
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Glass card style */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 159, 0.3);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 255, 159, 0.1);
  color: white;
}

/* Accordion button override */
.accordion-button {
  background: transparent;
  color: #00ff9f;
  font-weight: bold;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(0, 255, 159, 0.1);
  color: #00ff9f;
  box-shadow: none;
}

.accordion-body {
  color: #ddd;
  font-size: 15px;
}

/* Glowing text */
.text-glow {
  color: #00ff9f;
  font-weight: bold;
  text-shadow: 0 0 10px #00ff9f, 0 0 20px #00ff9f;
}

/* Glass effect */
.glass-rule {
  /* background: rgba(255, 255, 255, 0.05); */
  border: 1px solid rgba(0, 255, 159, 0.2);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 255, 159, 0.1);
}

/* Heading style */
.section-title {
  color: #00ff9f;
  font-weight: bold;
  font-size: 2rem;
  text-shadow: 0 0 10px #00ff9f;
}

/* Rules list */
.rules-list {
  list-style: none;
  padding-left: 0;
  font-size: 1.1rem;
  line-height: 1.8;
}

.rules-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: #f0f0f0;
  animation: fadeUp 0.5s ease forwards;
}

.rules-list li::before {
  content: "➤";
  position: absolute;
  left: 0;
  color: #00ff9f;
  font-size: 1rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@font-face {
  font-family: 'BitFont';   
  src: url('SwampNinja-1j2r2.ttf') format('truetype'); 
  font-weight: normal;
  font-style: normal;
}

.custom-text {
  font-family: 'BitFont',Georgia, 'Times New Roman', Times, serif;
  font-size: 3rem;
  font-weight: bold;
  color: #00ff9f;
}
.custom-text-title {
  font-family: 'BitFont',Georgia, 'Times New Roman', Times, serif;
  font-size: 2rem;
  font-weight: bold;
  color: #00ff9f;
}
.last-section{
  border: none;
  border-left: 4px solid #00ff9f;
  /* background-color: white; */
  color: whitesmoke;
  background: var(--card-bg);
  border: var(--border-glow);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}
.text-hacker {
  color: #00ff9f;
}
  
