/* =========================================================
   BHABANIPUR TEMPLE COMPLEX
   Sacred Shakta Pitha — Premium Heritage Website
   ========================================================= */

:root {
    --maroon-deep: #5a1a1a;
    --maroon: #7a2a2a;
    --maroon-rich: #8b2c2c;
    --gold: #c9a14a;
    --gold-bright: #e0bd5e;
    --gold-deep: #a07a2a;
    --ivory: #faf6ee;
    --ivory-warm: #f5ede0;
    --sandstone: #e8d9b8;
    --sandstone-deep: #cfb481;
    --midnight: #1a2238;
    --midnight-deep: #0f1626;
    --saffron: #d97a2a;
    --saffron-bright: #e89940;
    --ink: #2a1f18;
    --ink-soft: #4a3a2c;
    --line: rgba(122, 42, 42, 0.16);
    --line-gold: rgba(201, 161, 74, 0.3);
    --shadow-soft: 0 10px 40px rgba(26, 34, 56, 0.08);
    --shadow-deep: 0 20px 60px rgba(26, 34, 56, 0.18);
    --shadow-gold: 0 10px 40px rgba(201, 161, 74, 0.18);
    --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
    --serif-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    --sans: "Inter", "Helvetica Neue", -apple-system, BlinkMacSystemFont, sans-serif;
    --decorative: "Cinzel", "Cormorant Garamond", serif;
    --container: 1240px;
    --radius: 4px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--ivory);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .3s ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

::selection {
    background: var(--maroon);
    color: var(--gold-bright);
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif-display);
    font-weight: 500;
    color: var(--maroon-deep);
    line-height: 1.18;
    letter-spacing: -0.005em;
}

.eyebrow {
    font-family: var(--decorative);
    text-transform: uppercase;
    letter-spacing: 0.32em;
    font-size: 0.72rem;
    color: var(--gold-deep);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.2rem;
}

.eyebrow::before {
    content: "❖";
    margin-right: 0.7em;
    color: var(--gold);
    letter-spacing: 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    margin-bottom: 1.4rem;
    font-weight: 500;
}

.section-subtitle {
    font-family: var(--serif);
    font-size: 1.18rem;
    font-style: italic;
    color: var(--ink-soft);
    margin-bottom: 2rem;
    max-width: 640px;
    line-height: 1.6;
}

.divider-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.4rem 0;
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 1em;
}

.divider-ornament::before,
.divider-ornament::after {
    content: "";
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
    margin: 0 1rem;
}

/* ---------- CONTAINER & LAYOUT ---------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 7rem 0;
    position: relative;
}

.section-tight {
    padding: 5rem 0;
}

.bg-ivory  { background: var(--ivory); }
.bg-sand   { background: var(--ivory-warm); }
.bg-maroon { background: var(--maroon-deep); color: var(--ivory); }
.bg-midnight { background: var(--midnight-deep); color: var(--ivory); }

.bg-pattern {
    background:
        radial-gradient(circle at 20% 30%, rgba(201,161,74,0.06), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(122,42,42,0.05), transparent 40%),
        var(--ivory);
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1rem 2.2rem;
    font-family: var(--decorative);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: var(--radius);
    transition: all 0.4s cubic-bezier(.2,.8,.3,1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--maroon-deep), var(--maroon-rich));
    color: var(--gold-bright);
    border-color: var(--gold);
    box-shadow: 0 8px 26px rgba(90, 26, 26, 0.28);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--maroon-rich), var(--maroon));
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(90, 26, 26, 0.42);
}

.btn-secondary {
    background: transparent;
    color: var(--ivory);
    border-color: var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--maroon-deep);
}

.btn-ghost {
    background: transparent;
    color: var(--maroon-deep);
    border-color: var(--maroon-deep);
}

.btn-ghost:hover {
    background: var(--maroon-deep);
    color: var(--gold-bright);
}

/* ---------- HEADER / NAV ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(250, 246, 238, 0.94);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line-gold);
    transition: all 0.4s ease;
}

.site-header.scrolled {
    background: rgba(250, 246, 238, 0.98);
    box-shadow: 0 2px 30px rgba(0,0,0,0.04);
}

.nav-bar {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0.95rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    flex-wrap: nowrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-family: var(--decorative);
    color: var(--maroon-deep);
}

.brand-mark {
    width: 46px;
    height: 46px;
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-deep);
    background: var(--ivory);
    font-size: 1.3rem;
    flex-shrink: 0;
    position: relative;
}

.brand-mark::before {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    opacity: 0.5;
}

.brand-text {
    line-height: 1.1;
}

.brand-name {
    font-size: 1.18rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--maroon-deep);
}

.brand-sub {
    font-family: var(--serif);
    font-size: 0.78rem;
    font-style: italic;
    color: var(--ink-soft);
    letter-spacing: 0.04em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-links a {
    font-family: var(--sans);
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    white-space: nowrap;
    color: var(--ink-soft);
    position: relative;
    padding: 0.4rem 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--maroon-deep);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    padding: 0.7rem 1.5rem;
    font-size: 0.72rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
}

.menu-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--maroon-deep);
    transition: 0.3s;
}

/* ---------- HERO BASE ---------- */
.page-hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--ivory);
    padding: 8rem 2rem 5rem;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(15,22,38,0.7) 0%,
        rgba(90,26,26,0.55) 50%,
        rgba(15,22,38,0.78) 100%);
    z-index: 1;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.02); }
    to   { transform: scale(1.1); }
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 880px;
}

