/* Minimal overrides on top of Bootstrap 5 */
:root {
  --bs-primary: #0b2747;
  --bs-primary-rgb: 11, 39, 71;
  --bs-body-color: #16202e;
  --bs-secondary-color: #5b6677;
  --bs-body-font-family: 'Poppins', sans-serif;
  --primary: #0b2747;
  --primary-dark: #071a31;
  --accent: #c8962e;
  --accent-soft: #fbf3e2;
  --gold: #eeb745;
  --surface-muted: #f4f6fa;
  --border: #e2e7ef;
  --text: #16202e;
  --text-muted: #5b6677;
  --on-primary-muted: #b9c6d8;
}

body { color: var(--text); }
.text-muted-ich { color: var(--text-muted); }
.bg-surface-muted { background: var(--surface-muted); }
.text-accent { color: var(--accent); }
.bg-accent-soft { background: var(--accent-soft); }
.bg-accent { background: var(--accent); }

/* Buttons */
.btn-ich { display: inline-flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 10px; font-size: 15px; font-weight: 600; line-height: normal; text-decoration: none; border: 1.5px solid var(--primary); }
.btn-ich-solid { background: var(--primary); color: #fff; }
.btn-ich-solid:hover { background: var(--primary-dark); color: #fff; }
.btn-ich-solid small { font-size: 13px; font-weight: 400; color: #d5d5d5; }
.btn-ich-outline { background: transparent; color: var(--primary); }
.btn-ich-outline:hover { background: var(--primary); color: #fff; }
.btn-ich-outline:hover img { filter: invert(1); }
.btn-ich-link { border: 0; padding-left: 0; padding-right: 0; color: var(--primary); }
.btn-ich-link:hover { text-decoration: underline; }

/* 00 Page header + banner */
.site-header { aspect-ratio: 1440 / 194; overflow: hidden; background: #fff; }
.site-header img { display: block; width: 100%; height: auto; }
.page-banner { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 182px; padding: 0 80px; background: #071a31 url('assets/img/banner.png') center / cover no-repeat; color: #fff; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(6, 23, 44, .62); }
.page-banner > * { position: relative; }
.page-banner h1 { font-size: 36px; line-height: 48px; font-weight: 600; margin: 0; }
.page-banner .crumbs { font-size: 13px; line-height: 20px; color: var(--on-primary-muted); margin: 0; }

/* 01 Overview */
.overview { padding: 80px 0 72px; }
.overview h1 { font-size: 38px; line-height: 52px; font-weight: 600; color: var(--primary); }
.overview p.lead-p { font-size: 16px; line-height: 30px; color: var(--text-muted); margin: 0; }
.overview-intro { display: flex; flex-direction: column; gap: 20px; }
.highlight { display: flex; align-items: center; gap: 24px; padding: 22px 28px; background: #fdeece; border: 1px solid #f4cb76; border-radius: 12px; color: var(--primary); }
.highlight .up-to { font-size: 13px; font-weight: 600; margin: 0; }
.highlight .amount { font-size: 44px; line-height: 52px; font-weight: 700; letter-spacing: -.44px; margin: 0; white-space: nowrap; }
.highlight .divider { width: 1px; height: 56px; background: rgba(11, 39, 71, .25); flex-shrink: 0; }
.highlight h2 { font-size: 16px; line-height: 24px; font-weight: 600; margin: 0 0 4px; }
.highlight p { font-size: 14px; line-height: 21px; margin: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }

.glance { background: var(--primary); color: #fff; border-radius: 20px; padding: 32px 32px 12px; width: 440px; max-width: 100%; flex-shrink: 0; }
.glance h2 { font-size: 20px; line-height: 28px; font-weight: 600; margin: 0; }
.glance .bar { width: 40px; height: 3px; border-radius: 2px; background: var(--accent); margin: 0 0 12px; }
.fact { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.fact:last-child { border-bottom: 0; }
.fact .tile { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fact .label { font-size: 13px; line-height: 16px; font-weight: 600; color: var(--on-primary-muted); margin-bottom: 4px; }
.fact .value { font-size: 15px; line-height: 22px; font-weight: 500; }

/* 02 Objectives */
.objectives { background: var(--surface-muted); padding: 80px 0; }
.section-title { font-size: 34px; line-height: 44px; font-weight: 600; color: var(--text); }
.objectives .sub { max-width: 798px; font-size: 16px; line-height: 26px; color: var(--text-muted); }
.benefit { height: 100%; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px; box-shadow: 0 6px 9px rgba(10, 26, 51, .06); }
.benefit .tile { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.benefit h3 { font-size: 18px; line-height: 26px; font-weight: 600; margin: 0 0 16px; }
.benefit p { font-size: 15px; line-height: 25px; color: var(--text-muted); margin: 0; }

/* 03 When to apply */
.when { padding: 80px 0 40px; }
.when .intro { font-size: 15px; line-height: 25px; color: var(--text-muted); margin: 0; }
.step { position: relative; height: 100%; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; overflow: hidden; }
.step .top { display: flex; align-items: center; min-height: 44px; margin-bottom: 14px; }
.step .num { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.step .bg-icon { position: absolute; right: 28px; top: 14px; width: 108px; height: 108px; pointer-events: none; }
.step .kicker { font-size: 13px; font-weight: 600; color: var(--text-muted); margin: 0 0 14px; }
.step h3 { font-size: 18px; line-height: 26px; font-weight: 600; margin: 0 0 14px; }
.step p.desc { font-size: 14px; line-height: 22px; color: var(--text-muted); margin: 0; }
.step.note { background: var(--accent-soft); border-color: var(--gold); }
.step.note .num { background: var(--gold); }

/* 04 Eligible festivals */
.festivals { background: var(--primary-dark); color: #fff; padding: 96px 0; }
.festivals .head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.festivals .head h2 { font-size: 40px; line-height: 52px; font-weight: 600; margin: 0 0 16px; }
.festivals .head p { font-size: 16px; line-height: 26px; color: var(--on-primary-muted); margin: 0; }
.spotlight { display: flex; align-items: center; gap: 36px; padding: 40px 48px; background: var(--primary); border: 1px solid var(--accent); border-radius: 16px; margin-bottom: 44px; }
.award-mark { width: 120px; height: 120px; border-radius: 60px; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.award-mark .crop { position: relative; width: 120px; aspect-ratio: 522 / 142; overflow: hidden; }
.award-mark img { position: absolute; max-width: none; height: 394.37%; width: 181.61%; left: -40.8%; top: -147.18%; }
.spotlight .kicker { font-size: 13px; font-weight: 600; color: var(--accent); margin: 0 0 10px; }
.spotlight h3 { font-size: 36px; line-height: 44px; font-weight: 600; margin: 0 0 10px; }
.spotlight .desc { font-size: 15px; line-height: 24px; color: var(--on-primary-muted); margin: 0; }
.spotlight .elig { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.spotlight .elig span { font-size: 13px; font-weight: 600; color: var(--on-primary-muted); }
.chip-gold { background: var(--gold); color: var(--primary-dark); font-size: 15px; font-weight: 600; padding: 11px 18px; border-radius: 30px; white-space: nowrap; }

.slider-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.slider-head h3 { font-size: 24px; line-height: 32px; font-weight: 600; margin: 0 0 6px; }
.slider-head p { font-size: 15px; line-height: 24px; color: var(--on-primary-muted); margin: 0; }
.slider-nav { display: flex; gap: 12px; }
.nav-btn { width: 48px; height: 48px; border-radius: 24px; display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; border: 1.5px solid #fff; background: transparent; }
.nav-btn.next { background: var(--gold); border-color: var(--gold); }
.nav-btn:disabled { opacity: .5; cursor: default; }
.slider-viewport { overflow: hidden; }
.slider-track { display: flex; gap: 24px; transition: transform .45s ease; }
.slide { flex: 0 0 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-content: start; }
.fest { background: var(--primary); border: 1px solid rgba(255, 255, 255, .19); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.fest .month { font-size: 13px; font-weight: 600; color: var(--accent); }
.fest h4 { font-size: 18px; line-height: 26px; font-weight: 600; margin: 0; }
.fest .loc { display: flex; align-items: center; gap: 6px; font-size: 14px; line-height: 20px; color: var(--on-primary-muted); }
.fest hr { margin: 0; border: 0; height: 1px; opacity: 1; background: #fff; }
.fest .sec-label { font-size: 13px; line-height: 20px; font-weight: 500; color: var(--on-primary-muted); }
.fest .secs { display: flex; flex-wrap: wrap; gap: 8px; }
.fest .secs span { font-size: 12px; line-height: 20px; padding: 5px 10px; border: 1px solid rgba(255, 255, 255, .29); border-radius: 6px; }
.slider-bullets { display: flex; justify-content: center; gap: 4px; margin-top: 28px; }
.bullet { width: 17px; height: 24px; display: flex; align-items: center; justify-content: center; border: 0; background: none; padding: 0; cursor: pointer; }
.bullet::after { content: ""; width: 10px; height: 10px; border-radius: 5px; background: #fff; transition: width .2s; }
.bullet.active { width: 33px; }
.bullet.active::after { width: 28px; background: var(--accent); }
.festivals .foot-note { margin: 44px 0 0; text-align: center; font-size: 13px; line-height: 20px; color: var(--on-primary-muted); }

/* 05 Funded films */
.films { background: var(--surface-muted); padding: 80px 0; }
.films .sub { max-width: 640px; font-size: 16px; line-height: 26px; color: var(--text-muted); }
.film-card { height: 100%; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px rgba(10, 26, 51, .06); }
.film-card img { display: block; width: 100%; height: 380px; object-fit: cover; }
.film-card .body { padding: 16px 18px; }
.film-card h3 { font-size: 14px; line-height: 24px; font-weight: 600; margin: 0 0 6px; }
.film-card p { font-size: 13px; line-height: 20px; color: var(--text-muted); margin: 0; }

/* Footer image */
.site-footer img { display: block; width: 100%; height: auto; }

/* Responsive */
@media (max-width: 991.98px) {
  .glance { width: 100%; }
  .slide { grid-template-columns: repeat(2, 1fr); }
  .spotlight { flex-direction: column; text-align: center; }
  .spotlight .elig { align-items: center; }
  .page-banner { padding: 0 24px; }
}
@media (max-width: 575.98px) {
  .slide { grid-template-columns: 1fr; }
  .highlight { flex-direction: column; align-items: flex-start; }
  .highlight .divider { width: 56px; height: 1px; }
  .overview h1 { font-size: 30px; line-height: 42px; }
  .festivals .head h2 { font-size: 30px; line-height: 40px; }
}

/* ---------- Hover effects ---------- */
.btn-ich, .benefit, .step, .fest, .film-card, .spotlight, .nav-btn, .fact .tile, .benefit .tile, .step .bg-icon, .film-card img, .chip-gold {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background-color .3s ease, color .3s ease, opacity .3s ease;
}
.btn-ich:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(11, 39, 71, .18); }
.btn-ich-link:hover { transform: none; box-shadow: none; }
.btn-ich:active { transform: translateY(0); }

.benefit:hover { transform: translateY(-8px); box-shadow: 0 18px 32px rgba(10, 26, 51, .14); border-color: var(--accent); }
.benefit:hover .tile { transform: scale(1.1) rotate(-4deg); }

.step:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(10, 26, 51, .12); border-color: var(--primary); }
.step.note:hover { border-color: var(--accent); }
.step:hover .bg-icon { transform: scale(1.12) rotate(-6deg); }

.film-card { transition: transform .3s ease, box-shadow .3s ease; }
.film-card:hover { transform: translateY(-8px); box-shadow: 0 20px 36px rgba(10, 26, 51, .18); }
.film-card .poster { overflow: hidden; }
.film-card:hover img { transform: scale(1.06); }

.fest:hover { transform: translateY(-6px); border-color: var(--gold); background: #0e2f56; box-shadow: 0 14px 28px rgba(0, 0, 0, .35); }
.fest .secs span { transition: background-color .3s ease, border-color .3s ease; }
.fest:hover .secs span { border-color: rgba(238, 183, 69, .6); }

.spotlight:hover { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 14px 34px rgba(0, 0, 0, .35); }
.chip-gold:hover { transform: scale(1.05); }

.fact:hover .tile { background: rgba(238, 183, 69, .2); transform: scale(1.08); }
.nav-btn:not(:disabled):hover { transform: scale(1.1); }
.nav-btn.prev:not(:disabled):hover { background: #fff; }
.nav-btn.prev:not(:disabled):hover img { filter: invert(1); }
.nav-btn.next:not(:disabled):hover { box-shadow: 0 0 0 5px rgba(238, 183, 69, .3); }
.bullet:hover::after { background: var(--gold); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.js .reveal.reveal-left { transform: translateX(-40px); }
.js .reveal.reveal-right { transform: translateX(40px); }
.js .reveal.reveal-zoom { transform: scale(.94); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn-ich, .benefit, .step, .fest, .film-card, .spotlight, .nav-btn, .tile, .bg-icon, .film-card img { transition: none; }
  .benefit:hover, .step:hover, .film-card:hover, .fest:hover { transform: none; }
}

/* Films slider */
.film-viewport { overflow: hidden; padding: 12px 4px 28px; margin: -12px -4px -28px; }
.film-track { display: flex; gap: 24px; transition: transform .45s ease; }
.film-slide { flex: 0 0 calc((100% - 72px) / 4); min-width: 0; }
.film-slide .film-card { height: 100%; }
.film-nav { display: flex; justify-content: center; gap: 12px; margin-top: 48px; }
.film-nav .nav-btn { border-color: var(--primary); background: transparent; }
.film-nav .nav-btn img { filter: invert(1) brightness(.2) sepia(1) hue-rotate(180deg) saturate(4); }
.film-nav .nav-btn.film-next { background: var(--gold); border-color: var(--gold); }
.film-nav .nav-btn.film-next img { filter: none; }
.film-nav .film-prev:not(:disabled):hover { background: var(--primary); }
.film-nav .film-prev:not(:disabled):hover img { filter: invert(1); }
@media (max-width: 991.98px) { .film-slide { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 575.98px) { .film-slide { flex-basis: 100%; } }

/* Film cards: card stays still on hover, only the poster zooms and tilts */
.film-card:hover { transform: none; box-shadow: 0 6px 18px rgba(10, 26, 51, .06); }
.film-card img { transition: transform .5s ease; transform-origin: center; }
.film-card:hover img { transform: scale(1.12) rotate(-2deg); }
@media (prefers-reduced-motion: reduce) { .film-card:hover img { transform: none; } }
.film-card .poster { height: 380px; overflow: hidden; border-radius: 14px 14px 0 0; position: relative; z-index: 0; }
/* Hard clip so the zoomed/tilted poster can never leave its frame */
.film-card .poster { isolation: isolate; clip-path: inset(0 round 14px 14px 0 0); contain: paint; }
.film-card .poster img { display: block; width: 100%; height: 100%; }
