:root {
    --cream: #fffaf0;
    --ink: #38201e;
    --maroon: #672b32;
    --saffron: #d88b24;
    --gold: #c5a26f;
    --muted: #f5eee2;
    --border: #e8daca;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: Inter, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: min(1152px, calc(100% - 56px));
    margin: auto;
}

h1,
h2,
h3,
h4 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.08;
    color: var(--maroon);
    margin: 0 0 0.5rem;
}

h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
}

h3 {
    font-size: 1.7rem;
}

h4 {
    font-size: 1.3rem;
}

p {
    color: #6f5e59;
    margin: 0 0 1rem;
}

a {
    color: var(--maroon);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    background-color: var(--muted);
}

/* Header - Premium NGO / Spiritual Style */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fffaf0e6;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(55, 32, 30, 0.09);
    border-bottom-color: #e8daca;
}

.nav-wrap {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}
.brand:hover {
    text-decoration: none;
}

.brand img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    border-radius: 4px;
}

.brand span {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand strong {
    font: 700 1.15rem var(--serif);
    letter-spacing: -.01em;
    color: var(--maroon);
    display: block;
}

.brand small {
    display: block;
    font-size: 8.5px;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: #8a746e;
    margin-top: 1px;
    font-weight: 500;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2.1rem;
}

.nav-link {
    font-size: .92rem;
    font-weight: 500;
    color: #5f4c48;
    text-decoration: none;
    letter-spacing: .015em;
    padding: 4px 0;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--maroon);
    text-decoration: none;
}

.nav-link.active {
    color: var(--maroon);
    font-weight: 600;
}

.nav-link.active::after,
.nav-link:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1.5px;
    background: linear-gradient(to right, var(--gold), var(--maroon));
    opacity: 0.85;
    transition: all 0.25s ease;
}

.nav-link:not(.active):hover::after {
    opacity: 0.6;
    bottom: -2px;
}

.donate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--maroon);
    color: #fff;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 9px 26px;
    border-radius: 9999px;
    text-decoration: none;
    border: 1px solid var(--gold);
    box-shadow: 0 2px 8px rgba(103, 43, 50, 0.28);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.donate-btn:hover {
    background: #5a252b;
    border-color: #d9b97d;
    transform: scale(1.03) translateY(-1px);
    box-shadow: 0 4px 14px rgba(103, 43, 50, 0.35), 0 0 0 3px rgba(197, 162, 111, 0.18);
    color: #fff;
    text-decoration: none;
}

.donate-btn:active {
    transform: scale(0.985);
}

/* Mobile nav */
.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--maroon);
    font-size: 26px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--border);
    padding: 14px 0;
    flex-direction: column;
    background: #fffaf0f5;
    backdrop-filter: blur(8px);
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav .nav-link,
.mobile-nav .donate-btn {
    padding: 11px 0;
    font-size: .95rem;
}

.mobile-nav .nav-link {
    color: #5f4c48;
    border-bottom: 1px solid #f0e6d8;
    margin: 0 20px;
}

.mobile-nav .nav-link:last-of-type {
    border-bottom: none;
}

.mobile-nav .donate-btn {
    margin: 12px 20px 4px;
    padding: 11px 24px;
    font-size: .9rem;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(103, 43, 50, 0.22);
}

/* Buttons */
.button {
    display: inline-block;
    border: 0;
    border-radius: 99px;
    padding: 12px 24px;
    background: var(--maroon);
    color: var(--cream);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    text-decoration: none;
    text-align: center;
}

.button:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    text-decoration: none;
    color: var(--cream);
}

.secondary {
    background: var(--saffron);
    color: #2b1b16;
}

.secondary:hover {
    color: #2b1b16;
}

.ghost {
    background: #ffffff12;
    border: 1px solid #ffffff90;
    color: #fff;
}

.ghost:hover {
    color: #fff;
}

.hero .button.ghost {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.55);
    backdrop-filter: blur(4px);
}
.hero .button.ghost:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.75);
}