.page-hero h1 {
    color: var(--ivory);
    font-size: clamp(2.4rem, 5.5vw, 4.6rem);
    margin-bottom: 1.2rem;
    font-weight: 400;
}

.page-hero p {
    font-family: var(--serif);
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    font-style: italic;
    color: rgba(250, 246, 238, 0.92);
    max-width: 700px;
    margin: 0 auto;
}

.page-hero .eyebrow {
    color: var(--gold-bright);
}

/* ---------- HOME HERO ---------- */
.home-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--ivory);
    overflow: hidden;
    padding-top: 80px;
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/Bhabani-mata-temple-top-1933291.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
    transform: scale(1.05);
    animation: heroZoom 24s ease-in-out infinite alternate;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        rgba(15,22,38,0.85) 0%,
        rgba(90,26,26,0.55) 60%,
        rgba(15,22,38,0.55) 100%);
    z-index: 1;
}

.home-hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    width: 100%;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.home-hero h1 {
    color: var(--ivory);
    font-size: clamp(2.6rem, 6.5vw, 5.6rem);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 1.6rem;
    max-width: 880px;
}

.home-hero h1 em {
    color: var(--gold-bright);
    font-style: italic;
    font-family: var(--serif);
}

.home-hero p.lead {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-style: italic;
    color: rgba(250,246,238,0.94);
    max-width: 620px;
    margin-bottom: 2.6rem;
    line-height: 1.55;
}

.home-hero .eyebrow {
    color: var(--gold-bright);
}

.home-hero .hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold-bright);
    font-family: var(--decorative);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    z-index: 3;
    text-align: center;
}

.scroll-indicator::after {
    content: "";
    display: block;
    width: 1px;
    height: 50px;
    background: var(--gold-bright);
    margin: 0.6rem auto 0;
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
    50%      { transform: scaleY(1); opacity: 1; }
}

/* ---------- GRID UTILITIES ---------- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
}

/* ---------- CARDS ---------- */
.feature-card {
    background: var(--ivory);
    padding: 2.6rem 2rem;
    border: 1px solid var(--line);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-deep);
    border-color: var(--gold);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card .num {
    font-family: var(--serif-display);
    font-size: 2.4rem;
    color: var(--gold);
    margin-bottom: 1rem;
    font-style: italic;
    line-height: 1;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.9rem;
}

.feature-card p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------- IMAGE FRAMES ---------- */
.img-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--sandstone);
}

.img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s ease;
}

.img-frame:hover img {
    transform: scale(1.04);
}

.img-frame.aspect-4-3   { aspect-ratio: 4/3; }
.img-frame.aspect-3-4   { aspect-ratio: 3/4; }
.img-frame.aspect-16-9  { aspect-ratio: 16/9; }
.img-frame.aspect-1     { aspect-ratio: 1/1; }
.img-frame.aspect-21-9  { aspect-ratio: 21/9; }

.img-bordered {
    border: 1px solid var(--line-gold);
    box-shadow: var(--shadow-deep);
}

.img-bordered::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(201,161,74,0.45);
    pointer-events: none;
    z-index: 2;
}

/* ---------- TEMPLE HIGHLIGHTS / SLIDER ---------- */
.highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}

.highlight-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
    background: var(--midnight-deep);
}

.highlight-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.7s ease;
    filter: brightness(0.85);
}

.highlight-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,22,38,0.92) 0%, rgba(15,22,38,0.2) 50%, transparent 100%);
}

