@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Montserrat:wght@300;400;500;600;700;800&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --rotary-blue: #003F87;
  --rotary-blue-dark: #002a5c;
  --rotary-blue-light: #0052b4;
  --rotary-gold: #F7A81B;
  --rotary-gold-dark: #d4891a;
  --rotary-gold-light: #ffc74d;
  --white: #ffffff;
  --off-white: #f8f6f1;
  --light-gray: #e8e4dc;
  --text-dark: #1a1a2e;
  --text-mid: #3d3d5c;
  --text-light: #6b6b8a;
  --nav-height: 80px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── NAVIGATION ─────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(0, 63, 135, 0.97);
  backdrop-filter: blur(12px);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  border-bottom: 3px solid var(--rotary-gold);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-wheel {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text span:first-child {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

.nav-logo-text span:last-child {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: var(--rotary-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--rotary-gold);
  background: rgba(247, 168, 27, 0.12);
}

.nav-cta {
  background: var(--rotary-gold) !important;
  color: var(--rotary-blue-dark) !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  padding: 9px 18px !important;
}

.nav-cta:hover {
  background: var(--rotary-gold-light) !important;
  color: var(--rotary-blue-dark) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── PAGE WRAPPER ───────────────────────────────── */
.page-wrapper {
  padding-top: var(--nav-height);
  min-height: 100vh;
}

/* ─── SECTION UTILITIES ──────────────────────────── */
.section {
  padding: 96px 24px;
}

.section-narrow {
  padding: 80px 24px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.container-wide {
  max-width: 1300px;
  margin: 0 auto;
}

/* ─── TYPOGRAPHY ─────────────────────────────────── */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rotary-gold);
  margin-bottom: 12px;
}

.display-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--rotary-blue);
}

.display-title.light {
  color: var(--white);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--rotary-blue);
}

.section-title.light { color: var(--white); }

.lead-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2vw, 24px);
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.7;
}

.lead-text.light { color: rgba(255,255,255,0.85); }

.body-text {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
}

.body-text.light { color: rgba(255,255,255,0.8); }

/* ─── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.btn-gold {
  background: var(--rotary-gold);
  color: var(--rotary-blue-dark);
}

.btn-gold:hover {
  background: var(--rotary-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(247,168,27,0.4);
}

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

.btn-outline-white:hover {
  border-color: var(--rotary-gold);
  color: var(--rotary-gold);
  transform: translateY(-2px);
}

.btn-outline-blue {
  background: transparent;
  color: var(--rotary-blue);
  border: 2px solid var(--rotary-blue);
}

.btn-outline-blue:hover {
  background: var(--rotary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* ─── DIVIDER ────────────────────────────────────── */
.gold-rule {
  width: 64px;
  height: 4px;
  background: var(--rotary-gold);
  margin: 20px 0;
  border-radius: 2px;
}

.gold-rule.center { margin: 20px auto; }

/* ─── CARDS ──────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: 8px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--rotary-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

/* ─── STAT BLOCKS ────────────────────────────────── */
.stat-block {
  text-align: center;
  padding: 32px 20px;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  color: var(--rotary-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ─── BACKGROUNDS ────────────────────────────────── */
.bg-blue { background: var(--rotary-blue); }
.bg-blue-dark { background: var(--rotary-blue-dark); }
.bg-off-white { background: var(--off-white); }
.bg-white { background: var(--white); }
.bg-gold { background: var(--rotary-gold); }

/* ─── HERO GENERIC ───────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--rotary-blue-dark) 0%, var(--rotary-blue) 60%, #0a4f9e 100%);
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

/* ─── FOOTER ─────────────────────────────────────── */
footer {
  background: var(--rotary-blue-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 24px 32px;
  border-top: 4px solid var(--rotary-gold);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

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

.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rotary-gold);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--rotary-gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

/* ─── QUOTE BLOCK ────────────────────────────────── */
.quote-block {
  border-left: 4px solid var(--rotary-gold);
  padding: 24px 32px;
  background: rgba(0,63,135,0.05);
  border-radius: 0 8px 8px 0;
}

.quote-block blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-style: italic;
  color: var(--rotary-blue);
  line-height: 1.5;
}

.quote-block cite {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ─── BADGE ──────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--rotary-gold);
  color: var(--rotary-blue-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ─── MOBILE NAV ─────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--rotary-blue-dark);
  z-index: 999;
  padding: 24px;
  flex-direction: column;
  gap: 4px;
  border-bottom: 3px solid var(--rotary-gold);
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s;
}

.mobile-nav a:hover { background: rgba(247,168,27,0.15); color: var(--rotary-gold); }

/* ─── ANIMATIONS ─────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-up {
  animation: fadeUp 0.7s ease forwards;
}

.animate-fade-up-delay-1 { animation: fadeUp 0.7s ease 0.1s both; }
.animate-fade-up-delay-2 { animation: fadeUp 0.7s ease 0.2s both; }
.animate-fade-up-delay-3 { animation: fadeUp 0.7s ease 0.35s both; }
.animate-fade-up-delay-4 { animation: fadeUp 0.7s ease 0.5s both; }

/* ─── ROTARY WHEEL SVG ───────────────────────────── */
.rotary-wheel-svg { display: block; }

/* ─── CHECKLIST ──────────────────────────────────── */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

.checklist li::before {
  content: '✦';
  color: var(--rotary-gold);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 3px;
}

.checklist.light li { color: rgba(255,255,255,0.85); }
.checklist.light li::before { color: var(--rotary-gold-light); }
