:root{
  --rf-primary:#0146ab;
  --rf-primary-dark:#003380;
  --rf-accent:#f4b942;
  --rf-orange:#f96000;        /* action accent — use sparingly (donate only) */
  --rf-orange-dark:#d94f00;
  --rf-ink:#0f172a;
  --rf-muted:#64748b;
  --rf-soft:#f4f7fc;
  --rf-border:#e2e8f0;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;font-size:13px}
body{
  font-family:'Plus Jakarta Sans',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:var(--rf-ink);
  background:#fff;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,h5{font-family:'Plus Jakarta Sans',sans-serif;font-weight:700;letter-spacing:-.02em;color:var(--rf-ink)}
h1{font-size:clamp(2.2rem,4.5vw,3.6rem);line-height:1.1}
h2{font-size:clamp(1.8rem,3vw,2.4rem);line-height:1.2}
.text-muted-rf{color:var(--rf-muted)!important}
a{text-decoration:none}

/* Top bar */
.topbar{background:var(--rf-primary-dark);color:#dbeafe;font-size:.85rem;padding:.5rem 0}
.topbar a{color:#dbeafe}
.topbar a:hover{color:#fff}

/* Navbar */
.navbar-rf{background:#fff;border-bottom:1px solid var(--rf-border);padding:.85rem 0;transition:all .3s ease}
.navbar-rf.scrolled{box-shadow:0 8px 30px rgba(15,23,42,.06)}
.navbar-rf .navbar-brand{display:flex;align-items:center;gap:.65rem;font-weight:800;color:var(--rf-ink);font-size:1.15rem}
.navbar-rf .navbar-brand img{height:48px;width:auto}
.navbar-rf .brand-sub{display:block;font-size:.7rem;font-weight:500;color:var(--rf-muted);letter-spacing:.12em;text-transform:uppercase}
.navbar-rf .nav-link{color:var(--rf-ink);font-weight:500;padding:.5rem 1rem!important;position:relative}
.navbar-rf .nav-link:hover,.navbar-rf .nav-link.active{color:var(--rf-primary)}
.navbar-rf .nav-link.active::after{content:"";position:absolute;left:1rem;right:1rem;bottom:0;height:2px;background:var(--rf-primary);border-radius:2px}
/* Hover dropdown */
.navbar-rf .dropdown:hover>.dropdown-menu{display:block;margin-top:0}
.navbar-rf .dropdown-menu{border:1px solid var(--rf-border);border-radius:12px;box-shadow:0 12px 32px rgba(15,23,42,.1);padding:.5rem;min-width:180px}
.navbar-rf .dropdown-item{border-radius:8px;font-weight:500;font-size:.9rem;padding:.5rem 1rem;color:var(--rf-ink)}
.navbar-rf .dropdown-item:hover,.navbar-rf .dropdown-item.active{background:var(--rf-soft);color:var(--rf-primary)}
.navbar-rf .dropdown-toggle::after{margin-left:.35rem}

/* Buttons */
.btn-rf{
  background:var(--rf-primary);color:#fff;border:0;border-radius:999px;
  padding:.7rem 1.6rem;font-weight:600;display:inline-flex;align-items:center;gap:.5rem;
  transition:transform .25s ease,box-shadow .25s ease,background .25s ease;
  box-shadow:0 8px 20px -8px rgba(1,70,171,.6);
}
.btn-rf:hover{background:var(--rf-primary-dark);color:#fff;transform:translateY(-2px);box-shadow:0 14px 26px -10px rgba(1,70,171,.7)}
.btn-rf-outline{background:transparent;color:var(--rf-primary);border:2px solid var(--rf-primary);border-radius:999px;padding:.6rem 1.5rem;font-weight:600;display:inline-flex;align-items:center;gap:.5rem;transition:all .25s ease}
.btn-rf-outline:hover{background:var(--rf-primary);color:#fff}
/* Donate accent — the one orange pop, used sparingly */
.btn-rf-donate{background:var(--rf-orange);box-shadow:none}
.btn-rf-donate:hover{background:var(--rf-orange-dark);color:#fff;box-shadow:none}

/* Hero */
.hero{position:relative;padding:6rem 0 5rem;overflow:hidden;background:
  radial-gradient(900px 500px at 90% -10%,rgba(244,185,66,.18),transparent 60%),
  radial-gradient(700px 500px at -10% 110%,rgba(1,70,171,.12),transparent 60%),
  #fff;}
.hero .eyebrow{display:inline-flex;align-items:center;gap:.5rem;background:rgba(1,70,171,.08);color:var(--rf-primary-dark);padding:.4rem 1rem;border-radius:999px;font-size:.8rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}
.hero p.lead{color:var(--rf-muted);font-size:1.1rem;max-width:560px}
.hero-img-wrap{position:relative;border-radius:24px;overflow:hidden;box-shadow:0 30px 70px -30px rgba(15,23,42,.35)}
.hero-img-wrap img{width:100%;display:block}
.hero-badge{position:absolute;background:#fff;border-radius:18px;padding:1rem 1.2rem;box-shadow:0 20px 40px -20px rgba(15,23,42,.25);display:flex;align-items:center;gap:.8rem}
.hero-badge i{font-size:1.6rem;color:var(--rf-primary)}
.hero-badge.b1{left:-20px;top:30px;animation:float 6s ease-in-out infinite}
.hero-badge.b2{right:-20px;bottom:40px;animation:float 6s ease-in-out infinite reverse}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}

/* Section */
.section{padding:5rem 0}
.section-cta{padding:2rem 0}
.section-soft{background:var(--rf-soft)}
.section-eyebrow{display:inline-block;color:var(--rf-primary);font-weight:700;letter-spacing:.12em;text-transform:uppercase;font-size:.8rem;margin-bottom:.6rem}
/* Minimal orange accent dot — ties the action color into every section */
.section-eyebrow::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--rf-orange);margin-right:.5rem;vertical-align:middle;position:relative;top:-1px}
.section-title{margin-bottom:.8rem}
.section-sub{color:var(--rf-muted);max-width:680px}

/* Cards */
.feature-card{
  background:#fff;border:1px solid var(--rf-border);border-radius:20px;padding:2rem 1.75rem;height:100%;
  transition:all .3s ease;
}
.feature-card:hover{transform:translateY(-6px);border-color:transparent;box-shadow:0 24px 50px -25px rgba(1,70,171,.25)}
.feature-card .icon{
  width:58px;height:58px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;
  background:rgba(1,70,171,.1);color:var(--rf-primary);font-size:1.5rem;margin-bottom:1.2rem;transition:all .3s ease;
}
.feature-card:hover .icon{background:var(--rf-primary);color:#fff;transform:rotate(-6deg) scale(1.05)}
.feature-card h4{font-size:1.2rem;margin-bottom:.5rem}
.feature-card p{color:var(--rf-muted);margin:0;font-size:.95rem}

/* Stats */
.stat{text-align:center;padding:1.5rem}
.stat .num{font-size:2.6rem;font-weight:800;color:var(--rf-primary);line-height:1}
.stat .lbl{color:var(--rf-muted);margin-top:.4rem;font-weight:500}

/* Program */
.program{border-radius:24px;overflow:hidden;background:#fff;border:1px solid var(--rf-border);height:100%;transition:all .3s ease}
.program:hover{transform:translateY(-4px);box-shadow:0 30px 50px -30px rgba(15,23,42,.2)}
.program .thumb{aspect-ratio:16/10;overflow:hidden}
.program .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.program:hover .thumb img{transform:scale(1.06)}
.program .body{padding:1.6rem}
.program .tag{display:inline-block;background:rgba(244,185,66,.18);color:#8a5a00;padding:.25rem .8rem;border-radius:999px;font-size:.75rem;font-weight:600;margin-bottom:.7rem}

/* CTA banner */
.cta-banner{
  background:linear-gradient(135deg,var(--rf-primary) 0%,var(--rf-primary-dark) 100%);
  color:#fff;border-radius:28px;padding:3.5rem;position:relative;overflow:hidden;
}
.cta-banner::before{content:"";position:absolute;right:-80px;top:-80px;width:280px;height:280px;background:rgba(244,185,66,.18);border-radius:50%}
.cta-banner::after{content:"";position:absolute;left:-60px;bottom:-60px;width:200px;height:200px;background:rgba(255,255,255,.08);border-radius:50%}
.cta-banner h2{color:#fff;position:relative;z-index:2}
.cta-banner p{color:#dbeafe;position:relative;z-index:2}
.cta-banner .btn-light-rf{background:#fff;color:var(--rf-primary-dark);border-radius:999px;padding:.75rem 1.7rem;font-weight:700;display:inline-flex;align-items:center;gap:.5rem;position:relative;z-index:2;transition:all .25s ease}
.cta-banner .btn-light-rf:hover{background:var(--rf-orange);color:#fff;transform:translateY(-2px)}

/* Secure Giving / Donation section */
.donate-cta{background:var(--rf-soft)}
.give-list{list-style:none;padding:0;margin:1.3rem 0 0}
.give-list li{display:flex;align-items:center;gap:.7rem;padding:.5rem 0;color:#334155;font-weight:600}
.give-list li i{color:var(--rf-primary);font-size:1.2rem;flex-shrink:0}
.give-divider{border:0;border-top:1px solid var(--rf-border);margin:1.7rem 0}
.give-certs{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap}
.give-certs .cert-label{font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--rf-muted)}
.give-certs .cert-badge{display:inline-flex;align-items:center;gap:.4rem;border:1px solid var(--rf-border);border-radius:10px;padding:.45rem .8rem;font-size:.8rem;font-weight:700;color:var(--rf-ink);background:#fff}
.give-certs .cert-badge i{color:var(--rf-primary)}

.donate-card{background:#fff;border:1px solid var(--rf-border);border-radius:22px;overflow:hidden;box-shadow:0 30px 70px -40px rgba(15,23,42,.4)}
.donate-card-top{height:6px;background:linear-gradient(90deg,var(--rf-primary) 0%,var(--rf-accent) 55%,var(--rf-orange) 100%)}
.donate-card-body{padding:1.6rem 1.5rem}
.donate-mode{display:flex;align-items:center;justify-content:space-between;gap:1rem;background:var(--rf-soft);border-radius:12px;padding:.7rem 1rem;margin-bottom:1.3rem}
.dm-label{font-weight:700;color:var(--rf-ink);font-size:.9rem}
.dm-toggle{display:flex;align-items:center;gap:.6rem}
.dm-opt{font-size:.85rem;font-weight:600;color:var(--rf-muted)}
.dm-opt.active{color:var(--rf-ink)}
.dm-switch{position:relative;width:46px;height:24px;border-radius:999px;border:0;background:#cbd5e1;cursor:pointer;transition:background .25s ease;padding:0;flex-shrink:0}
.dm-switch .dm-knob{position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .25s ease;box-shadow:0 1px 3px rgba(0,0,0,.3)}
.dm-switch.on{background:var(--rf-primary)}
.dm-switch.on .dm-knob{transform:translateX(22px)}
.donate-field-label{display:block;font-weight:700;color:var(--rf-ink);font-size:.9rem;margin-bottom:.6rem}
.amount-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.6rem;margin-bottom:.9rem}
.amount-btn{border:1px solid var(--rf-border);background:#fff;border-radius:10px;padding:.7rem .3rem;font-weight:700;font-size:.9rem;color:var(--rf-ink);cursor:pointer;transition:all .2s ease}
.amount-btn:hover{border-color:var(--rf-primary)}
.amount-btn.active{background:var(--rf-primary);border-color:var(--rf-primary);color:#fff}
.custom-amt{position:relative;margin-bottom:1rem}
.custom-amt .ca-symbol{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--rf-muted);font-weight:700;z-index:2}
.custom-amt input{padding-left:2rem}
.donate-cta .form-control:focus{border-color:var(--rf-primary);box-shadow:0 0 0 .2rem rgba(1,70,171,.12)}
.impact-box{display:flex;gap:.6rem;align-items:flex-start;background:rgba(1,70,171,.06);border:1px solid rgba(1,70,171,.18);border-radius:12px;padding:.85rem 1rem;margin-bottom:1.1rem;font-size:.85rem;color:var(--rf-primary-dark);line-height:1.5}
.impact-box i{color:var(--rf-primary);margin-top:.15rem;flex-shrink:0}
.impact-box strong{color:var(--rf-primary)}
.donate-input{margin-bottom:.8rem}
.upi-check{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:var(--rf-muted);margin:.4rem 0 1.1rem;cursor:pointer}
.upi-check input{width:16px;height:16px;accent-color:var(--rf-primary);flex-shrink:0}
.upi-mock{text-align:center;padding:1rem;border:1px dashed var(--rf-border);border-radius:12px;margin-bottom:1.1rem}
.upi-mock .upi-qr i{font-size:4rem;color:var(--rf-ink);line-height:1}
.btn-donate-lg{width:100%;background:var(--rf-orange);color:#fff;border:0;border-radius:12px;padding:.95rem;font-weight:700;font-size:1rem;cursor:pointer;transition:background .25s ease,transform .15s ease}
.btn-donate-lg:hover{background:var(--rf-orange-dark);transform:translateY(-1px)}

/* Footer */
footer{position:relative;color:#94a3b8;padding:4rem 0 1.5rem;background-color:#0a1628}
footer h5{color:#fff;font-size:1rem;margin-bottom:1.2rem;font-weight:700}
footer a{color:#94a3b8;display:inline-block;padding:.25rem 0;transition:color .2s ease}
footer a:hover{color:var(--rf-primary)}
footer .brand{display:flex;align-items:center;gap:.6rem;color:#fff;font-weight:700;font-size:1.1rem;margin-bottom:1rem}
footer .brand img{height:56px;width:auto;background:#fff;padding:8px 14px;border-radius:14px}
footer .social a{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.06);margin-right:.5rem;transition:all .25s ease}
footer .social a:hover{background:var(--rf-primary);color:#fff;transform:translateY(-2px)}
footer .copy{border-top:1px solid rgba(255,255,255,.08);margin-top:3rem;padding-top:1.5rem;text-align:center;font-size:.875rem;color:#64748b}

/* Page banner */
.page-banner{
  position:relative;
  overflow:hidden;
  padding:3rem 0 2.5rem;
  background:
    radial-gradient(700px 400px at 90% 0%,rgba(244,185,66,.15),transparent 60%),
    radial-gradient(500px 400px at 0% 100%,rgba(1,70,171,.1),transparent 60%),
    var(--rf-soft);
}
.page-banner::after{
  content:"";
  position:absolute;
  inset:0;
  background:url("hero.jpg") center right/cover no-repeat;
  opacity:.35;
  -webkit-mask-image:linear-gradient(to left,#000 0%,rgba(0,0,0,.55) 40%,transparent 80%);
  mask-image:linear-gradient(to left,#000 0%,rgba(0,0,0,.55) 40%,transparent 80%);
  pointer-events:none;
}
.page-banner .container{position:relative;z-index:1}
@media (max-width:768px){.page-banner::after{opacity:.18}}
@media (min-width:992px){.page-banner h1,.page-banner .lead{max-width:70%}}
.breadcrumb-rf{display:inline-flex;gap:.5rem;color:var(--rf-muted);font-size:.9rem}
.breadcrumb-rf a{color:var(--rf-primary)}

/* Contact */
.contact-card{background:#fff;border:1px solid var(--rf-border);border-radius:20px;padding:1.8rem;height:100%;transition:all .3s ease}
.contact-card:hover{transform:translateY(-4px);box-shadow:0 20px 40px -20px rgba(15,23,42,.15)}
.contact-card .icon{width:52px;height:52px;border-radius:14px;background:rgba(1,70,171,.1);color:var(--rf-primary);display:inline-flex;align-items:center;justify-content:center;font-size:1.4rem;margin-bottom:.9rem}
.form-control,.form-select{border-radius:12px;border:1px solid var(--rf-border);padding:.75rem 1rem;font-size:.95rem}
.form-control:focus,.form-select:focus{border-color:var(--rf-primary);box-shadow:0 0 0 .2rem rgba(1,70,171,.12)}

/* Misc */
.check-list{list-style:none;padding:0;margin:0}
.check-list li{display:flex;gap:.7rem;padding:.45rem 0;color:#334155}
.check-list li i{color:var(--rf-primary);font-size:1.1rem;margin-top:.15rem;flex-shrink:0}

/* Reveal animation */
[data-reveal]{opacity:0;transform:translateY(24px);transition:opacity .8s ease,transform .8s ease}
[data-reveal].visible{opacity:1;transform:none}

/* Testimonials */
.testimonial-card{
  background:#fff;border:1px solid var(--rf-border);border-radius:20px;padding:2rem;height:100%;
  transition:all .3s ease;
}
.testimonial-card:hover{transform:translateY(-4px);box-shadow:0 20px 40px -20px rgba(1,70,171,.15)}
.testimonial-card .quote{font-size:1.05rem;color:#334155;font-style:italic;margin-bottom:1.5rem;line-height:1.7}
.testimonial-card .author{display:flex;align-items:center;gap:1rem}
.testimonial-card .author-img{width:48px;height:48px;border-radius:50%;object-fit:cover;background:var(--rf-soft)}
.testimonial-card .author-name{font-weight:700;color:var(--rf-ink)}
.testimonial-card .author-role{font-size:.85rem;color:var(--rf-muted)}
.testimonial-card .stars{color:var(--rf-accent);font-size:.9rem}

/* Partners */
.partner-logo{
  background:#fff;border:1px solid var(--rf-border);border-radius:16px;
  padding:1.5rem 1rem;text-align:center;transition:all .3s ease;
  display:flex;align-items:center;justify-content:center;height:100%;min-height:90px;
}
.partner-logo:hover{border-color:var(--rf-primary);box-shadow:0 12px 30px -15px rgba(1,70,171,.2)}
.partner-logo i{font-size:2.2rem;color:var(--rf-muted);transition:color .3s ease}
.partner-logo:hover i{color:var(--rf-primary)}
.partner-logo span{display:block;margin-top:.4rem;font-size:.8rem;font-weight:600;color:var(--rf-muted)}

/* Timeline */
.timeline{position:relative;padding-left:2rem}
.timeline::before{content:"";position:absolute;left:7px;top:0;bottom:0;width:2px;background:var(--rf-border)}
.timeline-item{position:relative;padding-bottom:2.5rem}
.timeline-item::before{content:"";position:absolute;left:-1.55rem;top:4px;width:14px;height:14px;border-radius:50%;background:var(--rf-primary);border:3px solid #fff;box-shadow:0 0 0 2px var(--rf-primary)}
.timeline-item:last-child{padding-bottom:0}
.timeline-year{font-size:.8rem;font-weight:700;color:var(--rf-primary);letter-spacing:.05em;text-transform:uppercase;margin-bottom:.3rem}
.timeline-title{font-weight:700;color:var(--rf-ink);margin-bottom:.3rem}
.timeline-desc{color:var(--rf-muted);font-size:.95rem}

/* Team */
.team-card{
  background:#fff;border:1px solid var(--rf-border);border-radius:20px;overflow:hidden;
  transition:all .3s ease;text-align:center;
}
.team-card:hover{transform:translateY(-4px);box-shadow:0 20px 40px -20px rgba(1,70,171,.15)}
.team-card .thumb{aspect-ratio:1/1;background:var(--rf-soft);display:flex;align-items:center;justify-content:center;overflow:hidden}
.team-card .thumb i{font-size:4rem;color:var(--rf-primary);opacity:.6}
.team-card .body{padding:1.4rem}
.team-card h5{font-size:1.1rem;margin-bottom:.2rem}
.team-card .role{font-size:.85rem;color:var(--rf-muted);margin-bottom:.6rem}
.team-card .social a{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--rf-soft);color:var(--rf-primary);margin:0 .15rem;transition:all .2s ease;font-size:.85rem}
.team-card .social a:hover{background:var(--rf-primary);color:#fff}

/* FAQ */
.accordion-rf .accordion-item{border:1px solid var(--rf-border);border-radius:14px;margin-bottom:1rem;overflow:hidden;background:#fff}
.accordion-rf .accordion-button{border-radius:14px!important;padding:1.2rem 1.5rem;font-weight:600;color:var(--rf-ink);background:#fff;box-shadow:none}
.accordion-rf .accordion-button:not(.collapsed){color:var(--rf-primary);background:rgba(1,70,171,.04);box-shadow:none}
.accordion-rf .accordion-button:focus{box-shadow:none;border-color:transparent}
.accordion-rf .accordion-body{padding:0 1.5rem 1.2rem;color:var(--rf-muted)}
.accordion-rf .accordion-button::after{background-size:1rem}

/* Events */
.event-card{
  background:#fff;border:1px solid var(--rf-border);border-radius:20px;overflow:hidden;
  transition:all .3s ease;display:flex;flex-direction:column;height:100%;
}
.event-card:hover{transform:translateY(-4px);box-shadow:0 20px 40px -20px rgba(1,70,171,.15)}
.event-card .date-badge{
  background:var(--rf-primary);color:#fff;padding:.35rem .8rem;border-radius:999px;
  font-size:.75rem;font-weight:700;align-self:flex-start;margin-bottom:.8rem;
}
.event-card .body{padding:1.6rem;flex:1;display:flex;flex-direction:column}
.event-card h4{font-size:1.1rem;margin-bottom:.5rem}
.event-card p{color:var(--rf-muted);font-size:.95rem;flex:1}
.event-card .meta{font-size:.85rem;color:var(--rf-muted);display:flex;gap:1rem;align-items:center;margin-top:auto}
.event-card .meta i{color:var(--rf-primary)}
.event-card .link-arrow{margin-top:1rem;font-size:.9rem}

/* Expanding bottom-right circle on hover (same effect as gallery card) */
.program .body,.event-card .body{position:relative;overflow:hidden}
.program .body::after,.event-card .body::after{content:"";position:absolute;right:-45px;bottom:-45px;width:130px;height:130px;border-radius:50%;background:rgba(1,70,171,.07);z-index:0;transition:transform .55s ease}
.program:hover .body::after,.event-card:hover .body::after{transform:scale(2.4)}
.program .body>*,.event-card .body>*{position:relative;z-index:1}

/* Process steps */
.process-step{text-align:center;padding:1.5rem}
.process-step .num{
  width:60px;height:60px;border-radius:50%;background:rgba(1,70,171,.1);color:var(--rf-primary);
  display:inline-flex;align-items:center;justify-content:center;font-size:1.4rem;font-weight:800;margin-bottom:1rem;
  transition:all .3s ease;
}
.process-step:hover .num{background:var(--rf-primary);color:#fff;transform:scale(1.1)}
.process-step h5{font-size:1.05rem;margin-bottom:.4rem}
.process-step p{color:var(--rf-muted);font-size:.9rem;margin:0}

/* Badges */
.badge-blue{color:var(--rf-primary)!important}

/* Welcome / intro */
.welcome-card{background:#fff;border:1px solid var(--rf-border);border-radius:24px;padding:2.5rem;box-shadow:0 30px 60px -45px rgba(15,23,42,.3);display:flex;flex-direction:column}
.welcome-highlights{display:grid;grid-template-columns:repeat(2,1fr);gap:1.1rem 1.5rem;margin-top:1.5rem}
.welcome-highlights .hl{display:flex;align-items:center;gap:.7rem;font-weight:600;color:#334155}
.welcome-highlights .hl i{width:42px;height:42px;border-radius:12px;background:rgba(1,70,171,.1);color:var(--rf-primary);display:inline-flex;align-items:center;justify-content:center;font-size:1.2rem;flex-shrink:0}
.welcome-highlights .hl + .hl + .hl{margin-top:0}
.welcome-card .link-arrow{align-self:flex-start;margin-top:auto}
.link-arrow{display:inline-flex;align-items:center;gap:.45rem;color:var(--rf-primary);font-weight:700;transition:gap .25s ease,color .25s ease}
.link-arrow i{transition:transform .25s ease}
.link-arrow:hover{color:var(--rf-primary-dark)}
.link-arrow:hover i{transform:translateX(4px)}
.welcome-img{height:100%;min-height:340px}
.welcome-img img{height:100%;object-fit:cover}

/* Focus area image cards */
.feature-card--img{padding:0;overflow:hidden}
.feature-card--img .feature-img{aspect-ratio:16/10;overflow:hidden}
.feature-card--img .feature-img img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.feature-card--img:hover .feature-img img{transform:scale(1.07)}
.feature-card--img h4{padding:.9rem 1.5rem 0;margin-bottom:.5rem;transition:color .3s ease}
.feature-card--img p{padding:0 1.5rem 1.6rem;transition:color .3s ease}
.feature-card--img{transition:transform .3s ease,box-shadow .3s ease,background .3s ease}
.feature-card--img .feature-img img{transition:transform .6s ease,filter .4s ease}
.feature-card--img:hover{transform:translateY(-6px);box-shadow:none}
.feature-card--img:hover .feature-img img{transform:scale(1.08);filter:saturate(1.1)}
.feature-card--img:hover h4{color:var(--rf-primary)}
.feature-card--img .focus-icon{
  width:42px;height:42px;border-radius:12px;background:#e7edf6;color:var(--rf-primary);font-size:1.2rem;
  display:flex;align-items:center;justify-content:center;position:relative;z-index:2;
  margin:-21px 0 0 1.5rem;box-shadow:0 8px 18px -8px rgba(1,70,171,.4);
  transition:background .3s ease,color .3s ease,transform .3s ease;
}
.feature-card--img:hover .focus-icon{background:var(--rf-primary);color:#fff;transform:scale(1.05)}
/* Expanding bottom-right circle on hover (same effect as gallery/program/event cards) */
.feature-card--img{position:relative}
.feature-card--img::after{content:"";position:absolute;right:-45px;bottom:-45px;width:130px;height:130px;border-radius:50%;background:rgba(1,70,171,.07);z-index:0;transition:transform .55s ease}
.feature-card--img:hover::after{transform:scale(2.4)}
.feature-card--img .feature-img,.feature-card--img h4,.feature-card--img p{position:relative;z-index:1}

/* Director message */
.director-carousel{max-width:960px;margin:0 auto}
.director-carousel .carousel-inner{overflow:visible}
.director-card{position:relative;overflow:hidden;background:linear-gradient(135deg,#ffffff 0%,#eef4fc 100%);border:1px solid var(--rf-border);border-radius:28px;padding:2.5rem;box-shadow:0 30px 70px -45px rgba(15,23,42,.35);transition:transform .45s cubic-bezier(.2,.7,.2,1),box-shadow .45s ease,border-color .45s ease}
/* Decorative background shapes */
.director-card::before{content:"";position:absolute;z-index:0;width:300px;height:300px;border-radius:50%;top:-130px;right:-100px;background:radial-gradient(circle at 30% 30%,rgba(1,70,171,.16),rgba(1,70,171,0) 70%);transition:transform .6s ease}
.director-card::after{content:"";position:absolute;z-index:0;width:240px;height:240px;border-radius:50%;bottom:-120px;left:-80px;background:radial-gradient(circle at 50% 50%,rgba(244,185,66,.20),rgba(244,185,66,0) 70%);transition:transform .6s ease}
.director-card .row{position:relative;z-index:1}
/* Hover effect */
.director-card:hover{transform:translateY(-8px);box-shadow:0 26px 50px -22px rgba(1,70,171,.32),0 10px 24px -14px rgba(15,23,42,.16);border-color:rgba(1,70,171,.22)}
.director-card:hover::before{transform:translate(-12px,12px) scale(1.12)}
.director-card:hover::after{transform:translate(12px,-12px) scale(1.12)}
.director-card:hover .director-photo img{transform:scale(1.07)}
.director-card:hover .quote-mark{opacity:.4;transform:translateY(-2px)}
.director-photo-wrap{display:flex;justify-content:center;padding:.5rem 1rem}
.director-photo{width:200px;height:200px;border-radius:50%;overflow:hidden;border:6px solid #fff;box-shadow:0 20px 40px -18px rgba(1,70,171,.45);position:relative}
.director-photo::after{content:"";position:absolute;inset:-6px;border-radius:50%;border:2px solid var(--rf-accent);opacity:.6;pointer-events:none}
.director-photo img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.director-body{padding:1rem 1.5rem}
.director-body .quote-mark{font-size:2.6rem;color:var(--rf-primary);opacity:.25;line-height:1;display:block;margin-bottom:.4rem;transition:opacity .45s ease,transform .45s ease}
.director-quote{font-size:1.12rem;color:#334155;font-style:italic;line-height:1.7;margin-bottom:1.2rem}
.director-meta{border-top:1px solid var(--rf-border);padding-top:1rem}
.director-sign{font-weight:800;color:var(--rf-orange);font-size:1.15rem}
.director-role{color:var(--rf-primary);font-size:.9rem;font-weight:600}
.director-carousel .carousel-indicators{position:static;margin:1.8rem 0 0}
.director-carousel .carousel-indicators [data-bs-target]{width:11px;height:11px;border-radius:50%;background:var(--rf-primary);opacity:.25;border:0;margin:0 5px;transition:opacity .25s ease,width .25s ease}
.director-carousel .carousel-indicators .active{opacity:1;width:28px;border-radius:6px}

/* Focus areas slider — 4 in a row, steps one card at a time */
.focus-slider{position:relative;padding:0 12px}
.focus-viewport{overflow:hidden}
.focus-track{display:flex;transition:transform .5s ease;will-change:transform}
.focus-slide{flex:0 0 25%;max-width:25%;padding:0 .75rem}
.focus-slide .feature-card{height:100%}
@media (max-width:991px){.focus-slide{flex-basis:50%;max-width:50%}}
@media (max-width:575px){.focus-slide{flex-basis:100%;max-width:100%}}
.focus-nav{position:absolute;top:42%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.7);background:rgba(1,70,171,.85);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.2rem;z-index:3;box-shadow:0 10px 24px -12px rgba(15,23,42,.3);transition:background .25s ease}
.focus-nav:hover{background:var(--rf-primary)}
.focus-prev{left:-18px}
.focus-next{right:-18px}
.focus-dots{display:flex;justify-content:center;gap:10px;margin-top:2rem}
.focus-dots button{width:11px;height:11px;border-radius:50%;background:var(--rf-primary);opacity:.25;border:0;padding:0;cursor:pointer;transition:opacity .25s ease,width .25s ease}
.focus-dots button.active{opacity:1;width:28px;border-radius:6px}

/* Voices carousel */
.voices-carousel{position:relative;padding:0 12px}
.voices-carousel .carousel-control-prev,.voices-carousel .carousel-control-next{width:46px;height:46px;background:rgba(15,23,42,.18);border:1px solid rgba(15,23,42,.12);border-radius:50%;top:42%;transform:translateY(-50%);opacity:1;backdrop-filter:blur(4px);box-shadow:0 10px 24px -12px rgba(15,23,42,.3);transition:background .25s ease}
.voices-carousel .carousel-control-prev:hover,.voices-carousel .carousel-control-next:hover{background:rgba(15,23,42,.34)}
.voices-carousel .carousel-control-prev{left:-18px}
.voices-carousel .carousel-control-next{right:-18px}
.voices-carousel .carousel-control-prev-icon,.voices-carousel .carousel-control-next-icon{width:1.1rem;height:1.1rem}
.voices-carousel .carousel-indicators{position:static;margin:2rem 0 0}
.voices-carousel .carousel-indicators [data-bs-target]{width:11px;height:11px;border-radius:50%;background:var(--rf-primary);opacity:.25;border:0;margin:0 5px;transition:opacity .25s ease,width .25s ease}
.voices-carousel .carousel-indicators .active{opacity:1;width:28px;border-radius:6px}

/* Events thumb */
.event-card .thumb{aspect-ratio:16/9;overflow:hidden}
.event-card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.event-card:hover .thumb img{transform:scale(1.06)}

/* Photo gallery */
.gallery-layout{display:grid;grid-template-columns:1fr 1fr;gap:1rem;height:380px}
.gallery-right{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:1rem}
.gallery-item{position:relative;border-radius:18px;overflow:hidden;display:block;cursor:pointer}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .55s ease}
.gallery-item::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 45%,rgba(1,51,128,.55));opacity:.15;transition:opacity .3s ease}
.gallery-item .cap{position:absolute;left:1rem;bottom:.9rem;right:1rem;color:#fff;font-weight:600;font-size:.9rem;z-index:2;opacity:0;transform:translateY(8px);transition:all .3s ease}
.gallery-item:hover img{transform:scale(1.08)}
.gallery-item:hover::after{opacity:1}
.gallery-item:hover .cap{opacity:1;transform:none}
.gallery-lead{height:100%}
/* Gallery message card (replaces last photo) */
.gallery-cta{position:relative;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(135deg,var(--rf-primary) 0%,var(--rf-primary-dark) 100%);color:#fff;padding:1.4rem;transition:transform .35s ease,box-shadow .35s ease}
.gallery-cta::after{content:"";position:absolute;right:-40px;bottom:-40px;width:120px;height:120px;border-radius:50%;background:rgba(255,255,255,.1);z-index:0;transition:transform .5s ease}
.gallery-cta>*{position:relative;z-index:1}
.gallery-cta:hover{transform:translateY(-4px);box-shadow:0 26px 45px -22px rgba(1,70,171,.6)}
.gallery-cta:hover::after{transform:scale(2.2)}
.gallery-cta h4{color:#fff;font-size:1.1rem;margin-bottom:.45rem;line-height:1.25}
.gallery-cta p{font-size:.82rem;color:#dbeafe;margin:0 0 .8rem;line-height:1.5}
.gallery-cta-link{display:inline-flex;align-items:center;gap:.4rem;color:#fff;font-weight:700;font-size:.85rem;transition:gap .25s ease}
.gallery-cta-link:hover{color:#fff;gap:.7rem}

/* Lightbox */
.lightbox{position:fixed;inset:0;background:rgba(8,15,30,.92);z-index:1080;display:flex;align-items:center;justify-content:center;padding:2rem;opacity:0;visibility:hidden;transition:opacity .3s ease}
.lightbox.open{opacity:1;visibility:visible}
.lightbox-content{margin:0;max-width:90vw;max-height:88vh;text-align:center}
.lightbox-content img{max-width:90vw;max-height:80vh;border-radius:14px;box-shadow:0 30px 80px -20px rgba(0,0,0,.6)}
.lightbox-content figcaption{color:#fff;margin-top:1rem;font-weight:600;font-size:1rem}
.lightbox-close{position:absolute;top:1.2rem;right:1.5rem;width:46px;height:46px;border-radius:50%;border:0;background:rgba(255,255,255,.12);color:#fff;font-size:1.8rem;line-height:1;cursor:pointer;transition:background .25s ease}
.lightbox-close:hover{background:rgba(255,255,255,.25)}

/* Hero carousel */
.hero-carousel{position:relative;z-index:2}
.hero-carousel .carousel-item{transition:transform .6s ease-in-out}
.hero-carousel .hero-img-wrap img{height:360px;object-fit:cover}

/* Hero animated background shapes (left side) */
.hero-shapes{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.hero-shapes .shape{position:absolute;line-height:1}
.hero-shapes .s1{left:3%;top:16%;font-size:96px;color:rgba(1,70,171,.08);animation:floatY 7s ease-in-out infinite}
.hero-shapes .s2{left:24%;top:58%;font-size:54px;color:rgba(249,96,0,.16);animation:floatX 9s ease-in-out infinite}
.hero-shapes .s3{left:9%;top:70%;font-size:46px;color:rgba(34,139,87,.15);animation:floatY 5s ease-in-out infinite reverse}
.hero-shapes .s4{left:30%;top:9%;font-size:66px;color:rgba(1,70,171,.09);animation:floatX 11s ease-in-out infinite reverse}
.hero-shapes .s5{left:15%;top:34%;font-size:44px;color:rgba(244,185,66,.22);animation:float 8s ease-in-out infinite}
.hero-shapes .s6{left:41%;top:78%;font-size:50px;color:rgba(249,96,0,.15);animation:floatY 10s ease-in-out infinite}
.hero-shapes .s7{left:6%;top:50%;font-size:40px;color:rgba(1,70,171,.10);animation:floatX 8s ease-in-out infinite reverse}
.hero-shapes .s8{left:36%;top:42%;font-size:38px;color:rgba(34,139,87,.13);animation:float 9s ease-in-out infinite reverse}
@keyframes floatY{0%,100%{transform:translateY(0)}50%{transform:translateY(-26px)}}
@keyframes floatX{0%,100%{transform:translateX(0)}50%{transform:translateX(24px)}}
@keyframes spin{to{transform:rotate(360deg)}}
.hero-carousel .carousel-control-prev,.hero-carousel .carousel-control-next{width:46px;height:46px;background:rgba(1,70,171,.85);border:1px solid rgba(255,255,255,.7);border-radius:50%;top:50%;transform:translateY(-50%);opacity:1;backdrop-filter:blur(4px);box-shadow:0 10px 24px -12px rgba(15,23,42,.4);transition:background .25s ease}
.hero-carousel .carousel-control-prev:hover,.hero-carousel .carousel-control-next:hover{background:var(--rf-primary)}
.hero-carousel .carousel-control-prev{left:12px}
.hero-carousel .carousel-control-next{right:12px}
.hero-carousel .carousel-control-prev-icon,.hero-carousel .carousel-control-next-icon{width:1.1rem;height:1.1rem}
.hero-carousel .carousel-indicators{bottom:-8px}
.hero-carousel .carousel-indicators [data-bs-target]{width:11px;height:11px;border-radius:50%;background:var(--rf-primary);opacity:.3;border:0;margin:0 5px;transition:opacity .25s ease,width .25s ease}
.hero-carousel .carousel-indicators .active{opacity:1;width:28px;border-radius:6px}

/* Hero text entrance animation (staggered) */
@keyframes heroTextIn{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
@keyframes heroImgIn{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:none}}
.hero-carousel .carousel-item.active .col-lg-6:first-child > *{opacity:0;animation:heroTextIn .7s ease forwards}
.hero-carousel .carousel-item.active .col-lg-6:first-child > *:nth-child(1){animation-delay:.15s}
.hero-carousel .carousel-item.active .col-lg-6:first-child > *:nth-child(2){animation-delay:.30s}
.hero-carousel .carousel-item.active .col-lg-6:first-child > *:nth-child(3){animation-delay:.45s}
.hero-carousel .carousel-item.active .col-lg-6:first-child > *:nth-child(4){animation-delay:.60s}
.hero-carousel .carousel-item.active .col-lg-6:first-child > *:nth-child(5){animation-delay:.75s}
.hero-carousel .carousel-item.active .hero-img-wrap{animation:heroImgIn .9s .2s both}

/* Floating text badges on hero images */
@keyframes badgeFloatB{0%,100%{transform:translateY(0)}50%{transform:translateY(9px)}}
.hero-float-badge{
  position:absolute;z-index:3;
  background:rgba(255,255,255,.92);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  border-radius:14px;padding:.55rem .9rem;
  box-shadow:0 16px 32px -18px rgba(15,23,42,.55);
  text-align:left;
}
.hero-float-badge .hfb-num{font-size:1.15rem;font-weight:800;color:var(--rf-primary);line-height:1.1}
.hero-float-badge .hfb-lbl{font-size:.68rem;font-weight:600;color:var(--rf-muted);text-transform:uppercase;letter-spacing:.05em}
.hfb-b{right:16px;bottom:18px;animation:badgeFloatB 7s ease-in-out infinite}

/* Hero image hover effect */
.hero .hero-img-wrap img{transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.hero .hero-img-wrap:hover img{transform:scale(1.07)}
.hero .hero-img-wrap::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(120deg,rgba(1,70,171,0),rgba(244,185,66,0));transition:background .5s ease}
.hero .hero-img-wrap:hover::after{background:linear-gradient(120deg,rgba(1,70,171,.14),rgba(244,185,66,.10))}

@media (prefers-reduced-motion:reduce){
  .hero-carousel .carousel-item.active .col-lg-6:first-child > *{opacity:1;animation:none}
  .hero-carousel .carousel-item.active .hero-img-wrap{animation:none}
}

/* FAQ layout */
.faq-aside{position:sticky;top:100px}
.faq-aside .icon{width:64px;height:64px;border-radius:18px;background:rgba(1,70,171,.1);color:var(--rf-primary);display:inline-flex;align-items:center;justify-content:center;font-size:1.8rem;margin-bottom:1.2rem}

/* Vision & Mission cards */
.vm-card{
  background:#fff;
  border:1px solid var(--rf-border);
  border-radius:24px;
  overflow:hidden;
  display:flex;
  flex-direction:row;
  align-items:stretch;
  box-shadow:0 30px 60px -45px rgba(15,23,42,.35);
  transition:transform .45s cubic-bezier(.2,.7,.2,1),box-shadow .45s ease,border-color .45s ease;
}
.vm-card:hover{
  transform:translateY(-10px);
  box-shadow:0 40px 70px -35px rgba(1,70,171,.45);
  border-color:rgba(1,70,171,.25);
}
.vm-media{position:relative;flex:0 0 40%;max-width:40%;overflow:hidden}
.vm-media img{
  width:100%;height:100%;min-height:230px;object-fit:cover;display:block;
  transition:transform .7s cubic-bezier(.2,.7,.2,1),filter .5s ease;
}
.vm-card:hover .vm-media img{transform:scale(1.08);filter:saturate(1.1)}
.vm-media::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(135deg,rgba(1,70,171,.5) 0%,rgba(15,23,42,0) 55%);
  opacity:.85;transition:opacity .45s ease;
}
.vm-card:hover .vm-media::after{opacity:1}
.vm-icon{
  position:absolute;left:.9rem;top:.9rem;z-index:2;
  width:50px;height:50px;border-radius:14px;
  background:#fff;color:var(--rf-primary);
  display:inline-flex;align-items:center;justify-content:center;
  font-size:1.35rem;
  box-shadow:0 18px 30px -16px rgba(1,70,171,.6);
  transition:transform .45s cubic-bezier(.2,.7,.2,1),background .45s ease,color .45s ease;
}
.vm-card:hover .vm-icon{
  transform:rotate(-6deg) scale(1.08);
  background:var(--rf-primary);color:#fff;
}
.vm-body{padding:1.6rem 1.8rem;flex:1;display:flex;flex-direction:column;justify-content:center}
.vm-title{position:relative;display:inline-block;margin-bottom:.8rem;font-size:1.3rem}
.vm-title::after{
  content:"";position:absolute;left:0;bottom:-8px;
  width:42px;height:4px;border-radius:4px;background:var(--rf-accent);
  transition:width .45s cubic-bezier(.2,.7,.2,1);
}
.vm-card:hover .vm-title::after{width:100%}

@media (max-width:768px){
  .vm-card{flex-direction:column}
  .vm-media{flex-basis:auto;max-width:100%;height:190px}
  .vm-media img{min-height:0}
  .vm-body{padding:1.6rem 1.4rem}
  .hero{padding:3rem 0}
  .hero-badge{display:none}
  .cta-banner{padding:2rem}
  .section{padding:3.5rem 0}
  .timeline{padding-left:1.5rem}
  .timeline-item::before{left:-1.3rem}
  .welcome-card{padding:1.8rem}
  .director-card{padding:1.6rem}
  .gallery-layout{grid-template-columns:1fr;height:auto}
  .gallery-lead{height:240px}
  .gallery-right{grid-template-rows:200px 200px}
  .voices-carousel{padding:0}
  .voices-carousel .carousel-control-prev{left:2px}
  .voices-carousel .carousel-control-next{right:2px}
  .hero-carousel .hero-img-wrap img{height:240px}
  .welcome-highlights{grid-template-columns:1fr}
  .hero-shapes .s2,.hero-shapes .s4,.hero-shapes .s5,.hero-shapes .s6,.hero-shapes .s7,.hero-shapes .s8{display:none}
}