.outline {
    background: transparent;
    border: 1px solid var(--maroon);
    color: var(--maroon);
}

.outline:hover {
    background: var(--maroon);
    color: var(--cream);
}

/* Hero - Full background slider */
.hero {
    position: relative;
    min-height: calc(100vh - 76px);
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* Very subtle bottom gradient so dots + lower text always readable without heavy overlay */
.hero-slides::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 55%,
        rgba(0, 0, 0, 0.12) 78%,
        rgba(0, 0, 0, 0.22) 95%
    );
    pointer-events: none;
    z-index: 1;
}

.hero-track {
    display: flex;
    height: 100%;
    transition: transform 0.75s cubic-bezier(0.45, 0.05, 0.25, 1);
    will-change: transform;
}

.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Subtle cinematic zoom on the active slide */
.hero-slide.active {
    animation: heroKenBurns 9s ease forwards;
}

@keyframes heroKenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.09); }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 860px;
    padding: 30px 20px;
    text-align: center;
}

.hero-content .hero-logo {
    width: 96px;
    height: 96px;
    margin-bottom: 8px;
    border-radius: 4px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.hero h1 {
    font-size: 3.1rem;
    line-height: 1.05;
    margin: 6px 0 10px;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 3px 14px rgba(0,0,0,0.8), 0 1px 4px rgba(0,0,0,0.6);
}

.hero .eyebrow.light {
    color: #f4c16d;
    font-size: .72rem;
    letter-spacing: .3em;
}

.hero-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.hero-actions .button {
    margin: 0;
}



/* Premium circular arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 54px;
    height: 54px;
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    font-size: 1.9rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    user-select: none;
}
.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.62);
    border-color: rgba(255, 255, 255, 0.75);
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.4);
}
.hero-arrow:active {
    transform: translateY(-50%) scale(0.9);
}
.hero-arrow:focus-visible {
    outline: 2px solid #f4c16d;
    outline-offset: 3px;
}
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

@media (max-width: 600px) {
    .hero {
        min-height: 78vh;
    }
    .hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.35rem;
    }
    .hero-arrow.prev { left: 12px; }
    .hero-arrow.next { right: 12px; }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-content .hero-logo {
        width: 80px;
        height: 80px;
    }
}

/* Elegant slide indicators */
.hero-dots {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 9px;
    align-items: center;
}
.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.65);
    background: rgba(255,255,255,0.35);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.hero-dot:hover {
    background: rgba(255,255,255,0.75);
    transform: scale(1.2);
}
.hero-dot.active {
    background: #f4c16d;
    border-color: #f4c16d;
    box-shadow: 0 0 0 4px rgba(244, 193, 109, 0.22);
    width: 11px;
    height: 11px;
}
.hero-dot:focus-visible {
    outline: 2px solid #f4c16d;
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .hero-dots {
        bottom: 18px;
        gap: 7px;
    }
    .hero-dot {
        width: 7px;
        height: 7px;
    }
    .hero-dot.active {
        width: 9px;
        height: 9px;
    }
}

.eyebrow {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: #b46e16;
    margin-bottom: 0.5rem;
}

.eyebrow.light {
    color: #f4c16d;
    text-shadow: 0 2px 6px rgba(0,0,0,0.65);
    letter-spacing: 0.3em;
}

.shruti {
    position: relative;
    overflow: hidden;
    height: 55px;
    background: #f9e7c5;
    border-top: 1px solid #ead7b3;
    border-bottom: 1px solid #ead7b3;
}

.shruti-title {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.shruti-title b {
    display: inline-block;
    padding: 7px 18px;
    background: #fdf6e8;
    border: 2px solid #c49b3c;
    border-radius: 25px;
    color: #7a1d1d;
    font-size: 15px;
    font-weight: 700;
    font-family: "Cinzel", "Georgia", serif;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, .8);
    box-shadow: 0 3px 10px rgba(122, 29, 29, .18);
    white-space: nowrap;
}