.highlight-card .label {
    position: absolute;
    bottom: 1.6rem;
    left: 1.6rem;
    right: 1.6rem;
    color: var(--ivory);
    z-index: 2;
}

.highlight-card .label .small {
    font-family: var(--decorative);
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    color: var(--gold-bright);
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    display: block;
}

.highlight-card .label h4 {
    color: var(--ivory);
    font-size: 1.4rem;
    font-weight: 500;
}

.highlight-card:hover img {
    transform: scale(1.08);
    filter: brightness(1);
}

/* ---------- QUOTE BLOCK ---------- */
.quote-block {
    text-align: center;
    padding: 7rem 2rem;
    background: var(--maroon-deep);
    color: var(--ivory);
    position: relative;
    overflow: hidden;
}

.quote-block::before,
.quote-block::after {
    content: "❖";
    position: absolute;
    color: var(--gold);
    opacity: 0.18;
    font-size: 8rem;
}

.quote-block::before { top: 2rem; left: 4%; }
.quote-block::after  { bottom: 2rem; right: 4%; }

.quote-block .quote-symbol {
    color: var(--gold);
    font-size: 3rem;
    font-family: var(--serif-display);
    line-height: 1;
    margin-bottom: 1rem;
}

.quote-block blockquote {
    font-family: var(--serif-display);
    font-size: clamp(1.4rem, 2.6vw, 2.4rem);
    font-style: italic;
    line-height: 1.4;
    max-width: 880px;
    margin: 0 auto 1.6rem;
    color: var(--ivory);
    font-weight: 400;
}

.quote-block cite {
    font-family: var(--decorative);
    font-style: normal;
    font-size: 0.78rem;
    letter-spacing: 0.32em;
    color: var(--gold-bright);
    text-transform: uppercase;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--midnight-deep);
    color: rgba(250,246,238,0.78);
    padding: 5rem 0 0;
    position: relative;
    margin-top: 0;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3.5rem;
}

.footer-col {
    min-width: 0;
}

.footer-col h5 {
    color: var(--gold-bright);
    font-family: var(--decorative);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 1.4rem;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
}

.footer-col a {
    color: rgba(250,246,238,0.72);
    font-size: 0.92rem;
    transition: color 0.3s;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--gold-bright);
}

.footer-brand .brand {
    color: var(--ivory);
    margin-bottom: 1.2rem;
}

.footer-brand .brand-mark {
    background: transparent;
    color: var(--gold-bright);
    border-color: var(--gold-bright);
}

.footer-brand .brand-name {
    color: var(--ivory);
}

.footer-brand .brand-sub {
    color: var(--gold-bright);
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.75;
    color: rgba(250,246,238,0.7);
    max-width: 360px;
    margin: 0 0 1.4rem;
}

ul.social-links,
.footer-col ul.social-links {
    display: flex;
    flex-direction: row;
    gap: 0.55rem;
    margin: 0;
    list-style: none;
    padding: 0;
    flex-wrap: nowrap;
    align-items: center;
}

ul.social-links li {
    list-style: none;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

ul.social-links a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(201,161,74,0.4);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-bright);
    transition: 0.3s;
    flex-shrink: 0;
}

ul.social-links a:hover {
    background: var(--gold);
    color: var(--maroon-deep);
    border-color: var(--gold);
    transform: translateY(-2px);
}

ul.social-links svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    display: block;
}

.footer-contact-line {
    font-size: 0.92rem;
    line-height: 1.9;
    color: rgba(250,246,238,0.78);
    margin: 0;
    word-break: break-word;
}

.footer-contact-line strong {
    color: var(--ivory);
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.footer-contact-line a {
    color: rgba(250,246,238,0.78);
    transition: color 0.3s;
}

.footer-contact-line a:hover {
    color: var(--gold-bright);
}

.footer-bottom {
    border-top: 1px solid rgba(201,161,74,0.2);
    padding: 1.6rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.84rem;
    color: rgba(250,246,238,0.6);
}

.footer-bottom a {
    color: var(--gold-bright);
    text-decoration: none;
    transition: 0.3s;
}

.footer-bottom a:hover {
    color: var(--ivory);
    text-decoration: underline;
}

/* ---------- BREADCRUMBS / PAGE INTRO ---------- */
.intro-block {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 4rem;
}

.intro-block.left {
    margin: 0;
    text-align: left;
}

/* ---------- LISTS ---------- */
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    padding-left: 2rem;
    position: relative;
    color: var(--ink-soft);
    line-height: 1.7;
}

