/* ============================
   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);

}



.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);
  }
}

/* ================= FEATURED MEMBER CARD ================= */
.featured-card {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 640px;
  width: 100%;
  background: #ffffff;
  padding: 26px 30px;
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
  border-top: 6px solid #1e3a8a;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  margin:auto;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.18);
}

/* ================= PHOTO ================= */
.featured-photo {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  object-fit: cover;
  border: 3px solid #e5e7eb;
  flex-shrink: 0;
  display : block;
  
}

/* ================= TEXT ================= */
.featured-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.featured-role {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #3b5bff;
}

.featured-name {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
}

/* ================= CONTACT ================= */
.featured-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  margin-top: 6px;
}

.featured-contact span,
.featured-contact a {
  color: #475569;
  cursor: pointer;
  transition: color 0.2s ease;
}

.featured-contact a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.featured-contact a:hover,
.featured-contact span:hover {
  color: #1e40af;
}

/* ================= MOBILE ================= */
@media (max-width: 600px) {
  .featured-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }

  .featured-photo {
    width: 110px;
    height: 110px;
  }

  .featured-contact {
    justify-content: center;
  }
}



/* ================= RESEARCH DOCUMENTS ================= */

/* ================= DOCUMENTS SECTION ================= */
.research-documents {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  display: flex;
  gap: 60px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================= DOCUMENT CARD ================= */
.research-doc {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
}

/* COVER IMAGE */
.research-doc img {
  width: 100%;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  border-radius: 4px;
}

/* ACTION BUTTONS */
.doc-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.doc-actions a,
.doc-actions button {
  background: none;
  border: none;
  color: #b91c1c;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 1px solid #b91c1c;
  padding-bottom: 6px;
  text-align: center;
}

.doc-actions a:hover,
.doc-actions button:hover {
  opacity: 0.75;
}

/* ================= PDF MODAL ================= */
.pdf-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 3000;
}

.pdf-box {
  width: 90%;
  height: 90%;
  background: white;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.pdf-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.pdf-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .research-documents {
    flex-direction: column;
    align-items: center;
    gap: 80px;
  }

  .research-doc {
    width: 90%;
  }
}
