/* ====== GLOBAL STYLES ====== */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 1rem 0;
}

h2, h3, h4 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

/* ====== HEADER ====== */
header {
  background-color: #112d4e;
  color: white;
  height: 200px;
  display: flex;
  align-items: center;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%; /* agar sejajar dengan tinggi header */
}
.logo {
  height: 200px;
  width: auto;
  object-fit: contain;
}

.brand h1 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  height: 100%;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

/* ====== HERO ====== */
.hero {
  background-color: #dbe2ef;
  text-align: center;
  padding: 3rem 1.5rem;
}

.hero h2 {
  font-size: 2rem;
  color: #112d4e;
}

/* ====== SECTIONS ====== */
.section {
  padding: 3rem 1rem;
}

.section.alt {
  background-color: #f9f9f9;
}

#services h2 {
  color: #3f72af;
  margin-top: 2rem;
}

#services h4::before {
  content: "• ";
  color: #3f72af;
}

/* ====== TEAM ====== */
.team-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.member {
  flex: 1 1 250px;
  background-color: #f1f1f1;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  max-width: 300px;
}

.team-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* ====== FOOTER ====== */
footer {
  background-color: #112d4e;
  color: white;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .header-flex {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 1rem;
  }

  .brand {
    flex-direction: column;
    align-items: center;
  }

  .logo {
    height: 50px;
    width: 50px;
    margin-bottom: 0.5rem;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    align-items: center;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .team-grid {
    flex-direction: column;
    align-items: center;
  }

  .member {
    max-width: 90%;
  }
}

/* Hamburger Style */
.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: white;
}

/* Menu hidden di mobile */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background-color: #112d4e;
    width: 100%;
    padding: 1rem 0;
    margin: 0;
  }

  nav ul.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  nav ul li {
    text-align: center;
    margin: 0.5rem 0;
  }
}