/* Ticker */
.ticker {
    position: absolute;
    inset: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-left: 175px;
}

.scrolling {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: marquee 40s linear infinite;
    color: #6b1f1f;
    font-size: 15px;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.ticker:hover .scrolling {
    animation-play-state: paused;
}
/* Sections */
.section {
    padding: 96px 0;
}

.section-divider {
    height: 1px;
    background: var(--border);
    margin: 0 auto;
    max-width: 600px;
}

.intro {
    text-align: center;
    max-width: 850px;
    padding: 48px 0;
}

.intro p,
.page-hero p {
    font-size: 1.1rem;
}

.muted,
.page-hero {
    background: #f8f1e8;
    border-block: 1px solid var(--border);
}

.page-hero {
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-hero.about-hero {
    background: transparent;
}

.page-hero p {
    max-width: 760px;
    margin: 25px auto;
}

/* Split header */
.split {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

/* Cards */
.cards {
    display: grid;
    gap: 20px;
    margin-top: 45px;
}

.cards.three {
    grid-template-columns: repeat(3, 1fr);
}

.cards.two {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    gap: 25px;
}

.card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px #4e25200c;
    transition: .25s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--saffron);
    box-shadow: 0 20px 40px #4e252024;
}

.qr-registration-image {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.qr-registration-image img {
    width: 240px;
    max-width: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 24px #4e25200c;
}

.card .icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f8dcaa;
    color: var(--maroon);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

/* Founder section */
.founder {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 70px;
    align-items: center;
}

.founder img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 50px #4e252040;
}

.founder>div:first-child {
    text-align: center;
}

.founder small {
    letter-spacing: .2em;
    color: #7a6964;
}

.founder blockquote {
    border-left: 4px solid var(--saffron);
    background: var(--muted);
    padding: 24px;
    margin: 18px 0;
    font: 1.3rem var(--serif);
    color: var(--maroon);
    line-height: 1.45;
}

/* Dark section */
.dark {
    background: var(--maroon);
    color: #fff;
}

.dark h2,
.dark h3 {
    color: #fff;
}

.dark .eyebrow {
    color: #f4ae45;
}

.dark p {
    color: #ffffffdd;
}

/* Event list */
.event-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
    padding: 0;
    list-style: none;
    margin: 0;
}

.event-list li {
    border-bottom: 1px solid #ffffff24;
    padding: 13px 0;
}

