/* ============================================
   BRSN PREMIUM SCIENTIFIC PORTAL
   Font: Palatino Linotype throughout
   ============================================ */

:root {
  --primary: #0a3d62;
  --primary-dark: #062845;
  --primary-light: #1e5a8a;
  --accent: #c9a961;
  --accent-dark: #a88a48;
  --teal: #0e7c66;
  
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --ink-muted: #6b7280;
  --line: #e5e7eb;
  --surface: #ffffff;
  --surface-soft: #f8f9fa;
  --surface-tint: #f0f4f8;
  --error: #dc2626;
  --success: #16a34a;
  
  /* Palatino Linotype Throughout */
  --font-main: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  
  --shadow-xs: 0 1px 2px rgba(10, 61, 98, 0.04);
  --shadow-sm: 0 2px 8px rgba(10, 61, 98, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 61, 98, 0.08);
  --shadow-lg: 0 16px 48px rgba(10, 61, 98, 0.12);
  --shadow-glow: 0 0 0 3px rgba(201, 169, 97, 0.15);
  
  --container: 1240px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s var(--ease);
}

/* ===== RESET ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover { color: var(--accent-dark); }

button, input, textarea, select {
  font-family: var(--font-main);
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 8px 16px;
  z-index: 100;
}
.skip-link:focus { top: 0; }

.required { color: var(--error); }

/* ===== UTILITY BAR ===== */
.utility-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  padding: 0.5rem 0;
}

.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.utility-bar a {
  color: rgba(255,255,255,0.9);
  margin-left: 1.25rem;
}

.utility-bar a:hover { color: var(--accent); }

.utility-left { display: flex; gap: 1rem; align-items: center; }
.utility-left i { color: var(--accent); margin-right: 0.4rem; }

/* ===== NAVIGATION ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo {
  width: 52px;
  height: 52px;
}

.brand-text h1 {
  font-size: 1.35rem;
  color: var(--primary-dark);
  margin: 0;
  line-height: 1.1;
}

.brand-text span {
  font-size: 0.7rem;
  color: var(--accent-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.9rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
  background: var(--surface-tint);
}

.nav-link i { font-size: 0.7rem; opacity: 0.6; }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 60;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.6rem 0.9rem;
  color: var(--ink);
  font-size: 0.9rem;
  border-radius: 6px;
}

.dropdown a:hover {
  background: var(--surface-tint);
  color: var(--primary);
  padding-left: 1.1rem;
}

.btn-portal {
  background: var(--primary);
  color: white !important;
  padding: 0.6rem 1.25rem !important;
  border-radius: var(--radius-sm);
}

.btn-portal:hover {
  background: var(--primary-dark);
  color: white !important;
  box-shadow: var(--shadow-md);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a3d62 0%, #0e7c66 100%);
  overflow: hidden;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(201, 169, 97, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(14, 124, 102, 0.3) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 6rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(201, 169, 97, 0.15);
  border: 1px solid rgba(201, 169, 97, 0.3);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: white;
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 600;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  font-family: var(--font-main);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

.btn-large {
  padding: 1.1rem 2.5rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
}

.btn-primary:hover {
  background: white;
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--primary);
  color: white;
}

.btn-secondary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  color: white;
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: white;
}

/* Hero Card with Journal Image */
.hero-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.hero-card-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.hero-card-image {
  width: 100%;
  max-width: 200px;
  margin: 0 auto 1rem;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  display: block;
}

.hero-card h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.hero-card p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-align: center;
}

.hero-card-link {
  color: var(--accent);
  font-weight: 600;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
}

.hero-card-link:hover { color: white; }

/* ===== METRICS ===== */
.metrics {
  background: white;
  margin-top: -60px;
  position: relative;
  z-index: 5;
  padding: 0;
}

.metrics-inner {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 4px solid var(--accent);
}

.metric {
  text-align: center;
  position: relative;
}

.metric:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: var(--line);
}

.metric-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.metric-icon {
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

/* ===== SECTION GENERAL ===== */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-eyebrow {
  display: inline-block;
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--surface-soft);
}

