:root {
  --bg: #f8fafc;
  --surface: #fff;
  --text: #1f2937;
  --muted: #6b7280;
  --primary: #2d6cdf;
  --accent: #ff6b6b;
  --ring: rgba(45, 108, 223, 0.25);
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  --radius: 16px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}
.section {
  padding: 64px 0;
}
.section.alt {
  background: #f2f5f9;
}
.section h2 {
  font-size: 1.8rem;
  margin: 0 0 8px;
}
.section p {
  color: var(--muted);
}
.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  background: var(--primary);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid #e5e7eb;
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  color: var(--accent); /* var(--text); */
  font-size: 1.1rem;
}
.brand i {
  color: var(--primary);
}
.tagline {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}
.nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #e5e7eb;
  padding: 8px 10px;
  border-radius: 10px;
}
.nav-menu {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-menu a {
  text-decoration: none;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
}
.nav-menu a:hover {
  background: #eef2ff;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.08s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-small {
  padding: 8px 12px;
  box-shadow: none;
  border: 1px solid #e5e7eb;
}
.hero {
  position: relative;
  min-height: 68vh;
  display: grid;
  place-items: center;
}
.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.35));
}
.hero-content {
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 0 0 10px;
}
.hero-sub {
  max-width: 800px;
  margin: 0 auto 24px;
  opacity: 0.92;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.feature {
  background: var(--surface);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.feature i {
  color: var(--primary);
  font-size: 1.5rem;
}
.feature h3 {
  margin: 10px 0 6px;
}
.mission-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 12px;
}
.mission-list li {
  background: var(--surface);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mission-list i {
  color: #ff6b6b;
}
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow);
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.slide {
  min-width: 100%;
  position: relative;
  margin: auto;
}
.slide img {
  width: 100%;
  height: 520px; /* 340px; */
  object-fit: cover;
}
.slide-content {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  padding: 12px 16px;
  border-radius: 12px;
  max-width: 520px;
  box-shadow: var(--shadow);
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e5e7eb;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
}
.carousel-btn:hover {
  background: #fff;
}
.carousel-btn.prev {
  left: 12px;
}
.carousel-btn.next {
  right: 12px;
}
.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 12px;
}
.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: #d1d5db;
}
.carousel-dots button.active {
  background: var(--primary);
}
.cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  /* margin-top: 16px; */
}
.card {
  background: var(--surface);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.card-icon {
  font-size: 1.8rem;
  color: var(--primary);
}
.card h3 {
  margin: 10px 0 6px;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 12px;
}
.details-grid article {
  background: var(--surface);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.details-grid i {
  color: var(--primary);
}
.contrib-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 12px;
}
.contrib-card {
  background: var(--surface);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: grid;
  align-content: start;
  gap: 8px;
}
.contrib-card i {
  font-size: 1.6rem;
  color: var(--accent);
}
.contact-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: start;
}
.contact-form {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}
.form-row input,
.form-row textarea {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--ring);
  border-color: var(--primary);
}
.form-row.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-status {
  margin-top: 10px;
  color: #16a34a;
}
.contact-info {
  background: var(--surface);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.contact-info h3 {
  margin: 6px 0;
}
.contact-info .social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.contact-info .social a {
  color: var(--text);
  background: #f1f5f9;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
}
.float-tab {
  position: fixed;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 10px;
  z-index: 900;
}
.float-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--text);
  border: 1px solid #e5e7eb;
  padding: 10px 14px;
  border-radius: 999px 0 0 999px;
  box-shadow: var(--shadow);
  text-decoration: none;
}
.float-btn.accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  place-items: center;
  padding: 20px;
  z-index: 1000;
}
.modal[aria-hidden='false'] {
  display: grid;
}
.modal-content {
  background: var(--surface);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 20px;
  width: min(520px, 95%);
  box-shadow: var(--shadow);
  position: relative;
}
.modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}
.subscribe-form {
  display: grid;
  gap: 8px;
}
.subscribe-form input {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
}
.site-footer {
  background: #0f172a;
  color: #e2e8f0;
  margin-top: 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
  padding: 24px 0;
}
.footer-col h4 {
  margin: 6px 0;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.footer-col a {
  color: #e2e8f0;
  text-decoration: none;
}
.footer-bottom {
  border-top: 1px solid #334155;
  padding: 12px 0 24px;
  text-align: center;
  font-size: 0.95rem;
}
.Xchevron {
  position: relative;
  left: -20%;
  clip-path: polygon(0% 0%, 86% 0, 100% 50%, 86% 100%, 0% 100%);
  clip-path: polygon(87% 0, 100% 50%, 84% 100%, 0% 100%, 13% 50%, 0% 0%);
  padding-right: 20%;
  padding-left: 15%;
}
.Xvert {
  transform: rotate(-90deg);
}
.aside-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: start;
}
.donation-box {
  background: var(--surface);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
  max-height: 260px;
  overflow-y: auto;
}
.donation-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.donation-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px;
  background: #fff;
}

