/**
 * RSPR Company Profile V2 - Components
 * Topbar, Navbar, Hero, Footer, Floating Buttons
 * Date: December 2025
 */

/* ============================================
   GLOBAL BUTTON FIXES
   ============================================ */
button,
.btn,
.btn-selengkapnya,
.btn-selengkapnya-filled,
.info-tab,
.nav-link,
a.btn,
input[type="button"],
input[type="submit"],
button[type="submit"] {
  outline: none !important;
  box-shadow: none !important;
}

button:focus,
button:active,
button:focus-visible,
.btn:focus,
.btn:active,
.btn:focus-visible,
.btn-selengkapnya:focus,
.btn-selengkapnya:active,
.btn-selengkapnya:focus-visible,
.btn-selengkapnya-filled:focus,
.btn-selengkapnya-filled:active,
.btn-selengkapnya-filled:focus-visible,
.info-tab:focus,
.info-tab:active,
.info-tab:focus-visible,
.nav-link:focus,
.nav-link:active,
.nav-link:focus-visible,
input[type="button"]:focus,
input[type="button"]:active,
input[type="submit"]:focus,
input[type="submit"]:active,
button[type="submit"]:focus,
button[type="submit"]:active,
button[type="submit"]:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border-radius: inherit !important;
}

/* Force rounded buttons to stay rounded */
.btn-selengkapnya:focus,
.btn-selengkapnya:active,
.btn-selengkapnya:focus-visible {
  border-radius: 50px !important;
}

.btn-selengkapnya-filled:focus,
.btn-selengkapnya-filled:active,
.btn-selengkapnya-filled:focus-visible {
  border-radius: 50px !important;
}

.info-tab:focus,
.info-tab:active,
.info-tab:focus-visible {
  border-radius: 50px !important;
}

/* ============================================
   TOPBAR STYLES
   ============================================ */
.topbar {
  background: linear-gradient(to right, var(--primary-600) 0%, var(--primary-600) 10%, var(--secondary-500) 45%);
  color: var(--white);
  padding: 0.4rem 0;
  font-size: 0.75rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.topbar-label {
  font-weight: 400;
  color: var(--white);
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 300;
  transition: var(--transition-fast);
}

.topbar-item:hover {
  opacity: 0.8;
  text-decoration: none;
  color: var(--white);
}

.topbar-item i,
.topbar-item svg {
  font-size: 1rem;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topbar-social a {
  color: var(--white);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: var(--transition-fast);
}

.topbar-social a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.topbar-menu {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.topbar-menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 300;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
}

.topbar-menu a:hover {
  opacity: 0.8;
}

.topbar-dropdown {
  position: relative;
}

.topbar-dropdown-toggle {
  cursor: pointer;
  position: relative;
}

.topbar-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: -1rem;
  min-width: 220px;
  background: var(--white);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  border-radius: var(--radius-md);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
  z-index: 10000;
}

/* Jembatan invisible yang lebih besar */
.topbar-dropdown-menu::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 0.5rem;
}

.topbar-dropdown:hover .topbar-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.topbar-dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--gray-800);
  font-weight: 400;
  font-size: 0.75rem;
}

.topbar-dropdown-menu a:hover {
  background: var(--primary-50);
  color: var(--primary-500);
  opacity: 1;
}

/* ============================================
   NAVBAR STYLES
   ============================================ */
.custom-navbar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition-normal);
  padding: 0.75rem 0;
}

.custom-navbar.scrolled {
  box-shadow: var(--shadow-lg);
}

/* Custom styling untuk Bootstrap navbar */
.custom-navbar .navbar-brand {
  margin-right: 1.5rem;
}

.custom-navbar .navbar-brand img {
  height: 50px;
}

.custom-navbar .navbar-nav {
  gap: 0;
}

.custom-navbar .nav-link {
  color: var(--gray-800);
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  padding: 0.5rem 0.5rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  height: 100%;
  position: relative;
  text-decoration: none !important;
}

.custom-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.5rem;
  right: 0.5rem;
  width: auto;
  height: 1px;
  background-color: #359D9E;
  transition: all 0.3s ease;
  transform: scaleX(0);
  transform-origin: left;
}

.custom-navbar .nav-link:hover {
  color: #359D9E;
  font-weight: 500;
}

.custom-navbar .nav-link:hover::after {
  transform: scaleX(1);
}

.custom-navbar .nav-link.dropdown-toggle {
  font-weight: 400 !important;
}

.custom-navbar .nav-link.dropdown-toggle::after {
  height: 1px !important;
}

.custom-navbar .nav-link.dropdown-toggle:hover {
  font-weight: 500 !important;
}

.custom-navbar .nav-link.active {
  color: #359D9E;
  font-weight: 500;
  text-decoration: none !important;
}

.custom-navbar .nav-link.active::after {
  transform: scaleX(1);
}

.custom-navbar .btn-primary {
  padding: 0.625rem 1.5rem;
  line-height: 1.5;
}

.custom-navbar .btn-primary:focus,
.custom-navbar .btn-primary:active,
.custom-navbar .btn-primary:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border-radius: 50px !important;
}

.custom-navbar .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  margin-top: 0.75rem;
}

.custom-navbar .dropdown-item {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  color: var(--gray-800);
  transition: var(--transition-fast);
}

.custom-navbar .dropdown-item:hover {
  background: var(--primary-50);
  color: var(--primary-500);
}

.navbar-divider {
  width: 2px;
  height: 40px;
  background: var(--gray-300);
}

/* Mobile Navbar Toggler */
.custom-navbar .navbar-toggler {
  border: none;
  padding: 0.5rem 0.75rem;
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
}

.custom-navbar .navbar-toggler:focus {
  box-shadow: none;
  outline: 1px solid #ccc;
}

.custom-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23333' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 1.5rem;
  height: 1.5rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 991.98px) {
  .custom-navbar .navbar-toggler {
    display: flex !important;
  }

  .custom-navbar .navbar-collapse {
    display: none !important;
  }
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.navbar-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary-500);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  overflow: visible;
  margin-bottom: 0;
}

/* Desktop Hero */
.hero-desktop {
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 5rem;
}

/* Tablet Hero */
.hero-tablet {
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
}

/* Mobile Hero */
.hero-mobile {
  height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide a {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 0%;
}

.hero-slider-controls {
  position: absolute;
  bottom: 7rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 5;
}

.slider-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #D9D9D9;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.slider-dot:hover {
  background: #E0E0E0;
}

.slider-dot.active {
  background: rgb(255, 255, 255);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3) !important;
}

.slider-dot.active::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-600);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-600);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slider-arrow i {
  font-size: 1.25rem;
}

.slider-arrow.slider-prev {
  left: 4rem;
}

.slider-arrow.slider-next {
  right: 4rem;
}

/* ============================================
   CARI DOKTER WIDGET - DESKTOP
   ============================================ */
.doctor-search-widget-desktop {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  width: calc(100% - 4rem);
  max-width: 1100px;
  display: flex;
  align-items: center;
  gap: 2rem;
  z-index: 10;
  margin: 0 auto;
}

.doctor-search-widget-wrapper-desktop {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
  padding: 0 2rem;
  box-sizing: border-box;
}

/* ============================================
   CARI DOKTER WIDGET - TABLET
   ============================================ */
.doctor-search-widget-tablet {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  z-index: 10;
  margin: 0 auto;
}

.doctor-search-widget-wrapper-tablet {
  width: 100%;
  padding: 2rem 1rem;
  box-sizing: border-box;
}

/* ============================================
   CARI DOKTER WIDGET - MOBILE
   ============================================ */
