/* Variabel CSS untuk tema */
:root {
  --color-primary: #1f8a70;
  --color-primary-soft: #e6f4f1;
  --color-accent: #0ea5a3;
  --color-text: #334155;
  --color-text-light: #64748b;
  --color-bg: #ffffff;
  --color-border: #e2e8f0;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
}

/* Reset dan base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
}

/* Utility classes */
.sticky-top {
  position: sticky;
  top: 0;
  z-index: 40;
}

.max-w-7xl {
  max-width: 80rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ===== NAVBAR STYLES ===== */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--color-border);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  max-width: 80rem;
  margin: 0 auto;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo {
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 0.75rem;
  background-color: var(--color-primary);
}

.brand-title {
  font-weight: 600;
  letter-spacing: 0.025em;
  color: var(--color-text);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--color-text-light);
  line-height: 1.2;
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav a {
  font-size: 0.875rem;
  color: var(--color-text);
  text-decoration: none;
  transition: opacity 0.2s ease;
  padding: 0.5rem 0;
}

.desktop-nav a:hover {
  opacity: 0.8;
}

/* Navbar Actions */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  border: none;
}

.btn-primary:hover {
  opacity: 0.9;
  color: white;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn-outline:hover {
  background-color: #f8fafc;
  color: var(--color-text);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

/* Service link button */
.btn-ghost {
  background-color: transparent;
  color: var(--color-text);
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-ghost:hover {
  background-color: #f1f5f9;
  text-decoration: none;
}

/* Visibility Utilities */
.desktop-only {
  display: none !important;
}

/* Hero section */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
}

.bg-blur-circle {
  position: absolute;
  height: 20rem;
  width: 20rem;
  border-radius: 50%;
  filter: blur(64px);
  background-color: var(--color-primary-soft);
}

.bg-blur-circle.top-right {
  top: -6rem;
  right: -6rem;
}

.bg-blur-circle.bottom-left {
  bottom: -6rem;
  left: -6rem;
}

.hero-container {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: 3rem 0;
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.hero-content {
  max-width: 36rem;
}

.badge {
  display: inline-block;
  background-color: #f1f5f9;
  color: var(--color-text);
  border-radius: var(--radius);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

h1 {
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.2;
}

.text-primary {
  color: var(--color-primary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.hero-image {
  aspect-ratio: 4/3;
}

.image-placeholder {
  height: 100%;
  width: 100%;
  background: linear-gradient(to top right, #f1f5f9, white, #f8fafc);
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  text-align: center;
}

.image-title {
  font-weight: 500;
}

.image-subtitle {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* Trust section */
.trust-section {
  padding: 2rem 0;
}

.trust-container {
  display: grid;
  gap: 1rem;
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.trust-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.trust-icon {
  border-radius: var(--radius);
  padding: 0.5rem;
  background-color: var(--color-primary-soft);
  color: var(--color-primary);
  display: inline-flex;
  margin-bottom: 0.75rem;
}

.trust-title {
  font-weight: 600;
}

.trust-desc {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* Services section */
.services-section {
  padding: 3.5rem 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.section-header h2 {
  font-size: 1.875rem;
  font-weight: 600;
}

.services-grid {
  display: grid;
  gap: 1rem;
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.service-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.25rem 0;
}

.service-icon {
  border-radius: var(--radius);
  padding: 0.5rem;
  background-color: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

/* FIX: Pastikan semua icon sama besar */
.service-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.service-title {
  font-weight: 600;
  font-size: 1rem;
}

.service-content {
  padding: 1.25rem;
}

.service-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-top: 0.5rem;
}

.service-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Doctors section */
.doctors-section {
  padding: 3.5rem 0;
}

.doctors-grid {
  display: grid;
  gap: 1rem;
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.doctor-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.doctor-image {
  aspect-ratio: 4/3;
}

.doctor-image .image-placeholder {
  height: 100%;
  background-color: #f1f5f9;
  border-radius: 0.5rem;
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
}

.doctor-info {
  padding: 1.25rem;
}

.doctor-name {
  font-weight: 600;
}

.doctor-specialty {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.doctor-schedule {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 0.75rem;
}

.btn-full {
  width: 100%;
  margin-top: 1rem;
}

/* Facilities section */
.facilities-section {
  padding: 3.5rem 0;
}

.facilities-grid {
  display: grid;
  gap: 1rem;
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.facility-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.facility-image {
  aspect-ratio: 16/9;
}

.facility-image .image-placeholder {
  height: 100%;
  background-color: #f1f5f9;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.facility-info {
  padding: 1.25rem;
}

.facility-name {
  font-weight: 500;
}

.facility-desc {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* Testimonials section */
.testimonials-section {
  padding: 3.5rem 0;
}

.testimonials-grid {
  display: grid;
  gap: 1rem;
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.testimonial-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.testimonial-verified {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.testimonial-verified svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.verified-text {
  font-weight: 500;
  font-size: 0.875rem;
  margin: 0;
}

.testimonial-text {
  color: var(--color-text);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin: 0;
  font-weight: 500;
}

/* Responsive adjustments untuk testimonials section */
@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonial-card {
    padding: 1.5rem;
  }
}

/* CTA section */
.cta-section {
  padding: 4rem 0;
}

.cta-container {
  border-radius: 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.cta-background {
  position: absolute;
  inset: 0;
}

.bg-blur-circle.cta-right {
  top: -5rem;
  right: -5rem;
  height: 18rem;
  width: 18rem;
  border-radius: 50%;
  filter: blur(64px);
  background-color: var(--color-primary-soft);
}

.cta-content {
  position: relative;
  z-index: 10;
}

.cta-content h3 {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.cta-content p {
  color: var(--color-text);
  margin-bottom: 1.5rem;
  max-width: 36rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.cta-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

/* Responsive adjustments untuk CTA section */
@media (min-width: 768px) {
  .cta-container {
    padding: 3rem;
  }

  .cta-content h3 {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .cta-container {
    padding: 4.5rem;
  }

  .cta-actions {
    flex-wrap: nowrap;
  }
}

@media (max-width: 640px) {
  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Footer styles */
.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--color-border);
  background-color: #f8fafc;
}

.footer-container {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0;
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo {
  height: 2rem;
  width: 2rem;
  border-radius: 0.5rem;
  background-color: var(--color-primary);
}

.footer-company-name {
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  font-size: 1.1rem;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-text);
  font-size: 1.1rem;
}

.footer-description {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

/* PERBAIKAN: Footer links style */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* PERBAIKAN: Link style - tidak biru dan tidak ada garis bawah */
.footer-links a {
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-primary);
  text-decoration: none; /* Pastikan tidak ada underline saat hover */
}

/* Style untuk teks biasa (bukan link) */
.footer-links li:not(:has(a)) {
  color: var(--color-text-light);
}

.footer-address {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0 0 0.5rem 0;
}

.footer-note {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin: 0;
  font-style: italic;
}

.footer-bottom {
  padding: 1.25rem 0;
  text-align: center;
  border-top: 1px solid var(--color-border);
  font-size: 0.75rem;
  color: var(--color-text-light);
  background-color: #f1f5f9;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
}

.footer-social .social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #000000; /* warna teks & ikon hitam */
  font-size: 15px;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-social .social-link:hover {
  opacity: 1;
  transform: translateX(3px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  stroke: currentColor; /* agar warna svg ikut warna teks */
}


/* Responsive footer */
@media (min-width: 640px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-brand {
    margin-bottom: 1.5rem;
  }
}

/* Style untuk logo di footer */
.footer-brand .custom-logo {
  height: 2rem;
  width: auto;
  max-width: 2rem;
  object-fit: contain;
  border-radius: 0.5rem;
}

.footer-brand .custom-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Icons */
.icon-shield-check,
.icon-building,
.icon-users,
.icon-baby,
.icon-stethoscope,
.icon-check-circle,
.icon-phone-call,
.icon-map-pin,
.icon-clock,
.icon-sparkles {
  height: 1.25rem;
  width: 1.25rem;
}

/* ===== RESPONSIVE STYLES ===== */
@media (min-width: 640px) {
  .px-4 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .trust-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  /* Tablet Styles */
  .navbar-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .brand-title {
    font-size: inherit;
  }

  .brand-subtitle {
    font-size: 0.75rem;
  }

  .desktop-only {
    display: inline-flex !important;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .hero-container {
    grid-template-columns: repeat(2, 1fr);
    padding: 5rem 0;
  }

  h1 {
    font-size: 3rem;
  }

  .footer-container {
    grid-template-columns: repeat(4, 1fr);
  }

  .doctors-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .facilities-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-container {
    padding: 3rem;
  }
}

@media (min-width: 1024px) {
  /* Desktop Styles */
  .navbar-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .px-4 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  h1 {
    font-size: 3.75rem;
  }

  .cta-container {
    padding: 4.5rem;
  }
}

/* Hero section */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
}

.bg-blur-circle {
  position: absolute;
  height: 20rem;
  width: 20rem;
  border-radius: 50%;
  filter: blur(64px);
  background-color: var(--color-primary-soft);
}

.bg-blur-circle.top-right {
  top: -6rem;
  right: -6rem;
}

.bg-blur-circle.bottom-left {
  bottom: -6rem;
  left: -6rem;
}

.hero-container {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: 3rem 0;
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.hero-content {
  max-width: 36rem;
}

.hero-image {
  aspect-ratio: 4/3;
  position: relative;
}

/* Hero Image Container dengan Background */
.hero-image-container {
  height: 100%;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Overlay untuk membuat gambar lebih soft */
.hero-image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  z-index: 1;
}

/* Placeholder style tetap sama */
.image-placeholder {
  height: 100%;
  width: 100%;
  background: linear-gradient(to top right, #f1f5f9, white, #f8fafc);
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  text-align: center;
}

.icon-heart-pulse {
  height: 3rem;
  width: 3rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.image-title {
  font-weight: 500;
}

.image-subtitle {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* Responsive adjustments untuk hero image */
@media (min-width: 768px) {
  .hero-container {
    grid-template-columns: repeat(2, 1fr);
    padding: 5rem 0;
  }

  .hero-image-container {
    min-height: 400px;
  }
}

@media (min-width: 1024px) {
  .hero-image-container {
    min-height: 450px;
  }
}

/* Efek hover subtle untuk hero image */
.hero-image-container {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Doctors section */
.doctors-section {
  padding: 3.5rem 0;
}

.doctors-grid {
  display: grid;
  gap: 1rem;
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.doctor-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.doctor-image {
  aspect-ratio: 4/3;
  position: relative;
}

/* Doctor Image Container dengan Background */
.doctor-image-container {
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Overlay untuk doctor image */
.doctor-image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
  z-index: 1;
}

/* Doctor Image Placeholder */
.doctor-image-placeholder {
  height: 100%;
  width: 100%;
  background: linear-gradient(45deg, #f8fafc, #f1f5f9);
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
  color: var(--color-primary);
}

.doctor-image-placeholder svg {
  height: 3rem;
  width: 3rem;
  margin-bottom: 0.5rem;
}

.doctor-image-placeholder p {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.doctor-info {
  padding: 1.25rem;
}

.doctor-name {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.doctor-specialty {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
}

.doctor-schedule {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 0.75rem;
}

.doctor-schedule svg {
  flex-shrink: 0;
}

.btn-full {
  width: 100%;
  margin-top: 1rem;
}

/* Responsive adjustments untuk doctors section */
@media (min-width: 768px) {
  .doctors-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .doctor-image-container {
    min-height: 250px;
  }
}

@media (min-width: 1024px) {
  .doctor-image-container {
    min-height: 280px;
  }
}

/* ===== NAVBAR BRAND & LOGO STYLES ===== */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Custom logo styling */
.custom-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.custom-logo {
  height: 2.25rem; /* Sama dengan brand-logo */
  width: auto; /* Maintain aspect ratio */
  max-width: 2.25rem; /* Maksimal lebar sama dengan tinggi */
  object-fit: contain;
  border-radius: 0.75rem;
}

/* Fallback logo jika tidak ada custom logo */
.brand-logo {
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 0.75rem;
  background-color: var(--color-primary);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  font-weight: 600;
  letter-spacing: 0.025em;
  color: var(--color-text);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.2;
  margin: 0;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--color-text-light);
  line-height: 1.2;
  margin: 0;
}

/* ===== RESPONSIVE STYLES ===== */
@media (min-width: 768px) {
  .brand-title {
    font-size: inherit;
  }

  .brand-subtitle {
    font-size: 0.75rem;
  }

  /* Logo sedikit lebih besar di tablet/desktop */
  .custom-logo {
    height: 2.5rem;
    max-width: 2.5rem;
  }

  .brand-logo {
    height: 2.5rem;
    width: 2.5rem;
  }
}

/* Untuk layar sangat kecil, sembunyikan subtitle */
@media (max-width: 380px) {
  .brand-subtitle {
    display: none;
  }

  .brand-title {
    font-size: 0.9rem;
  }

  .custom-logo {
    height: 2rem;
    max-width: 2rem;
  }
}

/* Services section icons */
.service-icon {
  border-radius: var(--radius);
  padding: 0.5rem;
  background-color: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

.service-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* Specific adjustment for heart-pulse icon */
.service-icon .icon-heart-pulse {
  width: 1.1rem; /* Sedikit lebih kecil agar proporsional */
  height: 1.1rem;
}

/* Pastikan semua icon memiliki ukuran yang konsisten */
.service-icon .icon-baby,
.service-icon .icon-stethoscope,
.service-icon .icon-shield-check {
  width: 1.25rem;
  height: 1.25rem;
}

/* Facilities section */
.facilities-section {
  padding: 3.5rem 0;
}

.facilities-grid {
  display: grid;
  gap: 1rem;
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.facility-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.facility-image {
  aspect-ratio: 16/9;
  position: relative;
}

/* Facility Image Container dengan Background */
.facility-image-container {
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Overlay untuk facility image */
.facility-image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
  z-index: 1;
}

/* Facility Image Placeholder */
.facility-image-placeholder {
  height: 100%;
  width: 100%;
  background: linear-gradient(45deg, #f8fafc, #f1f5f9);
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
  color: var(--color-primary);
}

.facility-image-placeholder svg {
  height: 2.5rem;
  width: 2.5rem;
  margin-bottom: 0.5rem;
}

.facility-image-placeholder p {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.facility-info {
  padding: 1.25rem;
}

.facility-name {
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.facility-desc {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* Responsive adjustments untuk facilities section */
@media (min-width: 768px) {
  .facilities-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .facility-image-container {
    min-height: 180px;
  }
}

@media (min-width: 1024px) {
  .facility-image-container {
    min-height: 200px;
  }
}


/* Badge dengan Icon/Logo - FIX ALIGNMENT */
.badge-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f1f5f9;
    color: var(--color-text);
    border-radius: var(--radius);
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    line-height: 1;
    vertical-align: middle;
}

/* Container untuk logo dengan alignment yang tepat */
.badge-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    line-height: 1;
}

.badge-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.badge-icon {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
    flex-shrink: 0;
    display: block;
}

.badge {
    background: none;
    color: inherit;
    padding: 0;
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1;
    display: flex;
    align-items: center;
}

/* Hover effect */
.badge-with-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .badge-with-icon {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }
    
    .badge-logo-container {
        width: 14px;
        height: 14px;
    }
    
    .badge-icon {
        width: 14px;
        height: 14px;
    }
}



/* ===== DOCTORS PAGE STYLES ===== */
.doctors-page-section {
    padding: 0 0 2rem 0;
}

.page-header {
    background: linear-gradient(135deg, var(--color-primary-soft) 0%, #f8fafc 100%);
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header-content {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.doctors-page-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Filter Styles */
.specialty-filter {
    margin-bottom: 3rem;
    text-align: center;
}

.specialty-filter h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--color-border);
    background: white;
    color: var(--color-text);
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* Specialty Section */
.specialty-section {
    margin-bottom: 4rem;
}

.specialty-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.specialty-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.specialty-header p {
    font-size: 1.125rem;
    color: var(--color-text-light);
}

/* Doctors Grid Page - SAMA DENGAN HOMEPAGE */
.doctors-grid-page {
    display: grid;
    gap: 1rem;
    max-width: 80rem;
    margin: 0 auto;
}

/* Doctor Card Page - SAMA DENGAN HOMEPAGE */
.doctor-card-page {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.doctor-card-page:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.doctor-image-page {
    aspect-ratio: 4/3;
    position: relative;
}

.doctor-image-container-page {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.doctor-image-container-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
}

.doctor-image-placeholder-page {
    height: 100%;
    width: 100%;
    background: linear-gradient(45deg, #f8fafc, #f1f5f9);
    display: grid;
    place-items: center;
    padding: 1.5rem;
    text-align: center;
    color: var(--color-primary);
}

.doctor-image-placeholder-page svg {
    height: 2.5rem;
    width: 2.5rem;
    margin-bottom: 0.5rem;
}

.doctor-image-placeholder-page p {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.doctor-info-page {
    padding: 1.25rem;
}

.doctor-name-page {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--color-text);
}

.doctor-specialty-page {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
}

.doctor-schedule-page {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-top: 0.75rem;
}

.doctor-schedule-page svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.appointment-button-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    width: 100%;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.appointment-button-page svg {
    width: 14px;
    height: 14px;
}

/* Responsive Grid - SAMA DENGAN HOMEPAGE */
@media (min-width: 768px) {
    .doctors-grid-page {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .doctor-image-container-page {
        min-height: 250px;
    }
}

@media (min-width: 1024px) {
    .doctor-image-container-page {
        min-height: 280px;
    }
}

@media (max-width: 767px) {
    .doctors-grid-page {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: 2rem 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .filter-btn {
        white-space: nowrap;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* Fallback message jika tidak ada dokter */
.no-doctors-message {
    text-align: center;
    padding: 3rem 1rem;
    background: #f8fafc;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}

.no-doctors-message h3 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.no-doctors-message p {
    color: var(--color-text-light);
    font-size: 1rem;
}



/* FIX: Hero Actions Clickable */
.hero-actions {
    position: relative;
    z-index: 20;
}

.hero-actions .btn {
    position: relative;
    z-index: 21;
    pointer-events: auto !important;
}

/* Pastikan tidak ada element yang menutupi */
.hero-content {
    position: relative;
    z-index: 15;
}

/* Fix untuk background blur yang mungkin menutupi */
.hero-background {
    z-index: 1;
}

.bg-blur-circle {
    z-index: 1;
}