/* GLOBAL */
body {
  font-family: 'Poppins', sans-serif;
  background: #f5f7f6;
  color: #333;
  background: linear-gradient(
        135deg,
        #216a23 0%,
        #c7dbcf 7%,
        #ffffff 100%
    );
}

#wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#wrap .content {
  flex: 1;
}

/* DEFAULT TEXT */
p, .service-detail p, .info-text p {
  text-align: justify;
}

/* EXCEPTION */
.tagline-content,
.tagline-content p,
#owl-demo2 p {
  text-align: center;
}

/* header */
/* TOP BAR */
.top-bar {
  background: linear-gradient(
    180deg,
    rgba(5, 76, 36, 0.8) 80%,
    rgba(121, 114, 25, 0.9) 98%
  );
  padding: 8px 0;
  color: white;
  position: relative;
  z-index: 102;
}

.top-bar .get-touch li {
  white-space: nowrap;
}

/* Header transparan di bawah top bar */
.header-transparent {
  position: absolute;
  top: 40px; 
  left: 0;
  width: 100%;
  z-index: 101;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.sub-banner {
  position: relative;
  padding-top: 150px;
}
.header-scrolled {
  position: fixed;
  top: 0;
}


/* HERO / BANNER */
.hero {
  position: relative;
}
.hero img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.6),
    rgba(255,255,255,0.9)
  );
}

/* SCHEDULE FLOAT BOX */
.schedule-box {
  position: absolute;
  right: 50px;
  top: 120px;
  background: #f39c12;
  color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  font-size: 14px;
}

/* INTRO SECTION */
.intro-section {
  background: linear-gradient(90deg, #cfe1d8 0%, #eef5f2 100%);
  padding: 5px 0 5px;
}

.intro-box {
  min-height: 320px;
  display: flex;
  align-items: center;
}

.intro-section .col-md-6 {
  display: flex;
  align-items: center;
}

/* GAMBAR KIRI */
.intro-section .col-md-6:first-child {
  justify-content: center;
}

.intro-3d {
  width: auto;
  max-height: 500px;
  object-fit: contain;
  transform: translateY(15px);
}

/* TEXT KANAN */
.intro-section .col-md-6:last-child {
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center !important;
  margin-top: 0 !important;
}

.small-title {
  font-size: 24px;
  font-weight: 700;
  color: #063d28;
  line-height: 1;
}

.intro-box h1 {
  font-size: 39px;
  font-weight: 800;
  color: #063d28;
  margin: 0 0 45px;
  line-height: 1.1;
}

.intro-box p {
  max-width: 430px;
  font-size: 16px;
  line-height: 1.35;
  color: #111;
  margin: 0 auto 35px;
  text-align: center;
}

/*  BASE BUTTON STYLE */
.btn-main {
  background: #f39a10 !important;
  color: #fff !important;
  border-radius: 8px;
  padding: 13px 34px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  box-shadow: 0 4px 0 #a66a10;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  position: relative;
  top: 0;
}

.btn-light-custom {
  background: #fff !important;
  color: #111 !important;
  border-radius: 8px;
  padding: 13px 34px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* DINAMIS - HOVER EFFECT */
.btn-main:hover {
  background: #e08808 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #b86f05;
}

.btn-main:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #b86f05;
}

.btn-light-custom:hover {
  background: #f5f5f5 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn-light-custom:active {
  transform: translateY(1px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* DINAMIS - FOCUS EFFECT */
.btn-main:focus,
.btn-light-custom:focus {
  outline: none;
  box-shadow: 0 0 0 2px #f39a10, 0 0 0 4px rgba(243, 154, 16, 0.25);
}

/* DINAMIS - DISABLED STATE */
.btn-main:disabled,
.btn-light-custom:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/*  FLEXIBILITY - GROUP BUTTON */
.btn-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-group .btn-main,
.btn-group .btn-light-custom {
  flex: 0 1 auto;
}

/* TAGLINE */
.tagline-box {
  font-family: 'Merriweather', sans-serif;
  position: relative;
  width: 100%;
  min-height: 260px;
  border-radius: 30px;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.tagline-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(47,125,107,0.75),
    rgba(47,125,107,0.85)
  );
  z-index: 1;
}

/* CONTENT */
.tagline-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.tagline-content h2 {
  font-size: 34px;
  font-weight: 600;
  margin: 18px 0;
  color: #fff;
}

/* GARIS KUNING */
.tagline-line {
  width: 70px;
  height: 4px;
  background: #f39c12;
  margin: 0 auto;
  border-radius: 2px;
}

/* QUOTE BESAR */
.quote-mark {
  position: absolute;
  font-size: 150px;
  color: rgba(0,0,0,0.25);
  font-weight: 900;
  z-index: 2;
  line-height: 1;
}

.quote-left {
  top: 10px;
  left: 25px;
}

.quote-right {
  bottom: 0;
  right: 35px;
}

/* VISI MISI NILAI */
.patients-testi,
.dark-testi {
    background: none !important;
    overflow: hidden;
}

#testimonials .container {
    max-width: 100%;
    width: 100%;
}

#owl-demo2 {
    width: 100%;
    max-width: 100%;
}

