:root {
  --rotary-blue: #005DAA;
  --rotary-dark: #002147;
  --rotary-gold: #F7A81B;
  --rotary-blue-light: #E6F0FA;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --navy: #002147;
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; line-height: 1.2; font-weight: 700; color: var(--navy); }

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

a { color: inherit; text-decoration: none; }

.container { width: 92%; max-width: 1280px; margin: 0 auto; }
.container.narrow { max-width: 800px; }
.page-legal h2 { font-size: 1.8rem; margin-bottom: 16px; color: var(--rotary-blue); }
.page-legal h3 { font-size: 1.2rem; margin-top: 28px; margin-bottom: 10px; color: var(--navy); }
.page-legal p { color: var(--gray-700); margin-bottom: 12px; }

.section { padding: 90px 0; position: relative; }
.section-light { background: var(--gray-50); }
.section-alt { background: linear-gradient(135deg, var(--navy) 0%, var(--rotary-blue) 100%); color: var(--white); }
.section-alt h2, .section-alt h3, .section-alt p { color: var(--white); }

.section-header { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--rotary-gold); background: rgba(247, 168, 27, 0.12);
  padding: 8px 16px; border-radius: var(--radius-full); margin-bottom: 18px;
}
.section-title { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 16px; color: var(--navy); }
.section-title--centered { text-align: center; }
.section-subtitle { font-size: 1.05rem; color: var(--gray-600); line-height: 1.8; }

.lead-paragraph { font-size: 1.15rem; color: var(--gray-700); line-height: 1.8; max-width: 900px; margin: 0 auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: var(--radius-full); font-weight: 700; font-size: 0.92rem;
  transition: var(--transition); cursor: pointer; border: 2px solid transparent; position: relative;
}
.btn-primary { background: var(--rotary-gold); color: var(--navy); box-shadow: 0 8px 20px rgba(247, 168, 27, 0.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(247, 168, 27, 0.45); background: #FFB833; }
.btn-secondary { background: var(--rotary-blue); color: var(--white); box-shadow: 0 8px 20px rgba(0, 93, 170, 0.3); }
.btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 93, 170, 0.4); background: #0066BB; }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.8); transform: translateY(-3px); }
.btn-outline-dark { background: transparent; color: var(--rotary-blue); border-color: var(--rotary-blue); }
.btn-outline-dark:hover { background: var(--rotary-blue); color: var(--white); }
.btn-white { background: var(--white); color: var(--rotary-blue); }
.btn-white:hover { background: var(--rotary-blue-light); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* Alternate hero (index1.php) */
.hero-alt {
  min-height: 100vh; min-height: 100dvh; position: relative; display: flex; align-items: center;
  background: var(--navy); color: var(--white); overflow: hidden; padding: 120px 0 80px;
}
.hero-alt__bg { position: absolute; inset: 0; z-index: 0; }
.hero-alt__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); }
.hero-alt__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,33,71,0.82) 0%, rgba(0,93,170,0.68) 60%, rgba(247,168,27,0.45) 100%); }
.hero-alt__grain { position: absolute; inset: 0; opacity: 0.08; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-alt__content { position: relative; z-index: 2; width: 100%; text-align: center; }
.hero-alt__eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--rotary-gold); margin-bottom: 22px; border: 1px solid rgba(247,168,27,0.35); padding: 8px 18px; border-radius: var(--radius-full); background: rgba(247,168,27,0.12); }
.hero-alt__title { font-size: clamp(3rem, 10vw, 7rem); font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 18px; text-transform: uppercase; letter-spacing: -0.03em; }
.hero-alt__title span { display: inline-block; position: relative; }
.hero-alt__title span::after { content: ''; position: absolute; left: 0; bottom: -10px; width: 100%; height: 8px; background: var(--rotary-gold); border-radius: 4px; }
.hero-alt__tagline { font-size: clamp(1.2rem, 2.5vw, 1.7rem); font-weight: 700; color: var(--rotary-gold); margin-bottom: 22px; }
.hero-alt__lead { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255,255,255,0.85); max-width: 720px; margin: 0 auto 38px; line-height: 1.8; }
.hero-alt__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 70px; }
.hero-alt__bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.12); border-radius: var(--radius-lg); overflow: hidden; backdrop-filter: blur(10px); max-width: 900px; margin: 0 auto; }
.hero-alt__stat { padding: 32px 16px; background: rgba(255,255,255,0.06); text-align: center; }
.hero-alt__stat strong { display: block; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: var(--rotary-gold); }
.hero-alt__stat span { font-size: 0.85rem; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 1px; }
.hero-alt__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 30px; height: 50px; border: 2px solid rgba(255,255,255,0.5); border-radius: 15px; z-index: 3; }
.hero-alt__scroll span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 6px; height: 10px; background: var(--rotary-gold); border-radius: 3px; animation: scrollBounce 1.8s infinite; }
@keyframes scrollBounce { 0%, 100% { top: 8px; opacity: 1; } 50% { top: 22px; opacity: 0.4; } }

