/* style.css */

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

body {
  background: linear-gradient(-45deg, #0b1d0f, #003322, #0e2a1a, #001b14);
  background-size: 400% 400%;
  animation: gradientFlow 15s ease infinite;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


header {
  background: #00271d;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #90ee90;
  text-decoration: none;
}

nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #caffd3;
  font-weight: 500;
}

nav a:hover {
  color: #90ee90;
}

.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #a3ffcb;
}

.emails {
  font-size: 1.2rem;
  line-height: 2.2rem;
}

.emails p {
  color: #d2ffeb;
}

/* Team Section */
.team-section {
  max-width: 1200px;
  margin: 4rem auto 2rem;
  padding: 2rem;
}

.team-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #a3ffcb;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
}

.team-card {
  flex: 1 1 250px;
  background: rgba(0, 50, 30, 0.3);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 6px 12px rgba(0, 64, 32, 0.3);
}

.team-card h3 {
  color: #ffffff;
}

.team-card p {
  color: #aaffc5;
  margin-top: 0.5rem;
}

.team-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid #a3ffcb;
  box-shadow: 0 4px 10px rgba(0, 255, 160, 0.2);
}

footer {
  text-align: center;
  padding: 1.5rem;
  color: #88aa88;
  background: #002b1a;
  margin-top: 4rem;
}

@media (max-width: 600px) {
  h1, .team-section h2 {
    font-size: 2rem;
  }
}
.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 2rem 1.5rem; /* was 4rem top & bottom */
  text-align: center;
}
.team-section {
  max-width: 1200px;
  margin: 1rem auto 2rem; /* reduce top margin */
  padding: 1rem 2rem;
}
.gallery {
  justify-items: center; /* ✅ center items in grid */
}
.media-item img {
  width: 100%;
  max-width: 300px;
  height: auto; /* ✅ Maintain aspect ratio */
  object-fit: contain; /* Or "cover" if cropping is okay */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}