.donation-item .meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.donation-item .amount {
  font-weight: 600;
  color: var(--primary);
}

/* Testimonials */
.t-carousel .slide {
  min-width: 100%;
  position: relative;
  background: #fff;
}

.t-carousel .slide .slide-content {
  position: static;
  background: transparent;
  box-shadow: none;
  padding: 16px;
}

.testimonial-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #e5e7eb;
}

.testimonial-text {
  color: var(--text);
}

.testimonial-by {
  color: var(--muted);
  font-size: 0.95rem;
}

.rating {
  color: #f59e0b;
}

/* Responsive */
@media (max-width: 980px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }

  .cards {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .details-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .aside-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    right: 12px;
    top: 56px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 8px;
    box-shadow: var(--shadow);
    flex-direction: column;
  }

  .nav-menu.show {
    display: flex;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}
.fullscreen-iframe {
  display: block; /* Removes default inline spacing */
  width: 98vw; /* 100% of the viewport width */
  height: 90vh; /* 100% of the viewport height */
  border: none; /* Removes the default iframe border */
  box-sizing: border-box;
  overflow-y: scroll; /* Always show vertical scrollbar */
  overflow-x: hidden; /* Hide horizontal scrollbar */
}
.center-section {
  display: grid;
  place-items: center;
}
/* Rating stars */
.rating-group {
  margin: 1rem 0;
}

.rating-label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.rating-stars {
  display: flex;
  gap: 0.3rem;
}

.rating-stars button {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #ccc;
  cursor: pointer;
  transition: color 0.2s, transform 0.1s;
}

.rating-stars button:hover,
.rating-stars button:focus {
  transform: scale(1.1);
}

.rating-stars button.active {
  color: #f4c430; /* yellow */
}

/* Inputs */
.modal-content label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}

.modal-content input,
.modal-content select,
.modal-content textarea {
  padding: 0.55rem 0.6rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}

.modal-content input:focus,
.modal-content select:focus,
.modal-content textarea:focus {
  outline: none;
  border-color: #4a6cf7;
  box-shadow: 0 0 0 2px rgba(74, 108, 247, 0.15);
}

.float-tab {
  position: fixed;
  right: 1rem;
  bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* 🔑 critical */
  gap: 0.6rem;
  z-index: 50;
}

.float-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.6rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #fff;
  color: #333;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: width 0.25s ease, padding 0.25s ease, background 0.2s ease;
  overflow: hidden;
  white-space: nowrap;
}

.float-btn.accent {
  background: #ff5a5f;
  color: #fff;
}

.float-btn i {
  font-size: 1.1rem;
  min-width: 20px;
  text-align: center;
}

/* Hidden label by default */
.float-label {
  opacity: 0;
  max-width: 0;
  transition: opacity 0.2s ease, max-width 0.25s ease;
}

/* Desktop hover */
@media (hover: hover) and (pointer: fine) {
  .float-btn:hover {
    width: 160px;
    /* justify-content: flex-start; */
    padding: 0.6rem 1rem;
  }

  .float-btn:hover .float-label {
    opacity: 1;
    max-width: 120px;
  }
}

/* Mobile expanded state (JS-controlled) */
.float-btn.expanded {
  width: 160px;
  /* justify-content: flex-start; */
  padding: 0.6rem 1rem;
}

.float-btn.expanded .float-label {
  opacity: 1;
  max-width: 120px;
}

/* albums */
#albumWrap {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 12px;
  padding: 5px; /* 16px; */
  scroll-snap-type: x mandatory; /* Makes cards snap into place */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling for mobile */
}

/* Hide scrollbar for a cleaner look (optional) */
.albumWrap::-webkit-scrollbar {
  display: none;
}

.album-mini-card {
  flex: 0 0 140px; /* Minimum space: fixed width cards */
  scroll-snap-align: start;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);

  display: flex;
  flex-direction: column;
  /* min-height: 200px; */
}

.album-card-type {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 0.5px;
  height: 70%;
}

.album-card-title {
  font-size: 0.9rem;
  margin: 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* Keeps text on one line */
  height: 70%;
}

.album-card-count {
  margin-top: auto;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
  color: #333;
}

.album-card-count span {
  font-size: 0.7rem;
  font-weight: normal;
  color: #666;
}

#gallery {
  padding: 10px;
}

.album-mini-card.is-active {
  --accent: #00f2ff;
  background: linear-gradient(
    145deg,
    rgba(250, 12, 12, 0.1),
    rgba(250, 12, 12, 0.4)
  );
  transform: translateY(-6px) scale(1.05);
  /* box-shadow: 0 16px 45px rgba(0, 242, 255, 0.35),
    inset 0 0 0 1px rgba(0, 242, 255, 0.4);*/
}
