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

/* Fonts */
body {
  font-family: 'Quicksand', sans-serif;
  line-height: 1.6;
  color: #2c3e50; /* Dark blue-gray text */
  background-color: #f5f9f6; /* Light natural background */
}

/* Hero Section */
.hero {
  background: url('Logo/forest_background.jpg') no-repeat center center/cover;
  text-align: center;
  color: #ffffff;
  padding: 140px 20px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4); /* overlay for readability */
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: bold;
  position: relative; /* sits above overlay */
  z-index: 1;
  padding: 20px;
  max-width: 800px;
  margin: auto;
  border-radius: 10px;

  /* Fade-in effect */
  opacity: 0;
  animation: fadeIn 2s ease-in forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Section Styling */
section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

section h2 {
  font-size: 1.8rem;
  color: #1e5631; /* Eco green */
  margin-bottom: 20px;
  text-align: center;
  font-family: 'Cabin', sans-serif;
}

section p, section ul {
  font-size: 1rem;
  color: #34495e;
  margin-bottom: 20px;
}

ul {
  list-style: none; /* remove default bullets */
  padding-left: 0;
}

/* Section Images */
.about-photo,
.building-photo,
.partners-photo,
.contact-photo {
  max-width: 100%;
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.15);
}

/* Consistent sizing for section photos */
#burn-photo,
#canopy-photo,
#mangroves-photo {
  max-height: 450px;   /* same height for all */
  width: 100%;
  object-fit: cover;
  display: block;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.15);
}

/* Center text in specific sections */
.building, .contact, .about {
  text-align: center;
}

/* Footer */
footer {
  background: #1e5631;
  color: #ffffff;
  text-align: center;
  padding: 20px;
}

.footer-logo {
  max-width: 100px;
  margin-top: 10px;
}

/* Global icon styling */
.icon {
  margin-right: 8px;
  color: #1e5631; /* Eco green for all main icons */
  vertical-align: middle;
  font-size: 1.2em;
}

.icon:hover {
  color: #88bb67;  /* lighter EcoRestore green */
  transform: scale(1.1);
  transition: all 0.3s ease;
}

/* Footer-specific icon override */
.footer-icon {
  margin-right: 8px;
  color: #88bb67; /* EcoRestore green */
  vertical-align: middle; /* keeps icon aligned with text */
  font-size: 1.3em; /* optional: slightly larger for emphasis */
}