.doctor-search-widget-wrapper-mobile {
  width: 100%;
  padding: 1rem 0.75rem;
  background-color: #f8f9fa;
  box-sizing: border-box;
}

.doctor-search-widget-mobile {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-sizing: border-box;
}

.widget-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.widget-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.widget-icon i {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--secondary-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.widget-title {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.widget-title span {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--secondary-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.search-form {
  width: 100%;
}

.doctor-search-widget-mobile .form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.doctor-search-widget-mobile .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
}

.doctor-search-widget-mobile .form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.doctor-search-widget-mobile .form-control {
  padding: 0.6rem 0.8rem;
  font-size: 0.875rem;
  border: 1px solid #ddd;
  border-radius: 0.375rem;
  height: auto;
}

.doctor-search-widget-mobile .form-control:focus {
  border-color: var(--primary-600);
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-600-rgb), 0.25);
}

.doctor-search-widget-mobile .form-group-btn {
  display: flex;
  width: 100%;
  margin-top: 0.5rem;
}

.doctor-search-widget-mobile .btn-search {
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0.375rem;
  border: none;
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--secondary-500) 100%);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.doctor-search-widget-mobile .btn-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--primary-600-rgb), 0.4);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 1.25rem;
  align-items: end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0;
}

.form-group label {
  font-weight: 500;
  color: var(--gray-700);
  font-size: 0.875rem;
}

.form-control {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition-fast);
  background: var(--white);
  color: var(--gray-700);
  height: 45px;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px var(--primary-50);
}

.form-control::placeholder {
  color: var(--gray-400);
}

.form-group-btn {
  display: flex;
  align-items: flex-end;
}

.btn-search {
  padding: 0.75rem 2rem;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  min-width: 120px;
  border-radius: 50px;
}

.btn-search {
  padding: 0.75rem 2rem;
  height: fit-content;
}

.btn-search:focus,
.btn-search:active,
.btn-search:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border-radius: 50px !important;
}

/* Mobile responsive */
@media (max-width: 992px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-group-btn {
    width: 100%;
  }

  .btn-search {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .widget-header {
    justify-content: flex-start;
    flex-direction: row;
    align-items: center;
    text-align: left;
    margin-bottom: 0.5rem;
  }

  .widget-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
  }

  .widget-icon i {
    font-size: 2rem;
  }

  .widget-title {
    font-size: 0.95rem;
    flex-direction: row;
    gap: 0.25rem;
    white-space: nowrap;
  }

  .form-group {
    margin-bottom: 0;
  }

  .form-group label {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
  }

  .form-control {
    font-size: 0.8125rem;
    height: 40px;
    padding: 0.6rem 0.875rem;
  }

  .btn-search {
    height: 40px;
    padding: 0.6rem 1.5rem;
    font-size: 0.875rem;
  }

  .hero-mobile {
    height: 300px;
  }

  .hero-slider {
    margin-top: 15px;
  }

  .slider-arrow {
    top: 55%;
  }
}

@media (min-width: 577px) and (max-width: 992px) {
  .widget-header {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .widget-icon {
    flex-shrink: 0;
  }

  .widget-title {
    flex-direction: row;
    gap: 0.3rem;
    white-space: nowrap;
    font-size: 1.05rem;
  }

  .hero-slider-controls {
    bottom: 3rem;
  }

  .slider-arrow {
    top: 50%;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(to right, #234974 0%, #234974 40%, #359D9E 70%, #4AAC90 100%);
  color: var(--white);
  padding: 48px;
  position: relative;
}

.footer .container-fluid {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  margin-top: 0.5rem;
  color: var(--white);
}

/* Kolom 1: Branding & Kontak */
.footer-brand {
  margin-bottom: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-logo-full {
  width: 130px;
  height: 89px;
  object-fit: contain;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-contact-item i {
  margin-top: 0.125rem;
  flex-shrink: 0;
  font-size: 1.1rem;
  opacity: 0.95;
}

/* Kolom 2: Menu & Social */
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.footer-menu li {
  margin-bottom: 0.75rem;
}

.footer-menu a {
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
  transition: var(--transition-fast);
}

.footer-menu a:hover {
  opacity: 1;
  transform: translateX(5px);
}

.footer-menu a::before {
  content: '›';
  font-size: 1.3rem;
  line-height: 1;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.footer-social a {
  color: var(--white);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: var(--transition-fast);
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

/* Kolom 3: Visitor Stats */
.footer-visitor {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-top: 0.75rem;
}

.visitor-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.visitor-item:first-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.visitor-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.visitor-count {
  font-size: 1.125rem;
  font-weight: 700;
}

/* Kolom 4: App Downloads */
.footer-apps-section {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.app-download-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.app-logo-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.app-description {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

.app-buttons {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.app-buttons a {
  display: block;
  transition: var(--transition-fast);
}

.app-buttons a:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.app-buttons img {
  width: 130px;
  height: auto;
  display: block;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.9;
}

/* Responsive Footer */
@media (max-width: 1200px) {
  .footer {
    padding: 40px 32px;
  }

  .footer-content {
    gap: 32px;
    margin-bottom: 32px;
  }
}

@media (max-width: 992px) {
  .footer {
    padding: 40px 24px;
  }

  .footer-section {
    flex: 1 1 calc(50% - 32px);
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 32px 20px;
  }

  .footer-content {
    gap: 28px;
    margin-bottom: 28px;
  }

  .footer-section {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .footer-logo-full {
    width: 110px;
    height: auto;
  }

  .footer-section h4 {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 24px 16px;
  }

  .footer-content {
    gap: 24px;
    margin-bottom: 24px;
  }

  .footer-logo-full {
    width: 100px;
    height: auto;
  }
}

/* ============================================
   FLOATING CALL CENTER
   ============================================ */
.floating-call-center {
  position: fixed;
  right: 0;
  top: 65%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  background: #2D9596;
  border-radius: 20px 0 0 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 70px;
}

.call-center-header {
  background: #2D9596;
  padding: 0.875rem 0.75rem;
  text-align: center;
  min-width: 70px;
}

.call-center-title {
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  display: block;
  white-space: nowrap;
}

.call-center-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 70px;
  padding: 1rem 1.25rem;
  background: #2D9596;
  color: #ffffff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.call-center-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.call-center-btn:hover {
  background: #1f7072;
  transform: scale(1.05);
}

.call-center-btn:hover i {
  color: #ffffff !important;
}

.call-center-btn i {
  font-size: 1.5rem;
  color: #ffffff;
}

.call-center-phone i {
  transform: rotate(0deg);
  font-size: 1.4rem;
  font-weight: 400;
}

.call-center-whatsapp {
  border-radius: 0 0 0 20px;
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-500);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-normal);
  z-index: var(--z-fixed);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--primary-700);
  transform: translateY(-5px);
}

.scroll-to-top i,
.scroll-to-top svg {
  font-size: 1.5rem;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
  .topbar-left {
    gap: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .floating-buttons {
    right: 1rem;
  }
}

@media (max-width: 768px) {
  .topbar-left,
  .topbar-right {
    font-size: 0.75rem;
  }

  .topbar-item {
    gap: 0.25rem;
  }

  .topbar-menu {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .floating-buttons {
    right: 1rem;
    bottom: 5rem;
    top: auto;
    transform: none;
  }

  .scroll-to-top {
    bottom: 2rem;
    right: 1rem;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
  }

  .slider-arrow.prev {
    left: 1rem;
  }

  .slider-arrow.next {
    right: 1rem;
  }

  /* Hero responsive untuk mobile */
  .hero {
    height: 350px;
  }

  .hero-slider-controls {
    bottom: 1rem;
  }
}

/* Tablet Portrait (600px - 768px) */
@media (min-width: 600px) and (max-width: 768px) {
  .hero {
    height: 400px;
  }
}

/* Tablet Landscape (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    height: 500px;
  }
}

/* Desktop kecil (1024px - 1440px) */
@media (min-width: 1024px) and (max-width: 1440px) {
  .hero {
    height: 550px;
  }
}

/* Desktop besar (>1440px) */
@media (min-width: 1440px) {
  .hero {
    height: 700px;
  }
}

/* ============================================
   LAYANAN KESEHATAN SECTION
   ============================================ */
.layanan-kesehatan-section {
  padding: 6rem 0 5rem;
  background: var(--gray-50);
  margin-top: 0;
}

.section-header {
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  padding: 0.375rem 1.25rem;
  background: transparent;
  color: var(--secondary-600);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid var(--secondary-600);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-800);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

.layanan-slider-container {
  position: relative;
  margin: 0 auto;
  padding: 0 3rem;
  overflow: hidden;
}

.layanan-slider {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease-in-out;
}

.layanan-card-wrapper {
  flex: 0 0 320px;
  min-width: 320px;
  max-width: 320px;
  display: flex;
}

.layanan-card-wrapper a {
  display: flex;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.layanan-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 1rem 0;
  gap: 1rem;
  background: var(--white);
  font-size: 1rem;
  line-height: normal;
}

.layanan-slider::-webkit-scrollbar {
  display: none;
}

.layanan-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: var(--transition-normal);
  position: relative;
  font-size: 0;
  line-height: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}

.layanan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.layanan-card:hover .layanan-image {
  transform: scale(1.05);
}

.layanan-card:hover .layanan-chevron-btn {
  background: var(--primary-600);
  transform: translateX(4px);
}

.layanan-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: #FFE7CC;
  color: #FF6B35;
  padding: 10px;
  border-radius: 18px 0 18px 0;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 2;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.layanan-image-wrapper {
  position: relative;
  width: 100%;
}

.layanan-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  vertical-align: top;
  border-radius: 16px;
  position: relative;
  transition: transform 0.4s ease;
}

.layanan-content {
    padding: 1rem 0 0 0;
    font-size: 1rem;
    line-height: normal;
}

.layanan-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
  line-height: 1.3;
  flex: 1;
}

.layanan-description {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0;
}

.layanan-chevron-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #D1D5DB;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.layanan-chevron-btn:hover {
  background: var(--primary-600);
  transform: translateX(4px);
}

.layanan-chevron-btn:hover svg {
  stroke: white;
}

.layanan-chevron-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--gray-900);
  transition: stroke 0.3s ease;
}

.layanan-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  color: var(--primary-600);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.layanan-slider-arrow:hover {
  background: var(--primary-600);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.layanan-slider-arrow i {
  font-size: 1rem;
}

.layanan-slider-prev {
  left: 0;
}

.layanan-slider-next {
  right: 0;
}

.layanan-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.layanan-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #D9D9D9;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.layanan-dot.active {
  background: rgb(255, 255, 255);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3) !important;
}

.layanan-dot.active::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-600);
}

