/* ============================================================
   Office of Financial Assistance - page-specific styles only.
   Add this file after the existing site styles.
   ============================================================ */
:root {
    --fa-maroon: #7f1519;
    --fa-maroon-dark: #7f1519;
    --fa-charcoal: #211f20;
    --fa-green: #23933c;
    --fa-light: #f7f5f5;
}

.page-financial-assistance #header { margin-bottom: 0; }
.page-financial-assistance #fa-office-page { overflow: hidden; background: #fff; color: #262425; }
.page-financial-assistance #fa-office-page h1,
.page-financial-assistance #fa-office-page h2,
.page-financial-assistance #fa-office-page h3 { font-family: "Poppins", sans-serif; }

/* HERO */
#fa-hero { padding-bottom: 58px; border-bottom: 9px solid var(--fa-charcoal); }
.fa-hero-media { position: relative; overflow: hidden;}
.fa-hero-media > img { display: block; width: 100%; object-fit: cover; object-position: center 55%;}
.fa-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.20) 52%, rgba(0,0,0,.50)); }
.fa-hero-caption { position: absolute; left: 50%; bottom: 62px; transform: translateX(-50%); color: #fff; z-index: 2; }
.fa-hero-caption h1 { margin: 0 0 7px; font-size: clamp(29px, 3.2vw, 52px); line-height: 1.06; font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,.38); }
.fa-hero-caption p { margin: 0; font-size: clamp(13px, 1.2vw, 18px); font-weight: 500; }
.fa-intro-box { position: relative; z-index: 3; max-width: 1000px; margin: -34px auto 0; padding: 24px 38px; background: var(--fa-maroon); color: #fff; box-shadow: 0 5px 14px rgba(0,0,0,.18); text-align: center; }
.fa-intro-box p { margin: 0 0 8px; font-size: 14px; line-height: 1.55; }
.fa-intro-box p:last-child { margin-bottom: 0; }

/* FINANCIAL SUPPORT STATS */
#fa-support-stats { border-bottom: 8px solid var(--fa-charcoal);
    background-image: url(../images-2026/bg-facilities.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.fa-stats-heading { padding: 28px 0 22px; background: var(--fa-maroon); color: #fff; }
.fa-stats-heading h2 { margin: 0; font-size: clamp(28px, 3vw, 45px); font-weight: 700; }
.fa-stats-heading p { margin: 0; font-size: 25px; font-weight: bold; }
.fa-stats-body { position: relative; padding: 38px 0 42px; }
.fa-stats-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5,1fr); gap: 22px; }
.fa-stat-item { text-align: center; }
.fa-stat-item > i { display: block; min-height: 62px; color: var(--fa-maroon); font-size: 54px; line-height: 1; }
.fa-stat-item strong { display: block; margin-top: 6px; color: #111; font-size: 35px; font-weight: 800; }
.fa-stat-item span { display: block; color: #111; font-size: 35px; font-weight: 700; }
.fa-stat-item small { display: block; margin: 5px auto 0; max-width: 150px; color: #000; font-size: 15px; line-height: 1.25; font-weight: bold; }

/* COMMON HEADING */
.fa-section-heading { margin-bottom: 30px; }
.fa-section-heading h2 { margin: 0; color: var(--fa-maroon); font-size: clamp(30px, 3vw, 46px); font-weight: 700; letter-spacing: .02em; }
.fa-section-heading p { margin: 0; font-weight: bold; }

/* PROGRAMS */
#fa-programs { padding: 58px 0 66px; border-bottom: 8px solid; border-image: linear-gradient(90deg,#2ca248 0%,#2ca248 42%,#16331f 72%,#1e1e1e 100%) 1; }
.fa-program-card { position: relative; height: 100%; overflow: hidden; background: #171717; }
.fa-program-card > img { display: block; width: 100%; height: 235px; object-fit: cover; }
.fa-program-card-footer { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; background: #1d1c1c; color: #fff; }
.fa-program-card-footer h3 { margin: 0 0 3px; color: #fff; font-size: 14px; font-weight: 700; }
.fa-program-card-footer p { margin: 0; font-size: 13px; line-height: 1.25; }
.fa-program-card-footer > a,
.fa-overlay-link { flex: 0 0 auto; padding: 6px 9px; background: #fff5e9; color: #111; text-decoration: none; font-size: 13px; font-weight: 700; }
.fa-program-card-image-only > img { height: 100%; min-height: 311px; object-fit: cover; }
.fa-overlay-link { position: absolute; left: 50%; bottom: 17px; transform: translateX(-50%); }
.fa-action-stack { display: flex; height: 100%; flex-direction: column; gap: 10px; }
.fa-action-card { display: grid; flex: 1; grid-template-columns: 120px 1fr; gap: 22px; align-items: center; min-height: 180px; padding: 25px 30px; background: var(--fa-maroon); color: #fff; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.fa-action-card:hover { color: #fff; background: var(--fa-maroon-dark); transform: translateY(-2px); }
.fa-action-card.compact { min-height: 138px; }
.fa-action-card > i { font-size: 84px; line-height: 1; text-align: center; }
.fa-action-card h3 { margin: 0 0 8px; color: #fff; font-size: clamp(22px, 2vw, 34px); line-height: 1.08; font-weight: 700; }
.fa-action-card p { margin: 0 0 12px; font-size: 14px; line-height: 1.45; }
.fa-action-card strong { font-size: 13px; }

/* EXISTING SLIDER: no layout rules are changed here. Only Financial Assistance caption styling. */
.page-financial-assistance #future-ready { border-bottom: 8px solid; border-image: linear-gradient(90deg,#2ca248 0%,#2ca248 42%,#16331f 72%,#1e1e1e 100%) 1; }
.page-financial-assistance #future-ready .section-title { color: var(--fa-maroon); font-weight: 700; letter-spacing: .04em; }
.page-financial-assistance #future-ready .section-text { max-width: 1080px; margin-left: auto; margin-right: auto; }

/* SUCCESS STORIES */
#fa-success-stories { position: relative; padding: 62px 0 72px; border-bottom: 8px solid var(--fa-charcoal); background: #fff; }
#fa-success-stories::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; opacity: .055; background: repeating-linear-gradient(25deg,#333 0 1px,transparent 1px 34px); pointer-events: none; }
#fa-success-stories .container { position: relative; z-index: 1; }
.fa-story-card { height: 100%; overflow: hidden; border-radius: 10px 10px 32px 0; background: #fff; box-shadow: 0 1px 0 #eee; border-bottom: 6px solid #2d9038; position: relative; }
.fa-story-card::after{
    position: absolute;
    border: 2px solid #2d9038;
    bottom: 0;
    left: 0;
    height: 80px;
    z-index: 1;
}
.fa-story-card > img { display: block; width: 100%; height: 210px; object-fit: cover; object-position: center top; }
.fa-story-copy { position: relative; min-height: 285px; padding: 34px 18px 20px; }
.fa-quote { position: absolute; top: -30px; left: 25px; display: grid; width: 62px; height: 55px; place-items: center; border-radius: 6px; background: linear-gradient(90deg,#27a33a,#1d5d24); color: #fff; font-size: 46px; line-height: 1; font-weight: 700; }
.fa-story-copy h3 { margin: 0 0 5px; color: var(--fa-maroon); font-size: 14px; font-weight: 800; }
.fa-story-copy h4 { margin: 0 0 11px; color: #111; font-size: 12px; font-weight: bold; }
.fa-story-copy p { margin: 0; color: #272727; font-size: 14px; line-height: 1.35; text-align: justify; }

/* FAQ - preserve existing accordion behaviour; visual adjustments for this page only */
.page-financial-assistance #faq-ossie { border-bottom: 6px solid var(--fa-maroon); }
.page-financial-assistance #faq-ossie .faq-header { background: var(--fa-charcoal); }
.page-financial-assistance #faq-ossie .faq-header h2 { text-transform: uppercase; }
.page-financial-assistance #faq-ossie .faq-image { max-width: 240px; max-height: 310px; object-fit: contain; }
.page-financial-assistance #faq-ossie .faq-left h3 { color: var(--fa-maroon); }
.page-financial-assistance #faq-ossie .faq-item.active .faq-question { background: var(--fa-maroon); }

/* OUR PARTNERS - responsive Bootstrap logo carousel */
#fa-partners { padding: 62px 0 0; background: #fff; border-bottom: 16px solid var(--fa-maroon); }
#fa-partners .fa-section-heading { margin-bottom: 42px; }
#fa-partners .fa-section-heading p { max-width: 1180px; margin: 7px auto 0; font-size: clamp(15px, 1.2vw, 20px); line-height: 1.45; font-weight: 500; color: #262425; }
.fa-partners-band { position: relative; background: #1a1a1a; padding: clamp(14px, 1.6vw, 26px) 0; overflow: hidden; }
.fa-partners-row { display: flex; align-items: stretch; justify-content: center; padding: 0px 50px;}
.fa-partner { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 4px clamp(6px, 1vw, 20px); }
.fa-partner + .fa-partner { border-left: 1px solid rgba(255,255,255,.32); }
.fa-partner img { display: block; width: 100%; height: auto; max-height: clamp(140px, 17vw, 300px); object-fit: contain; /*filter: brightness(0) invert(1);
    transition: filter 0.3s ease;*/ }
.fa-partners-band .carousel-control-prev,
.fa-partners-band .carousel-control-next { width: 54px; opacity: .65; transition: opacity .2s ease; }
.fa-partners-band .carousel-control-prev:hover,
.fa-partners-band .carousel-control-next:hover { opacity: 1; }
.fa-partners-band .fa-single-slide .carousel-control-prev,
.fa-partners-band .fa-single-slide .carousel-control-next { display: none; }

@media (max-width: 991px) {
    #fa-partners { padding-top: 48px; }
    #fa-partners .fa-section-heading { margin-bottom: 32px; }
}
@media (max-width: 575px) {
    #fa-partners { padding-top: 38px; border-bottom-width: 12px; }
    #fa-partners .fa-section-heading { margin-bottom: 26px; }
    .fa-partners-band { padding: 16px 0; }
    .fa-partner { padding: 4px 44px 4px 12px; }
    .fa-partner + .fa-partner { border-left: 0; }
    .fa-partner img { max-height: 155px; }
    .fa-partners-band .carousel-control-prev,
    .fa-partners-band .carousel-control-next { width: 44px; }
}

@media (max-width: 1199px) {
    .fa-action-card { grid-template-columns: 90px 1fr; padding: 22px; }
    .fa-action-card > i { font-size: 67px; }
    .fa-story-card > img { height: 250px; }
}
@media (max-width: 991px) {
    .fa-hero-media, .fa-hero-media > img { min-height: 360px; height: 360px; }
    .fa-stats-grid { grid-template-columns: repeat(3,1fr); row-gap: 35px; }
    .fa-action-stack { margin-top: 10px;min-height: 1200px; }
	.fa-action-card {gap: 63px;}
}
@media (max-width: 767px) {
    #fa-hero { padding-bottom: 35px; }
    .fa-hero-media, .fa-hero-media > img { min-height: 300px; height: 300px; }
    .fa-hero-caption { bottom: 40px; }
    .fa-intro-box { margin-top: -15px; padding: 20px; }
    .fa-stats-grid { grid-template-columns: repeat(2,1fr); }
    .fa-program-card > img { height: 260px; }
    .fa-program-card-image-only > img { min-height: 340px; }
    .fa-action-card { grid-template-columns: 70px 1fr; }
    .fa-action-card > i { font-size: 54px; }
}
@media (max-width: 575px) {
    .fa-stats-grid { grid-template-columns: 1fr; }
    .fa-stat-item { padding: 6px 0 15px; border-bottom: 1px solid #ddd; }
    .fa-action-card { grid-template-columns: 1fr; text-align: center; }
    .fa-action-card p { text-align: left; }
    .fa-story-card > img { height: auto; }
}

/* SUCCESS STORIES - photo removed (cards match design screenshot) */
#fa-success-stories .fa-story-card { background: var(--fa-light); }
#fa-success-stories .fa-story-card > img { display: none; }
#fa-success-stories .fa-story-card::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 90px;
    width: 46%;
    height: 9px;
    background: var(--fa-maroon);
    z-index: 2;
}
#fa-success-stories .fa-story-card::after { top: 0; height: auto; border: 0; border-left: 4px solid #2d9038; }
#fa-success-stories .fa-quote { top: 20px; left: 22px; }
#fa-success-stories .fa-story-copy { min-height: 0; padding: 92px 20px 26px; }
#fa-success-stories .fa-story-copy p { font-size: 13.5px; }

/* FAQ - contact e-mail line + View All button */
.page-financial-assistance #faq-ossie .faq-email {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 26px;
    color: #262425;
    font-size: clamp(17px, 1.5vw, 25px);
    font-weight: 500;
    text-decoration: none;
}
.page-financial-assistance #faq-ossie .faq-email:hover { color: var(--fa-maroon); }
.page-financial-assistance #faq-ossie .faq-email-icon {
    display: grid;
    flex: 0 0 auto;
    width: 38px;
    height: 34px;
    place-items: center;
    background: var(--fa-maroon);
    color: #fff;
    font-size: 17px;
    border-radius: 3px;
}
.page-financial-assistance #faq-ossie .faq-view-all { display: flex; justify-content: flex-end; margin-top: 24px; }
.page-financial-assistance #faq-ossie .faq-view-all a {
    padding: 11px 20px;
    background: var(--fa-maroon);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: background .2s ease;
}
.page-financial-assistance #faq-ossie .faq-view-all a:hover { background: #641013; color: #fff; }

@media (max-width: 991px) {
    .page-financial-assistance #faq-ossie .faq-email { margin-top: 8px; }
    #fa-success-stories .fa-story-copy { padding-top: 88px; }
}
@media (max-width: 575px) {
    #fa-success-stories .fa-story-copy { padding: 86px 16px 22px; }
    .page-financial-assistance #faq-ossie .faq-view-all a { width: 100%; text-align: center; }
}