#owl-demo2 .owl-wrapper-outer {
    overflow: hidden;
}
#owl-demo2 .owl-item {
    padding: 0;
}


#owl-demo2 .owl-wrapper-outer {
    overflow: hidden !important;
    width: 100% !important;
}

#owl-demo2 {
    width: 100%;
    max-width: 100%;
}

#owl-demo2 .testi-sec {
    width: 100%;
    margin: 0;
}

/* CARD UTAMA */
#owl-demo2 .testi-sec {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;

    padding: 60px 80px;
    text-align: center;

    background:
        linear-gradient(rgba(47,125,107,0.85), rgba(47,125,107,0.9)),
        url('<?= htmlspecialchars($bannerUrl); ?>') center/cover no-repeat;

    min-height: 320px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* JUDUL */
#owl-demo2 .name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff !important;
}

/* TEXT */
#owl-demo2 p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,0.9) !important;
    max-width: 750px;
    margin: 0 auto;
}

.height10,
.height30,
.height35 {
    display: none;
}

#owl-demo2 .owl-pagination {
    margin-top: 20px;
    text-align: center;
}

#owl-demo2 .owl-page span {
    width: 30px;
    height: 4px;
    background: #ccc;
    display: inline-block;
    margin: 0 4px;
    border-radius: 2px;
}

#owl-demo2 .owl-page.active span {
    background: #2f7d6b;
}

/* SERVICES / LAYANAN */

.services-section {
  position: relative;
  padding: 70px 0 100px;
  /* background: #dfe9e4; */
  overflow: hidden;
}

/* GRID UTAMA */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px; 
  max-width: 100%;
  padding: 0 60px;
  margin: 0 auto;
}

/* COLUMN */
.service-col {
  width: calc(50% - 15px); 
}

/* CARD */
.service-card {
  width: 100%;
  min-height: 150px;
  background: rgba(255,255,255,0.7);
  border-radius: 18px;
  padding: 26px 28px;

  display: flex;
  gap: 20px;

  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  backdrop-filter: blur(6px);

  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

/* ICON */
.service-icon {
  width: 65px;
  height: 65px;
  min-width: 52px;

  background: #d8f6f1;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon i {
  font-size: 28px;
  color: #2db9ad !important;
}

/* TEXT */
.service-detail h5 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #123c34;
}

.service-detail p {
  font-size: 16px;
  line-height: 1.6;
  color: #35544d;
  text-align: justify;
}

/* LABEL */
.section-label {
  width: fit-content;
  margin: 0 auto 45px;

  background: #fff;
  padding: 10px 32px;
  border-radius: 20px;

  font-weight: 600;
  font-size: 14px;

  box-shadow: 0 8px 0 rgba(33,110,88,0.25),
              0 10px 20px rgba(0,0,0,0.1);
}

/* 3D IMAGE */
.doctor-left,
.doctor-right {
  position: absolute;
  bottom: 0;
  display: block;
  object-fit: contain;
}

/* kiri */
.doctor-left {
  left: 0;
  transform: translateX(-40%);
  max-height: clamp(140px, 25vw, 320px);
}

/* kanan */
.doctor-right {
  right: 0;
  transform: translateX(40%);
  max-height: clamp(160px, 28vw, 380px);
}

.services-section {
  position: relative;
  overflow: hidden;
}

.services-grid {
  padding: 0 100px;
}

.service-card {
  position: relative;
  z-index: 2;
}

