* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
}

/* Navbar */
.navbar {
  background-color: #2a3f54;
  padding: 15px 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo .logo-icon {
  display: flex;
  align-items: center;
  color: #ecf0f1;
  font-weight: 700;
  font-size: 1.7rem;
  cursor: default;
  user-select: none;
}

.logo-icon img {
  width: 45px;
  height: 45px;
  margin-right: 12px;
  object-fit: contain;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-menu li a {
  color: #ecf0f1;
  text-decoration: none;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 6px;
  transition: background-color 0.25s ease;
}

.nav-menu li a:hover,
.nav-menu li a:focus {
  background-color: #3d5a7c;
  outline: none;
}

.nav-menu li input.search {
  padding: 7px 12px;
  border-radius: 8px;
  border: none;
  width: 200px;
  font-size: 1rem;
  transition: box-shadow 0.3s ease;
}

.nav-menu li input.search:focus {
  outline: none;
  box-shadow: 0 0 8px #2980b9;
}

.nav-buttons a.signbutton {
  background-color: #ecf0f1;
  color: #2a3f54;
  padding: 8px 22px;
  border-radius: 25px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  user-select: none;
}

.nav-buttons a.signbutton:hover,
.nav-buttons a.signbutton:focus {
  background-color: #2980b9;
  color: white;
  outline: none;
}

/* Main Content */
main {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Team Section Container */
.team {
  width: 100%;
}

/* Section Heading */
.team h2 {
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0056b3;
  margin-bottom: 50px;
  text-align: center;
  font-size: 3rem;
}

/* Team Cards Container */
.team .card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
}

/* Team Cards */
.team .card {
  max-width: 260px;
  cursor: default;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  padding: 10px 15px;
  border-radius: 10px;
  background: #f4faff;
  box-shadow: 0 2px 10px rgba(0, 86, 179, 0.15);
  text-align: center;

  /* Animation setup */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
  animation-delay: calc(var(--order) * 0.15s);
}

.team .card:hover {
  transform: translateY(-12px);
  box-shadow: 0 6px 25px rgba(0, 86, 179, 0.3);
}

.team .card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #007bff;
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
}

.team .card:hover img {
  border-color: #003e7e;
}

.team .card h3 {
  font-size: 1.6rem;
  color: #003e7e;
  font-weight: 700;
  margin-bottom: 8px;
}

.team .card p {
  font-style: italic;
  font-size: 1.1rem;
  color: #444;
}

/* Footer */
.footer {
  background-color: #2a3f54;
  color: #ecf0f1;
  padding: 40px 20px;
  margin-top: 70px;
  user-select: none;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1 1 280px;
}

.footer-section h4 {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer-section p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.footer-section img {
  border-radius: 4px;
}

.footer-section a {
  color: #ecf0f1;
  text-decoration: none;
}

.footer-section a:hover,
.footer-section a:focus {
  text-decoration: underline;
  outline: none;
}

/* Animation keyframes */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-menu li input.search {
    width: 100%;
  }

  main {
    padding: 40px 15px;
    min-height: auto;
  }

  .team h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
  }

  .team .card-container {
    gap: 40px;
  }

  .team .card {
    max-width: 220px;
    padding: 10px 10px;
  }

  .team .card img {
    width: 120px;
    height: 120px;
    border-width: 4px;
    margin-bottom: 15px;
  }

  .footer-container {
    flex-direction: column;
    gap: 24px;
  }
}