body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 30px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 20px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  padding: 0;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #0072CE;
}

.search-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-input {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
  width: 150px;
}

.search-btn {
  background: linear-gradient(to right, #002F6C, black);
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease-in-out;
}

.search-btn:hover {
  background: linear-gradient(to left, #002F6C, black);
}

.sticky {
  position: sticky;
  top: 0px;
  z-index: 1000;
}

.mitrakami {
  background: url("assets/mitrakami-header.png");
  background-size: cover;
}

.lokasijec {
  background: url("assets/lokasijec-header.png");
  background-size: cover;
}

.caridokter {
  background: url("assets/caridokter-header.png");
  background-size: cover;
}

.tentangjec {
  background: url("assets/tentangjec-header.png");
  background-size: cover;
}

.testimoni {
  background: url("assets/testimoni-header.png");
  background-size: cover;
}

.judulheader {
  width: 40%;
  padding-top: 20vh;
  padding-left: 7vw;
  padding-bottom: 20vh;
}

.judulheader h2 {
  font-weight: 900;
}

.headerbluebg {
  background: linear-gradient(to right, #002F6C, black);
  width: 50%;
  text-align: center;
  padding: 10px;
  color: white;
  border-radius: 25px;
}

main {
  margin-block-start: 10vh;
  margin-block-end: 10vh;
}

.container-subjudul {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 5vh;
  margin-bottom: 5vh;
}

.subjudul {
  display: flex;
  flex-shrink: 0;
  align-content: center;
  align-items: center;
  text-align: center;
  object-position: center;
  justify-self: center;
  justify-content: center;
  justify-items: center;
  margin-bottom: 10px;
}

.subjudul-icon {
  width: 3%;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  align-content: center;
  object-position: center;
}

.sub-h6 {
  text-align: center;
  margin-bottom: 0;
  color: #002F6C;
}

.text-center {
  text-align: center;
}

.text-center h3 {
  font-weight: 900;
}

.text-center h5 {
  margin-top: 10vh;
  background: linear-gradient(to right, #9966A7, black);
  width: 50%;
  text-align: center;
  padding: 10px;
  color: white;
  font-weight: 600;
  border-radius: 25px;
  align-content: center;
  align-items: center;
  text-align: center;
  object-position: center;
  justify-self: center;
  justify-content: center;
  justify-items: center;
}

.containerbox {
  margin-top: 3vh;
  margin-bottom: 3vh;
}

.card {
  box-shadow: rgba(0, 0, 0, 1.0);
  transition: transform 0.3s ease-in-out;
  margin: 0.5rem;
  padding: 0.5rem;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.card:hover {
  box-shadow: 0 0px 10px -2px;
  transform: scale(1.01);
}

.card-body {
  padding: 0.2rem;
  color: white;
  background: #002F6C;
  border-radius: 10px;
  margin: 10px;
  transition: background 0.8s ease;
}

.card-body:hover {
  background: linear-gradient(to right, #002F6C, black);
  font-weight: 800;
}

.card img {
  max-height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.card-title {
  padding-top: 0.1em;
  font-size: 1rem;
  font-weight: 650;
}

.conblue {
  background: lightblue;
  border-radius: 25px;
  padding-bottom: 5vh;
}

.hvtext {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  max-width: 20vw;
}

.card:hover .hvtext {
  display: block;
  opacity: 1;
}

.tblue {
  color: #002F6C;
  font-weight: 700;
}

.fs-6 {
  color: skyblue !important;
}

.me-3 {
  padding-left: 0.7rem;
}

.bi-geo-alt-fill{
  color: white;
}

/* DOCTOR SECTION */
.doctor-card {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.doctor-card img {
  width: auto;
  height: 15rem;
  object-fit: cover;
  margin: 0 auto 10px;
  border-radius: 8px;
  display: block;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.doctor-info {
  margin-top: 10px;
}

.doctor-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.schedule-table {
  margin-top: 10px;
  display: none;
}

.btn-primary {
  background-color: #002F6C;
  border: none;
}

.btn-primary:hover {
  background-color: #007bff;
}

.btn-secondary {
  background-color: #565e64;
  border: none;
}

.btn-secondary:hover {
  background-color: #6c757d;
}

.jec-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5)
}

.justify {
  text-align: justify;
  text-indent: 5vw;
}


/* TIMELINE HISTORY */
.timeline-container {
  position: relative;
  padding: 20px;
}

.timeline-content {
  display: none;
  transition: opacity 0.5s ease-in-out;
}

.timeline-content.active {
  display: block;
  opacity: 1;
}

.timeline-toggle {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  position: relative;
}

.timeline-toggle button {
  position: relative;
  z-index: 1;
  background-color: #002F6C;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.timeline-toggle button:hover {
  background: black;
}

.timeline-toggle button.active {
  background-color: #FFD700;
  border: 2pt solid #002F6C;
  color: #002F6C;
}

.timeline-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #002F6C;
  z-index: 0;
}

.timeline-panel {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.timeline-panel h2 {
  font-weight: 900;
  color: #002F6C;
  text-decoration: underline solid;
  text-decoration-thickness: 4px;
  text-underline-offset: 5px;
}

.timeline-panel h5 {
  font-weight: 800;
}

@media (max-width: 768px) {
  .timeline-toggle {
    flex-direction: column;
    align-items: center;
  }

  .timeline-toggle::after {
    opacity: 0;
  }
}


/* VALUE SECTION */
.value-card {
  text-align: center;
  padding: 30px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  margin-bottom: 30px;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.value-icon {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(45deg, #002F6C, black);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-card h5 {
  font-weight: 700;
  margin-bottom: 10px;
}

.value-card p {
  color: #777;
  font-size: 14px;
}


/* ACHIEVEMENTS SECTION */
.accreditation-logo {
  max-width: 100vh;
  width: auto;
  height: 100%;
  object-fit: contain;
  margin: 10px 10px;
  background: none !important;
}

.accreditation-column {
  text-align: center;
}

.accreditation-column h6 {
  font-weight: 700;
  margin-top: 10px;
}

.bwhite {
  background: #fff;
  border-radius: 10px;
  padding: 5vh;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.fontset h2{
  font-weight: 900;
  color: #002F6C;
}

.fontset h5{
  font-weight: bold; 
}

/* FOOTER */
.bg-dark {
  background-color: #9966A7 !important;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.py-5 {
  padding-bottom: 1rem !important;
}

.col-md-3 img {
  height: 7vh;
  background-color: black;
  border-radius: 10px;
  padding: 5px;
  transform: background 0.3 ease;
}

.col-md-3 img:hover {
  background: linear-gradient(135deg, #002F6C, black);
}

.list-unstyled.d-flex a {
  margin-right: 10px;
  margin-left: 0px;
}

.list-unstyled.d-flex a:last-child {
  margin-right: 0;
}

.list-unstyled a {
  text-decoration: none !important;
  color: white;
  margin-left: 10px;
}

.list-unstyled a:hover {
  color: skyblue;
}

.ratakiri{
  margin-left: 0 !important;
}

.col-md-3 h5 {
  font-weight: 600;
}

.me-3 i {
  font-size: 1.5rem;
}

.me-3 i:hover {
  color: skyblue;
}

.footercopy {
  text-align: center;
  color: white;
  padding-top: 0;
}

.footercopy hr {
  padding-bottom: 0px;
  margin-block-end: 0px;
}

.footercopy h6 {
  font-size: 14px;
  padding: 10px;
  margin-block-start: 0px;
  margin-block-end: 0px;
  letter-spacing: 1px;
}