:root {
  --hero-bg: #f8f5f8;
  --text: #251726;
  --muted: #4f4a5a;
  --pink: #f04a92;
  --pink-dark: #d33577;
  --soft-gray: #efeff4;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
  font-size: 16px;
}

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

body {
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  background: var(--hero-bg);
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 0;
}

body.is-nav-open {
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
  margin-bottom: 0;
  padding-bottom: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1320px, 94%);
  margin: 0 auto;
}

.hero {
  position: relative;
  height: 670px;
  padding: 2rem 0;
  /* background-image: url("./assets/images/75c49163-998b-41c0-b68c-c36012e1af59.png"); */
  background-color: #05010a;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 220px;
  background: #fff;
  clip-path: polygon(0 0, 50% 75%, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 5, 20, 0.6), rgba(9, 5, 20, 0.15));
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.85s ease-in-out;
}

.hero.is-looping .hero__overlay {
  opacity: 0.95;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
  filter: saturate(1.05) contrast(1.05);
  background: #05010a;
  transition: opacity 0.85s ease-in-out;
  will-change: opacity, transform;
  animation: heroVideoDrift 18s ease-in-out infinite alternate;
}

.hero__video::-webkit-media-controls {
  display: none !important;
}

.hero__video::cue {
  display: none;
}

.hero.is-looping .hero__video {
  opacity: 0;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 1rem 0 6rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
    animation: none;
  }

  .hero.is-looping .hero__video {
    opacity: 1;
  }
}

@keyframes heroVideoDrift {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(0, -1%, 0);
  }
}

.nav {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0 0 1.5rem;
  position: relative;
}

.nav__links {
  display: flex;
  gap: 0.5rem;
  text-transform: lowercase;
  font-weight: 600;
  font-size: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.5rem;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.35s ease, opacity 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav__links::before {
  content: "";
  position: absolute;
  inset: -40% -5% auto;
  height: 110%;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.4), rgba(40, 13, 42, 0));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav--open .nav__links::before {
  opacity: 0.55;
}

.nav__links li {
  position: relative;
  transition: transform 0.35s ease, opacity 0.35s ease;
  transform-origin: top center;
}

.nav__links a {
  padding: 0.65rem 1.5rem;
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  position: relative;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav__links a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav__links a:hover {
  color: #fff;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}

.nav__links a:hover::before {
  opacity: 1;
}

.nav__links a.active {
  color: #fff;
  background: rgba(240, 74, 146, 0.9);
  box-shadow: 0 4px 15px rgba(240, 74, 146, 0.4);
  font-weight: 700;
}

.nav__links a.active::before {
  opacity: 0;
}

.nav__links a.active:hover {
  background: rgba(240, 74, 146, 1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 74, 146, 0.5);
}

.nav__toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35); 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-left: auto;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 40;
  box-shadow: 0 14px 35px rgba(3, 0, 6, 0.55);
  position: relative;
  color: #000000;
  line-height: 1;
}

.nav__toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 3px;
}

.nav__icon {
  width: 22px;
  height: 22px;
  pointer-events: none;
  color: inherit;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: block;
  margin: auto;
}

.nav__icon--close {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  margin: 0;
}

.nav--open .nav__icon--open {
  opacity: 0;
  transform: scale(0.85);
}

.nav--open .nav__icon--close {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.nav__backdrop {
  display: none;
}


.hero__meter {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.85rem, 2.4vw, 1.2rem);
  width: min(360px, 100%);
}

.hero__meter-link {
  text-decoration: none;
  color: inherit;
}

.hero__meter-cta {
  margin-top: 0.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  background: #fff;
  color: var(--pink-dark);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero__meter-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
}

.hero__meter-cta:focus-visible {
  outline: 2px solid rgba(240, 74, 146, 0.9);
  outline-offset: 3px;
}

