/* --- GLOBAL STYLES --- */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: #f9f9f9;
  padding-top: 144px; /* 32px top-bar + 64px navbar + 48px menu */
}


.top-bar {
  background-color: #5f94ff;
  color: white;
  font-size: 12px;
  height: 30px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.marquee {
  white-space: nowrap;
  display: inline-block;
  animation: scrollText 15s linear infinite;
  padding-left: 50%;
  /* Start dari kanan */
}

@keyframes scrollText {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}


/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Navbar */
.navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 15px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: #1976d2;
}

.contact {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
}

.contact span {
  cursor: pointer;
  white-space: nowrap;
  color: #444;
}

/* Style umum */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.navbar {
  background-color: #ffffff;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  font-size: 1.2em;
  font-weight: bold;
}

.navbar .user-profile {
  cursor: pointer;
  font-weight: bold;
}
/* Main Content */

.menu {
  background-color: #f5f5f5;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  position: sticky;
  top: 0;
  z-index: 888;
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;

}

.menu li {
  position: relative;
}

.menu a {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  color: #333;
  font-size: 17px;
  cursor: pointer;
}

.menu li:hover {
  background-color: #e6eaff;
}

.menu .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border-radius: 0 0 6px 6px;
  overflow: hidden;

}

.menu .dropdown:hover .dropdown-content {
  display: block;
}

.menu .dropdown>a::after {
  content: " ▼";
  font-size: 10px;
  margin-left: 5px;
}

.menu .dropdown-content li a {
  padding: 12px 16px;
  color: #333;
  background-color: #fff;
  white-space: nowrap;
}

.menu .dropdown-content li a:hover {
  background-color: #f0f0f0;
}

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 30px;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
  z-index: 1100;
}

.hamburger span {
  height: 4px;
  width: 100%;
  background: #5f94ff;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.4s;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {

  .menu {
    position: relative;
  }

  .menu ul {
    flex-direction: column;
    width: 100%;
    display: none;
    background: #f5f5f5;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    z-index: 1000;
  }

  .menu ul.active {
    display: flex;
  }

  .menu li {
    width: 100%;
  }

  .menu a {
    padding: 15px;
    border-bottom: 1px solid #eee;
  }

  .menu .dropdown-content {
    position: static;
    box-shadow: none;
    min-width: 100%;
    border-radius: 0;
  }

  .menu .dropdown:hover .dropdown-content,
  .menu .dropdown:focus-within .dropdown-content {
    display: none;
  }

  .menu .dropdown.open .dropdown-content {
    display: block;
  }

  .hamburger {
    display: flex;
  }
}
/* Styling untuk banner "Tentang Kami" */
        .about-us-banner {
            width: 100%; /* Pastikan banner mengambil lebar penuh */
            height: 250px; /* Menggunakan tinggi yang Anda berikan */
            background-color: #5f94ff; /* Menggunakan warna yang Anda berikan */
            color: #ffffff; /* Warna teks putih */
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            /* border-radius: 8px; <--- BARIS INI DIHAPUS UNTUK EFEK FULL-WIDTH */
            margin-bottom: 20px; /* Jarak bawah dari konten berikutnya */
            padding: 0 20px; /* Padding di kiri dan kanan agar teks tidak menempel ke tepi */
            opacity: 0.9; /* Menggunakan opacity yang Anda berikan */
            /* Jika Anda ingin background image, tambahkan seperti ini: */
            /* background-image: url('https://placehold.co/1200x400/3f51b5/ffffff?text=Background+Image'); */
            /* background-size: cover; */
            /* background-position: center; */
            /* background-blend-mode: multiply; */
        }



.about-us-banner h1 {
  font-size: 3em;
  /* Sesuaikan ukuran font sesuai kebutuhan */
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  /* Bayangan teks opsional */
}

.about-us-banner p {
  font-size: 1.2em;
  /* Sesuaikan ukuran font sesuai kebutuhan */
  max-width: 80%;
  /* Batasi lebar untuk keterbacaan yang lebih baik */
  line-height: 1.5;
}
.button-group {
  margin-top: 30px;
}

.submit-button {
  background-color: #4d94ff;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
  margin-right: 10px;
}

.submit-button:hover {
  background-color: #357ae8;
}

