* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
}
.hero {
  background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.3)), url('images/SL3.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 0 1rem;
}

.hero-content {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 15px;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.btn {
  background: #374a5a;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  text-align: center;
  transition: background 0.3s ease;
  display: inline-block;
}
.btn:hover {
  background: #2c3e50;
}
.section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
}
.section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
  color: #333;
  background: linear-gradient( to right,#e2d1c3 ,#374a5a);
  padding: 10px 20px;
}
.section p {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #444;
}
.section ul {
  list-style-type: disc;
  list-style-position: inside;
  padding: 0 1.5rem;
  text-align: center;
  color: #444;
}

.section h3 {
  font-size: 1.5rem;
  color: #333;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.alt-section {
  background: #eef2f7;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}
.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}



.team-grid {
  display: grid;
  gap: 1.5rem;
}

/* Default: stacked layout for mobile */
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
  text-align: center;
}

.team-card:hover {
  transform: scale(1.02);
}

.team-card img {
  width: 100px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.team-info {
  flex: 1;
}

.team-info h3 {
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
  color: #333;
}

.team-info p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: #555;
}

.team-links {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.team-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #374a5a;
  color: white;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.team-links a:hover {
  background-color: #2c3e50;
  transform: scale(1.1);
}

/* Responsive: row layout for large screens */
@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }

  .team-card {
    flex-direction: row;
    text-align: left;
  }

  .team-card img {
    margin: 0 1rem 0 0;
  }

  .team-info {
    align-self: center;
  }

  .team-links {
    justify-content: flex-start;
  }
}


footer {
  text-align: center;
  padding: 2rem;
  background-color: #374a5a;
  color: #999;
}
