/* ============================================================
   ClinicVIP – Main Stylesheet (hoanmy.com inspired)
   Primary: #0090a1 | Text: #1a1a2e
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary:       #0090a1;
  --primary-dark:  #007a8a;
  --primary-light: #e0f5f7;
  --accent:        #f28b00;
  --text:          #1a1a2e;
  --text-muted:    #666;
  --bg:            #ffffff;
  --bg-light:      #f8fafb;
  --border:        #e8edf2;
  --white:         #ffffff;
  --shadow-sm:     0 2px 8px rgba(0,0,0,.06);
  --shadow-md:     0 8px 24px rgba(0,0,0,.10);
  --radius:        10px;
  --transition:    all .3s ease;
  --header-h:      60px;   /* main-header height */
}

/* ---------- Reset ---------- */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color:var(--text); background:var(--bg); line-height:1.6; font-size:16px; overflow-x:hidden; }
a { text-decoration:none; color:inherit; transition:var(--transition); }
ul { list-style:none; }
img { max-width:100%; height:auto; display:block; }
button { font-family:inherit; cursor:pointer; }

/* ---------- Container ---------- */
.container { width:100%; max-width:1200px; margin:0 auto; padding:0 20px; }

/* ---------- Utilities ---------- */
.text-center { text-align:center; }
.bg-light    { background:var(--bg-light); }
.section-spacer    { height:48px; }
.section-spacer-sm { height:28px; }
.required { color:#e53e3e; }
.alert { display:flex; align-items:center; gap:10px; padding:12px 16px; border-radius:8px; margin-bottom:16px; font-size:.9rem; }
.alert-success { background:#e6f9f0; color:#2e7d32; border:1px solid #a5d6a7; }
.alert-error   { background:#fce4ec; color:#c62828; border:1px solid #ef9a9a; }

/* ---------- Buttons ---------- */
.btn-primary,
.btn-outlined,
.btn-white-outline,
.btn-booking {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-width: 210px;
  height: 48px;
  padding: 0 28px; 
  border-radius: 50px;
  font-weight: 700; 
  font-size: .92rem; 
  box-sizing: border-box;
  transition: gap 0.32s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent; 
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary { background:var(--primary); color:#fff; border-color:var(--primary); box-shadow: 0 4px 14px rgba(0, 144, 161, 0.25); }
.btn-primary:hover { background:var(--primary-dark); border-color:var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 144, 161, 0.35); }
.btn-outlined { background:#ffffff; border-color:var(--primary); color:var(--primary); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); }
.btn-outlined:hover { background:#ffffff; color:var(--primary-dark); border-color:var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 144, 161, 0.18); }
.btn-white-outline { background:transparent; border-color:#fff; color:#fff; font-size:.88rem; min-width: 170px; height: 44px; border-radius:50px; }
.btn-white-outline:hover { background:#fff; color:var(--primary); transform: translateY(-2px); }
.btn-sm { min-width: 140px; height: 38px; padding: 0 18px; font-size:.82rem; border-radius:50px; }
.btn-lg { min-width: 240px; height: 52px; padding: 0 34px; font-size:1rem; border-radius:50px; }
.btn-block { width:100%; min-width:100%; justify-content:center; margin-bottom:0; }
.cta-group { display:flex; flex-wrap:wrap; gap:16px; justify-content:center; align-items:center; }
.cta-group .btn-primary,
.cta-group .btn-outlined {
  min-width: 215px;
  height: 48px;
}

/* Button Text & Icon Animations on Hover */
.btn-primary span,
.btn-outlined span,
.btn-white-outline span,
.btn-booking span,
.news-read-more span,
.seemore-link span {
  display: inline-block;
  transition: transform 0.32s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary i,
.btn-outlined i,
.btn-white-outline i,
.btn-booking i,
.btn-sm i,
.btn-lg i,
.news-read-more i,
.seemore-link i {
  transition: transform 0.32s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-block;
}

/* 1. Mũi tên chỉ hướng: CẢ CHỮ VÀ MŨI TÊN CÙNG GIÃN RA */
.btn-primary:hover,
.btn-outlined:hover,
.btn-white-outline:hover,
.btn-booking:hover {
  gap: 14px;
}

.btn-primary:hover span,
.btn-outlined:hover span,
.btn-white-outline:hover span,
.btn-booking:hover span,
.news-read-more:hover span,
.package-card:hover .seemore-link span {
  transform: translateX(-4px); /* Chữ lùi sang trái */
}

.btn-primary:hover i.fa-arrow-right,
.btn-primary:hover i.fa-chevron-right,
.btn-outlined:hover i.fa-arrow-right,
.btn-outlined:hover i.fa-chevron-right,
.btn-white-outline:hover i.fa-arrow-right,
.btn-white-outline:hover i.fa-chevron-right,
.btn-booking:hover i.fa-arrow-right,
.btn-booking:hover i.fa-chevron-right,
.news-read-more:hover i,
.package-card:hover .seemore-link i {
  transform: translateX(6px); /* Mũi tên tiến sang phải */
}

/* 2. Icon bên trái: Thu gần về phía chữ khi hover */
.btn-primary:hover i:not(.fa-arrow-right):not(.fa-chevron-right),
.btn-outlined:hover i:not(.fa-arrow-right):not(.fa-chevron-right),
.btn-white-outline:hover i:not(.fa-arrow-right):not(.fa-chevron-right),
.btn-booking:hover i:not(.fa-arrow-right):not(.fa-chevron-right) {
  transform: translateX(4px) scale(1.12);
}

/* ---------- Section Titles ---------- */
.section { padding:64px 0; }
.section-header { margin-bottom:8px; }
.section-badge {
  display:inline-block; padding:4px 16px; border-radius:20px;
  background:var(--primary-light); color:var(--primary);
  font-size:.78rem; font-weight:700; letter-spacing:.5px; text-transform:uppercase; margin-bottom:10px;
}
.section-title { font-size:2rem; font-weight:800; color:var(--text); margin-bottom:12px; line-height:1.25; }
.section-desc  { font-size:1rem; color:var(--text-muted); max-width:600px; margin:0 auto; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header { position:fixed; top:0; left:0; width:100%; z-index:999; }

/* Pre-header */
.pre-header { background:var(--primary); color:#fff; padding:7px 0; font-size:.82rem; }
.pre-header-inner { display:flex; justify-content:flex-end; align-items:center; gap:22px; }
.pre-header-info { display:flex; align-items:center; gap:20px; }
.info-item { display:flex; align-items:center; gap:7px; color:#fff; font-weight:600; text-decoration:none; transition:opacity 0.2s; }
.info-item:hover { opacity: 0.85; }
.info-item i { font-size:.82rem; }
.pre-header-divider { width: 1px; height: 14px; background: rgba(255, 255, 255, 0.4); }
.pre-header-social { display:flex; align-items:center; gap:12px; }
.pre-header-social a { color:#fff; width:24px; height:24px; display:flex; align-items:center; justify-content:center; transition: transform 0.2s, color 0.2s; }
.pre-header-social a:hover { transform: scale(1.15); color:var(--accent); }

/* Main header */
.main-header { background:#fff; border-bottom:1px solid var(--border); }
.site-header .container { max-width: 1260px; }
.header-inner { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:10px 0; flex-wrap:nowrap; }

/* Logo */
.site-logo { 
  display: inline-flex; 
  align-items: center; 
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo-img { 
  height: 44px; 
  max-width: 220px; 
  width: auto; 
  object-fit: contain; 
  display: block; 
  transition: transform .3s ease;
}
.site-logo:hover .site-logo-img {
  transform: scale(1.02);
}
.footer-logo-img {
  max-height: 45px;
  filter: brightness(0) invert(1); /* Sharp white filter for dark footer */
  opacity: 0.95;
}

/* Desktop nav */
.desktop-nav { flex-shrink: 0; }
.nav-menu { display:flex; align-items:center; gap:2px; flex-wrap:nowrap; margin:0; padding:0; list-style:none; }
.nav-link { 
  display:inline-block; 
  position: relative;
  padding: 8px 10px; 
  font-size: .92rem; 
  font-weight: 700; 
  color: var(--text); 
  background: transparent !important;
  text-decoration: none;
  white-space: nowrap !important;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 10px;
  right: 10px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.nav-link:hover,
.nav-link.active { 
  color: var(--primary) !important; 
  background: transparent !important;
}
.nav-link:hover::after,
.nav-link.active::after { 
  transform: scaleX(1);
}

/* Header Actions & Booking btn */
.header-actions { flex-shrink: 0; display: flex; align-items: center; gap: 12px; }
.btn-booking {
  background:var(--primary); color:#fff; padding:9px 18px;
  border-radius:50px; font-weight:700; font-size:.85rem;
  display:flex; align-items:center; gap:8px;
  white-space: nowrap !important;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 144, 161, 0.25);
  transition: var(--transition);
}
.btn-booking:hover { background:var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 144, 161, 0.35); }

/* Mobile toggle (hamburger) */
.mobile-toggle { display:none; flex-direction:column; gap:5px; background:none; border:none; padding:6px; }
.mobile-toggle span { display:block; width:24px; height:2px; background:var(--text); border-radius:2px; transition:var(--transition); }

/* ---------- Mobile Full-Width Dropdown Menu ---------- */
.mobile-drawer { display: none; }
.mobile-drawer.open { display: block; }
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1098;
  animation: drawerFadeIn 0.3s ease;
}
.drawer-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 88vh;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
  z-index: 1099;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
}
.mobile-drawer.open .drawer-panel {
  transform: translateY(0);
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(0, 144, 161, 0.08);
}
.drawer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--text);
}
.drawer-logo img {
  max-height: 38px;
  width: auto;
}
.drawer-close {
  background: rgba(0, 0, 0, 0.04);
  border: none;
  font-size: 1.25rem;
  color: #64748b;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.drawer-close:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--primary);
}
.drawer-nav {
  padding: 24px 20px 14px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.drawer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  text-align: center;
}
.drawer-nav ul li {
  width: 100%;
  text-align: center;
}
.drawer-nav ul li a {
  display: block;
  text-align: center;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--primary);
  background: transparent !important;
  transition: color 0.2s ease;
  text-decoration: none;
  letter-spacing: -0.2px;
  -webkit-tap-highlight-color: transparent;
}
.drawer-nav ul li a:hover,
.drawer-nav ul li a:active {
  color: var(--primary-dark);
  background: transparent !important;
}
.drawer-cta {
  padding: 10px 20px 28px 20px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.btn-booking-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff !important;
  background: var(--primary);
  border: none;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 144, 161, 0.35);
  transition: all 0.25s ease;
  text-align: center;
}
.btn-booking-mobile:hover,
.btn-booking-mobile:active {
  background: var(--primary-dark);
  box-shadow: 0 8px 22px rgba(0, 144, 161, 0.45);
  transform: translateY(-2px);
}
.btn-booking-mobile i {
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}
.btn-booking-mobile:hover i {
  transform: translateX(4px);
}

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

/* ============================================================
   HERO / BANNER SLIDER
   ============================================================ */
.hero-section { 
  position: relative; 
  margin-top: 0; 
}
/* Push hero below 2-tier header (~96px) */
body { padding-top:96px; }
.hero-slider { position:relative; }
.slide-item { position:relative; overflow:hidden; }
.banner-img { 
  width: 100%; 
  height: calc(100vh - 96px); 
  min-height: 750px;
  max-height: 920px;
  overflow: hidden; 
}
.banner-img img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
}
.banner-overlay {
  position: absolute; 
  inset: 0; 
  display: flex; 
  align-items: center;
  background: linear-gradient(90deg, rgba(0,0,0,.68) 0%, rgba(0,0,0,.25) 55%, transparent 100%);
  padding-bottom: 110px; /* Space for the quick access bar inside the banner */
}
.banner-content { color:#fff; max-width:700px; }
.banner-content h1 { font-size:3.2rem; font-weight:800; margin-bottom:18px; text-shadow:0 2px 12px rgba(0,0,0,.45); line-height: 1.2; }
.banner-content p  { font-size:1.25rem; opacity:.95; text-shadow:0 1px 8px rgba(0,0,0,.35); line-height: 1.6; }

/* ============================================================
   GLOBAL SLICK DOTS PAGINATION
   ============================================================ */
.slick-dots {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0 0;
  position: static;
}

.slick-dots li {
  margin: 0;
  padding: 0;
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
}

.slick-dots li button {
  width: 10px;
  height: 10px;
  padding: 0;
  background: #bce7eb; /* Màu xanh nhạt thương hiệu */
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  font-size: 0;
  line-height: 0;
  outline: none;
}

.slick-dots li button::before {
  display: none !important;
  content: none !important;
}

/* Chấm phân trang đang Active: Nổi bật màu xanh chủ đạo #0090a1 & Dài ra dạng Pill */
.slick-dots li.slick-active button {
  background: var(--primary);
  width: 28px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 144, 161, 0.45);
}

.slick-dots li:hover button {
  background: var(--primary-dark);
}

/* Hero banner dots (nằm trên nền ảnh) */
.hero-slider .slick-dots { 
  position: absolute;
  bottom: 135px; 
  left: 0;
  right: 0;
  margin: 0;
  z-index: 15;
}
.hero-slider .slick-dots li button { 
  background: rgba(255, 255, 255, 0.55); 
}
.hero-slider .slick-dots li.slick-active button { 
  background: var(--primary);
  width: 28px;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 144, 161, 0.6); 
}
.hero-slider .slick-prev,.hero-slider .slick-next { z-index:10; }

/* Quick Access Bar - Positioned inside the banner area */
.quick-access-bar { 
  position: absolute;
  bottom: 35px;
  left: 0;
  right: 0;
  z-index: 20;
  background: transparent; 
  box-shadow: none; 
}
.quick-access-inner { 
  display: flex; 
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.qa-item {
  flex: 1; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 16px;
  padding: 22px 18px; 
  color: var(--text); 
  font-weight: 700; 
  font-size: 1.02rem;
  transition: gap 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.3s ease, border-color 0.3s ease; 
  border-bottom: 4px solid transparent;
  background: transparent;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.qa-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(0, 144, 161, 0.16) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.qa-icon { 
  font-size: 1.45rem; 
  color: var(--primary); 
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.qa-label {
  transition: color 0.3s ease, font-weight 0.3s ease;
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

/* Hover effect: Thu hẹp khoảng cách tự nhiên mà không bao giờ bị đè */
.qa-item:hover { 
  color: var(--primary-dark); 
  border-bottom-color: var(--primary); 
  gap: 9px;
}
.qa-item:hover::before {
  opacity: 1;
}
.qa-item:hover .qa-icon {
  transform: scale(1.14);
  color: var(--primary);
  filter: drop-shadow(0 2px 5px rgba(0, 144, 161, 0.35));
}
.qa-item:hover .qa-label {
  color: var(--primary-dark);
}
.qa-item:active {
  transform: translateY(1px);
}
.qa-divider { width: 1px; background: rgba(0, 0, 0, 0.08); margin: 14px 0; z-index: 2; }

/* ============================================================
   PACKAGES SLIDER
   ============================================================ */
.section-packages { background:#fff; position: relative; }
.packages-slider, .specialties-slider, .doctors-slider { position: relative; }
.packages-slider .slick-slide { padding: 12px 10px 20px; }

/* Slick Navigation Arrow Buttons (Round with soft shadow) */
.slick-prev::before, 
.slick-next::before,
.slick-nav-btn::before,
.slick-nav-btn::after {
  display: none !important;
  content: none !important;
}

.slick-nav-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  color: var(--primary);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0;
  font-size: 1.05rem;
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  outline: none;
}
.slick-nav-btn i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  line-height: 1;
  text-align: center;
}
.slick-nav-btn.slick-prev {
  left: -22px;
}
.slick-nav-btn.slick-prev i {
  transform: translateX(-1px); /* Căn quang học chính xác giữa tâm hình tròn */
}
.slick-nav-btn.slick-next {
  right: -22px;
}
.slick-nav-btn.slick-next i {
  transform: translateX(1px); /* Căn quang học chính xác giữa tâm hình tròn */
}
.slick-nav-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 144, 161, 0.35);
  border-color: var(--primary);
}
@media (max-width: 992px) {
  .slick-nav-btn.slick-prev { left: -10px; width: 40px; height: 40px; font-size: 1rem; }
  .slick-nav-btn.slick-next { right: -10px; width: 40px; height: 40px; font-size: 1rem; }
}

/* Package Card with Gentle Zoom on Hover */
.package-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.package-card:hover {
  box-shadow: 0 20px 40px rgba(0, 144, 161, 0.14), 0 8px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-8px) scale(1.025);
  border-color: rgba(0, 144, 161, 0.3);
}
.package-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.package-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.package-card:hover .package-thumb img {
  transform: scale(1.08);
}
.package-brand-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
}
.package-info {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.package-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}
.package-name {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.35;
  color: var(--text);
}
.package-name a {
  color: var(--text);
  transition: color 0.2s;
}
.package-name a:hover, .package-card:hover .package-name a {
  color: var(--primary);
}
.package-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.seemore-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: auto;
  transition: all 0.3s ease;
}
.package-card:hover .seemore-link {
  color: var(--primary-dark);
  gap: 12px;
}

/* Packages Grid (packages.ejs page) */
.packages-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(340px,1fr)); gap:28px; }
.package-card-full { 
  border-radius: 16px; 
  overflow: hidden; 
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06); 
  background: #fff; 
  display: flex; 
  flex-direction: column; 
  border: 1px solid var(--border);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 100%;
}
.package-card-full:hover {
  box-shadow: 0 20px 40px rgba(0, 144, 161, 0.14), 0 8px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-8px) scale(1.025);
  border-color: rgba(0, 144, 161, 0.3);
}
.package-card-full .package-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.package-card-full .package-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.package-card-full:hover .package-thumb img {
  transform: scale(1.08);
}
.package-info-full { padding: 24px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.package-price-tag { color: var(--accent); font-size: 1.45rem; font-weight: 900; margin-bottom: 8px; }
.package-name-lg { font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; line-height: 1.35; color: var(--text); }
.package-name-lg a { color: var(--text); transition: color 0.2s; }
.package-name-lg a:hover, .package-card-full:hover .package-name-lg a { color: var(--primary); }
.package-desc-lg { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 16px; flex: 1; }
.package-features { margin: 12px 0 22px; display: flex; flex-direction: column; gap: 8px; }
.package-features li { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: #4a5568; font-weight: 600; }
.package-features li i { color: var(--primary); font-size: 0.95rem; }
.package-card-footer { margin-top: auto; }

/* ============================================================
   PACKAGE DETAIL PAGE (Chi tiết gói khám)
   ============================================================ */
.package-detail-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 36px;
  align-items: start;
}
.package-detail-main {
  background: #ffffff;
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
}
.package-detail-hero-img {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 28px;
  position: relative;
  background: #f8fafc;
  border: 1px solid var(--border);
}
.package-detail-hero-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.package-detail-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.package-detail-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}
.package-detail-lead {
  font-size: 1.05rem;
  color: #4a5568;
  line-height: 1.7;
}
.package-section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #006875;
  margin: 32px 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.package-section-title i {
  color: var(--primary);
  font-size: 1.2rem;
}
.package-detail-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
.package-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #f0f9fa;
  border-radius: 10px;
  border-left: 3px solid var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
}
.package-feature-item i {
  color: var(--primary);
  font-size: 1.1rem;
}
.package-prep-box {
  background: #fffbf0;
  border-left: 4px solid #f59e0b;
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 28px 0;
}
.package-prep-box h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #b45309;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.package-prep-box ul {
  list-style: disc;
  padding-left: 20px;
  color: #78350f;
  font-size: 0.9rem;
  line-height: 1.6;
}
.package-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 20px 0 30px;
}
.package-step-item {
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  border: 1px solid rgba(0, 144, 161, 0.12);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}
/* Gentle, subtle gradients for each step */
.package-step-item:nth-child(1) {
  background: linear-gradient(145deg, #f0fdfa 0%, #e6fffa 50%, #ffffff 100%);
  border-color: rgba(13, 148, 136, 0.2);
}
.package-step-item:nth-child(2) {
  background: linear-gradient(145deg, #eff6ff 0%, #e0f2fe 50%, #ffffff 100%);
  border-color: rgba(2, 132, 199, 0.2);
}
.package-step-item:nth-child(3) {
  background: linear-gradient(145deg, #f5f3ff 0%, #ede9fe 50%, #ffffff 100%);
  border-color: rgba(124, 58, 237, 0.2);
}
.package-step-item:nth-child(4) {
  background: linear-gradient(145deg, #ecfdf5 0%, #d1fae5 50%, #ffffff 100%);
  border-color: rgba(16, 185, 129, 0.2);
}

.package-step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 104, 117, 0.1);
  border-color: var(--primary);
}

.package-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: none;
  transition: transform 0.3s ease;
}
.package-step-item:hover .package-step-num {
  transform: scale(1.08);
}
.package-step-item h5 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.35;
}
.package-step-item p {
  font-size: 0.83rem;
  color: #4b5563;
  line-height: 1.5;
  margin: 0;
}

