/* ==========================================================================
   RSUD Modern Healthcare Web Portal - Core Stylesheet
   Designed with Clean, Modern, Government-Grade Healthcare Aesthetics
   ========================================================================== */

:root {
  --primary: #0B5EA8;
  --primary-hover: #084982;
  --primary-light: #EBF4FC;
  --primary-gradient: linear-gradient(135deg, #0B5EA8 0%, #0077D4 100%);
  --dark-navy: #12304A;
  --dark-navy-light: #1c476c;
  --secondary: #00A99D;
  --secondary-hover: #00877d;
  --secondary-light: #E6F7F5;
  --accent-teal: #00C4B4;
  --emergency: #E53E3E;
  --emergency-hover: #C53030;
  --emergency-glow: rgba(229, 62, 62, 0.4);
  --light-bg: #F7FAFC;
  --card-bg: #FFFFFF;
  --text-main: #2D3748;
  --text-muted: #718096;
  --border-color: #E2E8F0;
  --card-radius: 16px;
  --btn-radius: 10px;
  --shadow-sm: 0 2px 8px rgba(18, 48, 74, 0.04);
  --shadow-md: 0 10px 25px rgba(11, 94, 168, 0.08);
  --shadow-lg: 0 20px 40px rgba(18, 48, 74, 0.12);
  --shadow-hover: 0 15px 35px rgba(11, 94, 168, 0.15);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Typography */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--light-bg);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-navy);
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

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