/* Responsive Layanan Kesehatan */
@media (max-width: 1024px) {
  .layanan-card {
    min-width: calc(33.333% - 1.34rem);
  }
}

/* ============================================
   DOKTER KAMI SECTION
   ============================================ */
.dokter-kami-section {
  padding: 5rem 0;
  background: var(--white);
}

/* Header di atas (untuk mobile/tablet) */
.dokter-header-top {
  display: none;
  margin-bottom: 3rem;
  text-align: center;
}

.dokter-header-top .section-badge {
  margin-bottom: 1rem;
}

.dokter-header-top .section-title {
  margin-bottom: 1rem;
}

.dokter-header-top .section-subtitle {
  margin-bottom: 2rem;
  max-width: 100%;
}

/* Desktop Container */
.dokter-container-desktop {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

/* Mobile/Tablet Slider (hidden on desktop) */
.dokter-slider-wrapper {
  display: none;
  position: relative;
  margin-bottom: 2rem;
}

.dokter-slider {
  display: flex;
  gap: 1.5rem;
  overflow: hidden;
  scroll-behavior: smooth;
}

.dokter-slide {
  flex: 0 0 100%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  height: 400px;
}

.dokter-slider-prev,
.dokter-slider-next {
  display: none;
}

.dokter-cards-wrapper {
  display: flex;
  gap: 1.5rem;
  flex: 1;
}

.dokter-card {
  flex: 1;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  margin-bottom: 1.5rem;
  height: 400px;
}

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

.dokter-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dokter-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(6, 28, 61, 0.9) 0%, rgba(6, 28, 61, 0.7) 50%, transparent 100%);
  padding: 2rem 1.5rem 1.5rem;
}

.dokter-nama {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.dokter-spesialisasi {
  font-size: 0.875rem;
  color: var(--white);
  margin: 0 0 1rem 0;
  opacity: 0.9;
}

.dokter-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #5DCCCC;
  text-decoration: none;
  transition: all 0.3s ease;
}

.dokter-link:hover {
  gap: 0.75rem;
  color: #7FD9D9;
}

.dokter-link svg {
  width: 16px;
  height: 16px;
}

.dokter-header {
  flex: 0 0 350px;
  padding-left: 2rem;
}

.dokter-header .section-badge {
  margin-bottom: 1.5rem;
}

.dokter-header .section-title {
  margin-bottom: 1rem;
}

.dokter-header .section-subtitle {
  margin-bottom: 2rem;
  max-width: 100%;
}

.btn-selengkapnya {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  background: var(--primary-500);
  color: #FFFFFF;
  font-size: 0.938rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-selengkapnya:hover {
  background: var(--primary-600);
  gap: 1rem;
  transform: translateX(4px);
  color: #FFFFFF;
}

.btn-selengkapnya:focus,
.btn-selengkapnya:active,
.btn-selengkapnya:focus-visible {
  outline: none !important;
  border-radius: 50px !important;
  box-shadow: none !important;
}

.btn-selengkapnya svg {
  width: 20px;
  height: 20px;
  stroke: #FFFFFF;
}

/* Mobile/Tablet Responsive */
@media (max-width: 992px) {
  .dokter-header-top {
    display: block;
  }

  .dokter-container-desktop {
    display: none;
  }

  .dokter-slider-wrapper {
    display: block;
  }

  .dokter-slide {
    flex: 0 0 85%;
    height: 350px;
  }
}

@media (max-width: 576px) {
  .dokter-kami-section {
    padding: 3rem 0;
  }

  .dokter-header-top {
    text-align: left;
  }

  .dokter-header-top .section-badge {
    margin-bottom: 0.75rem;
  }

  .dokter-header-top .section-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .dokter-header-top .section-subtitle {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
  }

  .dokter-slide {
    flex: 0 0 100%;
    height: 300px;
  }
}

/* ============================================
   PENAWARAN TERBARU SECTION
   ============================================ */
.penawaran-section {
  padding: 5rem 0;
  background: var(--white);
}

.penawaran-container {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.penawaran-header {
  flex: 0 0 350px;
  padding-right: 2rem;
}

.penawaran-header .section-badge {
  margin-bottom: 1.5rem;
}

.penawaran-header .section-title {
  margin-bottom: 1rem;
}

.penawaran-header .section-subtitle {
  margin-bottom: 2rem;
  max-width: 100%;
}

.penawaran-slider-wrapper {
  flex: 1;
  overflow: hidden;
}

.penawaran-slider {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease-in-out;
}

.penawaran-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: calc(33.333% - 1rem);
  background: var(--gray-100);
  border-radius: 20px;
  padding: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.penawaran-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.penawaran-content {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.penawaran-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-800);
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.penawaran-btn {
  flex-shrink: 0 !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  background: #D1D5DB !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.penawaran-btn:hover {
  background: var(--primary-600) !important;
  transform: translateX(4px) !important;
}

.penawaran-btn:hover svg {
  stroke: white !important;
}

.penawaran-btn svg {
  width: 20px !important;
  height: 20px !important;
  stroke: var(--gray-900) !important;
  transition: stroke 0.3s ease !important;
}

.penawaran-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.penawaran-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #D9D9D9;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.penawaran-dot.active {
  background: rgb(255, 255, 255);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3) !important;
}

