body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  color: #222;
  background: #f9f9f9;
}

header,
section {
  background: #fff;
  margin: 2em auto;
  border-radius: 18px;
  max-width: 900px;
  padding: 2em;
  box-shadow: 0 2px 16px #0001;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1em;
}

.site-title {
  font-size: 1.8em;
  font-weight: bold;
}

.main-logo {
  height: 78px;
  max-width: 240px;
}

.nav-links {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 1.5em;
  margin: 0;
}

.nav-links li {
  display: inline;
}

.nav-links a {
  color: #2e7d32;
  text-decoration: none;
  font-weight: 600;
  padding: 0.2em 0.5em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #184d1d;
}

.about-flex {
  display: flex;
  align-items: flex-start;
  gap: 2.5em;
  flex-wrap: wrap;
}

.about-photo-wrap {
  flex: 0 0 180px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.about-photo {
  border-radius: 50%;
  width: 170px;
  height: 170px;
  object-fit: cover;
  border: 4px solid #e0eee5;
  background: #f6f6f6;
}

.about-text {
  flex: 1 1 300px;
  min-width: 250px;
}

.partner-logos-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed #ccc;
  padding: 2em;
  background: #f6f6f6;
  border-radius: 12px;
  min-height: 120px;
  margin-top: 1.3em;
}

.partner-logos-placeholder p {
  color: #999;
  text-align: center;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  margin: 1.5em 0 0.5em 0;
  font-size: 1.15em;
  font-weight: 500;
  color: #244c36;
}

.services-list div {
  padding-left: 0;
}

footer {
  text-align: center;
  padding: 2em 0;
  color: #aaa;
  font-size: 1em;
  background: transparent;
  box-shadow: none;
  margin: 0;
}

/* --- MEDIA SECTION --- */
.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em;
  margin-top: 2em;
}

.media-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px #0001;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s;
}
.media-card:hover {
  box-shadow: 0 6px 24px #0002;
}

.media-card img {
  width: 100%;
  height: 148px;
  object-fit: cover;
  background: #eee;
}

.media-content {
  padding: 1.1em 1em 1.5em 1em;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.media-content h3 {
  margin: 0 0 0.5em 0;
  font-size: 1.12em;
  color: #23562e;
}

.media-content p {
  margin: 0 0 1em 0;
  color: #444;
  font-size: 0.98em;
}

.media-btn {
  display: inline-block;
  background: #2e7d32;
  color: #fff;
  padding: 0.45em 1.2em;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98em;
  transition: background 0.15s;
}
.media-btn:hover {
  background: #276627;
}

@media (max-width: 1000px) {
  .about-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4em;
  }
}

@media (max-width: 900px) {
  .media-grid {
    grid-template-columns: 1fr;
    gap: 1.2em;
  }
  .media-card img {
    height: 160px;
  }
}

@media (max-width: 700px) {
  header,
  section {
    padding: 1em;
    max-width: 100%;
    margin: 1em 0;
  }
  nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    flex-direction: column;
    gap: 0.8em;
  }
  .main-logo {
    height: 52px;
    max-width: 120px;
  }
  .site-title {
    font-size: 1.2em;
  }
  .about-photo {
    width: 100px;
    height: 100px;
  }
  .media-card img {
    height: 130px;
  }
}