.feature-list li::before {
    content: "❖";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold);
    font-size: 0.9rem;
}

/* ---------- TIMELINE ---------- */
.timeline {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem 3rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 2.6rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--ivory);
    box-shadow: 0 0 0 2px var(--gold);
}

.timeline-item:nth-child(odd)::before  { right: -7px; }
.timeline-item:nth-child(even)::before { left: -7px; }

.timeline-item .year {
    font-family: var(--decorative);
    font-size: 0.75rem;
    letter-spacing: 0.28em;
    color: var(--gold-deep);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    display: block;
}

.timeline-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: var(--ink-soft);
    font-size: 0.95rem;
}

/* ---------- MANAGEMENT PROFILES ---------- */
.management-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 980px;
    margin: 0 auto;
}

.profile-card {
    background: var(--ivory);
    border: 1px solid var(--line-gold);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(.2,.8,.3,1);
    position: relative;
    text-align: center;
}

.profile-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    pointer-events: none;
    transition: 0.4s;
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-deep);
    border-color: var(--gold);
}

.profile-card:hover::before {
    inset: 8px;
    border-color: rgba(201,161,74,0.45);
}

.profile-img {
    aspect-ratio: 4/4;
    overflow: hidden;
    background: var(--sandstone);
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 0.7s ease;
}

.profile-card:hover .profile-img img {
    transform: scale(1.05);
}

.profile-body {
    padding: 2rem 1.6rem 2.2rem;
}

.profile-body h3 {
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
}

.profile-role {
    font-family: var(--decorative);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold-deep);
    margin-bottom: 0.9rem;
}

.profile-tagline {
    font-family: var(--serif);
    font-style: italic;
    color: var(--ink-soft);
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 1.2rem;
}

.profile-cta {
    font-family: var(--decorative);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--maroon-deep);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 4px;
    display: inline-block;
    transition: 0.3s;
}

.profile-card:hover .profile-cta {
    color: var(--gold-deep);
}

/* ---------- MODAL ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,22,38,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal {
    background: var(--ivory);
    width: 100%;
    max-width: 920px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.95);
    opacity: 0;
    transition: 0.5s cubic-bezier(.2,.8,.3,1);
    border: 1px solid var(--gold);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.modal-overlay.active .modal {
    transform: scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--maroon-deep);
    color: var(--gold-bright);
    border: 1px solid var(--gold);
    font-size: 1.3rem;
    z-index: 2;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--gold);
    color: var(--maroon-deep);
}

.modal-header {
    background: linear-gradient(135deg, var(--maroon-deep), var(--maroon-rich));
    color: var(--ivory);
    padding: 3rem 3rem 2.4rem;
    border-bottom: 2px solid var(--gold);
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1.8rem;
    align-items: center;
}

.modal-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gold);
    box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}

.modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.modal-header h2 {
    color: var(--ivory);
    font-size: 2rem;
    margin-bottom: 0.4rem;
}

.modal-header .role {
    font-family: var(--decorative);
    font-size: 0.78rem;
    color: var(--gold-bright);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 0.5rem;
}

.modal-header .tagline {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1rem;
    color: rgba(250,246,238,0.92);
}

.modal-body {
    padding: 3rem 3rem 3rem;
}

.modal-body h3 {
    font-size: 1.2rem;
    margin: 1.6rem 0 0.8rem;
    color: var(--maroon-deep);
    font-family: var(--decorative);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--line-gold);
    padding-bottom: 0.4rem;
}

.modal-body h3:first-child { margin-top: 0; }

.modal-body p, .modal-body li {
    color: var(--ink-soft);
    font-size: 0.96rem;
    line-height: 1.75;
    margin-bottom: 0.85rem;
}

.modal-body ul {
    padding-left: 0;
    list-style: none;
}

.modal-body ul li {
    padding-left: 1.6rem;
    position: relative;
    margin-bottom: 0.6rem;
}

.modal-body ul li::before {
    content: "❖";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold);
    font-size: 0.7rem;
}

.modal-body strong {
    color: var(--maroon-deep);
    font-weight: 600;
}

.achievement-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.6rem;
    font-size: 0.92rem;
}

.achievement-table td {
    border: 1px solid var(--line);
    padding: 0.7rem 0.9rem;
    color: var(--ink-soft);
    vertical-align: top;
}

.achievement-table td:first-child {
    background: var(--ivory-warm);
    color: var(--maroon-deep);
    font-weight: 600;
    width: 32%;
}

/* ---------- GALLERY ---------- */
.gallery-grid {
    columns: 3;
    column-gap: 1.4rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.4rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--sandstone);
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(15,22,38,0.85));
    opacity: 0;
    transition: 0.4s;
}