/* Package Booking Sidebar (Scrolls naturally with content) */
.package-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.package-sidebar-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
}
.package-price-box {
  background: linear-gradient(135deg, #eef9fa 0%, #ffffff 100%);
  border: 1.5px solid rgba(0, 144, 161, 0.25);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  margin-bottom: 24px;
}
.package-price-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.package-price-val {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1.2;
}
.package-contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.package-contact-info-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.package-contact-info-list li i {
  color: var(--primary);
  width: 18px;
}

/* Package Bottom Booking Section */
.section-package-booking {
  padding: 70px 0 80px;
  scroll-margin-top: 80px;
}
.booking-section-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
}

/* Input with Icon Wrapper */
.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.input-icon-wrap input {
  width: 100%;
  padding-right: 42px !important;
}
.input-icon-right {
  position: absolute;
  right: 14px;
  color: var(--primary);
  pointer-events: none;
  font-size: 1.15rem;
}

/* Gender Radio Styling (Image 2 style) */
.gender-radio-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 48px;
}
.gender-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  user-select: none;
}
.gender-radio input {
  display: none;
}
.radio-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  background: #ffffff;
}
.gender-radio input:checked + .radio-dot {
  border-color: var(--primary);
  background: #ffffff;
}
.radio-dot::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.gender-radio input:checked + .radio-dot::after {
  opacity: 1;
  transform: scale(1);
}

