  :root {
     --blue: #3871c1;
     --blue-deep: #24518f;
     --orange: #ff914d;
     --orange-deep: #e5762f;
     --ink: #1c2430;
     --paper: #fbfaf7;
     --paper-dim: #f2f0ea;
     --line: rgba(28, 36, 48, 0.10);
 }
 
 html {
     scroll-behavior: smooth;
 }
 
 body {
     font-family: 'Inter', sans-serif;
     color: var(--ink);
     line-height: 1.6;
     background-color: var(--paper);
     background-image: radial-gradient(ellipse 900px 700px at 8% 0%, rgba(56, 113, 193, .10), transparent 60%), radial-gradient(ellipse 900px 700px at 100% 22%, rgba(255, 145, 77, .09), transparent 55%), radial-gradient(ellipse 800px 600px at 15% 85%, rgba(56, 113, 193, .07), transparent 55%), radial-gradient(ellipse 700px 600px at 95% 100%, rgba(255, 145, 77, .08), transparent 55%);
     background-repeat: no-repeat;
     background-attachment: fixed;
 }
 
 @media (max-width:767px) {
     /* fixed backgrounds can jank on mobile scroll; use normal attachment there */
     body {
         background-attachment: scroll;
     }
 }
 
 h1,
 h2,
 h3,
 h4,
 .display-serif {
     font-family: 'Fraunces', serif;
     font-weight: 600;
     letter-spacing: -0.01em;
     color: var(--blue-deep);
 }
 
 a {
     text-decoration: none;
 }
 
 .container-narrow {
     max-width: 1140px;
 }
 /* ---------- NAVBAR ---------- */
 
 .navbar-afcic {
     background: linear-gradient(160deg, var(--blue) 0%, #4d84cf 60%, var(--ink) 130%);
     border-bottom: 1px solid rgba(255, 255, 255, .12);
     padding-top: .9rem;
     padding-bottom: .9rem;
 }

 /* Match navbar text/links to the footer's light-on-blue look */
 .navbar-afcic .navbar-brand,
 .navbar-afcic .nav-link {
     color: rgba(255, 255, 255, .85);
 }

 .navbar-afcic .navbar-brand:hover,
 .navbar-afcic .nav-link:hover,
 .navbar-afcic .nav-link:focus {
     color: #fff;
 }
 
 .navbar-afcic .navbar-brand {
     font-family: 'Fraunces', serif;
     font-weight: 700;
     font-size: 1.35rem;
     color: #fff;
     display: inline-flex;
     align-items: center;
     gap: 0.5rem;
 }

 .navbar-afcic .navbar-logo {
     height: 36px;
     max-height: 36px;
     width: auto;
     object-fit: contain;
     display: inline-block;
     transition: transform .25s ease;
 }
 
 .navbar-afcic .navbar-brand:hover .navbar-logo {
     transform: scale(1.04);
 }
 
 .navbar-afcic .navbar-brand span {
     color: var(--orange);
 }
 /* ---- Toggler (hamburger) ---- */
 
 .navbar-afcic .navbar-toggler {
     border: 1px solid rgba(255, 255, 255, .3);
     padding: .4rem .65rem;
 }

 .navbar-afcic .navbar-toggler:focus {
     box-shadow: 0 0 0 .2rem rgba(var(--orange), .25);
     outline: none;
 }

 .navbar-afcic .navbar-toggler-icon {
     background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
 }

 .navbar-afcic .nav-link {
     font-weight: 500;
     color: rgba(255, 255, 255, .88);
     margin: 0 .6rem;
     padding: .4rem 0 !important;
     border-bottom: 2px solid transparent;
 }

 .navbar-afcic .nav-link:hover {
     color: #fff;
     border-bottom: 2px solid var(--orange);
 }

 .navbar-afcic .dropdown-toggle::after {
     margin-left: .4em;
     vertical-align: .15em;
     transition: transform .25s ease;
 }

 .navbar-afcic .dropdown-menu {
     border: none;
     border-top: 2px solid var(--orange);
     border-radius: 0;
     box-shadow: 0 16px 32px rgba(28, 36, 48, .22);
     padding: .5rem 0;
     margin-top: .5rem;
     background: var(--blue-deep);
 }
 
 .navbar-afcic .dropdown-item {
     padding: .55rem 1.25rem;
     font-size: .93rem;
     color: rgba(255, 255, 255, .86);
 }
 
 .navbar-afcic .dropdown-item:hover,
 .navbar-afcic .dropdown-item:focus {
     background: rgba(255, 255, 255, .08);
     color: #fff;
 }
 /* ---- Mobile (< 992px) ---- */
 
 @media (max-width: 991.98px) {
     .navbar-afcic .navbar-collapse {
         padding-top: .75rem;
     }
     .navbar-afcic .nav-link {
         margin: 0;
         padding: .6rem 0 !important;
         border-bottom: 1px solid var(--line);
     }
     .navbar-afcic .nav-link:hover {
         border-bottom: 1px solid var(--orange);
     }
     .navbar-afcic .dropdown-menu {
         border-top: none;
         box-shadow: none;
         margin-top: 0;
         padding-left: 1rem;
         background: transparent;
     }
     .navbar-afcic .dropdown-item {
         padding: .45rem 1rem;
         font-size: .9rem;
     }
     /* Rotate caret when open */
     .navbar-afcic .nav-item.dropdown.show .dropdown-toggle::after {
         transform: rotate(180deg);
     }
 }
 /* ---- Desktop (>= 992px): hover to open ---- */
 
 @media (min-width: 992px) {
     .navbar-afcic .nav-item.dropdown:hover>.dropdown-menu {
         display: block;
     }
 }
 
 .btn-donate {
     background: var(--orange);
     border: none;
     color: #fff;
     font-weight: 600;
     padding: .6rem 1.4rem;
     border-radius: 2px;
 }
 
 .btn-donate:hover {
     background: var(--orange-deep);
     color: #fff;
 }
 /* ---------- HERO CAROUSEL ---------- */
 
 .hero-carousel {
     position: relative;
     background: var(--ink);
     overflow: hidden;
 }
 
 .hero-carousel .carousel-item {
     min-height: 90vh;
     display: flex;
     align-items: center;
     background-size: cover;
     background-position: center;
     filter: saturate(1.12) contrast(1.03);
 }
 /* slow Ken Burns drift on the active slide, so the photo stays alive
     instead of sitting static behind the lighter overlay below */
 
 .hero-carousel .carousel-item.active {
     animation: heroKenBurns 8s ease-out forwards;
 }
 
 @keyframes heroKenBurns {
     from {
         transform: scale(1.06);
     }
     to {
         transform: scale(1);
     }
 }
 
 @media (prefers-reduced-motion: reduce) {
     .hero-carousel .carousel-item.active {
         animation: none;
     }
 }
 
 .hero-carousel .slide-gradient {
     position: absolute;
     inset: 0;
     /* lighter than before so the photo reads clearly; legibility now comes
       mainly from the text-shadow on the headline/lead rather than a heavy veil */
     background: linear-gradient(105deg, rgba(28, 36, 48, .72) 22%, rgba(28, 36, 48, .38) 55%, rgba(255, 145, 77, .14) 100%), linear-gradient(0deg, rgba(28, 36, 48, .55) 0%, rgba(28, 36, 48, 0) 45%);
 }
 
 .hero-content {
     position: relative;
     z-index: 2;
     color: #fff;
     width: 100%;
 }
 
 .hero-eyebrow {
     color: var(--orange);
     font-family: 'Fraunces', serif;
     font-style: italic;
     font-size: 1.15rem;
     margin-bottom: .75rem;
     text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
 }
 
 .hero-carousel h1 {
     color: #fff;
     font-size: clamp(2.2rem, 4.6vw, 3.6rem);
     line-height: 1.1;
     max-width: 16ch;
     text-shadow: 0 4px 24px rgba(0, 0, 0, .55);
 }
 
 .hero-carousel p.lead {
     color: rgba(255, 255, 255, .92);
     max-width: 46ch;
     font-size: 1.1rem;
     text-shadow: 0 2px 14px rgba(0, 0, 0, .5);
 }
 /* custom indicators: small dashes, bottom-left, above the stats card */
 
 .hero-carousel .carousel-indicators {
     justify-content: flex-start;
     left: 0;
     right: auto;
     bottom: 2.5rem;
     margin-left: 0;
     padding-left: calc((100% - 1080px)/2);
 }
 
 .hero-carousel .carousel-indicators [data-bs-target] {
     width: 34px;
     height: 3px;
     background-color: rgba(255, 255, 255, .4);
     border: none;
     opacity: 1;
 }
 
 .hero-carousel .carousel-indicators .active {
     background-color: var(--orange);
 }
 /* custom controls: circular, bottom-right */
 
 .hero-carousel .carousel-control-prev,
 .hero-carousel .carousel-control-next {
     top: auto;
     bottom: 1.6rem;
     width: 44px;
     height: 44px;
     border: 1px solid rgba(255, 255, 255, .4);
     border-radius: 50%;
     background: rgba(0, 0, 0, .15);
 }
 
 .hero-carousel .carousel-control-prev {
     left: auto;
     right: 5.2rem;
 }
 
 .hero-carousel .carousel-control-next {
     right: 1.5rem;
 }
 
 .hero-carousel .carousel-control-prev:hover,
 .hero-carousel .carousel-control-next:hover {
     background: var(--orange);
     border-color: var(--orange);
 }
 
 .hero-carousel .carousel-control-prev-icon,
 .hero-carousel .carousel-control-next-icon {
     width: 1.1rem;
     height: 1.1rem;
 }
 
 @media (max-width: 991px) {
     .hero-carousel .carousel-indicators {
         padding-left: 1.5rem;
     }
 }
 /* overlapping stats card */
 
 .stats-overlap {
     position: relative;
     z-index: 5;
     margin-top: -64px;
 }
 
 .stats-card {
     background: #fff;
     box-shadow: 0 18px 40px rgba(28, 36, 48, .14);
     display: flex;
     flex-wrap: wrap;
 }
 
 .stats-card .stat {
     flex: 1 1 25%;
     text-align: center;
     padding: 1.6rem 1rem;
     border-right: 1px solid var(--line);
     cursor: default;
     transition: background .3s ease;
 }
 
 .stats-card .stat:hover {
     background: var(--paper-dim);
 }
 
 .stats-card .stat:last-child {
     border-right: none;
 }
 
 .stats-card .num {
     font-family: 'Fraunces', serif;
     font-size: 2rem;
     font-weight: 700;
     color: var(--blue-deep);
     line-height: 1;
     display: inline-block;
     transition: transform .3s ease;
 }
 
 .stats-card .stat:hover .num {
     transform: scale(1.12);
 }
 
 .stats-card .label {
     font-size: .85rem;
     color: #5b6472;
     margin-top: .35rem;
 }
 
 @media (max-width:767px) {
     .stats-card .stat {
         flex: 1 1 50%;
         border-bottom: 1px solid var(--line);
     }
 }
 
 .btn-primary-afcic {
     background: var(--orange);
     border: none;
     color: #fff;
     font-weight: 600;
     padding: .85rem 1.9rem;
     border-radius: 2px;
 }
 
 .btn-primary-afcic:hover {
     background: var(--orange-deep);
     color: #fff;
 }
 
 .btn-outline-afcic {
     background: transparent;
     border: 1.5px solid rgba(255, 255, 255, .6);
     color: #fff;
     font-weight: 600;
     padding: .85rem 1.9rem;
     border-radius: 2px;
 }
 
 .btn-outline-afcic:hover {
     background: rgba(255, 255, 255, .12);
     color: #fff;
     border-color: #fff;
 }
 /* ---------- SOFT SECTION GRADIENT TINTS ---------- */
 
 .section-tint-blue {
     background: linear-gradient(160deg, rgba(56, 113, 193, .08) 0%, rgba(56, 113, 193, 0) 55%);
 }
 
 .section-tint-orange {
     background: linear-gradient(160deg, rgba(255, 145, 77, .09) 0%, rgba(255, 145, 77, 0) 55%);
 }
 /* ---------- SECTION HEADERS ---------- */
 
 .section-pad {
     padding: 5.5rem 0;
 }
 
 .section-head {
     max-width: 680px;
     margin-bottom: 3.25rem;
 }
 
 .section-head.text-center {
     margin-left: auto;
     margin-right: auto;
 }
 
 .section-eyebrow {
     display: inline-block;
     font-family: 'Inter', sans-serif;
     font-size: 0.8125rem;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: 0.12em;
     color: var(--orange-deep);
     margin-bottom: 0.65rem;
 }
 
 .section-head h2,
 .section-title {
     font-family: 'Fraunces', serif;
     font-size: clamp(2rem, 3.2vw, 2.65rem);
     font-weight: 600;
     line-height: 1.22;
     letter-spacing: -0.01em;
     color: var(--blue-deep);
     margin-bottom: 0;
 }
 
 .section-head .rule,
 .rule {
     width: 56px;
     height: 3px;
     background: var(--orange);
     margin-top: 1.15rem;
     margin-bottom: 1.15rem;
     border: none;
     opacity: 1;
 }
 
 .section-head.text-center .rule {
     margin-left: auto;
     margin-right: auto;
 }
 
 .section-head p,
 .section-subheading {
     color: #5b6472;
     font-size: 1.05rem;
     line-height: 1.65;
     margin-bottom: 0;
 }
 
 .section-head.text-center p,
 .section-head.text-center .section-subheading {
     max-width: 60ch;
 }
 /* ---------- ABOUT / VISION / MISSION ---------- */
 
 .about-card {
     background: var(--paper);
     border: 1px solid var(--line);
     padding: 2.5rem 2rem;
     height: 100%;
     display: flex;
     flex-direction: column;
     transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
 }
 
 .about-card:hover {
     transform: translateY(-8px);
     box-shadow: 0 20px 40px rgba(28, 36, 48, .12);
     border-color: transparent;
 }
 
 .about-card.about-card-accent:hover {
     box-shadow: 0 20px 40px rgba(56, 113, 193, .35);
 }
 
 .about-card .tag {
     font-family: 'Fraunces', serif;
     font-style: italic;
     color: var(--orange-deep);
     font-size: 1.05rem;
     margin-bottom: .9rem;
 }
 
 .about-card h3 {
     font-size: 1.4rem;
     margin-bottom: .9rem;
 }
 
 .about-card p {
     color: #4b5563;
     font-size: .97rem;
     margin: 0;
 }
 
 .about-card.about-card-accent {
     background: var(--blue);
     border-color: var(--blue);
     color: #fff;
 }
 
 .about-card.about-card-accent .tag {
     color: var(--orange);
 }
 
 .about-card.about-card-accent h3 {
     color: #fff;
 }
 
 .about-card.about-card-accent p {
     color: rgba(255, 255, 255, .85);
 }
 /* ---------- FOCUS AREAS ---------- */
 
 .focus-section {
     background: linear-gradient(155deg, rgba(242, 240, 234, .75) 0%, rgba(56, 113, 193, .06) 50%, rgba(242, 240, 234, .75) 100%);
 }
 
 .focus-card {
     background: var(--paper);
     border: 1px solid var(--line);
     height: 100%;
     display: flex;
     flex-direction: column;
     overflow: hidden;
     transition: transform .35s ease, box-shadow .35s ease;
 }
 
 .focus-card:hover {
     transform: translateY(-8px);
     box-shadow: 0 20px 40px rgba(28, 36, 48, .14);
 }
 
 .focus-card .focus-img {
     height: 190px;
     background-size: cover;
     background-position: center;
     transition: transform .5s ease;
 }
 
 .focus-card:hover .focus-img {
     transform: scale(1.08);
 }
 
 .focus-card .focus-body {
     padding: 1.5rem;
     flex: 1;
     display: flex;
     flex-direction: column;
 }
 
 .focus-card h3 {
     font-size: 1.3rem;
     margin-bottom: .6rem;
 }
 
 .focus-card p {
     color: #4b5563;
     font-size: .95rem;
     flex: 1;
 }
 
 .focus-card .focus-link {
     color: var(--blue-deep);
     font-weight: 600;
     font-size: .9rem;
     display: inline-block;
     transition: transform .3s ease, color .3s ease;
 }
 
 .focus-card .focus-link::after {
     content: " →";
     display: inline-block;
     transition: transform .3s ease;
 }
 
 .focus-card:hover .focus-link {
     color: var(--orange-deep);
 }
 
 .focus-card:hover .focus-link::after {
     transform: translateX(4px);
 }
 
 .focus-tag {
     display: inline-block;
     font-size: .75rem;
     color: var(--orange-deep);
     font-weight: 700;
     margin-bottom: .5rem;
 }
 /* ---------- IMPACT BAND ---------- */
 
 .impact-band {
     background: linear-gradient(120deg, var(--blue-deep) 0%, var(--blue) 55%, #4d84cf 100%);
     color: #fff;
 }
 
 .impact-band .stat-col {
     padding: .75rem .5rem;
     border-radius: 4px;
     cursor: default;
     transition: background .3s ease;
 }
 
 .impact-band .stat-col:hover {
     background: rgba(255, 255, 255, .08);
 }
 
 .impact-band .num {
     font-family: 'Fraunces', serif;
     font-size: 3rem;
     font-weight: 700;
     color: #fff;
     line-height: 1;
     display: inline-block;
     transition: transform .3s ease;
 }
 
 .impact-band .stat-col:hover .num {
     transform: scale(1.12);
     color: var(--orange);
 }
 
 .impact-band .label {
     color: rgba(255, 255, 255, .8);
     font-size: .95rem;
     margin-top: .4rem;
 }
 
 .impact-band .divider {
     border-left: 1px solid rgba(255, 255, 255, .25);
 }
 /* ---------- CENTERS ---------- */
 
 .center-card {
     position: relative;
     overflow: hidden;
     min-height: 340px;
     display: flex;
     align-items: flex-end;
     transition: transform .35s ease, box-shadow .35s ease;
 }
 
 .center-card:hover {
     transform: translateY(-8px);
     box-shadow: 0 22px 45px rgba(28, 36, 48, .28);
 }
 
 .center-bg {
     position: absolute;
     inset: 0;
     background-size: cover;
     background-position: center;
     transition: transform .6s ease;
 }
 
 .center-card:hover .center-bg {
     transform: scale(1.08);
 }
 
 .center-card .overlay {
     position: absolute;
     inset: 0;
     background: linear-gradient(180deg, rgba(28, 36, 48, 0) 30%, rgba(28, 36, 48, .9) 100%);
 }
 
 .center-card .content {
     position: relative;
     z-index: 2;
     padding: 1.75rem;
     color: #fff;
 }
 
 .center-card h3 {
     color: #fff;
     font-size: 1.4rem;
 }
 
 .center-card p {
     color: rgba(255, 255, 255, .8);
     font-size: .92rem;
 }
 
 .center-card .badge-center {
     background: var(--orange);
     color: #fff;
     font-size: .75rem;
     font-weight: 700;
     padding: .3rem .7rem;
     display: inline-block;
     margin-bottom: .6rem;
 }
 /* ---------- STORIES ---------- */
 
 .story-card {
     background: var(--paper);
     padding-bottom: 1rem;
     display: flex;
     flex-direction: column;
     height: 100%;
     transition: transform .35s ease, box-shadow .35s ease;
 }
 
 .story-card:hover {
     transform: translateY(-8px);
     box-shadow: 0 20px 40px rgba(28, 36, 48, .14);
 }
 
 .story-card .story-img-wrap {
     overflow: hidden;
 }
 
 .story-card img {
     width: 100%;
     height: 210px;
     object-fit: cover;
     display: block;
     transition: transform .5s ease;
 }
 
 .story-card:hover img {
     transform: scale(1.08);
 }
 
 .story-card h4 {
     font-size: 1.1rem;
     margin: 1rem 0 .5rem;
     padding: 0 .75rem;
 }
 
 .story-card p {
     color: #4b5563;
     font-size: .92rem;
     padding: 0 .75rem;
     flex-grow: 1;
 }
 
 .story-card .story-link {
     display: inline-block;
     margin: .75rem .75rem .25rem;
     padding: .55rem 1.25rem;
     background: var(--blue-deep);
     color: #fff;
     font-weight: 600;
     font-size: .9rem;
     border-radius: 6px;
     text-align: center;
     text-decoration: none;
     transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
     align-self: flex-start;
 }
 
 .story-card .story-link:hover {
     background: var(--orange-deep);
     transform: translateY(-2px);
     box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
     color: #fff;
 }
 /* ---------- VIDEO SLIDER ---------- */
 
 .video-slider {
     background: linear-gradient(160deg, rgba(56, 113, 193, .07) 0%, transparent 60%);
 }
 
 .video-slider .section-head {
     max-width: 560px;
 }
 
 .video-slide {
     max-width: 820px;
     margin: 0 auto 2.5rem;
 }
 
 .video-frame {
     background: var(--ink);
     box-shadow: 0 20px 45px rgba(28, 36, 48, .18);
 }
 
 .video-frame iframe {
     border: 0;
     transition: filter .4s ease, opacity .4s ease;
 }

 /* Only the active slide's video is clear; inactive ones are dimmed/blurred */
 .video-slider .carousel-item .video-frame {
     filter: blur(2px);
     opacity: .55;
     transition: filter .4s ease, opacity .4s ease;
 }

 .video-slider .carousel-item.active .video-frame {
     filter: none;
     opacity: 1;
 }
 
 .video-caption {
     font-size: 1.15rem;
     text-align: center;
     margin-top: 1.25rem;
 }
 
 .video-slider .carousel-control-prev,
 .video-slider .carousel-control-next {
     top: 42%;
     width: 40px;
     height: 40px;
     border-radius: 50%;
     background: var(--paper-dim);
     opacity: 1;
 }
 
 .video-slider .carousel-control-prev-icon,
 .video-slider .carousel-control-next-icon {
     filter: invert(1);
     width: 1rem;
     height: 1rem;
 }
 
 .video-slider .carousel-control-prev:hover,
 .video-slider .carousel-control-next:hover {
     background: var(--orange);
 }
 
 .video-slider .carousel-control-prev:hover .carousel-control-prev-icon,
 .video-slider .carousel-control-next:hover .carousel-control-next-icon {
     filter: invert(0);
 }
 
 .video-indicators {
     position: static;
     margin: 0;
     padding-top: 0;
 }
 
 .video-indicators [data-bs-target] {
     width: 8px;
     height: 8px;
     border-radius: 50%;
     background-color: var(--line);
     border: none;
     opacity: 1;
 }
 
 .video-indicators .active {
     background-color: var(--orange);
 }
 /* ---------- PARTNERS SLIDER SECTION ---------- */
 
 .partners-section {
     background: linear-gradient(160deg, rgba(255, 145, 77, .06) 0%, rgba(242, 240, 234, .5) 50%, var(--paper) 100%);
     border-top: 1px solid var(--line);
     position: relative;
     overflow: hidden;
 }
 
 .partners-marquee-wrapper {
     position: relative;
     width: 100%;
     overflow: hidden;
     padding: 1rem 0;
 }
 
 .partners-marquee-wrapper::before,
 .partners-marquee-wrapper::after {
     content: "";
     position: absolute;
     top: 0;
     bottom: 0;
     width: 80px;
     z-index: 3;
     pointer-events: none;
 }
 
 .partners-marquee-wrapper::before {
     left: 0;
     background: linear-gradient(to right, #fbfaf7, rgba(251, 250, 247, 0));
 }
 
 .partners-marquee-wrapper::after {
     right: 0;
     background: linear-gradient(to left, #fbfaf7, rgba(251, 250, 247, 0));
 }
 
 @media (max-width: 767px) {
     .partners-marquee-wrapper::before,
     .partners-marquee-wrapper::after {
         width: 40px;
     }
 }
 
 .partners-viewport {
     display: flex;
     overflow-x: auto;
     scrollbar-width: none;
     -ms-overflow-style: none;
     cursor: grab;
     user-select: none;
 }
 
 .partners-viewport::-webkit-scrollbar {
     display: none;
 }
 
 .partners-viewport:active {
     cursor: grabbing;
 }
 
 .partners-track {
     display: flex;
     gap: 1.5rem;
     align-items: stretch;
     width: max-content;
     animation: partnerMarquee 38s linear infinite;
 }
 
 .partners-marquee-wrapper:hover .partners-track,
 .partners-track.paused {
     animation-play-state: paused;
 }
 
 @keyframes partnerMarquee {
     0% {
         transform: translateX(0);
     }
     100% {
         transform: translateX(-50%);
     }
 }
 
 .partner-card-link {
     text-decoration: none;
     color: inherit;
     display: block;
     flex: 0 0 240px;
     width: 240px;
 }
 
 .partner-card {
     background: #ffffff;
     border: 1px solid var(--line);
     border-radius: 8px;
     padding: 1.75rem 1.25rem;
     text-align: center;
     box-shadow: 0 4px 14px rgba(28, 36, 48, 0.04);
     transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
     height: 100%;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
 }
 
 .partner-card:hover {
     transform: translateY(-6px);
     box-shadow: 0 16px 36px rgba(28, 36, 48, 0.12);
     border-color: var(--orange);
 }
 
 .partner-logo-box {
     width: 100%;
     height: 75px;
     display: flex;
     align-items: center;
     justify-content: center;
     margin-bottom: 0.85rem;
 }
 
 .partner-logo-box img {
     max-height: 65px;
     max-width: 150px;
     width: auto;
     object-fit: contain;
     filter: grayscale(0%);
     opacity: 1;
     transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
 }
 
 .partner-card:hover .partner-logo-box img {
     filter: grayscale(100%);
     opacity: 0.8;
     transform: scale(1.08);
 }
 
 .partner-placeholder-icon {
     width: 60px;
     height: 60px;
     border-radius: 50%;
     background: linear-gradient(135deg, var(--blue-deep), var(--blue));
     color: #fff;
     display: flex;
     align-items: center;
     justify-content: center;
     font-family: 'Fraunces', serif;
     font-weight: 700;
     font-size: 1.2rem;
     letter-spacing: 0.05em;
     box-shadow: 0 4px 12px rgba(36, 81, 143, 0.25);
 }
 
 .partner-info {
     width: 100%;
 }
 
 .partner-name {
     font-size: 0.95rem;
     font-weight: 600;
     color: var(--blue-deep);
     margin-bottom: 0.2rem;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
 }
 
 .partner-role {
     display: inline-block;
     font-size: 0.75rem;
     font-weight: 600;
     color: var(--orange-deep);
     background: rgba(255, 145, 77, 0.12);
     padding: 0.15rem 0.55rem;
     border-radius: 12px;
 }
 
 .partner-slider-control {
     width: 42px;
     height: 42px;
     border-radius: 50%;
     background: var(--paper-dim);
     border: 1px solid var(--line);
     color: var(--ink);
     display: inline-flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     transition: all 0.25s ease;
     box-shadow: 0 2px 6px rgba(28, 36, 48, 0.06);
 }
 
 .partner-slider-control:hover {
     background: var(--orange);
     border-color: var(--orange);
     color: #fff;
     transform: scale(1.05);
 }
 
 .partner-slider-control:active {
     transform: scale(0.95);
 }
 
 .partner-slider-indicator {
     font-size: 0.85rem;
     color: #6b7280;
     font-weight: 500;
 }
 
 .partner-cta-link {
     display: inline-flex;
     align-items: center;
     gap: 0.4rem;
     font-size: 0.95rem;
     font-weight: 600;
     color: var(--blue-deep);
     border-bottom: 2px solid var(--orange);
     padding-bottom: 2px;
     transition: color 0.25s ease, border-color 0.25s ease;
 }
 
 .partner-cta-link:hover {
     color: var(--orange-deep);
     border-color: var(--orange-deep);
 }
 /* ---------- NEWS & ARTICLES SLIDER ---------- */
 
 .news-slider {
     background: linear-gradient(155deg, rgba(242, 240, 234, .75) 0%, rgba(255, 145, 77, .07) 50%, rgba(242, 240, 234, .75) 100%);
 }
 
 .news-slide {
     display: flex;
     flex-wrap: wrap;
     background: var(--paper);
     border: 1px solid var(--line);
     overflow: hidden;
     max-width: 920px;
     margin: 0 auto 2.5rem;
 }
 
 .news-slide-img {
     flex: 1 1 380px;
     min-height: 300px;
     background-size: cover;
     background-position: center;
     filter: saturate(1.15) contrast(1.04);
     transition: transform 6s ease;
     transform: scale(1.01);
 }
 
 .carousel-item.active .news-slide-img {
     transform: scale(1.07);
 }
 
 @media (max-width:575px) {
     .news-slide-img {
         min-height: 220px;
     }
 }
 
 .news-slide-body {
     flex: 1 1 340px;
     padding: 2.25rem;
     display: flex;
     flex-direction: column;
     justify-content: center;
 }
 
 .news-tag {
     font-size: .8rem;
     font-weight: 700;
     color: var(--orange-deep);
     margin-bottom: .6rem;
 }
 
 .news-slide-body h3 {
     font-size: 1.35rem;
     margin-bottom: .75rem;
 }
 
 .news-slide-body p {
     color: #4b5563;
     font-size: .95rem;
     margin-bottom: 1rem;
 }
 
 .news-link {
     color: var(--blue-deep);
     font-weight: 600;
     font-size: .9rem;
     display: inline-block;
     align-self: flex-start;
     transition: color .3s ease, transform .3s ease;
 }
 
 .news-link::after {
     content: " →";
     display: inline-block;
     transition: transform .3s ease;
 }
 
 .news-link:hover {
     color: var(--orange-deep);
 }
 
 .news-link:hover::after {
     transform: translateX(4px);
 }
 
 .news-slider .carousel-control-prev,
 .news-slider .carousel-control-next {
     top: 40%;
     width: 40px;
     height: 40px;
     border-radius: 50%;
     background: var(--paper);
     border: 1px solid var(--line);
     opacity: 1;
 }
 
 .news-slider .carousel-control-prev-icon,
 .news-slider .carousel-control-next-icon {
     filter: invert(1);
     width: 1rem;
     height: 1rem;
 }
 
 .news-slider .carousel-control-prev:hover,
 .news-slider .carousel-control-next:hover {
     background: var(--orange);
     border-color: var(--orange);
 }
 
 .news-slider .carousel-control-prev:hover .carousel-control-prev-icon,
 .news-slider .carousel-control-next:hover .carousel-control-next-icon {
     filter: invert(0);
 }
 
 .news-indicators {
     position: static;
     margin: 0;
     padding-top: 0;
 }
 
 .news-indicators [data-bs-target] {
     width: 8px;
     height: 8px;
     border-radius: 50%;
     background-color: var(--line);
     border: none;
     opacity: 1;
 }
 
 .news-indicators .active {
     background-color: var(--orange);
 }
 /* ---------- CTA STRIP ---------- */
 
 .cta-strip {
     background: linear-gradient(120deg, var(--ink) 0%, #263244 55%, var(--blue-deep) 130%);
     color: #fff;
 }
 
 .cta-strip .section-head {
     margin-bottom: 2rem;
 }
 
 .cta-strip .section-eyebrow {
     color: var(--orange);
 }
 
 .cta-strip h2 {
     color: #fff;
     font-size: clamp(2rem, 3.2vw, 2.65rem);
     line-height: 1.25;
 }
 
 .cta-strip .rule {
     background: var(--orange);
     opacity: 1;
 }
 
 .cta-strip p,
 .cta-strip .section-subheading {
     color: rgba(255, 255, 255, .82);
     font-size: 1.05rem;
     line-height: 1.65;
 }
 /* ---------- NEWSLETTER ---------- */
 
 .newsletter {
     background: linear-gradient(120deg, var(--orange-deep) 0%, var(--orange) 60%, #ffab6e 120%);
     color: #fff;
 }
 
 .newsletter h3 {
     color: #fff;
 }
 
 .newsletter .form-control {
     border-radius: 2px;
     border: none;
     padding: .8rem 1rem;
 }
 
 .newsletter .btn-sub {
     background: var(--ink);
     color: #fff;
     font-weight: 600;
     border-radius: 2px;
     padding: .8rem 1.6rem;
     border: none;
 }
 
 .newsletter .btn-sub:hover {
     background: #000;
 }
 /* ---------- FOOTER ---------- */
 
 footer {
     background: linear-gradient(160deg, var(--blue) 0%, #4d84cf 60%, var(--ink) 130%);
     color: rgba(255, 255, 255, .8);
 }
 
 footer h5 {
     color: #fff;
     font-family: 'Fraunces', serif;
     font-size: 1.1rem;
     margin-bottom: 1rem;
 }
 
 footer a {
     color: rgba(255, 255, 255, .65);
 }
 
 footer a:hover {
     color: var(--orange);
 }
 
 footer .footer-brand {
     font-family: 'Fraunces', serif;
     font-weight: 700;
     color: #fff;
     font-size: 1.3rem;
 }
 
 footer .footer-brand span {
     color: var(--orange);
 }
 
 footer .footer-brand img {
     height: 45px;
     max-height: 45px;
     width: auto;
     max-width: 130px;
     object-fit: contain;
     display: block;
     transition: transform .25s ease;
 }
 
 footer .footer-brand img:hover {
     transform: scale(1.03);
 }
 /* Footer Contact Items */
 
 .footer-contact-item {
     font-size: 0.9rem;
     color: rgba(255, 255, 255, 0.78);
     line-height: 1.4;
 }
 
 .footer-contact-icon {
     width: 28px;
     height: 28px;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.1);
     color: var(--orange);
     display: inline-flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
     transition: background .2s ease, transform .2s ease;
 }
 
 .footer-contact-item:hover .footer-contact-icon {
     background: rgba(255, 145, 77, 0.25);
     transform: scale(1.06);
 }
 
 .footer-contact-link {
     color: rgba(255, 255, 255, 0.85) !important;
     text-decoration: none;
     transition: color 0.2s ease;
 }
 
 .footer-contact-link:hover {
     color: #fff !important;
     text-decoration: underline;
 }
 
 .footer-bottom {
     border-top: 1px solid rgba(255, 255, 255, .1);
     color: rgba(255, 255, 255, .5);
     font-size: .85rem;
 }
 
 .social-dot {
     width: 40px;
     height: 40px;
     border: 1px solid rgba(255, 255, 255, .25);
     background: rgba(255, 255, 255, .08);
     display: inline-flex;
     align-items: center;
     justify-content: center;
     border-radius: 50%;
     margin-right: .6rem;
     color: #fff !important;
     font-size: .95rem;
     font-weight: 600;
     transition: all .25s ease;
     box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
 }
 
 .social-dot:hover {
     background: var(--orange);
     border-color: var(--orange);
     color: #fff !important;
     transform: translateY(-2px);
     box-shadow: 0 4px 12px rgba(255, 145, 77, .35);
 }
 
 .social-dot svg {
     display: block;
     fill: currentColor;
     transition: transform .2s ease;
 }
 
 .social-dot:hover svg {
     transform: scale(1.1);
 }
 /* ---------- FOOTER MAP ---------- */
 
 .footer-map-card {
     margin-top: 1rem;
     width: 100%;
     max-width: 100%;
 }
 
 .footer-map-frame {
     position: relative;
     width: 100%;
     height: 180px;
     border-radius: 10px;
     overflow: hidden;
     border: 1px solid rgba(255, 255, 255, .22);
     box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
     background: rgba(28, 36, 48, .5);
     transition: border-color .3s ease, box-shadow .3s ease;
 }
 
 .footer-map-frame:hover {
     border-color: var(--orange);
     box-shadow: 0 10px 26px rgba(0, 0, 0, .3);
 }
 
 .footer-map-frame iframe {
     width: 100%;
     height: 100%;
     border: 0;
     display: block;
 }
 
 .footer-map-meta {
     margin-top: .5rem;
     font-size: .8rem;
     display: flex;
     align-items: center;
     justify-content: space-between;
 }
 
 .footer-map-location {
     color: rgba(255, 255, 255, .7);
     display: inline-flex;
     align-items: center;
     gap: .3rem;
 }
 
 .footer-map-link {
     color: var(--orange) !important;
     font-weight: 600;
     font-size: .8rem;
     display: inline-flex;
     align-items: center;
     gap: .25rem;
     text-decoration: none;
     transition: color .2s ease, transform .2s ease;
 }
 
 .footer-map-link:hover {
     color: #fff !important;
     transform: translateX(2px);
 }
 
 @media (prefers-reduced-motion: reduce) {
     html {
         scroll-behavior: auto;
     }
 }
 /* ================================================================
     DETAIL / BLOG DETAIL PAGE
     Mirrors the structure of actionchildren.or.ke blog detail pages:
     compact breadcrumb banner -> inline cover image -> title below ->
     article body -> sidebar (recent posts, partners, quote).
     ================================================================ */
 /* --- compact breadcrumb banner (replaces the big hero) --- */
 
 .page-banner {
     background: var(--blue-deep);
     color: #fff;
     padding: 2.75rem 0 2.25rem;
     position: relative;
     overflow: hidden;
 }
 
 .page-banner::after {
     content: "";
     position: absolute;
     right: -60px;
     top: -60px;
     width: 240px;
     height: 240px;
     border-radius: 50%;
     background: rgba(255, 145, 77, .14);
 }
 
 .page-banner h1 {
     color: #fff;
     font-size: clamp(1.7rem, 3.2vw, 2.4rem);
     margin: 0 0 .5rem;
     position: relative;
     z-index: 2;
 }
 
 .breadcrumb-custom {
     font-size: .85rem;
     color: rgba(255, 255, 255, .72);
     position: relative;
     z-index: 2;
 }
 
 .breadcrumb-custom a {
     color: rgba(255, 255, 255, .9);
 }
 
 .breadcrumb-custom a:hover {
     color: var(--orange);
 }
 
 .breadcrumb-custom .sep {
     margin: 0 .45rem;
     color: rgba(255, 255, 255, .4);
 }
 /* --- article --- */
 
 .article-wrap {
     padding: 3.5rem 0 4.5rem;
 }
 
 @media (max-width:767px) {
     .article-wrap {
         padding: 2.25rem 0 3rem;
     }
 }
 
 .article-cover {
     width: 100%;
     height: 420px;
     object-fit: cover;
     display: block;
     margin-bottom: 1.75rem;
 }
 
 @media (max-width:991px) {
     .article-cover {
         height: 320px;
     }
 }
 
 @media (max-width:575px) {
     .article-cover {
         height: 210px;
     }
 }
 
 .article-title {
     font-size: clamp(1.55rem, 2.9vw, 2.1rem);
     line-height: 1.25;
     margin-bottom: .85rem;
 }
 
 .article-meta {
     font-size: .82rem;
     font-weight: 700;
     color: var(--orange-deep);
     text-transform: uppercase;
     letter-spacing: .04em;
     margin-bottom: 1.5rem;
     padding-bottom: 1.1rem;
     border-bottom: 1px solid var(--line);
 }
 
 .detail-body>p {
     color: #4b5563;
     margin-bottom: 1.3rem;
     font-size: 1.03rem;
     line-height: 1.8;
 }
 
 .detail-body h2 {
     font-size: 1.3rem;
     margin: 2.25rem 0 .9rem;
     color: var(--blue-deep);
 }
 
 .detail-body h2:first-child {
     margin-top: 0;
 }
 
 .detail-body strong {
     color: var(--ink);
 }
 
 .detail-list {
     list-style: none;
     padding: 0;
     margin: 0 0 1.6rem;
 }
 
 .detail-list li {
     position: relative;
     padding-left: 1.7rem;
     margin-bottom: .8rem;
     color: #4b5563;
     line-height: 1.7;
 }
 
 .detail-list li::before {
     content: "";
     position: absolute;
     left: 0;
     top: .55rem;
     width: 8px;
     height: 8px;
     background: var(--orange);
     border-radius: 50%;
 }
 
 .detail-image {
     width: 100%;
     height: 340px;
     object-fit: cover;
     margin: 1.75rem 0;
 }
 
 @media (max-width:575px) {
     .detail-image {
         height: 200px;
     }
 }
 
 .pull-quote {
     border-left: 3px solid var(--orange);
     background: var(--paper-dim);
     padding: 1.6rem 1.85rem;
     margin: 2rem 0;
     font-family: 'Fraunces', serif;
     font-style: italic;
     font-size: 1.22rem;
     color: var(--blue-deep);
     line-height: 1.55;
 }
 
 @media (max-width:575px) {
     .pull-quote {
         padding: 1.25rem 1.15rem;
         font-size: 1.08rem;
     }
 }
 /* inline donate line, like the italic "Donate $20 today" call-outs */
 
 .donate-line {
     background: rgba(255, 145, 77, .10);
     border: 1px dashed rgba(255, 145, 77, .55);
     padding: 1rem 1.25rem;
     margin: 1.75rem 0;
     font-style: italic;
     color: var(--ink);
     font-size: .98rem;
 }
 
 .donate-line a {
     color: var(--orange-deep);
     font-weight: 700;
 }
 
 .donate-line a:hover {
     text-decoration: underline;
 }
 
 .article-byline {
     margin-top: 2rem;
     padding-top: 1.25rem;
     border-top: 1px solid var(--line);
     font-size: .9rem;
     font-style: italic;
     color: #6b7480;
 }
 
 .share-row {
     display: flex;
     align-items: center;
     flex-wrap: wrap;
     gap: .55rem;
     margin-top: 1.5rem;
 }
 
 .share-row span {
     font-size: .85rem;
     color: #5b6472;
     font-weight: 600;
     margin-right: .3rem;
 }
 
 .share-row .social-dot {
     border-color: var(--line);
     color: var(--blue-deep) !important;
     transition: background .25s ease, border-color .25s ease, color .25s ease;
 }
 
 .share-row .social-dot:hover {
     background: var(--orange);
     border-color: var(--orange);
     color: #fff !important;
 }
 /* --- sidebar --- */
 
 .detail-sidebar {
     display: flex;
     flex-direction: column;
 }
 
 @media (min-width:992px) {
     .detail-sidebar {
         position: sticky;
         top: 96px;
         align-self: flex-start;
         max-height: calc(100vh - 116px);
         overflow-y: auto;
         scrollbar-width: thin;
     }
 }
 
 @media (max-width:991px) {
     .detail-sidebar {
         margin-top: 2rem;
     }
 }
 
 .sidebar-widget {
     background: var(--paper);
     border: 1px solid var(--line);
     padding: 1.5rem;
     margin-bottom: 1.5rem;
 }
 
 .sidebar-widget h5 {
     font-family: 'Fraunces', serif;
     color: var(--blue-deep);
     font-size: 1.05rem;
     margin: 0 0 1.15rem;
     padding-bottom: .7rem;
     border-bottom: 2px solid var(--orange);
     display: inline-block;
 }
 /* recent posts: thumbnail + title rows */
 
 .recent-post {
     display: flex;
     gap: .85rem;
     align-items: flex-start;
     padding: .8rem 0;
     border-bottom: 1px solid var(--line);
 }
 
 .recent-post:last-child {
     border-bottom: none;
     padding-bottom: 0;
 }
 
 .recent-post:first-of-type {
     padding-top: 0;
 }
 
 .recent-post img {
     width: 72px;
     height: 58px;
     object-fit: cover;
     flex: 0 0 auto;
 }
 
 .recent-post .rp-title {
     font-size: .88rem;
     font-weight: 600;
     color: var(--ink);
     line-height: 1.4;
     transition: color .25s ease;
 }
 
 .recent-post:hover .rp-title {
     color: var(--orange-deep);
 }
 
 .recent-post .rp-date {
     display: block;
     font-size: .75rem;
     color: #8a92a0;
     margin-top: .25rem;
 }
 
 .recent-post.active .rp-title {
     color: var(--blue-deep);
     font-weight: 700;
 }
 /* partner list */
 
 .partner-list {
     list-style: none;
     padding: 0;
     margin: 0;
 }
 
 .partner-list li {
     border-bottom: 1px solid var(--line);
 }
 
 .partner-list li:last-child {
     border-bottom: none;
 }
 
 .partner-list a {
     display: block;
     padding: .65rem .2rem;
     font-size: .9rem;
     color: var(--ink);
     font-weight: 500;
     transition: color .25s ease, padding-left .25s ease;
 }
 
 .partner-list a:hover {
     color: var(--orange-deep);
     padding-left: .35rem;
 }
 /* quote of the day widget */
 
 .quote-widget {
     background: var(--blue);
     border: none;
     color: #fff;
 }
 
 .quote-widget h5 {
     color: #fff;
     border-bottom-color: rgba(255, 255, 255, .5);
 }
 
 .quote-widget p {
     font-family: 'Fraunces', serif;
     font-style: italic;
     font-size: 1.05rem;
     line-height: 1.55;
     margin-bottom: .75rem;
     color: rgba(255, 255, 255, .95);
 }
 
 .quote-widget .q-author {
     font-size: .82rem;
     color: rgba(255, 255, 255, .75);
     font-style: normal;
 }
 /* sidebar CTA */
 
 .sidebar-cta {
     background: var(--ink);
     color: #fff;
     padding: 1.75rem 1.5rem;
     text-align: center;
 }
 
 .sidebar-cta h5 {
     color: #fff;
     font-family: 'Fraunces', serif;
     font-size: 1.1rem;
     border: none;
     display: block;
     margin-bottom: .6rem;
     padding: 0;
 }
 
 .sidebar-cta p {
     font-size: .9rem;
     color: rgba(255, 255, 255, .75);
     margin-bottom: 1.15rem;
 }
/* Video thumbnail with play button (iframe loads on click) */
.video-thumb {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.video-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.video-thumb:hover img {
    transform: scale(1.03);
}

.video-thumb .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(28, 36, 48, .75);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    transition: background .3s ease, transform .3s ease;
    z-index: 2;
}

.video-thumb:hover .play-btn,
.video-thumb:focus-visible .play-btn {
    background: rgba(28, 36, 48, .95);
    transform: translate(-50%, -50%) scale(1.08);
}

/* ================================================================
   ENQUIRY PAGES (contact, volunteer, partner with us)
   ================================================================ */

.enquiry-wrap {
    padding: 3.5rem 0 4.5rem;
}

@media (max-width: 767px) {
    .enquiry-wrap {
        padding: 2.25rem 0 3rem;
    }
}

.enquiry-intro {
    color: #4b5563;
    line-height: 1.75;
}

.enquiry-details {
    display: grid;
    gap: 1rem;
    margin-top: 1.75rem;
}

.enquiry-detail {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
}

.enquiry-detail-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(56, 113, 193, .1);
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.enquiry-detail-label {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--orange-deep);
}

.enquiry-detail-value {
    display: block;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.5;
}

a.enquiry-detail-value:hover {
    color: var(--blue);
}

.enquiry-points {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 0;
}

.enquiry-points li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: .85rem;
    color: #4b5563;
    line-height: 1.6;
}

.enquiry-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .5rem;
    width: .6rem;
    height: .6rem;
    border-radius: 50%;
    background: var(--orange);
}

.enquiry-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 18px 40px rgba(28, 36, 48, .07);
}

@media (max-width: 575px) {
    .enquiry-card {
        padding: 1.35rem;
    }
}

.enquiry-card-sub {
    font-size: .85rem;
    color: #6b7280;
}

.enquiry-form .form-label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: .35rem;
}

.enquiry-form .form-control {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .7rem .9rem;
    font-size: .95rem;
    background: #fff;
    color: var(--ink);
}

.enquiry-form .form-control:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 .2rem rgba(255, 145, 77, .18);
}

