/**
* Template Name: Medilab
* Template URL: https://bootstrapmade.com/medilab-free-medical-bootstrap-theme/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Poppins",  sans-serif;
  --nav-font: "Raleway",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: var(--primary-color, #2c4964); /* Color for headings, subheadings and title throughout the website */
  --accent-color: var(--accent-color, #0d979f); /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #2c4964;  /* The default color of the main navmenu links */
  --nav-hover-color: var(--primary-color, #1977cc); /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #2c4964; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #1977cc; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f1f7fc;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
  background-color: var(--background-color);
}

.header .topbar {
  background-color: var(--accent-color);
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
}

.header .topbar .contact-info i {
  font-style: normal;
  color: var(--contrast-color);
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
  color: var(--contrast-color);
}

@media (max-width: 575px) {

  .header .topbar .contact-info i a,
  .header .topbar .contact-info i span {
    font-size: 13px;
  }
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

.header .topbar .contact-info i a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}

.header .topbar .social-links a {
  color: color-mix(in srgb, var(--contrast-color), transparent 40%);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

.header .topbar .social-links a:hover {
  color: var(--contrast-color);
}

.header .branding {
  min-height: 60px;
  padding: 10px 0;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 70px;
  margin-right: 10px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .cta-btn {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.scrolled .header .topbar {
  height: 0;
  visibility: hidden;
  overflow: hidden;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
/* Palette Warna Mantis */
:root {
    --mantis-primary: #13c2c2; /* Teal primary */
    --mantis-dark-bg: var(--accent-color); /* Warna hijau sangat tua khas Mantis */
    --mantis-text-muted: rgba(255, 255, 255, 0.65);
}

.mantis-footer {
    background-color: var(--mantis-dark-bg);
    color: var(--mantis-text-muted);
    font-family: 'Public Sans', sans-serif; /* Font default Mantis */
    padding-top: 80px;
}

/* Judul Kolom */
.mantis-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Link Styling */
.footer-links ul li {
    padding: 8px 0;
    transition: all 0.3s ease;
}

.footer-links ul li a {
    color: var(--mantis-text-muted);
    text-decoration: none;
    font-size: 14px;
}

.footer-links ul li a:hover {
    color: var(--mantis-primary);
    padding-left: 8px;
}

/* Social Icons Mantis Style */
.mantis-social-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px; /* Rounded corner khas Mantis */
    color: white;
    margin-right: 12px;
    transition: 0.3s;
}

.mantis-social-icon:hover {
    background: var(--mantis-primary);
    border-color: var(--mantis-primary);
    transform: translateY(-3px);
}

/* Emergency Box */
.phone-number {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0;
}

.status-badge {
    font-size: 12px;
    color: var(--mantis-primary);
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
}

.status-badge .dot {
    height: 8px;
    width: 8px;
    background-color: var(--mantis-primary);
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* WhatsApp Button Mantis */
.btn-mantis-wa {
    background: #25d366;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
    transition: 0.3s;
}

.btn-mantis-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

/* Footer Bottom */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--accent-color), transparent 94%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 72px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 60px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
/* Menghilangkan padding/margin default jika ada dari section hero */
/* Container Utama Hero */
.hero {
    width: 100%;
    height: 100vh; /* Full screen */
    position: relative;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

#heroCarousel, .carousel-inner, .carousel-item {
    height: 100%;
}

/* Image Layer */
.hero-img-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 0.5s ease;
}

/* Overlay Gelap agar konten teks menonjol */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 100, 80, 0.7), rgba(0, 0, 0, 0.2));
    z-index: 2;
}

/* Penyesuaian Mobile */
@media (max-width: 768px) {
    .hero {
        height: 70vh; /* Di mobile jangan terlalu tinggi agar user tahu ada konten di bawah */
    }
    
    .hero-img-container {
        background-position: top center; /* Fokus ke gedung bagian atas di mobile */
    }
}

/* Efek Zoom Halus (Opsional agar lebih dinamis) */
.carousel-item.active .hero-img-container {
    animation: kenburns 10s infinite alternate;
}

@keyframes kenburns {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

/*--------------------------------------------------------------
# Info Kamar & Pengumuman Section
--------------------------------------------------------------*/

/* Menghilangkan garis batas section */
#info-terbaru {
    border: none !important;
}

/* Kamar Card Effect */
.kamar-card {
    transition: transform 0.3s ease;
}

.kamar-card:hover {
    transform: translateY(-5px);
}

.kamar-card .img-wrapper img {
    aspect-ratio: 1/1.2;
    object-fit: cover;
}

/* Tombol Panah Lingkaran */
.btn-circle-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #e6f7f7;
    color: #13c2c2;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
}

