﻿/* =============================================
   Anak Negeri Hospital Kota Subulussalam
   Main Stylesheet
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-dark:    #1B3A6B;
  --blue-mid:     #1E509A;
  --blue-light:   #D6E4F7;
  --green-dark:   #1B5E20;
  --green-mid:    #2E7D32;
  --green-light:  #E8F5E9;
  --red-emerg:    #B71C1C;
  --red-light:    #FFEBEE;
  --gray-100:     #F4F6F8;
  --gray-200:     #E8EAED;
  --gray-300:     #D0D5DD;
  --gray-500:     #717680;
  --gray-700:     #3A3F47;
  --gray-900:     #1A1D23;
  --white:        #FFFFFF;
  --gold:         #B8860B;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.12);
  --shadow-md:    0 2px 8px rgba(0,0,0,0.15);
  --shadow-lg:    0 4px 16px rgba(0,0,0,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* =============================================
   TOPBAR
   ============================================= */
.topbar {
  background: var(--blue-dark);
  color: var(--white);
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 2px solid var(--blue-mid);
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left { display: flex; align-items: center; gap: 20px; }
.topbar-left span { display: flex; align-items: center; gap: 5px; opacity: 0.9; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-right a {
  color: var(--white);
  opacity: 0.85;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s;
}
.topbar-right a:hover { opacity: 1; text-decoration: none; }

.btn-topbar-emerg {
  background: var(--red-emerg);
  color: var(--white) !important;
  padding: 4px 12px;
  font-weight: bold;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 1 !important;
  letter-spacing: 0.3px;
}
.btn-topbar-emerg:hover { background: #8B0000; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--blue-dark);
  box-shadow: var(--shadow-md);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo-emblem {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}
.logo-text { line-height: 1.25; }
.logo-text .kop-atas {
  font-size: 11px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.logo-text .nama-rs {
  font-size: 22px;
  font-weight: bold;
  color: var(--blue-dark);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.logo-text .kota-rs {
  font-size: 14px;
  color: var(--green-mid);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.logo-text .akreditasi {
  display: inline-block;
  margin-top: 4px;
  background: var(--blue-dark);
  color: var(--white);
  font-size: 10px;
  padding: 2px 8px;
  letter-spacing: 0.5px;
}
.header-right {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.header-kontak {
  text-align: right;
  font-size: 12px;
  color: var(--gray-500);
}
.header-kontak .phone-number {
  font-size: 18px;
  font-weight: bold;
  color: var(--blue-dark);
  display: block;
}
.header-kontak .phone-label { font-size: 11px; }
.btn-daftar {
  background: var(--green-mid);
  color: var(--white);
  padding: 9px 20px;
  font-size: 13px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s;
  text-decoration: none;
}
.btn-daftar:hover { background: var(--green-dark); text-decoration: none; color: var(--white); }

/* =============================================
   NAVIGATION
   ============================================= */
.site-nav {
  background: var(--blue-dark);
  position: relative;
  z-index: 100;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: stretch;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  padding: 12px 0;
  font-size: 20px;
  cursor: pointer;
  margin-left: auto;
}
.nav-menu { display: flex; align-items: stretch; flex: 1; }
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 16px;
  color: var(--white);
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: background 0.2s;
  cursor: pointer;
}
.nav-link:hover,
.nav-item:hover > .nav-link,
.nav-link.active { background: var(--blue-mid); text-decoration: none; color: var(--white); }
.nav-link .arrow { font-size: 9px; margin-top: 1px; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--blue-mid);
  z-index: 200;
}
.nav-item:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-200);
  transition: background 0.15s, color 0.15s;
}
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a:hover { background: var(--blue-light); color: var(--blue-dark); text-decoration: none; }

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb-bar {
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-300);
  padding: 8px 0;
}
.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 12px;
  color: var(--gray-500);
}
.breadcrumb-inner a { color: var(--blue-mid); }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-sep { margin: 0 6px; }
.breadcrumb-inner .current { color: var(--gray-700); font-weight: bold; }

/* =============================================
   PAGE TITLE BANNER
   ============================================= */
.page-title-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  color: var(--white);
  padding: 28px 0;
  border-bottom: 4px solid var(--green-mid);
}
.page-title-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.page-title-banner h1 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.page-title-banner p { font-size: 14px; opacity: 0.85; }