/* Privacy Checkbox (Image 2 style) */
.privacy-checkbox-wrap {
  margin-top: 6px;
}
.privacy-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #374151;
  user-select: none;
  font-weight: 500;
}
.privacy-checkbox-label input {
  display: none;
}
.custom-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 1.8px solid #9ca3af;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.privacy-checkbox-label input:checked + .custom-checkbox {
  background: var(--primary);
  border-color: var(--primary);
}
.custom-checkbox::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #ffffff;
  font-size: 0.75rem;
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.privacy-checkbox-label input:checked + .custom-checkbox::after {
  opacity: 1;
  transform: scale(1);
}
.privacy-link {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 700;
  transition: color 0.2s ease;
}
.privacy-link:hover {
  color: var(--primary-dark);
}

/* Date & Time Picker Trigger */
.datetime-picker-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 48px;
  color: #607987;
  font-size: 0.92rem;
}
.datetime-picker-trigger:hover {
  border-color: var(--primary);
  background: #fbfdfe;
}
.datetime-picker-trigger.selected {
  border-color: var(--primary);
  color: var(--text);
}
.datetime-picker-trigger i {
  color: var(--primary);
  font-size: 1.1rem;
}
.datetime-picker-trigger .trigger-arrow {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Date Time Modal (Hoan My Style - Image 3) */
.datetime-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.datetime-modal.open {
  display: flex;
}
.dt-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
}
.dt-modal-container {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  padding: 36px 32px 30px;
  z-index: 2;
  animation: modalFadeIn 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.dt-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f0f7f8;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.dt-modal-close:hover {
  background: var(--primary);
  color: #ffffff;
}
.dt-modal-header {
  text-align: center;
  margin-bottom: 24px;
}
.dt-modal-header h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: #006875;
  margin-bottom: 4px;
}
.dt-modal-header p {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 600;
}
.dt-modal-section-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}
.dates-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}
.date-slot-btn {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}
.date-slot-btn .date-day-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.date-slot-btn .date-day-num {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text);
}
.date-slot-btn:hover {
  border-color: var(--primary);
  background: #f0fbfd;
}
.date-slot-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}
.date-slot-btn.active .date-day-name,
.date-slot-btn.active .date-day-num {
  color: #ffffff;
}
.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
.time-slot-btn {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  outline: none;
}
.time-slot-btn:hover {
  border-color: var(--primary);
  background: #f0fbfd;
}
.time-slot-btn.active {
  background: #006875;
  border-color: #006875;
  color: #ffffff;
}
.dt-modal-footer {
  text-align: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
@media (max-width: 768px) {
  .dates-grid { grid-template-columns: repeat(4, 1fr); }
  .time-slots-grid { grid-template-columns: repeat(4, 1fr); }
  .dt-modal-container { padding: 24px 18px; }
}

/* ============================================================
   SPECIALTIES SLIDER
   ============================================================ */
.section-specialties { padding-bottom:64px; }
.specialties-slider { position: relative; }
.specialties-slider .slick-slide { padding: 12px 10px 20px; }
.specialty-card { 
  position: relative; 
  border-radius: 14px; 
  overflow: hidden; 
  height: 420px; 
  min-height: 420px;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.specialty-card:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.specialty-bg { position:absolute; inset:0; }
.specialty-bg img { width:100%; height:100%; object-fit:cover; transition:transform .5s cubic-bezier(0.25, 0.8, 0.25, 1); }
.specialty-card:hover .specialty-bg img { transform:scale(1.08); }
.specialty-overlay {
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.4) 45%, rgba(0,0,0,0.88) 100%);
}
.specialty-info {
  position:relative; 
  z-index: 2;
  padding: 30px 24px 28px; 
  color:#fff;
}
.specialty-title { font-size:1.25rem; font-weight:800; margin-bottom:10px; line-height:1.3; color:#fff; }
.specialty-desc { font-size:.9rem; opacity:.92; margin-bottom:18px; line-height: 1.55; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

/* Specialties Grid (specialties.ejs page) */
.specialties-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
  gap: 30px; 
}
.specialty-card-full { 
  background: #ffffff;
  border-radius: 16px; 
  overflow: hidden; 
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); 
  border: 1px solid var(--border);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
}
.specialty-card-full:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 20px 40px rgba(0, 104, 117, 0.16);
  border-color: rgba(0, 144, 161, 0.35);
}
.specialty-thumb { 
  position: relative; 
  aspect-ratio: 16/10; 
  overflow: hidden; 
  margin: 0;
}
.specialty-thumb img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.specialty-card-full:hover .specialty-thumb img {
  transform: scale(1.08);
}
.specialty-overlay-full { 
  position: absolute; 
  inset: 0; 
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.3) 100%); 
  transition: background 0.35s ease;
}
.specialty-card-full:hover .specialty-overlay-full {
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
}
.specialty-icon-badge { 
  position: absolute; 
  top: 14px; 
  right: 14px; 
  width: 44px; 
  height: 44px; 
  background: var(--primary); 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  color: #fff; 
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 2;
}
.specialty-card-full:hover .specialty-icon-badge {
  transform: scale(1.12) rotate(6deg);
  background: #006875;
  box-shadow: 0 6px 16px rgba(0, 104, 117, 0.4);
}
.specialty-info-full { 
  padding: 24px 22px; 
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.specialty-name { 
  font-size: 1.25rem; 
  font-weight: 800; 
  margin-bottom: 10px; 
  color: var(--text);
  transition: color 0.25s ease;
}
.specialty-card-full:hover .specialty-name {
  color: var(--primary);
}
.specialty-info-full p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* ============================================================
   DOCTORS SLIDER
   ============================================================ */
.section-doctors { background:var(--bg-light); padding-bottom:64px; }
.curve-top { clip-path:ellipse(110% 100% at 50% 100%); padding-top:100px; margin-top:-30px; }
.doctors-slider .slick-slide { padding: 12px 10px 20px; }
.doctor-card {
  border-radius: 16px; 
  overflow: hidden; 
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06); 
  position: relative;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  height: 100%;
}
.doctor-card:hover { 
  box-shadow: 0 20px 40px rgba(0, 144, 161, 0.14), 0 8px 16px rgba(0, 0, 0, 0.06); 
  transform: translateY(-8px) scale(1.025); 
  border-color: rgba(0, 144, 161, 0.3);
}
.doctor-photo-link { display: block; overflow: hidden; background: #f0f7f8; }
.doctor-photo { aspect-ratio: 3/3.8; overflow: hidden; margin: 0; }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); }
.doctor-card:hover .doctor-photo img { transform: scale(1.06); }