.btn-circle-arrow:hover {
    background: #13c2c2;
    color: #fff;
}

/* Button Utama Mantis */
.btn-mantis-primary {
    background: #004d40;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
    border: none;
}

.btn-mantis-primary:hover {
    background: #00695c;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 77, 64, 0.2);
}

/* List Pengumuman Tweak */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bg-soft-info {
    background-color: #e6f7ff;
}

.announcement-item {
    transition: 0.3s;
    border: 1px solid transparent;
}

.announcement-item:hover {
    border-color: #13c2c2;
    transform: scale(1.02);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.visit-card-horizontal {
    background: #eef7fd; /* Warna biru pucat lembut sesuai gambar */
    border-radius: 20px; /* Sudut tumpul halus */
    border: 1px solid #d1e9f9;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    min-height: 140px; /* Mengatur tinggi agar tidak terlalu tipis */
    cursor: pointer;
}

/* Efek Timbul saat Kursor Mendekat */
.visit-card-horizontal:hover {
    transform: translateY(-8px);
    background: #ffffff; /* Berubah jadi putih bersih saat di-hover */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: #0d6efd;
}

/* Responsif untuk layar HP */
@media (max-width: 768px) {
    .visit-card-horizontal h2 {
        font-size: 1.5rem !important;
    }
    .visit-card-horizontal {
        min-height: 110px;
    }
}

/*--------------------------------------------------------------
# Video Section
--------------------------------------------------------------*/
/* Penataan Section Video */
/* Container Video */
.video-card-mantis {
    background: transparent;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 15px;
}

.video-card-mantis:hover {
    transform: translateY(-8px);
}

/* Wrapper Video untuk Sudut Membulat */
.video-thumb-wrapper {
    overflow: hidden;
    border-radius: 12px;
    border: 3px solid #ffffff;
}

.video-thumb-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Judul Video */
.video-title-mantis {
    font-size: 1rem;
    font-weight: 700;
    color: #334155;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Batasi 2 baris agar rapi */
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

/* Badge Soft Style */
.bg-soft-primary {
    background-color: #e0f2fe;
    border-radius: 6px;
    font-size: 0.75rem;
}

/* Garis Aksen Judul (Jika ingin konsisten dengan bagian akreditasi) */
.section-title h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #0ea5e9;
    margin-top: 10px;
    border-radius: 2px;
}

/*--------------------------------------------------------------
# Pelayanan Section
--------------------------------------------------------------*/
/* Container Utama */
.swiper-pelayanan {
  padding: 20px 10px 50px 10px !important;
  overflow: visible !important;
}

/* Container Item */
.pelayanan-item {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%; /* Memastikan tinggi card di swiper sama semua */
    background: #fff;
    border-radius: 15px; /* Border radius lebih lembut sesuai gambar */
    overflow: hidden;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

/* Gambar */
.pelayanan-item .pic {
    width: 100%;
    height: 200px; /* Kunci tinggi gambar */
    overflow: hidden;
}

.pelayanan-item .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Logo di Tengah */
.logo-overlay {
    position: absolute;
    top: 200px; /* Sama dengan tinggi .pic */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55px;
    height: 55px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
    z-index: 5;
}

.logo-overlay img {
    width: 70%;
}

/* Konten Teks */
.pelayanan-info {
    padding: 40px 20px 25px 20px;
    text-align: center;
    flex-grow: 1; /* Mengisi ruang kosong agar dasar card sejajar */
    display: flex;
    flex-direction: column;
}

.pelayanan-info .title {
    color: #20a785; /* Hijau sesuai gambar */
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    min-height: 2.8rem; /* Kunci tinggi judul agar sejajar jika ada 2 baris */
}

/* Pembatas Teks (Auto ....) */
.text-truncate-custom {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Tampilkan maksimal 3 baris teks */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
    color: #777;
    line-height: 1.6;
}

/*--------------------------------------------------------------
# Kontak Section
--------------------------------------------------------------*/
/* Contact Section Styles */
.icon-square {
    width: 48px;
    height: 48px;
    background: #e6f7ff;
    color: #1890ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.3s ease;
}

.hover-effect:hover {
    background: #f0f5ff;
    transform: translateX(10px);
    transition: 0.3s ease;
}

.hover-effect:hover .icon-square {
    background: #1890ff;
    color: #fff;
    transform: rotate(10deg);
}

/*--------------------------------------------------------------
# Mitra Section
--------------------------------------------------------------*/
/* Section Mitra */
/* Styling Judul Mitra */
.mitra-title {
  margin-bottom: 30px;
}

.mitra-title h2 {
  color: #1a5e3a; /* Hijau Muhammadiyah */
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Garis di bawah judul sesuai gambar */
.title-line {
  width: 100px;
  height: 4px;
  background-color: #2fb5ad; /* Warna teal/cyan sesuai gambar */
  margin: 0 auto;
  position: relative;
}

.title-line::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 1px;
  background-color: #ddd;
  top: 50%;
  left: -25px;
  z-index: -1;
}

/* Penyesuaian Slider Logo */
.mitra .swiper-mitra {
  padding-bottom: 50px;
}

.mitra-item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.mitra-item img {
  max-width: 250px; /* Ukuran logo lebih proporsional */
  height: auto;
  opacity: 0.9;
  transition: 0.3s;
}

/* Kustomisasi Dots Slider agar rapat ke tengah */
.mitra .swiper-pagination {
  bottom: 0 !important;
}

.mitra .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  margin: 0 4px !important;
}

.mitra .swiper-pagination-bullet-active {
  background-color: #e67e22 !important; /* Warna oranye */
  width: 10px;
  border-radius: 5px;
}

/* Konten Welcome  */
/* Warna Custom & Utility */
.bg-light-success { background-color: #e8f5e9; }
.tracking-widest { letter-spacing: 0.15em; }
.text-gradient {
    background: linear-gradient(45deg, #2e7d32, #66bb6a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Icon Box */
.welcome-icon-box {
    width: 70px;
    height: 70px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: rotate(-5deg);
    border: 1px solid #f0f0f0;
}

/* Divider Custom */
.custom-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.custom-divider .line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #fd7e14, transparent);
    border-radius: 10px;
}
.custom-divider .dot {
    width: 8px;
    height: 8px;
    background: #fd7e14;
    border-radius: 50%;
    opacity: 0.5;
}

/* Background Pattern (Halus) */
.bg-pattern-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#2e7d32 0.5px, transparent 0.5px);
    background-size: 20px 20px;
    opacity: 0.03;
    z-index: 0;
}

/* Section Wave (Pembatas ke Konten Bawah) */
.section-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}
.section-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}
.section-wave .shape-fill {
    fill: #f8f9fa; /* Warna ini harus sama dengan background section di bawahnya */
}


