:root {
  --color-header: #EA9B3F;
  --color-footer: #432201;
  --color-terracotta: #C96526;
  --color-deep-brown: #432201;
  --color-saffron: #EA9B3F;
  --color-sage: #A0C3B3;
  --color-cream: #FFF8EF;
  --color-white: #FFFFFF;
  --color-text: #2B1B08;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-terracotta);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

a:hover {
  color: var(--color-saffron);
}

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
  color: var(--color-deep-brown);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--color-white);
  font-family: 'Inter', sans-serif;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(67, 34, 1, .15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #4a2b12;
}

.logo-image img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}

.site-logo:hover {
  color: #E06A15;
}

.site-title-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-title-text strong {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.site-title-text small {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.primary-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.primary-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.primary-menu li a {
  color: #4a2b12;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
  display: inline-block;
  transition: background .15s ease, color .15s ease;
}

.primary-menu li a:hover {
  background: rgba(255, 255, 255, .18);
  color: #E06A15;
}

.primary-menu li.menu-donate a {
  background: #E06A15;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  margin-left: 12px;
  position: relative;
  overflow: hidden;
}

.primary-menu li.menu-donate a::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.45) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  animation: btn-shimmer 2.5s infinite linear;
}

@keyframes btn-shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

.primary-menu li.menu-donate a svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
}

.primary-menu li.menu-donate a:hover {
  background: #fca844;
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 32px;
  padding: 0;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-deep-brown);
  margin: 6px 0;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #b25820;
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-deep-brown);
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 12px 32px;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-footer);
  color: rgba(255, 255, 255, .85);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding: 64px 24px 40px;
}

.footer-brand img {
  border-radius: 50%;
  background: #fff;
  margin-bottom: 12px;
}

.footer-org-name {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.3;
}

.footer-tagline {
  font-size: .85rem;
  opacity: .85;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
}

.social-icon:hover {
  background: var(--color-saffron);
  color: #fff;
}

.footer-heading {
  color: var(--color-sage);
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 18px;
}

.footer-col ul,
.footer-contact-compliance ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: .9rem;
}

.footer-col a,
.footer-contact-compliance a {
  color: rgba(255, 255, 255, .85);
}

.footer-col a:hover,
.footer-contact-compliance a:hover {
  color: var(--color-saffron);
}

.contact-list .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-list .contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-saffron);
  margin-top: 2px;
}

.compliance-info {
  margin-top: 24px;
  font-size: 0.8rem;
  opacity: 0.7;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.compliance-info p {
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .15);
  padding: 24px 24px;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: .85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: rgba(255, 255, 255, .85);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--color-saffron);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .primary-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--color-header);
    transform: translateY(-120%);
    transition: transform .3s ease-in-out;
    z-index: 90;
    padding: 12px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .primary-nav.is-open {
    transform: translateY(0);
  }

  .primary-menu {
    flex-direction: column;
    padding: 12px 24px;
    gap: 8px;
    align-items: flex-start;
  }

  .primary-menu li a {
    color: #fff;
    padding: 12px 16px;
    width: 100%;
    display: block;
  }

  .primary-menu li.menu-donate a {
    margin-left: 0;
    width: auto;
    display: inline-flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding: 48px 24px 32px;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

/* ---------- Scroll Animations ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.zoom-in-scroll {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.zoom-in-scroll.is-visible {
  opacity: 1;
  transform: scale(1);
}

.blur-in {
  filter: blur(20px);
  opacity: 0;
  transform: scale(1.05);
  transition: filter 1.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: filter, opacity, transform;
}

.blur-in.is-visible {
  filter: blur(0);
  opacity: 1;
  transform: scale(1);
}

.program-card-title {
  font-family: 'Playfair Display', serif !important;
}

.about-top-content>.animate-on-scroll,
.about-bottom-text>.animate-on-scroll {
  transition-delay: 0.5s;
}

.seva-card:nth-child(1),
.program-card:nth-child(1),
.impact-card:nth-child(1),
.stat-item:nth-child(1),
.faq-item:nth-child(1),
.verification-card:nth-child(1) {
  transition-delay: 0.0s;
}

.seva-card:nth-child(2),
.program-card:nth-child(2),
.impact-card:nth-child(2),
.stat-item:nth-child(2),
.faq-item:nth-child(2),
.verification-card:nth-child(2) {
  transition-delay: 0.1s;
}

.seva-card:nth-child(3),
.program-card:nth-child(3),
.impact-card:nth-child(3),
.stat-item:nth-child(3),
.faq-item:nth-child(3),
.verification-card:nth-child(3) {
  transition-delay: 0.2s;
}

.seva-card:nth-child(4),
.program-card:nth-child(4),
.impact-card:nth-child(4),
.stat-item:nth-child(4),
.faq-item:nth-child(4),
.verification-card:nth-child(4) {
  transition-delay: 0.3s;
}

.seva-card:nth-child(5),
.program-card:nth-child(5),
.impact-card:nth-child(5),
.stat-item:nth-child(5),
.faq-item:nth-child(5),
.verification-card:nth-child(5) {
  transition-delay: 0.4s;
}

.seva-card:nth-child(6),
.program-card:nth-child(6),
.impact-card:nth-child(6),
.stat-item:nth-child(6),
.faq-item:nth-child(6),
.verification-card:nth-child(6) {
  transition-delay: 0.5s;
}