/* ============================================================
   RCPI — Design Tokens
   ============================================================ */
:root{
  --bg:            #F2F5FA;
  --bg-alt:        #FFFFFF;
  --bg-deep:       #0E2C5C;
  --ink:           #10192E;
  --ink-soft:      #47536B;
  --ink-faint:     #7C87A0;

  --blue:          #17458F;   /* Rotary Royal Blue — PMS 286C */
  --blue-deep:     #0B2A5C;
  --azure:         #005DAA;   /* Rotary Azure — PMS 2175C */
  --gold:          #F7A81B;   /* Rotary Gold — PMS 130C */
  --gold-soft:     #FBD98E;
  --gold-deep:     #C9840A;

  --line:          #DCE3EF;
  --line-deep:     #B9C4DA;

  --font-display:  'Barlow Semi Condensed', 'Inter', sans-serif;
  --font-body:     'Inter', -apple-system, sans-serif;
  --font-label:    'Inter', -apple-system, sans-serif;

  --radius:        14px;
  --radius-sm:     8px;
  --shadow-soft:   0 10px 30px -12px rgba(14,44,92,0.18);
  --shadow-lift:   0 20px 45px -15px rgba(14,44,92,0.28);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:96px; }
body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; }
::selection{ background:var(--gold-soft); color:var(--blue-deep); }

h1,h2,h3,h4,.font-display{
  font-family:var(--font-display);
  text-transform:uppercase;
  letter-spacing:0.01em;
  font-weight:700;
}
h1{ letter-spacing:0.005em; }
h3, h4{ text-transform:none; font-family:var(--font-body); letter-spacing:normal; } /* card-level headings stay in body face for readability */
.eyebrow{
  font-family:var(--font-label);
  font-size:0.72rem;
  letter-spacing:0.09em;
  text-transform:uppercase;
  color:var(--gold-deep);
  font-weight:600;
  display:inline-flex;
  align-items:center;
  gap:.55rem;
}
.eyebrow::before{
  content:"";
  width:22px; height:2px;
  background:var(--gold);
  display:inline-block;
}
a{ color:var(--blue); }
a:hover{ color:var(--azure); }

