* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #f7f9fb;
}

header {
  background: rgb(65, 65, 123);
  color: white;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

nav a {
  margin: 0 15px;
  color: white;
  text-decoration: none;
  font-weight: 500;
}

nav a.active {
  border-bottom: 2px solid white;
}

.login-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.login-section button {
  background: transparent;
  border: 1px solid white;
  padding: 6px 12px;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}
.login-section button a {
  color: white;
  text-decoration: none;
}
.login-section button:hover {
  background: rgba(255, 255, 255, 0.1);
}
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav, .login-section {
    display: none;
    width: 100%;
    text-align: center;
    flex-direction: column;
    background-color: rgb(65, 65, 123);
  }

  nav.show, .login-section.show {
    display: flex;
  }

  nav a {
    padding: 10px 0;
    margin: 0;
    border-top: 1px solid rgba(255,255,255,0.2);
  }

  .login-section {
    padding-bottom: 10px;
  }
}

.stats {
  display: flex;
  justify-content: space-around;
  margin: 30px;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 25px;
  flex: 1 1 200px;
  max-width: 220px;
  text-align: center;
}

.card .icon {
  font-size: 30px;
  margin-bottom: 10px;
  background: linear-gradient(to right, #5f65e6, #7a50c5);
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  line-height: 50px;
  margin: 0 auto 10px;
}

.card h2 {
  font-size: 24px;
  color: #222;
}

.card p {
  color: #666;
  margin-top: 5px;
}

.recent-events {
  background: white;
  margin: 0 30px 30px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.recent-events h2 {
  margin-bottom: 20px;
  color: #222;
}

.event {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #eee;
}

.event:first-of-type {
  border-top: none;
}

.date {
  background: linear-gradient(to right, #5f65e6, #7a50c5);
  color: white;
  width: 60px;
  text-align: center;
  padding: 10px 0;
  border-radius: 8px;
  margin-right: 20px;
}

.date span {
  display: block;
  font-size: 14px;
}

.date strong {
  font-size: 20px;
}

.event h3 {
  margin-bottom: 5px;
  font-size: 18px;
  color: #222;
}

.event p {
  color: #555;
  font-size: 14px;
}



/* Footer */

.site-footer {
  background-color: #325676;
  color: #fff;
  padding: 40px 20px 10px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column h3,
.footer-column h4 {
  margin-bottom: 10px;
  color: #fff;
}

.footer-column p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  display: block;
  padding: 5px 0;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #ffcc00;
}

.social-icons a img {
  color: antiquewhite;
  width: 24px;
  height: 24px;
  margin-right: 12px;
  transition: transform 0.3s;
}

.social-icons a:hover img {
  transform: scale(1.2);
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.subscribe-form input {
  padding: 10px;
  border: none;
  border-radius: 4px;
  outline: none;
}

.subscribe-form button {
  padding: 10px;
  background-color: #ffcc00;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.subscribe-form button:hover {
  background-color: #e6b800;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 10px;
  border-top: 1px solid #444;
  font-size: 14px;
  color: #aaa;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-icons a {
    margin: 0 8px;
  }
}