/* Pembates Konten Welcome */

/*--------------------------------------------------------------
# Doctors Section
--------------------------------------------------------------*/
/* ==========================================================================
   CSS DOKTER SPESIALIS (Equal Height & Width)
   ========================================================================== */
/* Background Hijau Melengkung di Belakang */
.doctor-bg-decorator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 480px; /* Tinggi area hijau */
    background: var(--accent-color);
    clip-path: ellipse(120% 80% at 50% 20%); /* Membuat lengkungan dinamis */
    z-index: 0;
}

/* Memastikan konten berada di atas background */
.doctors .container {
    z-index: 1;
}


/* --- 1. Swiper & Slide Configuration --- */
.swiper-doctors .swiper-wrapper {
    display: flex;
    align-items: flex-start !important; /* Kunci agar semua slide tingginya mengikuti yang tertinggi */
    /* align-items: stretch !important; */
}

.swiper-doctors .swiper-slide {
    height: auto; 
    display: flex; 
    justify-content: center;
}

/* --- 2. Team Member Card --- */
.doctors .team-member {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    padding: 24px !important;
    width: 100%;         
    height: 100%;        /* Memaksa kartu setinggi slide swiper */
    display: flex;
    flex-direction: column; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease-in-out;
}

.doctors .team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* --- 3. Content Logic --- */

.card-content {
    flex-grow: 1; /* Mengisi ruang kosong agar tombol terdorong ke bawah */
}

.doctors .pic img {
    width: 90px;
    height: 90px;
    object-fit: cover; /* Foto tetap bulat sempurna */
    border-radius: 50%;
    border: 3px solid #f8f9fa;
}

