/* ============================================
   ROTARY CLUB CUTTACK MILLENNIUM — MAIN CSS
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --rotary-gold: #f7a800;
  --rotary-gold-light: #ffc933;
  --rotary-gold-dark: #d48c00;
  --rotary-blue: #003f8a;
  --rotary-blue-light: #0056b8;
  --rotary-blue-dark: #002a5e;
  --dark-bg: #0a0e1a;
  --dark-surface: #111827;
  --dark-card: #1a2035;
  --dark-border: rgba(247, 168, 0, 0.15);
  --light-bg: #f8f9fe;
  --light-surface: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-light: #f8fafc;
  --text-muted: rgba(248, 250, 252, 0.65);
  --gradient-gold: linear-gradient(135deg, #f7a800 0%, #ffc933 50%, #d48c00 100%);
  --gradient-blue: linear-gradient(135deg, #002a5e 0%, #003f8a 50%, #0056b8 100%);
  --gradient-dark: linear-gradient(135deg, #0a0e1a 0%, #111827 50%, #1a2035 100%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.2);
  --shadow-gold: 0 8px 32px rgba(247, 168, 0, 0.3);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-primary);
  background: var(--light-bg);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--dark-bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.rotary-wheel { width: 80px; height: 80px; margin: 0 auto 1rem; animation: spin 1.5s linear infinite; }
.wheel-svg { width: 100%; height: 100%; }
@keyframes spin { to { transform: rotate(360deg); } }
.preloader-text {
  color: var(--rotary-gold);
  font-size: 1rem; font-weight: 600; letter-spacing: 0.1em;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { background: var(--rotary-gold); border-radius: 3px; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0.5rem 0;
  background: #ffffff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  border-bottom: 2px solid var(--rotary-gold);
  transition: var(--transition-slow);
}
.navbar.scrolled {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0.4rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
  border-bottom: 2px solid var(--rotary-gold);
}
.nav-container {
  max-width: 1150px; margin: 0 auto;
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none;
}
.logo-icon { height: 75px; display: flex; align-items: center; flex-shrink: 0; }
.logo-icon svg { width: 100%; height: 100%; }
.nav-logo-img { height: 100%; width: auto; object-fit: contain; }
/* About section & footer logo images */
.about-logo-img { width: 180px; height: 180px; object-fit: contain; margin: 0 auto; display: block; }
.footer-logo-img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-size: 1.1rem; font-weight: 800; color: var(--rotary-gold); line-height: 1; }
.logo-sub { font-size: 0.68rem; font-weight: 400; color: rgba(255,255,255,0.7); letter-spacing: 0.05em; }
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
}
.nav-link {
  color: var(--rotary-blue-dark);
  font-size: 0.95rem; font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 2px; left: 50%; right: 50%;
  height: 2px; background: var(--rotary-gold-dark);
  border-radius: 1px;
  transition: var(--transition);
}
.nav-link:hover { color: var(--rotary-gold-dark); }
.nav-link:hover::after, .nav-link.active::after { left: 10%; right: 10%; }
.nav-link.active { color: var(--rotary-gold-dark); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--rotary-gold);
  border-radius: 2px; transition: var(--transition);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem; font-weight: 600;
  transition: var(--transition);
  cursor: pointer; border: 2px solid transparent;
}
.btn-primary {
  background: var(--gradient-gold);
  color: #000;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(247,168,0,0.5);
}
.btn-outline {
  border-color: var(--rotary-gold);
  color: var(--rotary-gold);
  background: transparent;
}
.btn-outline:hover {
  background: var(--rotary-gold);
  color: #000;
  transform: translateY(-2px);
}
.btn.full-width { width: 100%; }

/* ---------- Glass Card ---------- */
.glass-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
}

/* ---------- Container ---------- */
.container { max-width: 1150px; margin: 0 auto; padding: 0 2rem; }

/* ---------- Section Base ---------- */
.section { padding: 5rem 0; }
.dark-section { background: var(--gradient-dark); color: var(--text-light); }
.dark-section .sub-section-title { color: var(--text-light); }

/* Section header — tighter, richer look */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2.75rem;
  position: relative;
}
.section-header.light .section-title { color: var(--text-light); }
.section-header.light .section-subtitle { color: var(--text-muted); }