@media (max-width: 1150px) {
  .hero-alt__bar { grid-template-columns: repeat(2, 1fr); }
  .hero-alt__stat { padding: 22px 12px; }
  .hero-alt__actions { margin-bottom: 50px; }
}

.info-block--reverse { direction: rtl; }
.info-block--reverse > * { direction: ltr; }

/* Hero slider (index3.php) */
.hero-slider {
  min-height: 100vh; min-height: 100dvh; position: relative; display: flex; align-items: center;
  background: var(--navy); color: var(--white); overflow: hidden; padding-top: 90px;
}
.hero-slider__track { position: relative; width: 100%; height: 100%; min-height: inherit; }
.hero-slider__slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity 0.8s ease, visibility 0.8s ease; z-index: 1;
}
.hero-slider__slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.hero-slider__slide.is-active .reveal { opacity: 1; transform: translateY(0); }
.hero-slider__bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--rotary-blue) 100%);
}
.hero-slider__bg--fallback { background: linear-gradient(135deg, var(--navy) 0%, var(--rotary-blue) 100%); }
.hero-slider__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(15%); }
.hero-slider__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(0,33,71,0.90) 0%, rgba(0,93,170,0.65) 55%, rgba(247,168,27,0.25) 100%);
}
.hero-slider__content { position: relative; z-index: 2; width: 100%; padding: 80px 0; }
.hero-slider__content .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease 0.25s, transform 0.7s ease 0.25s; }
.hero-slider__eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  color: var(--rotary-gold); border: 1px solid rgba(247,168,27,0.35); padding: 8px 18px; border-radius: var(--radius-full);
  background: rgba(247,168,27,0.12); margin-bottom: 22px;
}
.hero-slider__title { font-size: clamp(2.4rem, 5.5vw, 4.2rem); color: var(--white); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero-slider__title .highlight { color: var(--rotary-gold); }
.hero-slider__lead { font-size: clamp(1rem, 1.6vw, 1.25rem); color: rgba(255,255,255,0.88); max-width: 680px; margin-bottom: 36px; line-height: 1.8; }
.hero-slider__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-slider__control {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.12); color: var(--white); display: flex; align-items: center; justify-content: center;
  transition: var(--transition); backdrop-filter: blur(6px);
}
.hero-slider__control:hover { background: var(--rotary-gold); color: var(--navy); }
.hero-slider__control--prev { left: 24px; }
.hero-slider__control--next { right: 24px; }
.hero-slider__dots {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 10;
  display: flex; gap: 12px; align-items: center;
}
.hero-slider__dot {
  width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.5);
  background: transparent; cursor: pointer; padding: 0; transition: var(--transition);
}
.hero-slider__dot.is-active { background: var(--rotary-gold); border-color: var(--rotary-gold); transform: scale(1.2); }
.hero-slider__dot:hover { border-color: var(--rotary-gold); }
@media (max-width: 1150px) {
  .hero-slider { align-items: stretch; padding-top: 70px; }
  .hero-slider__content { padding: 70px 6% 110px; }
  .hero-slider__title { font-size: clamp(1.9rem, 7.5vw, 2.8rem); line-height: 1.2; }
  .hero-slider__lead { font-size: 1rem; margin-bottom: 28px; }
  .hero-slider__actions { flex-direction: column; gap: 12px; }
  .hero-slider__actions .btn { width: 100%; max-width: 260px; }
  .hero-slider__control {
    top: auto; bottom: 20px; transform: none;
    width: 40px; height: 40px; background: rgba(255,255,255,0.15);
  }
  .hero-slider__control--prev { left: auto; right: 60px; }
  .hero-slider__control--next { right: 12px; }
  .hero-slider__dots { bottom: 22px; left: 12px; transform: none; gap: 8px; }
  .hero-slider__dot { width: 10px; height: 10px; }
}