.doctor-left,
.doctor-right {
  position: absolute;
  bottom: 0;
  z-index: 3;
  pointer-events: none;
}

.doctor-left {
  left: 0;
}

.doctor-right {
  right: 0;
}

/* garis strip */
.stripe-divider {
  margin-top: -10px;
  width: 100%;
  height: 50px;

  background:
    repeating-linear-gradient(
      to right,
      rgba(255,255,255,0.7) 0px,
      rgba(255,255,255,0.7) 16px,
      rgba(255,255,255,0.2) 16px,
      rgba(255,255,255,0.2) 32px
    );

  background-color: #dfe9e4;

  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 30%,
    black 70%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 30%,
    black 70%,
    transparent 100%
  );
}

/* content tentang */
.content {
  z-index: 102;
}

/* ======================
   CONTENT + INFORMASI
====================== */

/* .content-section {
  background: transparent;
  padding: 60px 0 20px;
}

.content-card {
  width: 680px;
  max-width: 80%;
  height: auto;
  margin: 0 auto 20px;

  background: #ffffff;
  border-radius: 32px;
  padding: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    0 18px 35px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255,255,255,0.4);
}
.content-card img {
   width: 100%;
  max-height: 420px;
  object-fit: contain;
  border: none;
  border-radius: 12px;
}
.content-card video,
.content-card iframe {
  width: 98%;
  max-height: 420px;
  aspect-ratio: 9 / 16;
  border: none;
  border-radius: 12px;
}

.content-card video {
  background: #000;
}

.content-card iframe {
  min-height: 420px;
} */

.content-section { 
  background: transparent; 
  padding: 60px 0 20px; 
}

/* GRID CONTENT */
.content-grid {
  width: min(1200px, calc(100vw - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

/* Kalau cuma 1 content, taruh di tengah */
.content-grid:has(.content-card:only-child) {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

/* CONTENT CARD */
.content-card {
  width: 100%;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 12px;
  box-sizing: border-box;

  background: #ffffff;
  border-radius: 32px;
  box-shadow:
    0 18px 35px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255,255,255,0.4);

  display: flex;
  align-items: center;
  justify-content: center;
}

.content-grid:has(.content-card:only-child) .content-card {
  max-width: 1200px;
  height: 600px;
}

/* MEDIA UMUM */
.content-card img,
.content-card video,
.content-card iframe {
  width: 100%;
  border: none;
  border-radius: 12px;
}

/* IMAGE */
.content-card img {
  height: auto;
  max-height: 420px;
  object-fit: contain;
}

/* VIDEO */
.content-card video {
  height: auto;
  max-height: 420px;
  object-fit: contain;
  background: #000;
}

/* IFRAME / PDF */
.content-card iframe {
  height: 420px;
  min-height: 420px;
}

.content-grid:has(.content-card:only-child) .content-card iframe {
  height: 550px;
}

/* KATALOG CARD */
.katalog-card {
  width: 1200px;
  max-width: 90%;
  min-height: 360px;
  margin: 25px auto 120px;
  padding: 42px;

  background: #fff;
  border-radius: 32px;
  box-shadow:
    0 18px 35px rgba(0,0,0,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.4);

  overflow: hidden;
}

.iframe-responsive {
  width: 100%;
  height: 600px;
  overflow: auto;
}

.iframe-responsive iframe {
  width: 1100px;
  max-width: 100%;
  height: 600px;
  border: none;
  border-radius: 20px;
  display: block;
  margin: 0 auto;
}

/* INFORMASI */
.info-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.info-box {
  width: 100%;
  margin-bottom: 20px;

  display: flex;
  align-items: flex-start;
  gap: 25px;

  padding: 0;
}

.info-box + .info-box {
  border-top: 5px solid rgba(0,0,0,0.08);
  padding-top: 30px;
}

.info-image {
  flex: 0 0 180px;
}

.info-image img {
  width: 180px;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

.info-text {
  flex: 1;
}

.info-text h5 {
  font-size: 25px;
  font-weight: 800;
  color: #0b3b2c;
  margin-bottom: 12px;
}

.info-text p {
  font-size: 18px;
  line-height: 1.7;
  color: #243c36;
  margin: 0;
  text-align: justify;
}

/* FOOTER */
.main-footer {
  position: relative;
  background: #216a23;
  color: #ffffff;

  min-height: 350px;
/*   
  margin-top: 30px;
  padding-top: 100px; */

  text-align: center;

  border-top-left-radius: 50% 400px;
border-top-right-radius: 50% 400px;
/* 
  box-shadow: 0 -12px 28px rgba(120, 85, 35, 0.35); */
  overflow: hidden;

  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10px;

  margin-top: -60px;

  box-shadow: 0px -15px 30px rgba(35, 101, 38, 0.8);
}

.main-footer::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);

  width: 115%;
  height: 120px;

  background: radial-gradient(
    ellipse at center,
    rgba(35, 101, 38, 0.75) 0%,
    rgba(35, 101, 38, 0.45) 45%,
    transparent 75%
  );

  filter: blur(25px);
  border-top-left-radius: 50% 400px;
  border-top-right-radius: 50% 400px;
  z-index: 0;
}

.main-footer .container {
  position: relative;
  z-index: 2;
}

.emergency {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  margin-top: 90px;
}

.emergency i {
  display: block;
  font-size: 42px;
  line-height: 1;
  margin-bottom: 22px;
  color: #ffffff;
}

.emergency .text {
  display: block;
  margin-bottom: 18px;

  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #ffffff;
}

.emergency .number {
  display: block;

  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
}

.footer-bottom {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 1) 61%,
    rgba(7, 30, 18, 1) 79%,
    rgba(15, 61, 37, 1) 98%
  );
  color: #aaa;
  padding: 15px 0;
  font-size: 14px;
}

