/* Gaya umum */
body {
  font-family: "Poppins", sans-serif;
}
aside {
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
}
 
aside .social-media {
  height: 100%;
  display: flex;
}
 
aside .social-media ul {
  padding: 1.5rem 1rem;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  margin: auto;
  background-color: #2d3e50;
 
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
 
aside .social-media li {
  list-style-type: none;
}
 
aside .social-media li a {
  text-decoration: none;
  font-size: 1.5rem;
  color: white;
 
  transition: all 0.1s ease-in-out;
}
 
aside .social-media li a:hover {
  color: #89b0d9;
}

/* Gaya untuk jumbotron */
.jumbotron {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  color: #002d56;
  background-attachment: fixed; /* Gambar tetap di tempat saat di-scroll */
}

.jumbotron .container {
  position: relative; /* Untuk memposisikan teks */
  z-index: 1; /* Untuk menempatkan teks di atas gambar */
}
.jumbotron h1 {
  font-size: 3rem; /* Sesuaikan ukuran sesuai kebutuhan */
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Efek bayangan teks */
}
.jumbotron p {
  font-size: 1.1rem; /* Sesuaikan ukuran sesuai kebutuhan */
  margin-bottom: 2rem;
}
#home .btn-primary {
  background-color: #002d56;
  border-color: #002d56;
  color: #ffffff; /* white text color */
}

/* Gaya untuk navbar */
.navbar {
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
  position: fixed;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.navbar-brand {
  margin-right: 20px;
}

.navbar-brand img {
  height: 80px;
  margin-right: 25px;
}

.navbar-nav {
  flex-grow: 1;
  justify-content: center;
}

.navbar-nav .nav-link {
  font-size: 1.1rem;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #007bff;
}

.navbar-nav li a:hover {
  color: #f0f0f0;
}

.btn-contact {
  background-color: #ffffff;
  color: #000;
  border: none;
  padding: 10px 20px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-contact:hover {
  background-color: #001a33;
}

.navbar-brand {
  display: flex;
  align-items: left;
  font-size: 1.1rem;
  font-weight: 600;
}

.navbar-brand img {
  height: 80px;
  margin-right: 25px;
}

.navbar-nav .nav-link {
  font-size: 1.1rem;
  color:  #fff;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #bdcb3b;
}

.navbar-nav li a:hover {
  color: #bdcb3b;
}

.navbar-icons {
  display: flex;
  align-items: center;
}

.navbar-icons a {
  margin-left: 10px;
  color: #fff;
  font-size: 20px;
}
.navbar-toggler {
    border-color: white; /* Ubah warna garis tepi tombol toggle */
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/*canvas untuk data*/
canvas {
      display: block;
      margin: auto;
      background: white;
    }

/* Gaya untuk Layanan */

#services .card {
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease; /* Efek hover */
}

#services .card:hover {
  transform: translateY(-5px); /* Menaikkan kartu saat hover */
}

#services .card-img-top {
  height: 100px; /* Atur tinggi gambar menjadi 1x1 */
  width: 100px; /* Atur lebar gambar menjadi 1x1 */
  object-fit: cover; /* Mengatur agar gambar terpotong dengan baik */
  margin: 0 auto; /* Membuat gambar berada di tengah */
  display: block; /* Membuat gambar menjadi block element */
}

#services .card-body {
  padding-top: 10px; /* Sesuaikan ukuran tinggi gambar + padding */
  text-align: center; /* Membuat teks berada di tengah */
}

#services .card-title {
  font-weight: bold;
  margin-bottom: 0.1rem;
}

#services .card-text {
  font-size: 0.9rem;
}

.card-deck {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.card-deck .card {
  margin: 10px;
}

/* why-us section */
#why-us {
  background-color: #f7f7f7;
  padding: 50px 0;
}

.why-us-item {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.why-us-item i {
  font-size: 24px;
  margin-right: 10px;
  color: #337ab7;
}

.why-us-item div {
  flex: 1;
}

.why-us-item h5 {
  font-weight: bold;
  margin-top: 0;
}

.why-us-item p {
  font-size: 16px;
  color: #666;
}

.carousel-inner img {
  width: 100%;
  height: 300px; /* set the height to maintain 4:3 aspect ratio */
  object-fit: cover;
}

/* infinite scrolling */
.logo-container {
  overflow: hidden;
  display: flex;
}

.logo {
  display: flex;
  flex-shrink: 0;
  gap: 2rem;
  padding: 1;
  animation: infinite-scroll 20s linear infinite;
}

.logo img {
  width: 7rem;
  height: 7rem;
  margin: 10px;
  border-radius: 30%;
  object-fit: cover;
}

@keyframes infinite-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* side medsos */
main .media {
  position: fixed;
  inset-block: 0;

  inset-inline-end: 0;
}

main aside .social-media {
  height: 100%;
  display: flex;
}
main aside .social-media ul {
  display: flex;
  flex-flow: column; /*nowrap;*/
  align-items: center;
  padding: 1.1rem 1rem;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  margin: auto;
  background-color: #000000;
  justify-content: center;
  gap: 1.3rem;
}
main aside .social-media li a {
  font-size: 1.7rem;
  text-decoration: none;
  color: white;
}
main aside .social-media li {
  list-style-type: none;
}

main aside .social-media li a:hover {
  color: #89b0d9;
}

.asider {
  position: relative;
  flex: 0.5;
  margin-bottom: 100px;
}

.facility-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #002d56;
}

/* fasilitas */
.card {
  transition: transform 0.3s ease-in-out;
}
.card:hover {
  transform: translateY(-5px);
}

div > .doctor-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.close-button {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 18px;
  cursor: pointer;
}

.close-button:hover {
  color: #ff0000;
}

/* ruang inap */
.room {
  background-color: white;
  color: black;
  margin: 10px;
  padding: 10px;
  border-radius: 5px;
  width: 300px;
  text-align: center;
}
.room img {
  width: 100%;
  border-radius: 5px;
}
.room-title {
  background-color: #002d56;
  color: white;
  padding: 5px;
  border-radius: 0 0 5px 5px;
  margin-top: -5px;
}