/* Navigation */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; transition: var(--transition); padding: 16px 0; }
.navbar.scrolled { background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(20px); box-shadow: var(--shadow); padding: 10px 0; }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand--combo { align-items: center; gap: 5px; }
.brand-logo-wrap { display: block; height: 46px; position: relative; }
.brand-logo { height: 100%; width: auto; display: block; transition: opacity 0.3s ease; flex-shrink: 0; }
.brand-logo-dark { display: none; }
.navbar.scrolled .brand-logo-light { display: none; }
.navbar.scrolled .brand-logo-dark { display: block; }
.brand-text { display: flex; flex-direction: column; }
.brand-text strong { font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 0.5px; color: var(--white); transition: var(--transition); }
.navbar.scrolled .brand-text strong { color: var(--navy); }
.brand--combo .brand-text { align-items: flex-start; line-height: 1; }
.brand--combo .brand-text strong { font-size: 1rem; font-weight: 800; letter-spacing: 1.4px; color: var(--rotary-gold); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin-left: auto; }
.nav-links a { font-size: 0.88rem; font-weight: 600; color: rgba(255, 255, 255, 0.92); transition: var(--transition); position: relative; }
.navbar.scrolled .nav-links a { color: var(--gray-800); }
.nav-links a::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px; background: var(--rotary-gold); transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--rotary-gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-links .has-dropdown { position: relative; }
.nav-links .has-dropdown > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-links .caret { font-size: 0.7rem; transition: transform 0.25s ease; display: inline-block; }
.nav-links .has-dropdown:hover > a .caret, .nav-links .has-dropdown:focus-within > a .caret, .nav-links .has-dropdown.open > a .caret { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 230px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-xl);
  padding: 10px; list-style: none; margin: 0; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.25s ease, visibility 0.2s; z-index: 100; border: 1px solid var(--gray-100);
}
.dropdown-menu::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-links .has-dropdown:hover > .dropdown-menu, .nav-links .has-dropdown:focus-within > .dropdown-menu, .nav-links .has-dropdown.open > .dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown-menu li { list-style: none; }
.dropdown-menu a { display: block; padding: 10px 14px; font-size: 0.86rem; font-weight: 500; color: var(--gray-800) !important; border-radius: 8px; transition: background 0.15s ease, color 0.15s ease; white-space: nowrap; }
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover, .dropdown-menu a.active { background: var(--rotary-blue-light); color: var(--rotary-blue) !important; }

@media (hover: none) {
  .nav-links .has-dropdown:hover > .dropdown-menu { opacity: 0; visibility: hidden; pointer-events: none; }
  .nav-links .has-dropdown.open > .dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; }
}

.nav-actions { display: none; align-items: center; gap: 14px; }
.nav-cta { padding: 10px 20px; font-size: 0.82rem; }
.mobile-toggle {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent; color: var(--white); cursor: pointer; font-size: 1.3rem;
  transition: var(--transition);
}
.mobile-toggle:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.45); }
.mobile-toggle:focus { outline: 2px solid var(--rotary-gold); outline-offset: 2px; }
.navbar.scrolled .mobile-toggle { background: transparent; color: var(--navy); border-color: rgba(0, 33, 71, 0.2); }
.navbar.scrolled .mobile-toggle:hover { background: var(--rotary-blue-light); }