.hero__label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.meter__halo {
  width: clamp(12rem, 42vw, 15rem);
  height: clamp(12rem, 42vw, 15rem);
  border-radius: 50%;
  padding: clamp(0.3rem, 0.9vw, 0.5rem);
  background: linear-gradient(135deg, #ff6aa2, #d80032);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

.meter__circle {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #ffe3f1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  overflow: visible;
}

.meter__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.2rem, 1vw, 0.35rem);
  padding: clamp(1.1rem, 4vw, 1.6rem);
  text-align: center;
}

.meter__ring {
  position: absolute;
  inset: -0.375rem;
  width: calc(100% + 0.75rem);
  height: calc(100% + 0.75rem);
  transform: rotate(-90deg);
  pointer-events: none;
}

.meter__ring circle {
  fill: none;
  stroke-width: 12;
}

.meter__ring-track {
  stroke: rgba(240, 74, 146, 0.15);
}

.meter__ring-fill {
  stroke: #f04a92;
  stroke-linecap: round;
  stroke-dasharray: 427;
  stroke-dashoffset: 427;
  transition: stroke-dashoffset 1.25s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 6px 16px rgba(240, 74, 146, 0.45));
}

.meter__percent {
  font-size: clamp(0.8rem, 2.7vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-dark);
  opacity: 0.85;
}

.meter__value {
  font-size: clamp(2.1rem, 7.6vw, 2.6rem);
  font-weight: 800;
  color: #000;
  line-height: 1;
}

.meter__goal {
  font-size: clamp(0.9rem, 3.4vw, 1rem);
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
}
.meter__goal span {
  display: block;
  font-size: clamp(1.05rem, 3.8vw, 1.2rem);
  color: var(--text);
}

.meter__donors {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.meter__donors span {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.hero__message {
  width: min(720px, 92%);
  font-size: clamp(0.95rem, 3.4vw, 1.15rem);
  font-weight: 600;
  line-height: 1.5;
  text-wrap: balance;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.6);
  margin: 0.5rem 0 0;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 24px;
  backdrop-filter: blur(2px);
}

.pulse {
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}

.project-info {
  padding: 3rem 0 1rem;
}

.project-info__layout {
  display: grid;
  gap: 2.5rem;
  align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.project-info__intro {
  background: linear-gradient(135deg, #fff, rgba(255, 237, 246, 0.8));
  border-radius: 32px;
  padding: 2.75rem;
  border: 1px solid rgba(240, 74, 146, 0.15);
  box-shadow: 0 18px 50px rgba(32, 8, 33, 0.08);
}

.project-info__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.project-info__title {
  font-size: 1.9rem;
  color: var(--pink-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.project-info__lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

.project-info__list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.project-info__list li {
  position: relative;
  padding-left: 1.5rem;
  font-weight: 600;
  color: var(--text);
}

.project-info__list li::before {
  content: "";
  position: absolute;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--pink-dark);
  left: 0;
  top: 0.65rem;
}

.project-info__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-stat {
  flex: 1 1 120px;
  min-width: 120px;
  background: #fff;
  border-radius: 18px;
  padding: 1rem 1.4rem;
  border: 1px solid rgba(22, 6, 31, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.info-stat__value {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--pink-dark);
  display: block;
}

.info-stat__label {
  font-size: 0.95rem;
  color: var(--muted);
}

.project-info__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 74, 146, 0.4);
  color: var(--pink-dark);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.project-info__cta:hover {
  background: var(--pink-dark);
  color: #fff;
}

.project-info__cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.info-card {
  flex: 1 1 280px;
  max-width: 500px;
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 18px 45px rgba(18, 2, 33, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  line-height: 1.3;
  color: var(--pink-dark);
}

.info-card p {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--muted);
}

.info-card__icon {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  background: rgba(240, 74, 146, 0.12);
  color: var(--pink-dark);
  font-weight: 700;
}

.info-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.info-card__list li {
  position: relative;
  padding-left: 1.35rem;
  font-weight: 600;
  color: var(--text);
}

.info-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: rgba(240, 74, 146, 0.7);
}

.info-card--accent {
  background: linear-gradient(135deg, rgba(37, 9, 50, 0.98), rgba(77, 11, 67, 0.95));
  color: #fff;
}

.info-card--accent h3,
.info-card--accent p,
.info-card--accent .info-card__list li {
  color: rgba(255, 255, 255, 0.9);
}

.info-card--accent .info-card__icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.info-card--accent .info-card__list li::before {
  background: #fff;
}

.info-card__cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
}

.info-card__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: #fff;
  color: var(--pink-dark);
  transition: transform 0.2s ease;
}

.info-card__primary:hover {
  transform: translateY(-2px);
}

.info-card--accent .info-card__primary {
  color: var(--pink-dark);
}

.info-card__note {
  font-size: 0.95rem;
  color: var(--muted);
}

.info-card--accent .info-card__note {
  color: rgba(255, 255, 255, 0.75);
}

/* Content section tweaks */
.content {
  background: #fff;
  position: relative;
  z-index: 3;
  /* Remove margin-top since we have the white section now */
  margin-top: 0; 
  padding-top: 2rem;
}

.content__inner {
  width: min(1220px, 94%);
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-heading--left {
  text-align: left;
  margin: 0 0 2.5rem;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

.section-title {
  text-align: center;
  color: var(--pink-dark);
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.section-title--left {
  text-align: left;
  margin-bottom: 1rem;
}

.temple-project,
.construction-progress,
.photo-gallery {
  padding: 4rem 0;
  border-top: 1px solid #f3e6f1;
}

.news {
  padding: 4rem 0;
  border-top: 1px solid #f3e6f1;
}

.news__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.news-card {
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid rgba(240, 74, 146, 0.08);
  box-shadow: 0 20px 45px rgba(18, 2, 33, 0.08);
  min-height: 260px;
}

.news-card--highlight {
  background: radial-gradient(circle at top, rgba(94, 10, 76, 0.95), rgba(21, 2, 24, 0.98));
  color: #fff;
  border-color: transparent;
}

.news-card--highlight .news-card__eyebrow,
.news-card--highlight h3,
.news-card--highlight p,
.news-card--highlight time,
.news-card--highlight .news-card__source span,
.news-card--highlight .news-card__source strong {
  color: rgba(255, 255, 255, 0.9);
}

.news-card--highlight .news-card__link,
.news-card--highlight .news-card__link svg {
  color: #ffd3ec;
}

.news-card__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.7rem;
  color: var(--muted);
}

.news-card h3 {
  font-size: 1.25rem;
  color: var(--pink-dark);
  margin-bottom: 0.3rem;
}

.news-card p {
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.news-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
  gap: 1rem;
}

.news-card__source span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(79, 74, 90, 0.7);
}

.news-card__source strong {
  font-size: 1rem;
  color: var(--text);
}

.news-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--pink-dark);
}