.enquiry-form .form-control.is-invalid {
    border-color: #dc3545;
}

.enquiry-alert {
    border-radius: 8px;
    font-size: .92rem;
}

/* ================================================================
   PARTNERS DIRECTORY PAGE
   ================================================================ */

.partners-grid .partner-grid-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
}

.partners-grid .partner-grid-link:focus-visible {
    outline: 3px solid rgba(255, 145, 77, .55);
    outline-offset: 4px;
}

.partners-grid .partner-card {
    min-height: 300px;
    padding: 2rem 1.5rem 1.6rem;
    justify-content: flex-start;
    align-items: stretch;
}

.partners-grid .partner-logo-box {
    height: 90px;
    margin-bottom: 1.1rem;
}

.partners-grid .partner-logo-box img {
    max-height: 80px;
    max-width: 170px;
}

.partners-grid .partner-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
}

.partners-grid .partner-name {
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    margin-bottom: .45rem;
}

.partners-grid .partner-role {
    margin-bottom: .35rem;
}

.partner-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: .86rem;
    line-height: 1.6;
    color: #6b7280;
    margin: .75rem 0 0;
}

.partner-visit {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: auto;
    padding-top: 1.15rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--orange-deep);
    transition: gap .2s ease, color .2s ease;
}

.partner-visit svg {
    transition: transform .2s ease;
}