.penawaran-dot.active::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-600);
  position: absolute;
}

@media (max-width: 1024px) {
  .penawaran-container {
    flex-direction: column;
  }

  .penawaran-header {
    flex: 1;
    padding-right: 0;
    text-align: center;
  }

  .penawaran-card {
    flex: 0 0 calc(50% - 0.75rem);
    min-width: calc(50% - 0.75rem);
  }
}

@media (max-width: 768px) {
  .penawaran-slider-wrapper {
    width: 100%;
    overflow: hidden;
  }

  .penawaran-card {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .penawaran-card {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .dokter-container {
    flex-direction: column;
  }

  .dokter-header {
    flex: 1;
    padding-left: 0;
    text-align: center;
  }

  .dokter-cards-wrapper {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .layanan-kesehatan-section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .layanan-slider-container {
    padding: 0 2rem;
  }

  .layanan-card {
    min-width: calc(50% - 1rem);
  }

  .layanan-slider-arrow {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 480px) {
  .layanan-card {
    min-width: calc(100% - 0rem);
  }

  .layanan-slider-container {
    padding: 0 1rem;
  }
}

/* ============================================
   RESERVASI ONLINE SECTION
   ============================================ */
.reservasi-section {
  padding: 5rem 0;
  background: var(--white);
}

.reservasi-header {
  text-align: center;
  margin-bottom: 4rem;
}

.reservasi-badge {
  border: 2px solid #10B981;
  color: #10B981;
  background: transparent;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.reservasi-header .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.reservasi-header .section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.reservasi-cards {
  display: flex;
  gap: 2rem;
  align-items: stretch;
}

.reservasi-card {
  flex: 1;
  background: #F3F4F6;
  border-radius: 24px;
  padding: 2.5rem;
  overflow: hidden;
}

.reservasi-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

@media (max-width: 1024px) {
  .reservasi-cards {
    flex-direction: column;
  }

  .reservasi-header .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .reservasi-section {
    padding: 3rem 0;
  }

  .reservasi-header {
    margin-bottom: 3rem;
  }

  .reservasi-header .section-title {
    font-size: 1.75rem;
  }

  .reservasi-header .section-subtitle {
    font-size: 1rem;
  }

  .reservasi-card {
    padding: 2rem;
  }
}

/* ============================================
   INFO TEMPAT TIDUR SECTION
   ============================================ */
.info-tempat-tidur-section {
  padding: 0;
  background: var(--white);
}

.info-container {
  display: flex;
  min-height: 450px;
  overflow: hidden;
}

.info-header-side {
  flex: 0 0 40%;
  background: var(--white);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-badge {
  border: 2px solid #5DCCCC;
  color: #5DCCCC;
  background: transparent;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-block;
  width: fit-content;
  margin-bottom: 1.5rem;
}

.info-header-side .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.info-header-side .section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.info-content-side {
  flex: 1;
  background: var(--primary-600);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.info-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0;
}

.info-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.2;
}

.info-datetime {
  font-size: 0.875rem;
  color: var(--white);
  margin: 0;
  margin-bottom: 0.4rem;
  text-align: right;
  line-height: 1.2;
  white-space: nowrap;
}

.info-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.info-tab {
  padding: 0.625rem 1.5rem;
  border: 2px solid var(--secondary-300);
  background: transparent;
  color: var(--secondary-300);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
}

.info-tab:hover {
  background: rgba(114, 186, 187, 0.1);
}

.info-tab.active {
  background: var(--secondary-300);
  border-color: var(--secondary-300);
  color: var(--white);
}

.info-tab:focus,
.info-tab:active,
.info-tab:focus-visible {
  outline: none !important;
  border-radius: 50px !important;
  box-shadow: none !important;
  border: 2px solid var(--secondary-300) !important;
}

.info-tab.active:focus,
.info-tab.active:active,
.info-tab.active:focus-visible {
  border: 2px solid var(--secondary-300) !important;
}

.info-cards-wrapper {
  overflow: hidden;
  position: relative;
}

.info-cards {
  display: flex;
  gap: 1rem;
  transition: transform 0.5s ease-in-out;
}

.info-bed-card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.5rem;
  width: 185px;
  min-width: 185px;
  height: 190px;
  position: relative;
}

.bed-status-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 1rem;
  border-radius: 0 18px 0 18px;
  position: absolute;
  top: 0;
  right: 0;
}

.bed-status-badge.available {
  background: #D1FAE5;
  color: #059669;
}

.bed-status-badge.unavailable {
  background: #FEE2E2;
  color: #DC2626;
}

.bed-count {
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  margin: 0.25rem 0 0.5rem 0;
  width: 100%;
  text-align: left;
}

.bed-count.available {
  color: #10B981;
}

.bed-count.unavailable {
  color: #EF4444;
}

.bed-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-900);
  margin: 0;
  line-height: 1.3;
  text-align: left;
  width: 100%;
}

/* Testimoni Pasien Section */
.testimoni-section {
  padding: 5rem 0;
  background: var(--white);
}

.testimoni-content {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.testimoni-video-side {
  flex: 0 0 55%;
}

.video-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--gray-900);
  width: 876px;
  height: 292px;
  cursor: pointer;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease-in-out;
}

.testimoni-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--secondary-300);
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.video-play-btn:hover {
  background: var(--secondary-400);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn i {
  margin-left: 4px;
}

.video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 2rem;
  color: var(--white);
}

.video-quote {
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0 0 0.5rem 0;
  font-style: italic;
}

.video-caption {
  font-size: 0.75rem;
  margin: 0;
  opacity: 0.9;
}

.video-link {
  color: var(--secondary-300);
  text-decoration: none;
  transition: color 0.3s ease;
}

.video-link:hover {
  color: var(--secondary-400);
}

.video-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  z-index: 3;
}

.video-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #D9D9D9;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.video-dot:hover {
  background: #E0E0E0;
}

.video-dot.active {
  background: rgb(255, 255, 255);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3) !important;
}

.video-dot.active::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-600);
}

.testimoni-text-side {
  flex: 1;
}

.testimoni-text-side .section-badge {
  display: inline-block;
  padding: 0.375rem 1.25rem;
  background: transparent;
  color: var(--secondary-600);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid var(--secondary-600);
}

.testimoni-text-side .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-900);
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.testimoni-text-side .section-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   HIGHLIGHT SECTION
   ============================================ */
.highlight-section {
  padding: 5rem 0;
  background: var(--white);
}

.highlight-slider-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.highlight-slider-wrapper .highlight-grid {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
  grid-template-columns: unset;
}

.highlight-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.highlight-slider-wrapper .highlight-card {
  flex: 0 0 280px;
  min-width: 280px;
}

.highlight-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.highlight-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.highlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.highlight-card:hover .highlight-image img {
  transform: scale(1.05);
}

.highlight-content {
  padding: 1.25rem;
}

.highlight-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-800);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.highlight-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.highlight-category {
  padding: 0.375rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  display: inline-block;
  background: var(--secondary-500);
}

.category-berita {
  background: var(--secondary-500);
}

.category-artikel {
  background: var(--secondary-500);
}