.news-card__link svg {
  width: 16px;
  height: 16px;
}

.news-card--placeholder {
  text-align: left;
  opacity: 0.7;
  border-style: dashed;
  border-color: rgba(240, 74, 146, 0.3);
}

.news-card--placeholder h3 {
  color: var(--text);
}

.news-card time {
  font-size: 0.9rem;
  color: var(--muted);
}

.temple-project__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.temple-project__card {
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(240, 74, 146, 0.12);
  box-shadow: 0 18px 45px rgba(18, 2, 33, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.temple-project__card h3 {
  font-size: 1.2rem;
  color: var(--pink-dark);
}

.temple-project__card--accent {
  background: linear-gradient(135deg, #f04a92, #5e0a4c);
  color: #fff;
  border: none;
  box-shadow: 0 25px 50px rgba(94, 10, 76, 0.35);
}

.temple-project__card--accent h3 {
  color: #fff;
}

.project-checklist {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.project-checklist li {
  display: flex;
  gap: 0.6rem;
  color: var(--muted);
}

.temple-project__card--accent .project-checklist li,
.temple-project__card--accent p {
  color: rgba(255, 255, 255, 0.9);
}

.project-checklist li::before {
  content: "✦";
  color: var(--pink-dark);
  font-size: 0.8rem;
  margin-top: 0.15rem;
}

.temple-project__card--accent .project-checklist li::before {
  color: #ffe2f0;
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 0.8rem;
}

.project-stats__value {
  font-size: 1.6rem;
  font-weight: 800;
}

.project-stats__label {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-stats__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.temple-project__card--accent .project-stats__value {
  color: #fff;
}

.temple-project__card--accent .project-stats__label {
  color: rgba(255, 255, 255, 0.75);
}

.construction-progress__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: start;
}

.progress-timeline {
  position: relative;
  display: grid;
  gap: 1.5rem;
  padding-left: 1.2rem;
}

.progress-timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(240, 74, 146, 0.25);
}

.milestone {
  background: #fff;
  border-radius: 20px;
  padding: 1.6rem 1.8rem 1.6rem 2.8rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 15px 40px rgba(17, 5, 22, 0.08);
  position: relative;
}

.milestone::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 1.8rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: var(--muted);
  box-shadow: 0 0 0 6px rgba(240, 74, 146, 0.2);
}

.milestone.is-complete::before {
  background: var(--pink-dark);
}

.milestone.is-active {
  border-color: rgba(240, 74, 146, 0.4);
}

.milestone.is-active::before {
  background: #fff;
  border-color: var(--pink-dark);
}

.milestone__date {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
  display: inline-block;
}

.construction-progress h3 {
  margin-bottom: 0.4rem;
}

.progress-card {
  background: radial-gradient(circle at top, #5c0d4c, #1a0317);
  border-radius: 28px;
  padding: 2rem;
  color: #fff;
  box-shadow: 0 25px 55px rgba(17, 2, 23, 0.35);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.progress-card__label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.progress-card__value {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.progress-card__list {
  display: grid;
  gap: 0.8rem;
}

.progress-card__list li {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 0.8rem;
  font-size: 0.95rem;
}

.photo-gallery .section-heading {
  max-width: 640px;
}

.gallery-slider {
  margin-top: 2.5rem;
  position: relative;
  --gallery-slider-gap: 1.25rem;
}

.gallery-slider__viewport {
  width: 100%;
  overflow: visible;
}

.gallery-slider[data-slider-ready="true"] .gallery-slider__viewport {
  cursor: grab;
}

.gallery-slider.is-dragging .gallery-slider__viewport {
  cursor: grabbing;
}

.gallery-slider.is-dragging {
  user-select: none;
}

.gallery-slider.is-dragging .gallery-item {
  pointer-events: none;
}

.gallery-slider__controls {
  margin-top: 1.25rem;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.gallery-slider__nav {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(240, 74, 146, 0.35);
  background: #fff;
  color: var(--pink-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.gallery-slider__nav svg {
  width: 24px;
  height: 24px;
}

.gallery-slider__nav:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(240, 74, 146, 0.6);
}

.gallery-slider__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.gallery-slider__counter {
  font-weight: 600;
  color: var(--pink-dark);
  min-width: 92px;
  text-align: center;
}

.gallery-slider[data-slider-ready="true"] .gallery-slider__controls {
  display: flex;
}

.gallery-slider[data-slider-ready="true"] .gallery-slider__viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-padding-inline: var(--gallery-slider-gap);
}

.gallery-slider[data-slider-ready="true"] .gallery-slider__viewport::-webkit-scrollbar {
  display: none;
}

.gallery-slider[data-slider-ready="true"] .gallery-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--gallery-slider-gap) * 4)) / 5);
  gap: var(--gallery-slider-gap);
  min-width: 100%;
}

.gallery-slider[data-slider-ready="true"] .gallery-item {
  scroll-snap-align: start;
}

@media (max-width: 1100px) {
  .gallery-slider[data-slider-ready="true"] .gallery-grid {
    grid-auto-columns: calc((100% - (var(--gallery-slider-gap) * 2)) / 3);
  }
}

@media (max-width: 820px) {
  .gallery-slider[data-slider-ready="true"] .gallery-grid {
    grid-auto-columns: calc((100% - var(--gallery-slider-gap)) / 2);
  }
}

@media (max-width: 560px) {
  .gallery-slider[data-slider-ready="true"] .gallery-grid {
    grid-auto-columns: 100%;
  }
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-item {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 45px rgba(20, 6, 26, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  cursor: zoom-in;
}

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

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75));
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  padding: clamp(1rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 2, 14, 0.85);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 999;
}

