body {
  margin: 0;
  background-color: #ffffff;
  font-family: 'Orbitron', sans-serif;
  color: #00308F;
}

/* ==========================
 Header
========================== */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: white;
    border-bottom: 2px solid #00308F;
}

/* Logos */
.header-logo {
    height: 90px;
    width: auto;
    max-width: 100%;
}

/* Header text */
.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  color: #00308F;
  font-weight: bold;
  margin: 0 auto; /* centers horizontally */
}

/* Club Cards */
.clubs-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* ← exactly 3 per row */
  gap: 40px;
  padding: 60px;
  max-width: 1400px;
  margin: auto;
}

@media (max-width: 1000px) {
  .clubs-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .clubs-section {
    grid-template-columns: 1fr;
  }
}


.club-card {
  background-color: #f8f9fc;
  border: 2px solid #d0d4e0;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 48, 143, 0.15);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.club-card:hover {
  transform: translateY(-5px);
}

/* Image */
.club-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Info */
.club-info {
  padding: 20px 25px;
}

.club-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.club-header h3 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  margin: 0;
  letter-spacing: 1px;
}

.contact {
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #222;
  margin-top: 5px;
}

/* Dropdown Button */
.dropdown-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #00308F;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.club-card.open .dropdown-btn {
  transform: rotate(180deg);
}

/* Dropdown Content */
.club-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.4;
  margin-top: 10px;
}

.club-details p {
  margin: 10px 0;
}

/* Club details start hidden */
.club-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;

  /* Smooth animation */
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

/* When card is open */
.club-card.open .club-details {
  opacity: 1;
}


