/* updates.css */
.updates-hero {
  background-image: url('../assets/updates-bg.jpg');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.updates-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 2rem;
  color: white;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.updates-content {
  text-align: center;
  margin-bottom: 3rem;
  width: 100%;
}

.updates-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.updates-content p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

.updates-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  width: 100%;
}

.update-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  opacity: 0; /* Start hidden for animation */
}

.update-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.update-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.update-date {
  font-size: 0.9rem;
  color: #ddd;
  margin-bottom: 0.5rem;
}

.update-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.update-link {
  color: #4CAF50;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.update-link:hover {
  color: #45a049;
}

.update-link::after {
  content: '→';
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.update-link:hover::after {
  transform: translateX(5px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.update-card {
  animation: fadeInUp 0.5s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .updates-section {
    padding: 3rem 1rem;
  }
  
  .updates-content h2 {
    font-size: 2rem;
  }
  
  .updates-container {
    grid-template-columns: 1fr;
  }
}

/* Mobile menu styles */

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFB000;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 360px;
  height: 100vh;
  background: #0f1214;
  color: #fff;
  z-index: 10000;
  transition: right 0.28s cubic-bezier(.2,.9,.2,1);
  padding: 22px 18px 120px 18px;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.mobile-menu.active {
  right: 0;
}

.close-btn {
  background: none;
  border: none;
  color: #FFB000;
  font-size: 1.9rem;
  position: absolute;
  top: 18px;
  left: 18px;
  cursor: pointer;
  padding: 6px;
}

@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-links {
    display: none;
  }
  
  .login-btn {
    display: none;
  }
}