.gallery-item .gallery-caption {
    position: absolute;
    bottom: 1rem;
    left: 1.2rem;
    right: 1.2rem;
    color: var(--ivory);
    z-index: 2;
    font-family: var(--decorative);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transform: translateY(10px);
    opacity: 0;
    transition: 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15,22,38,0.95);
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active { display: flex; }

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border: 1px solid var(--gold);
    box-shadow: 0 20px 80px rgba(0,0,0,0.6);
}

.lightbox-close {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--maroon-deep);
    color: var(--gold-bright);
    font-size: 1.4rem;
    border: 1px solid var(--gold);
}

/* ---------- CONTACT ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    background: var(--maroon-deep);
    color: var(--ivory);
    padding: 3.4rem 3rem;
    position: relative;
}

.contact-info::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(201,161,74,0.3);
    pointer-events: none;
}

.contact-info h2 {
    color: var(--ivory);
    margin-bottom: 1rem;
}

.contact-info .eyebrow {
    color: var(--gold-bright);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(201,161,74,0.18);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-bright);
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
}

.contact-info-item h4 {
    color: var(--gold-bright);
    font-family: var(--decorative);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 0.3rem;
}

.contact-info-item p,
.contact-info-item a {
    color: var(--ivory);
    font-size: 1.02rem;
    line-height: 1.6;
}

.contact-info-item a:hover {
    color: var(--gold-bright);
}

.contact-form-card {
    background: var(--ivory);
    padding: 3.4rem 3rem;
    border: 1px solid var(--line-gold);
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 1.4rem;
}

.form-group label {
    display: block;
    font-family: var(--decorative);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--maroon-deep);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    background: var(--ivory-warm);
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--ink);
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--ivory);
    box-shadow: 0 0 0 3px rgba(201,161,74,0.12);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-success {
    display: none;
    padding: 1.2rem 1.4rem;
    background: rgba(201,161,74,0.12);
    color: var(--gold-deep);
    border-left: 3px solid var(--gold);
    margin-bottom: 1.4rem;
    font-size: 0.95rem;
}

.form-success.active { display: block; }

/* ---------- STATS ---------- */
.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line-gold);
    border: 1px solid var(--line-gold);
    margin-top: 3rem;
}

.stat-item {
    background: var(--ivory);
    padding: 2.4rem 1.5rem;
    text-align: center;
}

.stat-num {
    font-family: var(--serif-display);
    font-size: 2.6rem;
    color: var(--maroon-deep);
    line-height: 1;
    margin-bottom: 0.4rem;
    font-weight: 500;
    font-style: italic;
}

.stat-num small {
    font-size: 0.6em;
    color: var(--gold-deep);
    margin-left: 4px;
}