.about-grid {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-content .lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin: 1.5rem 0 3rem;
  line-height: 1.7;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.pillar {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  text-align: left;
  transition: var(--transition);
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.pillar i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.pillar h4 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.pillar p {
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ===== PORTALS ===== */
.portals {
  background: white;
}

.portals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.portal-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--line);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: block;
  color: inherit;
}

.portal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.portal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.portal-card:hover::before {
  transform: scaleX(1);
}

.portal-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.portal-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  color: var(--primary-dark);
}

.portal-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.portal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.portal-card:hover .portal-link i {
  transform: translateX(4px);
}

/* ===== JOURNAL SECTION ===== */
.journal-section {
  background: var(--surface-soft);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.journal-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.journal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.journal-cover {
  width: 100%;
  height: auto;
  display: block;
  background: var(--primary-dark);
}

.journal-info {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.journal-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 0.3rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.journal-tag.tag-archive {
  background: var(--surface-tint);
  color: var(--primary);
}

.journal-info h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.journal-info p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.journal-stats {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.journal-stats li {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.journal-stats i {
  color: var(--accent);
  margin-right: 0.4rem;
}

.journal-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

/* ===== POLICY HUB ===== */
.policy-hub {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.policy-hub::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 60%);
  border-radius: 50%;
}

.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.policy-content h2 { color: white; }
.policy-content > p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin: 1.5rem 0 2rem;
  line-height: 1.7;
}

.policy-list {
  list-style: none;
}

.policy-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
}

.policy-list li:last-child { border-bottom: none; }

.policy-list i {
  color: var(--accent);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.policy-docs {
  display: grid;
  gap: 1rem;
}

.policy-doc {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  color: white;
}

.policy-doc:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--accent);
  transform: translateX(4px);
  color: white;
}

.policy-doc-icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.policy-doc h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.policy-doc p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin: 0;
}

/* ===== LEADERSHIP ===== */
.leadership {
  background: white;
}

.leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.leader {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: var(--transition);
}

.leader:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.leader-photo {
  width: 100%;
  height: auto;
  display: block;
  background: var(--primary);
}

.leader-body {
  padding: 1.5rem;
  text-align: center;
}

.leader h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--primary-dark);
}

.leader-role {
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.leader-bio {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.leader-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.leader-links a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--surface-tint);
  border-radius: 50%;
  color: var(--primary);
  font-size: 0.95rem;
  transition: var(--transition);
}

.leader-links a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* ===== CHAPTERS ===== */
.chapters {
  background: var(--surface-soft);
}

.chapters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.chapter {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border-left: 4px solid var(--accent);
  transition: var(--transition);
}

.chapter:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--primary);
}