.section-tag {
  display: inline-block;
  background: rgba(247,168,0,0.15);
  color: var(--rotary-gold-dark);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.35rem 1.1rem;
  border-radius: 100px;
  border: 1px solid rgba(247,168,0,0.35);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

/* Decorative gold underline accent on every section title */
.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 2px;
  margin: 0.5rem auto 0;
}

/* On dark backgrounds keep the underline visible */
.section-header.light .section-title::after {
  background: var(--rotary-gold);
  opacity: 0.8;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0.6rem auto 0;
  line-height: 1.65;
}

.sub-section-title {
  font-size: 1.45rem; font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
}
.sub-section-title.light { color: var(--text-light); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: var(--dark-bg);
  padding: 8rem 2rem 4rem;
}
.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  background-image: url('../hero_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-particles { position: absolute; inset: 0; }
.hero-gradient {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(11, 15, 25, 0.6), rgba(11, 15, 25, 0.8)),
    radial-gradient(ellipse at 20% 50%, rgba(0, 63, 138, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(247, 168, 0, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 63, 138, 0.4) 0%, transparent 60%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 900px; margin: 0 auto;
  text-align: center;
  animation: fadeInUp 1s ease-out;
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(247,168,0,0.12);
  border: 1px solid rgba(247,168,0,0.35);
  color: var(--rotary-gold);
  font-size: 0.85rem; font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--rotary-gold);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800; color: #fff;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
.hero-title-sub {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.hero-title-accent { color: var(--rotary-gold); }
.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.hero-description {
  font-size: 1.1rem; color: rgba(255,255,255,0.9);
  max-width: 640px; margin: 0 auto 2.5rem;
  line-height: 1.8;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; margin-bottom: 4rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; flex-wrap: wrap;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  backdrop-filter: blur(10px);
}
.stat-item { text-align: center; }
.stat-number {
  display: block;
  font-size: 2.2rem; font-weight: 800;
  color: var(--rotary-gold);
  line-height: 1;
}
.stat-plus { font-size: 1.5rem; font-weight: 800; color: var(--rotary-gold); }
.stat-label { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 0.3rem; }
.stat-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.1); }
.hero-scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.4); font-size: 0.75rem;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-mouse {
  width: 22px; height: 35px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 11px;
  display: flex; justify-content: center; padding-top: 5px;
}
.scroll-dot {
  width: 4px; height: 8px;
  background: var(--rotary-gold);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }

/* ---------- Particle canvas ---------- */
#particleCanvas { position: absolute; inset: 0; z-index: 0; }

/* ============================================================
   MARQUEE BANNER
   ============================================================ */
