:root {
  color-scheme: light;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --light-purple: #f3f0ff;   /* Ungu sangat muda untuk kontras visual border/hover */
  --medium-purple: #957DAD;  /* Ungu Sedang */
  --dark-purple: #400468;    /* Ungu Tua */
  --primary-accent: #6d28d9; /* Ungu Cerah untuk Aksi */
  --white: #ffffff;
  --black-text: #1a1a1a; /* True black for main text */
  --muted-text: #475569; /* Slate 600 untuk teks pendukung */

  --primary: var(--dark-purple);
  --primary-light: var(--medium-purple);
  --secondary: #64748b;
  --accent: #8b5cf6; /* Warna kontras untuk grafik/aksen */
  --bg-main: var(--white);
  --bg-card: #ffffff;
  --text-main: var(--black-text);
  --text-muted: var(--muted-text);
  --border-color: #e2e8f0; /* Neutral light border */

  /* Shadow System */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

  font-family: var(--font-body);
  background: var(--bg-main);
  color: var(--text-main);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.8;
  background: var(--bg-main);
  color: var(--black-text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  color: var(--black-text);
  padding: 0;
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.4s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
  padding: 1.25rem 1.5rem;
  transition: padding 0.4s ease;
}

.site-header.scrolled .header-inner {
  padding: 0.75rem 1.5rem;
}

.logo {
  font-size: 1.2rem; /* Mengurangi ukuran font logo */
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--dark-purple) !important;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.logo:hover {
  transform: scale(1.05);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--dark-purple);
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: nowrap;
  align-items: center;
}

.main-nav a {
  color: var(--muted-text);
  font-weight: 600;
  font-size: 0.9rem; /* Mengurangi ukuran font navigasi */
  position: relative;
  padding: 0.4rem 0.6rem; /* Mengurangi padding tautan navigasi */
  transition: all 0.3s ease;
  border-radius: 0.6rem; /* Sudut membulat */
  display: inline-block;
}

.main-nav a::before {
  content: '';
  position: absolute;
  bottom: 0; /* Garis bawah */
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-accent);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--dark-purple);
  background: var(--light-purple);
  transform: translateY(-2px);
}

.main-nav a:hover::before,
.main-nav a:focus-visible::before {
  width: 100%;
}

/* Dropdown Pelayanan Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  visibility: hidden;
  position: absolute;
  background-color: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  padding: 0.5rem 0;
  top: 100%;
  left: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.dropdown:hover .dropdown-content {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-content a {
  display: block !important;
  padding: 0.7rem 1.2rem !important;
  border-radius: 0 !important;
  color: var(--muted-text) !important;
}

.dropdown-content a::before {
  display: none !important;
}

.dropdown-content a:hover {
  background-color: var(--light-purple);
  color: var(--dark-purple) !important;
  transform: none !important;
}

.dropbtn::after {
  content: ' \25BE';
  opacity: 0.6;
  font-size: 0.8rem;
}

.main-nav a[href="admin.php"] {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hotline {
  margin: 0.5rem 0 1rem 0;
  font-size: 0.85rem; /* Mengurangi ukuran font hotline */
}

.running-text-wrapper {
  background: var(--dark-purple);
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
  padding: 6px 0;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease, border 0.4s ease;
  max-height: 40px;
  opacity: 1;
}

.site-header.scrolled .running-text-wrapper {
  max-height: 0;
  padding: 0;
  opacity: 0;
  border-top: none;
}

.running-text-content {
  display: inline-block;
  animation: marquee-scroll 30s linear infinite;
}

@keyframes marquee-scroll {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}

.footer-social {
  display: flex;
  gap: 1.25rem;
  margin-top: 0;
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  background: var(--dark-purple);
  color: var(--white);
  transition: all 0.3s ease;
}

.button-primary:hover {
  background: var(--primary-accent);
}

.floating-button {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 2000;
  padding: 1rem 1.8rem; /* Padding tombol */
  box-shadow: 0 20px 40px rgba(64, 4, 104, 0.3);
}