.gallery-lightbox.is-visible {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox__dialog {
  width: min(1040px, 90vw);
  max-height: 80vh;
  background: #fff;
  border-radius: 26px;
  padding: clamp(1rem, 3vw, 2rem);
  box-shadow: 0 40px 110px rgba(5, 0, 12, 0.6);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-lightbox__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gallery-lightbox__image {
  width: 100%;
  height: min(60vh, 520px);
  object-fit: contain;
  border-radius: 18px;
 
}

.gallery-lightbox__figure figcaption {
  font-size: 1rem;
  color: var(--pink-dark);
  text-align: center;
}

.gallery-lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.98), rgba(255, 214, 232, 0.95));
  color: var(--pink-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 20px 45px rgba(10, 2, 15, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  z-index: 2;
}

.gallery-lightbox__close svg {
  width: 22px;
  height: 22px;
}

.gallery-lightbox__close path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-lightbox__close:hover {
  transform: translateY(-1px) scale(1.04);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 1), rgba(255, 214, 232, 1));
  box-shadow: 0 24px 52px rgba(12, 3, 17, 0.32);
}

.gallery-lightbox__close:active {
  transform: scale(0.96);
  box-shadow: 0 10px 28px rgba(12, 3, 17, 0.25);
}

.gallery-lightbox__close:focus-visible {
  outline: 2px solid rgba(240, 74, 146, 0.85);
  outline-offset: 3px;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

body.is-lightbox-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .gallery-lightbox__dialog {
    border-radius: 20px;
    padding: 1.2rem;
  }

  .gallery-lightbox__image {
    height: min(55vh, 420px);
  }
}

