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

:root {
  --green: #4CAF50;
  --yellow: #FFC107;
  --red: #F44336;
  --dark: #1a1a1a;
  --light: #fafafa;
  --gray: #666;
  --light-gray: #e0e0e0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: #f9fcf8;
  padding-top: 100px;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  background: #e0f1da;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #c8e6c9;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 3rem;
  z-index: 100;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

nav a {
  text-decoration: none;
  color: var(--dark);
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--green);
}

nav a.active {
  color: var(--green);
  font-weight: 600;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  position: relative;
  transition: background 0.2s;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--dark);
  left: 0;
  transition: transform 0.2s, top 0.2s;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

/* Hamburger to X animation */
.menu-toggle.active .hamburger {
  background: transparent;
}

.menu-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Sections */
section {
  padding: 5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

section h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

section p {
  color: var(--gray);
  font-size: 1.1rem;
}

section ul {
  margin-left: 2rem;
  margin-top: 1rem;
  color: var(--gray);
}

section ul li {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Alternate background */
.alt-bg {
  background: #f9fcf8;
  max-width: 100%;
  padding-left: calc((100% - 900px) / 2 + 2rem);
  padding-right: calc((100% - 900px) / 2 + 2rem);
}

/* SDG Goals */
.sdg-goals {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.sdg-goals img {
  width: 120px;
  height: auto;
  border-radius: 4px;
}

/* Focus Areas Grid */
.focus-areas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.focus-card {
  background: var(--light);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--light-gray);
  transition: transform 0.2s, box-shadow 0.2s;
}

.focus-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.focus-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.focus-card p {
  font-size: 0.95rem;
}

.focus-card ul {
  margin-left: 1.5rem;
  margin-top: 0.5rem;
}

.focus-card li {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.focus-card a {
  color: var(--green);
  text-decoration: none;
  font-weight: 500;
}

.focus-card a:hover {
  text-decoration: underline;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.gallery-item {
  background: var(--light);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--light-gray);
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: 1rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 500;
}

/* Contact Form */
.contact-form {
  margin-top: 2rem;
  max-width: 600px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark);
}

.form-group label .required {
  color: var(--red);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
}

.form-group textarea {
  resize: vertical;
}

/* Button */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.2s, background 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green);
  color: white;
}

.btn-primary:hover {
  background: #45a049;
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

footer p {
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.tagline {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding-top: 80px;
  }

  nav {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 1rem 0;
    order: 3;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
  }

  .nav-menu li:last-child a {
    border-bottom: none;
  }

  .focus-areas {
    grid-template-columns: 1fr;
  }

  section {
    padding: 3rem 1.5rem;
  }

  .alt-bg {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
