/* ===== HOME PAGE STYLES ===== */

/* HERO */
.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 72px;
  /* Account for fixed header */
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroPulse 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes heroPulse {
  from {
    transform: scale(1.05);
  }

  to {
    transform: scale(1.1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(13, 27, 94, 0.92) 0%,
      rgba(13, 27, 94, 0.75) 50%,
      rgba(139, 0, 0, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: heroIn 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow {
  margin-bottom: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1.2px;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.hero-content h1 em {
  color: #FFD166;
  font-style: normal;
}

.hero-content>p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.6rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* MISSION STRIP */
.mission-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 80px;
  gap: 0;
}

.mission-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 28px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.5px;
}

.mission-item .mdi {
  font-size: 1.15rem;
  color: var(--red);
}

.mission-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}

/* ACTION GRID */
.action-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.action-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}

.action-card:hover {
  box-shadow: var(--shadow-md);
}

.action-card--main {
  border-left: 4px solid var(--red);
}

.action-card__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.action-card__header h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.action-card__header p {
  font-size: 0.82rem;
  color: var(--gray);
}

.amount-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.amount-btn {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  background: transparent;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s;
}

.amount-btn:hover,
.amount-btn.active {
  background: var(--blue);
  color: var(--white);
}

.amount-btn--other {
  border-color: var(--gray-light);
  color: var(--gray);
}

.amount-btn--other:hover,
.amount-btn--other.active {
  background: var(--gray);
  border-color: var(--gray);
  color: var(--white);
}

/* VOLUNTEER AREAS */
.volunteer-areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.vol-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--off-white);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--dark);
  border: 1px solid var(--border);
}

.vol-area .mdi {
  color: var(--blue);
  font-size: 1rem;
}

/* PROPOSALS PREVIEW */
.proposals-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.proposal-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: pointer;
}

.proposal-item:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.proposal-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  min-width: 32px;
}

.proposal-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.proposal-icon-wrap.blue {
  background: var(--blue-light);
  color: var(--blue);
}

.proposal-icon-wrap.red {
  background: var(--red-light);
  color: var(--red);
}

.proposal-icon-wrap.gold {
  background: #FDF3DC;
  color: var(--gold);
}

.proposal-icon-wrap.green {
  background: #E6F4EF;
  color: var(--green);
}

.proposal-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--dark);
}

.proposal-item p {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.5;
}

.proposal-item>div:last-of-type {
  flex: 1;
}

.proposal-arrow {
  color: var(--blue-light);
  font-size: 1.2rem;
  transition: all 0.2s;
  flex-shrink: 0;
}

.proposal-item:hover .proposal-arrow {
  color: var(--blue);
}

/* NEWS GRID */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: all 0.25s;
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.news-img-wrap {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.news-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.news-card:hover .news-img-wrap img {
  transform: scale(1.05);
}

.news-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.badge-gold {
  background: #FDF3DC;
  color: #9A6A00;
}

.news-body {
  padding: 18px 20px;
}

.news-date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--gray-light);
  margin-bottom: 8px;
}

.news-card h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--dark);
}

.news-card p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.55;
  margin-bottom: 12px;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  transition: gap 0.2s;
}

.news-link:hover {
  gap: 8px;
}

/* CTA BAND */
.cta-band {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
  padding: 60px 80px;
}

.cta-content {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-icon {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.cta-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.cta-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.cta-content>div:nth-child(2) {
  flex: 1;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* PAYMENT GRID */
.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 4px;
}

.payment-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--dark);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.2s;
}

.payment-btn .mdi {
  font-size: 1.6rem;
  color: var(--blue);
}

.payment-btn:hover {
  border-color: var(--blue);
  background: var(--blue-light);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .action-grid {
    grid-template-columns: 1fr 1fr;
  }

  .action-card--main {
    grid-column: 1 / -1;
  }

  .hero-content {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.4rem;
  }

  .hero-content {
    padding: 0 20px;
  }

  .action-grid,
  .proposals-preview,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .mission-strip {
    flex-wrap: wrap;
    padding: 16px 20px;
  }

  .mission-divider {
    display: none;
  }

  .cta-band {
    padding: 40px 20px;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
}