/* Top Bar */
.top-bar {
  background-color: var(--dark-navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.84rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
  color: rgba(255, 255, 255, 0.85);
}

.top-bar a:hover {
  color: var(--accent-teal);
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-item i {
  color: var(--secondary);
}

/* Main Navbar - Ultra-Modern Glassmorphic & Animated Luxury Header */
.main-navbar {
  background-color: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(11, 94, 168, 0.08);
  box-shadow: 0 4px 20px -2px rgba(11, 60, 104, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 13px 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}

/* Subtle Gradient Accent Hairline on Bottom of Navbar */
.main-navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(11, 94, 168, 0.3) 25%, 
      rgba(0, 169, 157, 0.45) 50%, 
      rgba(11, 94, 168, 0.3) 75%, 
      transparent 100%
  );
  opacity: 0.85;
}

.main-navbar.scrolled {
  padding: 8px 0;
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px -4px rgba(11, 60, 104, 0.10);
  border-bottom-color: rgba(11, 94, 168, 0.12);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(11, 60, 104, 0.12));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar-brand:hover .brand-logo {
  transform: scale(1.08) rotate(-3deg);
}

.brand-text h1 {
  font-size: 1.15rem;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.3px;
  font-weight: 800;
  color: var(--dark-navy, #12304A);
  transition: color 0.3s ease;
}

.brand-text h1:first-child {
  background: linear-gradient(135deg, #0B3C68 0%, #0B5EA8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-text h1:last-child {
  color: #0B5EA8;
}

.navbar-brand:hover .brand-text h1:last-child {
  color: var(--secondary, #00A99D);
}

.brand-text p {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
}

/* Nav Links - Magnetic Pill Styling */
.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.15px;
  color: #1e293b !important;
  padding: 8px 16px !important;
  border-radius: 50rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover {
  color: var(--primary, #0B5EA8) !important;
  background-color: rgba(11, 94, 168, 0.06);
  transform: translateY(-2px);
}

/* Active Nav Link (e.g. "Beranda") */
.nav-link.active {
  color: var(--primary, #0B5EA8) !important;
  background: linear-gradient(135deg, rgba(11, 94, 168, 0.09) 0%, rgba(2, 132, 199, 0.14) 100%);
  font-weight: 700;
  border: 1px solid rgba(11, 94, 168, 0.16);
  box-shadow: 0 2px 8px rgba(11, 94, 168, 0.08);
}

/* Custom Rotating Micro-Chevron for Dropdown */
.nav-link.dropdown-toggle::after {
  display: inline-block;
  margin-left: 6px;
  vertical-align: 1px;
  content: "";
  border: none;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item.dropdown:hover .nav-link.dropdown-toggle::after,
.nav-item.dropdown.show .nav-link.dropdown-toggle::after {
  transform: rotate(-135deg);
}

/* Dropdown Menu Entrance Animation & Luxury Styling */
@keyframes navDropdownSlide {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  animation: navDropdownSlide 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(11, 94, 168, 0.08);
  border-radius: 18px;
  box-shadow: 0 20px 45px -10px rgba(11, 60, 104, 0.16), 0 4px 12px rgba(0, 0, 0, 0.03);
  padding: 8px;
  margin-top: 8px;
  min-width: 230px;
}

.dropdown-item {
  font-weight: 600;
  font-size: 0.88rem;
  color: #1e293b;
  padding: 9px 14px;
  border-radius: 10px;
  transition: all 0.22s ease;
  margin-bottom: 2px;
}

.dropdown-item:hover {
  background: linear-gradient(90deg, rgba(11, 94, 168, 0.08) 0%, rgba(2, 132, 199, 0.04) 100%);
  color: var(--primary, #0B5EA8);
  transform: translateX(5px);
}

.dropdown-divider {
  border-color: rgba(11, 94, 168, 0.08);
}

/* ==========================================================================
   DAFTAR ONLINE BUTTON - EXECUTIVE ANIMATED ACTION BUTTON
   ========================================================================== */
.nav-btn-daftar-online {
  background: linear-gradient(135deg, #0B5EA8 0%, #0284c7 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 50rem !important;
  padding: 10px 24px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 16px rgba(11, 94, 168, 0.32), 0 2px 4px rgba(2, 132, 199, 0.15) !important;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer;
}

/* Shimmer Light Sweep Effect across Button */
.nav-btn-daftar-online::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.40), transparent);
  transform: skewX(-25deg);
  animation: navBtnShimmer 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes navBtnShimmer {
  0%, 65% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

.nav-btn-daftar-online:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(11, 94, 168, 0.45), 0 0 16px rgba(2, 132, 199, 0.35) !important;
  color: #ffffff !important;
}

.nav-btn-daftar-online:active {
  transform: translateY(0) scale(0.98);
}

.nav-btn-daftar-online i {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-btn-daftar-online:hover i {
  transform: scale(1.22) rotate(-8deg);
}

/* Sub links in Mega Dropdown */
.dropdown-sub-link {
  display: flex;
  align-items: center;
  padding: 7px 12px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--dark-navy);
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition);
}

.dropdown-sub-link:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  transform: translateX(4px);
}

.dropdown-sub-link.active {
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
}

/* Layanan dropdown inherits the standard Bootstrap navbar dropdown styling. */

/* Utilities & Service Spec Cards */
.hover-bg-light {
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hover-bg-light:hover {
  background-color: #f1f5f9 !important;
}

.fs-7 {
  font-size: 0.76rem !important;
}

.card-badge-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(18, 48, 74, 0.88);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.card-badge-sub {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.card-text-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spec-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
  transition: var(--transition);
}

.spec-box:hover {
  background: #FFFFFF;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Buttons */
.btn-primary-custom {
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  border-radius: var(--btn-radius);
  padding: 10px 22px;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(11, 94, 168, 0.25);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, #084982 0%, #0060aa 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 94, 168, 0.35);
}

.btn-secondary-custom {
  background-color: var(--secondary);
  color: #fff;
  border: none;
  border-radius: var(--btn-radius);
  padding: 10px 22px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary-custom:hover {
  background-color: var(--secondary-hover);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: var(--btn-radius);
  padding: 9px 20px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-custom:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-emergency {
  background-color: var(--emergency);
  color: #fff;
  border: none;
  border-radius: var(--btn-radius);
  padding: 8px 18px;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 4px 12px var(--emergency-glow);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-emergency:hover {
  background-color: var(--emergency-hover);
  color: #fff;
  transform: scale(1.03);
}

/* Hero Section */
.hero-section {
  position: relative;
  background-color: var(--dark-navy);
  color: #fff;
  padding: 80px 0 100px;
  overflow: hidden;
}

/* Blurred Hospital Background Image */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/igd1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(0.5px);
  transform: scale(1.03);

  z-index: 1;
  pointer-events: none;
}

/* Blue Gradient Overlay */
.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(11, 60, 104, 0.68) 0%, rgba(18, 48, 74, 0.74) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-teal);
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  max-width: 540px;
}

.hero-emergency-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--card-radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--emergency);
  margin-top: 30px;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.hero-image-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.hero-float-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(18, 48, 74, 0.9);
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Quick Menu Cards */
.quick-menu-section {
  margin-top: -50px;
  position: relative;
  z-index: 10;
  margin-bottom: 50px;
}

.quick-card {
  background: #fff;
  border-radius: var(--card-radius);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  height: 100%;
  color: var(--dark-navy);
}

.quick-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
  color: var(--primary);
}

.quick-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
}

.quick-card:hover .quick-card-icon {
  background: var(--primary-gradient);
  color: #fff;
  transform: rotate(6deg) scale(1.05);
}

.quick-card-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0;
}

/* Modern Card Layouts */
.modern-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.modern-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e0;
}

.card-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 200px;
  background-color: #e2e8f0;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.modern-card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(18, 48, 74, 0.85);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

/* Statistics Counter Section */
.stat-section {
  background: var(--dark-navy);
  color: #fff;
  padding: 60px 0;
  position: relative;
}

.stat-item {
  text-align: center;
  padding: 16px 8px;
}

.stat-number {
  font-size: clamp(2.1rem, 3vw, 3rem);
  font-weight: 800;
  color: var(--accent-teal);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .stat-label {
    white-space: normal;
  }
}

/* Section Header Component */
.section-header {
  margin-bottom: 40px;
  text-align: center;
}

.section-subtitle {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: inline-block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 12px;
}

.section-line {
  width: 60px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 2px;
  margin: 0 auto;
}

/* Doctor Cards */
.doctor-card {
  background: #fff;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.doctor-img-box {
  position: relative;
  height: 240px;
  background: linear-gradient(180deg, #e6f0fa 0%, #cbdff5 100%);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.doctor-img-box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.doctor-card:hover .doctor-img-box img {
  transform: scale(1.04);
}

.doctor-specialty-badge {
  position: absolute;
  bottom: 12px;
  background: rgba(11, 94, 168, 0.9);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.doctor-info {
  padding: 20px 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.doctor-name {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 4px;
}

.doctor-poly {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

/* Doctor Today Schedule Badge (Green Pulse Dot) */
.doctor-today-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(16, 185, 129, 0.45);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border-radius: 30px;
  padding: 4px 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #065f46;
  z-index: 5;
  backdrop-filter: blur(8px);
}

.status-pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8);
  animation: doctorPulse 1.8s infinite;
}

@keyframes doctorPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Doctor Slider Container — Auto-scroll infinite marquee */
.doctor-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Fade edges untuk efek premium */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.doctor-slider-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 8px 4px 16px 4px;
  cursor: grab;
  user-select: none;
  /* Animasi auto-scroll ke kiri, lambat */
  animation: doctorMarquee var(--marquee-duration, 40s) linear infinite;
  will-change: transform;
}

.doctor-slider-track.paused {
  animation-play-state: paused;
}

.doctor-slider-track:active {
  cursor: grabbing;
  animation-play-state: paused;
}

.doctor-slider-track::-webkit-scrollbar {
  display: none;
}

@keyframes doctorMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(var(--marquee-shift, -50%));
  }
}

