/* GLOBAL RESET & FONT */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Outfit', sans-serif;
}

body {
  background: linear-gradient(to bottom, #c8facc, #ffffff, #e0ffe0);
  padding-bottom: 100px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Outfit', sans-serif;
}

/* HEADER */
header {
  background-color: #1b5e20;
  color: #fff;
  text-align: center;
  padding: 1.2rem;
  font-size: 1.6rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  animation: fadeInDown 0.6s ease-in-out;
}

/* CARD CONTAINER */
.container {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  flex: 1;
  animation: fadeInUp 3s ease;
}

/* CARD STYLE */
.card {
  position: relative;
  background: rgba(200, 250, 204, 0.4);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 128, 0, 0.15);
  text-align: center;
  padding: 2rem 1rem;
  transition: all 0.9s ease;
  cursor: pointer;
  transform: scale(1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(76, 175, 80, 0.3);
  overflow: hidden;
}

.card::before {
  content: "";
  background: url('trainly.png') no-repeat center center;
  background-size: 80%;
  opacity: 0.07;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none; /* ⬅️ Tambahan penting */
}


.card h3, .card p {
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(56, 142, 60, 0.3);
  background: rgba(200, 250, 204, 0.6);
}

.card h3 {
  margin-bottom: 0.5rem;
  color: #2e7d32;
  font-size: 1.3rem;
}

.card p {
  color: #2e7d32;
  font-size: 0.9rem;
}

/* BOTTOM NAVBAR */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(27, 94, 32, 0.9);
  backdrop-filter: blur(6px);
  border-top: 1px solid #a5d6a7;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.7rem 0;
  z-index: 999;
  animation: slideUp 0.4s ease-out;
}

.bottom-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  text-align: center;
  transition: 0.2s;
}

.bottom-nav a:hover {
  transform: scale(1.1);
  color: #c8facc;
}

.bottom-nav svg {
  width: 24px;
  height: 24px;
  display: block;
  margin: auto;
  margin-bottom: 4px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* TRACKING BUTTON */
.bottom-nav .tracking {
  background: #43a047;
  border-radius: 50%;
  padding: 10px;
  transform: translateY(-20px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  animation: pulse 2s infinite;
}

/* RESPONSIVE - HIDE NAVBAR ON DESKTOP */
@media (min-width: 768px) {
  .bottom-nav {
    display: none;
  }
}

/* ANIMATIONS */
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: translateY(-20px) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.1);
  }
  100% {
    transform: translateY(-20px) scale(1);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.card.glass {
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.form-grid input,
.form-grid select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: 'Outfit', sans-serif;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.motivasi-card {
  background: rgba(255, 255, 255, 0.8);
  border-left: 5px solid #28a745;
  padding: 1rem;
  margin: 1rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 1rem;
  color: #2d2d2d;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