.footer-bottom .social-icons a {
  margin-left: 10px;
  color: #aaa;
}
.footer-bottom .social-icons a:hover {
  color: #fff;
}

/* sejarah */
.sejarah-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Banner atas */
.sejarah-banner img {
    width: 100%;
    max-height: 300px;
    border-radius: 20px 20px 0 0;
    object-fit: cover;
    opacity: 0.8;
}

/* Card abu */
.sejarah-card {
    background: rgba(255, 255, 255, 0.5);
    padding: 25px;
    border-radius: 0 0 20px 20px;
}

/* Item sejarah */
.sejarah-item h4 {
    font-weight: bold;
    margin-bottom: 5px;
}

.sejarah-item p {
    margin-bottom: 10px;
    font-size: 15px;
    color: #333;
}

/* Garis */
.sejarah-card hr {
    border: none;
    border-top: 2px solid #ccc;
    margin: 5px 0 15px;
}

/* kontak kami */
.leave-msg.dark-back {
    background: radial-gradient(
    circle,
    rgba(200, 243, 202, 0.5),
    rgba(35, 101, 38, 0.7)
);
    padding: 40px 0;
}

/* Box isi */
.contact-box {
    color: #222;
    font-size: 18px;
    line-height: 1.7;
}

/* Jarak antar teks */
.contact-box p {
    margin-bottom: 12px;
}

/* Bold label */
.contact-box b {
    font-weight: 700;
}

/* Link email */
.contact-box a {
    color: #000;
    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* download */
.download-section {
  padding: 40px 0 60px;
}

.download-section h5 {
  font-size: 22px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 24px;
}

.download-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.download-item {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  padding: 14px 24px;
  text-decoration: none;
  color: #2c3e50;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  width: auto;
}

.download-item:hover {
  background: #f5f5f5;
  border-color: #bbb;
  color: #2c3e50;
  text-decoration: none;
}

/* modal gambar */
.img-modal {
  display: none;
  position: fixed;
  z-index: 999999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(25, 151, 88, 0.3);
  justify-content: center;
  align-items: center;
}

.img-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  animation: zoomIn 0.3s ease;
  object-fit: contain;
}

@keyframes zoomIn {
  from {transform: scale(0.8); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

.img-modal .close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #df2121;
  font-size: 55px;
  cursor: pointer;
  z-index: 9999999;
}

.img-modal .close {
  position: absolute;
  top: clamp(16px, 4vw, 30px);
  right: clamp(16px, 4vw, 30px);

  width: clamp(36px, 8vw, 50px);
  height: clamp(36px, 8vw, 50px);

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: clamp(20px, 5vw, 32px);
  font-weight: bold;

  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  cursor: pointer;

  transition: 0.2s ease;
}