* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Basic Light Theme */
  body {
    font-family: 'Poppins', sans-serif;
    background: #f9f9f9;
    color: #333;
  }
  
/* Navbar */
.home {
    padding-top: 100px; /* To avoid content getting hidden behind navbar */
  }
  
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
  }
  
  .logo {
    font-size: 2rem;
    font-weight: bold;
    color: #ffd700;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
  }
  
  .nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  .nav-links li a:hover {
    color: #ffd700;
  }
  
/* Achievements Section */
#achievements {
  padding: 120px 20px 40px 20px; /* Increased top padding */
  text-align: center;
}

#achievements h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #222;
}

/* Achievements Grid */
.achievement-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.achievement-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s;
}

.achievement-item:hover {
  transform: translateY(-5px);
}

.achievement-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.achievement-name {
  padding: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: #555;
}

/* Popup Overlay (if needed) */
#modal {
  position: fixed;
  display: none; /* Hidden by default */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  flex-direction: column;
}

#modal-content {
  max-width: 90%;
  max-height: 80%;
  margin-bottom: 20px;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.open-new-window {
  position: absolute;
  top: 70px;
  right: 30px;
  background: #ffd700;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 600px) {
  .achievement-image {
    height: 150px;
  }
}
