@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600;1,700&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600;1,700&family=Noto+Sans+Devanagari:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --color-navy-dark: #0f1538;
  --color-navy: #161e4f;
  --color-navy-light: #202b6d;
  --color-gold-dark: #8f651b;
  --color-gold: #c2932c;
  --color-gold-light: #dfb350;
  --color-gold-soft: #f4e8cc;
  --color-gold-border: #dfc89e;
  --color-gold-border-light: #edd9b5;
  --color-parchment: #faf6ee;
  --color-parchment-alt: #f6efe2;
  --color-parchment-card: #fdfbf7;
  --color-text-main: #2b2823;
  --color-text-muted: #5e5950;
  --color-text-light: #827b70;

  --font-display: 'Cinzel', Georgia, serif;
  --font-heading: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-hindi: 'Noto Sans Devanagari', 'Plus Jakarta Sans', sans-serif;

  --shadow-sm: 0 2px 8px rgba(35, 25, 10, 0.05);
  --shadow-md: 0 8px 24px rgba(35, 25, 10, 0.08);
  --shadow-lg: 0 16px 36px rgba(35, 25, 10, 0.12);
  --shadow-gold: 0 8px 25px rgba(194, 147, 44, 0.35);
  --radius-card: 18px;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-parchment);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ==========================================================================
   Typography Classes
   ========================================================================== */
.font-display {
  font-family: var(--font-display);
}

.font-heading {
  font-family: var(--font-heading);
}

.font-serif-quote {
  font-family: var(--font-serif);
}

.font-hindi {
  font-family: var(--font-hindi);
}


.kicker-gold {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  /* color: var(--color-gold-dark); */
}

.kicker-sub {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-gold-dark);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #cf9b2a 0%, #aa771c 100%);
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.85rem;
  border-radius: 9999px;
  border: 1px solid #dfb14e;
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #dfab36 0%, #b88222 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(194, 147, 44, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-gold:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(194, 147, 44, 0.35);
}

.btn-gold-sm {
  padding: 0.55rem 1.35rem;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(194, 147, 44, 0.28);
}

.btn-circle-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--color-gold-border);
  color: var(--color-gold-dark);
  background: #ffffff;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.card-service:hover .btn-circle-arrow {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #ffffff;
  transform: translateX(3px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background: rgba(251, 248, 242, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 106, 0.35);
  transition: all 0.3s ease;
}

.nav-link {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  color: #3b3947;
  padding: 0.4rem 0.2rem;
  position: relative;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-gold-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: all 0.25s ease;
  transform: translateX(-50%);
}

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: #f7efdc;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 640px;
}

.hero-overlay-gradient {
  /* Ultra-subtle overlay ensuring mountain ranges, valley, sunburst rays and dove are 100% visible */
  background: linear-gradient(120deg,

      rgba(255, 255, 255, 0.0) 0%,
      rgba(255, 253, 247, 0.0) 40%,
      transparent,
      rgba(250, 246, 238, 0.35) 100%);

  background: linear-gradient(120deg, rgb(255 255 255) 0%, rgba(255, 253, 253, 0.41) 40%, rgba(250, 246, 238, 0.35) 100%);
  background: linear-gradient(120deg, rgb(255 255 255 / 66%) 14%, rgb(254 254 254 / 48%) 47%, rgba(250, 246, 238, -1.65) 50%);
  pointer-events: none;
}

@media (max-width: 1023px) {
  .hero-overlay-gradient {
    background: linear-gradient(180deg,
        rgba(254, 252, 247, 0.92) 0%,
        rgba(254, 252, 247, 0.80) 65%,
        rgba(254, 252, 247, 0.60) 100%);
  }
}

.hero-text-wrap {
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.95), 0 2px 14px rgba(255, 255, 255, 0.85);
}


.ornament-flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--color-gold);
  margin: 0.6rem 0;
}

.ornament-flourish::before,
.ornament-flourish::after {
  content: '';
  height: 5px;
  width: 150px;
  background: linear-gradient(90deg, transparent, var(--color-gold));
}

.ornament-flourish::after {
  background: linear-gradient(90deg, var(--color-gold), transparent);
}

/* Service Timings Ornate Card */
.service-timings-card {
  background: rgba(255, 254, 250, 0.94);
  background: rgb(253 253 253 / 46%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--color-gold-border);
  box-shadow: 0 18px 45px rgba(60, 42, 12, 0.16);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.service-timings-card::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px dashed rgba(200, 160, 90, 0.4);
  border-radius: 19px;
  pointer-events: none;
}

