﻿/* ===== Peepals Care — professional slate + teal (single UI language) =====
   Legacy var names (--forest-*) kept for compatibility; values map to slate/teal.
   Alt palettes: (1) Navy #1e3a5f + amber #d97706 (2) Charcoal #292524 + rose #e11d48 (3) Keep teal, swap surface to #fafafa for warmer white.
*/

:root {
    --forest-950: #0f172a;
    --forest-900: #1e293b;
    --forest-800: #0f766e;
    --forest-700: #0d9488;
    --forest-600: #14b8a8;
    --forest-500: #2dd4bf;
    --moss-200: #ccfbf1;
    --moss-100: #f0fdfa;
    --sand-100: #f8fafc;
    --sand-200: #f1f5f9;
    --sand-300: #e2e8f0;
    --clay-100: #f1f5f9;
    --gold-400: #0d9488;
    --ink-950: #020617;
    --ink-800: #334155;
    --ink-700: #475569;
    --ink-500: #64748b;
    --white: #ffffff;
    --surface: #eef2f6;
    --surface-elevated: #ffffff;
    --outline: rgba(15, 23, 42, 0.1);
    --shadow-1: 0 1px 2px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.08);
    --shadow-2: 0 4px 12px rgba(15, 23, 42, 0.07), 0 2px 4px rgba(15, 23, 42, 0.05);
    --shadow-soft: var(--shadow-1);
    --shadow-medium: var(--shadow-2);
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-btn: 0.625rem;
    --font-body: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body-hi: "Noto Sans Devanagari", system-ui, sans-serif;
    --font-display: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --text-body-lg: 1.0625rem;
    --leading-body: 1.68;
    --leading-tight: 1.22;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink-950);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: var(--leading-body);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

html[lang="hi"] body {
    font-family: var(--font-body-hi);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--forest-950);
    line-height: var(--leading-tight);
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: -0.015em;
}

html[lang="hi"] h1,
html[lang="hi"] h2,
html[lang="hi"] h3,
html[lang="hi"] h4,
html[lang="hi"] h5,
html[lang="hi"] h6 {
    font-family: var(--font-body-hi);
}

a {
    color: var(--forest-700);
}

a:hover,
a:focus {
    color: var(--forest-900);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.skip-link {
    position: absolute;
    top: -3rem;
    left: 1rem;
    z-index: 1000;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: var(--forest-900);
    color: var(--white);
}

.skip-link:focus {
    top: 1rem;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--outline);
    box-shadow: var(--shadow-1);
}

.site-main {
    flex: 1 0 auto;
    padding: 0 0 5rem;
}

.navbar-peepals {
    padding: 0.65rem 0;
    --bs-navbar-color: var(--ink-800);
    --bs-navbar-hover-color: var(--forest-900);
    --bs-navbar-active-color: var(--forest-900);
}

.navbar-peepals.navbar-light .navbar-toggler {
    border-color: var(--outline);
}

.navbar-peepals.navbar-light .navbar-toggler-icon {
    filter: invert(10%) sepia(12%) saturate(800%) hue-rotate(182deg) brightness(96%) contrast(94%);
}

.brand-lockup {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--forest-950) !important;
}

.brand-mark {
    width: 3.35rem;
    height: 3.35rem;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--outline);
    box-shadow: var(--shadow-1);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-name {
    font-size: 1.32rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--forest-950);
}