/* Item ukuran tetap (fixed width) agar marquee bisa dihitung */
.doctor-slide-item {
  flex: 0 0 280px;
  width: 280px;
}

@media (max-width: 991.98px) {
  .doctor-slide-item {
    flex: 0 0 240px;
    width: 240px;
  }
}

@media (max-width: 575.98px) {
  .doctor-slide-item {
    flex: 0 0 210px;
    width: 210px;
  }
}

/* Slider Controls (Prev / Next Buttons) */
.doctor-slider-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.doctor-slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: all 0.25s ease;
}

.doctor-slider-btn:hover:not(:disabled) {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(11, 94, 168, 0.3);
  transform: translateY(-2px);
}

.doctor-slider-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Gallery Grid */
.gallery-card {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 220px;
  cursor: pointer;
  background: #000;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(18, 48, 74, 0.85) 0%, rgba(18, 48, 74, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-card:hover img {
  transform: scale(1.08);
  opacity: 0.85;
}

.gallery-overlay h6 {
  color: #fff;
  font-size: 0.95rem;
  margin: 0;
  font-weight: 700;
}

/* Floating Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1020;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.float-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  color: #fff;
  font-size: 1.35rem;
  transition: var(--transition);
  text-decoration: none;
  border: none;
}

.float-btn:hover {
  transform: scale(1.1);
  color: #fff;
}

.float-btn-kr {
  background: linear-gradient(135deg, #0B5EA8 0%, #00A99D 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(11, 94, 168, 0.4);
}

.float-btn-wa {
  background-color: #25D366;
}

.float-btn-igd {
  background-color: var(--emergency);
  animation: pulse-emergency 2s infinite;
}

.float-btn-top {
  background-color: var(--dark-navy);
  opacity: 0;
  visibility: hidden;
}

.float-btn-top.visible {
  opacity: 1;
  visibility: visible;
}

@keyframes pulse-emergency {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.7);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(229, 62, 62, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(229, 62, 62, 0);
  }
}

/* Footer */
.main-footer {
  background-color: var(--dark-navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 0;
  position: relative;
}

.footer-heading {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-teal);
  transform: translateX(5px);
}