/* --- FOOTER --- */
footer {
  background-color: #4a69bd;
  color: white;
  padding: 30px 20px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.footer-column {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}
.footer-column h4 {
  font-size: 1.2em;
  margin-bottom: 10px;
  border-bottom: 2px solid white;
  padding-bottom: 5px;
}
.footer-column p,
.footer-column li {
  font-size: 0.9em;
  line-height: 1.6;
}
.footer-column ul {
  list-style: none;
  padding: 0;
}
.footer-column ul li {
  margin-bottom: 8px;
}
.footer-column.kontak p {
  margin-bottom: 8px;
}
.copyright {
  text-align: center;
  background-color: #6D8EFF;
  color: white;
  padding: 10px;
}

/* --- PROFIL DOKTER MENU BOX --- */
.profile-menu-box {
  background: #fff;
  border: 1px solid #e0e6f7;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(95, 148, 255, 0.12);
  padding: 40px 32px;
  margin: 40px auto;
  max-width: 1000px;
  min-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}
.profile-menu-box a {
  display: block;
  padding: 12px 18px;
  border-radius: 6px;
  color: #333;
  text-decoration: none;
  background: #f5f8ff;
  transition: background 0.2s, color 0.2s;
  font-size: 15px;
  font-weight: 500;
}
.profile-menu-box a:hover,
.profile-menu-box a.active {
  background: #e6eaff;
  color: #3267c7;
}

/* --- PROFIL DOKTER GRID HORIZONTAL --- */
.profil-dokter-grid {
  display: flex;
  flex-direction: row;
  gap: 48px;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 40px 0 24px 0;
}

.card {
  background: #fff;
  border: 1.5px solid #e0e6f7;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(95, 148, 255, 0.14);
  padding: 48px 36px;
  width: 300px;
  min-width: 500px;
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
  animation: cardFadeInUp 2.2s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.card:hover {
  transform: translateY(-16px) scale(1.03);
  box-shadow: 0 16px 40px rgba(4, 4, 4, 0.18);
  z-index: 2;
}
.card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 24px;
  border: 4px solid #5f94ff;
}
.card h3 {
  margin: 20px 0 10px 0;
  font-size: 28px;
  color: #3267c7;
}
.card p {
  margin: 0 0 22px 0;
  color: #555;
  font-size: 20px;
}
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: #5f94ff;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: background 0.2s;
}
.btn:hover {
  background: #3267c7;
}

/* --- SCROLLBAR CUSTOM --- */
.profil-dokter-grid::-webkit-scrollbar {
  height: 12px;
}
.profil-dokter-grid::-webkit-scrollbar-thumb {
  background: #b3cfff;
  border-radius: 6px;
}
.profil-dokter-grid::-webkit-scrollbar-track {
  background: #f0f4ff;
  border-radius: 6px;
}

/* --- ANIMASI MASUK UNTUK CARD --- */
@keyframes cardFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 11;
    transform: translateY(0);
  }
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .card {
    width: 320px;
    min-width: 320px;
    padding: 28px 10px;
  }
  .card img {
    width: 100px;
    height: 100px;
    margin-bottom: 14px;
  }
  .card h3 {
    font-size: 20px;
    margin: 12px 0 6px 0;
  }
  .card p {
    font-size: 15px;
    margin-bottom: 12px;
  }
  .btn {
    font-size: 14px;
    padding: 8px 18px;
  }
}

@media (max-width: 700px) {
  .profil-dokter-grid {
    gap: 16px;
  }
  .card {
    width: 95vw;
    min-width: 95vw;
    max-width: 98vw;
  }
}

@media (max-width: 600px) {
  .profile-menu-box {
    max-width: 98%;
    padding: 16px 6px;
  }
  .profile-menu-box a {
    font-size: 14px;
    padding: 10px 10px;
  }
}
.about-us-banner h1 {
  text-align: center;
  font-size: 3em;
  /* Sesuaikan ukuran font sesuai kebutuhan */
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  /* Bayangan teks opsional */
}

.about-us-banner p {
  text-align: center;
  font-size: 1.2em;
  /* Sesuaikan ukuran font sesuai kebutuhan */
  max-width: 80%;
  /* Batasi lebar untuk keterbacaan yang lebih baik */
  line-height: 1.5;
}
 .btn {
        display: inline-block;
        padding: 8px 16px;
        background-color: #3490dc; /* Biru */
        color: white;
        text-decoration: none;
        border-radius: 7px;
        font-weight: 600;
        transition: background-color 0.2s ease;
        }

      .btn:hover {
      background-color: #064a7e;
      }

      .btn-secondary {
      background-color: #3490dc; /* Abu-abu */
      }

      .btn-secondary:hover {
      background-color: #064a7e;
      }
.logout-button {
    background-color: #3490dc;
    font-style: italic;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .logout-button:hover {
    background-color: #174166;
  }

  .welcome-text {
    font-weight: bold;
    margin-right: 10px;
    font-style: oblique;
  }