.brand-name--nav {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.brand-tagline {
    font-size: 0.8rem;
    line-height: 1.3;
    color: var(--ink-700);
}

.primary-nav-list {
    flex-wrap: nowrap;
}

.navbar-peepals__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

@media (min-width: 1200px) {
    .navbar-peepals__bar {
        flex-wrap: nowrap;
        gap: 0.75rem;
    }

    .navbar-peepals .navbar-peepals__collapse.w-100 {
        width: auto !important;
    }

    .navbar-peepals .navbar-peepals__collapse {
        flex: 1 1 auto;
        min-width: 0;
        justify-content: center;
    }

    .navbar-peepals .navbar-peepals__list {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

#home-initiatives {
    scroll-margin-top: 5.75rem;
}

.page-section--home-hero {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.home-hero-fluid {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 0;
}

@media (min-width: 768px) {
    .home-hero-fluid {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .home-hero-fluid {
        max-width: 1000px;
    }
}

.home-welcome-band {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.home-welcome-band .hero-card {
    box-shadow: var(--shadow-2);
}

/* Home: welcome, story, Sarovar, recognition — balanced panels + imagery */
.home-split {
    align-items: stretch;
}

.home-content-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.home-hero-photo {
    min-height: 20rem;
    box-shadow: var(--shadow-medium);
}

.home-hero-photo img {
    min-height: 20rem;
    max-height: 34rem;
    object-fit: cover;
}

@media (min-width: 992px) {
    .home-hero-photo {
        min-height: 22rem;
    }

    .home-hero-photo img {
        min-height: 22rem;
    }
}

.home-media-column {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.check-list {
    margin: 0.25rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0;
    color: var(--ink-800);
    font-size: var(--text-body-lg);
    font-weight: 600;
    line-height: var(--leading-body);
}

.check-list .fa-circle-check {
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: var(--forest-800);
    font-size: 1.05rem;
}

.detail-list--checks li::before {
    content: "✓";
    top: 0.12rem;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: var(--forest-800);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-actions--welcome {
    align-items: center;
}

.text-link-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 0.25rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--forest-900);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: color 0.15s ease, background-color 0.15s ease;
}

.text-link-cta:hover,
.text-link-cta:focus-visible {
    color: var(--forest-950);
    background: rgba(13, 148, 136, 0.08);
}

.text-link-cta__arrow {
    font-size: 1.05em;
    line-height: 1;
    transform: translateY(1px);
}

.cta-row--linkish {
    margin-top: 0.5rem;
}

.media-frame--press {
    min-height: 18rem;
    padding: 0.75rem 0.65rem;
    background: #eef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-frame--press img {
    width: 100%;
    height: auto;
    max-height: min(32rem, 70vh);
    min-height: 0;
    object-fit: contain;
    object-position: center;
    border-radius: calc(var(--radius-lg) - 0.5rem);
}

.media-frame--recognition {
    min-height: 16rem;
}

.media-frame--recognition img {
    min-height: 16rem;
    max-height: 22rem;
    object-fit: cover;
    object-position: center top;
}

@media (max-width: 991.98px) {
    .home-media-column--first {
        order: -1;
    }
}

.section-intro--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-intro--center .section-kicker {
    margin-left: auto;
    margin-right: auto;
}

.section-intro--center .section-summary {
    margin-left: auto;
    margin-right: auto;
}

.metric-strip--home {
    gap: 1.25rem;
}

.metric-strip--home .metric-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--surface-elevated);
    border: 1px solid var(--outline);
    box-shadow: var(--shadow-1);
}

.metric-strip--home .metric-card strong {
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
}

.cta-row--center {
    justify-content: center;
    margin-top: 1.5rem;
}

.callout-banner--cta-wide {
    padding: 2.25rem 1.75rem;
}

@media (min-width: 768px) {
    .callout-banner--cta-wide {
        padding: 2.75rem 2.5rem;
    }
}

.nav-pill {
    margin: 0.15rem 0.1rem;
    padding: 0.55rem 0.85rem !important;
    border-radius: var(--radius-btn);
    color: var(--ink-800) !important;
    white-space: nowrap;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.nav-pill:hover,
.nav-pill:focus {
    color: var(--forest-900) !important;
    background: rgba(13, 148, 136, 0.1);
}

.nav-pill.active {
    color: var(--forest-900) !important;
    background: rgba(13, 148, 136, 0.16);
    box-shadow: inset 0 0 0 1px rgba(13, 148, 136, 0.22);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-left: 1rem;
}

.language-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--outline);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: var(--forest-900);
    font-size: 0.9rem;
    font-weight: 600;
}

.language-toggle__current {
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: rgba(13, 148, 136, 0.12);
}

.language-toggle__target {
    color: var(--ink-700);
}

.navbar-toggler {
    border: 1px solid var(--outline);
    border-radius: var(--radius-md);
    padding: 0.55rem 0.75rem;
}

.navbar-toggler:focus,
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus,
.nav-link:focus,
a:focus-visible,
button:focus-visible {
    box-shadow: 0 0 0 0.18rem rgba(255, 255, 255, 0.95), 0 0 0 0.35rem rgba(13, 148, 136, 0.35) !important;
    outline: none;
}

.page-section {
    padding: 2.75rem 0;
}

.page-section--tight {
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
}

.page-hero,
.page-header {
    padding: 2rem 0 1rem;
}

.page-hero__grid,
.page-header__grid,
.split-panel,
.content-grid,
.contact-grid {
    display: grid;
    gap: 1.5rem;
}

.page-hero__grid,
.page-header__grid,
.split-panel,
.contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split-panel {
    align-items: center;
}

.page-kicker,
.section-kicker,
.footer-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    background: rgba(13, 148, 136, 0.12);
    color: var(--forest-900);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-title {
    font-size: clamp(2.15rem, 3.4vw, 3.25rem);
    letter-spacing: -0.035em;
    line-height: 1.08;
    font-family: var(--font-body);
    font-weight: 800;
}

html[lang="hi"] .page-title {
    font-family: var(--font-body-hi);
    font-weight: 800;
}

.page-subtitle,
.body-lead,
.section-summary {
    max-width: 58ch;
    color: var(--ink-800);
    font-size: var(--text-body-lg);
    font-weight: 500;
    line-height: var(--leading-body);
}

.hero-actions,
.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.75rem;
}

.btn,
.btn-primary,
.btn-outline-primary,
.btn-outline-light,
.btn-success {
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    padding: 0.72rem 1.35rem;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: none;
}

.btn-primary,
.btn-success,
.btn-peepals {
    border-color: var(--forest-800) !important;
    background: var(--forest-800) !important;
    color: var(--white) !important;
    box-shadow: var(--shadow-1);
}

.btn-primary:hover,
.btn-success:hover,
.btn-peepals:hover {
    border-color: var(--forest-900) !important;
    background: var(--forest-900) !important;
    color: var(--white) !important;
    box-shadow: var(--shadow-2);
}

.btn-outline-primary {
    border: 1px solid var(--outline) !important;
    background: var(--surface-elevated) !important;
    color: var(--forest-900) !important;
    box-shadow: var(--shadow-1);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus-visible {
    background: var(--moss-100) !important;
    border-color: rgba(13, 148, 136, 0.35) !important;
    color: var(--forest-950) !important;
}

.surface-card,
.hero-card,
.section-card,
.content-card,
.contact-panel,
.campaign-card,
.timeline-card,
.media-card,
.callout-banner {
    border: 1px solid var(--outline);
    border-radius: var(--radius-lg);
    background: var(--surface-elevated);
    box-shadow: var(--shadow-1);
}

.hero-card,
.section-card,
.content-card,
.contact-panel,
.campaign-card,
.timeline-card,
.media-card {
    padding: 1.5rem;
}

.hero-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-image,
.media-frame,
.campaign-card__image,
.story-image {
    overflow: hidden;
    border-radius: calc(var(--radius-lg) - 0.35rem);
    background: linear-gradient(180deg, var(--sand-200), var(--sand-100));
}

.hero-image img,
.media-frame img,
.campaign-card__image img,
.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image {
    min-height: 28rem;
    box-shadow: var(--shadow-medium);
}

.hero-image img {
    min-height: 28rem;
}

.home-welcome-band .hero-image.home-hero-photo {
    min-height: 22rem;
}

.home-welcome-band .hero-image.home-hero-photo img {
    min-height: 22rem;
    max-height: min(34rem, 78vh);
    height: auto;
    object-fit: cover;
}

.home-split .media-frame.media-frame--tall.home-hero-photo {
    min-height: 22rem;
}

.home-split .media-frame.media-frame--tall.home-hero-photo img {
    min-height: 22rem;
    max-height: min(34rem, 78vh);
    height: auto;
}

.hero-highlights,
.feature-grid,
.metric-strip,
.timeline-grid,
.support-grid,
.content-grid {
    display: grid;
    gap: 1rem;
}

.feature-grid,
.support-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-grid,
.content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.metric-card,
.support-card {
    height: 100%;
    padding: 1.35rem 1.4rem;
    border-radius: var(--radius-lg);
    background: var(--surface-elevated);
    border: 1px solid var(--outline);
    box-shadow: var(--shadow-1);
}

.feature-card__icon,
.support-card__icon {
    width: 3rem;
    height: 3rem;
    display: inline-grid;
    place-items: center;
    margin-bottom: 0.85rem;
    border-radius: var(--radius-md);
    background: rgba(13, 148, 136, 0.12);
    color: var(--forest-800);
    font-size: 1.2rem;
}

.feature-card h3,
.support-card h3,
.section-heading {
    margin-bottom: 0.55rem;
    font-size: clamp(1.35rem, 2.2vw, 1.55rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: var(--leading-tight);
}

.feature-card p,
.support-card p {
    font-size: 0.9375rem;
    line-height: var(--leading-body);
    color: var(--ink-800);
    font-weight: 500;
}

.metric-card strong,
.hero-stat__value {
    display: block;
    color: var(--forest-900);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-family: var(--font-body);
    font-weight: 800;
    line-height: 1;
}

.metric-card span,
.hero-stat__label {
    display: block;
    margin-top: 0.55rem;
    color: var(--ink-800);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.45;
}

.list-clean,
.detail-list,
.footer-links,
.badge-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.detail-list li,
.list-clean li {
    position: relative;
    margin-bottom: 0.85rem;
    padding-left: 1.35rem;
    color: var(--ink-800);
    font-size: var(--text-body-lg);
    font-weight: 500;
    line-height: var(--leading-body);
}

.detail-list li::before,
.list-clean li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--gold-400);
}

.badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    background: rgba(13, 148, 136, 0.1);
    color: var(--forest-900);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.story-panel,
.callout-banner {
    position: relative;
    overflow: hidden;
}

.story-panel::before,
.callout-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(13, 148, 136, 0.06), transparent 48%, rgba(148, 163, 184, 0.1));
    pointer-events: none;
}