.footer-bottom {
  background-color: #0b1f30;
  padding: 20px 0;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
}

.social-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: var(--transition);
}

.social-circle:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

/* Profile Tabs / Tree Organization */
.profile-sidebar .list-group-item {
  border: none;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--dark-navy);
  border-radius: 10px !important;
  margin-bottom: 8px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-sidebar .list-group-item.active {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 6px 15px rgba(11, 94, 168, 0.25);
}

.org-card {
  background: #fff;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.org-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.org-card.leader {
  background: linear-gradient(135deg, #0B5EA8 0%, #12304A 100%);
  color: #fff;
  border: none;
}

.org-card.leader h5,
.org-card.leader p {
  color: #fff;
}

/* Admin Dashboard Elements */
.admin-sidebar {
  width: 270px;
  min-width: 270px;
  max-width: 270px;
  height: 100vh;
  position: sticky;
  top: 0;
  left: 0;
  background: var(--dark-navy);
  color: #fff;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1020;
  transition: var(--transition);
  padding: 16px;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.08);
}

.admin-sidebar::-webkit-scrollbar {
  width: 4px;
}

.admin-sidebar::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

.admin-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.admin-sidebar .nav-link {
  color: rgba(255, 255, 255, 0.75) !important;
  padding: 10px 14px !important;
  border-radius: 10px;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.admin-sidebar .nav-link:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(2px);
}

.admin-sidebar .nav-link.active {
  color: #fff !important;
  background: linear-gradient(135deg, var(--primary) 0%, #0077D4 100%);
  box-shadow: 0 4px 12px rgba(11, 94, 168, 0.35);
}

.admin-sidebar .sidebar-icon {
  width: 20px;
  text-align: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.admin-sidebar .sidebar-submenu {
  padding-left: 14px;
  margin-top: 2px;
  margin-bottom: 6px;
  border-left: 2px solid rgba(255, 255, 255, 0.15);
  margin-left: 16px;
}

.admin-sidebar .sidebar-submenu .nav-link {
  padding: 7px 12px !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.65) !important;
  border-radius: 8px;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
}

.admin-sidebar .sidebar-submenu .nav-link:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(3px);
}

