body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-image: url('backgrd.jpeg');
  background-size: cover;
  background-repeat: repeat;
  background-position: center;
  animation: moveBg 60s linear infinite;
  color: white;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

@keyframes moveBg {
  0% { background-position: 0 0; }
  100% { background-position: 1000px 0; }
}



.container {
  background-color: rgba(0, 0, 0, 0.45);
  padding: 20px;
  margin: 20px;
  border-radius: 10px;
}

header {
  text-align: center;
  padding: 10px 0;
}

.tagline h2{
  font-style: italic;
  font-size: 28px;
  color: #fff;
  margin-top: -10px;
}


/* Marquee */
.marquee-container {
  overflow: hidden;
  width: 100%;
  margin: 20px 0;
}

.marquee {
  display: flex;
  animation: scroll 30s linear infinite;
}

.marquee:hover {
  animation-play-state: paused;
}

.marquee img {
  width: 200px;
  height: 120px;
  margin: 0 10px;
  border-radius: 10px;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* For Card Titles */
.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  margin: 12px 0 6px;
  color: #ffffff;
}

/* For About Section */
.about-ecodive {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #f0f0f0;
  padding: 40px 6%;
  text-align: center;
  border-radius: 20px;
  margin: 40px auto;
  max-width: 900px;
}

.about-ecodive h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 20px;
  color: #fff;
}

.ecosystem-cards {
  padding: 2rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
}

.ecosystem-cards h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-family: 'Georgia', serif;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid #ddd;
  padding: 1rem;
  text-align: center;
  border-radius: 12px;
  transition: transform 0.3s ease;
  color: white;
  text-decoration: none;
}

.card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.2);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.card h3 {
  font-size: 1.5rem;
  margin: 0.8rem 0;
  font-family: 'Trebuchet MS', sans-serif;
}

.card p {
  font-size: 1rem;
}

.coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
}

.section {
  margin-bottom: 30px;
}

input, textarea, button {
  width: 100%;
  padding: 8px;
  margin: 5px 0 15px;
  border: none;
  border-radius: 5px;
}

button {
  background-color: #00b894;
  color: white;
  cursor: pointer;
  font-size: larger;
}

button:hover {
  background-color: #019875;
}

footer {
  text-align: center;
  padding: 10px;
  border-top: 1px solid white;
  font-size: 0.9rem;
}