.stat-label {
    font-family: var(--decorative);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

/* ---------- INFO LIST CARDS ---------- */
.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.info-card {
    padding: 2.2rem;
    background: var(--ivory);
    border-left: 3px solid var(--gold);
    border-radius: 0 4px 4px 0;
    box-shadow: var(--shadow-soft);
    transition: 0.3s;
}

.info-card:hover {
    transform: translateX(5px);
    border-color: var(--maroon-deep);
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
    color: var(--maroon-deep);
}

.info-card p {
    color: var(--ink-soft);
    font-size: 0.95rem;
}

/* ---------- ANIMATE ON SCROLL ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .highlights { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 2.5rem; }
    .footer-brand { grid-column: 1 / -1; padding-bottom: 1.4rem; border-bottom: 1px solid rgba(201,161,74,0.15); }
    .footer-brand p { max-width: 560px; }
    .gallery-grid { columns: 2; }
    .stat-row { grid-template-columns: repeat(2, 1fr); }
    .management-grid { grid-template-columns: 1fr; max-width: 540px; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .modal-header { grid-template-columns: 1fr; text-align: center; padding: 2.5rem 2rem; }
    .modal-photo { margin: 0 auto; }
}

@media (max-width: 1080px) {
    .nav-links { gap: 1.2rem; }
    .nav-links a { font-size: 0.78rem; letter-spacing: 0.1em; }
    .brand-sub { display: none; }
    .nav-bar { gap: 1.2rem; }
}

@media (max-width: 920px) {
    .nav-links { display: none; }
    .nav-links.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--ivory);
        flex-direction: column;
        padding: 2rem;
        gap: 1.4rem;
        border-bottom: 1px solid var(--line-gold);
        box-shadow: var(--shadow-soft);
    }
    .menu-toggle { display: flex; }
}

@media (max-width: 768px) {
    .nav-cta { display: none; }
    .section { padding: 4.5rem 0; }
    .home-hero h1 { font-size: 2.6rem; }
    .timeline::before { left: 20px; }
    .timeline-item, .timeline-item:nth-child(even) {
        width: 100%; left: 0; padding-left: 3.5rem; padding-right: 1rem; text-align: left;
    }
    .timeline-item::before, .timeline-item:nth-child(odd)::before, .timeline-item:nth-child(even)::before {
        left: 13px; right: auto;
    }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .info-cards { grid-template-columns: 1fr; }
    .gallery-grid { columns: 1; }
    .stat-row { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .quote-block blockquote { font-size: 1.4rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
    .footer-brand { grid-column: auto; padding-bottom: 0; border-bottom: none; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .container { padding: 0 1.4rem; }
    .modal-body, .modal-header { padding: 2rem 1.4rem; }
    .contact-info, .contact-form-card { padding: 2.4rem 1.6rem; }
    .home-hero p.lead { font-size: 1.1rem; }
}

/* =========================================================
   LANGUAGE SWITCHER (EN | BN) + BENGALI TYPOGRAPHY
   Additive only — does not affect existing layout/spacing.
   ========================================================= */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    margin-left: 0.4rem;
    border: 1px solid var(--gold);
    border-radius: 999px;
    background: var(--ivory);
    overflow: hidden;
    line-height: 1;
}
.lang-switch button {
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0.4rem 0.85rem;
    font-family: var(--decorative);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
    cursor: pointer;
    transition: 0.25s ease;
    font-weight: 600;
}
.lang-switch button + button {
    border-left: 1px solid var(--gold);
}
.lang-switch button:hover {
    color: var(--maroon-deep);
    background: rgba(201,161,74,0.08);
}
.lang-switch button.active {
    background: var(--maroon-deep);
    color: var(--gold-bright);
}
.lang-switch button[data-lang="bn"] {
    font-family: "Noto Sans Bengali", "Hind Siliguri", var(--decorative);
    letter-spacing: 0.06em;
}

/* Bengali typography — applied when html[lang="bn"] */
html[lang="bn"] body,
html[lang="bn"] p,
html[lang="bn"] li,
html[lang="bn"] span,
html[lang="bn"] a,
html[lang="bn"] td,
html[lang="bn"] label,
html[lang="bn"] input,
html[lang="bn"] textarea,
html[lang="bn"] button,
html[lang="bn"] .brand-sub,
html[lang="bn"] .nav-links a,
html[lang="bn"] .eyebrow,
html[lang="bn"] .section-subtitle,
html[lang="bn"] blockquote,
html[lang="bn"] cite {
    font-family: "Noto Sans Bengali", "Hind Siliguri", "Inter", system-ui, sans-serif;
}
html[lang="bn"] h1,
html[lang="bn"] h2,
html[lang="bn"] h3,
html[lang="bn"] h4,
html[lang="bn"] h5,
html[lang="bn"] .section-title,
html[lang="bn"] .brand-name,
html[lang="bn"] .festival-month .name,
html[lang="bn"] .route-card .route-distance {
    font-family: "Noto Serif Bengali", "Hind Siliguri", "Cormorant Garamond", Georgia, serif;
}
html[lang="bn"] .nav-links a,
html[lang="bn"] .eyebrow,
html[lang="bn"] .brand-name {
    letter-spacing: 0.04em;
}
html[lang="bn"] .nav-links a {
    font-size: 0.86rem;
    text-transform: none;
}
html[lang="bn"] .eyebrow {
    text-transform: none;
    font-size: 0.78rem;
}
html[lang="bn"] .section-title {
    line-height: 1.35;
}
html[lang="bn"] blockquote {
    font-style: normal;
    line-height: 1.7;
}

/* Mobile placement: keep the switcher visible inline before the burger */
@media (max-width: 920px) {
    .lang-switch { margin-left: auto; margin-right: 0.4rem; }
}
@media (max-width: 480px) {
    .lang-switch button { padding: 0.35rem 0.7rem; font-size: 0.66rem; }
}