/* =============================================
   MAIN CONTENT
   ============================================= */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  margin: 24px 0 40px;
}
.content-layout.full-width {
  grid-template-columns: 1fr;
}

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-box {
  background: var(--white);
  border: 1px solid var(--gray-300);
  box-shadow: var(--shadow-sm);
}
.sidebar-box-title {
  background: var(--blue-dark);
  color: var(--white);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.sidebar-box-body { padding: 12px 16px; }
.sidebar-menu li { border-bottom: 1px solid var(--gray-200); }
.sidebar-menu li:last-child { border-bottom: none; }
.sidebar-menu li a {
  display: block;
  padding: 9px 0;
  font-size: 13px;
  color: var(--gray-700);
  transition: color 0.15s;
}
.sidebar-menu li a:hover { color: var(--blue-mid); text-decoration: none; }
.sidebar-menu li a.active { color: var(--blue-dark); font-weight: bold; }
.sidebar-menu li a::before { content: "›"; margin-right: 6px; color: var(--blue-mid); }

/* =============================================
   SECTION COMPONENTS
   ============================================= */
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue-dark);
}
.section-title h2 {
  font-size: 18px;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.section-title-bar {
  width: 4px;
  height: 22px;
  background: var(--green-mid);
  flex-shrink: 0;
}

/* =============================================
   HERO / BANNER SLIDER
   ============================================= */
.hero-section { position: relative; overflow: hidden; }
.hero-slider { position: relative; height: 420px; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27,58,107,0.82) 0%, rgba(27,58,107,0.35) 70%, transparent 100%);
  display: flex;
  align-items: center;
}
.hero-caption {
  max-width: 500px;
  padding: 0 48px;
  color: var(--white);
}
.hero-caption .tag {
  display: inline-block;
  background: var(--green-mid);
  font-size: 11px;
  padding: 3px 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.hero-caption h2 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 10px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.hero-caption p { font-size: 14px; opacity: 0.9; margin-bottom: 18px; line-height: 1.6; }
.btn-hero {
  display: inline-block;
  background: var(--green-mid);
  color: var(--white);
  padding: 10px 22px;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}
.btn-hero:hover { background: var(--green-dark); text-decoration: none; color: var(--white); }

.slider-controls {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.5);
  border: 2px solid var(--white);
  cursor: pointer;
  transition: background 0.2s;
}
.slider-dot.active { background: var(--white); }
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(27,58,107,0.7);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}
.slider-btn:hover { background: var(--blue-dark); }
.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }

/* =============================================
   QUICK ACCESS BAR
   ============================================= */