/* Hero */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--rotary-blue) 100%); padding-top: 100px;
}
.hero::before { content: ''; position: absolute; inset: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="45" fill="none" stroke="rgba(255,255,255,0.04)" stroke-width="0.5"/><circle cx="50" cy="50" r="35" fill="none" stroke="rgba(255,255,255,0.04)" stroke-width="0.5"/><circle cx="50" cy="50" r="25" fill="none" stroke="rgba(255,255,255,0.04)" stroke-width="0.5"/></svg>') center/600px no-repeat; opacity: 0.6; animation: slowRotate 120s linear infinite; }
.hero-shape { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; pointer-events: none; }
.hero-shape-1 { width: 420px; height: 420px; background: var(--rotary-gold); top: -120px; right: -80px; animation: float 8s ease-in-out infinite; }
.hero-shape-2 { width: 320px; height: 320px; background: #60A5FA; bottom: -100px; left: -60px; animation: float 10s ease-in-out infinite reverse; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(247, 168, 27, 0.15); color: var(--rotary-gold); padding: 10px 20px; border-radius: var(--radius-full); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 22px; border: 1px solid rgba(247, 168, 27, 0.2); backdrop-filter: blur(10px); }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--white); margin-bottom: 24px; font-weight: 800; line-height: 1.2; }
.hero h1 .highlight { color: var(--rotary-gold); display: inline; }
.hero h1 .hero-eyebrow { display: block; font-size: 0.55em; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); margin-bottom: 0.35em; }
.hero p { font-size: 1.05rem; color: rgba(255, 255, 255, 0.85); max-width: 600px; margin-bottom: 32px; line-height: 1.8; }
.hero p.hero-tagline { font-family: 'Poppins', sans-serif; font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 700; color: var(--rotary-gold); margin-top: 0; margin-bottom: 16px; letter-spacing: 0.5px; line-height: 1.4; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-image-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3); transform: perspective(1000px) rotateY(-5deg); transition: var(--transition); border: 1px solid rgba(255, 255, 255, 0.1); background: var(--white); }
.hero-image-card:hover { transform: perspective(1000px) rotateY(0deg) scale(1.02); }
.hero-image-card img { width: 100%; height: 480px; object-fit: cover; }
.hero-placeholder { width: 100%; height: 480px; display: grid; place-items: center; background: var(--rotary-blue-light); color: var(--rotary-blue); font-size: 5rem; }

@keyframes slowRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* Page banner */
.page-banner {
  min-height: 360px; display: flex; align-items: flex-end; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--rotary-blue) 100%); padding: 140px 0 60px; margin-top: 0;
}
.page-banner::before { content: ''; position: absolute; inset: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="45" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>') center/500px no-repeat; opacity: 0.6; }
.page-banner__inner { position: relative; z-index: 2; }
.page-banner__title { color: var(--white); font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 12px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; color: rgba(255,255,255,0.75); font-size: 0.85rem; margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,0.9); }
.breadcrumb a:hover { color: var(--rotary-gold); }
.breadcrumb li:not(:last-child)::after { content: '›'; margin-left: 14px; color: rgba(255,255,255,0.5); }
.breadcrumb li[aria-current=page] { color: var(--rotary-gold); font-weight: 600; }

/* Stats */
.stats-section { padding: 70px 0 50px; margin-top: 0; position: relative; z-index: 10; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px 20px; text-align: center; box-shadow: var(--shadow-xl); transition: var(--transition); border: 1px solid var(--gray-100); }
.stat-card:hover { transform: translateY(-8px); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12); }
.stat-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--rotary-blue-light); color: var(--rotary-blue); display: grid; place-items: center; font-size: 1.5rem; margin: 0 auto 16px; }
.stat-number { font-family: 'Poppins', sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--rotary-blue); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 0.9rem; color: var(--gray-600); font-weight: 500; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--gray-100); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--gray-200); }
.card-image { position: relative; overflow: hidden; height: 200px; background: var(--gray-100); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-image img { transform: scale(1.06); }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--navy); }
.card-body p { color: var(--gray-600); font-size: 0.94rem; line-height: 1.7; margin-bottom: 16px; flex: 1; }
.card-meta { display: flex; gap: 12px; padding-top: 14px; border-top: 1px solid var(--gray-100); font-size: 0.8rem; color: var(--gray-600); font-weight: 500; }
.card-link { font-weight: 700; color: var(--rotary-blue); display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); margin-top: auto; }
.card-link:hover { color: var(--rotary-gold); gap: 14px; }

/* Leader cards */
.leader-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--gray-100); text-align: center; }
.leader-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.leader-image { height: 220px; overflow: hidden; background: var(--gray-100); display: grid; place-items: center; }
.leader-image img { width: 100%; height: 100%; object-fit: cover; }
.leader-info { padding: 22px; }
.leader-year { font-size: 0.75rem; color: var(--rotary-gold); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.leader-info h3 { font-size: 1.15rem; margin-bottom: 6px; }
.leader-role { font-size: 0.88rem; color: var(--gray-600); margin-bottom: 10px; }
.leader-info p { font-size: 0.85rem; color: var(--gray-600); margin-bottom: 12px; line-height: 1.6; }
.leader-social { display: flex; justify-content: center; gap: 10px; }
.leader-social a { width: 34px; height: 34px; border-radius: 50%; background: var(--rotary-blue-light); color: var(--rotary-blue); display: grid; place-items: center; font-size: 0.8rem; transition: var(--transition); }
.leader-social a:hover { background: var(--rotary-blue); color: var(--white); }

/* Feature / icon list */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature-card { display: flex; align-items: flex-start; gap: 16px; padding: 22px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--gray-100); }
.feature-icon { width: 52px; height: 52px; min-width: 52px; border-radius: 14px; background: var(--rotary-blue-light); color: var(--rotary-blue); display: grid; place-items: center; font-size: 1.4rem; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature-card p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.6; }