.partners-grid .partner-card:hover .partner-visit {
    gap: .55rem;
    color: var(--blue-deep);
}

.partners-grid .partner-card:hover .partner-visit svg {
    transform: translate(2px, -2px);
}

.partners-page-cta {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    box-shadow: 0 12px 30px rgba(28, 36, 48, .06);
}

.partners-page-cta h3 {
    font-size: 1.35rem;
}

.partners-page-cta p {
    color: #6b7280;
}

/* ================================================================
   DONATION PAGE
   ================================================================ */

.donation-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(28, 36, 48, .05);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.donation-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 145, 77, .55);
    box-shadow: 0 20px 44px rgba(28, 36, 48, .12);
}

.donation-card-featured {
    border-color: rgba(255, 145, 77, .45);
    box-shadow: 0 16px 34px rgba(255, 145, 77, .12);
}

.donation-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin-bottom: 1.1rem;
}

.donation-icon-paypal {
    background: #eef3ff;
    color: #1b4fa8;
}

.donation-icon-mpesa {
    background: #e8f7ef;
    color: #0b8f4d;
}

.donation-icon-bank {
    background: #fff3e8;
    color: var(--orange-deep);
}

.donation-card h3 {
    font-size: 1.25rem;
    margin-bottom: .5rem;
}

