:root {
    --ink: #152723;
    --muted: #60716d;
    --forest: #123c36;
    --forest-deep: #0b2d29;
    --leaf: #2e6557;
    --coral: #c9654e;
    --cream: #f6f4ee;
    --paper: #fffefa;
    --line: #e5e8e1;
    --font-bengali: 'Noto Sans Bengali', sans-serif;
    --font-english: 'DM Sans', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 6rem; }

body.public-site {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font-english), var(--font-bengali), sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
}

.locale-bn { font-family: var(--font-bengali), var(--font-english), sans-serif; }
.locale-bn .brand-name,
.locale-bn .hero-title,
.locale-bn h1,
.locale-bn h2,
.locale-bn h3,
.locale-bn .section-title { letter-spacing: -.035em; }

a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #e29454; outline-offset: 3px; }

.skip-link {
    position: absolute;
    top: .5rem;
    left: .5rem;
    z-index: 2000;
    padding: .65rem 1rem;
    color: #fff;
    background: var(--forest-deep);
    border-radius: .35rem;
    transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-container { max-width: 1190px; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: rgba(255, 254, 250, .96);
    border-bottom: 1px solid rgba(21, 39, 35, .08);
    backdrop-filter: blur(12px);
}
.site-header .navbar { min-height: 82px; padding: .65rem 0; }
.brand-lockup { display: inline-flex; align-items: center; gap: .75rem; margin: 0; color: var(--ink); text-decoration: none; }
.brand-lockup:hover { color: var(--forest); }
.brand-mark {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 3px;
    width: 42px;
    height: 42px;
    padding: 9px 8px;
    overflow: hidden;
    background: var(--forest);
    border-radius: 13px 13px 13px 4px;
    transform: rotate(-3deg);
}
.brand-logo { width: 2.75rem; height: 2.75rem; object-fit: contain; flex: 0 0 auto; }
.brand-mark span { display: block; width: 6px; background: #f2d3a6; border-radius: 5px 5px 1px 1px; transform: rotate(3deg); }
.brand-mark span:nth-child(1) { height: 13px; }
.brand-mark span:nth-child(2) { height: 22px; background: #fffaf0; }
.brand-mark span:nth-child(3) { height: 17px; background: #d7775d; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-english), var(--font-bengali), sans-serif; font-size: 1.18rem; font-weight: 700; letter-spacing: -.035em; }
.brand-tagline { margin-top: .2rem; color: var(--muted); font-size: .7rem; line-height: 1.3; }
.site-header .nav-link { padding: .65rem .7rem !important; color: #3c514b; font-size: .91rem; font-weight: 600; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--forest); }
.site-header .nav-link.active { position: relative; }
.site-header .nav-link.active::after { position: absolute; right: .7rem; bottom: .3rem; left: .7rem; height: 2px; background: var(--coral); content: ''; }
.site-toggler { border-color: var(--line); }
.language-switch { display: inline-flex; align-items: center; gap: .45rem; padding: .2rem; background: #f0f2ed; border-radius: 999px; }
.language-switch a { min-width: 36px; padding: .28rem .55rem; color: var(--muted); border-radius: 999px; font-size: .76rem; font-weight: 700; line-height: 1.5; text-align: center; text-decoration: none; }
.language-switch a.selected { color: #fff; background: var(--forest); }
.language-switch span { width: 1px; height: 17px; background: #d1d9d1; }

.hero-section { position: relative; overflow: hidden; padding: clamp(4.5rem, 9vw, 8.3rem) 0; background: var(--cream); }
.hero-section::before, .hero-section::after { position: absolute; pointer-events: none; content: ''; }
.hero-section::before { top: -16rem; right: -11rem; width: 38rem; height: 38rem; border: 1px solid rgba(46, 101, 87, .12); border-radius: 50%; box-shadow: 0 0 0 3rem rgba(46, 101, 87, .025), 0 0 0 7rem rgba(46, 101, 87, .025); }
.hero-section::after { right: 36%; bottom: -10rem; width: 19rem; height: 19rem; background: rgba(201, 101, 78, .07); border-radius: 50%; filter: blur(1px); }
.hero-content { position: relative; z-index: 1; max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.35rem; color: var(--leaf); font-size: .82rem; font-weight: 700; letter-spacing: .035em; }
.eyebrow::before { width: 23px; height: 2px; background: var(--coral); content: ''; }
.hero-title { max-width: 680px; margin: 0 0 1.2rem; color: var(--forest-deep); font-size: clamp(2.5rem, 5.5vw, 4.65rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.14; }
.hero-summary { max-width: 560px; margin: 0; color: #566963; font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn-brand { padding: .78rem 1.15rem; color: white; background: var(--forest); border: 1px solid var(--forest); border-radius: .55rem; font-size: .9rem; font-weight: 700; }
.btn-brand:hover { color: #fff; background: var(--forest-deep); border-color: var(--forest-deep); }
.btn-quiet { padding: .78rem 1.15rem; color: var(--forest); background: transparent; border: 1px solid rgba(18, 60, 54, .24); border-radius: .55rem; font-size: .9rem; font-weight: 700; }
.btn-quiet:hover { background: rgba(18, 60, 54, .06); }
.hero-art-wrap { position: relative; z-index: 1; display: flex; justify-content: center; min-height: 365px; }
.hero-art { position: relative; width: min(100%, 415px); min-height: 345px; overflow: hidden; background: linear-gradient(145deg, #1a5148 0%, #103a34 58%, #0b2d29 100%); border-radius: 1.4rem; box-shadow: 0 28px 70px rgba(11, 45, 41, .19); }
.hero-art::before { position: absolute; top: -5rem; right: -4rem; width: 18rem; height: 18rem; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 2rem rgba(255,255,255,.035), 0 0 0 4rem rgba(255,255,255,.025); content: ''; }
.hero-art::after { position: absolute; right: -2rem; bottom: -8rem; width: 23rem; height: 23rem; background: rgba(206, 126, 88, .22); border-radius: 50%; content: ''; }
.hero-art-grid { position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(140deg, #000 4%, transparent 78%); }
.hero-art-content { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 2rem; color: #fff; }
.hero-art-label { color: rgba(255,255,255,.68); font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero-art-title { max-width: 250px; margin: 0; font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 600; letter-spacing: -.06em; line-height: 1.05; }
.hero-art-footer { display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.72); font-size: .75rem; }
.hero-art-orbit { position: absolute; top: 5.4rem; right: 4rem; z-index: 1; width: 7rem; height: 7rem; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; }
.hero-art-orbit::before, .hero-art-orbit::after { position: absolute; border-radius: 50%; content: ''; }
.hero-art-orbit::before { inset: 1.15rem; border: 1px solid rgba(255,255,255,.34); }
.hero-art-orbit::after { top: -.35rem; right: 1rem; width: .8rem; height: .8rem; background: #e3b779; }
.floating-note { position: absolute; right: -1.2rem; bottom: 2.3rem; z-index: 2; max-width: 190px; padding: .95rem 1.05rem; color: var(--ink); background: var(--paper); border-radius: .7rem; box-shadow: 0 12px 35px rgba(11, 45, 41, .16); font-size: .79rem; font-weight: 600; line-height: 1.55; }
.floating-note i { display: inline-block; margin-right: .3rem; color: var(--coral); }

.section-pad { padding: clamp(4rem, 7vw, 6.6rem) 0; }
.section-pad-soft { background: #f8f8f4; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.section-kicker { margin-bottom: .45rem; color: var(--coral); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.section-title { margin: 0; color: var(--forest-deep); font-size: clamp(1.8rem, 3vw, 2.65rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.25; }
.section-lead { max-width: 630px; margin: .8rem 0 0; color: var(--muted); line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; gap: .55rem; color: var(--forest); font-size: .87rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.text-link:hover { color: var(--coral); }
.placeholder-label { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .55rem; color: #79613d; background: #f5edda; border: 1px solid #eadbbb; border-radius: 999px; font-size: .68rem; font-weight: 700; }
.placeholder-label::before { width: 5px; height: 5px; background: #ba9555; border-radius: 50%; content: ''; }

.intro-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.intro-aside { position: relative; min-height: 320px; padding: 2.1rem; overflow: hidden; color: #fff; background: var(--forest); border-radius: 1.1rem; }
.intro-aside::after { position: absolute; right: -5rem; bottom: -8rem; width: 19rem; height: 19rem; border: 1px solid rgba(255,255,255,.19); border-radius: 50%; box-shadow: 0 0 0 2.5rem rgba(255,255,255,.035), 0 0 0 5rem rgba(255,255,255,.025); content: ''; }
.intro-aside > * { position: relative; z-index: 1; }
.intro-aside .section-title { color: #fff; }
.intro-aside p { max-width: 420px; color: rgba(255,255,255,.78); line-height: 1.9; }
.intro-sections { display: grid; gap: 1.25rem; }
.principle-card { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.principle-icon { display: grid; width: 44px; height: 44px; place-items: center; color: var(--leaf); background: #edf3ed; border-radius: .75rem; font-size: 1.15rem; }
.principle-card h3 { margin: 0 0 .35rem; color: var(--forest-deep); font-size: 1.05rem; font-weight: 700; }
.principle-card p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.85; }

.content-card { height: 100%; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: .9rem; transition: transform .2s ease, box-shadow .2s ease; }
.content-card:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(21, 39, 35, .08); }
.card-media { position: relative; display: block; height: 205px; overflow: hidden; background: linear-gradient(135deg, #e6ece4, #cad9cf); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.content-card:hover .card-media img { transform: scale(1.035); }
.media-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: rgba(18, 60, 54, .55); background: radial-gradient(circle at 70% 25%, rgba(255,255,255,.8), transparent 31%), linear-gradient(135deg, #e3ebe3, #c8d8cc); font-size: 2rem; }
.card-body-custom { padding: 1.25rem 1.3rem 1.35rem; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .8rem; margin-bottom: .65rem; color: #74817b; font-size: .74rem; }
.card-category { color: var(--coral); font-weight: 700; }
.card-title { margin: 0 0 .55rem; color: var(--forest-deep); font-size: 1.12rem; font-weight: 700; line-height: 1.5; }
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { color: var(--leaf); }
.card-excerpt { display: -webkit-box; min-height: 3.4rem; margin: 0 0 1rem; overflow: hidden; color: var(--muted); font-size: .86rem; line-height: 1.8; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--forest); font-size: .83rem; font-weight: 700; text-decoration: none; }
.event-card { display: grid; grid-template-columns: 84px 1fr; gap: 1.1rem; height: 100%; padding: 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: .85rem; }
.event-date { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 84px; color: var(--forest); background: #eff4ed; border-radius: .65rem; text-align: center; }
.event-date strong { font-size: 1.5rem; line-height: 1.2; }
.event-date span { margin-top: .2rem; color: #65766f; font-size: .68rem; }
.event-card h2, .event-card h3 { margin: .1rem 0 .3rem; font-size: 1rem; font-weight: 700; line-height: 1.5; }
.event-card h2 a, .event-card h3 a { color: var(--forest-deep); text-decoration: none; }
.event-card p { margin: 0; color: var(--muted); font-size: .8rem; }
.event-meta { display: flex; flex-wrap: wrap; gap: .3rem .8rem; margin-top: .55rem; color: #728078; font-size: .72rem; }
.leader-card { height: 100%; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: .9rem; text-align: center; }
.leader-photo { width: 100%; height: 225px; margin-bottom: 1rem; overflow: hidden; background: linear-gradient(135deg, #e9eee7, #cbd9cf); border-radius: .65rem; }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: #597366; font-size: 2.5rem; }
.leader-card h3 { margin: 0 0 .25rem; color: var(--forest-deep); font-size: 1rem; font-weight: 700; }
.leader-card p { margin: 0; color: var(--muted); font-size: .78rem; }
.leader-card a { text-decoration: none; }
.empty-state { padding: 2.2rem; color: var(--muted); background: #f7f8f4; border: 1px dashed #d5ddd4; border-radius: .8rem; text-align: center; }
.empty-state i { display: block; margin-bottom: .6rem; color: #809187; font-size: 1.6rem; }
.initiative-panel { position: relative; padding: clamp(1.8rem, 4vw, 3.2rem); overflow: hidden; color: white; background: var(--forest-deep); border-radius: 1.1rem; }
.initiative-panel::after { position: absolute; top: -8rem; right: -4rem; width: 23rem; height: 23rem; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 2rem rgba(255,255,255,.03), 0 0 0 4rem rgba(255,255,255,.025); content: ''; }
.initiative-panel .section-title { color: #fff; }
.initiative-panel p { position: relative; z-index: 1; max-width: 620px; margin: .75rem 0 0; color: rgba(255,255,255,.75); }
.initiative-items { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1.7rem; }
.initiative-item { padding: 1rem; color: rgba(255,255,255,.86); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: .65rem; font-size: .84rem; }
.initiative-item i { display: block; margin-bottom: .55rem; color: #e5b87d; font-size: 1.15rem; }

.page-hero { padding: 3.4rem 0 2.8rem; background: var(--cream); }
.breadcrumb { margin-bottom: .85rem; color: var(--muted); font-size: .78rem; }
.breadcrumb-item a { color: var(--leaf); text-decoration: none; }
.page-title { margin: 0; color: var(--forest-deep); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.25; }
.page-description { max-width: 700px; margin: .8rem 0 0; color: var(--muted); }
.listing-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 2.5rem; }
.filter-title { margin: 0 0 .8rem; color: var(--forest-deep); font-size: .8rem; font-weight: 700; text-transform: uppercase; }
.category-list { display: grid; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.category-list a { display: flex; align-items: center; justify-content: space-between; padding: .55rem .7rem; color: #53645d; border-radius: .45rem; font-size: .84rem; text-decoration: none; }
.category-list a:hover, .category-list a.active { color: var(--forest); background: #edf3ed; font-weight: 700; }
.article-shell { max-width: 850px; margin: 0 auto; }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: 1rem 0 1.5rem; color: var(--muted); font-size: .82rem; }
.article-featured { width: 100%; max-height: 470px; margin: 0 0 2rem; overflow: hidden; background: #e6ece4; border-radius: 1rem; }
.article-featured img { display: block; width: 100%; max-height: 470px; object-fit: cover; }
.article-copy { color: #374b44; font-size: 1rem; line-height: 2; white-space: pre-line; overflow-wrap: anywhere; }
.article-copy p:last-child { margin-bottom: 0; }
.article-copy:empty { display: none; }
.detail-panel { padding: 1.4rem; background: #f6f8f3; border-radius: .8rem; }
.detail-panel h2 { margin: 0 0 1rem; font-size: 1rem; font-weight: 700; }
.detail-line { display: flex; gap: .7rem; margin: .65rem 0; color: #53645d; font-size: .88rem; }
.detail-line i { color: var(--leaf); }
.profile-layout { display: grid; grid-template-columns: minmax(230px, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.profile-photo { overflow: hidden; background: linear-gradient(135deg, #e9eee7, #cbd9cf); border-radius: 1rem; }
.profile-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.profile-photo .leader-placeholder { aspect-ratio: 4 / 5; }
.pagination { gap: .3rem; }
.pagination .page-link { color: var(--forest); border-color: var(--line); border-radius: .4rem !important; }
.pagination .active .page-link { color: white; background: var(--forest); border-color: var(--forest); }

.site-footer { padding: 4rem 0 1.4rem; color: rgba(255,255,255,.76); background: #102d29; }
.brand-lockup-footer { color: #fff; }
.brand-lockup-footer:hover { color: #fff; }
.brand-lockup-footer .brand-tagline { color: rgba(255,255,255,.58); }
.footer-note { max-width: 390px; margin: 1.1rem 0 0; color: rgba(255,255,255,.62); font-size: .86rem; }
.footer-heading { margin: .1rem 0 1rem; color: #fff; font-size: .88rem; font-weight: 700; }
.footer-links, .contact-list { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.footer-links a, .contact-list a { color: rgba(255,255,255,.68); font-size: .83rem; text-decoration: none; }
.footer-links a:hover, .contact-list a:hover { color: #fff; }
.contact-list li { display: flex; align-items: start; gap: .65rem; color: rgba(255,255,255,.68); font-size: .83rem; }
.contact-list i { margin-top: .2rem; color: #e3b779; }
.contact-list a { overflow-wrap: anywhere; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.5); font-size: .74rem; }
.footer-bottom a { color: rgba(255,255,255,.68); text-decoration: none; }
.footer-social-links { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1rem; }
.footer-social-links a { color: rgba(255,255,255,.72); font-size: .86rem; text-decoration: none; }
.footer-social-links a:hover { color: #fff; }

@media (max-width: 991.98px) {
    .site-header .navbar-collapse { padding: .6rem 0 1rem; }
    .site-header .nav-link { padding: .55rem .2rem !important; }
    .site-header .nav-link.active::after { right: auto; bottom: .25rem; left: .2rem; width: 24px; }
    .hero-art-wrap { min-height: 315px; margin-top: 2rem; }
    .hero-art { min-height: 300px; }
    .floating-note { right: 0; }
}

@media (max-width: 767.98px) {
    .site-header .navbar { min-height: 70px; }
    .brand-mark { width: 38px; height: 38px; }
    .hero-section { padding: 4.1rem 0 4rem; }
    .hero-art-wrap { min-height: 280px; }
    .hero-art { min-height: 270px; }
    .hero-art-content { padding: 1.5rem; }
    .hero-art-orbit { top: 4.4rem; right: 2.5rem; }
    .floating-note { right: -.2rem; bottom: 1.2rem; max-width: 170px; }
    .section-heading { align-items: start; flex-direction: column; margin-bottom: 1.5rem; }
    .intro-grid, .listing-layout, .profile-layout { grid-template-columns: 1fr; }
    .intro-aside { min-height: 260px; }
    .listing-layout { gap: 1.6rem; }
    .category-list { display: flex; flex-wrap: wrap; }
    .category-list a { border: 1px solid var(--line); }
    .initiative-items { grid-template-columns: 1fr; }
    .footer-main { row-gap: 2rem !important; }
}

@media (max-width: 479.98px) {
    .hero-actions { display: grid; }
    .hero-actions .btn { width: 100%; }
    .event-card { grid-template-columns: 68px 1fr; gap: .8rem; padding: .85rem; }
    .event-date { min-height: 72px; }
    .card-media { height: 185px; }
    .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