.quick-access {
  background: var(--blue-dark);
  padding: 0;
  border-top: 3px solid var(--green-mid);
}
.quick-access-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  overflow-x: auto;
}
.quick-btn {
  flex: 1;
  min-width: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 12px;
  color: var(--white);
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s;
  text-align: center;
  cursor: pointer;
}
.quick-btn:last-child { border-right: none; }
.quick-btn:hover { background: var(--blue-mid); text-decoration: none; color: var(--white); }
.quick-btn .icon { font-size: 22px; }
.quick-btn.emerg { background: var(--red-emerg); }
.quick-btn.emerg:hover { background: #8B0000; }

/* =============================================
   INFO TICKER
   ============================================= */
.info-ticker {
  background: var(--blue-light);
  border-bottom: 1px solid var(--gray-300);
  padding: 8px 0;
  overflow: hidden;
}
.ticker-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ticker-label {
  background: var(--blue-dark);
  color: var(--white);
  font-size: 11px;
  font-weight: bold;
  padding: 3px 10px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-track {
  overflow: hidden;
  flex: 1;
}
.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
  font-size: 12px;
  color: var(--gray-700);
}
.ticker-content a { color: var(--blue-mid); }
@keyframes ticker {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* =============================================
   HOME SECTIONS
   ============================================= */
.home-section {
  padding: 40px 0;
}
.home-section + .home-section { border-top: 1px solid var(--gray-200); }
.home-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.section-header {
  margin-bottom: 24px;
}
.section-header h2 {
  font-size: 20px;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--blue-dark);
  display: inline-block;
  margin-bottom: 4px;
}
.section-header p { font-size: 13px; color: var(--gray-500); margin-top: 6px; }
.section-more {
  float: right;
  font-size: 12px;
  color: var(--blue-mid);
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.5px;
  padding: 2px 0;
  border-bottom: 1px solid var(--blue-mid);
}
.section-more:hover { color: var(--blue-dark); text-decoration: none; border-color: var(--blue-dark); }

/* =============================================
   SERVICE CARDS
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  text-align: center;
  padding: 24px 16px;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: var(--gray-700);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--gray-700);
}
.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--blue-dark);
}
.service-card h3 {
  font-size: 14px;
  color: var(--blue-dark);
  font-weight: bold;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.3;
}
.service-card p { font-size: 12px; color: var(--gray-500); line-height: 1.5; }

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: var(--blue-dark);
  padding: 30px 0;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  color: var(--white);
  padding: 10px 20px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 36px;
  font-weight: bold;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-number span { font-size: 20px; }
.stat-label {
  font-size: 12px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =============================================
   DOCTOR SCHEDULE TABLE
   ============================================= */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: var(--white);
  border: 1px solid var(--gray-300);
}
.schedule-table th {
  background: var(--blue-dark);
  color: var(--white);
  padding: 10px 14px;
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.schedule-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:nth-child(even) td { background: var(--gray-100); }
.schedule-table tr:hover td { background: var(--blue-light); }
.doc-name { font-weight: bold; color: var(--blue-dark); }
.doc-spesialis { font-size: 12px; color: var(--gray-500); margin-top: 2px; }
.badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.3px;
}
.badge-available { background: var(--green-light); color: var(--green-dark); }
.badge-busy     { background: var(--red-light); color: var(--red-emerg); }
.badge-off      { background: var(--gray-200); color: var(--gray-500); }
.badge-pagi     { background: #FFF8E1; color: #E65100; }
.badge-siang    { background: #E3F2FD; color: #1565C0; }
.badge-sore     { background: #EDE7F6; color: #4527A0; }

/* =============================================
   NEWS CARDS
   ============================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.news-card:hover { box-shadow: var(--shadow-md); }
.news-card-img {
  height: 180px;
  overflow: hidden;
  background: var(--gray-200);
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.news-card:hover .news-card-img img { transform: scale(1.03); }
.news-card-body { padding: 14px 16px; }
.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.news-category {
  background: var(--blue-dark);
  color: var(--white);
  font-size: 10px;
  padding: 2px 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.news-date { font-size: 11px; color: var(--gray-500); }
.news-card h3 {
  font-size: 14px;
  color: var(--blue-dark);
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 8px;
}
.news-card h3 a:hover { color: var(--blue-mid); text-decoration: none; }
.news-card p { font-size: 12px; color: var(--gray-500); line-height: 1.6; }
.news-read-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--blue-mid);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* =============================================
   ANNOUNCEMENT SECTION
   ============================================= */
.announcement-box {
  background: #FFFDE7;
  border: 1px solid #FDD835;
  border-left: 4px solid #F9A825;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.announcement-box h4 { font-size: 13px; color: #5D4037; font-weight: bold; margin-bottom: 6px; }
.announcement-box p { font-size: 12px; color: #6D4C41; line-height: 1.6; }
.announcement-box .date { font-size: 11px; color: #8D6E63; margin-top: 4px; }

/* =============================================
   GENERAL CONTENT STYLES
   ============================================= */
.content-body h2 {
  font-size: 18px;
  color: var(--blue-dark);
  margin: 20px 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue-light);
}
.content-body h3 { font-size: 15px; color: var(--blue-dark); margin: 16px 0 8px; }
.content-body p { margin-bottom: 12px; line-height: 1.7; font-size: 14px; }
.content-body ul, .content-body ol {
  margin: 10px 0 12px 20px;
  font-size: 14px;
  line-height: 1.8;
}
.content-body ul { list-style: disc; }
.content-body ol { list-style: decimal; }
.content-body table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.content-body table th {
  background: var(--blue-dark);
  color: var(--white);
  padding: 9px 12px;
  text-align: left;
  font-size: 13px;
}
.content-body table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 13px;
}
.content-body table tr:nth-child(even) td { background: var(--gray-100); }
.content-body .callout {
  background: var(--blue-light);
  border-left: 4px solid var(--blue-mid);
  padding: 14px 16px;
  margin: 16px 0;
  font-size: 13px;
}
.content-body .callout-green {
  background: var(--green-light);
  border-left-color: var(--green-mid);
}

/* =============================================
   DOCTOR CARD
   ============================================= */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.doctor-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  overflow: hidden;
  text-align: center;
  transition: box-shadow 0.2s;
}
.doctor-card:hover { box-shadow: var(--shadow-md); }
.doctor-photo {
  height: 200px;
  background: var(--blue-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-photo .photo-placeholder {
  width: 80px;
  height: 80px;
  background: var(--blue-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--white);
}
.doctor-info { padding: 14px 12px; }
.doctor-info h4 { font-size: 13px; color: var(--blue-dark); font-weight: bold; margin-bottom: 4px; line-height: 1.3; }
.doctor-info .spesialis {
  font-size: 12px;
  color: var(--green-mid);
  font-weight: bold;
  margin-bottom: 6px;
}
.doctor-info .sip { font-size: 11px; color: var(--gray-500); margin-bottom: 8px; }
.doctor-info .jadwal-singkat {
  font-size: 11px;
  background: var(--gray-100);
  padding: 6px 8px;
  text-align: left;
  color: var(--gray-700);
  line-height: 1.6;
}

/* =============================================
   CONTACT INFO
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-info-box { padding: 20px; background: var(--white); border: 1px solid var(--gray-300); }
.contact-info-box h3 { font-size: 15px; color: var(--blue-dark); font-weight: bold; margin-bottom: 14px; border-bottom: 2px solid var(--blue-light); padding-bottom: 8px; }
.contact-row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 13px;
}
.contact-row:last-child { border-bottom: none; }
.contact-icon { font-size: 18px; flex-shrink: 0; color: var(--blue-mid); margin-top: 1px; }
.contact-label { font-weight: bold; color: var(--gray-700); margin-bottom: 2px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.3px; }
.contact-value { color: var(--gray-700); }

/* =============================================
   FORM STYLES
   ============================================= */
.form-section { background: var(--white); border: 1px solid var(--gray-300); padding: 24px; }
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: bold;
  color: var(--gray-700);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.form-label .req { color: var(--red-emerg); margin-left: 3px; }
.form-control {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--gray-300);
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}
.form-control:focus { border-color: var(--blue-mid); }
.form-control::placeholder { color: var(--gray-500); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 11px; color: var(--gray-500); margin-top: 4px; }
.btn-submit {
  background: var(--blue-dark);
  color: var(--white);
  border: none;
  padding: 11px 28px;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--blue-mid); }
.btn-secondary {
  background: var(--gray-200);
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
  padding: 10px 24px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-secondary:hover { background: var(--gray-300); }

/* =============================================
   FACILITY CARDS
   ============================================= */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.facility-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  overflow: hidden;
}
.facility-img {
  height: 200px;
  overflow: hidden;
  background: var(--gray-200);
}
.facility-img img { width: 100%; height: 100%; object-fit: cover; }
.facility-body { padding: 14px 16px; }
.facility-body h3 { font-size: 14px; color: var(--blue-dark); font-weight: bold; margin-bottom: 8px; text-transform: uppercase; }
.facility-body p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }
.facility-body ul { list-style: disc; padding-left: 16px; font-size: 12px; color: var(--gray-500); line-height: 1.8; margin-top: 8px; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.8);
  padding: 40px 0 0;
  margin-top: 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}
.footer-about .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-logo .logo-mini {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}
.footer-logo .name {
  color: var(--white);
  font-size: 14px;
  font-weight: bold;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.footer-about p { font-size: 12px; line-height: 1.7; margin-bottom: 12px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--white);
  transition: background 0.2s;
}
.footer-social a:hover { background: var(--blue-mid); text-decoration: none; }

.footer-col h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue-mid);
}
.footer-links li { margin-bottom: 6px; }
.footer-links li a {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}
.footer-links li a::before { content: "›"; color: var(--green-mid); }
.footer-links li a:hover { color: var(--white); text-decoration: none; }
.footer-contact-item {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.5;
}
.footer-contact-item .icon { color: var(--green-mid); flex-shrink: 0; margin-top: 1px; }