.donation-copy {
    flex: 1;
    font-size: .94rem;
    line-height: 1.7;
    color: #5b6472;
    margin-bottom: 1rem;
}

.donation-number {
    padding: .85rem 1rem;
    margin-bottom: 1rem;
    text-align: center;
    background: var(--paper-dim);
    border: 1px dashed rgba(28, 36, 48, .18);
    border-radius: 12px;
}

.donation-number-label {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #6b7280;
}

.donation-number strong {
    font-family: 'Fraunces', serif;
    font-size: 1.9rem;
    letter-spacing: .06em;
    color: var(--blue-deep);
    line-height: 1.2;
}

.donation-steps {
    font-size: .85rem;
    line-height: 1.6;
    color: #5b6472;
    padding-left: 1.15rem;
    margin-bottom: 1.25rem;
}

.donation-steps li {
    margin-bottom: .3rem;
}

.donation-actions {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-top: auto;
}

.donation-note {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    color: #6b7280;
}

.donation-note a {
    color: var(--blue-deep);
    font-weight: 600;
}

.donation-note a:hover {
    color: var(--orange-deep);
}

/* ================================================================
   DETAIL PAGE IMAGE GALLERY SLIDER
   ================================================================ */

.detail-gallery-carousel {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(28, 36, 48, 0.08);
    border: 1px solid var(--line);
}