.timing-box {
  background: #fbf7ec;
  border: 1px solid var(--color-gold-border-light);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  transition: all 0.2s ease;
}

.timing-box:hover {
  background: #ffffff;
  border-color: var(--color-gold);
  box-shadow: 0 4px 15px rgba(180, 140, 50, 0.12);
}

.timing-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3e6cb;
  border: 1px solid var(--color-gold-border);
  color: var(--color-gold-dark);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Section: About Our Trust
   ========================================================================== */
.about-section {
  background-color: var(--color-parchment);
  position: relative;
  border-top: 1px solid rgba(212, 175, 106, 0.25);
  border-bottom: 1px solid rgba(212, 175, 106, 0.25);
}

.badge-pillar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
}

.badge-pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d8a83d 0%, #aa771d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(170, 119, 29, 0.28);
  flex-shrink: 0;
  border: 2px solid #f6e4bd;
}

/* ==========================================================================
   Section: Our Services (Cards)
   ========================================================================== */
.services-section {
  background-color: #fdfaf3;
  position: relative;
}

.card-service {
  background: linear-gradient(180deg, #ffffff 0%, #faf6ec 100%);
  border: 1.5px solid var(--color-gold-border-light);
  border-radius: var(--radius-card);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.card-service:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold);
  box-shadow: 0 16px 36px rgba(50, 35, 10, 0.12);
}

.card-service-img-wrap {
  width: 100%;
  height: 165px;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid rgba(210, 180, 130, 0.35);
  margin-bottom: 1rem;
}

.card-service-img-wrap img {
  width: 100%;
  height: 100%;
  object-cover: cover;
  transition: transform 0.4s ease;
}

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

/* ==========================================================================
   Section: Generosity Banner
   ========================================================================== */
.generosity-banner {
  background-color: var(--color-navy-dark);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.generosity-overlay {
  /* Soft transparent vignette so praying hands, celestial light, and cross are 100% visible */
  background: linear-gradient(90deg,
      rgba(10, 16, 42, 0.55) 0%,
      rgba(10, 16, 42, 0.28) 45%,
      rgba(10, 16, 42, 0.06) 75%,
      rgba(10, 16, 42, 0.25) 100%);
  pointer-events: none;
}

@media (max-width: 767px) {
  .generosity-overlay {
    background: linear-gradient(180deg,
        rgba(10, 16, 42, 0.85) 0%,
        rgba(10, 16, 42, 0.65) 100%);
  }
}

.pillar-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.pillar-icon-item svg {
  color: var(--color-gold-light);
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* ==========================================================================
   Section: Impact & Recent Activities
   ========================================================================== */
.impact-section {
  background-color: var(--color-parchment);
  border-top: 1px solid rgba(212, 175, 106, 0.25);
  border-bottom: 1px solid rgba(212, 175, 106, 0.25);
  position: relative;
}

.damask-bg {
  background-image: url('../images/damask-gold-pattern.svg');
  background-repeat: repeat;
  background-size: 100px 100px;
}

.impact-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fbf5e7;
  border: 1.5px solid var(--color-gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-dark);
  margin: 0 auto 0.5rem auto;
  font-size: 1.15rem;
  box-shadow: 0 2px 8px rgba(180, 140, 40, 0.12);
}

.activity-thumb {
  border-radius: 12px;
  overflow: hidden;
  height: 80px;
  border: 1px solid var(--color-gold-border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.activity-thumb:hover {
  transform: translateY(-2px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Section: Testimonial & Join Us CTA
   ========================================================================== */
.testimonial-section {
  background-color: #fcf9f2;
  position: relative;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--color-gold);
}

.dot-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c5beaf;
  display: inline-block;
  transition: all 0.2s ease;
}

.dot-indicator.active {
  background: #2b2823;
  width: 8px;
  height: 8px;
}

.join-us-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 180px;
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-gold-border);
  box-shadow: var(--shadow-md);
}

.join-us-overlay {
  /* Soft overlay so the cross and sunset rays remain completely visible */
  background: linear-gradient(90deg,
      rgba(16, 20, 50, 0.52) 0%,
      rgba(16, 20, 50, 0.22) 60%,
      rgba(16, 20, 50, 0.05) 100%);
  pointer-events: none;
}


/* ==========================================================================
   Section: Get in Touch (Ornate Card)
   ========================================================================== */
.contact-ornate-card {
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.94) 0%, rgba(253, 250, 242, 0.97) 100%), url('../images/damask-gold-pattern.svg') repeat;
  background-size: auto, 100px 100px;
  border: 1.5px solid var(--color-gold-border);
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(60, 42, 12, 0.08);
  position: relative;
  overflow: hidden;
}