.callout-banner {
    padding: 1.5rem;
}

.callout-banner__content {
    position: relative;
    z-index: 1;
}

.section-intro {
    margin-bottom: 1.5rem;
}

.section-stack > * + * {
    margin-top: 1rem;
}

.media-frame {
    min-height: 22rem;
    padding: 0;
}

.media-frame--tall {
    min-height: 28rem;
}

.media-caption {
    margin-top: 0.85rem;
    color: var(--ink-700);
    font-size: 0.92rem;
}

.timeline-card__eyebrow,
.mini-label {
    display: inline-block;
    margin-bottom: 0.55rem;
    color: var(--forest-700);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.campaign-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.campaign-card__image {
    aspect-ratio: 4 / 3;
    margin-bottom: 1.1rem;
}

.campaign-card__meta {
    color: var(--forest-700);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.campaign-card__title {
    margin-bottom: 0.55rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: var(--leading-tight);
}

.campaign-card__copy {
    color: var(--ink-800);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: var(--leading-body);
}

.campaign-card .cta-row {
    margin-top: auto;
    padding-top: 0.35rem;
}

.quote-block {
    padding: 1.4rem 1.5rem;
    border-left: 4px solid var(--gold-400);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    background: rgba(247, 242, 232, 0.9);
    color: var(--ink-800);
}

.contact-shell {
    padding-top: 2rem;
}

.contact-panel {
    height: 100%;
}

.contact-panel h2,
.contact-panel h3 {
    font-size: 1.45rem;
}

.contact-detail {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--outline);
}

.contact-detail:last-child {
    border-bottom: none;
}

.contact-detail__icon {
    width: 2.6rem;
    height: 2.6rem;
    flex-shrink: 0;
    display: inline-grid;
    place-items: center;
    border-radius: 0.9rem;
    background: rgba(13, 148, 136, 0.12);
    color: var(--forest-800);
}

.contact-form-card {
    position: relative;
}

.status-banner {
    margin-bottom: 1rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(13, 148, 136, 0.22);
    border-radius: var(--radius-md);
    background: var(--moss-100);
    color: var(--forest-900);
    font-weight: 600;
}

.form-label {
    margin-bottom: 0.45rem;
    color: var(--ink-800);
    font-weight: 600;
}

.form-control {
    border: 1px solid var(--outline);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    background: var(--surface-elevated);
    color: var(--ink-950);
    font-size: 1rem;
    font-weight: 500;
}

textarea.form-control {
    min-height: 10rem;
    resize: vertical;
}

.text-danger {
    font-size: 0.9rem;
}

.loader-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.88);
    z-index: 10;
}