.doctor-info { padding: 18px 18px 12px; flex: 1; display: flex; flex-direction: column; }
.doctor-name { font-weight: 800; font-size: 1.1rem; margin-bottom: 4px; line-height: 1.3; color: var(--text); }
.doctor-name a { color: var(--text); transition: color 0.2s; }
.doctor-name a:hover, .doctor-card:hover .doctor-name a { color: var(--primary); }
.doctor-title { font-size: .88rem; color: var(--primary); font-weight: 700; margin-bottom: 4px; }
.doctor-specialty { font-size: .82rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }

/* Doctor Card Bottom Bar & Expanding Button centered on the line */
.doctor-card-bottom {
  position: relative;
  height: 48px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  margin-top: auto;
  margin-bottom: 6px;
}
.doctor-brand-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: translateY(-50%);
  z-index: 1;
}
.doctor-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  width: 38px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(0, 144, 161, 0.35);
  transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1), 
              padding 0.55s cubic-bezier(0.4, 0, 0.2, 1), 
              background 0.4s ease, 
              box-shadow 0.4s ease;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.doctor-btn-text {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.85rem;
  transition: max-width 0.55s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.45s ease, 
              margin-right 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.doctor-btn i {
  font-size: 0.88rem;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

/* Hover effect on Doctor Card: Button expands to pill shape smoothly */
.doctor-card:hover .doctor-btn {
  width: auto;
  padding: 0 18px;
  border-radius: 50px;
  background: var(--primary);
  box-shadow: 0 6px 18px rgba(0, 144, 161, 0.4);
}
.doctor-card:hover .doctor-btn-text {
  max-width: 90px;
  opacity: 1;
  margin-right: 8px;
}
.doctor-card:hover .doctor-btn i {
  transform: translateX(3px);
}
.doctor-btn:hover {
  background: var(--primary-dark) !important;
}

/* Doctors Grid (doctors.ejs page) */
.doctors-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); 
  gap: 28px; 
}
.doctor-card-full { 
  background: #ffffff; 
  border-radius: 16px; 
  overflow: hidden; 
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06); 
  border: 1px solid var(--border);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1); 
  display: flex;
  flex-direction: column;
}
.doctor-card-full:hover { 
  box-shadow: 0 20px 40px rgba(0, 144, 161, 0.16); 
  transform: translateY(-8px) scale(1.025); 
  border-color: rgba(0, 144, 161, 0.35);
}
.doctor-photo-full { 
  aspect-ratio: 3/3.8; 
  overflow: hidden; 
  background: #f0f7f8;
  margin: 0;
}
.doctor-photo-full img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  object-position: top center;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); 
}
.doctor-card-full:hover .doctor-photo-full img { 
  transform: scale(1.08); 
}
.doctor-info-full { 
  padding: 22px 20px; 
  display: flex;
  flex-direction: column;
  flex: 1;
}
.doctor-name { 
  font-weight: 800; 
  font-size: 1.15rem; 
  margin-bottom: 6px; 
  line-height: 1.3; 
  color: var(--text); 
  transition: color 0.25s ease;
}
.doctor-card-full:hover .doctor-name a,
.doctor-card-full:hover .doctor-name { 
  color: var(--primary); 
}
.doctor-title-badge { 
  display: inline-block; 
  padding: 4px 12px; 
  background: var(--primary-light); 
  color: var(--primary); 
  border-radius: 20px; 
  font-size: .8rem; 
  font-weight: 700; 
  margin-bottom: 8px; 
  align-self: flex-start;
}
.doctor-specialty-tag { 
  font-size: .85rem; 
  color: var(--text-muted); 
  margin-bottom: 10px; 
  display: flex;
  align-items: center;
  gap: 6px;
}
.doctor-specialty-tag i {
  color: var(--primary);
}
.doctor-bio { 
  font-size: .88rem; 
  color: var(--text-muted); 
  margin-bottom: 18px; 
  line-height: 1.6; 
  flex-grow: 1;
}