.admin-sidebar .sidebar-submenu .nav-link.active {
  color: #fff !important;
  background: rgba(11, 94, 168, 0.6);
  font-weight: 600 !important;
  box-shadow: none;
}

.admin-sidebar .dropdown-chevron {
  transition: transform 0.25s ease;
  font-size: 0.72rem;
  margin-left: auto;
}

.admin-sidebar .nav-link[aria-expanded="true"] .dropdown-chevron {
  transform: rotate(180deg);
}

.badge-notify-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff !important;
  background-color: #ef4444 !important;
  border-radius: 10px;
  line-height: 1;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .admin-sidebar {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: auto;
    min-height: auto;
    position: relative;
    top: auto;
    box-shadow: none;
  }
}


.admin-stat-card {
  border-radius: var(--card-radius);
  border: none;
  box-shadow: var(--shadow-sm);
  padding: 22px;
  transition: var(--transition);
}

.admin-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-image-wrapper img {
    height: 320px;
  }

  .quick-menu-section {
    margin-top: 20px;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .top-bar {
    display: none;
  }

  .stat-number {
    font-size: 2.2rem;
  }
}

/* =========================================================================
   CAROUSEL LAYANAN UNGGULAN (BERANDA)
   ========================================================================= */
.layanan-slide-item {
  width: calc((100% - 40px) / 3);
  min-width: calc((100% - 40px) / 3);
}

@media (max-width: 991.98px) {
  .layanan-slide-item {
    width: calc((100% - 20px) / 2);
    min-width: calc((100% - 20px) / 2);
  }
}

@media (max-width: 575.98px) {
  .layanan-slide-item {
    width: 100%;
    min-width: 100%;
  }
}

.layanan-banner-card {
  height: 380px;
  border-radius: 20px !important;
  background-color: #0B3C68;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.layanan-banner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(11, 60, 104, 0.22) !important;
}

.layanan-banner-card .layanan-banner-img {
  transition: transform 0.6s ease;
  object-fit: cover;
}

.layanan-banner-card:hover .layanan-banner-img {
  transform: scale(1.06);
}

.layanan-banner-overlay {
  background: linear-gradient(180deg, rgba(11, 48, 74, 0) 30%, rgba(11, 48, 74, 0.75) 65%, rgba(11, 48, 74, 0.96) 100%);
  min-height: 55%;
}

.layanan-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  cursor: pointer;
}

.layanan-nav-btn:hover {
  background-color: #0B3C68;
  border-color: #0B3C68;
  color: #ffffff;
}

.layanan-fraction {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0B3C68;
  letter-spacing: 0.5px;
  min-width: 3.5rem;
}

.layanan-progress-track {
  width: 100%;
  height: 4px;
  background-color: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.layanan-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #14b8a6, #0B3C68);
  border-radius: 999px;
  transition: width 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  width: 0%;
}

/* =========================================================================
   NEWS CATEGORY FILTER (HOMEPAGE & BERITA PAGE)
   ========================================================================= */
.news-category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-category-btn {
  background-color: #ffffff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: var(--btn-radius);
  padding: 8px 22px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.5;
}

.news-category-btn:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.news-category-btn.active,
.news-category-btn.active:hover {
  background: var(--primary-gradient);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(11, 94, 168, 0.25);
}

/* ==========================================================================
   HERO BANNER SLIDER
   ========================================================================== */