.loader {
    width: 3rem;
    height: 3rem;
    border: 4px solid rgba(13, 148, 136, 0.2);
    border-top-color: var(--forest-800);
    border-radius: 999px;
    animation: spin 0.9s linear infinite;
}

.site-footer {
    margin-top: auto;
    color: rgba(255, 255, 255, 0.9);
    background: var(--forest-950);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    gap: 2rem 1.75rem;
    grid-template-columns: 1.15fr repeat(4, minmax(0, 1fr));
    padding: 3.5rem 0 2.5rem;
}

.footer-title {
    color: var(--white);
    font-size: clamp(1.65rem, 2.5vw, 2rem);
    font-family: var(--font-body);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.02em;
}

html[lang="hi"] .footer-title {
    font-family: var(--font-body-hi);
    font-weight: 800;
}

.footer-copy,
.footer-links span,
.footer-links a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9375rem;
    line-height: 1.65;
    font-weight: 500;
}

.footer-heading {
    color: var(--white);
    font-size: 0.8125rem;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.95;
}

.footer-links li + li {
    margin-top: 0.5rem;
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0 1.4rem;
}

.footer-bottom p,
.footer-bottom a {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.6;
}

.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
}

.modal-header,
.modal-footer {
    border-color: var(--outline);
}

.object-fit-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-modal-image,
.gallery-modal-video {
    width: 100%;
    max-height: 75vh;
    border-radius: 1rem;
    background: #0d1913;
    object-fit: contain;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1199.98px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--outline);
    }

    .header-actions {
        margin-left: 0;
        margin-top: 0.75rem;
    }

    .nav-pill {
        display: inline-flex;
    }

    .primary-nav-list {
        flex-wrap: wrap;
    }
}