/* Filter Tabs */
.filter-tabs { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:4px; }
.filter-tab { padding:8px 18px; border-radius:20px; border:2px solid var(--border); background:#fff; color:var(--text); font-weight:600; font-size:.85rem; cursor:pointer; transition:var(--transition); }
.filter-tab.active,.filter-tab:hover { border-color:var(--primary); background:var(--primary); color:#fff; }

/* ============================================================
   NEWS SLIDER & GRID
   ============================================================ */
.section-news { position: relative; }
.news-slider { position: relative; }
.news-slider .slick-slide { padding: 12px 10px 20px; }
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.news-card { 
  background: #fff; 
  border-radius: 14px; 
  overflow: hidden; 
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06); 
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1); 
  display: flex; 
  flex-direction: column; 
  border: 1px solid var(--border);
  height: 100%;
}
.news-card:hover { 
  box-shadow: 0 20px 40px rgba(0, 144, 161, 0.14), 0 8px 16px rgba(0, 0, 0, 0.06); 
  transform: translateY(-8px) scale(1.025); 
  border-color: rgba(0, 144, 161, 0.3);
}
.news-card-img-link { display: block; }
.news-thumb { aspect-ratio: 16/10; overflow: hidden; margin: 0; position: relative; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); }
.news-card:hover .news-thumb img { transform: scale(1.08); }
.news-body { padding: 20px 18px 22px; flex: 1; display: flex; flex-direction: column; }
.news-category { display: inline-block; align-self: flex-start; padding: 4px 12px; background: var(--primary-light); color: var(--primary); font-size: 0.8rem; font-weight: 700; border-radius: 4px; margin-bottom: 12px; }
.news-title { font-size: 1.08rem; font-weight: 800; margin-bottom: 10px; line-height: 1.4; color: var(--text); }
.news-title a { color: var(--text); transition: color 0.2s; }
.news-title a:hover, .news-card:hover .news-title a { color: var(--primary); }
.news-excerpt { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.news-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 14px; margin-top: auto; }
.news-date { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.news-read-more { font-size: 0.88rem; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.news-card:hover .news-read-more { color: var(--primary-dark); }

/* ============================================================
   NEWS DETAIL PAGE
   ============================================================ */
.article-layout { display:grid; grid-template-columns:1fr 340px; gap:36px; }
.article-header { margin-bottom:20px; }
.article-title { font-size:1.9rem; font-weight:800; line-height:1.3; margin:10px 0; }
.article-meta { color:var(--text-muted); font-size:.85rem; display:flex; align-items:center; gap:8px; }
.article-cover { border-radius:var(--radius); overflow:hidden; margin:20px 0; }
.article-cover img { width:100%; height:auto; object-fit:cover; }
.article-content { font-size:1.05rem; line-height:1.85; color:#1e293b; word-break: break-word; }
.article-content h1, .article-content h2, .article-content h3, .article-content h4 { margin:1.4em 0 .5em; color:var(--text); font-weight:800; line-height:1.35; }
.article-content h1 { font-size: 1.65rem; }
.article-content h2 { font-size: 1.4rem; color: #006875; }
.article-content h3 { font-size: 1.2rem; }
.article-content p { margin-bottom:1.1em; }
.article-content ul, .article-content ol { margin-bottom: 1.2em; padding-left: 24px; }
.article-content ul { list-style-type: disc; }
.article-content ol { list-style-type: decimal; }
.article-content li { margin-bottom: 6px; }
.article-content img { border-radius:10px; margin:1.2em 0; max-width:100%; height:auto; box-shadow: 0 4px 14px rgba(0,0,0,0.06); }
.article-content iframe,
.article-content video {
  max-width: 100%;
  border-radius: 10px;
  margin: 1.4em 0;
  display: block;
}
.article-content iframe[src*="youtube.com"],
.article-content iframe[src*="youtu.be"],
.article-content iframe[src*="facebook.com"] {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  border: none;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  font-size: 0.95rem;
}
.article-content table th,
.article-content table td {
  border: 1px solid #e2e8f0;
  padding: 10px 14px;
}
.article-content table th {
  background: #f8fafc;
  font-weight: 700;
}
.article-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 10px 18px;
  background: #f0fdfa;
  border-radius: 0 8px 8px 0;
  margin: 1.4em 0;
  font-style: italic;
  color: #334155;
}
.article-content a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}
.article-content a:hover {
  color: var(--primary-dark);
}
.article-share { display:flex; align-items:center; gap:12px; margin-top:28px; padding-top:18px; border-top:1px solid var(--border); }
.share-btn { display:inline-flex; align-items:center; gap:6px; padding:8px 16px; border-radius:6px; font-size:.85rem; font-weight:700; }
.share-btn.fb { background:#1877f2; color:#fff; }
/* Sidebar */
.article-sidebar { display:flex; flex-direction:column; gap:20px; }
.sidebar-widget { background:#fff; border-radius:var(--radius); padding:20px; box-shadow:var(--shadow-sm); }
.widget-title { font-size:1rem; font-weight:800; margin-bottom:14px; padding-bottom:10px; border-bottom:2px solid var(--primary); color:var(--text); }
.related-item { display:flex; gap:12px; padding:10px 0; border-bottom:1px solid var(--border); }
.related-item:last-child { border-bottom:none; }
.related-thumb { width:80px; height:56px; border-radius:6px; overflow:hidden; flex-shrink:0; }
.related-thumb img { width:100%; height:100%; object-fit:cover; }
.related-title { font-size:.82rem; font-weight:600; line-height:1.4; margin-bottom:4px; color:var(--text); }
.related-title:hover { color:var(--primary); }
.related-date { font-size:.72rem; color:var(--text-muted); display:flex; align-items:center; gap:4px; }
/* Premium Redesigned Sidebar CTA Card */
.sidebar-cta { 
  background: linear-gradient(145deg, #005662 0%, #007685 50%, #0090a1 100%); 
  color: #fff; 
  border-radius: 20px; 
  padding: 28px 22px 24px; 
  box-shadow: 0 16px 36px rgba(0, 118, 133, 0.28), 0 2px 8px rgba(0, 0, 0, 0.06); 
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.sidebar-cta::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.sidebar-cta::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.2) 0%, rgba(0, 229, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.sidebar-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #ffffff;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.sidebar-cta-badge i {
  color: #5eead4;
  font-size: 0.8rem;
}
.sidebar-cta h3 { 
  color: #ffffff; 
  margin-bottom: 8px; 
  font-size: 1.3rem; 
  font-weight: 900; 
  line-height: 1.3;
  letter-spacing: -0.2px;
}
.sidebar-cta p { 
  font-size: 0.88rem; 
  color: rgba(255, 255, 255, 0.92); 
  margin-bottom: 20px; 
  line-height: 1.6; 
}
.sidebar-cta-btn-primary { 
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  height: 46px !important;
  background: #ffffff !important; 
  color: #006875 !important; 
  font-weight: 800 !important;
  font-size: 0.92rem !important;
  border-radius: 50px !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  margin-bottom: 10px !important;
}
.sidebar-cta-btn-primary:hover {
  background: #f0fdfa !important;
  color: #004d57 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18) !important;
}
.sidebar-cta-btn-primary i:first-child {
  color: #0090a1;
  font-size: 0.95rem;
}
.sidebar-cta-btn-secondary { 
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  height: 44px !important;
  background: rgba(255, 255, 255, 0.14) !important; 
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important; 
  color: #ffffff !important; 
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.sidebar-cta-btn-secondary:hover { 
  background: rgba(255, 255, 255, 0.26) !important; 
  border-color: #ffffff !important;
  color: #ffffff !important; 
  transform: translateY(-2px) !important;
}
.sidebar-cta-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}
.sidebar-cta-footer i {
  color: #5eead4;
}

/* ============================================================
   PAGE HERO (inner pages) - Richer Teal & White Gradient
   ============================================================ */
.page-hero { 
  background: linear-gradient(135deg, #c5edf2 0%, #def5f7 38%, #f2fbfc 68%, #cdf0f4 100%); 
  color: var(--text); 
  padding: 52px 0 44px; 
  border-bottom: 1px solid rgba(0, 144, 161, 0.18);
  position: relative;
}
.page-title { 
  font-size: 2.25rem; 
  font-weight: 900; 
  color: #006875; 
  margin-top: 10px; 
  letter-spacing: -0.5px;
}
.page-desc { 
  font-size: 1.02rem; 
  color: #38535f; 
  margin-top: 8px; 
  max-width: 650px;
  font-weight: 500;
}
.breadcrumb { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  font-size: .85rem; 
  flex-wrap: wrap; 
}
.breadcrumb a { 
  color: #4a6773; 
  font-weight: 600;
  transition: color 0.2s ease;
}
.breadcrumb a:hover { 
  color: #006875; 
}
.breadcrumb i { 
  font-size: .65rem; 
  color: var(--primary); 
  opacity: 0.9;
}
.breadcrumb span { 
  color: #006875; 
  font-weight: 800; 
}

/* ============================================================
   APPOINTMENT / BOOKING PAGE
   ============================================================ */
.booking-layout { display:grid; grid-template-columns:1fr 380px; gap:36px; }
.booking-form .form-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-group { display:flex; flex-direction:column; gap:6px; }
.form-full { grid-column:span 2; }
.form-group label { font-weight:600; font-size:.875rem; color:var(--text); }
.form-group input,.form-group select,.form-group textarea {
  padding:10px 14px; border:1.5px solid var(--border); border-radius:7px;
  font-size:.9rem; font-family:inherit; outline:none;
  transition:border .2s; background:#fff;
}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus { border-color:var(--primary); }
.form-submit { margin-top:24px; }
.info-card { background:#fff; border-radius:var(--radius); padding:24px; box-shadow:var(--shadow-sm); margin-bottom:16px; }
.info-card h3 { font-size:1rem; font-weight:700; margin-bottom:14px; color:var(--primary); display:flex; align-items:center; gap:8px; }
.contact-list,.contact-list-full { display:flex; flex-direction:column; gap:12px; }
.contact-list li,.contact-list-full li { display:flex; align-items:flex-start; gap:12px; font-size:.9rem; }
.contact-list li i,.contact-list-full li i { color:var(--primary); width:18px; flex-shrink:0; margin-top:2px; }
.contact-list li a,.contact-list-full li a { color:var(--text); }
.contact-list li a:hover,.contact-list-full li a:hover { color:var(--primary); }
.contact-icon { width:36px; height:36px; background:var(--primary-light); border-radius:8px; display:flex; align-items:center; justify-content:center; color:var(--primary); flex-shrink:0; }
.contact-list-full li strong { display:block; font-size:.78rem; color:var(--text-muted); margin-bottom:2px; }
.steps-list { padding-left:0; counter-reset:step; display:flex; flex-direction:column; gap:14px; }
.steps-list li { 
  display:flex; 
  align-items:center; 
  gap:10px; 
  font-size:.875rem; 
  white-space:nowrap; 
}
.steps-list li strong { 
  white-space:nowrap; 
  font-weight:700; 
  color:var(--text); 
}
.steps-list li span { 
  white-space:nowrap; 
  color:var(--text-muted); 
}
.steps-list li::before { 
  counter-increment:step; 
  content:counter(step); 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  min-width:24px; 
  height:24px; 
  background:var(--primary); 
  color:#fff; 
  border-radius:50%; 
  font-size:.72rem; 
  font-weight:700; 
  flex-shrink:0; 
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout { display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.contact-info-panel h2,.contact-form-panel h2 { font-size:1.4rem; font-weight:800; margin-bottom:20px; }
.map-container { border-radius:var(--radius); overflow:hidden; margin-top:20px; }
.contact-form { display:flex; flex-direction:column; gap:14px; }
.contact-form button { align-self:flex-end; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background:#1a2035; color:#a3b0c9; }
.footer-main { padding:56px 0 32px; }
.footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr 1.4fr; gap:32px; }
.footer-logo { display:flex; align-items:center; gap:10px; color:#fff; font-size:1.1rem; font-weight:800; margin-bottom:14px; }
.footer-logo i { font-size:1.4rem; color:var(--primary); }
.footer-desc { font-size:.85rem; line-height:1.7; margin-bottom:18px; }
.footer-social { display:flex; gap:10px; }
.footer-social a { width:36px; height:36px; background:rgba(255,255,255,.08); border-radius:8px; display:flex; align-items:center; justify-content:center; color:#fff; font-size:.85rem; }
.footer-social a:hover { background:var(--primary); }
.footer-title { color:#fff; font-size:.9rem; font-weight:700; margin-bottom:16px; text-transform:uppercase; letter-spacing:.5px; }
.footer-links { display:flex; flex-direction:column; gap:10px; }
.footer-links li a { font-size:.85rem; display:flex; align-items:center; gap:8px; transition:var(--transition); }
.footer-links li a:hover { color:#fff; padding-left:4px; }
.footer-links li a i { font-size:.65rem; color:var(--primary); }
.footer-contact { display:flex; flex-direction:column; gap:12px; }
.footer-contact li { display:flex; align-items:flex-start; gap:10px; font-size:.85rem; }
.footer-contact li i { color:var(--primary); width:16px; flex-shrink:0; margin-top:2px; }
.footer-contact li a:hover { color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.07); padding:18px 0; }
.footer-bottom-inner { display:flex; align-items:center; justify-content:space-between; }
.footer-bottom p { font-size:.8rem; }
.footer-bottom-links { display:flex; gap:16px; }
.footer-bottom-links a { font-size:.8rem; }
.footer-bottom-links a:hover { color:#fff; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position:fixed; bottom:28px; right:28px; z-index:998;
  width:44px; height:44px; background:var(--primary); color:#fff;
  border-radius:50%; border:none; font-size:1rem;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 12px rgba(0,144,161,.4);
  opacity:0; pointer-events:none; transition:var(--transition);
}
.back-to-top.visible { opacity:1; pointer-events:auto; }
.back-to-top:hover { background:var(--primary-dark); transform:translateY(-3px); }

/* ============================================================
   ERROR PAGES (404 / 500)
   ============================================================ */
.error-page { padding:100px 0; }
.error-code { font-size:8rem; font-weight:900; color:var(--primary); line-height:1; margin-bottom:16px; opacity:.15; }
.error-page h1 { font-size:2rem; font-weight:800; margin-bottom:12px; }
.error-page p  { color:var(--text-muted); margin-bottom:28px; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state { text-align:center; padding:64px 0; color:var(--text-muted); }
.empty-state i { font-size:4rem; color:var(--border); margin-bottom:16px; display:block; }
.empty-state p { font-size:1rem; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; }
.page-btn {
  display:flex; align-items:center; justify-content:center;
  min-width:40px; height:40px; padding:0 14px;
  border-radius:50px; font-weight:700; font-size:.875rem;
  border:1.5px solid var(--border); color:var(--text);
  transition:var(--transition);
}
.page-btn:hover,.page-btn.active { background:var(--primary); border-color:var(--primary); color:#fff; box-shadow: 0 4px 10px rgba(0, 144, 161, 0.25); }

/* ============================================================
   ABOUT US PAGE (ve-chung-toi - Simplified)
   ============================================================ */
.about-simple-section { padding: 60px 0 80px; background: var(--bg-light); }
.about-simple-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
}
.about-simple-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: stretch;
}
.about-simple-img-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  overflow: hidden;
}
.about-simple-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  box-shadow: none;
  display: block;
}
.about-simple-content {
  padding: 48px 44px;
}
.greeting-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.about-simple-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.3;
}
.about-simple-text .lead-text {
  font-size: 1.05rem;
  color: #4a5568;
  line-height: 1.75;
  margin-bottom: 22px;
}
.mission-box {
  display: flex;
  gap: 18px;
  background: #f0f9fa;
  border-left: 4px solid var(--primary);
  padding: 20px 22px;
  border-radius: 0 12px 12px 0;
  margin-bottom: 22px;
}
.mission-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.mission-desc h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.mission-desc p {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.6;
  margin: 0;
}
.values-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.val-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
}
.val-pill i {
  color: var(--primary);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-simple-grid { 
    grid-template-columns: 1fr;
    align-items: start;
  }
  .about-simple-img-wrap { 
    width: 100%;
    height: auto;
    min-height: auto; 
    max-height: none; 
    padding: 0;
    border-radius: 20px 20px 0 0;
  }
  .about-simple-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    margin: 0 auto;
    border-radius: 20px 20px 0 0;
  }
  .about-simple-content { padding: 36px 28px; }
  .about-simple-title { font-size: 1.7rem; }
  .package-detail-layout { grid-template-columns: 1fr; }
  .doctor-detail-layout { grid-template-columns: 1fr !important; gap: 32px !important; }
  .package-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .article-layout { grid-template-columns:1fr; }
  .booking-layout { grid-template-columns:1fr; }
}

@media (max-width: 768px) {
  body { padding-top:60px; padding-bottom:56px; }
  :root { --header-h:60px; }
  .pre-header { display:none; }
  .desktop-nav { display:none; }
  .header-actions .btn-booking { display:none; }
  .mobile-toggle { display:flex; }
  .banner-img { height: 440px; }
  .banner-overlay { padding-bottom: 40px; }
  .banner-content h1 { font-size:1.6rem; }
  .banner-content p  { font-size:.9rem; }
  .hero-slider .slick-dots { bottom: 25px; }

  /* Quick Access Bar - Fixed Bottom Floating Dock with Frosted Glass Blur */
  .quick-access-bar { 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    width: 100%; 
    z-index: 1000; 
    padding: 0; 
    margin: 0; 
    background: transparent; 
  }
  .quick-access-bar .container { 
    padding: 0; 
    max-width: 100%; 
    width: 100%; 
  }
  .quick-access-inner { 
    flex-direction: row; 
    border-radius: 18px 18px 0 0; 
    border: 1.5px solid rgba(255, 255, 255, 0.7); 
    border-bottom: none; 
    background: rgba(220, 248, 252, 0.60); 
    backdrop-filter: blur(24px) saturate(200%); 
    -webkit-backdrop-filter: blur(24px) saturate(200%); 
    box-shadow: 0 -6px 24px rgba(0, 144, 161, 0.14), 0 -1px 8px rgba(0, 0, 0, 0.04); 
    padding-bottom: env(safe-area-inset-bottom, 4px); 
    width: 100%; 
  }
  .qa-item { 
    flex: 1; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 6px; 
    padding: 12px 6px; 
    font-size: 0.84rem; 
    font-weight: 700; 
    color: var(--primary); 
    border-bottom: none; 
    background: transparent; 
    -webkit-tap-highlight-color: transparent; 
  }
  .qa-item:hover, .qa-item:active { 
    background: rgba(0, 144, 161, 0.08); 
    gap: 6px; 
  }
  .qa-icon { 
    font-size: 1.05rem; 
    color: var(--primary); 
  }
  .qa-label { 
    font-size: 0.84rem; 
    font-weight: 700; 
    color: var(--primary); 
    white-space: nowrap; 
  }
  .qa-divider { 
    width: 1px; 
    height: 26px; 
    background: rgba(0, 144, 161, 0.2); 
    margin: auto 0; 
    flex-shrink: 0; 
  }
  .back-to-top { 
    bottom: 68px; 
    right: 16px; 
  }

  .section { padding:44px 0; }
  .section-title { font-size:1.5rem; }
  .package-detail-main { padding: 22px 18px; }
  .package-detail-hero-img { height: 260px; }
  .package-detail-title { font-size: 1.5rem; }
  .package-detail-features-grid { grid-template-columns: 1fr; }
  .package-steps-grid { grid-template-columns: 1fr; }
  .timeline-container { grid-template-columns: 1fr; }
  .about-cta-box { padding: 40px 20px; border-radius: 16px; }
  .about-cta-content h2 { font-size: 1.6rem; }
  .news-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; gap:24px; }
  .footer-bottom-inner { flex-direction:column; gap:8px; text-align:center; }
  .curve-top { clip-path:none; padding-top:44px; margin-top:0; }
  .packages-grid,.specialties-grid,.doctors-grid { grid-template-columns:1fr; }
  .contact-layout { grid-template-columns:1fr; }
  .booking-form .form-grid { grid-template-columns:1fr; }
  .form-full { grid-column:span 1; }
  .article-sidebar { display:none; }
}

@media (max-width: 480px) {
  .container { padding:0 14px; }
  .section-title { font-size:1.3rem; }
  .page-title { font-size:1.6rem; }
  .cta-group { flex-direction:column; align-items:center; }
  .btn-primary,.btn-outlined { width:100%; justify-content:center; }
  .qa-item { padding: 11px 4px; gap: 4px; }
  .qa-icon { font-size: 0.96rem; }
  .qa-label { font-size: 0.78rem; }
}

@media (max-width: 360px) {
  .qa-item { padding: 10px 2px; gap: 3px; }
  .qa-icon { font-size: 0.88rem; }
  .qa-label { font-size: 0.72rem; }
}

/* ============================================================
   SERVICES DROPDOWN & PRICE LOOKUP PAGE
   ============================================================ */
.nav-item-dropdown {
  position: relative;
}
.nav-dropdown-icon {
  font-size: 0.72rem;
  margin-left: 4px;
  transition: transform 0.25s ease;
}
.nav-item-dropdown:hover .nav-dropdown-icon {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border: 1px solid #e2e8f0;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}
.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  color: #334155;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.dropdown-item i {
  color: var(--primary);
  font-size: 0.9rem;
  width: 18px;
  text-align: center;
  transition: transform 0.2s ease;
}
.dropdown-item:hover {
  background: #f0fdfa;
  color: var(--primary);
  padding-left: 22px;
}
.dropdown-item:hover i {
  transform: scale(1.15);
}

/* Services Price Page */
.services-search-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  margin-top: -36px;
  position: relative;
  z-index: 10;
}
.services-filter-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr auto;
  gap: 14px;
  align-items: end;
}
.services-price-table-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  border: 1px solid #e2e8f0;
  margin-top: 24px;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.price-table thead th {
  background: #f8fafc;
  color: #1e293b;
  font-weight: 800;
  padding: 14px 18px;
  font-size: 0.9rem;
  border-bottom: 2px solid #e2e8f0;
}
.price-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.92rem;
}
.price-table tbody tr:hover {
  background: #f8fafc;
}
@media (max-width: 900px) {
  .services-filter-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .services-filter-grid {
    grid-template-columns: 1fr;
  }
}

