/* === PARTICLES BACKGROUND (Fixed for all devices) === */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  z-index: -1;
  background: #000;
}

/* Mobile fix: ensure particles follow scroll */
@media (max-width: 680px) {
  #particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: 100dvh;
  }

  html, body {
    background: #000;
    overflow-x: hidden;
  }
}

/* ==== GENERAL ==== */
body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  color: #fff;
  background: #000;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Ethnocentric Rg', sans-serif;
  color: #00f4fe;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

/* ==== HEADER ==== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  background-color: rgba(0, 44, 75, 0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 2rem;
  height: 90px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  backdrop-filter: blur(6px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo img {
  width: 80px;
  height: auto;
}

.logo-text {
  font-family: 'Ethnocentric Rg', sans-serif;
  font-size: 1.8em;
  color: #00f4fe;
  letter-spacing: 2px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding-right: 100px;
}

nav a {
  color: #00f4fe;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s, text-shadow 0.3s;
}

nav a:hover {
  color: #fff;
  text-shadow: 0 0 8px #00f4fe;
}

/* ==== SECTIONS ==== */
section {
  position: relative;
  z-index: 5;
  padding: 130px 2rem 80px;
  background: rgba(0, 44, 75, 0.85);
  text-align: center;
  scroll-margin-top: 100px;
}

.section.alt {
  background: rgba(0, 44, 75, 0.65);
}

.content {
  max-width: 1000px;
  margin: 0 auto;
}

h1, h2 {
  color: #00f4fe;
  font-family: 'Ethnocentric Rg', sans-serif;
  text-shadow: 0 0 10px #00f4fe55;
  margin-bottom: 1rem;
}

p, li {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ==== IMAGES ==== */
.section-image {
  max-width: 100%;
  width: 600px;
  height:400px;
  border-radius: 12px;
  margin-top: 20px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.section-image:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
}

/* ==== PROGRAM LIST ==== */
.program-list {
  text-align: left;
  max-width: 700px;
  margin: 1.5rem auto;
  padding-left: 1rem;
}

.program-list li {
  margin-bottom: 0.7rem;
  color: #fff;
}

/* ==== CURSOR GLOW ==== */
#cursor-glow {
  position: fixed;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,255,0.25) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: -1;
  transition: opacity 0.3s ease;
}

/* ==== CONTACT CARD ANIMATIONS ==== */
.contact-container {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}
.contact-container.show {
  opacity: 1;
  transform: translateY(0);
}

.contact-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.contact-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Background pulse when hovering cards */
body.glow-bg {
  background-color: rgba(0, 255, 255, 0.05);
  transition: background-color 0.4s ease;
}

/* ==== FOOTER ==== */
footer {
  background: rgba(0, 44, 75, 0.95);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  z-index: 10;
  position: relative;
  border-top: 1px solid rgba(0,255,255,0.2);
  color: #fff;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 700px) {
  header {
    flex-direction: column;
    height: auto;
    padding: 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 0.8rem;
    padding-right: 0;
  }

  .section {
    padding: 110px 1rem 60px;
  }

  .program-list {
    text-align: center;
    padding: 0;
  }

  .section-image {
    width: 100%;
  }
}