/* Info blocks (text + image) */
.info-block { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.info-block__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); }
.info-block__media img { width: 100%; height: 420px; object-fit: cover; }
.info-block__title { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: 18px; }
.info-block__text { color: var(--gray-600); line-height: 1.8; margin-bottom: 18px; }
.info-block__list { list-style: none; }
.info-block__list li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--gray-700); }
.info-block__list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--rotary-gold); font-weight: 700; }

/* Timeline */
.events-timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 28px; border-left: 3px solid var(--rotary-blue-light); }
.timeline-item { position: relative; padding-bottom: 36px; opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.timeline-item.active { opacity: 1; transform: translateY(0); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -39px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--rotary-gold); border: 3px solid var(--white); box-shadow: var(--shadow); }
.timeline-card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--gray-100); }
.timeline-date { display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--rotary-blue); background: var(--rotary-blue-light); padding: 6px 12px; border-radius: var(--radius-full); margin-bottom: 12px; }
.timeline-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.timeline-card p { color: var(--gray-600); font-size: 0.94rem; line-height: 1.7; margin-bottom: 10px; }
.timeline-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 0.85rem; color: var(--gray-600); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; cursor: pointer; position: relative; aspect-ratio: 4/3; background: var(--gray-100); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after { content: '🔍'; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 33, 71, 0.55); color: var(--white); font-size: 1.6rem; opacity: 0; transition: opacity 0.3s ease; }
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.92); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; padding: 24px; }
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); box-shadow: var(--shadow-xl); }
.lightbox-close { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--navy); border: none; font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; }

/* Forms */
.contact-form { max-width: 760px; margin: 0 auto; background: var(--white); padding: 36px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--gray-100); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--gray-200); border-radius: 12px;
  font-family: 'Poppins', sans-serif; font-size: 0.95rem; color: var(--gray-800); background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--rotary-blue); box-shadow: 0 0 0 3px rgba(0, 93, 170, 0.12); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--gray-300); }

/* Contact info cards */
.contact-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.contact-info-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--gray-100); transition: var(--transition); }
.contact-info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.contact-info-icon { width: 58px; height: 58px; border-radius: 50%; background: var(--rotary-blue-light); color: var(--rotary-blue); display: grid; place-items: center; font-size: 1.5rem; margin: 0 auto 18px; }
.contact-info-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.contact-info-card a { color: var(--rotary-blue); font-weight: 600; word-break: break-word; }
.contact-info-card a:hover { color: var(--rotary-gold); }
.contact-info-card span { color: var(--gray-700); }
.contact-info-meta { font-size: 0.82rem; color: var(--gray-600); margin-top: 8px; }

/* Placeholder block for awaiting content */
.placeholder { text-align: center; max-width: 640px; margin: 0 auto; padding: 56px 32px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 2px dashed var(--gray-200); }
.placeholder__icon { font-size: 3rem; margin-bottom: 16px; }
.placeholder__title { font-size: 1.4rem; margin-bottom: 12px; color: var(--navy); }
.placeholder__text { color: var(--gray-600); margin-bottom: 16px; }
.placeholder__hint { display: inline-block; font-size: 0.75rem; font-weight: 700; color: var(--rotary-gold); background: rgba(247, 168, 27, 0.12); padding: 6px 14px; border-radius: var(--radius-full); text-transform: uppercase; letter-spacing: 1px; }

/* Footer */
.footer { background: var(--navy); color: rgba(255, 255, 255, 0.75); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.3fr; gap: 48px; margin-bottom: 56px; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-brand-logo { height: 56px; width: auto; }
.footer-brand-name { color: var(--white); font-size: 1.1rem; }
.footer-about p { font-size: 0.92rem; line-height: 1.8; margin-bottom: 18px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: var(--white); display: grid; place-items: center; font-size: 0.9rem; transition: var(--transition); }
.footer-social a:hover { background: var(--rotary-gold); color: var(--navy); transform: translateY(-3px); }
.footer-column h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 18px; }
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 10px; }
.footer-column a { color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; transition: color 0.2s ease; }
.footer-column a:hover { color: var(--rotary-gold); }
.footer-contact p { font-size: 0.9rem; margin-bottom: 10px; }
.footer-contact a { color: rgba(255, 255, 255, 0.9); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); flex-wrap: wrap; }
.footer-bottom a { color: rgba(255, 255, 255, 0.6); margin-left: 18px; }
.footer-bottom a:hover { color: var(--rotary-gold); }