.category-agenda {
  background: var(--secondary-500);
}

.category-informasi {
  background: var(--secondary-500);
}

.highlight-date {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Highlight Top Bar */
.highlight-top-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.highlight-search-bar {
  position: relative;
  width: 100%;
}

.highlight-search-bar .form-control {
  width: 100%;
  padding: 0.75rem 2.75rem 0.75rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.875rem;
  background-color: #f5f5f5;
}

.highlight-search-bar .search-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--gray-500);
  font-size: 0.9rem;
  padding: 0.5rem;
  cursor: pointer;
}

.highlight-search-bar .search-btn:hover {
  color: var(--primary-600);
}

.highlight-info {
  flex: 1 1 auto;
  text-align: left;
  flex-shrink: 0;
}

.highlight-info .info-text {
  font-size: 0.9375rem;
  color: #333333;
  font-weight: 400;
}

.highlight-sort-form {
  flex: 0 0 auto;
  flex-shrink: 0;
}

.highlight-sort-form .sort-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.highlight-sort-form .sort-label {
  font-size: 0.9375rem;
  color: #333333;
  font-weight: 400;
  white-space: nowrap;
}

/* Highlight Filter Sidebar */
.highlight-filter-sidebar {
  background: transparent;
  margin-top: 3.75rem;
}

.highlight-filter-sidebar .filter-item {
  display: block;
  padding: 1rem 1.5rem;
  margin-bottom: 0;
  border-radius: 0;
  color: #1e3a5f;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f7f7f7;
  border-right: 4px solid transparent;
}

.highlight-filter-sidebar .filter-item:hover {
  background: #e8f4f8;
  color: #0891b2;
}

.highlight-filter-sidebar .filter-item.active {
  background: #cff4f9;
  color: #0891b2;
  border-right-color: #0891b2;
  font-weight: 600;
}

.highlight-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.highlight-empty-state .empty-icon {
  font-size: 4rem;
  color: var(--gray-300);
  margin-bottom: 1.5rem;
}

.highlight-empty-state .empty-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.highlight-empty-state .empty-message {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

/* Highlight Pagination */
.highlight-pagination .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.highlight-pagination .pagination .page-item {
  list-style: none;
}

.highlight-pagination .pagination .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--gray-700);
  font-weight: 400;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.highlight-pagination .pagination .page-link:hover {
  background: var(--gray-100);
  color: var(--primary-600);
}

.highlight-pagination .pagination .page-item.active .page-link {
  background: var(--primary-600);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(var(--primary-600-rgb), 0.3);
}

.highlight-pagination .pagination .page-item.disabled .page-link {
  background: transparent;
  color: var(--gray-400);
  cursor: not-allowed;
  opacity: 0.5;
}

.highlight-pagination .pagination .page-link:focus {
  box-shadow: none;
  outline: none;
}

.highlight-pagination .pagination .page-item:first-child .page-link,
.highlight-pagination .pagination .page-item:last-child .page-link {
  font-size: 2.5rem;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 2px;
}

.btn-selengkapnya-filled {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--primary-600);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: var(--transition-normal);
  cursor: pointer;
}

.btn-selengkapnya-filled:hover {
  background: var(--primary-800);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-selengkapnya-filled:focus,
.btn-selengkapnya-filled:active,
.btn-selengkapnya-filled:focus-visible {
  outline: none !important;
  border-radius: 50px !important;
  box-shadow: none !important;
}

@media (max-width: 1200px) {
  .highlight-grid {
    gap: 1.5rem;
  }

  .highlight-card {
    flex: 0 0 260px;
    min-width: 260px;
  }
}

@media (max-width: 768px) {
  .highlight-card {
    flex: 0 0 240px;
    min-width: 240px;
  }

  .highlight-section {
    padding: 3rem 0;
  }
}

/* ============================================
   PENGADUAN SECTION
   ============================================ */
.pengaduan-section {
  padding: 5rem 0;
  background: var(--gray-50);
}

.pengaduan-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.pengaduan-header-side {
  position: sticky;
  top: 120px;
}

.pengaduan-form-side {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.pengaduan-form label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-800);
  margin-bottom: 0.4rem;
}

.pengaduan-form .required {
  color: var(--error-500);
  margin-left: 2px;
}

.pengaduan-form .form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition-fast);
  background: var(--white);
  color: var(--gray-700);
}

.pengaduan-form .form-control:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px var(--primary-50);
}

.pengaduan-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.file-upload-wrapper {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  background: var(--gray-50);
}

.file-upload-wrapper:hover {
  border-color: var(--primary-500);
  background: var(--primary-50);
}

.file-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-600);
  pointer-events: none;
}

.file-upload-placeholder i {
  font-size: 2rem;
  color: var(--gray-400);
  pointer-events: none;
}

.file-upload-placeholder span {
  font-size: 0.875rem;
  pointer-events: none;
}

.captcha-container {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.captcha-image-wrapper {
  flex-shrink: 0;
}

.captcha-image-wrapper img {
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  height: 60px;
  width: auto;
  display: block;
}

.captcha-reload {
  flex-shrink: 0;
  background: var(--primary-600);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  font-size: 0.875rem;
}

.captcha-reload:hover {
  background: var(--primary-800);
}

.captcha-reload:focus,
.captcha-reload:active,
.captcha-reload:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border-radius: var(--radius-md) !important;
}

.captcha-input {
  flex: 1;
}

.form-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 1.5rem;
}

.form-actions .btn {
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.form-actions .btn:focus,
.form-actions .btn:active,
.form-actions .btn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border-radius: 50px !important;
}

/* Success Alert */
.pengaduan-form-side .alert-success {
  background-color: var(--success-50);
  border: 2px solid var(--success-500);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--success-800);
}

.pengaduan-form-side .alert-success .alert-heading {
  color: var(--success-900);
  font-weight: 600;
  font-size: 1.25rem;
}

.pengaduan-form-side .alert-success i {
  color: var(--success-500);
}

@media (max-width: 1024px) {
  .pengaduan-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .pengaduan-header-side {
    position: static;
  }
}

@media (max-width: 768px) {
  .pengaduan-section {
    padding: 3rem 0;
  }

  .pengaduan-form-side {
    padding: 1.5rem;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .captcha-container {
    flex-wrap: wrap;
  }

  .captcha-input {
    width: 100%;
  }
}

@media (max-width: 1200px) {
  .info-bed-card {
    flex: 0 0 calc(50% - 0.75rem);
    min-width: calc(50% - 0.75rem);
  }

  .testimoni-content {
    gap: 3rem;
  }

  .testimoni-text-side .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 1024px) {
  .info-container {
    flex-direction: column;
    overflow: hidden;
  }

  .info-header-side {
    flex: 1;
    padding: 4rem 2rem;
    text-align: center;
  }

  .info-badge {
    margin: 0 auto 1.5rem;
  }

  .info-content-side {
    padding: 3rem 2rem;
  }

  .testimoni-content {
    flex-direction: column;
    gap: 2.5rem;
  }

  .testimoni-video-side {
    flex: 1;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .testimoni-section {
    padding: 3rem 0;
  }

  .testimoni-text-side .section-title {
    font-size: 1.75rem;
  }

  .video-play-btn {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
  }

  .video-overlay {
    padding: 1.5rem;
  }
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

.video-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 300;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s ease;
  line-height: 1;
  padding: 0;
}

.video-modal-close:hover {
  color: var(--secondary-300);
}

.video-modal-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--gray-900);
  border-radius: 12px;
  overflow: hidden;
}

