* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: #050816;
  color: white;
  overflow-x: hidden;
}

/* Navbar */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 18px 40px;

  background: rgba(10,10,30,0.45);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(255,255,255,0.1);

  z-index: 1000;
}

.logo {
  font-size: 1.4rem;
  font-weight: bold;

  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  color: white;
  text-decoration: none;

  transition: 0.4s ease;
}

.nav-links a:hover {
  color: #8b5cf6;

  text-shadow:
    0 0 10px rgba(139,92,246,0.8),
    0 0 25px rgba(139,92,246,0.6);
}

/* Hero */

.hero {
  position: relative;

  height: 70vh;

  background-image: url('../img/hero.jpg');
  background-size: cover;
  background-position: center;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background: rgba(0,0,0,0.35);
}

.hero-content {
  position: relative;
  z-index: 2;

  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;

  text-shadow:
    0 0 10px rgba(255,255,255,0.5),
    0 0 30px rgba(139,92,246,0.5);

  margin-bottom: 10px;
}

.hero-content h2 {
  font-size: 2rem;

  margin-bottom: 20px;

  color: #d8d8ff;
}

.hero-content p {
  font-size: 1.2rem;

  color: #ccccff;
}

/* Sections */

section {
  padding: 100px 10%;
}

section h2 {
  font-size: 2.2rem;

  margin-bottom: 40px;

  text-align: center;
}

/* News */

.news-section {
  background: linear-gradient(to bottom, #050816, #0b1026);
}

.news-item {
  padding: 20px;

  margin-bottom: 20px;

  border-radius: 16px;

  background: rgba(255,255,255,0.05);

  backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,0.08);

  transition: 0.4s ease;
}

.news-item:hover {
  transform: translateY(-4px);

  box-shadow:
    0 0 20px rgba(139,92,246,0.25);
}

.news-date {
  color: #9ca3af;

  margin-bottom: 8px;
}

/* Research */

.research-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

  gap: 30px;
}

.news-list,
.events-list {
  max-height: 500px;
  overflow-y: auto;
  padding-right: 10px;
}




.research-card {
  padding: 30px;

  border-radius: 20px;

  background: rgba(255,255,255,0.05);

  backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,0.08);

  transition: 0.4s ease;
}

.research-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 0 25px rgba(96,165,250,0.35);
}

.research-card h3 {
  margin-bottom: 15px;

  color: #d8b4fe;
}

.research-card img {
  width: 100%;
  height: 100px;

  object-fit: cover;

  border-radius: 16px;

  margin-bottom: 22px;

  border: 1px solid rgba(255,255,255,0.12);
}

.research-card:hover img {
  filter: brightness(1.15) saturate(1.2);

  box-shadow:
    0 0 25px rgba(96,165,250,0.35);
}


/* Footer */

footer {
  padding: 50px;

  text-align: center;

  background: #040611;

  color: #9ca3af;
}

/* Fade-in */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile */

@media (max-width: 768px) {

  .navbar {
    padding: 15px 20px;
  }

  .nav-links {
    gap: 15px;

    font-size: 0.85rem;

    flex-wrap: wrap;

    justify-content: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content h2 {
    font-size: 1.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  section {
    padding: 70px 8%;
  }
}



/* Members */

.members-section {
  background:
    linear-gradient(to bottom, #0b1026, #050816);
}

.members-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(260px, 1fr));

  gap: 30px;
}

.member-card {
  padding: 30px;

  text-align: center;

  border-radius: 24px;

  background: rgba(255,255,255,0.05);

  backdrop-filter: blur(10px);

  border:
    1px solid rgba(255,255,255,0.08);

  transition: 0.4s ease;
}

.member-card:hover {
  transform: translateY(-8px);

  box-shadow:
    0 0 30px rgba(139,92,246,0.35);
}

.member-card img {
  width: 120px;
  height: 120px;

  object-fit: cover;

  border-radius: 50%;

  margin-bottom: 20px;

  border:
    2px solid rgba(255,255,255,0.15);
}

.member-card h3 {
  margin-bottom: 10px;

  color: white;
}

.member-role {
  color: #8b5cf6;

  margin-bottom: 15px;

  font-weight: bold;
}

.member-card p {
  color: #cbd5e1;

  line-height: 1.6;
}


.member-category {

  margin-top: 60px;
  margin-bottom: 30px;

  font-size: 1.5rem;

  color: #d8b4fe;

  letter-spacing: 1px;

}

.members-divider {

 
  width: 100%;

  height: 2px;

  margin: 70px 0;

  background:
    linear-gradient(
      to right,
      transparent,
      rgba(139,92,246,0.9),
      transparent
    );

  box-shadow:
    0 0 18px rgba(139,92,246,0.55);

}




/* Contact */

.contact-section {
  background:
    radial-gradient(circle at center, rgba(139,92,246,0.12), transparent 45%),
    linear-gradient(to bottom, #050816, #040611);
}

.contact-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;

  border-radius: 24px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(255,255,255,0.08);

  text-align: center;

  box-shadow:
    0 0 30px rgba(96,165,250,0.15);
}

.contact-card h3 {
  margin-bottom: 20px;
  color: #d8b4fe;
}

.contact-card p {
  color: #cbd5e1;
  line-height: 1.8;
}

.contact-info {
  margin-top: 30px;
}

.contact-info p {
  margin-bottom: 20px;
}

.contact-info a {
  color: #93c5fd;
  text-decoration: none;
  transition: 0.4s ease;
}

.contact-info a:hover {
  color: #c084fc;
  text-shadow:
    0 0 10px rgba(192,132,252,0.8);
}



.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  z-index: 2000;
}

.modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 700px;
  padding: 40px;
  border-radius: 24px;
  background: rgba(10,10,30,0.85);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 0 40px rgba(139,92,246,0.35);
}

/* Links */

.links-section {

  background:
    linear-gradient(to bottom,
      #0b1026,
      #050816);

}

.links-grid {

  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(250px, 1fr));

  gap: 30px;

  align-items: center;

}

.link-banner {

  display: block;

  padding: 20px;

  border-radius: 24px;

  background: rgba(255,255,255,0.05);

  backdrop-filter: blur(10px);

  border:
    1px solid rgba(255,255,255,0.08);

  transition: 0.4s ease;
}

.link-banner:hover {

  transform:
    translateY(-6px)
    scale(1.02);

  box-shadow:
    0 0 30px rgba(96,165,250,0.35);

}

.link-banner img {

  width: 100%;

  height: auto;

  border-radius: 14px;

  display: block;


}

.small-banner img {

  width: 55%;

  margin: 0 auto;

  display: block;

}


#modal-pdf {

  color: #93c5fd;
  
  display: inline-block;
  
  margin-top: 20px;

  text-decoration: none;

  font-weight: bold;

  padding: 6px 14px;

  border-radius: 999px;

  background:
    rgba(96,165,250,0.12);

  border:
    1px solid rgba(147,197,253,0.25);

  transition: 0.4s ease;

}