.back-to-top { position: fixed; bottom: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--rotary-gold); color: var(--navy); border: none; font-size: 1.3rem; cursor: pointer; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999; box-shadow: var(--shadow-lg); }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); background: #FFB833; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image-card img, .hero-placeholder { height: 360px; }
  .info-block { grid-template-columns: 1fr; gap: 40px; }
  .info-block__media img { height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1150px) {
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-actions { display: flex; }
  .mobile-toggle { display: grid; }
  .hero { min-height: auto; padding: 120px 0 70px; }
  .hero h1 { font-size: 2.1rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-number { font-size: 1.9rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom a { margin: 0 8px; }
  .page-banner { min-height: 280px; padding: 120px 0 40px; }
}

@media (max-width: 768px) {
  .brand--combo { gap: 4px; }
  .brand-logo-wrap { height: 38px; }
  .brand--combo .brand-text strong { font-size: 0.82rem; letter-spacing: 1.2px; }
}

@media (max-width: 480px) {
  .brand--combo { gap: 3px; }
  .brand-logo-wrap { height: 34px; }
  .brand--combo .brand-text strong { font-size: 0.72rem; letter-spacing: 1px; }
  .nav-cta { display: none; }
  .hero h1 { font-size: 1.85rem; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* Mobile navigation drawer */
#mobileNav {
  position: fixed; top: 0; right: 0; width: 100%; height: 100vh;
  background: rgba(0, 33, 71, 0.98); backdrop-filter: blur(20px); z-index: 1001;
  padding: 80px 6% 24px; overflow-y: auto;
  will-change: transform;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
#mobileNav.open {
  transform: translateX(0);
}
#mobileNavBackdrop {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 1000;
  opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s ease;
}
#mobileNavBackdrop.open { opacity: 1; visibility: visible; }
.mobile-nav-close {
  position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--rotary-gold); color: var(--navy); border: none; font-size: 1.8rem;
  cursor: pointer; display: grid; place-items: center; font-weight: 300; line-height: 1;
  z-index: 1002; padding: 0; transform: translateZ(0);
}
.mobile-nav-close:hover { background: #FFB833; }
#mobileNav .nav-links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-left: 0; width: 100%; }
#mobileNav .nav-links > li { width: 100%; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
#mobileNav .nav-links > li > a {
  color: var(--white); font-size: 1.15rem; font-weight: 600; padding: 16px 0;
  display: flex; align-items: center; justify-content: space-between; width: 100%;
}
#mobileNav .nav-links > li > a::after { display: none; }
#mobileNav .nav-links .has-dropdown > a .caret { transition: transform 0.25s ease; }
#mobileNav .nav-links .has-dropdown.open > a .caret { transform: rotate(180deg); }
#mobileNav .dropdown-menu {
  position: static; opacity: 0; max-height: 0; overflow: hidden; visibility: hidden;
  transform: translateY(-6px); box-shadow: none; background: transparent; border: none;
  padding: 0 0 0 16px; transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.35s ease, visibility 0.3s;
}
#mobileNav .has-dropdown.open > .dropdown-menu { opacity: 1; max-height: 500px; visibility: visible; transform: translateY(0); padding: 0 0 16px 16px; }
#mobileNav .dropdown-menu a { color: rgba(255,255,255,0.8) !important; font-size: 1rem; padding: 10px 0; display: block; }
#mobileNav .dropdown-menu a:hover, #mobileNav .dropdown-menu a.active { color: var(--rotary-gold) !important; background: transparent; }
#mobileNav .mobile-nav-cta { margin-top: 24px; width: 100%; max-width: 320px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-card { display: flex; align-items: flex-start; gap: 16px; padding: 18px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.contact-card__icon { font-size: 1.6rem; }
.contact-card strong { display: inline-block; margin-bottom: 6px; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 0.95rem; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.social-link { margin-right: 12px; color: var(--rotary-blue); font-weight: 500; }
.social-link:hover { color: var(--rotary-gold); }

@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.hidden { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
