* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(255, 215, 0, 0); }
}

.pulse-donate {
  animation: pulse-glow 2s infinite;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.slide-in-left { animation: slideInLeft 0.6s ease-out forwards; }
.slide-in-right { animation: slideInRight 0.6s ease-out forwards; }

@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.count-up-anim {
  animation: countUp 0.5s ease-out forwards;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-scroll {
  animation: marquee 20s linear infinite;
}

.glass-nav {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-bg {
  background: linear-gradient(135deg, rgba(0, 43, 94, 0.85) 0%, rgba(0, 87, 183, 0.6) 40%, rgba(0, 87, 183, 0.3) 100%);
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 87, 183, 0.15);
}

.tab-active {
  border-bottom: 3px solid #0057B7;
  color: #0057B7;
  font-weight: 700;
}

.pill-selected {
  background-color: #0057B7;
  color: white;
}

.pill-unselected {
  background-color: #F5F5F5;
  color: #374151;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #0057B7, #FFD700);
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .timeline-line {
    left: 20px;
  }
}

.donor-ticker {
  overflow: hidden;
}

.testimonial-slide {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #0057B7;
  box-shadow: 0 0 0 3px rgba(0, 87, 183, 0.15);
}

.modal-overlay {
  background: rgba(0, 43, 94, 0.6);
  backdrop-filter: blur(4px);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #F5F5F5;
}

::-webkit-scrollbar-thumb {
  background: #0057B7;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #003F8A;
}

/* Hero carousel */
.hero-slide {
  transition: opacity 0.8s ease-in-out;
}

/* Carousel dots */
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}
.carousel-dot.active {
  background-color: #FFD700;
  transform: scale(1.2);
}
.carousel-dot.inactive {
  background-color: rgba(255,255,255,0.5);
}

/* Hero arrow buttons */
.hero-arrow {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.hero-arrow:hover {
  background: rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.6);
}

/* Values icon section */
.value-icon-card {
  text-align: center;
  padding: 24px 16px;
  transition: transform 0.3s ease;
}
.value-icon-card:hover {
  transform: translateY(-4px);
}
.value-icon-svg {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
}

/* Impact stats dark band */
.impact-band {
  background: linear-gradient(135deg, #002B5E 0%, #003F8A 50%, #0057B7 100%);
}

/* Featured story */
.featured-story-bg {
  background: #F5F5F5;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #0057B7 0%, #003F8A 100%);
}

/* Footer */
.footer-main {
  background: #1a1a2e;
}
.footer-bottom {
  background: #12121f;
}

/* Sunflower divider */
.sunflower-divider {
  background: repeating-linear-gradient(
    90deg,
    #FFD700 0px,
    #FFD700 20px,
    #0057B7 20px,
    #0057B7 40px
  );
  height: 4px;
  opacity: 0.6;
}