.detail-gallery-slide {
    position: relative;
    width: 100%;
    height: 320px;
    background: var(--paper-dim);
}

@media (min-width: 768px) {
    .detail-gallery-slide {
        height: 420px;
    }
}

@media (min-width: 992px) {
    .detail-gallery-slide {
        height: 480px;
    }
}

.detail-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0) 0%, rgba(17, 24, 39, 0.9) 100%);
    color: #fff;
    font-size: 0.95rem;
}

.detail-gallery-indicators {
    margin-bottom: 0.85rem;
}

.detail-gallery-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.detail-gallery-carousel .carousel-control-prev,
.detail-gallery-carousel .carousel-control-next {
    width: 52px;
}

.detail-gallery-carousel .carousel-control-prev-icon,
.detail-gallery-carousel .carousel-control-next-icon {
    width: 2.25rem;
    height: 2.25rem;
    background-size: 55% 55%;
    border-radius: 50%;
    background-color: rgba(17, 24, 39, 0.45);
    backdrop-filter: blur(4px);
}

/* ================================================================
   OUR TEAM PAGE
   ================================================================ */

.team-section {
    background: radial-gradient(circle at top, rgba(255, 255, 255, 1) 0%, var(--paper-dim) 100%);
}

.team-grid {
    margin-top: 2rem;
}