.marquee-banner {
  background: var(--gradient-gold);
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-block;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-size: 0.9rem; font-weight: 600;
  color: #000;
  letter-spacing: 0.05em;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about { background: var(--light-bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}
.about-visual { 
  position: relative; 
  padding: 2rem 0;
}
.about-card-main {
  background: linear-gradient(145deg, rgba(26, 32, 53, 0.95), rgba(11, 15, 25, 0.98));
  padding: 4rem 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02),
              0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-card-main::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 30%, rgba(247, 168, 0, 0.12), transparent 50%);
  animation: pulseGlow 6s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.1); opacity: 1; }
}
.rotary-emblem { 
  position: relative;
  z-index: 2;
  width: 180px; 
  height: 180px; 
  margin: 0 auto 3rem; 
  filter: drop-shadow(0 10px 25px rgba(247, 168, 0, 0.25));
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.rotary-emblem:hover {
  transform: scale(1.05) rotate(3deg);
}
.rotary-emblem svg { width: 100%; height: 100%; }
.about-badge-info {
  position: relative;
  z-index: 2;
  display: flex; 
  flex-direction: column; 
  gap: 1rem;
  width: 100%;
}
.info-pill {
  display: flex; 
  align-items: center; 
  justify-content: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem; 
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.info-pill:hover {
  background: rgba(247, 168, 0, 0.1);
  border-color: rgba(247, 168, 0, 0.3);
  transform: translateX(6px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
.info-pill span {
  font-size: 1.1rem;
  background: rgba(247, 168, 0, 0.15);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--rotary-gold);
}
.about-card-float {
  position: absolute; 
  right: -2rem; 
  bottom: 0rem;
  background: linear-gradient(135deg, rgba(26, 32, 53, 0.9), rgba(11, 15, 25, 0.95));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1.5rem 1.75rem;
  display: flex; 
  align-items: center; 
  gap: 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  max-width: 280px;
  animation: floatUp 4s ease-in-out infinite;
  z-index: 10;
}
@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.float-icon { 
  font-size: 2.5rem; 
  filter: drop-shadow(0 5px 15px rgba(247, 168, 0, 0.3));
}
.float-text { display: flex; flex-direction: column; }
.float-text strong { 
  color: var(--rotary-gold); 
  font-size: 1.05rem; 
  margin-bottom: 0.3rem;
  letter-spacing: 0.03em;
}
.float-text span { 
  color: rgba(255, 255, 255, 0.75); 
  font-size: 0.85rem; 
  line-height: 1.4;
}

.about-content {}
.about-heading {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--rotary-blue-dark);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}
.about-heading::after {
  content: '';
  position: absolute;
  left: 0; bottom: -8px;
  width: 60px; height: 4px;
  background: var(--gradient-gold);
  border-radius: 2px;
}
.about-text {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.8;
  font-size: 1.1rem;
}
.values-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin: 2.5rem 0;
}
.value-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gradient-gold);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}
.value-card:hover::before {
  opacity: 1;
}
.value-icon { 
  font-size: 2rem; margin-bottom: 0.75rem; 
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px;
  background: rgba(247, 168, 0, 0.15);
  border-radius: 50%;
  transition: var(--transition);
}
.value-card:hover .value-icon {
  background: rgba(255, 255, 255, 0.2);
}
.value-card h4 { 
  font-size: 1.1rem; font-weight: 700; color: var(--rotary-blue-dark); margin-bottom: 0.4rem; 
  transition: var(--transition);
}
.value-card:hover h4 { color: #000; }
.value-card p { 
  font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5;
  transition: var(--transition);
}
.value-card:hover p { color: rgba(0, 0, 0, 0.8); }

.about-mission {
  background: linear-gradient(135deg, rgba(0, 63, 138, 0.95), rgba(11, 15, 25, 0.95));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 63, 138, 0.2);
}
.about-mission::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: var(--gradient-gold);
}
.about-mission h4 { 
  color: var(--rotary-gold); font-size: 0.95rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 700;
}
.about-mission blockquote { 
  color: rgba(255, 255, 255, 0.95); font-style: italic; font-size: 1.1rem; line-height: 1.8; 
  position: relative;
  z-index: 1;
}

/* ============================================================
   LEADERSHIP
   ============================================================ */
.leadership-slider-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4rem;
  width: 100%;
}
.slider-controls {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.leadership-grid {
  display: flex;
  width: 100%;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 1rem 0;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.leadership-grid::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}
.slider-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  color: var(--rotary-gold);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.slider-nav:hover {
  background: var(--rotary-gold);
  color: #000;
  box-shadow: var(--shadow-gold);
}
.leader-card {
  width: calc((100% - 4.5rem) / 4);
  flex-shrink: 0;
  scroll-snap-align: start;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 3rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.leader-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: var(--transition);
}
.leader-card:hover::before { transform: scaleX(1); }
.leader-card:hover { transform: translateY(-5px); border-color: rgba(247,168,0,0.4); }
.leader-avatar {
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--gradient-gold);
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 800;
  color: #000;
  border: 3px solid rgba(247,168,0,0.3);
}
.leader-name { font-size: 1rem; font-weight: 700; color: var(--text-light); margin-bottom: 0.25rem; }
.leader-role {
  font-size: 0.78rem; color: var(--rotary-gold);
  font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.leader-profession { font-size: 0.82rem; color: var(--text-muted); }

/* ============================================================
/* ============================================================
   LEADERSHIP LEGACY — REDESIGNED
   ============================================================ */
.legacy-section {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  position: relative;
  overflow: hidden;
}
.legacy-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(247, 168, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ---- Stats Strip ---- */
.legacy-stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  background: var(--gradient-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem 3rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(247, 168, 0, 0.15);
  box-shadow: 0 8px 32px rgba(0, 31, 63, 0.25);
}
.legacy-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.legacy-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--rotary-gold);
  line-height: 1;
}
.legacy-stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.legacy-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

/* ---- Toolbar ---- */
.legacy-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(0, 63, 138, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 1;
}