/* --- 4. Typography --- */
.doctors .member-info h6 {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.doctors .member-info a {
    font-size: 12px;
    font-weight: 700;
    color: #333;
}

.doctors .speciality-label {
    color: #198754 !important; /* Warna hijau success */
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.doctors .speciality-name {
    font-size: 10px;
    color: #6c757d;
}

.doctors .btn-schedule {
    font-size: 12px !important; 
    padding: 8px 0;            
    color: #444;                
}

/* FILTER BOX */
.filter-box {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.search-input {
    flex: 1;
    min-width: 200px;
}

.filter-select {
    width: 200px;
}

.btn-reset {
    border: 1px solid #ddd;
    background: #f9f9f9;
}

/* CHIP */
.filter-chip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    padding: 6px 12px;
    border-radius: 20px;
    background: #f1f1f1;
    font-size: 12px;
    cursor: pointer;
}

.chip.active {
    background: #0d9488;
    color: white;
}

/* Container Background Biru di belakang foto */
.doctor-bg-container {
    background-color: #00469b; /* Warna biru sesuai gambar */
    min-height: 300px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

/* Gambar Dokter */
.doctor-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 1;
}

/* Nama Dokter */
.profile-name {
    color: #002b49;
    font-size: 1.75rem;
}

/* Badge Orange/Emas */
.badge-speciality {
    background: linear-gradient(to right, #d49543, #b87b2e);
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Deskripsi Bio */
.doctor-bio {
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: justify;
}


/* --- 5. Action Buttons --- */
.action-buttons {
    margin-top: auto; /* Memaksa tombol sejajar di dasar kartu */
    display: flex;
    gap: 10px;
}

.action-buttons .btn {
    font-size: 12px;
    padding: 10px 5px;
    border-radius: 8px;
    flex: 1;
    background-color: #fbfbfb;
    border: 1px solid #ddd;
    color: #555;
    transition: 0.3s;
}

.action-buttons .btn:hover {
    background-color: #198754;
    color: #fff;
    border-color: #198754;
}

/* --- 6. Pagination Styling --- */
.swiper-pagination-bullet-active {
    background-color: #fd7e14 !important; /* Warna oranye aksen */
    width: 20px !important;
    border-radius: 5px !important;
}

/* --- 7. Responsive Mobile --- */
@media (max-width: 768px) {
    .doctors .team-member {
        padding: 20px !important;
    }
    .action-buttons .btn {
        font-size: 10px !important;
    }
    .doctors .member-info h6 {
        font-size: 13px;         /* Sedikit diperkecil agar lebih muat */
        max-width: 100%;         /* Pastikan tidak melebihi lebar induk */
    }
    
    /* Jika foto dan nama masih sejajar (flex), 
       pastikan container info dokter bisa mengecil */
    .member-info {
        min-width: 0;            /* Penting dalam flexbox agar teks bisa wrap */
        flex: 1;
    }
}

/*--------------------------------------------------------------
# Akreditasi & Prestasi Section
--------------------------------------------------------------*/
/* Dekorasi Judul sesuai Mantis UI */
.title-line-mantis {
    width: 100px;
    height: 4px;
    background: #1890ff; /* Biru Mantis */
    margin-top: 10px;
    border-radius: 2px;
}

/* Card Styling */
.akreditasi-card-mantis {
    padding: 20px;
    transition: all 0.4s ease;
    border-radius: 15px;
}

.akreditasi-card-mantis:hover {
    transform: translateY(-10px);
}

/* Logo Box */
.akred-logo-box {
    height: 180px; /* Area logo lebih luas sesuai gambar */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.akred-logo-box img {
    max-height: 140px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.akreditasi-card-mantis:hover .akred-logo-box img {
    transform: scale(1.05);
}

/* Deskripsi Teks */
.akred-description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #67748e !important;
    text-align: center;
    /* Memberikan batas tinggi agar sejajar jika teks berbeda panjang */
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Menghilangkan garis batas antar section */
#akreditasi.section {
    border-top: none !important;
    border-bottom: none !important;
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
/* Section Artikel */
.artikel .artikel-item {
  background: #fff;
  box-shadow: 0px 0 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin: 10px;
}

.artikel .artikel-item .post-img {
  overflow: hidden;
  position: relative;
  height: 220px;
}

.artikel .artikel-item .post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.artikel .artikel-item .post-content {
  padding: 30px;
}

.artikel .artikel-item .post-date {
  font-size: 14px;
  color: #666;
  display: block;
  margin-bottom: 10px;
}

.artikel .artikel-item .post-title {
  font-size: 18px;
  color: #1a5e3a; /* Hijau tema RS */
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
}

.artikel .artikel-item p {
  font-size: 14px;
  color: #444;
}

.artikel .artikel-item .readmore {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  color: #1a5e3a;
  text-decoration: none;
  transition: 0.3s;
}

.artikel .artikel-item .readmore i {
  margin-left: 8px;
}

.artikel .artikel-item:hover .post-img img {
  transform: scale(1.1);
}

/* Pagination Styling */
.artikel .swiper-pagination {
  margin-top: 30px;
  position: relative;
}

.artikel .swiper-pagination-bullet {
  background-color: #ddd;
  opacity: 1;
}

.artikel .swiper-pagination-bullet-active {
  background-color: #e67e22 !important; /* Warna oranye sesuai gambar */
}
/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/