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

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #222;
  background: radial-gradient(circle at top left, #ffeef3, #f7fff7);
}

body.home {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.center-layout {
  width: 100%;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.goal-section {
  max-width: 720px;
  margin: 18px auto 8px;
  padding: 12px 16px 18px;
  border-radius: 16px;
  background: #ffffffcc;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.goal-text {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: #374151;
  font-weight: 500;
}

.goal-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.goal-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: "#ef4444";
  transition: width 0.25s ease, background 0.25s ease;
}


.hero {
  margin: 0 0 24px;
  padding: 0 16px;
}

.hero-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border-radius: 50%;
  background: #ff4b4b;
  color: #fff;
}

.hero-title {
  margin: 0;
  font-size: 2.6rem;
  font-weight: 700;
  color: #111827;
}

.hero-title .accent {
  color: #e11d48;
}

.hero-subtitle {
  margin-top: 8px;
  margin-bottom: 0;
  color: #4b5563;
  font-size: 1rem;
}

.bags-section {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 10px 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sled-bar {
  width: 260px;
  height: 10px;
  border-radius: 999px;
  background-color: #8b4513;
  margin: 16px auto 24px;
}

.bags-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: nowrap;
}

.bag-card {
  width: 260px;
  min-height: 290px;
  padding: 24px 20px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  cursor: pointer;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;

  transition: transform 0.18s ease, box-shadow 0.18s ease;
  outline: none;
}

.bag-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
}

.bag-card:focus-visible {
  box-shadow: 0 0 0 3px #f97316;
}

.bag-image {
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
  margin-bottom: 16px;
}


.bag-label {
  width: 100%;
  margin-top: 4px;
  color: #111827;
}

.bag-label h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 700;
}

.bag-label p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #555;
}

.hero-footer {
  font-size: 0.95rem;
  color: #4b5563;
}

.accent-text {
  color: #e11d48;
  font-weight: 600;
}

.inner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background-color: #ffffffd9;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #f3f4f6;
}

.logo {
  font-weight: 700;
  color: #e11d48;
  text-decoration: none;
}

nav .nav-link {
  margin-left: 16px;
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  font-size: 0.95rem;
}

nav .nav-link.active {
  color: #e11d48;
}

.page {
  max-width: 960px;
  margin: 24px auto 40px;
  padding: 0 16px 40px;
}

.page h1 {
  font-size: 2rem;
  margin-bottom: 4px;
}

.page-subtitle {
  margin-top: 0;
  color: #4b5563;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: #e11d48;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(248, 113, 113, 0.45);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: default;
  box-shadow: none;
}

.btn-secondary {
  background-color: #ffffff;
  color: #111827;
  border: 1px solid #e5e7eb;

  white-space: nowrap;
  padding: 10px 22px;
  font-size: 0.9rem;
  margin-top: 12px;
}

.children-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.child-card {
  display: flex;
  padding: 16px;
  border-radius: 20px;
  background-color: #ffffff;
  box-shadow: 0 8px 20px rgba(31, 41, 55, 0.08);
}

.child-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-right: 16px;
  background: #fef3c7;
}

.child-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.child-info h2 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.child-about {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #4b5563;
}

.child-status {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.status-available {
  background-color: #dcfce7;
  color: #166534;
}

.status-sponsored {
  background-color: #fee2e2;
  color: #b91c1c;
}

.mission-banner {
  width: 100%;
  padding: 20px 16px;
  border-radius: 16px;
  background: #e11d48;
  color: #ffffff;
  text-align: center;
  margin-bottom: 24px;
}

.mission-content {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 24px;
}

.mission-video-wrapper iframe,
.video-placeholder {
  width: 100%;
  height: 280px;
  border-radius: 16px;
  border: none;
}

.video-placeholder {
  background: #111827;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #f9fafb;
  text-align: center;
  padding: 16px;
}

.video-placeholder .small {
  font-size: 0.8rem;
  color: #d1d5db;
  margin-top: 6px;
}

.mission-text p {
  margin-top: 0;
  margin-bottom: 12px;
  color: #4b5563;
}

.partner-strip {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #6b7280;
}

.partner-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15));
}

.partner-text {
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-footer {
  max-width: 720px;
  margin: 24px auto 0;
  padding: 12px 16px 0;
  border-top: 1px solid #e5e7eb;
  font-size: 0.8rem;
  color: #6b7280;
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .bags-container {
    flex-wrap: wrap;
    gap: 24px;
  }

  .bag-card {
    width: 220px;
    min-height: auto;
  }

  .bag-image {
    width: 135px;
    height: 135px;
  }

  .mission-content {
    grid-template-columns: 1fr;
  }

  .inner-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