@media (max-width: 720px) {
  .floating-button {
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.8rem 1.5rem;
  }
}

.button-secondary {
  background: var(--white);
  color: var(--dark-purple);
  border: 1px solid var(--dark-purple);
}

.button-secondary:hover {
  background: var(--medium-purple); /* Ungu sedang */
  border-color: var(--dark-purple); /* Ungu tua */
  box-shadow: var(--shadow-md);
}

.button-tertiary {
  background: rgba(149, 125, 173, 0.12); /* Ungu sedang transparan */
  color: var(--white); /* Teks putih */
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.button-tertiary:hover {
  background: rgba(123, 104, 187, 0.2);
  box-shadow: 0 4px 12px rgba(123, 104, 187, 0.3);
}

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.doctor-card {
  background: var(--white); /* Latar putih */
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}
 
.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* --- Anti-Mainstream Hero Section --- */
.hero {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
  gap: 3rem;
  padding: 6rem 1.5rem;
  min-height: 80vh;
  align-items: center;
  background: radial-gradient(circle at top right, var(--light-purple), transparent);
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  position: relative;
}

.hero-content h1 span {
  color: var(--primary-accent);
  display: block;
}

.hero-hook {
  font-size: 1.25rem;
  border-left: 3px solid var(--primary-accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  color: var(--muted-text);
}

/* --- Bento Grid Services --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-rows: minmax(200px, auto);
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px; /* Disesuaikan agar gambar dan teks muat */
  }
}

