/* =========================
   Base / Typography
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: #000000;
  position: relative;
  z-index: 0;
}

/* Background layer with adjustable opacity */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: #e2ffbf url('./assets/topo_lines_ms_small.svg') repeat fixed;
  background-size: 17%;
  opacity: 0.35; /* 👈 CHANGE THIS VALUE */
  z-index: -1;
  pointer-events: none;
}

h1,
h2,
h3 {
  font-family: "Manrope", system-ui, sans-serif;
  margin: 0 0 0.5rem;
  color: #0a570b
}

p {
  margin: 0;
  line-height: 1.6;
}

/* =========================
   Header / Nav
========================= */

.site {
  position: sticky;
  top: 0;
  background: #aac8b7;
  z-index: 10;
  border-bottom: 1px solid #eee;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4px ;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #0a570b;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: #0a570b;
  font-weight: 600;
  font-size: 24px;
}

.brand-logo {
  width: 56px;
  height: 56px;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
}

.nav a {
  text-decoration: none;
  color: inherit;
}

.btn-header {
  padding: 0.35rem 0.75rem 0.35rem;
  border-radius: 12px;
  border: 2px solid #ffffff;
  background: #ffffff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 750;
  color: #2f7d32;
  transition: background-color 0.2s ease, color 0.2s ease;
  align-items: center;
}

.btn-header:hover {
  background-color: #2f7d32;
  color: #ffffff;
  border: 2px solid #ffffff;
}

/* =========================
   Hero
========================= */

.hero {
  padding: 2rem 1rem 0rem;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  color: #0a570b;
}

.hero h1 {
  font-size: 55px;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 21px;
  margin-bottom: 1rem;
}

.actions {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  background-color: #2f7d32;
  color: #ffffff;
  border: 1px solid #2f7d32;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background-color: #ffffff;
  color: #2f7d32;
  border: 2px solid #2f7d32;
}

/* =========================
   Frog Canvas
========================= */

#frogWrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.frog-showcase {
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

#frogCanvas {
  width: 100%;
  height: auto;
  display: block;
}

#ui {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

#ui button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

/* =========================
   Grid / Cards
========================= */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  position: relative;
  padding: 1.5rem;
  border-radius: 18px;
  background: #ffffffc9;
  border: 1px solid #eee;
  transition: box-shadow 0.2s ease;
  color: #0a570b;
}

.card h3 {
  font-size: 20px;
}

.card p {
  font-size: 14px;
}

.card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

.card-logo {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;         /* fix logo size */
  height: 36px;
  display: block;
  z-index: 10;
  opacity: .5;
  pointer-events: auto;
  padding: 3px;              /* 👈 increase this for more space */
  border-radius: 16px;
  transition: opacity 0.2s ease, transform 0.2s ease, border 0.2s ease;
}

.card-logo:hover {
  opacity: 1;
  transform: scale(1.25);
}

.card-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* =========================
   Sections
========================= */

section {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  }

section h2 {
  margin-bottom: 1rem;
  font-size: 42px;
}

section p {
  margin-bottom: 1rem;
  font-size: 18px;
  color: #0a570b;
}

/* =========================
   About / Team
========================= */

.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  color: #0a570b;
}

.person {
  background: #ffffffc9;
  border-radius: 12px;
  padding: 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #0a570b;
  text-shadow: #0000001a 0px 4px 8px;
}

.person:hover {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.person .avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0px;
}

.person h3 {
  margin: 0.5rem 0 0.25rem;
  font-size: 18px;
  color: #0a570b;
}
 
.person p {
  margin: 0;
  font-size: 14px;
  color: #0a570b;
}

.person .more {
  display: none;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: #0a570b;
  text-align: left;
}

.person.open .more {
  display: block;
}

.person .toggle {
  margin-top: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  color: #2f7d32;
}

/* =========================
   Team Photo
========================= */

.team-photo img {
  width: 100%;
  border-radius: 12px;
}