.faq__list {
  display: grid;
  gap: 1.8rem;
}

.faq-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #ece6ef;
}

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

.faq-item__icon span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(240, 74, 146, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.faq-item__icon svg {
  width: 24px;
  height: 24px;
  fill: var(--pink-dark);
}

.faq-item h3 {
  margin-bottom: 0.3rem;
}

.faq-item p {
  color: var(--muted);
}

.donations {
  margin-top: 4rem;
}

.donation-card {
  background: #dedee4;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.donation-card__title {
  font-weight: 700;
  margin-bottom: 1rem;
}

.donation-card ul {
  margin-bottom: 1rem;
  display: grid;
  gap: 0.5rem;
}

.donation-card__cta {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: #1f0b24;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(8, 2, 12, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.donation-card__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(8, 2, 12, 0.4);
}

.donation-card__cta:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 4px;
}

.footer {
  background-image: linear-gradient(180deg, rgba(59, 5, 55, 0.89), rgba(28, 0, 31, 0.95)),
    url("https://images.unsplash.com/photo-1437419764061-2473afe69fc2?auto=format&fit=crop&w=1600&q=60");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 3rem 0 0;
  margin-top: 2rem;
  margin-bottom: 0;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 0.2s ease;
}

.btn--light {
  background: #fff;
  color: var(--pink-dark);
}

.btn:hover {
  transform: translateY(-2px);
}

