/* ============================
   GENERAL RESET
============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #222;
    line-height: 1.6;
}

/* ============================
   HERO SECTION
============================ */
.club-hero {
    width: 100%;
    height: 45vh;
    position: relative;
    overflow: hidden;
}

.club-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55); /* dark overlay */
}

.club-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.club-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.club-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ============================
   PAGE LAYOUT
============================ */
.club-page {
    width: 85%;
    max-width: 1100px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
}

/* ============================
   ABOUT SECTION
============================ */
.club-about h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #003366;
}

.club-about p {
    font-size: 1.1rem;
}

/* ============================
   INFO BOX
============================ */
.club-info-box {
    padding: 20px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-left: 5px solid #0066cc;
}

.club-info-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #003366;
}

.club-info-box ul {
    list-style: none;
}

.club-info-box li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.club-info-box strong {
    color: #003366;
}

/* ============================
   ACTIVITIES
============================ */
.club-activities h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #003366;
}

.club-activities ul {
    list-style: disc;
    margin-left: 20px;
}

.club-activities li {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

/* ============================
   JOIN BUTTON
============================ */
.join-section {
    text-align: center;
    margin: 30px 0;
}

.join-btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: 0.25s ease;
}

.join-btn:hover {
    background-color: #004d99;
    transform: translateY(-2px);
}


:root {
  --primary-color: #080f5b;     /* dark blue */
  --primary-gradient: linear-gradient(135deg, #080f5b, #3a0ca3); /* hero gradient */
  --accent-color: #6cb4ee;      /* lighter blue */
  --accent-gradient: linear-gradient(135deg, #6cb4ee, #48cae4);
  --bg-light: #f5f7fa;
  --bg-white: #ffffff;
  --text-dark: #333333;
  --text-light: #ffffff;
}

/* =======================
   GENERAL
======================= */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  background: var(--bg-light);
  color: var(--text-dark);
  scroll-behavior: smooth;
}

a {
  transition: 0.3s ease;
}

/* =======================
   NAVBAR
======================= */
.navbar {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 14px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

/* Logo + title */
.usman {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nwis {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff10;
  padding: 4px;
}

.usman span {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  color: var(--text-light);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 15px;
  padding: 6px 0;
}

/* Underline hover + active */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--accent-color);
}

/* Optional pill emphasis for one item, e.g. Peer Help */
.nav-links a.highlight {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
}

.nav-links a.highlight:hover {
  background: var(--accent-color);
  color: #02063a;
}

.footer {
  text-align: center;
  padding: 15px;
  background: var(--primary-gradient);
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.5px;
  bottom:0;
  position:fixed;
  width:100%;

}

.back-btn {
     display: inline-block;
    padding: 12px 28px;
    background-color: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: 0.25s ease;
}


.back-btn:hover {
    background: var(--accent-color);
    transform: translateX(-4px);

}


  MOBILE NAVBAR FIX (ALL-IN-ONE)
   =============================== */

.hamburger {
  display: none;
}

@media (max-width: 768px) {

  /* NAVBAR CONTAINER */
  .navbar {
    position: relative;
    padding: 14px 18px;
    height: 64px;
  }

  /* LOGO */
  .logo {
    font-size: 20px;
    line-height: 1.1;
  }

  .usman {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* HAMBURGER */
  .hamburger {
    display: block;
    font-size: 26px;
    cursor: pointer;
    color: white;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1100;
  }

  /* NAV LINKS (HIDDEN BY DEFAULT) */
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #080f5b;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 12px 0;
    z-index: 1000;
    animation: slideDown 0.25s ease-out;
  }

  /* SHOW MENU WHEN ACTIVE */
  .nav-links.show {
    display: flex;
  }

  /* NAV ITEMS */
  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 10px 0;
    font-size: 16px;
  }
}

/* SLIDE ANIMATION */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
