* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #222;
  background-color: #fafafa;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-weight: 600;
  font-size: 1.4rem;
}

.logo span {
  color: #2b6cb0;
}

nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #000000;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: #2b6cb0;
}

.back-btn {
  background: none;
  border: none;
  color: #333;
  font-size: 1.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.3s ease;
}

.back-btn:hover {
  transform: translateX(-4px);
  color: #007aff;
}

/* Hero Section */
.about-hero {
  position: relative;
  height: 60vh;
  background: url('images/about-hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.about-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, #007BA7, #e2eafc);
}

.hero-text {
  position: relative;
  text-align: center;
  z-index: 2;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #000000;
  font-family: 'Poppins', sans-serif;
}

.hero-text p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: auto;
}

/* Mission Section */
.mission {
  text-align: center;
  padding: 4rem 2rem;
  background-color: #fff;
}

.mission h2 {
  color: #007ba7;
  margin-bottom: 1rem;
}

.mission p {
  max-width: 800px;
  margin: auto;
  font-size: 1rem;
  color: #000000;
  line-height: 1.6;
}

/* Team Section */
.team {
  padding: 4rem 2rem;
  background-color: #f4f8fc;
  text-align: center;
}

.team h2 {
  color: #007BA7;
  margin-bottom: 2rem;
}

.team-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  justify-items: center;
}

.team-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.team-card img {
  width: 100%;
  height: 75%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.team-card h3 {
  color: #007BA7;
  margin-bottom: 0.3rem;
}

.team-card p {
  color: #000000;
  font-size: 0.9rem;
}

.contact-icons a {
  color: #007BA7;
  margin: 0 0.4rem;
  transition: color 0.3s;
}

.contact-icons a:hover {
  color: #1e4e86;
}


/* Footer */
footer {
  text-align: center;
  background-color: #1b1b2f;
  color: white;
  padding: 1.5rem;
  font-size: 0.9rem;
}

.team-grid {
  display: flex;
  justify-content: center;  /* centers cards horizontally */
  gap: 20px;                /* space between cards */
  flex-wrap: wrap;          /* keeps layout responsive on smaller screens */
}

.team-card {
  background-color: #ffffff;   /* optional: dark background */
  color: white;             /* optional: white text */
  padding: 20px;
  border-radius: 10px;
  width: 250px;             /* control card width */
  text-align: center;
}
