.time {
  width: 100%;
  min-height: 100vh;
  text-align: center;
  padding: 10rem 8rem;
  position: relative;
  margin-bottom: 3rem; /* Menambahkan jarak ke section berikutnya */
}

.time h2 {
  font-family: var(--sacramento);
  font-size: var(--fontSize-heading-base);
  font-weight: 400;
}

.time div:nth-of-type(1) {
  margin-top: 2rem;
}

.time div:nth-of-type(1) div h3 {
  font-family: var(--sacramento);
  font-size: var(--fontSize-heading-lg);
  font-weight: 400;
}

.time div:nth-of-type(1) div:nth-of-type(2) {
  margin-top: 2rem;
}

.time a {
  padding: 0.5rem 1rem;
  color: #fff;
  font-size: 1rem;
  background-color: #000;
  margin: 2rem auto 1rem;
  border-radius: 20px;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.time a i {
  font-size: 1.2rem;
}

.time a + p + i {
  right: 8rem;
  top: 22rem;
}

/* Menambahkan margin bottom yang cukup untuk section time */
.time {
  padding: 2rem 1rem;
  margin-bottom: 3rem; /* Menambahkan jarak ke section berikutnya */
}

.time p:last-of-type {
  margin-bottom: 2rem; /* Jarak khusus untuk alamat */
  padding: 1rem;
  background-color: rgba(142, 202, 230, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(142, 202, 230, 0.3);
  font-weight: 500;
}

/* Menambahkan spacing yang cukup sebelum section wishas */
.time {
  padding-bottom: 4rem;
  margin-bottom: 3rem;
}

.time p:last-of-type {
  margin-bottom: 3rem;
  padding: 1.5rem;
  background-color: rgba(248, 249, 250, 0.95);
  border-radius: 10px;
  border: 1px solid rgba(142, 202, 230, 0.3);
}

/* Media queries untuk responsive */
@media (max-width: 768px) {
  .time {
    padding: 2rem 1rem 3rem 1rem; /* Padding bottom lebih besar */
    margin-bottom: 4rem; /* Margin bottom lebih besar untuk mobile */
  }

  .time h2 {
    font-size: 1.8rem !important;
    margin-bottom: 1rem;
  }

  .time p {
    font-size: 1rem !important;
    line-height: 1.5;
    margin: 1rem 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .time a {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background-color: var(--primary-color, #8ecae6);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem !important;
    margin: 1rem auto;
    max-width: 200px;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 2rem;
    display: block;
    text-align: center;
  }

  .time a i {
    font-size: 1.2rem;
  }

  .time a span {
    font-size: 1rem;
    font-weight: 500;
  }

  /* Memastikan alamat terlihat jelas */
  .time p:last-of-type {
    font-size: 1.1rem !important;
    font-weight: 500;
    color: var(--primary-font-color);
    text-align: center;
    background-color: rgba(142, 202, 230, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid rgba(142, 202, 230, 0.3);
    margin-bottom: 3rem;
    padding: 1.2rem;
    font-size: 1.1rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .time {
    padding: 1.5rem 0.8rem 4rem 0.8rem; /* Padding bottom maksimal */
    margin-bottom: 5rem; /* Margin maksimal untuk mobile kecil */
  }

  .time h2 {
    font-size: 1.6rem !important;
  }

  .time p {
    font-size: 0.95rem !important;
    padding: 0 0.5rem;
  }

  .time a {
    font-size: 0.9rem !important;
    padding: 0.7rem 1rem;
    width: 90%;
    max-width: 250px;
  }

  .time p:last-of-type {
    margin-bottom: 5rem;
    padding: 1.5rem 1rem;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(142, 202, 230, 0.2);
  }
}
