/* Shared presentation only. Keep page content, forms and access controls in their PHP files. */
body.site-refresh {
  --default-color: #586774;
  --heading-color: #16304a;
  --accent-color: #103e81;
  --background-color: #fff;
  --surface-color: #faf8f3;
  --contrast-color: #fff;
  background: #faf8f3;
  color: #586774;
}
body.site-refresh .header {
  background: #faf8f3;
  border-bottom: 1px solid #e9e5dc;
  padding: 18px 0;
}
body.site-refresh .header .logo img {
  width: 190px;
  height: 96px;
  max-height: 96px !important;
  object-fit: contain;
  margin-right: 0;
}
body.site-refresh .header .logo h1:empty { display: none; }
body.site-refresh .header .btn-getstarted {
  background: #103e81;
  color: #fff;
  border-radius: 6px;
  padding: 12px 23px;
  font-weight: 700;
  flex-shrink: 0;
}
body.site-refresh .header .btn-getstarted:hover { background: #082a5c; }
body.site-refresh a:focus-visible,
body.site-refresh button:focus-visible {
  outline: 3px solid #bc491d;
  outline-offset: 4px;
}
body.site-refresh :is(input,textarea,select):focus-visible {
  outline: 2px solid #103e81;
  outline-offset: 2px;
}
body.site-refresh :is(.page-title,.give-hero,.fa-hero,.policy-hero) {
  background: #faf8f3;
  padding: 64px 0;
  border-bottom: 1px solid #e9e5dc;
}
body.site-refresh :is(.give-hero,.fa-hero,.policy-hero)::before { display: none; }
body.site-refresh :is(.give-hero-content,.fa-hero-content,.policy-hero-content) {
  text-align: left;
  color: #16304a;
  max-width: 880px;
}
body.site-refresh :is(.page-title h1,.give-hero h1,.fa-hero h1,.policy-hero h1) {
  color: #16304a !important;
  font-size: clamp(32px,4.2vw,52px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.035em;
  text-shadow: none;
  overflow-wrap: break-word;
}
body.site-refresh :is(.give-hero p,.fa-hero p,.policy-hero p) {
  color: #586774;
  max-width: 730px;
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.8;
  opacity: 1;
}
body.site-refresh :is(.give-hero-icon,.fa-hero-icon,.policy-hero-icon) {
  background: #f0e9dc;
  border: 1px solid #e9dfcd;
  border-radius: 8px;
  color: #bc491d;
  font-size: 28px;
  padding: 15px 18px;
  margin-bottom: 25px;
}
body.site-refresh .page-title>.container { align-items: start !important; gap: 25px; }
body.site-refresh .page-title .breadcrumbs { font-size: 13px; padding-top: 10px; }
body.site-refresh .page-title .breadcrumbs ol { flex-wrap: wrap; }
body.site-refresh :is(.fa-badges,.trust-badges) { justify-content: flex-start; gap: 12px; }
body.site-refresh :is(.fa-badge,.trust-badge) {
  color: #254b3b;
  background: #edf2eb;
  border: 1px solid #d9e4d7;
  border-radius: 5px;
  padding: 10px 15px;
  font-size: 12px;
  backdrop-filter: none;
}
body.site-refresh :is(.fa-badge,.trust-badge) i { color: #34745c; }
body.site-refresh .give-verse { background: transparent; border-left: 3px solid #bc491d; border-radius: 0; margin: 32px 0 0; padding: 5px 0 5px 23px; max-width: 720px; }
body.site-refresh .give-verse p { font-family: Georgia,serif; font-size: 19px; color: #16304a; margin: 0 0 10px; }
body.site-refresh .give-verse cite { color: #586774; }
body.site-refresh :is(.section,.give-section,.fa-section,.policy-section) { padding: 72px 0; }
body.site-refresh :is(.give-section-light,.fa-section-light,.policy-section-light,.light-background) { background: #faf8f3; }
body.site-refresh :is(.section-title,.give-section-title,.fa-section-title) { text-align: left; margin-bottom: 35px; padding-bottom: 0; }
body.site-refresh :is(.section-title h1,.section-title h2,.give-section-title h2,.fa-section-title h2) { color: #16304a; font-size: clamp(28px,3vw,38px); font-weight: 750; letter-spacing: -.035em; }
body.site-refresh .section-title h2::after { background: #bc491d; margin: 18px 0 0; width: 42px; }
body.site-refresh :is(.give-section-title p,.fa-section-title p) { margin: 0; color: #586774; max-width: 750px; font-size: 16px; }
body.site-refresh .section p { line-height: 1.8; }
body.site-refresh :is(.about .who-we-are) { font-size: 12px; color: #bc491d; font-weight: 800; letter-spacing: .15em; }
body.site-refresh :is(.about-images img,.features-details img,.contact iframe) { border-radius: 8px; }
body.site-refresh .about-images img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
body.site-refresh .features-details .features-item { margin-top: 45px; }
body.site-refresh .features-details .content { background: #faf8f3; border: 1px solid #e9e5dc; border-radius: 8px; box-shadow: none; padding: 32px; }
body.site-refresh .features-details .content h3 { color: #16304a; font-size: 28px; text-align: left !important; }
body.site-refresh :is(.featured-services .service-item,.contact .info-item,.contact .php-email-form,.report-form,.impact-stat,.program-card,.fa-license-card,.login-card,.info-box,.policy-content-container) {
  background: #fff;
  border: 1px solid #e7e5df;
  border-radius: 8px;
  box-shadow: none;
}
body.site-refresh .featured-services .service-item { padding: 28px 22px; height: 100%; }
body.site-refresh .featured-services .icon { border-radius: 6px; background: #f0e9dc; color: #bc491d; }
body.site-refresh .featured-services .title { color: #16304a; }
body.site-refresh :is(.program-card,.impact-stat,.fa-license-card):hover { transform: translateY(-3px); box-shadow: 0 8px 24px #16304a0a; }
body.site-refresh .program-card img { border-radius: 0; }
body.site-refresh :is(.impact-stat-icon,.impact-stat-number,.program-card h3,.fa-license-card h3) { color: #16304a; }
body.site-refresh :is(.fa-license-icon,.info-item-icon) { background: #f0e9dc; color: #bc491d; border-radius: 8px; }
/* Do not override registration blur, visibility, data fields or reveal controls. */
body.site-refresh .fa-reg-details { background: #faf8f3; border: 1px solid #e9e5dc; border-radius: 6px; }
body.site-refresh .fa-reg-item { min-width: 0; }
body.site-refresh .fa-reg-value { overflow-wrap: anywhere; }
body.site-refresh .fa-audit-box { background: #edf2eb; border: 1px solid #d9e4d7; border-radius: 8px; }
body.site-refresh .fa-audit-box::before { display: none; }
body.site-refresh :is(.fa-audit-box h3,.fa-audit-box h3 i,.fa-audit-list li i) { color: #254b3b; }
body.site-refresh :is(.fa-integrity,.other-ways) { background: #10366c; border-radius: 8px; }
body.site-refresh .fa-integrity-item { background: #ffffff0d; border: 1px solid #ffffff24; border-radius: 6px; }
body.site-refresh :is(.fa-contact-section,.contact-cta,.donate-box) { background: #faf8f3; border: 1px solid #e9e5dc; border-radius: 8px; }
body.site-refresh :is(.donate-box,.contact-cta)::before,
body.site-refresh :is(.donate-box,.contact-cta)::after { display: none; }
body.site-refresh :is(.contact-cta h4,.donate-box h3,.fa-contact-section h3) { color: #16304a; }
body.site-refresh .contact .info-item { height: 100%; padding: 30px 22px; }
body.site-refresh .contact .info-item i { color: #bc491d; }
body.site-refresh :is(.contact .php-email-form,.report-form) { padding: 30px; }
body.site-refresh :is(.form-control,.report-form input,.report-form select,.report-form textarea) { border: 1px solid #d9ddd9; border-radius: 5px; min-height: 46px; background-color: #fff; color: #16304a; }
body.site-refresh :is(.read-more,.more-btn,.fa-cta-btn,.btn-login,.contact .php-email-form button[type=submit],.report-form button[type=submit]) { background: #103e81; color: #fff; border: 0; border-radius: 6px; padding: 13px 24px; font-weight: 700; }
body.site-refresh .login-section { background: #faf8f3; }
body.site-refresh .login-section::before,body.site-refresh .login-section::after { display: none; }
body.site-refresh .login-header { background: #10366c; }
body.site-refresh .login-header-icon { border-radius: 8px; }
body.site-refresh .login-footer { background: #faf8f3; border-top: 1px solid #e9e5dc; }
body.site-refresh :is(.privacy-policy-content,.refund-policy-container,.tos-legal-container) { color: #435463; line-height: 1.85; }
body.site-refresh :is(.privacy-policy-content,.refund-policy-container,.tos-legal-container) :is(h1,h2,h3,h4) { color: #16304a; letter-spacing: -.02em; line-height: 1.35; overflow-wrap: break-word; }
body.site-refresh .privacy-policy-content .section-title { font-size: 23px; margin-top: 32px; }
body.site-refresh .privacy-policy-content table { display: block; max-width: 100%; overflow-x: auto; }
body.site-refresh .accordion-item { border: 1px solid #e7e5df; border-radius: 6px; margin-bottom: 12px; overflow: hidden; }
body.site-refresh .accordion-button { color: #16304a; font-weight: 600; }
body.site-refresh .accordion-button:not(.collapsed) { color: #103e81; background: #f2f0e9; box-shadow: none; }
body.site-refresh .footer { background: #f2f0e9; border-top: 1px solid #e4e1d8; color: #586774; }
body.site-refresh .footer .footer-top { padding-top: 60px; }
body.site-refresh .footer .sitename { color: #16304a; font-size: 22px; }
body.site-refresh .footer .newsletter-form { border-radius: 6px; background: #fff; }
body.site-refresh .footer .newsletter-form input[type=submit] { border-radius: 4px; background: #103e81; }
body.site-refresh .footer .copyright { border-top: 1px solid #deddd5; padding-top: 28px; }
@media(min-width:1200px) {
  body.site-refresh .navmenu>ul>li>a { font-size: 15px !important; padding: 18px 16px; }
}
@media(max-width:1199px) {
  body.site-refresh .navmenu>ul>li>a { font-size: 17px !important; }
  body.site-refresh .header .btn-getstarted { margin: 0 16px 0 12px; }
}
@media(max-width:767px) {
  /* Larger mobile logo, with room left for Donate and the menu at 320px. */
  body.site-refresh .header { padding: 12px 0; }
  body.site-refresh .header .logo img { width: 190px; height: 84px; max-height: 84px !important; }
  body.site-refresh .header .btn-getstarted { padding: 10px 14px; margin: 0 12px 0 8px; font-size: 13px; }
  body.site-refresh .mobile-nav-toggle { font-size: 28px; margin-left: 0; }
  body.site-refresh :is(.page-title,.give-hero,.fa-hero,.policy-hero) { padding: 38px 0; }
  body.site-refresh :is(.give-hero p,.fa-hero p,.policy-hero p) { font-size: 16px; }
  body.site-refresh :is(.section,.give-section,.fa-section,.policy-section) { padding: 48px 0; }
  body.site-refresh :is(.fa-license-card,.policy-content-container,.contact .php-email-form,.report-form,.features-details .content) { padding: 24px 20px; }
  body.site-refresh :is(.fa-badge,.trust-badge) { padding: 8px 10px; font-size: 11px; }
  body.site-refresh .fa-integrity-grid { grid-template-columns: 1fr; }
  body.site-refresh .fa-contact-info { flex-direction: column; align-items: center; gap: 16px; }
  body.site-refresh .fa-contact-info a { overflow-wrap: anywhere; }
  body.site-refresh :is(.privacy-policy-content,.tos-legal-container) { padding: 0; }
  body.site-refresh .privacy-policy-content h1 { font-size: 28px; }
  body.site-refresh .fa-integrity { padding: 30px 20px; }
}
@media(prefers-reduced-motion:reduce) {
  body.site-refresh :is(.program-card,.impact-stat,.fa-license-card) { transition: none; transform: none; }
}

/* Keep the copyright balanced and wrap between complete phrases on mobile. */
body.site-refresh .footer .copyright-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px 12px;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}
body.site-refresh .footer .copyright-line strong {
  font-size: inherit;
  font-weight: 600;
  color: #16304a;
}
body.site-refresh .footer .copyright-line > span { display: inline-block; }

/* Homepage photo carousel: a fixed stage prevents movement as photos change. */
.home-slider-stage { position: relative; height: 490px; touch-action: pan-y; }
.home-slider .home-slide { position: absolute; inset: 0; margin: 0; }
.home-slider .home-slide[hidden],
.home-slider [data-slider-controls][hidden] { display: none; }
.home-slider .home-hero-photo { height: 100%; }
.home-slider .home-slide:not([hidden]) .home-hero-photo { animation: home-photo-reveal .5s ease; }
.home-slider .home-photo-caption { bottom: -35px; }
.home-slider-controls { position: absolute; top: 18px; right: 18px; display: flex; gap: 6px; z-index: 2; }
.home-slider-controls button { width: 44px; height: 44px; border: 1px solid #ffffff70; border-radius: 6px; background: #16304ae8; color: #fff; font-size: 18px; display: grid; place-items: center; }
.home-slider-controls button:hover { background: #103e81; }
.home-slider-dots { position: absolute; bottom: 18px; right: 18px; z-index: 2; display: flex; background: #16304ae8; padding: 2px 4px; border-radius: 24px; }
.home-slider-dots button { border: 0; width: 28px; height: 32px; background: transparent; display: grid; place-items: center; }
.home-slider-dots button::before { content: ''; width: 7px; height: 7px; border: 1px solid #fff; border-radius: 50%; }
.home-slider-dots button[aria-current=true]::before { background: #fff; }
@keyframes home-photo-reveal { from { opacity: .4; } to { opacity: 1; } }
@media(max-width:991px) { .home-slider-stage { height: 420px; } }
@media(max-width:767px) {
  .home-slider-stage { height: 360px; }
  .home-slider .home-photo-caption { bottom: -35px; }
  .home-slider-dots { bottom: 68px; }
  .home-slider-controls { top: 12px; right: 12px; }
}
@media(prefers-reduced-motion:reduce) { .home-slider .home-slide:not([hidden]) .home-hero-photo { animation: none; } }

/* Reveal photo controls on hover or keyboard focus; touch devices use swiping. */
@media (hover: hover) and (pointer: fine) {
  .home-slider .home-slider-controls,
  .home-slider .home-slider-dots {
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }
  .home-slider:hover .home-slider-controls,
  .home-slider:hover .home-slider-dots,
  .home-slider:focus-within .home-slider-controls,
  .home-slider:focus-within .home-slider-dots {
    opacity: 1;
    pointer-events: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-slider .home-slider-controls,
  .home-slider .home-slider-dots { transition: none; }
}

/* Touch screens use swipe navigation without visible slider controls. */
@media (hover: none), (pointer: coarse) {
  .home-slider .home-slider-controls,
  .home-slider .home-slider-dots { display: none; }
}

/* Suggested gifts use the amount field configured on the existing Razorpay button. */
body.site-refresh .donation-presets { margin-top: 30px; max-width: 730px; }
body.site-refresh .donation-presets h2 { font-size: 18px; font-weight: 700; color: #16304a; margin-bottom: 14px; }
body.site-refresh .donation-amount-options { display: flex; flex-wrap: wrap; gap: 10px; }
body.site-refresh .donation-amount-option { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 20px; color: #103e81; background: #fff; border: 1px solid #d5dacf; border-radius: 6px; font-size: 15px; font-weight: 700; }
body.site-refresh .donation-amount-option:hover { background: #edf2eb; border-color: #103e81; }
body.site-refresh .donation-amount-option.is-selected { background: #103e81; color: #fff; border-color: #103e81; }
body.site-refresh .give-hero .donation-amount-help { font-size: 13px; line-height: 1.7; margin: 12px 0 0; }
@media (max-width: 480px) {
  body.site-refresh .donation-amount-option { padding: 10px 14px; flex: 1 0 auto; }
}

/* Human-readable sitemap uses the same public page collection as the XML. */
body.site-refresh .sitemap-eyebrow { display: block; margin-bottom: 17px; color: #bc491d; font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
body.site-refresh .sitemap-intro { max-width: 620px; margin: 20px 0 0; font-size: 17px; line-height: 1.8; }
.sitemap-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px; }
.sitemap-card { padding: 30px; border: 1px solid #e7e5df; border-radius: 8px; background: #fff; }
.sitemap-card-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; color: #bc491d; background: #f0e9dc; border-radius: 8px; font-size: 23px; margin-bottom: 22px; }
body.site-refresh .sitemap-card h2 { color: #16304a; font-size: 23px; font-weight: 750; letter-spacing: -.025em; }
body.site-refresh .sitemap-card>p { font-size: 14px; margin: 13px 0 22px; }
.sitemap-card ul { list-style: none; padding: 0; margin: 0; }
.sitemap-card li { border-top: 1px solid #eeeee8; }
.sitemap-card li a { min-height: 55px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 0; color: #103e81; font-size: 14px; font-weight: 600; }
.sitemap-card li a span { overflow-wrap: anywhere; }
.sitemap-card li a i { flex-shrink: 0; color: #7a877f; }
.sitemap-card li a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.sitemap-card a[aria-current=page] { color: #586774; }
.sitemap-help { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: #faf8f3; border: 1px solid #e9e5dc; border-radius: 8px; padding: 32px; margin-top: 32px; }
body.site-refresh .sitemap-help h2 { font-size: 24px; color: #16304a; letter-spacing: -.025em; }
body.site-refresh .sitemap-help p { margin: 10px 0 0; font-size: 14px; }
.sitemap-contact { display: inline-flex; align-items: center; justify-content: center; gap: 18px; flex-shrink: 0; min-height: 48px; padding: 12px 23px; color: #fff; background: #103e81; border-radius: 6px; font-weight: 700; font-size: 14px; }
.sitemap-contact:hover { color: #fff; background: #082a5c; }
@media(max-width:991px) { .sitemap-grid { grid-template-columns: 1fr; } }
@media(max-width:767px) { .sitemap-card { padding: 25px; } .sitemap-help { align-items: start; flex-direction: column; padding: 25px; } }

@media(max-width:359px) {
  body.site-refresh .header .logo img { width: 155px; height: 70px; max-height: 70px !important; }
}
