:root {
    --brand: #0b2a4a;
    --brand-2: #14507f;
    --green: #2bb673;
    --blue: #1e88e5;
    --orange: #f7941d;
    --pink: #e9407a;
    --ink: #1d2433;
    --muted: #667085;
    --bg-soft: #f4f7fb;
    --radius: 14px;
}

body { font-family: 'Poppins', sans-serif; color: var(--ink); background: #fff; overflow-x: hidden; }
h1, h2, h3, h4, h5, .display-font { font-family: 'Montserrat', 'Poppins', sans-serif; font-weight: 800; }
a { color: var(--brand-2); }
img { max-width: 100%; }

/* Top bar */
.top-bar { background: var(--brand); color: rgba(255, 255, 255, .85); font-size: .82rem; }
.top-bar a { color: #fff; text-decoration: none; }
.top-bar .lang a { padding: 0 .45rem; opacity: .8; }
.top-bar .lang a:hover, .top-bar .lang a.active { opacity: 1; text-decoration: underline; }

/* Header */
.site-header { background: #fff; box-shadow: 0 2px 14px rgba(11, 42, 74, .08); }
.site-header .navbar-brand img { height: 56px; }
.site-header .nav-link { font-weight: 600; font-size: .86rem; letter-spacing: .03em; color: var(--brand); text-transform: uppercase; padding: .9rem .75rem !important; position: relative; }
.site-header .nav-link::after { content: ''; position: absolute; left: .75rem; right: .75rem; bottom: .55rem; height: 2px; background: var(--green); transform: scaleX(0); transition: transform .2s; }
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
.site-header .dropdown-menu { border: 0; box-shadow: 0 10px 30px rgba(11, 42, 74, .12); border-radius: 12px; }
.btn-donate { background: linear-gradient(135deg, var(--orange), var(--pink)); color: #fff; font-weight: 700; border: 0; border-radius: 50px; padding: .6rem 1.4rem; text-transform: uppercase; font-size: .82rem; letter-spacing: .05em; box-shadow: 0 6px 18px rgba(233, 64, 122, .35); }
.btn-donate:hover { color: #fff; filter: brightness(1.05); transform: translateY(-1px); }
.btn-brand { background: var(--green); border: 0; color: #fff; border-radius: 50px; padding: .65rem 1.6rem; font-weight: 600; }
.btn-brand:hover { background: #239a61; color: #fff; }
.btn-outline-light-pill { border: 2px solid #fff; color: #fff; border-radius: 50px; padding: .55rem 1.5rem; font-weight: 600; }
.btn-outline-light-pill:hover { background: #fff; color: var(--brand); }

/* Floating Join Us */
.float-join { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 1020; display: flex; flex-direction: column; gap: 6px; }
.float-join a { writing-mode: vertical-rl; transform: rotate(180deg); padding: 1rem .55rem; color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-decoration: none; border-radius: 0 10px 10px 0; }
.float-join .j { background: var(--green); }
.float-join .r { background: var(--brand-2); }

/* Hero slider */
.hero .carousel-item { height: 82vh; min-height: 460px; max-height: 760px; background: var(--brand) center/cover no-repeat; }
.hero .carousel-item::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 42, 74, .88) 0%, rgba(11, 42, 74, .45) 60%, rgba(11, 42, 74, .15) 100%); }
.hero .caption { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; color: #fff; max-width: 720px; }
.hero .caption h1 { font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: 1.02; text-transform: uppercase; }
.hero .caption h1 span { color: var(--green); }
.hero .caption p { font-size: 1.1rem; opacity: .92; }

/* Section helpers */
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--brand); color: #fff; }
.eyebrow { color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); text-transform: uppercase; color: var(--brand); }
.section-dark .section-title { color: #fff; }
.title-bar { width: 70px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--green), var(--blue), var(--orange)); }

/* Page banner */
.page-banner { position: relative; padding: 110px 0 80px; background: var(--brand) center/cover no-repeat; color: #fff; }
.page-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(11, 42, 74, .92), rgba(20, 80, 127, .7)); }
.page-banner .container { position: relative; }
.page-banner h1 { font-size: clamp(2rem, 5vw, 3.4rem); text-transform: uppercase; }
.page-banner .breadcrumb a { color: rgba(255, 255, 255, .8); }
.page-banner .breadcrumb-item.active, .page-banner .breadcrumb-item + .breadcrumb-item::before { color: #fff; }

/* Welcome */
.welcome-img { border-radius: 24px; box-shadow: 0 25px 50px rgba(11, 42, 74, .2); width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }
.welcome-badge { position: absolute; bottom: -22px; right: 22px; background: var(--green); color: #fff; border-radius: 16px; padding: 1rem 1.3rem; font-weight: 700; box-shadow: 0 12px 30px rgba(43, 182, 115, .35); }

/* Cards */
.card-x { border: 0; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 6px 24px rgba(16, 24, 40, .07); transition: transform .25s, box-shadow .25s; height: 100%; }
.card-x:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(16, 24, 40, .12); }
.card-x .media { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.card-x .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card-x:hover .media img { transform: scale(1.05); }
.card-x .body { padding: 1.25rem 1.35rem 1.4rem; }
.card-x h3, .card-x h4 { font-size: 1.08rem; color: var(--brand); font-weight: 700; }
.card-x .meta { color: var(--muted); font-size: .82rem; }
.tag { display: inline-block; background: rgba(43, 182, 115, .12); color: #1f8a56; font-weight: 600; font-size: .72rem; border-radius: 50px; padding: .25rem .7rem; }
.stretched { text-decoration: none; color: inherit; }

/* Programme tiles */
.program-tile { display: flex; gap: 1rem; align-items: center; background: #fff; border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: 0 4px 18px rgba(16, 24, 40, .06); text-decoration: none; color: var(--brand); font-weight: 600; transition: all .2s; height: 100%; }
.program-tile .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.45rem; flex-shrink: 0; color: #fff; }
.program-tile:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.ic-0 { background: var(--green); } .ic-1 { background: var(--blue); } .ic-2 { background: var(--orange); } .ic-3 { background: var(--pink); } .ic-4 { background: #8e44ad; } .ic-5 { background: #16a085; }

/* Involve */
.involve-item { display: flex; gap: 1.1rem; padding: 1.4rem; background: #fff; border-radius: var(--radius); box-shadow: 0 4px 18px rgba(16, 24, 40, .06); height: 100%; }
.involve-item .ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; flex-shrink: 0; color: #fff; }

/* Social pages */
.social-card { text-align: center; padding: 2rem 1.5rem; }
.social-card .qr { width: 170px; height: 170px; object-fit: contain; margin: 0 auto 1rem; background: #fff; border-radius: 12px; padding: 8px; box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
.social-card .pi { font-size: 2.2rem; }
.pi-instagram { color: #d6249f; } .pi-youtube { color: #ff0000; } .pi-facebook { color: #1877f2; } .pi-twitter-x { color: #000; } .pi-linkedin { color: #0a66c2; } .pi-spotify { color: #1db954; } .pi-globe { color: var(--brand); }

/* Gallery */
.gallery-grid { columns: 4 240px; column-gap: 14px; }
.gallery-grid a { display: block; margin-bottom: 14px; border-radius: 12px; overflow: hidden; position: relative; break-inside: avoid; }
.gallery-grid img { width: 100%; max-height: 380px; object-fit: cover; display: block; transition: transform .35s; }
.gallery-grid a:hover img { transform: scale(1.05); }
.gallery-grid .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: .6rem .8rem; color: #fff; font-size: .8rem; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); opacity: 0; transition: opacity .25s; }
.gallery-grid a:hover .cap { opacity: 1; }

/* Shop */
.product-card .media { aspect-ratio: 1/1; background: #f6f7f9; }
.product-card .media img { object-fit: contain; padding: 10px; }
.price { color: var(--green); font-weight: 800; font-size: 1.15rem; }
.btn-buy { background: var(--brand); color: #fff; border-radius: 50px; font-weight: 600; padding: .45rem 1.4rem; }
.btn-buy:hover { background: var(--green); color: #fff; }

/* Publications */
.pub-cover { aspect-ratio: 3/4 !important; }

/* CTA */
.cta { background: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 55%, var(--green) 140%); color: #fff; border-radius: 28px; padding: 3.2rem; position: relative; overflow: hidden; }
.cta::after { content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%; right: -90px; top: -120px; background: rgba(255, 255, 255, .07); }

/* Forms */
.form-card { background: #fff; border-radius: 20px; box-shadow: 0 10px 40px rgba(16, 24, 40, .08); padding: 2.2rem; }
.form-control, .form-select { border-radius: 10px; padding: .7rem .95rem; }
.form-control:focus, .form-select:focus { border-color: var(--green); box-shadow: 0 0 0 .2rem rgba(43, 182, 115, .15); }
.amount-pills .btn { border-radius: 50px; }
.amount-pills .btn-check:checked + .btn { background: var(--green); border-color: var(--green); color: #fff; }

/* UPI */
.upi-box { border: 2px dashed rgba(43, 182, 115, .45); }
.upi-qr { width: 200px; max-width: 100%; background: #fff; padding: 10px; border-radius: 14px; box-shadow: 0 4px 16px rgba(16, 24, 40, .1); }
.upi-qr img, .upi-qr canvas { width: 100% !important; height: auto !important; }

/* Rich content */
.rich-content { font-size: 1.02rem; line-height: 1.8; color: #344054; }
.rich-content img { border-radius: 12px; height: auto; }
.rich-content h2, .rich-content h3 { color: var(--brand); margin-top: 1.6rem; }

/* Footer */
.site-footer { background: #071b30; color: rgba(255, 255, 255, .72); font-size: .92rem; }
.site-footer h5 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1.1rem; }
.site-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.site-footer .social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: inline-grid; place-items: center; margin-right: 6px; color: #fff; }
.site-footer .social a:hover { background: var(--green); color: #fff; }
.contact-strip { background: var(--green); color: #fff; }
.contact-strip a { color: #fff; text-decoration: none; font-weight: 600; }

/* Google Translate dropdown in top bar */
#google_translate_element .goog-te-gadget { font-size: 0; color: transparent; line-height: 1; }
#google_translate_element .goog-te-gadget > span { display: none; } /* "Powered by Google" */
#google_translate_element .goog-te-combo { margin: 0; font-family: 'Poppins', sans-serif; font-size: .8rem; color: var(--brand); background: #fff; border: 0; border-radius: 6px; padding: .2rem .5rem; cursor: pointer; outline: none; }
/* Hide Google's top banner bar and tooltips */
.goog-te-banner-frame, body > .skiptranslate, iframe.skiptranslate, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
body { top: 0 !important; }

@media (max-width: 991.98px) {
    .site-header .navbar-brand img { height: 46px; }
    .site-header .nav-link::after { display: none; }
    .section { padding: 56px 0; }
    .cta { padding: 2rem 1.5rem; }
    .float-join { display: none; }
}