/* CTA */
.cta {
    text-align: center;
    background: linear-gradient(135deg, #fae8c7, #fffaf0, #f9ecd8);
    margin: 96px auto;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 64px;
    max-width: 1100px;
}

.cta h2 {
    margin-bottom: 1rem;
}
@media (max-width: 320px) {
    .button_m {
        margin-bottom: 7px;
    }
}
/* Numbered list */
.number-list {
    padding: 0;
    list-style: none;
    counter-reset: item;
    display: grid;
    gap: 13px;
    margin-top: 28px;
}

.number-list li {
    counter-increment: item;
    border-bottom: 1px solid var(--border);
    padding: 10px 0 10px 46px;
    position: relative;
}

.number-list li:before {
    content: counter(item, decimal-leading-zero);
    position: absolute;
    left: 0;
    font: 1.3rem var(--serif);
    color: var(--maroon);
}

/* Two columns */
.two-cols {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    gap: 25px;
}

/* Event columns */
.event-columns {
    grid-template-columns: repeat(3, 1fr);
    display: grid;
    gap: 45px;
}

/* Center */
.center {
    text-align: center;
    margin-top: 45px;
}

/* Donate page */
.donate-page {
    text-align: center;
    max-width: 900px;
}

.donate-page .card {
    max-width: 600px;
    text-align: left;
    margin: 38px auto;
}

/* Legal */
.legal {
    max-width: 800px;
}

/* Forms */
form label {
    display: block;
    margin: 15px 0;
    font-size: .9rem;
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    margin-top: 5px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 11px;
    background: var(--cream);
    font: inherit;
    color: var(--ink);
}


textarea {
    resize: vertical;
}

.notice {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.success {
    background: #e5f5e8;
    color: #24662d;
}

.error {
    background: #ffe8e5;
    color: #8e2f25;
}

/* Footer */
.site-footer {
    margin-top: 96px;
    background: var(--maroon);
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding: 56px 0;
}

.site-footer .brand strong,
.site-footer p,
.site-footer small,
.site-footer address {
    color: #ffffffd9;
}

.site-footer>div a {
    display: block;
    color: #ffffffd9;
    margin: 8px 0;
    font-size: .9rem;
    text-decoration: none;
}

.site-footer>div a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-grid b {
    display: block;
    color: #f0a537;
    text-transform: uppercase;
    letter-spacing: .17em;
    font-size: .7rem;
    margin-bottom: 15px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #ffffff24;
    padding: 18px 0;
    font-size: .75rem;
    color: #ffffffa8;
}

.footer-bottom a {
    display: inline;
    margin-left: 18px !important;
}

.site-footer .social-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.site-footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    transition: transform .2s ease, opacity .2s ease;
}

.site-footer .social-links a i {
    font-size: 1rem;
    width: auto;
    text-align: center;
}

.site-footer .social-links a:hover {
    transform: translateY(-2px);
    opacity: .9;
}

.site-footer .social-links a.facebook {
    background: #1877F2;
}

.site-footer .social-links a.youtube {
    background: #FF0000;
}

.social-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform .2s ease, opacity .2s ease;
}

.social-links a i {
    font-size: 1.1rem;
    width: auto;
    text-align: center;
}

.social-links a:hover {
    transform: translateY(-2px);
    opacity: .85;
}

.social-links a.facebook {
    background: #1877F2;
}

.social-links a.youtube {
    background: #FF0000;
}

/* Text link */
.text-link {
    display: inline-block;
    margin-top: 18px;
    font-weight: 600;
}

/* Centre detail */
.centre-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.centre-detail img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 20px 45px #4e252026;
}

/* Quotes */
.quotes blockquote {
    margin: 0 0 20px;
    font: 1.3rem var(--serif);
    color: var(--maroon);
    line-height: 1.45;
}

.quotes figcaption {
    color: #6f5e59;
}

/* Sanskrit line */
.sanskrit-line {
    text-align: center;
    margin: 48px 0 0;
    font: 1.45rem 'Noto Serif Devanagari', var(--serif);
    color: var(--maroon);
}

.sanskrit-line span {
    font: italic 1rem var(--sans);
    color: #6f5e59;
    display: block;
    margin-top: 8px;
}

/* Archive gallery */
.archive-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 36px;
}

.archive-gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: .2s;
}

.archive-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px #4e252040;
}

/* Archive content */
.archive-content details {
    padding: 18px 22px;
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 32px;
}

.archive-content summary {
    font: 600 1.15rem var(--serif);
    color: var(--maroon);
    cursor: pointer;
}

.source-document {
    overflow-wrap: anywhere;
}

.source-document img {
    max-width: 100%;
    height: auto;
    margin: 18px 8px 18px 0;
    border-radius: 8px;
}

.source-document table {
    display: table;
    max-width: 100%;
    margin: 22px 0;
    border-collapse: collapse;
}

.source-document th,
.source-document td {
    padding: 10px;
    border: 1px solid var(--border);
    vertical-align: top;
}

.source-document h2 {
    margin-top: 58px;
}

.source-document hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 40px 0;
}

.source-document blockquote {
    margin: 18px 0;
    padding: 14px 20px;
    background: var(--muted);
    border-left: 3px solid var(--saffron);
}