.corner-ornament {
  position: absolute;
  width: 32px;
  height: 32px;
  pointer-events: none;
  opacity: 0.65;
}

.corner-tl {
  top: 6px;
  left: 6px;
}

.corner-tr {
  top: 6px;
  right: 6px;
  transform: scaleX(-1);
}

.corner-bl {
  bottom: 6px;
  left: 6px;
  transform: scaleY(-1);
}

.corner-br {
  bottom: 6px;
  right: 6px;
  transform: scale(-1);
}

.contact-action-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.15rem;
}

.badge-call {
  background: #fbf5e7;
  border: 1.5px solid var(--color-gold-border);
  color: var(--color-gold-dark);
}

.badge-whatsapp {
  background: #e8f7ee;
  border: 1.5px solid #a3e0b8;
  color: #128c7e;
}

.badge-email {
  background: #fbf5e7;
  border: 1.5px solid var(--color-gold-border);
  color: var(--color-gold-dark);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--color-navy-dark);
  color: #ffffff;
  border-top: 1px solid rgba(212, 175, 106, 0.3);
}

.footer-nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav-link:hover {
  color: var(--color-gold-light);
}

.social-circle-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.75rem;
  transition: transform 0.2s ease;
  text-decoration: none;
}

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

.social-fb {
  background: #1877f2;
}

.social-insta {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.social-yt {
  background: #ff0000;
}

/* Mobile Navigation */
@media (max-width: 767px) {
  #mainNav {
    display: none;
  }

  #mainNav.is-open {
    display: flex !important;
  }
}

/* ==========================================================================
   Page Header Banner (Subpages: About, Services, Contact, Donate)
   ========================================================================== */
.page-header-banner {
  position: relative;
  background-color: var(--color-navy-dark);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 2px solid var(--color-gold);
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(15, 21, 56, 0.88) 0%,
      rgba(15, 21, 56, 0.72) 45%,
      rgba(15, 21, 56, 0.40) 80%,
      rgba(15, 21, 56, 0.65) 100%);
  background: linear-gradient(120deg, rgb(255 255 255 / 66%) 14%, rgb(254 254 254 / 48%) 47%, rgba(250, 246, 238, -1.65) 50%);
  pointer-events: none;
}

.page-header-overlay-light {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(254, 252, 247, 0.94) 0%,
      rgba(254, 252, 247, 0.82) 48%,
      rgba(254, 252, 247, 0.45) 85%,
      rgba(254, 252, 247, 0.70) 100%);
  background: linear-gradient(120deg, rgb(255 255 255 / 66%) 14%, rgb(254 254 254 / 48%) 47%, rgba(250, 246, 238, -1.65) 50%);
  pointer-events: none;
}

.page-header-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.breadcrumb-nav a {
  color: var(--color-gold-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
  color: #ffffff;
}

.breadcrumb-nav .separator {
  color: rgba(223, 179, 80, 0.6);
  font-size: 0.75rem;
}

.breadcrumb-nav .current {
  color: rgba(255, 255, 255, 0.85);
}

/* Light mode breadcrumb */
.page-header-light .breadcrumb-nav a {
  color: var(--color-gold-dark);
}

.page-header-light .breadcrumb-nav a:hover {
  color: var(--color-navy);
}

.page-header-light .breadcrumb-nav .separator {
  color: var(--color-gold);
}

.page-header-light .breadcrumb-nav .current {
  color: var(--color-text-muted);
}

/* =============================================================================
   PARALLAX EFFECTS & AOS HARDWARE ACCELERATION
   ============================================================================= */
.parallax-bg,
.parallax-section {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  will-change: background-position;
}

@media (min-width: 768px) {
  .parallax-fixed {
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }
}

/* Ensure smooth AOS transitions and avoid overflow scrollbars */
[data-aos] {
  pointer-events: auto !important;
}
html, body {
  overflow-x: hidden;
}