/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: Arial, sans-serif;
}

/* Hero Section */
.hero-image {
  background-image: url('image/PROJECT/SUB 6.jpg'); /* Make sure the image path is correct */
  height:60vh; /* Use viewport height for proper scaling */
  width: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 3em;
  text-align: center;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

/* Team Section */
.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  background-color: #fff;
  max-width: 1200px;
  margin: 0 auto;
}

.team-member {
  width: 160px;
  text-align: center;
  background: #f9f9f9;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-8px);
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ddd;
  margin-bottom: 15px;
}

.team-member h3 {
  font-size: 1.05em;
  margin: 5px 0;
  color: #333;
}

.team-member p {
  font-size: 0.9em;
  color: #666;
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-text {
    font-size: 2em;
    padding: 0 10px;
  }

  .team-member {
    width: 140px;
  }

  .team-container {
    gap: 25px;
  }
}

@media (max-width: 480px) {
  .hero-text {
    font-size: 1.5em;
  }

  .team-member {
    width: 100%;
    max-width: 300px;
  }
}