.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,0.5); }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { font-size: 11px; color: rgba(255,255,255,0.5); }
.footer-bottom-links a:hover { color: var(--white); text-decoration: none; }
.footer-cert {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.cert-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 10px;
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  text-align: center;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cert-badge strong { display: block; color: var(--white); font-size: 11px; }

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
  display: flex;
  gap: 4px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.page-btn {
  min-width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-300);
  font-size: 13px;
  color: var(--gray-700);
  cursor: pointer;
  background: var(--white);
  padding: 0 10px;
  transition: background 0.15s, color 0.15s;
}
.page-btn:hover, .page-btn.active {
  background: var(--blue-dark);
  color: var(--white);
  border-color: var(--blue-dark);
  text-decoration: none;
}

/* =============================================
   ALERT / NOTICE BOXES
   ============================================= */
.alert {
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  border-left: 4px solid;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert-info    { background: var(--blue-light); border-color: var(--blue-mid); color: var(--blue-dark); }
.alert-success { background: var(--green-light); border-color: var(--green-mid); color: var(--green-dark); }
.alert-warning { background: #FFF8E1; border-color: #F9A825; color: #5D4037; }
.alert-danger  { background: var(--red-light); border-color: var(--red-emerg); color: var(--red-emerg); }

/* =============================================
   SEARCH BOX
   ============================================= */
.search-box {
  display: flex;
  border: 2px solid var(--blue-dark);
  overflow: hidden;
  margin-bottom: 20px;
}
.search-box input {
  flex: 1;
  padding: 9px 14px;
  border: none;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  outline: none;
}
.search-box button {
  background: var(--blue-dark);
  color: var(--white);
  border: none;
  padding: 9px 18px;
  font-size: 13px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: background 0.2s;
}
.search-box button:hover { background: var(--blue-mid); }

/* =============================================
   MOBILE RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .doctors-grid  { grid-template-columns: repeat(3, 1fr); }
  .footer-inner  { grid-template-columns: 1fr 1fr; }
  .stats-inner   { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--blue-dark);
    z-index: 300;
    max-height: 80vh;
    overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-item { border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; }
  .nav-link { padding: 13px 16px; width: 100%; justify-content: space-between; }
  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border-top: none;
    background: rgba(0,0,0,0.2);
    min-width: 100%;
  }
  .nav-item.open .dropdown-menu { display: block; }
  .dropdown-menu li a { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.1); padding-left: 28px; }
  .dropdown-menu li a:hover { background: rgba(255,255,255,0.1); }

  .hero-slider { height: 280px; }
  .hero-caption { padding: 0 24px; max-width: 100%; }
  .hero-caption h2 { font-size: 22px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid     { grid-template-columns: 1fr; }
  .doctors-grid  { grid-template-columns: repeat(2, 1fr); }
  .facility-grid { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .content-layout .sidebar { order: -1; }
  .footer-inner  { grid-template-columns: 1fr; }
  .stats-inner   { grid-template-columns: repeat(2, 1fr); }
  .header-inner  { flex-wrap: wrap; }
  .header-right  { align-items: flex-start; }
  .topbar-inner  { flex-direction: column; align-items: flex-start; }
  .logo-text .nama-rs { font-size: 17px; }
}

@media (max-width: 480px) {
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .doctors-grid   { grid-template-columns: 1fr 1fr; }
  .quick-access-inner { gap: 0; }
  .quick-btn { min-width: 90px; font-size: 10px; padding: 12px 6px; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 28px; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* =============================================
   PRINT FRIENDLY
   ============================================= */
@media print {
  .site-nav, .topbar, .quick-access, .info-ticker,
  .hero-section, .slider-controls, .site-footer,
  .sidebar, .btn-daftar, .nav-toggle { display: none !important; }
  .content-layout { grid-template-columns: 1fr !important; }
  body { font-size: 12pt; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
}

/* =============================================
   CONTENT WITH SIDEBAR (inner pages)
   ============================================= */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}
.content-main {}
.content-sidebar {}

/* =============================================
   CONTENT BOX
   ============================================= */
.content-box {
  background: #fff;
  border: 1px solid var(--gray-300);
  padding: 24px;
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 16px;
  font-weight: bold;
  color: var(--blue-dark);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
}

/* =============================================
   FAQ COMPONENTS
   ============================================= */
.faq-list {
  border: 1px solid var(--gray-200);
  margin-top: 8px;
}
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  transition: background 0.15s, color 0.15s;
  user-select: none;
}
.faq-question::after {
  content: "＋";
  flex-shrink: 0;
  font-size: 16px;
  color: var(--blue-mid);
  font-weight: normal;
  transition: transform 0.2s;
}
.faq-question.active-faq { background: var(--blue-light); color: var(--blue-dark); }
.faq-question.active-faq::after { content: "－"; }
.faq-question:hover { background: var(--blue-light); color: var(--blue-dark); }
.faq-answer {
  padding: 0 18px 14px 18px;
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.8;
  background: #fafcff;
  border-top: 1px solid var(--gray-100);
}
.faq-answer p { margin: 8px 0 0; }

/* =============================================
   BUTTON VARIANTS
   ============================================= */
.btn-outline {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid var(--blue-dark);
  color: var(--blue-dark);
  background: transparent;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--blue-dark); color: #fff; text-decoration: none; }

/* =============================================
   STAT BAR
   ============================================= */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--blue-dark);
  color: #fff;
  margin: 24px 0;
}
.stat-bar-item {
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-bar-item:last-child { border-right: none; }
.sbi-value { font-size: 28px; font-weight: bold; line-height: 1; margin-bottom: 4px; }
.sbi-label { font-size: 12px; opacity: 0.85; line-height: 1.3; }

/* =============================================
   MOBILE — inner page grids
   ============================================= */
@media (max-width: 900px) {
  .content-with-sidebar { grid-template-columns: 1fr; }
  .content-sidebar { order: -1; }
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stat-bar { grid-template-columns: 1fr 1fr; }
  .content-box { padding: 16px; }
}