.hero-slider-wrapper {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid rgba(11, 94, 168, 0.25);
  box-shadow: 0 8px 32px rgba(11, 94, 168, 0.18);
  background: #f0f5fb;
  user-select: none;
  transition: height 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slider-track {
  position: relative;
  width: 100%;
  overflow: hidden;
  transition: height 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: height;
}

/* Spacer: invisible first image that sets container height */
.hero-slide-spacer {
  display: block;
  width: 100%;
  height: auto;
  visibility: hidden;
  pointer-events: none;
}

/* All slides absolutely fill the track */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

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

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* show full poster, no crop */
  display: block;
  background: #f0f5fb;
}

/* Dot Indicators */
.hero-slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}

.hero-dot.active {
  background: #fff;
  transform: scale(1.4);
}

/* Responsive */
@media (max-width: 991.98px) {
  .hero-slider-wrapper {
    border-radius: 12px;
    margin-top: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .hero-slider-wrapper {
    border-radius: 8px;
    border-width: 2px;
  }
}

/* ==========================================================================
   Multi-Step Pendaftaran Pasien Online Modal Styles
   ========================================================================== */
.modal-step-pane {
  display: none;
  animation: modalFadeIn 0.3s ease;
}

.modal-step-pane.active {
  display: block;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.patient-choice-card {
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  padding: 24px 20px;
  text-align: center;
  transition: all 0.25s ease;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.patient-choice-card:hover {
  border-color: var(--primary-blue, #0B5EA8);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11, 94, 168, 0.12);
  color: inherit;
}

.patient-choice-card.active {
  border-color: var(--primary-blue, #0B5EA8);
  background: #f0f7ff;
}

.patient-choice-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 14px;
  transition: all 0.25s ease;
}

.patient-choice-card:hover .patient-choice-icon {
  transform: scale(1.1);
}

.otp-input-field {
  font-size: 2rem !important;
  font-weight: 800 !important;
  letter-spacing: 12px;
  text-align: center;
  border: 2px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 16px;
  color: #0B3C68;
  background-color: #f8fafc;
  transition: all 0.2s ease;
}

.otp-input-field:focus {
  border-color: var(--primary-blue, #0B5EA8);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(11, 94, 168, 0.15);
}

.prefilled-message-box {
  background: #f8fafc;
  border: 1px dashed #94a3b8;
  border-radius: 10px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.84rem;
  color: #1e293b;
  white-space: pre-wrap;
  padding: 12px 16px;
  line-height: 1.6;
}

/* ==========================================================================
   Header Banner Batik Ornament
   Menampilkan ornamen batik/ukiran Minangkabau di tepi bawah-kiri & atas-kanan header banner & section
   ========================================================================== */
.header-banner-batik {
  position: relative !important;
  overflow: hidden !important;
}

/* Ornamen kiri-bawah (asli) */
.header-banner-batik::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 260px;
  height: 276px;
  max-width: 42vw;
  max-height: 100%;
  background-image: url('../images/header-batik.png');
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: contain;
  opacity: 0.24;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease;
}

/* Ornamen kanan-atas (dibalik horizontal & vertikal → pas di sudut kanan-atas) */
.header-banner-batik::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 260px;
  height: 276px;
  max-width: 42vw;
  max-height: 100%;
  background-image: url('../images/header-batik-flip.png');
  background-repeat: no-repeat;
  background-position: top right;
  background-size: contain;
  opacity: 0.24;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.header-banner-batik>.container,
.header-banner-batik>.container-fluid {
  position: relative;
  z-index: 1;
}

/* Pastikan elemen absolute lain di dalam banner tetap benar z-index-nya */
.header-banner-batik>[class*="position-absolute"] {
  z-index: 0;
}

@media (max-width: 576px) {

  .header-banner-batik::before,
  .header-banner-batik::after {
    width: 170px;
    height: 180px;
    max-width: 48vw;
    opacity: 0.18;
  }
}

/* Modern Category Dropdown & Sub-category Filter */
.dropdown-menu-modern {
  border-radius: 18px !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 16px 38px rgba(11, 48, 74, 0.14), 0 4px 12px rgba(0, 0, 0, 0.04) !important;
  padding: 10px !important;
  animation: fadeInMenu 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 280px;
}

@keyframes fadeInMenu {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-menu-modern .dropdown-item {
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark-navy);
  transition: all 0.2s ease;
}

.dropdown-menu-modern .dropdown-item:hover {
  background-color: #F1F5F9;
  color: var(--primary);
  transform: translateX(3px);
}

.dropdown-menu-modern .dropdown-item.active {
  color: #fff !important;
  font-weight: 600;
}

.sub-chip-btn {
  border: 1px solid #E2E8F0;
  background-color: #FFFFFF;
  color: #475569;
  border-radius: 50rem;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sub-chip-btn:hover {
  background-color: #F8FAFC;
  border-color: #CBD5E1;
  color: var(--primary);
  transform: translateY(-1px);
}

.sub-chip-btn.active-primary {
  background: var(--primary-gradient);
  border-color: transparent;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(11, 94, 168, 0.28);
}

.sub-chip-btn.active-success {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  border-color: transparent;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.28);
}

.sub-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ==========================================================================
   ANIMATED "DALAM PENGEMBANGAN" MODAL & SYSTEM UPGRADE PRESENTATION
   ========================================================================== */
.dev-modal-content {
  border-radius: 24px !important;
  border: none !important;
  box-shadow: 0 25px 60px -15px rgba(11, 48, 74, 0.35) !important;
  overflow: hidden;
  background: #ffffff;
}

.dev-modal-header {
  background: linear-gradient(135deg, #091e3a 0%, #0B3C68 55%, #1d4ed8 100%);
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.dev-modal-header::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(56, 189, 248, 0) 70%);
  pointer-events: none;
}

.dev-icon-stage {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dev-pulse-ring-outer {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px dashed rgba(11, 94, 168, 0.35);
  animation: devSpin 24s linear infinite;
}

.dev-pulse-ring-inner {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, rgba(14, 165, 233, 0) 70%);
  animation: devPulseGlow 2.5s ease-in-out infinite;
}

.dev-icon-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #0B3C68 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 2.5rem;
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.35);
  position: relative;
  z-index: 2;
  animation: devFloat 3.6s ease-in-out infinite;
}

.dev-orbit-badge {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  z-index: 3;
}

.dev-orbit-badge.gear {
  top: -4px;
  right: -4px;
  color: #f59e0b;
  animation: devSpin 8s linear infinite;
}

.dev-orbit-badge.spark {
  bottom: 0px;
  left: -4px;
  color: #10b981;
  animation: devPulseGlow 2s ease-in-out infinite;
}

@keyframes devFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}

@keyframes devPulseGlow {
  0%, 100% { transform: scale(0.96); opacity: 0.6; }
  50% { transform: scale(1.06); opacity: 1; }
}

@keyframes devSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.badge-dev-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  border: 1px solid #fcd34d;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.badge-dev-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d97706;
  animation: devDotPing 1.8s infinite cubic-bezier(0, 0, 0.2, 1);
}

@keyframes devDotPing {
  0% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(217, 119, 6, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
}

/* Feature preview mini cards */
.dev-feature-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  transition: all 0.25s ease;
  height: 100%;
}

.dev-feature-card:hover {
  background: #ffffff;
  border-color: #38bdf8;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.12);
}

.dev-feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

/* Shimmer Progress Track */
.dev-progress-box {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 18px;
}

.dev-progress-track {
  height: 8px;
  background-color: #cbd5e1;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.dev-progress-fill {
  height: 100%;
  width: 82%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0284c7 0%, #14b8a6 50%, #0B3C68 100%);
  background-size: 200% 100%;
  animation: devShimmer 2.2s infinite linear;
}

@keyframes devShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Alternative channels */
.dev-alt-channel-btn {
  border-radius: 12px;
  padding: 12px 18px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #1e293b;
  transition: all 0.25s ease;
}

.dev-alt-channel-btn:hover {
  border-color: #0B3C68;
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 60, 104, 0.08);
  color: #0B3C68;
}