* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #0973d0, #054172);
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* ==== NAVBAR ==== */
.navbar {
  background: linear-gradient(90deg, #054172, #0973d0);
  padding: 15px 30px;
  font-family: "Poppins", sans-serif;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
}

.navbar-logo {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.navbar-logo:hover {
  color: #ffd700;
  transform: translateX(-5px);
}

/* ==== HEADER ==== */
header {
  text-align: center;
  min-height: 300px; /* ✅ samakan tinggi dengan footer */
  display: flex;
  flex-direction: column;
  justify-content: center; /* isi tetap rata tengah */
  align-items: center;
  padding: 20px;
  background: linear-gradient(135deg, #0973d0, #09bcd0);
  color: white;
  position: relative;
  overflow: hidden; /* biar animasi nggak keluar area */
}

/* Animasi background berputar */
header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
  animation: rotate 30s linear infinite;
  z-index: 0;
  pointer-events: none;
}

/* Gambar dan teks tetap di atas animasi */
header img,
header h1 {
  position: relative;
  z-index: 1;
}

/* Animasi pulse untuk logo */
header img {
  width: 220px;
  animation: pulse 3s infinite;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

/* Judul */
header h1 {
  margin-top: 1rem;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Keyframes */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


/* ==== LOGO SECTION ==== */
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px; /* jarak antar logo */
  flex-wrap: wrap;
  margin: 30px 0;
}

.logo-container img {
  width: 200px;   /* samakan ukuran */
  height: 200px;  /* samakan ukuran */
  object-fit: contain;
  display: block;
}

/* ==== TEAM SECTION ==== */
#team {
  padding: 10px 20px;
  background: #f5f9ff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 🔹 jadi 3 kolom */
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.member-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  padding: 25px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(8px);
}

.member-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.member-card img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid #0973d0;
  transition: transform 0.3s ease;
}

.member-card:hover img {
  transform: rotate(5deg) scale(1.05);
}

.member-card h3 {
  margin: 10px 0 5px;
  font-size: 1.3em;
  color: #054172;
  font-weight: 600;
}

.member-card .role {
  font-weight: bold;
  color: #0973d0;
  margin-bottom: 8px;
}

.member-card .bio {
  font-size: 0.95em;
  color: #555;
  line-height: 1.4;
}

/* ==== FOOTER ==== */
footer {
  background: linear-gradient(135deg, #09bcd0, #054172);
  color: #fff;
  text-align: center;
  padding: 50px 20px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
  animation: rotate 25s linear infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

footer h2,
footer p,
.social-icons,
.footer-links,
.footer-bottom {
  position: relative;
  z-index: 1;
}

footer h2 {
  margin-bottom: 10px;
  font-size: 2rem;
  font-weight: 700;
}

footer p {
  margin: 5px 0 25px;
  font-size: 1rem;
  opacity: 0.9;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 25px;
}

.social-icons a {
  color: #fff;
  font-size: 1.6rem;
  transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.25);
  color: #ffd700;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-bottom: 25px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding-bottom: 2px;
}

.footer-links a:hover {
  color: #ffd700;
  border-bottom: 2px solid #ffd700;
}

.footer-bottom {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  footer h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .social-icons a {
    font-size: 1.3rem;
  }
}