.video-modal-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

  .info-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 768px) {
  .info-header-side {
    padding: 3rem 1.5rem;
  }

  .info-header-side .section-title {
    font-size: 2rem;
  }

  .info-title {
    font-size: 2rem;
  }

  .info-content-side {
    padding: 2rem 1.5rem;
    overflow: hidden;
    clip-path: inset(0);
  }

  .info-tabs {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    gap: 0.75rem;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    width: 100%;
  }

  .info-tabs::-webkit-scrollbar {
    height: 4px;
  }

  .info-tabs::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
  }

  .info-tabs::-webkit-scrollbar-thumb {
    background: rgba(114, 186, 187, 0.5);
    border-radius: 10px;
  }

  .info-tabs::-webkit-scrollbar-thumb:hover {
    background: rgba(114, 186, 187, 0.7);
  }

  .info-tab {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
  }

  .info-bed-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
}

/* ============================================
   ACCESSIBILITY WIDGET STYLES
   ============================================ */
.accessibility-widget {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: var(--z-modal);
}

.accessibility-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--secondary-500);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-xl);
  transition: var(--transition-normal);
}

.accessibility-toggle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-2xl);
}

.accessibility-toggle i,
.accessibility-toggle svg {
  font-size: 1.75rem;
}

/* ============================================
   PAGE HEADER / BREADCRUMB
   ============================================ */
.page-header {
  padding: 4rem 0 5rem;
  background: url('../img/background-inner-page-1.png') no-repeat center center;
  background-size: cover;
  color: var(--gray-900);
  margin-bottom: 0;
  margin-top: calc(32px + 70px);
  position: relative;
  overflow: hidden;
}

.page-header-content {
  text-align: left;
  position: relative;
  z-index: 2;
}

.breadcrumb-nav {
  margin-bottom: 1rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  background: transparent;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: var(--primary-600);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  padding: 0 0.5rem;
  color: var(--gray-400);
}

.breadcrumb-item a {
  color: var(--primary-600);
  text-decoration: none;
  transition: var(--transition-fast);
}

.breadcrumb-item a:hover {
  color: var(--primary-700);
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: var(--gray-700);
  font-weight: 400;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.page-subtitle {
  font-size: 1rem;
  color: var(--gray-700);
  margin-bottom: 0;
  font-weight: 400;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  margin: 0 0.5rem;
  opacity: 0.7;
}

/* Mobile navbar/drawer styling removed — using Bootstrap's default Offcanvas styles to avoid conflicts. */
    font-size: 1.75rem;
  }

  .page-subtitle {
    font-size: 0.875rem;
  }

  .page-header {
    background-size: cover;
  }
}

.sidebar a {
  color: var(--gray-700);
  transition: var(--transition-fast);
}

.sidebar a:hover {
  color: var(--primary-500);
}

/* ============================================
   RESPONSIVE PAGE HEADER
   ============================================ */
@media (max-width: 768px) {
  .page-header {
    padding: 2rem 0;
    background-position: right center;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .page-subtitle {
    font-size: 0.875rem;
  }

  .breadcrumb {
    font-size: 0.8rem;
  }

  .content-wrapper {
    padding: 1.5rem;
  }

  .sidebar {
    margin-top: 2rem;
  }
}

/* ============================================
   JAM PENDAFTARAN SECTION
   ============================================ */
.jam-pendaftaran-section {
  padding: 3rem 0;
  background: #F3F4F6;
}

.jam-pendaftaran-section .card {
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-pendaftaran {
  background: var(--white);
  border: none;
  border-radius: 50px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jam-pendaftaran-section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-pendaftaran:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-pendaftaran-header {
  background: linear-gradient(to right, #3B5998 0%, #359D9E 100%);
  padding: 1.5rem 2rem;
  border-radius: 50px 50px 0 0;
}

.card-pendaftaran-header-sore {
  background: linear-gradient(to right, #359D9E 0%, #4CAF96 100%);
}

.card-pendaftaran-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.card-pendaftaran-body {
  padding: 2rem 2rem;
  background: var(--white);
}

.jadwal-text {
  font-size: 1rem;
  color: #1F2937;
  margin-bottom: 0.75rem;
  line-height: 1.8;
  font-weight: 400;
}

.jadwal-text:last-child {
  margin-bottom: 0;
}

/* ============================================
   RESPONSIVE JAM PENDAFTARAN
   ============================================ */
@media (max-width: 991px) {
  .jam-pendaftaran-section {
    padding: 2rem 1.5rem;
  }

  .card-pendaftaran-body {
    padding: 1.25rem;
  }

  .jadwal-text {
    font-size: 0.9rem;
  }
}

/* ============================================
   PENAWARAN CONTENT SECTION
   ============================================ */
.penawaran-content-section {
  padding: 3rem 0;
  background: var(--white);
}

.penawaran-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.penawaran-search {
  flex-shrink: 0;
  min-width: 250px;
}

.penawaran-info {
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.penawaran-count {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin: 0;
  white-space: nowrap;
}

.penawaran-count strong {
  color: var(--primary-600);
  font-weight: 600;
}

.penawaran-search .search-form {
  width: 100%;
}

.penawaran-search .form-control {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: 50px;
  padding: 0.6rem 2.75rem 0.6rem 1.25rem;
  font-size: 0.875rem;
  background: var(--gray-50) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23999999" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.35-4.35"/></svg>') no-repeat right 1rem center;
  transition: all 0.3s ease;
}

.penawaran-search .form-control:focus {
  outline: none;
  border-color: var(--primary-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.penawaran-search .form-control::placeholder {
  color: var(--gray-400);
}

.penawaran-search .btn-search {
  display: none;
  border-left: 1px solid var(--gray-200);
  border-radius: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.penawaran-search .btn-search:hover {
  background: var(--gray-50);
  color: var(--primary-600);
}

.penawaran-search .btn-search:focus,
.penawaran-search .btn-search:active,
.penawaran-search .btn-search:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.penawaran-sort {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  margin-left: auto;
}

.penawaran-sort .form-select {
  min-width: 150px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  padding: 0.6rem 2.5rem 0.6rem 1rem;
  font-size: 0.875rem;
  cursor: pointer;
  background-color: var(--white);
  background-position: right 0.75rem center;
}

.penawaran-sort .form-select:focus {
  border-color: var(--primary-600);
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-600-rgb), 0.1);
  outline: none;
}

.penawaran-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Penawaran Card uses same style as home section */
.penawaran-grid .penawaran-card {
  flex: 1;
  min-width: auto;
  background: var(--gray-100);
  border-radius: 20px;
  padding: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.penawaran-grid .penawaran-card:hover {
  transform: translateY(-8px);
}

.penawaran-grid .penawaran-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.penawaran-grid .penawaran-content {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.penawaran-grid .penawaran-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-800);
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.penawaran-grid .penawaran-desc {
  display: none;
}

.penawaran-grid .penawaran-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #D1D5DB;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.penawaran-grid .penawaran-btn:hover {
  background: var(--primary-600);
  transform: translateX(4px);
}

.penawaran-grid .penawaran-btn:hover svg {
  stroke: white;
}

.penawaran-grid .penawaran-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--gray-900);
  transition: stroke 0.3s ease;
}

.penawaran-grid .penawaran-price {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.4;
}

.penawaran-grid .penawaran-price strong {
  display: block;
  font-size: 1rem;
  color: var(--primary-600);
  font-weight: 700;
  margin-top: 0.25rem;
}



.penawaran-price .price-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
}

.penawaran-price .price-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-600);
}

.penawaran-footer {
  margin-top: auto;
}

.penawaran-footer .btn-detail {
  width: 100%;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
}

/* Penawaran Empty State */
.penawaran-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.penawaran-empty-state .empty-icon {
  font-size: 4rem;
  color: var(--gray-300);
  margin-bottom: 1.5rem;
}

.penawaran-empty-state .empty-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.penawaran-empty-state .empty-message {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Penawaran Pagination */
.penawaran-pagination {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

/* Detail Modal */
#detailModal .modal-content {
  border: none;
  border-radius: var(--radius-lg);
}

#detailModal .modal-header {
  background: var(--primary-600);
  color: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 1.5rem;
}

#detailModal .modal-title {
  font-weight: 700;
}

#detailModal .btn-close {
  filter: brightness(0) invert(1);
}