.team-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(28, 36, 48, 0.08);
    box-shadow: 0 18px 40px rgba(28, 36, 48, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 145, 77, 0.6);
    box-shadow: 0 26px 54px rgba(28, 36, 48, 0.16);
}

.team-card-media {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.team-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.45s ease;
}

.team-card:hover .team-card-media img {
    transform: scale(1.06);
}

.team-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0) 40%, rgba(17, 24, 39, 0.9) 100%);
}

.team-card-body {
    position: relative;
    margin-top: -70px;
    padding: 0 1.8rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    z-index: 2;
}

.team-card-name {
    font-family: "Fraunces", serif;
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0;
}

.team-card-role {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 145, 77, 0.95) 0%, rgba(255, 111, 44, 0.95) 100%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.team-card-bio {
    color: #5b6472;
    font-size: 0.94rem;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.team-card:hover .team-card-bio {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.team-empty {
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #fff;
    color: #6b7280;
    box-shadow: 0 12px 30px rgba(28, 36, 48, 0.06);
}

@media (max-width: 767.98px) {
    .team-card-media {
        height: 280px;
    }

    .team-card-body {
        padding: 0 1.4rem 1.8rem;
    }
}

/* ================================================================
   ABOUT US PAGE
   ================================================================ */

.about-page {
    background: #fff;
}

.about-hero-media {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 26px 56px rgba(28, 36, 48, 0.14);
}

.about-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
}

.about-hero-media-offset {
    transform: translateY(12px);
}

.about-mv-grid {
    margin-top: 2rem;
}

.about-mv-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 2rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 16px 36px rgba(28, 36, 48, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-mv-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 145, 77, 0.6);
    box-shadow: 0 24px 48px rgba(28, 36, 48, 0.14);
}