.chapter-flag {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.chapter h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.chapter-location {
  color: var(--ink-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.chapter-convener {
  background: var(--surface-tint);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.chapter-convener strong {
  display: block;
  color: var(--primary-dark);
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.chapter-convener span {
  color: var(--ink-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== MEMBERSHIP ===== */
.membership-section {
  background: white;
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.membership-card {
  background: white;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: var(--transition);
  position: relative;
  text-align: center;
}

.membership-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.membership-card.highlight {
  border-color: var(--primary);
  background: linear-gradient(180deg, var(--surface-tint) 0%, white 100%);
}

.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--primary-dark);
  padding: 0.3rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.member-badge {
  display: inline-block;
  background: var(--surface-tint);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.membership-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.member-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1rem 0 1.5rem;
}

.member-price span {
  font-size: 0.9rem;
  color: var(--ink-muted);
  font-weight: 400;
}

.membership-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 1.5rem;
}

.membership-card li {
  padding: 0.5rem 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.membership-card li i {
  color: var(--accent);
  margin-top: 0.25rem;
}

/* ===== APPLICATION FORM ===== */
.application-section {
  background: var(--surface-soft);
}

.application-form {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

fieldset {
  border: none;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

fieldset:last-of-type {
  border-bottom: none;
  margin-bottom: 1rem;
}

legend {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  padding: 0;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

legend i {
  color: var(--accent);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--ink);
  background: white;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Radio Cards */
.radio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.radio-card {
  position: relative;
  cursor: pointer;
}

.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-content {
  display: block;
  padding: 1rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  background: white;
}

.radio-content strong {
  display: block;
  color: var(--primary-dark);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.radio-content span {
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 600;
}

.radio-card input[type="radio"]:checked + .radio-content {
  border-color: var(--primary);
  background: var(--surface-tint);
  box-shadow: var(--shadow-glow);
}

.radio-card:hover .radio-content {
  border-color: var(--accent);
}

/* File Upload */
.file-upload {
  position: relative;
}

.file-upload input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--ink-muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.file-upload:hover .file-label {
  border-color: var(--accent);
  background: var(--surface-tint);
  color: var(--primary);
}

.file-label i {
  font-size: 1.25rem;
  color: var(--accent);
}

.file-upload.has-file .file-label {
  border-color: var(--success);
  background: rgba(22, 163, 74, 0.05);
  color: var(--success);
}

/* Checkboxes */
.checkbox-group {
  margin-bottom: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 400;
  color: var(--ink-soft);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-submit {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--line);
}

.form-note {
  margin-top: 1rem;
  color: var(--ink-muted);
  font-size: 0.85rem;
  font-style: italic;
}

/* ===== CONTACT ===== */
.contact-section {
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface-soft);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--primary-dark);
}

.contact-item p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

.social-icons {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.social-icons a {
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--primary);
  border: 1px solid var(--line);
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.contact-form {
  background: var(--surface-soft);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  background: white;
}

/* ===== PARTNERS ===== */
.partners {
  background: var(--surface-soft);
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partners-title {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 2rem;
}

.partners-track {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.partner {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink-muted);
  opacity: 0.7;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.partner:hover {
  opacity: 1;
  color: var(--primary);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.footer-brand img {
  width: 48px;
  height: 48px;
}

.footer-brand h3 {
  color: white;
  font-size: 1.3rem;
  margin: 0;
}

.footer p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 0.6rem;
}

.footer a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.footer a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.6);
  margin-left: 1.5rem;
  font-size: 0.85rem;
}

/* ===== CHATBOT ===== */
.chatbot {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  color: white;
  font-size: 1.4rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.chat-toggle:hover { transform: scale(1.08); }

.chat-toggle::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 4px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid white;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 3rem);
  height: 520px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
}

.chat-window.open {
  display: flex;
  animation: slideUp 0.3s var(--ease);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-header {
  background: linear-gradient(135deg, var(--primary), var(--teal));
  color: white;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.chat-header h4 {
  color: white;
  font-size: 1rem;
  margin: 0;
}

.chat-header p {
  font-size: 0.75rem;
  opacity: 0.85;
  margin: 0;
}

.chat-close {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: white;
  display: grid;
  place-items: center;
}

.chat-close:hover { background: rgba(255,255,255,0.3); }

.chat-messages {
  flex: 1;
  padding: 1.25rem;
  overflow-y: auto;
  background: var(--surface-soft);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.chat-message {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-message.bot {
  background: white;
  border: 1px solid var(--line);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-message.user {
  background: var(--primary);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  background: var(--surface-soft);
}

.chat-suggestion {
  background: white;
  border: 1px solid var(--line);
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--primary);
}

.chat-suggestion:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.chat-input-wrap {
  padding: 0.85rem;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 0.5rem;
}

.chat-input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.9rem;
  outline: none;
}

.chat-input:focus {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: grid;
  place-items: center;
}

.chat-send:hover { background: var(--primary-dark); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .policy-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .metrics-inner { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .metric:nth-child(2)::after { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: 85%;
    max-width: 360px;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.5rem 2rem;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    transition: right 0.4s var(--ease);
    gap: 0;
  }
  
  .nav-menu.open { right: 0; }
  
  .nav-menu li {
    border-bottom: 1px solid var(--line);
  }
  
  .nav-link { padding: 1rem 0; }
  
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0 0 0.5rem 1rem;
    background: var(--surface-soft);
    border-radius: var(--radius-sm);
    margin-top: 0.5rem;
  }
  
  .utility-bar { display: none; }
  
  .footer-grid { grid-template-columns: 1fr; }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-bottom-links a {
    margin: 0 0.75rem;
  }
  
  section { padding: 3.5rem 0; }
  
  .hero { min-height: auto; }
  .hero-content { padding: 4rem 0 3rem; }
  
  .application-form { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
  .metrics-inner { 
    grid-template-columns: 1fr; 
    padding: 2rem 1.25rem;
  }
  .metric::after { display: none !important; }
  
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  
  .partners-track { gap: 1.5rem; }
  
  .chat-window { width: calc(100vw - 2rem); right: -1rem; }
  
  .radio-grid { grid-template-columns: 1fr; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================
   MEMBERS DIRECTORY
   ============================================ */
.members-directory {
  background: var(--surface-soft);
}

.directory-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2.5rem;
  background: white;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.search-box {
  flex: 1;
  min-width: 240px;
  position: relative;
}

.search-box i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-muted);
}

.search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.filter-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.6rem 1.1rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover {
  background: var(--surface-tint);
  color: var(--primary);
}

.filter-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.member-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.member-card.hidden {
  display: none;
}

.member-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.member-cat-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.tag-fbrsn {
  background: rgba(201, 169, 97, 0.95);
  color: var(--primary-dark);
}

.tag-afbrsn {
  background: rgba(14, 124, 102, 0.95);
  color: white;
}

.tag-cmbrsn {
  background: rgba(30, 90, 138, 0.95);
  color: white;
}

.member-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  background: var(--primary);
}

.member-info {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.member-id {
  background: linear-gradient(135deg, var(--primary), var(--teal));
  color: white;
  font-family: 'Courier New', monospace;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.member-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--primary-dark);
  line-height: 1.3;
}

.member-position {
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.member-spec {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.member-loc {
  color: var(--ink-muted);
  font-size: 0.8rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.member-loc i {
  color: var(--accent);
}

.btn-share {
  margin-top: auto;
  width: 100%;
  padding: 0.6rem 1rem;
  background: var(--surface-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-share:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.directory-footer {
  text-align: center;
  margin-top: 2rem;
  padding: 1.5rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.directory-footer i {
  color: var(--accent);
  margin-right: 0.4rem;
}

.directory-footer a {
  color: var(--primary);
  font-weight: 600;
}

.directory-footer a:hover {
  color: var(--accent-dark);
}

/* ============================================
   SHARE MODAL
   ============================================ */
.share-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 61, 98, 0.55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1.5rem;
}

.share-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.share-modal-content {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.4s ease;
}

.share-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.share-close:hover {
  background: var(--primary);
  color: white;
}

.share-modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.share-modal-header h3 {
  color: var(--primary-dark);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.share-modal-header p {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.share-preview {
  background: linear-gradient(135deg, var(--primary), var(--teal));
  color: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  text-align: center;
}

.share-preview-id {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(201, 169, 97, 0.9);
  color: var(--primary-dark);
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.share-preview-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.share-preview-cat {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.share-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.share-btn {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  color: white;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
}

.share-fb { background: #1877f2; }
.share-tw { background: #1da1f2; }
.share-wa { background: #25d366; }
.share-li { background: #0a66c2; }
.share-em { background: var(--ink-soft); }
.share-copy {
  background: var(--accent);
  color: var(--primary-dark) !important;
}
.share-copy:hover { background: var(--accent-dark); color: white !important; }

/* Mobile Responsive Members Directory */
@media (max-width: 768px) {
  .directory-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-box { min-width: 100%; }
  
  .filter-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
  }
  
  .members-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
  
  .share-options {
    grid-template-columns: 1fr;
  }
  
  .share-modal-content {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .members-grid {
    grid-template-columns: 1fr;
  }
}
.custom-logo img{
    max-height:72px;
    width:auto;
}

.site-header{
    min-height:105px;
    display:flex;
    align-items:center;
}

.site-branding{
    padding-left:25px;
}