@media (max-width: 1399.98px) and (min-width: 1200px) {
    .brand-tagline {
        display: none;
    }

    .nav-pill {
        padding: 0.5rem 0.68rem !important;
        font-size: 0.85rem;
    }

    .header-actions {
        margin-left: 0.55rem;
    }
}

@media (max-width: 991.98px) {
    .page-hero__grid,
    .page-header__grid,
    .split-panel,
    .contact-grid,
    .timeline-grid,
    .content-grid,
    .feature-grid,
    .support-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .metric-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .hero-image,
    .hero-image img,
    .media-frame--tall {
        min-height: 20rem;
    }

    .page-hero,
    .page-header {
        padding-top: 1.5rem;
    }

    .footer-bottom__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .site-main {
        padding-bottom: 3.5rem;
    }

    .brand-tagline {
        display: none;
    }

    .page-title {
        font-size: 2.15rem;
    }

    .page-section {
        padding: 2rem 0;
    }

}

@media (max-width: 575.98px) {
    .brand-mark {
        width: 2.9rem;
        height: 2.9rem;
    }

    .hero-actions,
    .cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn,
    .btn-primary,
    .btn-outline-primary,
    .btn-success {
        width: 100%;
        justify-content: center;
    }
}

/* --- Hero carousel: fixed “stage” + cover — consistent crop per slide --- */

.custom-carousel.hero-carousel {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2);
    background: var(--forest-950);
    overflow: hidden;
}

.page-section--home-hero .custom-carousel.hero-carousel {
    border-radius: 0;
}

@media (min-width: 768px) {
    .page-section--home-hero .custom-carousel.hero-carousel {
        border-radius: var(--radius-lg);
    }
}

.hero-carousel .carousel-inner {
    border-radius: inherit;
    overflow: hidden;
}

.hero-carousel .carousel-item {
    position: relative;
    aspect-ratio: 16 / 9;
    max-height: min(68vh, 640px);
    min-height: 220px;
    background: var(--forest-950);
}

.hero-carousel .carousel-item .carousel-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.hero-carousel .hero-carousel-caption {
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0.65rem 1rem 0.85rem;
    max-width: none;
    border-radius: 0;
    text-align: left;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.5) 55%, transparent 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: var(--white);
}

@media (min-width: 768px) {
    .hero-carousel .hero-carousel-caption {
        padding: 1rem 1.5rem 1.15rem;
    }
}

.hero-carousel .hero-carousel-caption h1,
.hero-carousel .hero-carousel-caption h2 {
    margin-bottom: 0.15rem;
    color: var(--white);
    font-size: clamp(1.15rem, 2.8vw, 1.65rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-carousel .hero-carousel-caption .hero-subtitle {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.45;
}

@media (min-width: 768px) {
    .hero-carousel .hero-carousel-caption .hero-subtitle {
        font-size: 0.9375rem;
    }
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: var(--radius-btn);
    background: rgba(15, 23, 42, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(6px);
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    opacity: 1;
}

.hero-carousel .carousel-control-prev {
    left: 0.65rem;
}

.hero-carousel .carousel-control-next {
    right: 0.65rem;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    background: rgba(15, 23, 42, 0.62);
}

@media (max-width: 767.98px) {
    .hero-carousel .carousel-item {
        aspect-ratio: 4 / 3;
        max-height: min(72vw, 420px);
        min-height: 180px;
    }

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        width: 2.25rem;
        height: 2.25rem;
    }
}

.affiliate-ad {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.affiliate-ad a {
    display: inline-block;
    line-height: 0;
}

.affiliate-ad img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
}

@media (min-width: 992px) {
    .affiliate-ad img {
        width: 728px;
        height: 90px;
        max-width: 100%;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .affiliate-ad img {
        width: 300px;
        height: 250px;
    }
}

@media (max-width: 575.98px) {
    .affiliate-ad img {
        width: min(320px, 100%);
        height: auto;
    }
}