.legacy-search-wrapper {
  position: relative;
  flex: 1;
  max-width: 420px;
}
.legacy-search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #94a3b8;
  pointer-events: none;
}
.legacy-search {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.5rem;
  border-radius: 50px;
  border: 1.5px solid rgba(0, 63, 138, 0.1);
  background: var(--light-bg);
  font-size: 0.88rem;
  font-family: 'Outfit', sans-serif;
  color: var(--rotary-blue-dark);
  outline: none;
  transition: all 0.3s ease;
}
.legacy-search::placeholder {
  color: #94a3b8;
}
.legacy-search:focus {
  border-color: var(--rotary-gold);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(247, 168, 0, 0.1);
}

/* ---- View Toggle ---- */
.legacy-view-toggle {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}
.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border: 1.5px solid rgba(0, 63, 138, 0.12);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Outfit', sans-serif;
}
.view-btn:hover {
  border-color: var(--rotary-blue-dark);
  color: var(--rotary-blue-dark);
}
.view-btn.active {
  background: var(--rotary-blue-dark);
  color: #ffffff;
  border-color: var(--rotary-blue-dark);
}
.view-btn svg {
  stroke: currentColor;
}

/* ---- Table View ---- */
.legacy-table-wrapper {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 63, 138, 0.08);
}
.legacy-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  font-family: 'Outfit', sans-serif;
}
.legacy-table thead {
  background: linear-gradient(135deg, var(--rotary-blue-dark), #001f3f);
}
.legacy-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}
.legacy-table th:first-child {
  padding-left: 1.5rem;
}
.legacy-table tbody tr {
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 63, 138, 0.05);
}
.legacy-table tbody tr:last-child {
  border-bottom: none;
}
.legacy-table tbody tr:hover {
  background: rgba(247, 168, 0, 0.04);
}
.legacy-table tbody tr:nth-child(even) {
  background: rgba(0, 63, 138, 0.015);
}
.legacy-table tbody tr:nth-child(even):hover {
  background: rgba(247, 168, 0, 0.06);
}
.legacy-table td {
  padding: 0.85rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-primary);
  vertical-align: middle;
}
.legacy-table td:first-child {
  padding-left: 1.5rem;
}

/* Table cell sub-components */
.legacy-sl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 63, 138, 0.08);
  color: var(--rotary-blue-dark);
  font-size: 0.75rem;
  font-weight: 700;
}
.legacy-year-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--rotary-blue-dark);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  letter-spacing: 0.03em;
}
.legacy-year-badge svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.legacy-person-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.legacy-person-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}
.legacy-person-avatar.president {
  background: rgba(247, 168, 0, 0.12);
  color: var(--rotary-gold);
  border: 1.5px solid rgba(247, 168, 0, 0.25);
}
.legacy-person-avatar.secretary {
  background: rgba(0, 63, 138, 0.08);
  color: var(--rotary-blue-dark);
  border: 1.5px solid rgba(0, 63, 138, 0.15);
}
.legacy-person-avatar svg {
  width: 18px;
  height: 18px;
}
.legacy-person-name {
  font-weight: 600;
  color: var(--rotary-blue-dark);
  font-size: 0.92rem;
  line-height: 1.3;
}
.legacy-person-role {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.1rem;
}
.legacy-person-role.president {
  color: var(--rotary-gold);
}
.legacy-person-role.secretary {
  color: #64748b;
}

/* Row highlight for current year */
.legacy-table tbody tr.current-year {
  background: rgba(247, 168, 0, 0.08);
  position: relative;
}
.legacy-table tbody tr.current-year td:first-child::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--rotary-gold);
  border-radius: 0 4px 4px 0;
}
.legacy-current-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--rotary-gold);
  color: var(--rotary-blue-dark);
  font-weight: 700;
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 0.5rem;
  animation: pulseGlow 2s infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(247, 168, 0, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(247, 168, 0, 0); }
}