.section{ padding:5.5rem 0; }
.section-tight{ padding:3.5rem 0; }
@media (max-width:767px){
  .section{ padding:3.75rem 0; }
}
.bg-white-panel{ background:var(--bg-alt); }
.bg-deep{ background:var(--blue-deep); color:#EAF0FC; }
.bg-deep .eyebrow{ color:var(--gold-soft); }
.bg-deep .eyebrow::before{ background:var(--gold-soft); }

/* container width tweak for a slightly editorial feel */
.container-xl{ max-width:1180px; }

/* ============================================================
   Language toggle (no JS framework — pure attribute switching)
   ============================================================ */
[lang="sq"].i18nb, [lang="sq"].i18ni, [lang="sq"].i18nli{ display:none; }
body.show-sq [lang="en"].i18nb,
body.show-sq [lang="en"].i18ni,
body.show-sq [lang="en"].i18nli{ display:none; }
body.show-sq [lang="sq"].i18nb{ display:block; }
body.show-sq [lang="sq"].i18ni{ display:inline; }
body.show-sq [lang="sq"].i18nli{ display:list-item; }

.lang-switch{
  display:inline-flex;
  border:1px solid rgba(255,255,255,0.35);
  border-radius:100px;
  padding:3px;
  font-family:var(--font-label);
  font-size:0.72rem;
  font-weight:600;
}
.lang-switch button{
  border:none;
  background:transparent;
  color:rgba(255,255,255,0.75);
  padding:.28rem .7rem;
  border-radius:100px;
  cursor:pointer;
  transition:all .2s ease;
  letter-spacing:.03em;
}
.lang-switch button.active{
  background:var(--gold);
  color:var(--blue-deep);
}

/* ============================================================
   Header — Utility bar + Navbar (corporate two-tier pattern)
   ============================================================ */
#siteHeader{ position:fixed; top:0; left:0; right:0; z-index:1030; }

.utility-bar{
  background:var(--blue-deep);
  color:rgba(234,240,252,0.85);
  font-family:var(--font-label);
  font-size:.74rem;
  border-bottom:1px solid rgba(255,255,255,0.1);
  transition:max-height .3s ease, padding .3s ease, opacity .3s ease;
  max-height:44px;
  overflow:hidden;
  padding:.5rem 0;
}
.utility-bar.collapsed{ max-height:0; padding:0; opacity:0; border-bottom-color:transparent; }
.utility-bar a{ color:rgba(234,240,252,0.85); text-decoration:none; }
.utility-bar a:hover{ color:var(--gold-soft); }
.utility-bar .u-item{ display:inline-flex; align-items:center; gap:.45rem; }
.utility-bar .u-sep{ opacity:.35; margin:0 1rem; }

.navbar{
  padding:.95rem 0;
  transition:all .25s ease;
  background:rgba(11,42,92,0.35);
}
.navbar.scrolled{
  background:rgba(255,255,255,0.96);
  backdrop-filter:blur(10px);
  box-shadow:0 1px 0 var(--line), 0 12px 30px -20px rgba(14,44,92,0.35);
  padding:.6rem 0;
}
.navbar .navbar-brand{
  display:flex; align-items:center; gap:.7rem;
  line-height:1.05;
}
.brand-logo-full{ height:34px; width:auto; display:block; }
.brand-logo-white{ display:block; }
.brand-logo-navy{ display:none; }
.navbar.scrolled .brand-logo-white{ display:none; }
.navbar.scrolled .brand-logo-navy{ display:block; }
.brand-sub{
  font-family:var(--font-body);
  font-size:.86rem;
  line-height:1.15;
  letter-spacing:0;
  text-transform:none;
  font-weight:600;
  opacity:.92;
  color:#fff;
  padding-left:.75rem;
  border-left:1px solid rgba(255,255,255,0.35);
}
.navbar.scrolled .brand-sub{ color:var(--ink-soft); border-left-color:var(--line-deep); }

.navbar-nav .nav-link{
  font-weight:600;
  font-size:.92rem;
  color:rgba(255,255,255,0.88);
  padding:.5rem 1rem !important;
}
.navbar.scrolled .navbar-nav .nav-link{ color:var(--ink-soft); }
.navbar-nav .nav-link:hover{ color:var(--gold); }
.navbar.scrolled .navbar-nav .nav-link:hover{ color:var(--blue); }
.btn-join-nav{
  background:var(--gold);
  color:var(--blue-deep) !important;
  border-radius:100px;
  padding:.5rem 1.15rem !important;
  font-weight:700 !important;
}
.btn-join-nav:hover{ background:var(--gold-deep); color:#fff !important; }
.navbar-toggler{ border:none; color:#fff; font-size:1.3rem; }
.navbar.scrolled .navbar-toggler{ color:var(--blue-deep); }
.navbar-toggler:focus{ box-shadow:none; }
.navbar-collapse.show, .navbar-collapse.collapsing{
  background:rgba(11,42,92,0.98);
  border-radius:14px;
  padding:1rem 1.25rem;
  margin-top:.75rem;
}
.navbar.scrolled .navbar-collapse.show, .navbar.scrolled .navbar-collapse.collapsing{
  background:#fff;
  box-shadow:var(--shadow-soft);
}

/* ============================================================
   Hero
   ============================================================ */
.hero{
  position:relative;
  min-height:88vh;
  display:flex;
  align-items:center;
  background:
    radial-gradient(ellipse 800px 500px at 88% 0%, rgba(247,168,27,0.16), transparent 62%),
    linear-gradient(155deg, var(--blue-deep) 0%, var(--blue) 65%, #123a78 100%);
  color:#fff;
  overflow:hidden;
  padding-top:7.5rem;
}
.hero-cog{
  position:absolute;
  top:50%; right:-8%;
  width:min(52vw, 660px); height:auto;
  transform:translateY(-50%);
  opacity:0.08;
  animation:spin 110s linear infinite;
  pointer-events:none;
  user-select:none;
}
@keyframes spin{ to{ transform:translateY(-50%) rotate(360deg); } }
.hero-eyebrow{ color:var(--gold-soft); }
.hero-eyebrow::before{ background:var(--gold-soft); }
.hero h1{
  font-size:clamp(2.3rem, 5vw, 3.65rem);
  font-weight:600;
  line-height:1.06;
  margin:1rem 0 1.4rem;
  color:#fff;
}
.hero h1 em{ font-style:italic; color:var(--gold-soft); }
.hero p.lead{
  font-size:1.14rem;
  color:rgba(234,240,252,0.88);
  max-width:640px;
  line-height:1.65;
}
.btn-gold{
  background:var(--gold); border:1px solid var(--gold);
  color:var(--blue-deep); font-weight:700;
  border-radius:100px; padding:.85rem 1.7rem;
  transition:all .2s ease;
}
.btn-gold:hover{ background:var(--gold-deep); border-color:var(--gold-deep); color:#fff; transform:translateY(-2px); }
.btn-outline-light-custom{
  border:1.5px solid rgba(255,255,255,0.55); color:#fff;
  font-weight:700; border-radius:100px; padding:.82rem 1.7rem;
  background:transparent; transition:all .2s ease;
}
.btn-outline-light-custom:hover{ background:rgba(255,255,255,0.12); border-color:#fff; color:#fff; transform:translateY(-2px); }

.hero-stats{
  margin-top:3.25rem;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1.25rem;
  border-top:1px solid rgba(255,255,255,0.18);
  padding-top:1.75rem;
}
.hero-stat .num{
  font-family:var(--font-display);
  font-size:clamp(1.5rem,2.6vw,2.1rem);
  font-weight:600;
  color:var(--gold-soft);
  line-height:1;
}
.hero-stat .cap{
  font-family:var(--font-label);
  font-size:.68rem;
  letter-spacing:.05em;
  color:rgba(234,240,252,0.7);
  margin-top:.4rem;
  line-height:1.35;
}
@media (max-width:767px){
  .hero-stats{ grid-template-columns:repeat(2,1fr); }
  .hero{ min-height:auto; padding-bottom:3rem; }
}

/* ============================================================
   Section headers
   ============================================================ */
.sec-head{ max-width:680px; margin-bottom:3rem; }
.sec-head h2{ font-size:clamp(1.9rem,3.4vw,2.6rem); font-weight:600; margin:.75rem 0 1rem; color:var(--blue-deep); }
.bg-deep .sec-head h2{ color:#fff; }
.sec-head p{ color:var(--ink-soft); font-size:1.05rem; line-height:1.65; }
.bg-deep .sec-head p{ color:rgba(234,240,252,0.82); }

/* ============================================================
   About
   ============================================================ */
.about-photo-wrap{ position:relative; }
.about-photo-wrap img{
  border-radius:var(--radius);
  box-shadow:var(--shadow-lift);
  width:100%; height:420px; object-fit:cover;
}
.about-photo-badge{
  position:absolute; bottom:-1.5rem; left:-1.5rem;
  background:var(--gold);
  color:var(--blue-deep);
  border-radius:var(--radius);
  padding:1.1rem 1.4rem;
  box-shadow:var(--shadow-lift);
  font-family:var(--font-label);
  max-width:190px;
}
.about-photo-badge .num{ font-family:var(--font-display); font-size:1.9rem; font-weight:700; line-height:1; }
.about-photo-badge .cap{ font-size:.68rem; letter-spacing:.02em; margin-top:.3rem; display:block; }
@media (max-width:767px){
  .about-photo-badge{ left:1rem; bottom:-1.2rem; }
}
.about-list{ list-style:none; padding:0; margin:1.75rem 0 0; }
.about-list li{
  display:flex; gap:.85rem; padding:.65rem 0;
  border-top:1px solid var(--line);
  color:var(--ink-soft);
}
.about-list li:first-child{ border-top:none; }
.about-list i{ color:var(--gold-deep); margin-top:.25rem; }

.committee-chip{
  display:inline-block; background:#fff; border:1px solid var(--line);
  color:var(--blue-deep); font-family:var(--font-label); font-size:.78rem;
  padding:.4rem .85rem; border-radius:100px; margin:.25rem .35rem .25rem 0;
}

/* ============================================================
   Wheel of Service (signature element)
   ============================================================ */
.wheel-section{ position:relative; }
.wheel-stage{
  position:relative;
  width:100%;
  max-width:620px;
  aspect-ratio:1/1;
  margin:0 auto;
  display:flex; align-items:center; justify-content:center;
}
.wheel-stage::before{
  content:"";
  position:absolute; inset:-8%;
  background:radial-gradient(circle, rgba(23,69,143,0.06), transparent 68%);
  border-radius:50%;
  pointer-events:none;
}
.wheel-ring{
  position:absolute; inset:6%;
  border-radius:50%;
  border:1.5px dashed var(--line-deep);
  animation:spin 70s linear infinite;
}
.wheel-ring::before, .wheel-ring::after{
  content:""; position:absolute; width:9px; height:9px; border-radius:50%; background:var(--gold);
  top:-4.5px; left:50%; transform:translateX(-50%);
}
.wheel-ring::after{ top:auto; bottom:-4.5px; }
.wheel-hub{
  position:relative; z-index:2;
  width:150px; height:150px; border-radius:50%;
  background:linear-gradient(145deg, var(--blue) 0%, var(--blue-deep) 100%);
  box-shadow:var(--shadow-lift), inset 0 2px 8px rgba(255,255,255,0.18);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  color:#fff; text-align:center;
  border:4px solid var(--gold);
}
.wheel-hub::after{
  content:"";
  position:absolute; inset:-10px;
  border-radius:50%;
  border:1.5px solid rgba(247,168,27,0.45);
  animation:hubPulse 3.6s ease-in-out infinite;
}
@keyframes hubPulse{
  0%, 100%{ transform:scale(1); opacity:.65; }
  50%{ transform:scale(1.12); opacity:0; }
}
.wheel-hub i{ font-size:1.7rem; color:var(--gold-soft); margin-bottom:.3rem; }
.wheel-hub span{ font-family:var(--font-label); font-size:.62rem; letter-spacing:.03em; line-height:1.3; padding:0 .6rem; }

.wheel-nodes{ position:absolute; inset:0; }
.wheel-node{
  position:absolute; top:50%; left:50%;
  width:118px; margin:-59px 0 0 -59px;
  text-align:center;
  opacity:0;
  transition:opacity .6s ease;
}
.wheel-node.in{ opacity:1; }
.wheel-node:nth-child(1){ transition-delay:.05s; }
.wheel-node:nth-child(2){ transition-delay:.18s; }
.wheel-node:nth-child(3){ transition-delay:.31s; }
.wheel-node:nth-child(4){ transition-delay:.44s; }
.wheel-node:nth-child(5){ transition-delay:.57s; }
.priority-card-mobile{ display:none; } /* shown only below 768px — see media query */
.wheel-node .node-circle{
  position:relative;
  width:64px; height:64px; margin:0 auto .55rem;
  border-radius:50%; background:#fff;
  border:2px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-soft);
  transition:all .25s ease;
  font-size:1.3rem; color:var(--blue);
}
.wheel-node .node-num{
  position:absolute; top:-4px; right:-4px;
  width:20px; height:20px; border-radius:50%;
  background:var(--gold); color:var(--blue-deep);
  font-family:var(--font-label); font-size:.62rem; font-weight:700;
  display:flex; align-items:center; justify-content:center;
  border:2px solid #fff; box-shadow:var(--shadow-soft);
}
.wheel-node:hover .node-circle, .wheel-node:focus-within .node-circle{
  background:var(--gold); color:var(--blue-deep); border-color:var(--gold);
  transform:scale(1.08);
}
.wheel-node .node-label{
  font-family:var(--font-label); font-size:.68rem; font-weight:600;
  color:var(--blue-deep); line-height:1.25; letter-spacing:.01em;
}
.wheel-node .node-desc{
  display:none;
}

/* five positions around the circle, radius ~44% of stage */
.wheel-node:nth-child(1){ transform:rotate(0deg) translate(230px) rotate(0deg); }
.wheel-node:nth-child(2){ transform:rotate(72deg) translate(230px) rotate(-72deg); }
.wheel-node:nth-child(3){ transform:rotate(144deg) translate(230px) rotate(-144deg); }
.wheel-node:nth-child(4){ transform:rotate(216deg) translate(230px) rotate(-216deg); }
.wheel-node:nth-child(5){ transform:rotate(288deg) translate(230px) rotate(-288deg); }

@media (max-width:991px){
  .wheel-node:nth-child(1){ transform:rotate(0deg) translate(190px) rotate(0deg); }
  .wheel-node:nth-child(2){ transform:rotate(72deg) translate(190px) rotate(-72deg); }
  .wheel-node:nth-child(3){ transform:rotate(144deg) translate(190px) rotate(-144deg); }
  .wheel-node:nth-child(4){ transform:rotate(216deg) translate(190px) rotate(-216deg); }
  .wheel-node:nth-child(5){ transform:rotate(288deg) translate(190px) rotate(-288deg); }
}
/* mobile: stack as a simple list instead of a circle */
@media (max-width:767px){
  .wheel-stage{ max-width:100%; aspect-ratio:auto; display:block; }
  .wheel-ring, .wheel-hub{ display:none; }
  .wheel-nodes{ position:static; display:grid; gap:.9rem; }
  .wheel-node{ position:static; width:100%; margin:0; transform:none !important; }
  .wheel-node .node-circle{ display:none; }
  .priority-card-mobile{
    display:flex; align-items:flex-start; gap:1rem;
    background:#fff; border:1px solid var(--line); border-radius:var(--radius);
    padding:1rem 1.15rem; text-align:left; box-shadow:var(--shadow-soft);
  }
  .priority-card-mobile i{ font-size:1.3rem; color:var(--gold-deep); margin-top:.15rem; position:relative; }
  .priority-card-mobile{ position:relative; }
  .node-num-mobile{
    position:absolute; top:.7rem; right:.85rem;
    width:20px; height:20px; border-radius:50%;
    background:var(--gold); color:var(--blue-deep);
    font-family:var(--font-label); font-size:.62rem; font-weight:700;
    display:flex; align-items:center; justify-content:center;
  }
  .priority-card-mobile .node-desc{ display:block; font-size:.85rem; color:var(--ink-soft); margin-top:.25rem; }
}

@media (prefers-reduced-motion: reduce){
  .hero-cog, .wheel-ring{ animation:none !important; }
  html{ scroll-behavior:auto; }
}

/* ============================================================
   Projects
   ============================================================ */
.project-card{
  background:#fff; border-radius:var(--radius); overflow:hidden;
  border:1px solid var(--line); height:100%;
  transition:transform .25s ease, box-shadow .25s ease;
  display:flex; flex-direction:column;
}
.project-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lift); }
.project-media{
  height:170px; position:relative; overflow:hidden;
  background:linear-gradient(135deg, var(--blue), var(--azure));
}
.project-media img{ width:100%; height:100%; object-fit:cover; }
.project-media .pm-icon{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font-size:2.6rem; color:rgba(255,255,255,0.85);
}
.project-tag{
  position:absolute; top:.8rem; left:.8rem;
  background:rgba(16,25,46,0.55); backdrop-filter:blur(4px);
  color:#fff; font-family:var(--font-label); font-weight:700; font-size:.62rem; letter-spacing:.03em;
  padding:.3rem .6rem; border-radius:100px; text-transform:uppercase;
}
.project-body{ padding:1.25rem 1.35rem 1.45rem; flex:1; display:flex; flex-direction:column; }
.project-body h3{ font-size:1.08rem; font-weight:600; color:var(--blue-deep); margin-bottom:.5rem; }
.project-body p{ font-size:.9rem; color:var(--ink-soft); line-height:1.55; margin-bottom:0; }

/* ============================================================
   Join / meeting
   ============================================================ */
.meeting-card{
  background:#fff; border-radius:var(--radius); box-shadow:var(--shadow-lift);
  padding:2.25rem; border-top:5px solid var(--gold);
}
.meeting-row{ display:flex; gap:1rem; padding:.9rem 0; border-top:1px solid var(--line); }
.meeting-row:first-child{ border-top:none; padding-top:0; }
.meeting-row .mi{
  width:42px; height:42px; border-radius:50%; background:rgba(23,69,143,0.08);
  color:var(--blue); display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.meeting-row h4{ font-size:.95rem; font-weight:700; margin-bottom:.2rem; color:var(--blue-deep); }
.meeting-row p{ font-size:.87rem; color:var(--ink-soft); margin:0; }

.step-num{
  font-family:var(--font-display); font-weight:600; font-size:2.1rem;
  color:var(--gold); line-height:1; opacity:.9;
}

/* ============================================================
   Global stats strip (Rotary International)
   ============================================================ */
.ri-strip{
  background:var(--blue-deep);
  color:#fff;
  border-radius:var(--radius);
  padding:2.75rem 2rem;
}
.ri-stat{ text-align:center; }
.ri-stat .num{ font-family:var(--font-display); font-size:clamp(1.7rem,3vw,2.4rem); font-weight:600; color:var(--gold-soft); }
.ri-stat .cap{ font-family:var(--font-label); font-weight:600; font-size:.68rem; letter-spacing:.03em; color:rgba(234,240,252,0.75); margin-top:.35rem; }

/* ============================================================
   Connect / Facebook
   ============================================================ */
.fb-panel{
  background:linear-gradient(165deg, var(--blue-deep), var(--blue));
  border-radius:var(--radius);
  box-shadow:var(--shadow-lift);
  padding:2.25rem;
  color:#fff;
}
.fb-panel-head{ display:flex; align-items:center; gap:1rem; padding-bottom:1.5rem; margin-bottom:1.5rem; border-bottom:1px solid rgba(255,255,255,0.18); }
.fb-panel-icon{
  width:52px; height:52px; border-radius:50%; background:#fff; color:var(--blue-deep);
  display:flex; align-items:center; justify-content:center; font-size:1.4rem; flex-shrink:0;
}
.fb-panel-name{ font-weight:700; font-size:1.02rem; }
.fb-panel-handle{ color:var(--gold-soft); font-size:.85rem; text-decoration:none; }
.fb-panel-handle:hover{ color:#fff; }
.fb-panel-list{ list-style:none; padding:0; margin:0; }
.fb-panel-list li{ display:flex; gap:1rem; padding:.85rem 0; border-bottom:1px solid rgba(255,255,255,0.1); }
.fb-panel-list li:last-child{ border-bottom:none; }
.fb-panel-list i{
  width:38px; height:38px; border-radius:10px; background:rgba(255,255,255,0.1);
  display:flex; align-items:center; justify-content:center; color:var(--gold-soft); flex-shrink:0; font-size:1rem;
}
.fb-panel-list strong{ display:block; font-size:.92rem; font-weight:600; margin-bottom:.15rem; }
.fb-panel-list span{ display:block; font-size:.84rem; color:rgba(234,240,252,0.75); line-height:1.5; }
.fb-panel-cta{
  display:flex; align-items:center; justify-content:center; gap:.5rem;
  background:var(--gold); color:var(--blue-deep); font-weight:700;
  border-radius:100px; padding:.85rem 1.5rem; margin-top:1.75rem;
  text-decoration:none; transition:all .2s ease;
}
.fb-panel-cta:hover{ background:var(--gold-deep); color:#fff; transform:translateY(-2px); }

.social-btn{
  display:inline-flex; align-items:center; gap:.6rem;
  background:#fff; border:1px solid var(--line); border-radius:100px;
  padding:.65rem 1.2rem; font-weight:600; font-size:.9rem; color:var(--blue-deep);
  transition:all .2s ease;
}
.social-btn:hover{ background:var(--blue); color:#fff; border-color:var(--blue); }
.social-btn i{ font-size:1.05rem; }

/* ============================================================
   Contact / Footer
   ============================================================ */
.contact-panel{
  background:linear-gradient(160deg, var(--blue-deep), var(--blue));
  color:#fff; border-radius:var(--radius); padding:3rem;
}
.form-control-custom{
  background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.25);
  color:#fff; border-radius:var(--radius-sm); padding:.75rem 1rem;
}
.form-control-custom::placeholder{ color:rgba(255,255,255,0.55); }
.form-control-custom:focus{
  background:rgba(255,255,255,0.12); border-color:var(--gold);
  color:#fff; box-shadow:0 0 0 3px rgba(242,166,27,0.25);
}
label.form-label-custom{ font-family:var(--font-label); font-weight:600; font-size:.72rem; letter-spacing:.03em; text-transform:uppercase; color:rgba(234,240,252,0.75); margin-bottom:.4rem; }

footer{
  background:#0A2043; color:rgba(234,240,252,0.75); padding:3.5rem 0 1.75rem;
}
footer h5{ color:#fff; font-family:var(--font-display); font-weight:600; margin-bottom:1rem; }
footer a{ color:rgba(234,240,252,0.75); text-decoration:none; }
footer a:hover{ color:var(--gold-soft); }
footer .foot-brand{ display:flex; align-items:center; gap:.65rem; color:#fff; font-family:var(--font-display); font-weight:600; font-size:1.15rem; margin-bottom:1rem; }
.foot-bottom{ border-top:1px solid rgba(255,255,255,0.12); margin-top:2.5rem; padding-top:1.5rem; font-size:.82rem; }
.foot-social a{
  width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,0.25);
  display:inline-flex; align-items:center; justify-content:center; margin-right:.5rem;
}
.foot-social a:hover{ background:var(--gold); border-color:var(--gold); color:var(--blue-deep); }

/* back to top */
.back-to-top{
  position:fixed; bottom:1.75rem; right:1.75rem; z-index:1040;
  width:46px; height:46px; border-radius:50%;
  background:var(--blue); color:#fff; border:none;
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-lift);
  opacity:0; pointer-events:none; transform:translateY(10px);
  transition:all .25s ease;
}
.back-to-top.visible{ opacity:1; pointer-events:auto; transform:translateY(0); }

/* reveal on scroll */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

/* focus visibility */
a:focus-visible, button:focus-visible{ outline:2px solid var(--gold); outline-offset:2px; }

/* ============================================================
   Nav dropdown ("Rotary Family") — corporate mega-menu treatment
   ============================================================ */
.navbar-nav .dropdown-menu{
  border:none; border-radius:var(--radius); box-shadow:var(--shadow-lift);
  padding:.6rem; margin-top:.5rem; min-width:260px;
}
.navbar-nav .dropdown-item{
  border-radius:var(--radius-sm); padding:.65rem .85rem; font-weight:600;
  font-size:.88rem; color:var(--blue-deep); display:flex; align-items:center; gap:.65rem;
}
.navbar-nav .dropdown-item i{ color:var(--gold-deep); width:18px; text-align:center; }
.navbar-nav .dropdown-item:hover{ background:var(--bg); color:var(--blue); }
.navbar-nav .dropdown-toggle::after{ vertical-align:.15em; }
.nav-link.active{ position:relative; }
.nav-link.active::after{
  content:""; position:absolute; left:1rem; right:1rem; bottom:.15rem;
  height:2px; background:var(--gold);
}

/* ============================================================
   Sub-page hero (District / Rotaract / Interact)
   ============================================================ */
.subhero{
  position:relative;
  display:flex; align-items:center;
  min-height:56vh;
  background:
    radial-gradient(ellipse 800px 500px at 88% 0%, rgba(247,168,27,0.16), transparent 62%),
    linear-gradient(155deg, var(--blue-deep) 0%, var(--blue) 65%, #123a78 100%);
  color:#fff;
  overflow:hidden;
  padding:7.5rem 0 3.5rem;
}
.subhero-watermark{
  position:absolute; top:50%; right:-10%;
  width:min(46vw, 560px); height:auto;
  transform:translateY(-50%);
  opacity:0.08;
  pointer-events:none; user-select:none;
}
.breadcrumb-trail{
  display:flex; align-items:center; gap:.5rem; flex-wrap:wrap;
  font-family:var(--font-label); font-size:.78rem; font-weight:600;
  color:rgba(234,240,252,0.7); margin-bottom:1.25rem;
}
.breadcrumb-trail a{ color:rgba(234,240,252,0.85); text-decoration:none; }
.breadcrumb-trail a:hover{ color:var(--gold-soft); }
.breadcrumb-trail i{ font-size:.65rem; opacity:.6; }
.subhero h1{ font-size:clamp(2.1rem, 4.2vw, 3.1rem); color:#fff; margin:.25rem 0 1.1rem; }
.subhero p.lead{ font-size:1.08rem; color:rgba(234,240,252,0.88); max-width:640px; line-height:1.65; }
.subhero-badges{ display:flex; flex-wrap:wrap; gap:.6rem; margin-top:1.5rem; }
.subhero-badge{
  display:inline-flex; align-items:center; gap:.5rem;
  background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.22);
  border-radius:100px; padding:.5rem 1rem; font-size:.82rem; font-weight:600;
}
.subhero-badge i{ color:var(--gold-soft); }

/* ============================================================
   Fact grid (used on District / Rotaract / Interact overviews)
   ============================================================ */
.fact-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.25rem; }
@media (max-width:767px){ .fact-grid{ grid-template-columns:repeat(2,1fr); } }
.fact-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:1.5rem; text-align:center; box-shadow:var(--shadow-soft);
}
.fact-card .num{ font-family:var(--font-display); font-size:1.9rem; font-weight:700; color:var(--blue-deep); text-transform:none; }
.fact-card .cap{ font-family:var(--font-label); font-size:.72rem; font-weight:600; letter-spacing:.02em; color:var(--ink-soft); margin-top:.35rem; text-transform:uppercase; }

/* ============================================================
   Leadership timeline (District page)
   ============================================================ */
.timeline{ position:relative; padding-left:2.25rem; }
.timeline::before{ content:""; position:absolute; left:8px; top:6px; bottom:6px; width:2px; background:var(--line-deep); }
.timeline-item{ position:relative; padding-bottom:2rem; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{
  content:""; position:absolute; left:-2.25rem; top:.2rem;
  width:18px; height:18px; border-radius:50%;
  background:#fff; border:3px solid var(--gold);
}
.timeline-item.is-current::before{ background:var(--gold); }
.timeline-term{ font-family:var(--font-label); font-size:.74rem; font-weight:600; color:var(--gold-deep); letter-spacing:.02em; }
.timeline-name{ font-weight:700; color:var(--blue-deep); font-size:1.02rem; margin:.15rem 0 .2rem; }
.timeline-role{ font-size:.87rem; color:var(--ink-soft); }

/* ============================================================
   Program pillars (Rotaract / Interact "what we do" grid)
   ============================================================ */
.pillar-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:1.75rem; height:100%; box-shadow:var(--shadow-soft);
  transition:transform .25s ease, box-shadow .25s ease;
}
.pillar-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lift); }
.pillar-icon{
  width:52px; height:52px; border-radius:14px; background:rgba(23,69,143,0.08);
  color:var(--blue); display:flex; align-items:center; justify-content:center;
  font-size:1.4rem; margin-bottom:1.1rem;
}
.pillar-card h3{ font-size:1.02rem; font-weight:700; color:var(--blue-deep); margin-bottom:.5rem; }
.pillar-card p{ font-size:.9rem; color:var(--ink-soft); line-height:1.6; margin:0; }

/* ============================================================
   Instagram connect panel (Interact page)
   ============================================================ */
.ig-panel{
  background:linear-gradient(145deg, #4f5bd5 0%, #962fbf 35%, #d62976 60%, #fa7e1e 82%, #feda75 100%);
  border-radius:var(--radius);
  box-shadow:var(--shadow-lift);
  padding:2.25rem;
  color:#fff;
}
.ig-panel-head{ display:flex; align-items:center; gap:1rem; padding-bottom:1.5rem; margin-bottom:1.5rem; border-bottom:1px solid rgba(255,255,255,0.3); }
.ig-panel-icon{
  width:52px; height:52px; border-radius:16px; background:rgba(255,255,255,0.95); color:#d62976;
  display:flex; align-items:center; justify-content:center; font-size:1.4rem; flex-shrink:0;
}
.ig-panel-name{ font-weight:700; font-size:1.02rem; }
.ig-panel-handle{ color:#fff; opacity:.9; font-size:.85rem; text-decoration:none; }
.ig-panel-handle:hover{ text-decoration:underline; }
.ig-panel-list{ list-style:none; padding:0; margin:0; }
.ig-panel-list li{ display:flex; gap:1rem; padding:.85rem 0; border-bottom:1px solid rgba(255,255,255,0.22); }
.ig-panel-list li:last-child{ border-bottom:none; }
.ig-panel-list i{
  width:38px; height:38px; border-radius:10px; background:rgba(255,255,255,0.18);
  display:flex; align-items:center; justify-content:center; color:#fff; flex-shrink:0; font-size:1rem;
}
.ig-panel-list strong{ display:block; font-size:.92rem; font-weight:600; margin-bottom:.15rem; }
.ig-panel-list span{ display:block; font-size:.84rem; color:rgba(255,255,255,0.85); line-height:1.5; }
.ig-panel-cta{
  display:flex; align-items:center; justify-content:center; gap:.5rem;
  background:#fff; color:#d62976; font-weight:700;
  border-radius:100px; padding:.85rem 1.5rem; margin-top:1.75rem;
  text-decoration:none; transition:all .2s ease;
}
.ig-panel-cta:hover{ background:var(--blue-deep); color:#fff; transform:translateY(-2px); }

/* ============================================================
   Sibling-club / family cards (used on Home + interior pages)
   ============================================================ */
.family-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:2rem; height:100%; display:flex; flex-direction:column;
  box-shadow:var(--shadow-soft); transition:transform .25s ease, box-shadow .25s ease;
}
.family-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-lift); }
.family-card .fc-icon{
  width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:1.5rem; margin-bottom:1.25rem; color:#fff;
}
.family-card h3{ font-size:1.15rem; font-weight:700; color:var(--blue-deep); margin-bottom:.6rem; }
.family-card p{ font-size:.9rem; color:var(--ink-soft); line-height:1.6; flex:1; }
.family-card .fc-link{
  display:inline-flex; align-items:center; gap:.4rem; margin-top:1.25rem;
  font-weight:700; font-size:.88rem; color:var(--blue); text-decoration:none;
}
.family-card .fc-link:hover{ color:var(--gold-deep); }

/* ============================================================
   Simple content callout (used for "how to get involved" boxes)
   ============================================================ */
.callout{
  background:var(--bg-alt); border:1px solid var(--line); border-left:4px solid var(--gold);
  border-radius:var(--radius-sm); padding:1.25rem 1.5rem;
}
.callout p{ margin:0; font-size:.92rem; color:var(--ink-soft); line-height:1.6; }
.callout p + p{ margin-top:.5rem; }

/* ============================================================
   Scroll progress bar
   ============================================================ */
.scroll-progress{
  position:fixed; top:0; left:0; height:3px;
  background:linear-gradient(90deg, var(--gold), var(--azure));
  width:0%;
  z-index:1060;
  transition:width .1s linear;
}
@media (prefers-reduced-motion: reduce){
  .scroll-progress{ transition:none; }
}

/* ============================================================
   Lightbox (click-to-enlarge project photos)
   ============================================================ */
[data-lightbox]{ cursor:zoom-in; }
.lightbox-content{
  background:var(--blue-deep);
  border:none; border-radius:var(--radius);
  overflow:hidden; position:relative;
}
.lightbox-img{ width:100%; max-height:78vh; object-fit:contain; background:#000; }
.lightbox-caption{
  padding:1rem 1.5rem; color:#fff; font-weight:600; font-size:.95rem;
  background:var(--blue-deep);
}
.lightbox-close{
  position:absolute; top:.85rem; right:.85rem; z-index:2;
  background:rgba(0,0,0,0.4); border-radius:50%; padding:.5rem;
  opacity:1;
}
.lightbox-close:hover{ background:rgba(0,0,0,0.65); }

/* ============================================================
   Count-up numerals (hero stats, network stats)
   ============================================================ */
.countup{ font-variant-numeric:tabular-nums; }

/* ============================================================
   Testimonials
   ============================================================ */
.testimonial-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:2.5rem; box-shadow:var(--shadow-soft);
  max-width:760px; margin:0 auto; text-align:center;
}
.testimonial-quote-icon{ color:var(--gold); font-size:1.8rem; margin-bottom:1rem; }
.testimonial-text{ font-size:1.15rem; color:var(--ink); line-height:1.7; font-style:italic; margin-bottom:1.5rem; }
.testimonial-author{ font-weight:700; color:var(--blue-deep); font-size:.95rem; }
.testimonial-role{ font-family:var(--font-label); font-size:.78rem; color:var(--ink-faint); margin-top:.15rem; }
#testimonialCarousel .carousel-indicators{ position:static; margin-top:1.75rem; }
#testimonialCarousel .carousel-indicators [data-bs-target]{
  width:8px; height:8px; border-radius:50%; background-color:var(--line-deep);
  border:none; opacity:1;
}
#testimonialCarousel .carousel-indicators .active{ background-color:var(--gold); }
#testimonialCarousel .carousel-control-prev, #testimonialCarousel .carousel-control-next{
  width:44px; height:44px; top:50%; transform:translateY(-50%);
  background:#fff; border-radius:50%; box-shadow:var(--shadow-soft);
  opacity:1; border:1px solid var(--line);
}
#testimonialCarousel .carousel-control-prev{ left:-10px; }
#testimonialCarousel .carousel-control-next{ right:-10px; }
@media (max-width:767px){
  #testimonialCarousel .carousel-control-prev, #testimonialCarousel .carousel-control-next{ display:none; }
  .testimonial-card{ padding:2rem 1.5rem; }
}
.carousel-control-prev-icon, .carousel-control-next-icon{ filter:invert(20%) sepia(40%) saturate(1200%) hue-rotate(190deg); width:1.1rem; height:1.1rem; }