#detailModal .modal-body {
  padding: 2rem;
}

#detailModal .detail-image {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

#detailModal .detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#detailModal .detail-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 1rem;
}

#detailModal .detail-period {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  color: var(--primary-600);
  font-weight: 600;
}

#detailModal .detail-desc {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

#detailModal .detail-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--secondary-50) 100%);
  border-radius: var(--radius-md);
}

#detailModal .detail-price .price-label {
  font-size: 1rem;
  color: var(--gray-600);
  font-weight: 500;
}

#detailModal .detail-price .price-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-600);
}

@media (max-width: 768px) {
  .penawaran-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .penawaran-search {
    width: 100%;
    min-width: 100%;
  }

  .penawaran-info {
    text-align: center;
    width: 100%;
  }

  .penawaran-count {
    font-size: 0.8125rem;
  }

  .penawaran-sort {
    width: 100%;
  }

  .penawaran-sort .form-select {
    width: 100%;
  }

  .penawaran-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  #detailModal .detail-image {
    height: 200px;
  }

  #detailModal .detail-price {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
}

/* ============================================
   PENAWARAN DETAIL PAGE
   ============================================ */
.penawaran-detail-wrapper {
  margin-bottom: 4rem;
}

.penawaran-detail-info {
  padding-right: 2rem;
}

.penawaran-detail-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.penawaran-meta-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.meta-date {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.meta-divider {
  width: 1px;
  height: 20px;
  background: var(--gray-300);
}

.meta-share-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-700);
}

.meta-share-icon {
  width: 36px;
  height: 36px;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  color: white !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  font-size: 1rem !important;
  outline: none !important;
  box-shadow: none !important;
}

.meta-share-icon:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.meta-share-icon:focus,
.meta-share-icon:active {
  outline: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.meta-share-icon.whatsapp {
  background: #25D366 !important;
}

.meta-share-icon.facebook {
  background: #1877F2 !important;
}

.meta-share-icon.copy {
  background: var(--primary-600) !important;
}

.penawaran-description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-700);
}

.penawaran-description p {
  margin-bottom: 1rem;
}

.penawaran-description ul,
.penawaran-description ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.penawaran-description li {
  margin-bottom: 0.5rem;
}

.penawaran-detail-image-wrapper {
  position: sticky;
  top: 2rem;
  display: flex;
  justify-content: center;
}

.penawaran-detail-image {
  width: auto;
  max-width: 100%;
  max-height: 80vh;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  display: block;
}

.penawaran-lainnya-section {
  padding-top: 3rem;
  border-top: 2px solid var(--gray-200);
  margin-top: 4rem;
}

.penawaran-lainnya-section .section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 3rem;
}

.penawaran-lainnya-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.penawaran-lainnya-grid .penawaran-card {
  background: var(--gray-100);
  border-radius: 20px;
  padding: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.penawaran-lainnya-grid .penawaran-card:hover {
  transform: translateY(-8px);
}

.penawaran-lainnya-grid .penawaran-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.penawaran-lainnya-grid .penawaran-content {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.penawaran-lainnya-grid .penawaran-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-800);
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.penawaran-lainnya-grid .penawaran-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #D1D5DB;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.penawaran-lainnya-grid .penawaran-btn:hover {
  background: var(--primary-600);
  transform: translateX(4px);
}

.penawaran-lainnya-grid .penawaran-btn:hover svg {
  stroke: white;
}

.penawaran-lainnya-grid .penawaran-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--gray-900);
  transition: stroke 0.3s ease;
}

@media (max-width: 991px) {
  .penawaran-detail-text {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .penawaran-detail-image {
    position: relative;
    top: 0;
  }

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

@media (max-width: 768px) {
  .penawaran-detail-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .penawaran-detail-info {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .penawaran-detail-title {
    font-size: 1.5rem;
  }

  .penawaran-meta-bar {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .meta-divider {
    display: none;
  }

  .penawaran-lainnya-section .section-title {
    font-size: 1.5rem;
  }

  .penawaran-lainnya-grid {
    grid-template-columns: 1fr;
  }

  .penawaran-lainnya-grid .penawaran-image {
    height: 220px;
  }
}

/* ============================================
   VISI MISI PAGE STYLES
   ============================================ */
.visi-misi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 3rem;
  margin-bottom: 3rem;
}

.visi-misi-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.visi-misi-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.visi-misi-content {
  padding: 1rem;
}

.visi-misi-title {
  font-size: 40px;
  font-weight: 700;
  color: #061C3D;
  line-height: 48px;
  letter-spacing: -0.02em;
  text-align: left;
  margin-bottom: 1.5rem;
}

.visi-title {
  text-align: center;
}

.misi-section-fluid {
  background: #F5F5F5;
  padding: 3rem 0;
  margin: 3rem 0;
  width: 100%;
}

.visi-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
  color: #061C3D;
  font-style: italic;
  text-align: center;
}

.misi-list {
  padding-left: 1.5rem;
  margin: 0;
}

.misi-list li {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
  color: #061C3D;
  margin-bottom: 1rem;
  text-align: justify;
}

.falsafah-motto-section {
  margin-top: 2rem;
}

.falsafah-motto-wrapper {
  background: #E9EDF1;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 3rem;
}

.falsafah-motto-item {
  flex: 1;
  text-align: center;
}

.falsafah-motto-divider {
  width: 1px;
  height: 100px;
  background: #6c757d;
  opacity: 0.3;
}

.falsafah-motto-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.falsafah-motto-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-700);
}

@media (max-width: 768px) {
  .visi-misi-card {
    padding: 2rem 1.5rem;
  }

  .visi-misi-title {
    font-size: 2rem;
    text-align: center;
  }

  .visi-text,
  .misi-list li {
    font-size: 1rem;
  }

  .visi-misi-image {
    margin-bottom: 2rem;
  }

  .falsafah-motto-wrapper {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }

  .falsafah-motto-divider {
    width: 100px;
    height: 1px;
  }
}

/* ===========================
   Highlight Detail Page
   =========================== */
.highlight-detail-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.highlight-detail-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.highlight-meta-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
  gap: 0;
}

.highlight-meta-bar .meta-left {
  display: flex;
  align-items: center;
}

.highlight-meta-bar .meta-separator {
  width: 1px;
  height: 20px;
  border-left: 1px dashed #cbd5e0;
  margin: 0 0.625rem;
}

.highlight-meta-bar .meta-right {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.highlight-meta-bar .meta-date {
  font-size: 0.9375rem;
  color: #1a202c;
  font-weight: 400;
}

.highlight-meta-bar .meta-share-label {
  font-size: 0.9375rem;
  color: #1a202c;
  font-weight: 400;
  margin-right: 0.5rem;
}

.highlight-meta-bar .meta-share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1.125rem;
  border: none;
}

.highlight-meta-bar .meta-share-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0.9;
}

.highlight-meta-bar .meta-share-icon.whatsapp {
  background-color: #25d366;
  color: white;
}

.highlight-meta-bar .meta-share-icon.facebook {
  background-color: #1877f2;
  color: white;
}

.highlight-meta-bar .meta-share-icon.copy {
  background-color: #1a202c;
  color: white;
}