.service-card {
  grid-column: span 1;
  grid-row: span 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  /* Menghapus justify-content: flex-end agar gambar berada di atas */
  padding: 1.5rem; /* Disesuaikan agar lebih proporsional */
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  background: var(--white);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card-img {
  width: 100%;
  height: 100px; /* Disesuaikan agar pas dengan tinggi kartu baru */
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img {
  transform: scale(1.05);
}

.service-card h3 {
  margin: 0;
  color: var(--dark-purple);
  font-size: 1.1rem;
}

.service-card p {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-card:nth-child(1), .service-card:nth-child(4) {
  position: relative;
  overflow: hidden;
  @media (min-width: 1024px) {
    grid-column: span 2;
    grid-row: span 2;
  }
  background: var(--dark-purple);
  color: var(--white);
}

.service-card:nth-child(1) .service-card-img,
.service-card:nth-child(4) .service-card-img {
  @media (min-width: 1024px) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    border-radius: 0;
    opacity: 0.3;
    z-index: 0;
  }
}

.service-card:nth-child(1) h3, .service-card:nth-child(1) p,
.service-card:nth-child(4) h3, .service-card:nth-child(4) p {
  position: relative;
  z-index: 1;
}

.service-card:nth-child(1) h3, .service-card:nth-child(4) h3 {
  color: var(--white);
  font-size: 1.8rem;
}

.service-card:nth-child(1) p, .service-card:nth-child(4) p {
  color: rgba(255, 255, 255, 0.9); /* Kontras tinggi untuk latar belakang gelap */
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--primary-accent);
  box-shadow: var(--shadow-lg);
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-visual .floating-media {
  position: relative;
  height: 400px;
  border-radius: 2rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.stats-section {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* Jarak antar elemen */
}

.hospital-image {
  width: 100%;
  height: auto;
  max-height: 300px;
  filter: drop-shadow(0 4px 12px rgba(109, 89, 122, 0.15)); /* Bayangan ungu tua */
}

.hero-content {
  display: grid;
  gap: 1rem; /* Jarak antar elemen */
}

.eyebrow {
  margin: 0;
  color: var(--medium-purple); /* Ungu sedang */
  color: var(--primary-accent); /* Diubah ke ungu cerah agar lebih kontras (>4.5:1) */
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.hero h1,
.page-header h1,
.section-header h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 2.4vw, 3rem);
  line-height: 1.05;
  color: var(--dark-purple); /* Judul ungu tua untuk kontras */
}

.hero p,
.content-block p,
.notice, .whatsapp-info {
  margin: 0;
  color: var(--text-muted); /* Teks muted */
}

.hero-actions {
  display: flex;
  gap: 1rem; /* Jarak antar elemen */
  flex-wrap: wrap;
}

.emergency-card {
  background: #dc2626; /* Warna darurat standar yang lebih profesional */
  border-radius: 1.2rem;
  padding: 1.8rem;
  color: var(--white); /* Teks putih */
  display: grid;
  gap: 1rem; /* Jarak antar elemen */
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 1.2rem; /* Perkecil padding */
}

.emergency-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(109, 89, 122, 0.3); /* Bayangan ungu tua */
}

.emergency-card .eyebrow {
  font-size: 0.75rem; /* Lebih kecil */
}

.emergency-card h2 {
  margin: 0;
  font-size: 1.5rem; /* Lebih kecil dari default h2 */
}

.emergency-card .button-tertiary {
  padding: 0.6rem 1rem; /* Sesuaikan padding tombol */
}

.section-header {
  max-width: 1180px;
  margin: 0 auto 1rem;
  padding: 0 1.5rem;
}

.services-section,
.schedule-section,
.insurance-section,
.gallery-section,
.page-content {
  max-width: 1180px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.gallery-item {
  background: var(--white); /* Latar putih */
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
  height: 240px;
  transition: all 0.3s ease;
}
 
.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.schedule-table-wrapper {
  background: var(--white); /* Latar putih */
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.schedule-table-wrapper:hover {
  border-color: var(--medium-purple);
  box-shadow: var(--shadow-md);
}

.schedule-table,
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.schedule-table th,
.schedule-table td,
.info-table th,
.info-table td {
  text-align: left;
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.schedule-table th,
.info-table th {
  color: var(--dark-purple);
  font-weight: 700;
}

.search-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.search-panel label {
  font-weight: 600;
  color: #7B68BB;
  color: var(--dark-purple); /* Diubah ke ungu tua untuk keterbacaan maksimal */
}

.search-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.search-panel input {
  width: 100%;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  border: 2px solid var(--border-color);
  border-radius: 0.6rem;
  background: #ffffff;
  color: #2d1b4e;
  transition: all 0.3s ease;
}

.search-panel input:focus {
  outline: none;
  border-color: #7B68BB;
  box-shadow: 0 0 0 3px rgba(123, 104, 187, 0.1);
}

.table-heading {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: #7B68BB;
  color: var(--dark-purple);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr));
  gap: 1rem;
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.article-card:hover {
  border-color: var(--medium-purple);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.article-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: linear-gradient(135deg, #f5f2fa 0%, #e8e0f5 100%);
}

.article-body {
  padding: 1.5rem;
}

.article-body h2 {
  margin-top: 0;
  color: var(--dark-purple);
}

.article-body p {
  color: #5a4a7a;
  line-height: 1.7;
}


.article-card h2 {
  margin-top: 0;
}

.article-topic {
  margin: 0.5rem 0 1rem;
  color: var(--medium-purple); /* Ungu sedang */
  color: var(--primary-accent);
  font-weight: 600;
}

.director-card-large {
  display: flex;
  gap: 3rem;
  align-items: center;
  background: var(--bg-card); /* Latar kartu putih */
  padding: 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.director-visual img {
  width: 100%;
  max-width: 240px;
  height: auto;
  object-fit: cover;
  border-radius: 1rem;
  display: block;
}

.greeting-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-muted); /* Teks muted */
  font-style: italic;
  margin-top: 1rem;
  white-space: pre-line; /* Menjaga format baris baru dari input admin */
}

@media (max-width: 900px) {
  .director-card-large {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.partner-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partner-card:hover {
  border-color: #7B68BB;
  box-shadow: 0 8px 16px rgba(123, 104, 187, 0.12);
}

.partner-logo {
  max-width: 120px;
  max-height: 60px;
  margin-bottom: 1.5rem;
  object-fit: contain;
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chart-card canvas {
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
}

.chart-card figcaption {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary);
  text-align: center;
}

.admin-panel {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.admin-section {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: all 0.3s ease;
}

.admin-section:hover {
  border-color: #D4C9E8;
  box-shadow: 0 4px 12px rgba(123, 104, 187, 0.08);
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group-full {
  grid-column: span 2;
}

.admin-form label {
  font-weight: 600;
  color: #7B68BB;
  font-size: 0.9rem;
}

.admin-form input,
.admin-form textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  font-size: 0.95rem;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  background: #ffffff;
  color: #2d1b4e;
  transition: all 0.3s ease;
}

.admin-form .button-primary {
  grid-column: span 2;
  margin-top: 0.5rem;
}

.admin-form input:focus,
.admin-form textarea:focus {
  outline: none;
  border-color: #7B68BB;
  box-shadow: 0 0 0 3px rgba(123, 104, 187, 0.1);
}

.admin-table th,
.admin-table td {
  vertical-align: middle;
}

.action-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.file-input-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-bottom: 1rem;
}

.file-input-wrapper input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-input-wrapper span {
  display: block;
  padding: 1rem; /* Padding */
  border: 2px dashed var(--light-purple); /* Border ungu muda putus-putus */
  border-radius: 0.8rem; /* Sudut membulat */
  background: var(--light-purple); /* Latar ungu muda */
  color: var(--text-muted); /* Teks muted */
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease; /* Transisi halus */
}

.file-input-wrapper:hover span {
  border-color: var(--medium-purple); /* Border ungu sedang */
  background: #f8fafc;
}

.image-preview {
  margin: 1rem 0;
  text-align: center;
}

.image-preview img {
  max-width: 100%;
  max-height: 300px;
  border-radius: 0.8rem;
  box-shadow: 0 2px 8px rgba(109, 89, 122, 0.1); /* Bayangan ungu tua */
}

.action-buttons .button {
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
}

.table-wrapper {
  overflow-x: auto;
}

.page-header {
  max-width: 1180px;
  margin: 2.5rem auto 1.5rem;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 12px; /* Sudut membulat */
  border: 1px solid var(--border-color);
  text-align: center;
}

.page-content {
  background: var(--white); /* Latar belakang halaman putih */
  padding-bottom: 2rem; /* Padding bawah */
}

.content-block {
  background: var(--white); /* Latar putih */
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.75rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.content-block:hover {
  border-color: var(--medium-purple); /* Border ungu sedang */
  box-shadow: 0 4px 12px rgba(109, 89, 122, 0.08); /* Bayangan ungu tua */
}

.content-block h2 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--dark-purple); /* Ungu tua */
}

.content-block ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted); /* Teks muted */
}

.content-block li {
  margin-bottom: 0.75rem;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.booking-form label {
  font-weight: 600;
  color: var(--dark-purple); /* Ungu tua */
}

.booking-form input,
.booking-form select {
  width: 100%;
  padding: 0.6rem 0.8rem;
  font-size: 0.95rem;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  background: var(--white); /* Latar putih */
  color: var(--text-main); /* Teks utama hitam */
  transition: all 0.3s ease;
}

.booking-form .button-primary {
  grid-column: span 2;
  margin-top: 0.5rem;
}

.booking-form input:focus,
.booking-form select:focus {
  outline: none;
  border-color: var(--medium-purple); /* Border ungu sedang */
  box-shadow: 0 0 0 3px rgba(149, 125, 173, 0.1); /* Bayangan ungu sedang */
}

.notice {
  margin-top: 1.5rem; /* Margin atas */
  background: var(--light-purple); /* Latar ungu muda */
  border-left: 4px solid var(--medium-purple); /* Border kiri ungu sedang */
  padding: 1rem 1rem 1rem 1rem; /* Padding */
  border-radius: 0.8rem; /* Sudut membulat */
}

.whatsapp-section {
  text-align: center;
}

.whatsapp-section h2 {
  color: var(--dark-purple); /* Ungu tua */
  margin-bottom: 1rem; /* Margin bawah */
}

.whatsapp-contact {
  margin: 2rem 0;
}

.whatsapp-button {
  display: inline-flex; /* Tampilan inline flex */
  align-items: center; /* Pusatkan vertikal */
  gap: 1.5rem; /* Jarak antar elemen */
  background: linear-gradient(135deg, #25D366 0%, #20ba5a 100%);
  color: var(--white); /* Teks putih */
  padding: 1.5rem 2rem; /* Padding */
  border-radius: 1rem; /* Sudut membulat */
  text-decoration: none; /* Tanpa garis bawah */
  font-weight: 600; /* Tebal font */
  transition: all 0.3s ease; /* Transisi halus */
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25); /* Bayangan hijau */
  border: 2px solid #25D366; /* Border hijau */
}

.whatsapp-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  background: linear-gradient(135deg, #20ba5a 0%, #1fa94d 100%);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35); /* Bayangan hijau lebih besar */
  background: linear-gradient(135deg, #20ba5a 0%, #1fa94d 100%); /* Gradasi hijau saat hover */
}

.whatsapp-button:active {
  transform: translateY(-2px);
}

.whatsapp-icon {
  font-size: 2.5rem; /* Ukuran ikon */
  display: flex; /* Tampilan flex */
  align-items: center; /* Pusatkan vertikal */
  justify-content: center; /* Pusatkan horizontal */
}

.whatsapp-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Rata kiri */
  gap: 0.25rem; /* Jarak antar elemen */
}

.whatsapp-text strong {
  font-size: 1.1rem;
}

.whatsapp-number {
  font-size: 0.95rem; /* Ukuran font */
  opacity: 0.95; /* Sedikit transparan */
}

.whatsapp-info {
  margin-top: 1rem; /* Margin atas */
  font-size: 0.9rem; /* Ukuran font */
}

.site-footer {
  background: var(--dark-purple); /* Latar ungu tua */
  color: var(--white); /* Teks putih */
  padding: 3rem 1.5rem 1.5rem;
  box-shadow: 0 -2px 8px rgba(123, 104, 187, 0.15);
}

.site-footer a {
  color: var(--white);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.site-footer a:hover {
  opacity: 1;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-info {
  flex: 1 1 300px;
}

.footer-links {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #ffffff;
  opacity: 0.9;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  opacity: 1;
}

.form-error {
  color: #c41e3a;
  background: #fce8ea;
  border-left: 4px solid #c41e3a;
  padding: 1rem;
  border-radius: 0.6rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.login-form {
  max-width: 400px;
  margin: 0 auto;
}

.section-header {
  text-align: center; /* Pusatkan teks */
  margin-bottom: 2rem;
}

.section-header h2 {
  color: #7B68BB;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .main-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--white);
    padding: 1.5rem 1rem;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    position: absolute;
    top: 100%;
    left: 0;
    align-items: flex-start;
    
    visibility: hidden;
    opacity: 0;
    transform: translateY(-15px);
    transition: all 0.3s ease;
    pointer-events: none;
  }
  
  .main-nav.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--light-purple);
    margin-left: 1rem;
    padding-left: 0.5rem;
    display: none;
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .dropdown:hover .dropdown-content,
  .dropdown.active .dropdown-content {
    display: block;
  }
}

@media (max-width: 720px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .whatsapp-button {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
  }

  .whatsapp-icon {
    font-size: 2rem;
  }

  .whatsapp-text {
    align-items: center;
  }

  .doctor-grid {
    grid-template-columns: 1fr;
  }

  .emergency-card {
    min-height: auto;
  }

  .site-footer {
    padding: 1.5rem 1rem;
  }
  .footer-social {
    justify-content: center; /* Memastikan ikon di tengah pada tampilan mobile */
    margin-bottom: 2.5rem; 
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  opacity: 1;
  color: #ffffff;
  transform: translateY(-3px);
}
/* --- Implementasi Gradasi Ungu Muda & Ungu Tua --- */
