@font-face {
  font-family: 'Sweet Apricot';
  src: url('fonts/sweet-apricot.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

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

body {
  font-family: Inria Serif;
  line-height: 1.6;
  color: #333;
  background-color: rgb(250, 250, 250);
}

/* Navbar */
header {
  background: rgb(255, 237, 173);
  color: rgb(178, 40, 4);
  font-family: Lilita One;
  padding: 1rem 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  padding: 0 1rem;
}

.logo {
  font-size: 1.4rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.nav-links li {
  margin-left: 1rem;
}

.nav-links a {
  color: rgb(178, 40, 4);
  font-family: Lilita One;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: rgb(224, 255, 224);
}

/* Sections */
.section {
  padding: 3rem 1rem;
  max-width: 900px;
  margin: auto;
}

.section h2 {
  color: black;
  margin-bottom: 1rem;
  font-family: 'Sweet Apricot';
  font-size: 30px;
}

.section ul {
  margin-left: 1.5rem;
  list-style-type: disc;
}

/* Home */
.home {
  background: rgb(244, 244, 244);
  text-align: center;
  padding: 4rem 1rem;
}

.home-logo img {
  height: 100px;
  width: 100px;
  border-radius: 50%;
}

/* Photo Gallery */
.photo-gallery {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.photo-gallery img {
  flex: 1 1 calc(50% - 1rem);
  max-width: calc(50% - 1rem);
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(0,0,0,0.15);
}

/* News Grid */
.news-grid {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

/* News Cards */
.news-card {
  width: calc(50% - 1rem);
  text-align: center;
  text-decoration: none;
  color: inherit;
  background: white;
  border-radius: 12px;
  padding: 0.75rem;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);

  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: var(--delay, 0s);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.news-card:hover {
  transform: scale(1.04);
  box-shadow: 0 0 14px rgba(0,0,0,0.3);
}

.news-card img {
  width: 100%;
  border-radius: 10px;
}

.news-card h3 {
  margin-top: 0.75rem;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
}

/* Fade-in animation */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

/* Help */
.help-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.column {
  flex: 1;
  min-width: 280px;
}

/* Impact */
.stats p {
  background: rgb(233, 245, 251);
  padding: 1rem;
  border-left: 5px solid lightblue;
  margin-bottom: 0.75rem;
  border-radius: 4px;
}

/* Contact */
.contact a {
  color: rgb(61, 61, 255);
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

/* ========================= */
/* SOCIAL MEDIA (BORDERLESS) */
/* ========================= */

.social-media {
  margin-top: 2rem;
  text-align: center;
}

.social-media-cards {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.social-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease;
}

.social-card a:hover {
  transform: scale(1.08);
  cursor: pointer;
}

.social-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 0.4rem;
}

.social-card span {
  font-weight: bold;
  font-size: 1rem;
}

/* Footer */
footer {
  background: rgb(51, 51, 51);
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
  }

  .nav-links {
    justify-content: center;
    margin-top: 0.5rem;
  }

  .photo-gallery img,
  .news-card {
    max-width: 90%;
    flex-basis: 90%;
  }

  .help-container {
    flex-direction: column;
  }
}