.highlight-detail-image-wrapper {
  margin-bottom: 2.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.highlight-detail-image {
  width: 100%;
  height: auto;
  display: block;
}

.highlight-detail-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #2d3748;
}

.highlight-detail-content h2,
.highlight-detail-content h3,
.highlight-detail-content h4 {
  font-weight: 700;
  color: #1a202c;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.highlight-detail-content h2 {
  font-size: 1.75rem;
}

.highlight-detail-content h3 {
  font-size: 1.5rem;
}

.highlight-detail-content p {
  margin-bottom: 1.25rem;
}

.highlight-detail-content ul,
.highlight-detail-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.highlight-detail-content li {
  margin-bottom: 0.5rem;
}

.highlight-detail-content strong {
  font-weight: 600;
  color: #1a202c;
}

.highlight-detail-content a {
  color: #0891b2;
  text-decoration: underline;
}

.highlight-detail-content a:hover {
  color: #0e7490;
}

/* Responsive */
@media (max-width: 768px) {
  .highlight-detail-title {
    font-size: 1.5rem;
  }

  .highlight-meta-bar {
    gap: 1rem;
  }

  .highlight-meta-bar .meta-share {
    margin-left: 0;
    width: 100%;
  }

  .highlight-detail-content {
    font-size: 1rem;
  }
}

/* ============================================
   MOBILE NAVBAR / DRAWER
   ============================================ */
.mobile-menu-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: none;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 0; /* no gutters - edge to edge */
}
.mobile-menu-drawer.open,
.mobile-menu-drawer.show {
  display: flex;
}

/* Ensure Bootstrap offcanvas structure inside our mobile drawer is styled and visible */
.mobile-menu-drawer .offcanvas-body {
  background: #fff;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 12px 36px rgba(2,6,23,0.22);
  max-height: 96vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  transform: none !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.mobile-menu-drawer.show .offcanvas-body,
.mobile-menu-drawer.open .offcanvas-body {
  transform: translateY(0) !important;
}

/* Override Bootstrap offcanvas positioning/transform when used on mobile-menu-drawer */
.mobile-menu-drawer.offcanvas-start,
.mobile-menu-drawer.offcanvas {
  transform: none !important;
  visibility: visible !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}

.mobile-menu-drawer.show.offcanvas-start,
.mobile-menu-drawer.open.offcanvas-start,
.mobile-menu-drawer.show.offcanvas,
.mobile-menu-drawer.open.offcanvas {
  transform: none !important;
  visibility: visible !important;
}

/* Ensure backdrop covers full viewport when using Bootstrap offcanvas backdrop */
.offcanvas-backdrop.show { z-index: 9998; }
.mobile-menu-drawer { z-index: 9999; }
.mobile-menu-panel {
  /* edge-to-edge panel with rounded top corners */
  width: 100%;
  max-width: none;
  margin: 0;
  background: #fff;
  border-radius: 12px; /* rounded all corners */
  padding: 1.25rem;
  box-shadow: 0 12px 36px rgba(2,6,23,0.22);
  max-height: 96vh;
  overflow: auto;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

/* focus styles for keyboard users */
.mobile-menu-panel:focus {
  outline: none;
  box-shadow: 0 12px 36px rgba(2,6,23,0.28);
}

.mobile-menu-panel a:focus,
.mobile-menu-panel button:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0,75,135,0.10);
  border-radius: 6px;
}

/* Smooth entrance and touch behavior */
.mobile-menu-panel {
  will-change: transform, opacity;
  transform: translateY(6px);
  opacity: 0;
  transition: transform 220ms cubic-bezier(.22,.9,.3,1), opacity 180ms ease;
  touch-action: pan-y;
}
.mobile-menu-drawer.open .mobile-menu-panel {
  transform: translateY(0);
  opacity: 1;
}

/* Animated submenu using max-height to avoid layout thrash */
.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
}
.mobile-submenu.open {
  /* large enough to contain submenu content; JS will set explicit maxHeight when opening */
  max-height: 800px;
}

/* Slight elevation on panel edges to separate from overlay */
.mobile-menu-panel {
  box-shadow: 0 12px 36px rgba(2,6,23,0.22), 0 1px 0 rgba(255,255,255,0.02) inset;
}
.mobile-menu-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: var(--primary-600);
  cursor: pointer;
}
.mobile-menu-brand {
  text-align: left;
  padding: 0.5rem 0 1rem 0;
}
.mobile-menu-brand img { height: 42px; }
.mobile-menu-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu-nav li { margin: 0.5rem 0; }
.mobile-menu-nav a, .mobile-menu-nav button.submenu-toggle {
  display: block; width: 100%; text-align: left; padding: 0.6rem 0.25rem; font-size: 1.05rem; color: var(--primary-800); border: none; background: transparent; cursor: pointer;
}
.mobile-submenu { display: none; padding-left: 0.75rem; margin-top: 0.35rem; }
.has-submenu .mobile-submenu ul { list-style: none; padding: 0; margin: 0; }
.has-submenu .mobile-submenu li { margin: 0.25rem 0; }
.has-submenu .submenu-toggle[aria-expanded="true"] + .mobile-submenu { display: block; }
.mobile-submenu-box { background: #f4f6f8; border-radius: 12px; padding: 0.8rem; margin: 1rem 0; }
.mobile-submenu-box .submenu-heading { background: transparent; border: none; font-weight: 600; color: var(--primary-800); width: 100%; text-align: left; padding: 0; cursor: pointer; }
.mobile-contact { margin-top: 0.75rem; color: var(--primary-800); }
.mobile-contact .contact-line { display: flex; gap: 0.6rem; align-items: center; padding: 0.3rem 0; font-size: 0.9rem; }
.social-icons { display: flex; gap: 0.6rem; margin-top: 0.75rem; }
.social-icons a { color: var(--primary-800); font-size: 1.05rem; }
.mobile-cta { display: block; margin: 1rem 0 0 0; background: var(--primary-600); color: #fff; text-align: center; padding: 0.75rem 1rem; border-radius: 50px; text-decoration: none; font-weight: 700; }

@media (min-width: 992px) {
  .mobile-menu-drawer { display: none !important; }
}

/* Responsive adjustments for small screens */
@media (max-width: 768px) {
  .mobile-menu-panel { padding: 1rem; max-height: 100vh; }
  .mobile-menu-brand img { height: 40px; }
  .mobile-menu-close { top: 10px; right: 10px; font-size: 1.4rem; }
  .mobile-menu-nav a, .mobile-menu-nav button.submenu-toggle { padding: 0.85rem 0.5rem; font-size: 1rem; }
  .mobile-submenu { padding-left: 0.5rem; }
  .mobile-cta { padding: 0.85rem 1rem; font-size: 0.95rem; }
}

@media (max-width: 576px) {
  .mobile-menu-panel { padding: 0.75rem; border-radius: 12px; }
  .mobile-menu-brand img { height: 36px; }
  .mobile-menu-close { top: 8px; right: 8px; font-size: 1.5rem; }
  /* ensure touch hit targets >= 40px */
  .mobile-menu-nav a, .mobile-menu-nav button.submenu-toggle {
    padding-top: 0.9rem; padding-bottom: 0.9rem; padding-left: 0.6rem; padding-right: 0.6rem;
    font-size: 1rem;
  }
  .mobile-contact .contact-line { padding: 0.5rem 0; font-size: 0.95rem; }
  .mobile-cta { padding: 1rem; font-size: 1rem; border-radius: 10px; }
  .mobile-submenu-box { padding: 0.7rem; }
}

/* scrollbar touch-friendly */
.mobile-menu-panel::-webkit-scrollbar { width: 8px; }
.mobile-menu-panel::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.08); border-radius: 8px; }