/* ---- Cards View ---- */
.legacy-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}
.legacy-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(0, 63, 138, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}
.legacy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rotary-blue-dark), var(--rotary-gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.legacy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 63, 138, 0.1);
}
.legacy-card:hover::before {
  opacity: 1;
}
.legacy-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.legacy-card-year {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--rotary-blue-dark);
  letter-spacing: 0.02em;
}
.legacy-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(247, 168, 0, 0.12);
  color: var(--rotary-gold);
  font-weight: 800;
  font-size: 0.8rem;
}
.legacy-card-officers {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.legacy-card-officer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  transition: background 0.2s ease;
}
.legacy-card-officer.pres-bg {
  background: rgba(247, 168, 0, 0.06);
  border: 1px solid rgba(247, 168, 0, 0.1);
}
.legacy-card-officer.sec-bg {
  background: rgba(0, 63, 138, 0.04);
  border: 1px solid rgba(0, 63, 138, 0.06);
}
.legacy-card-officer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.legacy-card-officer-avatar.pres {
  background: rgba(247, 168, 0, 0.15);
  color: var(--rotary-gold);
  border: 2px solid rgba(247, 168, 0, 0.3);
}
.legacy-card-officer-avatar.sec {
  background: rgba(0, 63, 138, 0.1);
  color: var(--rotary-blue-dark);
  border: 2px solid rgba(0, 63, 138, 0.2);
}
.legacy-card-officer-avatar svg {
  width: 20px;
  height: 20px;
}
.legacy-card-officer-info {
  flex: 1;
  min-width: 0;
}
.legacy-card-officer-role {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.15rem;
}
.legacy-card-officer-role.pres {
  color: var(--rotary-gold);
}
.legacy-card-officer-role.sec {
  color: #64748b;
}
.legacy-card-officer-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--rotary-blue-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Current year card highlight */
.legacy-card.current {
  border-color: rgba(247, 168, 0, 0.3);
  box-shadow: 0 4px 20px rgba(247, 168, 0, 0.12);
}
.legacy-card.current::before {
  opacity: 1;
}

/* ---- No Results ---- */
.legacy-no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: #94a3b8;
  position: relative;
  z-index: 1;
}
.legacy-no-results svg {
  margin-bottom: 1rem;
  opacity: 0.5;
}
.legacy-no-results p {
  font-size: 1rem;
  font-weight: 500;
}

/* Row enter animation */
.legacy-table tbody tr,
.legacy-card {
  animation: fadeSlideUp 0.4s ease both;
}
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.legacy-table tbody tr:nth-child(1) { animation-delay: 0.02s; }
.legacy-table tbody tr:nth-child(2) { animation-delay: 0.04s; }
.legacy-table tbody tr:nth-child(3) { animation-delay: 0.06s; }
.legacy-table tbody tr:nth-child(4) { animation-delay: 0.08s; }
.legacy-table tbody tr:nth-child(5) { animation-delay: 0.10s; }
.legacy-table tbody tr:nth-child(6) { animation-delay: 0.12s; }
.legacy-table tbody tr:nth-child(7) { animation-delay: 0.14s; }
.legacy-table tbody tr:nth-child(8) { animation-delay: 0.16s; }
.legacy-table tbody tr:nth-child(9) { animation-delay: 0.18s; }
.legacy-table tbody tr:nth-child(10) { animation-delay: 0.20s; }

.legacy-card:nth-child(1) { animation-delay: 0.02s; }
.legacy-card:nth-child(2) { animation-delay: 0.06s; }
.legacy-card:nth-child(3) { animation-delay: 0.10s; }
.legacy-card:nth-child(4) { animation-delay: 0.14s; }
.legacy-card:nth-child(5) { animation-delay: 0.18s; }
.legacy-card:nth-child(6) { animation-delay: 0.22s; }



/* ============================================================
   EVENTS
   ============================================================ */
.events { background: var(--light-bg); }
.meeting-info-banner {
  display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap;
  gap: 1.5rem;
  background: var(--gradient-dark);
  padding: 2rem;
  margin-bottom: 3rem;
  border: 1px solid var(--dark-border);
}
.meeting-detail {
  display: flex; align-items: center; gap: 1rem;
  text-align: left;
}
.meeting-icon { font-size: 2rem; }
.meeting-detail strong { display: block; color: var(--rotary-gold); font-size: 0.85rem; letter-spacing: 0.05em; }
.meeting-detail span { color: rgba(255,255,255,0.8); font-size: 1rem; font-weight: 500; }

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.event-card {
  background: var(--light-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--rotary-gold); }