.about-mv-card-accent {
    border-color: rgba(255, 145, 77, 0.45);
    box-shadow: 0 18px 40px rgba(255, 145, 77, 0.12);
}

.about-mv-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.16) 0%, rgba(29, 78, 216, 0.12) 100%);
    color: var(--orange-deep);
}

.about-mv-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.about-mv-card p {
    color: #5b6472;
    line-height: 1.8;
    margin-bottom: 0;
}

.about-values-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin: 0;
    padding-left: 1.2rem;
    color: #5b6472;
    line-height: 1.7;
}

.about-values-list li::marker {
    color: var(--orange-deep);
}

.about-values-list strong {
    color: var(--ink);
}

.about-approach-list {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-top: 1.8rem;
}

.about-approach-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-approach-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 0.4rem;
    background: radial-gradient(circle, var(--orange) 0%, var(--orange-deep) 100%);
    box-shadow: 0 0 0 10px rgba(255, 145, 77, 0.12);
}

.about-approach-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.about-approach-item p {
    color: #5b6472;
    margin-bottom: 0;
    line-height: 1.7;
}

.about-text-card {
    padding: 2.4rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 38px rgba(28, 36, 48, 0.08);
    text-align: center;
}

.about-text-card p {
    color: #5b6472;
    line-height: 1.9;
    font-size: 1rem;
}

.about-text-card p:last-child {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .about-hero-media-offset {
        transform: none;
    }

    .about-text-card {
        padding: 1.8rem;
    }
}
