/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Orbitron', sans-serif;
  background: #0a0a0f;
  color: #e0e0ff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
}

/* Header */
header {
  background: rgba(10, 10, 20, 0.9);
  border-bottom: 2px solid #3f00ff;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.3);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 600;
  font-size: 1.8rem;
  color: #0ff;
  letter-spacing: 3px;
  text-shadow: 0 0 8px #0ff, 0 0 16px #3f00ff;
}

.logo span {
  color: #a020f0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 1rem;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  color: #ccc;
}

.nav-link:hover,
.nav-link:focus {
  color: #0ff;
  text-shadow: 0 0 6px #0ff, 0 0 12px #3f00ff;
  outline: none;
}

/* Main */
main {
  flex-grow: 1;
  max-width: 1200px;
  margin: 2rem auto 4rem;
  padding: 0 1rem;
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
  color: #0ff;
  text-shadow: 0 0 10px #0ff, 0 0 20px #3f00ff;
}

/* About Section */
.about-section {
  background: #111122;
  border: 2px solid #222;
  border-radius: 15px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.2);
  animation: fadeInUp 1s ease forwards;
  flex-wrap: wrap;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.profile-pic {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #0ff;
  box-shadow: 0 0 15px #0ff, 0 0 25px #3f00ff;
  flex-shrink: 0;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 0 6px #a020f0;
}

.highlight {
  color: #0ff;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
  color: #bbb;
  margin-bottom: 1.5rem;
}

.btn-primary {
  background: linear-gradient(90deg, #0ff, #3f00ff);
  color: #fff;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 0 10px #0ff, 0 0 20px #3f00ff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 15px #0ff, 0 0 30px #3f00ff;
  outline: none;
}

/* Activities Section */
.activities-section {
  margin-top: 3rem;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.activity-card {
  background: #111122;
  border: 1px solid #222;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(160, 32, 240, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.activity-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px #0ff, 0 0 40px #3f00ff;
}

.activity-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.activity-info {
  padding: 1rem 1.5rem 2rem;
  color: #eee;
}

.activity-info h3 {
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1.3rem;
  color: #0ff;
  text-shadow: 0 0 8px #3f00ff;
}

.activity-info p {
  font-size: 1rem;
  line-height: 1.4;
  color: #aaa;
}

/* Contact Section */
.contact-section {
  background: #111122;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 0 25px rgba(0, 200, 255, 0.2);
  max-width: 600px;
  margin: 3rem auto 0;
}

label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #0ff;
}

input,
textarea {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  background: #1a1a2a;
  color: #fff;
  transition: box-shadow 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 8px #0ff, 0 0 15px #3f00ff;
}

.btn-submit {
  align-self: flex-start;
  width: 150px;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #0a0a14;
  color: #888;
  font-size: 0.9rem;
  border-top: 2px solid #222;
  box-shadow: inset 0 0 10px #3f00ff;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 5, 10, 0.9);
  backdrop-filter: blur(8px);
  overflow: auto; /* Enable scroll if content is taller than screen */
}

.modal-content {
  background-color: #111122;
  margin: 5% auto;
  padding: 20px;
  border-radius: 12px;
  max-width: 600px;
  max-height: 80vh; /* Prevent content from overflowing */
  overflow-y: auto; /* Scroll inside modal */
  color: #fff;
  text-align: center;
  position: relative;
  box-shadow: 0 0 20px #0ff, 0 0 40px #3f00ff;
}

.modal-content img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 20px;
  color: #0ff;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  background: none;
  border: none;
}

.close-btn:hover {
  color: #3f00ff;
}


/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    text-align: center;
  }

  .about-content {
    flex-direction: column;
  }

  .profile-pic {
    margin-bottom: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }
}