.event-date-banner {
  background: var(--gradient-gold);
  padding: 1rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.event-day { font-size: 2rem; font-weight: 900; color: #000; line-height: 1; }
.event-month-year { font-size: 0.85rem; font-weight: 600; color: rgba(0,0,0,0.7); }
.event-body { padding: 1.5rem; }
.event-tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600;
  background: rgba(0,63,138,0.1);
  color: var(--rotary-blue);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}
.event-title { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.event-desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }
.event-location { font-size: 0.8rem; color: var(--text-secondary); margin-top: 0.75rem; }
.event-location span { color: var(--rotary-gold); }

.flagship-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.flagship-card {
  background: var(--gradient-dark);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}
.flagship-card:hover { transform: translateY(-5px); border-color: rgba(247,168,0,0.4); }
.flagship-icon { font-size: 3rem; margin-bottom: 1rem; }
.flagship-card h4 { color: var(--rotary-gold); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.flagship-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

/* ============================================================
   PROJECTS
   ============================================================ */
.project-categories {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
  margin-bottom: 2.5rem; justify-content: center;
}
.cat-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-size: 0.88rem; font-weight: 600;
  border: 2px solid rgba(247,168,0,0.3);
  color: rgba(255,255,255,0.7);
  background: transparent;
  transition: var(--transition);
}
.cat-btn:hover, .cat-btn.active {
  background: var(--rotary-gold);
  color: #000;
  border-color: var(--rotary-gold);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.project-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.project-card:hover { transform: translateY(-5px); border-color: rgba(247,168,0,0.4); }
.project-card[data-cat].hidden { display: none; }
.project-img {
  width: 100%; height: 180px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, rgba(247,168,0,0.1), rgba(0,63,138,0.2));
}
.project-body { padding: 1.5rem; }
.project-category {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--rotary-gold);
  background: rgba(247,168,0,0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}
.project-title { color: var(--text-light); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.project-desc { color: var(--text-muted); font-size: 0.86rem; line-height: 1.6; margin-bottom: 1rem; }
.project-stats { display: flex; gap: 1rem; flex-wrap: wrap; }
.proj-stat { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.proj-stat strong { color: var(--rotary-gold); font-weight: 700; }

.impact-strip {
  display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
  background: rgba(247,168,0,0.08);
  border: 1px solid rgba(247,168,0,0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.impact-item { text-align: center; }
.impact-num {
  display: block;
  font-size: 2.8rem; font-weight: 900;
  color: var(--rotary-gold);
  line-height: 1;
}
.impact-label { display: block; color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-top: 0.3rem; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { background: var(--light-bg); }
.gallery-tabs {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
  margin-bottom: 2rem; justify-content: center;
}
.tab-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-size: 0.88rem; font-weight: 600;
  border: 2px solid #e2e8f0;
  color: var(--text-secondary);
  background: transparent;
  transition: var(--transition);
}
.tab-btn:hover, .tab-btn.active {
  background: var(--rotary-blue);
  color: white;
  border-color: var(--rotary-blue);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}
.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--dark-card);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  transition: var(--transition);
}
.gallery-item::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  transition: var(--transition);
  z-index: 1;
}
.gallery-item:hover::before { background: rgba(0,0,0,0.4); }
.gallery-item:hover { transform: scale(1.02); }
.gallery-item-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  font-size: 0.85rem;
  z-index: 2;
  transform: translateY(100%);
  transition: var(--transition);
}
.gallery-item:hover .gallery-item-overlay { transform: translateY(0); }
.gallery-item.hidden { display: none; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.95);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; flex-direction: column; }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  color: white; font-size: 2rem; cursor: pointer;
  background: rgba(255,255,255,0.1);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover { background: var(--rotary-gold); color: #000; }
.lightbox-img { max-width: 90vw; max-height: 80vh; border-radius: var(--radius-md); object-fit: contain; }
.lightbox-caption { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 1rem; text-align: center; }

/* ============================================================
   ACHIEVEMENTS
   ============================================================ */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.achievement-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.achievement-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--gradient-gold);
  transform: scaleX(0);
  transition: var(--transition);
}
.achievement-card:hover::after { transform: scaleX(1); }
.achievement-card:hover { transform: translateY(-5px); border-color: rgba(247,168,0,0.3); }
.achievement-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.achievement-year {
  font-size: 0.78rem; font-weight: 700;
  color: var(--rotary-gold); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 0.5rem;
}
.achievement-title { color: var(--text-light); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.achievement-desc { color: var(--text-muted); font-size: 0.86rem; line-height: 1.6; }

/* ============================================================
   NEWS
   ============================================================ */
.news { background: var(--light-bg); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.news-card {
  background: var(--light-surface);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--rotary-gold); }
.news-card-header {
  background: var(--gradient-dark);
  padding: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.news-icon { font-size: 2.5rem; }
.news-type {
  font-size: 0.72rem; font-weight: 700;
  color: var(--rotary-gold);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.news-date { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.news-body { padding: 1.5rem; }
.news-title { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.news-excerpt { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.6; }
.news-link {
  display: inline-flex; align-items: center; gap: 0.25rem;
  color: var(--rotary-blue); font-size: 0.85rem; font-weight: 600;
  margin-top: 1rem;
  transition: var(--transition);
}
.news-link:hover { color: var(--rotary-gold); gap: 0.5rem; }

/* ============================================================
   MEMBERSHIP
   ============================================================ */
.membership-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.steps-list { display: flex; flex-direction: column; gap: 1.5rem; }
.step-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-num {
  font-size: 1.8rem; font-weight: 900;
  color: var(--rotary-gold);
  line-height: 1; min-width: 50px;
  opacity: 0.7;
}
.step-content h4 { color: var(--text-light); font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.step-content p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }
.category-cards { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.cat-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
  transition: var(--transition);
}
.cat-card:hover { border-color: rgba(247,168,0,0.4); }
.cat-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.cat-card h4 { color: var(--text-light); font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; }
.cat-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; }
.cat-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--rotary-gold); color: #000;
  font-size: 0.7rem; font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
}
.membership-contact-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.membership-contact-card h4 { color: var(--rotary-gold); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.membership-contact-card p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 1rem; }
.contact-detail {
  display: flex; align-items: center; gap: 0.75rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

/* ============================================================
   DONATIONS
   ============================================================ */
.donations { background: var(--light-bg); }
.donations-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.donation-card, .foundation-card {
  background: var(--gradient-dark);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  height: 100%;
}
.donation-icon { font-size: 3rem; margin-bottom: 1rem; }
.donation-card h3, .foundation-card h3 { color: var(--text-light); font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.donation-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; }
.donation-highlights { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2rem; }
.donation-hl { display: flex; align-items: center; gap: 0.75rem; color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.donation-note { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1rem; }
.foundation-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.foundation-logo { font-size: 2.5rem; }
.foundation-header h3 { margin-bottom: 0.25rem; }
.foundation-header span { font-size: 0.82rem; color: var(--rotary-gold); }
.foundation-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; margin-bottom: 1.5rem; }
.foundation-stats { display: flex; flex-direction: column; gap: 1rem; }
.f-stat {
  background: rgba(247,168,0,0.08);
  border: 1px solid rgba(247,168,0,0.2);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
}
.f-stat strong { display: block; color: var(--rotary-gold); font-size: 0.9rem; }
.f-stat span { color: var(--text-muted); font-size: 0.82rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.contact-info-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.contact-info-item {
  display: flex; gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--dark-border);
}
.contact-info-item:last-child { border-bottom: none; }
.ci-icon { font-size: 1.5rem; min-width: 30px; }
.ci-content h4 { color: var(--rotary-gold); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.ci-content p { color: rgba(255,255,255,0.75); font-size: 0.9rem; line-height: 1.5; }
.ci-content a { color: rgba(255,255,255,0.75); }
.ci-content a:hover { color: var(--rotary-gold); }
.social-links-contact { margin-top: 1.5rem; }
.social-links-contact h4 { color: var(--rotary-gold); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.social-icons-contact { display: flex; gap: 0.75rem; }
.social-icon-link {
  width: 44px; height: 44px;
  background: rgba(247,168,0,0.1);
  border: 1px solid rgba(247,168,0,0.25);
  color: var(--rotary-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.social-icon-link svg { width: 20px; height: 20px; }
.social-icon-link:hover { background: var(--rotary-gold); color: #000; transform: translateY(-2px); }

.contact-form {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.contact-form h3 { color: var(--text-light); font-size: 1.4rem; font-weight: 700; margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; color: rgba(255,255,255,0.7);
  font-size: 0.85rem; font-weight: 600;
  margin-bottom: 0.5rem; letter-spacing: 0.03em;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text-light);
  font-family: inherit; font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--rotary-gold);
  background: rgba(247,168,0,0.05);
  box-shadow: 0 0 0 3px rgba(247,168,0,0.1);
}
.form-group select option { background: var(--dark-card); color: var(--text-light); }
.form-group textarea { resize: vertical; }
.form-success {
  display: none;
  margin-top: 1rem;
  color: #4ade80;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
  background: rgba(74, 222, 128, 0.1);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(74, 222, 128, 0.3);
}
.map-section {}
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  border: 2px solid var(--dark-border);
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ============================================================
   OUR CAUSES SECTION
   ============================================================ */
.causes { background: var(--light-bg); }
.causes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.cause-card {
  background: var(--light-surface);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}
.cause-card:hover {
  transform: translateY(-5px);
  border-color: var(--rotary-blue);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.cause-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: rgba(247, 168, 0, 0.1);
  width: 80px; height: 80px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}
.cause-card:hover .cause-icon {
  transform: scale(1.1);
}
.cause-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rotary-blue-dark);
  margin-bottom: 1rem;
}
.cause-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================
   GET INVOLVED CTA SECTION
   ============================================================ */
.get-involved-cta {
  position: relative;
  padding: 6rem 0;
  text-align: center;
  overflow: hidden;
}
.cta-background {
  position: absolute;
  inset: 0;
  background: var(--gradient-blue);
  z-index: 0;
}
.cta-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(247, 168, 0, 0.2) 0%, transparent 60%);
  animation: pulseGlow 6s ease-in-out infinite alternate;
}
.cta-content-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.cta-text {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  line-height: 1.6;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cta-btn {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
}
.btn.outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: white;
  background: transparent;
}
.btn.outline-light:hover {
  background: white;
  color: var(--rotary-blue-dark);
  border-color: white;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #060a14; }
.footer-main { padding: 4rem 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
.footer-logo {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-logo .logo-icon { width: 40px; height: 40px; }
.footer-logo .logo-main { color: var(--rotary-gold); font-size: 1.1rem; font-weight: 800; }
.footer-logo .logo-sub { color: rgba(255,255,255,0.5); font-size: 0.7rem; }
.footer-desc { color: rgba(255,255,255,0.5); font-size: 0.88rem; line-height: 1.7; margin-bottom: 0.75rem; }
.footer-motto { color: var(--rotary-gold); font-style: italic; font-size: 0.9rem; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 40px; height: 40px;
  background: rgba(247,168,0,0.1);
  border: 1px solid rgba(247,168,0,0.2);
  color: var(--rotary-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.footer-social a svg { width: 18px; height: 18px; }
.footer-social a:hover { background: var(--rotary-gold); color: #000; transform: translateY(-2px); }
.footer-links-col h4 {
  color: var(--rotary-gold); font-size: 0.9rem;
  font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-links-col ul li { margin-bottom: 0.6rem; }
.footer-links-col ul a {
  color: rgba(255,255,255,0.5); font-size: 0.88rem;
  transition: var(--transition);
}
.footer-links-col ul a:hover { color: var(--rotary-gold); padding-left: 4px; }
.footer-contact-items { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-ci { display: flex; align-items: flex-start; gap: 0.5rem; color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.footer-ci a { color: rgba(255,255,255,0.5); }
.footer-ci a:hover { color: var(--rotary-gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1.5rem 0;
}
.footer-bottom .container {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.8rem; }
.footer-bottom a { color: var(--rotary-gold); }
.footer-bottom a:hover { text-decoration: underline; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 500;
  width: 50px; height: 50px;
  background: var(--gradient-gold);
  color: #000;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold);
  transform: translateY(100px);
  transition: var(--transition);
}
.back-to-top.visible { transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); }
.back-to-top svg { width: 22px; height: 22px; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-card-float { position: static; margin-top: 1rem; max-width: 100%; }
  .about-visual { max-width: 450px; }
  .membership-layout { grid-template-columns: 1fr; gap: 2rem; }
  .donations-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,14,26,0.98);
    backdrop-filter: blur(20px);
    padding: 6rem 2rem 2rem;
    gap: 0.5rem;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 1.2rem; padding: 0.75rem 1rem; }
  .nav-toggle { display: flex; z-index: 1000; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-stats { gap: 1rem; }
  .stat-divider { display: none; }
  .hero-cta { flex-direction: column; align-items: center; }
  .meeting-info-banner { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .leadership-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .nav-container { padding: 0 1rem; }
  .hero { padding: 6rem 1rem 4rem; }
  .hero-stats { padding: 1rem; }
  .leadership-grid { grid-template-columns: 1fr; }
}
