/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #f8faff;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: #0d3b66;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  z-index: 1000;
}

.nav-logo {
  font-size: 2.4rem;
  font-weight: bold;
  color: white;
}

/* Hamburger */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ffcc00;
}

/* Header */
.club-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0d3b66;
  padding: 20px;
  flex-wrap: wrap;
  text-align: center;
}

.club-header .logo {
  height: 160px;
  width: auto;
  border-radius: 41px;
}

.club-title h1 {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  text-align: center;
  margin: 10px;
}

/* Welcome Banner */
.welcome-banner {
  background: #444;
  color: white;
  text-align: center;
  padding: 25px;
  font-size: 1.6rem;
}

.welcome-banner span {
  color: #ffcc00;
  font-weight: bold;
}

/* About Us */
.about {
  text-align: center;
  padding: 40px 20px;
  background: #f0f4ff;
}

.about h3 {
  font-size: 1.8rem;
  color: #0d3b66;
  margin-bottom: 15px;
}

.about p {
  max-width: 800px;
  margin: auto;
  font-size: 1rem;
  color: #333;
}

/* Events */
.events {
  padding: 40px 20px;
  text-align: center;
}

.events h3 {
  font-size: 1.8rem;
  color: #0d3b66;
  margin-bottom: 20px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}

.event-card {
  display: block;
  text-decoration: none;
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-weight: bold;
  color: #0d3b66;
  transition: transform 0.3s, background 0.3s;
}

.event-card:hover {
  transform: translateY(-5px);
  background: #eaf2ff;
}

/* Team Section */
.team {
  padding: 40px 20px;
  text-align: center;
  background: #f0f4ff;
}

.team h3 {
  font-size: 1.8rem;
  color: #0d3b66;
  margin-bottom: 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}

.team-member {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.team-member img {
  width: 240px;
  height: 240px;
  border-radius: 8px; /* square with slightly rounded corners */
  object-fit: cover;
  margin-bottom: 15px;
}

.team-member h4 {
  font-size: 1.2rem;
  color: #0d3b66;
}

.team-member p {
  color: #555;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #0d3b66;
    padding: 15px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    padding: 10px 0;
  }

  .club-header {
    flex-direction: column;
  }

  .club-title h1 {
    font-size: 1.9rem;
  }

  .club-header .logo {
    height: 180px;
  }

  .team-member img {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .club-title h1 {
    font-size: 1.2rem;
  }

  .club-header .logo {
    height: 50px;
  }

  .welcome-banner {
    font-size: 1.1rem;
    padding: 15px;
  }

  .team-member img {
    width: 150px;
    height: 150px;
  }
}