.footer__note {
  text-align: center;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Responsive */
@media (max-width: 900px) {
  body.is-nav-open {
    touch-action: none;
  }

  .nav {
    justify-content: flex-end;
    margin-top: 0.25rem;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__toggle::after {
    display: block;
    content: "meniu";
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    position: absolute;
    bottom: -1.15rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .nav__links {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    right: auto;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 1.6rem 1.8rem 1.8rem;
    border-radius: 32px;
    background: rgba(9, 3, 17, 0.95);
    box-shadow: 0 40px 80px rgba(4, 0, 8, 0.65);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -12px) scale(0.96);
    z-index: 30;
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: min(420px, calc(100% - 2.2rem));
    max-height: calc(100vh - 2.5rem);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
  }

  .nav__links::-webkit-scrollbar {
    width: 4px;
  }

  .nav__links::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 999px;
  }

  .nav__links::before {
    inset: -20% -30% auto;
    height: 140%;
    opacity: 0.45;
  }

  .nav--open .nav__links {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
  }

  .nav__links li {
    width: 100%;
    opacity: 0;
    transform: translateY(14px);
  }

  .nav--open .nav__links li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav--open .nav__links li:nth-child(1) {
    transition-delay: 0.05s;
  }

  .nav--open .nav__links li:nth-child(2) {
    transition-delay: 0.1s;
  }

  .nav--open .nav__links li:nth-child(3) {
    transition-delay: 0.15s;
  }

  .nav--open .nav__links li:nth-child(4) {
    transition-delay: 0.2s;
  }

  .nav--open .nav__links li:nth-child(5) {
    transition-delay: 0.25s;
  }

  .nav--open .nav__links li:nth-child(6) {
    transition-delay: 0.3s;
  }

  .nav--open .nav__links li:nth-child(7) {
    transition-delay: 0.35s;
  }

  .nav__links a {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.2rem;
    font-size: 1.05rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid transparent;
    letter-spacing: 0.03em;
  }

  .nav__links a::before {
    content: none;
  }

  .nav__links a::after {
    content: ">";
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.5;
  }

  .nav__links a:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
  }

  .nav__links a:hover::after {
    opacity: 1;
    transform: translateX(3px);
  }

  .nav__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(6, 0, 10, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 20;
  }

  .nav--open .nav__backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    height: auto;
    min-height: 520px;
    padding: 1.5rem 0 4.2rem;
    background-size: cover;
    background-position: center top;
  }

  .hero::after {
    height: 160px;
    clip-path: polygon(0 0, 50% 85%, 100% 0, 100% 100%, 0 100%);
  }

  .hero__inner {
    gap: 1.5rem;
    padding-bottom: 4rem;
  }

  .hero__message {
    width: 100%;
    font-size: 1rem;
    padding: 1rem 1.3rem;
    margin-top: 0;
  }

  .hero__label {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
  }

  .project-info {
    padding-top: 2.5rem;
  }

  .project-info__layout {
    grid-template-columns: 1fr;
  }

  .project-info__intro {
    padding: 2.2rem;
  }

  .construction-progress__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav {
    margin-bottom: 0.5rem;
  }

  .nav__toggle::after {
    bottom: -1rem;
  }

  .nav__links {
    top: 1rem;
    width: min(380px, calc(100% - 1.5rem));
    padding: 1.45rem 1.5rem 1.6rem;
  }

  .hero {
    min-height: 500px;
    padding: 1.2rem 0 3.8rem;
  }

  .hero::after {
    height: 140px;
    clip-path: polygon(0 0, 50% 88%, 100% 0, 100% 100%, 0 100%);
  }

  .hero__inner {
    gap: 1.2rem;
  }

  .hero__message {
    font-size: 0.98rem;
    line-height: 1.55;
    margin-top: 0;
    padding: 0.9rem 1rem;
  }

  .temple-project__grid {
    grid-template-columns: 1fr;
  }

  .project-info__stats {
    flex-direction: column;
  }

  .project-info__cta,
  .info-card__primary {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .nav__toggle {
    width: 44px;
    height: 44px;
  }

  .nav__toggle::after {
    font-size: 0.58rem;
    bottom: -0.9rem;
    letter-spacing: 0.25em;
  }

  .nav__links {
    top: 0.85rem;
    width: calc(100% - 1.2rem);
    padding: 1.25rem 1.2rem 1.35rem;
    border-radius: 24px;
  }

  .nav__links a {
    font-size: 0.95rem;
    padding: 0.75rem 0.95rem;
  }

  .nav__links a::after {
    font-size: 0.8rem;
  }

  .hero {
    min-height: 470px;
    padding: 1rem 0 3.2rem;
  }

  .hero__inner {
    gap: 1rem;
  }

  .hero__message {
    font-size: 0.95rem;
    padding: 0.85rem 0.95rem;
  }

  .temple-project,
  .construction-progress,
  .photo-gallery {
    padding: 3rem 0;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  .project-info__intro {
    padding: 1.7rem;
  }
}