/* Team grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 45px;
}

.team-card {
    text-align: center;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px #4e25200c;
    transition: .25s;
}



.rad img {
    border-radius:25px !important;
    box-shadow:0
}
.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px #4e252024;
}

.team-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}

.team-card h4 {
    margin-bottom: 4px;
}

.team-card small {
    color: #7a6964;
    font-size: .85rem;
}

/* Services list */
.services-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: grid;
    gap: 10px;
}

.services-list li {
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.services-list li::before {
    content: "✦";
    color: var(--saffron);
    font-size: 1.1rem;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 45px;
}

.stat-card {
    text-align: center;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 8px 24px #4e25200c;
}

.stat-card .number {
    font: 700 2.5rem var(--serif);
    color: var(--maroon);
    display: block;
}

.stat-card .label {
    font-size: .9rem;
    color: #6f5e59;
    margin-top: 6px;
}

/* Bank details */
.bank-details {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    margin-top: 28px;
    text-align: left;
}

.bank-details p {
    margin: 6px 0;
    font-size: .95rem;
}

.bank-details strong {
    color: var(--ink);
}

/* Impact list */
.impact-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    text-align: left;
}

.impact-list li {
    padding: 10px 0 10px 28px;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.impact-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--saffron);
    font-weight: 700;
}

/* Membership table */
.membership-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 28px;
}

.membership-table th,
.membership-table td {
    padding: 14px;
    border: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.membership-table th {
    background: var(--muted);
    font-weight: 600;
    color: var(--maroon);
}

/* Responsive */



.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

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

/* ==============================
   Centre Cards (Listing Page)
   ============================== */

.centre-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: .3s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
}

.centre-card:hover {
    transform: translateY(-6px);
    border-color: var(--saffron);
    box-shadow: 0 24px 48px #4e252030;
}

.centre-card:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.centre-card-img {
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    aspect-ratio: 3/2;
    background: var(--muted);
}

.centre-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}

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

.centre-card .text-link {
    margin-top: auto;
    padding-top: 12px;
}

/* ==============================
   Centre Detail Page Enhancements
   ============================== */

.centre-hero {
    background: linear-gradient(135deg, var(--maroon) 0%, #4a1a20 50%, var(--saffron) 100%);
    color: #fff;
    position: relative;
}

.centre-hero .eyebrow {
    color: #f4c16d;
}

.centre-hero h1 {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.centre-hero p {
    color: #ffffffdd;
    max-width: 700px;
    margin: 16px auto 0;
}

.centre-detail .eyebrow {
    color: var(--saffron);
}

.centre-detail h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.centre-detail img {
    border-radius: 18px;
    box-shadow: 0 20px 50px #4e252030;
}

/* Activity cards with numbered badges */
.centre-detail .card .icon {
    background: linear-gradient(135deg, var(--saffron), var(--gold));
    color: #fff;
}

/* Section divider for detail pages */
.centre-detail-section {
    position: relative;
    padding-top: 64px;
}

.centre-detail-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--gold), var(--saffron));
    border-radius: 2px;
}

/* Journal badge */
.journal-badge {
    display: inline-block;
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 14px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--maroon);
    letter-spacing: .02em;
}

/* Table responsive wrapper */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.membership-table {
    min-width: 600px;
}

/* Contact info highlight */
.contact-highlight {
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 24px;
}

.contact-highlight p {
    margin: 4px 0;
    font-size: .95rem;
}

/* Image gallery inline */
.centre-gallery {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.centre-gallery img {
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: .25s;
}

.centre-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px #4e252020;
}

/* Sanskrit accent line */
.sanskrit-accent {
    text-align: center;
    font: 1.3rem 'Noto Serif Devanagari', var(--serif);
    color: var(--maroon);
    margin: 32px 0 0;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


.qr-card h3{
    font-family: 'Playfair Display', serif !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-align: center !important;
    margin-bottom: 18px !important;
    line-height: 1.2 !important;
    letter-spacing: 0.5px !important;
}

.qr-card p{
    font-size: 18px !important;
    font-weight: 400 !important;
    color: rgba(255,255,255,0.92) !important;
    text-align: center !important;
    line-height: 1.7 !important;
    max-width: 420px !important;
    margin: 0 auto 30px auto !important;
    letter-spacing: 0.3px !important;
}

/* QR Registration Cards */
.qr-section-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    color: #6f5e59;
}

