/* Header and Navigation */
.logo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: #2a9d8f;
}
.logo {
  height: 60px;
}
nav a {
  margin: 0 1rem;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 3rem;
  background: #e9f5f2;
}
.btn {
  background: #e76f51;
  color: white;
  padding: 0.7rem 1.2rem;
  text-decoration: none;
  border-radius: 5px;
}

/* Intro Cards */
.intro {
  display: flex;
  justify-content: space-around;
  padding: 2rem;
  background: #f4f4f4;
  flex-wrap: wrap; /* allow wrapping */
}
.card {
  width: 30%;
  text-align: center;
}
.card img {
  width: 100%;
  border-radius: 8px;
}

/* Footer */
footer {
  background: #264653;
  color: white;
  text-align: center;
  padding: 1rem;
}

/* Team Section */
.team-member {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.team-img {
  width: 250px;
  height: auto;
  border-radius: 8px;
  flex-shrink: 0;
}
.team-info {
  flex: 1;
  text-align: left;
}
.team-info h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: #264653;
}
.team-info p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Dynamic Fade-In Effect */
.fade-in {
  opacity: 0;
  animation: fadeIn 2s ease-in forwards;
}
@keyframes fadeIn {
  to { opacity: 1; }
}

/* About Section */
.about-hero {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.about-img {
  width: 350px;
  height: auto;
  border-radius: 10px;
  flex-shrink: 0;
}
.about-text {
  flex: 1;
  text-align: left;
}
.about-text h1 {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #264653;
}
.about-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Services Section */
.services-hero {
  text-align: center;
  padding: 3rem 2rem 1rem;
  background: #e9f5f2;
}
.services-hero h1 {
  font-size: 2.2rem;
  color: #264653;
  margin-bottom: 1rem;
}
.services-hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
  background: #f4f4f4;
}
.service-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
}
.service-card h2 {
  color: #2a9d8f;
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .intro {
    flex-direction: column; /* stack cards vertically */
    align-items: center;
  }
  .card {
    width: 90%; /* full width on mobile */
    margin-bottom: 1.5rem;
  }
  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  nav a {
    margin: 0.5rem 0;
  }
}
