@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

/* ===== BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: url("pics/logobaru4.png") no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  padding-top: 92px; /* space for fixed navbar */
  overflow-y: auto;
   scrollbar-width: none;
}
/* Hide scrollbar but still allow scrolling */
html, body {
    scrollbar-width: none !important;   /* Firefox */
    -ms-overflow-style: none !important; /* Internet Explorer/Edge */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none !important;           /* Chrome, Safari, Edge */
}

/* ===== HERO SECTION ===== */
.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 100px);
  padding: 20px;
}

/* ===== CARD ===== */
.card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(35px);
  border: 2px solid #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  width: 100%;
  max-width: 600px;
  animation: fadeIn 1.2s ease;
  transition: all 0.3s ease-in-out;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(48,106,147,1), 0 0 40px rgba(1,65,156,1);
  border: 2px solid rgba(48,106,147,1);
}

.card-header {
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding: 18px 24px;
}

.card-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(48,106,147,0.8);
}

.card-body {
  padding: 24px;
  color: #fff;
}

.card-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 25px;
}

.card-btn {
  display: inline-block;
  background: linear-gradient(135deg, #306a93, #01419c);
  color: #fff;
  padding: 12px 26px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(1,65,156,0.5);
  cursor: pointer;
}

.card-btn:hover {
  background: linear-gradient(135deg, #01419c, #306a93);
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(48,106,147,0.7);
}

/* ===== OBJECTIVES ===== */
.objectives {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.objective-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 25px;
  width: 300px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  backdrop-filter: blur(35px);
  text-align: center;
  transition: all 0.3s ease-in-out;
  border: 2px solid #ffffff;
  color: #ffffff;
}

.objective-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(48,106,147,1), 0 0 40px rgba(1,65,156,1);
  border: 2px solid rgba(48,106,147,1);
}

/* ===== TEAM ===== */
.team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
}

.member {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #ffffff;
  border-radius: 15px;
  padding: 25px;
  width: 300px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  backdrop-filter: blur(35px);
  transition: all 0.3s ease-in-out;
  text-align: center;
}

.member:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(48,106,147,1), 0 0 40px rgba(1,65,156,1);
  border: 2px solid rgba(48,106,147,1);
}

.member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 2px solid #ffffff;
}

.member h3 {
  color: #ffffff;
  margin-bottom: 5px;
}

.member p {
  font-size: 0.95em;
  color: #ffffff;
}

/* ===== SUPERVISOR ===== */
.supervisor {
  margin-top: 60px;
  text-align: center;
  background: rgba(255,255,255,0.1);
  border: 2px solid #ffffff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  backdrop-filter: blur(35px);
  transition: all 0.3s ease-in-out;
}

.supervisor:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(48,106,147,1), 0 0 40px rgba(1,65,156,1);
  border: 2px solid rgba(48,106,147,1);
}

.supervisor h2 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 1.8em;
}

.supervisor-card {
  display: inline-block;
  padding: 20px 40px;
  border-radius: 15px;
}

.supervisor img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  margin-bottom: 10px;
}

.supervisor h3 {
  color: #ffffff;
  margin-bottom: 5px;
}

.supervisor p {
  color: #ffffff;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ===== MOBILE ===== */
/* ===== MOBILE ===== */
@media (max-width: 768px) {

  /* Adjust body padding for navbar */
  body {
    padding-top: 0px; /* smaller for mobile */
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 95%;
    z-index: 999;
  }

  /* give hero some top spacing so content isn't hidden behind navbar */
  .hero-section {
    margin-top: 70px; /* enough for navbar height */
    min-height: auto;
    padding: 15px;
    flex-direction: column;
    justify-content: flex-start;
  }

  .card {
    max-width: 95%;
    padding: 20px;
    margin-top: 10px;
  }

  .card-title {
    font-size: 1.5rem;
  }

  .card-text {
    font-size: 0.95rem;
  }

  .card-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  /* Objectives */
  .objectives {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-top: 30px;
  }

  .objective-card {
    width: 90%;
    padding: 20px;
  }

  /* Team */
  .team {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-top: 40px;
  }

  .member {
    width: 90%;
    padding: 20px;
  }

  .member img {
    width: 100px;  /* smaller on mobile */
    height: 100px;
  }

  /* Supervisor */
  .supervisor {
    width: 95%;
    padding: 20px;
    margin: 40px auto 20px auto;
  }

  .supervisor-card {
    padding: 15px 20px;
  }

  .supervisor img {
    width: 100px; /* smaller on mobile */
    height: 100px;
  }

  .supervisor h2 {
    font-size: 1.5rem;
  }
}
