/* ======== COLOR PALETTE (Soft & Elegant) ======== */
:root {
  --primary: #3A7BD5;      /* Soft blue */
  --secondary: #5AA9E6;    /* Light sky blue */
  --accent: #FF914D;       /* Soft warm orange */
  --success: #3A7BD5;      /* Soft blue */
  --whatsapp: #25D366;
  --background: #ffffff;
  --background-alt: #f6f9fc;
  --text: #2f2f2f;
  --text-light: #ffffff;
}

/* ======== FONT & BODY ======== */
body {
  font-family: "Inter", "SF Pro Display", "SF Pro Text", "Segoe UI", "Roboto", "Arial", sans-serif;
  margin: 0;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background: linear-gradient(180deg, #fdfefe, #f6f9fc);
}

/* Smooth Fade-in */
section, header, footer {
  animation: fadeIn 0.8s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ======== HEADER ======== */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  /* background: linear-gradient(90deg, var(--background), var(--background));*/
  backdrop-filter: blur(8px);
  color: var(--text);
  flex-wrap: wrap;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.logo {
  height: 54px;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.logo:hover {
  transform: scale(1.06);
  filter: brightness(1.1);
}

.title-nav-container {
  text-align: center;
  flex-grow: 1;
}
.main-title {
  font-size: 26px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.5px;
}

.nav-menu {
  margin-top: 6px;
}
.nav-menu a {
  margin: 0 14px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -4px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-menu a:hover {
  color: var(--accent);
}
.nav-menu a:hover::after {
  width: 100%;
}

/* ======== BUTTON ======== */
.btn {
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  color: var(--text-light);
  padding: 12px 24px;
  margin: 8px;
  font-size: 15px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
}
.btn-small {
  padding: 7px 16px;
  font-size: 13px;
  border-radius: 6px;
}
.btn:hover {
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 5px 14px rgba(0,0,0,0.15);
}

/* ======== HOME Section ======== */
.home-section {
  padding: 90px 20px;
  background: linear-gradient(180deg, #fdfefe, #f6f9fc);
}
.home-section h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 25px;
}
.home-section p {
  font-size: 1rem;
  color: #444;
}

/* ======== TIMELINE ======== */
.timeline-section {
  padding: 70px 20px;
  background: var(--background-alt);
  text-align: center;
}
.timeline-section h2 {
  margin-bottom: 40px;
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.timeline-card {
  background: var(--background);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
  animation: slideUp 0.6s forwards;
}
@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}
.timeline-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}
.timeline-card img {
  width: 74px;
  height: 74px;
  margin-bottom: 14px;
  transition: transform 0.3s;
}
.timeline-card:hover img {
  transform: rotate(-4deg) scale(1.07);
}
.timeline-card .tanggal {
  font-weight: 700;
  margin: 6px 0;
  color: var(--secondary);
}
.timeline-card .judul {
  font-size: 15px;
  color: #555;
}

/* ======== FOOTER ======== */
.footer {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  padding: 20px;
  text-align: center;
  color: var(--text-light);
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 10px;
}
.footer a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}
.footer a:hover {
  color: var(--accent);
}
.footer .icon {
  height: 16px;
  margin-right: 6px;
}

/* ======== FLOATING WHATSAPP ======== */
#floating-wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  background: var(--whatsapp);
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background 0.3s;
}
#floating-wa img {
  height: 42px;
}
#floating-wa:hover {
  transform: scale(1.08);
  background: #128C7E;
}

/* ======== FORMULIR GRID ======== */
.formulir-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 20px;
}

.formulir-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
}

.formulir-card.show {
  opacity: 1;
  transform: translateY(0);
}

.formulir-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.formulir-card h3 {
  color: var(--success);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.formulir-card ul {
  margin: 0;
  padding-left: 18px;
  color: #333;
  font-size: 0.95rem;
}

.formulir-card li {
  margin-bottom: 6px;
}

.formulir-card .note {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
}

  /* Contact Box */
    .contact-box {
      background:#f1f5ff;padding:25px;border-radius:12px;
      margin-top:40px;text-align:center;
    }
    .contact-box p {margin-bottom:15px;}