/* CSS Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #101010;
  color: #f0f0f0;
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.75;
}

/* NAVBAR / LOGO */
header {
  background: #181818;
  padding: 18px 0 8px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.22);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 96vw;
  max-width: 1100px;
  margin: 0 auto;
}
.logo {
  font-size: 2em;
  font-weight: bold;
  color: #4edc4a;
  letter-spacing: 2px;
  text-shadow: 2px 2px 12px rgba(78,220,74,0.20);
  padding-right: 20px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}
nav ul li a {
  color: #f0f0f0;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.08em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.22s, border-bottom 0.22s;
}
nav ul li a:hover, nav ul li a:focus {
  color: #4edc4a;
  border-bottom: 2px solid #4edc4a;
  outline: none;
}

.cta {
  background: linear-gradient(90deg, #4edc4a 70%, #43b343 99%);
  color: #101010;
  padding: 9px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.08em;
  box-shadow: 0 3px 10px rgba(78,220,74,0.12);
  transition: background 0.2s;
  margin-left: 30px;
}
.cta:hover, .cta:focus, .hero-cta:hover, .hero-cta:focus {
  background: #259525;
  color: #fff;
  outline: none;
}
a:focus, button:focus {
  outline: 2px solid #4edc4a;
  outline-offset: 2px;
}

/* HERO SECTION */
.hero {
  text-align: center;
  padding: 44px 24px 52px 24px;
  background: rgba(34,34,34,0.97);
  border-radius: 12px;
  margin: 38px auto 30px auto;
  width: 96vw;
  max-width: 700px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.30);
}
.hero h1 {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: #4edc4a;
  text-shadow: 2px 2px 10px rgba(78,220,74,0.28);
  font-weight: 700;
  letter-spacing: 1px;
}
.mission {
  font-size: 1.18em;
  margin-bottom: 19px;
  color: #e0e0e0;
}
.hero-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 28px;
  background: #4edc4a;
  color: #101010;
  border-radius: 6px;
  font-weight: bold;
  box-shadow: 0 2px 9px rgba(78,220,74,0.13);
  font-size: 1.07em;
}

/* ANIMAL CARDS CSS GRID */
.rescues {
  max-width: 1080px;
  margin: 0 auto;
  padding: 44px 24px;
}
.animal-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  justify-items: center;
}
.animal-cards article {
  transition: box-shadow 0.2s, transform 0.2s;
}
.animal-cards article:hover {
  box-shadow: 0 4px 28px rgba(34,240,110,0.19);
  transform: translateY(-8px) scale(1.04);
}

article {
  background: rgba(24,24,24,0.98);
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.39);
  padding: 20px 11px 14px 11px;
  width: 240px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
figure img {
  width: 205px;
  height: 142px;
  object-fit: cover;
  border-radius: 13px;
  margin-bottom: 12px;
  box-shadow: 0 2px 16px rgba(78,220,74,0.15);
  transition: box-shadow 0.2s;
}
figure img:hover {
  box-shadow: 0 6px 45px rgba(34,240,110,0.30);
}
figcaption h3 {
  color: #4edc4a;
  margin-bottom: 8px;
  font-size: 1.16em;
}
figcaption p {
  color: #e0e0e0;
  font-size: 1em;
}

/* ASIDE / SUPPORT INFO */
.support-info {
  margin: 45px auto 0 auto;
  padding: 24px 34px;
  background: rgba(34,180,34,0.22);
  max-width: 660px;
  border-radius: 13px;
  color: #101010;
  font-weight: 500;
  box-shadow: 0 1px 15px rgba(34,180,34,0.20);
}

/* CONTACT FOOTER */
.contact-footer {
  background: #181818;
  color: #f0f0f0;
  text-align: center;
  padding: 38px 0 20px 0;
  margin-top: 49px;
  border-top: 2px solid #4edc4a;
  box-shadow: 0 -2px 10px rgba(78,220,74,0.10);
}
.contact-footer a {
  color: #4edc4a;
  text-decoration: none;
  text-shadow: 1px 2px 7px rgba(78,220,74,0.16);
  transition: color 0.2s;
}
.contact-footer a:hover {
  color: #27c327;
  text-shadow: 0 2px 14px rgba(34,180,34,0.22);
}

@media (max-width: 1000px) {
  .animal-cards {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 800px) {
  .animal-cards { grid-template-columns: 1fr; }
  .navbar { flex-direction: column; gap: 16px; }
  .hero, .rescues { width: 99vw; padding: 18px; }
  article { width: 99vw; }
}
@media (max-width: 500px) {
  figure img { width: 93vw; height: auto; }
  article { width: 99vw; }
  .logo { font-size: 1
  .media-section {
  margin: 48px auto;
  padding: 28px 20px;
  background: rgba(40, 60, 40, 0.13);
  border-radius: 12px;
  max-width: 750px;
  box-shadow: 0 2px 10px rgba(34,180,34,0.10);
  text-align: center;
}
.video-container {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto 24px auto;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
}
.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 8px;
  box-shadow: 0 3px 16px rgba(34,180,34,0.13);
}
.media-section h2, .media-section h3 { color: #259525; }