.qr-scan-hint {
    text-align: center;
    margin-top: 16px;
    font-size: 0.95rem;
    color: #6f5e59;
}

.qr-card-badge {
    display: inline-block;
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--maroon);
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}

.qr-intro {
    color: #6f5e59;
    margin-bottom: 1rem;
}

.qr-eligibility {
    margin-bottom: 1.5rem;
    padding: 12px 16px;
    background: var(--muted);
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 0.95rem;
}

.qr-tier-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

.qr-tier {
    padding: 20px;
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.qr-tier h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.qr-tier-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--maroon);
    font-family: var(--serif);
    margin-bottom: 4px;
}

.qr-tier-price small {
    font-size: 0.85rem;
    font-weight: 400;
    color: #6f5e59;
}

.qr-tier p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.qr-tier .services-list {
    margin-top: 12px;
    gap: 6px;
}

.qr-tier .services-list li {
    padding: 8px 12px;
    font-size: 0.85rem;
}

.qr-note {
    margin-top: 20px;
    padding: 16px;
    background: var(--muted);
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .qr-tier-grid {
        grid-template-columns: 1fr;
    }
}

.qr-card-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    animation: qrFadeInUp 0.6s ease both;
}

.qr-card-left {
    flex: 1;
}

.qr-card-right {
    flex: 0 0 280px;
    text-align: center;
    animation: qrFadeInUp 0.6s ease 0.2s both;
}

@media (max-width: 768px) {
    .qr-card-layout {
        flex-direction: column;
    }

    .qr-card-right {
        flex: 1;
    }
}
/* Membership QR */
/* Membership QR */
.membership-qr {
    margin-top: 241px;
}

/* Volunteer QR */
.volunteer-qr {
    margin-top: 165px; /* Change as needed */
}

.qr-cards-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 45px;
}

.qr-divider {
    height: 1px;
    background: var(--border);
    margin: 0 auto;
    max-width: 600px;
}

@keyframes qrFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.join-nav {
    position: sticky;
    top: 76px;
    z-index: 90;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    overflow-x: auto;
    white-space: nowrap;
}

.join-nav .container {
    display: flex;
    gap: 8px;
}

.join-nav a {
    display: inline-block;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--maroon);
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 999px;
    transition: all 0.2s ease;
}

.join-nav a:hover,
.join-nav a:focus {
    background: var(--maroon);
    color: #fff;
    border-color: var(--maroon);
}

.form-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.form-row > label {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.form-row > label input,
.form-row > label select,
.form-row > label textarea {
    width: 100%;
}

[id] {
    scroll-margin-top: 80px;
}

.section-divider {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0px auto;
    height: 4px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(107, 45, 47, 0.18),
        rgba(200, 154, 75, 0.55),
        rgba(107, 45, 47, 0.18),
        transparent
    );
}

.section-divider::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #F8F2E8;
    color: #C89A4B;
    padding: 0 18px;
    font-size: 20px;
}

.qr-divider {
    position: relative;
    width: 70%;
    height: 1px;
    margin: 50px auto;
    background: linear-gradient(
        to right,
        transparent,
        rgba(200, 154, 75, 0.4),
        rgba(107, 45, 47, 0.8),
        rgba(200, 154, 75, 0.4),
        transparent
    );
    overflow: hidden;
}

.qr-divider::after {
    content: "";
    position: absolute;
    top: 0;
    left: -30%;
    width: 30%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.9),
        transparent
    );
    animation: dividerShine 3s linear infinite;
}

@keyframes dividerShine {
    from {
        left: -30%;
    }
    to {
        left: 130%;
    }
}
