/* Slot138 — Slot Laboratory Theme
   Fonts: Sora (headings) + Be Vietnam Pro (body)
   Colors: deep teal #062b26, electric amber #ff9f1c, cream #f4ead5, charcoal #1a1a1a
*/

:root {
  --teal-deep: #062b26;
  --teal-mid: #0a4540;
  --teal-light: #14635c;
  --amber: #ff9f1c;
  --amber-light: #ffbf69;
  --amber-dark: #e08509;
  --cream: #f4ead5;
  --cream-dark: #e8dcc0;
  --charcoal: #1a1a1a;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(6, 43, 38, 0.15);
  --shadow-lg: 0 8px 40px rgba(6, 43, 38, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: var(--teal-deep);
  line-height: 1.3;
}

a { color: var(--teal-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--amber); }

img { max-width: 100%; height: auto; }

/* ===== Navbar ===== */
.navbar-slot138 {
  background: var(--teal-deep);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  border-bottom: 2px solid var(--amber);
}

.navbar-slot138 .navbar-brand img {
  height: 48px;
  width: auto;
}

.navbar-slot138 .nav-link {
  color: var(--cream) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.navbar-slot138 .nav-link:hover,
.navbar-slot138 .nav-link.active {
  color: var(--amber) !important;
  background: rgba(255, 159, 28, 0.1);
}

.navbar-slot138 .btn-login {
  background: var(--amber);
  color: var(--teal-deep) !important;
  font-weight: 700;
  padding: 0.5rem 1.5rem !important;
  border-radius: var(--radius-sm);
}

.navbar-slot138 .btn-login:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
}

.navbar-slot138 .btn-register {
  background: transparent;
  color: var(--cream) !important;
  border: 2px solid var(--cream);
  font-weight: 600;
  padding: 0.4rem 1.4rem !important;
  border-radius: var(--radius-sm);
  margin-left: 0.5rem;
}

.navbar-slot138 .btn-register:hover {
  border-color: var(--amber);
  color: var(--amber) !important;
}

/* ===== Hero ===== */
.hero-section {
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal-mid) 50%, var(--teal-light) 100%);
  color: var(--cream);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,159,28,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section h1 {
  color: var(--cream);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.hero-section h1 .accent {
  color: var(--amber);
}

.hero-section .lead {
  font-size: 1.15rem;
  color: var(--cream-dark);
  max-width: 600px;
}

.hero-section .hero-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ===== CTA Buttons ===== */
.btn-amber {
  background: var(--amber);
  color: var(--teal-deep);
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-sm);
  border: none;
  transition: var(--transition);
}

.btn-amber:hover {
  background: var(--amber-light);
  color: var(--teal-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,159,28,0.4);
}

.btn-outline-amber {
  background: transparent;
  color: var(--amber);
  border: 2px solid var(--amber);
  font-weight: 600;
  padding: 0.65rem 1.8rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-outline-amber:hover {
  background: var(--amber);
  color: var(--teal-deep);
}

/* ===== Cards ===== */
.lab-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  height: 100%;
}

.lab-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.lab-card .card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.lab-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.lab-card .card-img .badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--amber);
  color: var(--teal-deep);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.lab-card .card-body {
  padding: 1.5rem;
}

.lab-card .card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.lab-card .card-body p {
  color: var(--gray-700);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ===== Section Styling ===== */
.section-pad {
  padding: 4rem 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--amber);
  border-radius: 2px;
}

.section-title.centered {
  text-align: center;
}

.section-title.centered::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  color: var(--gray-500);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

/* ===== Data Table (Laboratory Style) ===== */
.lab-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.lab-table thead {
  background: var(--teal-deep);
}

.lab-table thead th {
  color: var(--cream);
  padding: 1rem 1.2rem;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: left;
  border: none;
}

.lab-table tbody tr {
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}

.lab-table tbody tr:hover {
  background: rgba(255, 159, 28, 0.05);
}

.lab-table tbody td {
  padding: 0.9rem 1.2rem;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.lab-table .rtp-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.lab-table .rtp-high { background: #d4edda; color: #155724; }
.lab-table .rtp-mid { background: #fff3cd; color: #856404; }
.lab-table .rtp-low { background: #f8d7da; color: #721c24; }

/* ===== Lab Stat Boxes ===== */
.stat-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--amber);
  transition: var(--transition);
}

.stat-box:hover {
  transform: translateY(-3px);
}

.stat-box .stat-number {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal-deep);
}

.stat-box .stat-label {
  color: var(--gray-500);
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

/* ===== FAQ Masonry ===== */
.faq-grid {
  column-count: 2;
  column-gap: 1.5rem;
}

.faq-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border-left: 4px solid var(--amber);
}

.faq-item .faq-num {
  display: inline-block;
  background: var(--teal-deep);
  color: var(--amber);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 50%;
  font-size: 0.85rem;
  margin-right: 0.6rem;
}

.faq-item .faq-header {
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  color: var(--teal-deep);
  font-size: 0.95rem;
  transition: var(--transition);
}

.faq-item .faq-header:hover {
  background: rgba(255, 159, 28, 0.05);
}

.faq-item .faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-body {
  max-height: 400px;
  padding: 0 1.5rem 1.2rem 1.5rem;
}

.faq-item .faq-body p {
  color: var(--gray-700);
  font-size: 0.9rem;
}

.faq-item .faq-toggle {
  margin-left: auto;
  color: var(--amber);
  font-size: 1.3rem;
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* ===== Provider Grid ===== */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}
.provider-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 2px solid transparent;
}
.provider-item:hover {
  border-color: var(--amber);
  transform: scale(1.03);
}
.provider-item h5 {
  color: var(--teal-deep);
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.provider-item span {
  color: var(--gray-500);
  font-size: 0.8rem;
}

.provider-tile {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 2px solid transparent;
}

.provider-tile:hover {
  border-color: var(--amber);
  transform: scale(1.03);
}

.provider-tile .provider-name {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: var(--teal-deep);
  font-size: 0.95rem;
}

.provider-tile .provider-count {
  color: var(--amber);
  font-size: 1.3rem;
  font-weight: 800;
  font-family: 'Sora', sans-serif;
}

.provider-tile .provider-label {
  color: var(--gray-500);
  font-size: 0.75rem;
}

/* ===== Footer ===== */
.footer-slot138 {
  background: var(--teal-deep);
  color: var(--cream);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-slot138 h5 {
  color: var(--amber);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: 'Sora', sans-serif;
}

.footer-slot138 a {
  color: var(--cream-dark);
  font-size: 0.9rem;
  display: block;
  padding: 0.3rem 0;
  transition: var(--transition);
}

.footer-slot138 a:hover {
  color: var(--amber);
  padding-left: 5px;
}

.footer-slot138 .footer-bottom {
  border-top: 1px solid rgba(244, 234, 213, 0.15);
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--cream-dark);
}

/* ===== Breadcrumb ===== */
.breadcrumb-slot138 {
  background: var(--gray-100);
  padding: 0.75rem 0;
  font-size: 0.85rem;
}

.breadcrumb-slot138 a {
  color: var(--teal-light);
}

.breadcrumb-slot138 .separator {
  color: var(--gray-300);
  margin: 0 0.5rem;
}

/* ===== Content Article ===== */
.article-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.article-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  padding-left: 1rem;
  border-left: 4px solid var(--amber);
}

.article-content h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.8rem;
  color: var(--teal-mid);
}

.article-content p {
  margin-bottom: 1rem;
  color: var(--gray-700);
}

.article-content ul, .article-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  color: var(--gray-700);
}

.article-content blockquote {
  background: var(--cream);
  border-left: 4px solid var(--amber);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--teal-deep);
}

.article-content table {
  width: 100%;
  margin: 1.5rem 0;
}

/* ===== Sidebar ===== */
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.sidebar-card h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--amber);
}

.sidebar-card .sb-link {
  display: block;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--gray-100);
  color: var(--gray-700);
  font-size: 0.9rem;
  transition: var(--transition);
}

.sidebar-card .sb-link:hover {
  color: var(--amber);
  padding-left: 8px;
}

/* ===== 404 Page ===== */
.error-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal-mid) 100%);
  text-align: center;
  color: var(--cream);
}

.error-404 .error-code {
  font-family: 'Sora', sans-serif;
  font-size: 8rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
}

.error-404 .error-msg {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

/* ===== Alert Box ===== */
.alert-lab {
  background: linear-gradient(135deg, rgba(255,159,28,0.1), rgba(255,159,28,0.05));
  border: 1px solid rgba(255,159,28,0.3);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
}

.alert-lab .alert-icon {
  color: var(--amber);
  font-size: 1.3rem;
  margin-right: 0.5rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-section h1 { font-size: 1.8rem; }
  .faq-grid { column-count: 1; }
  .article-content { padding: 1.5rem; }
  .section-title { font-size: 1.5rem; }
}

@media (max-width: 576px) {
  .hero-section { padding: 2rem 0; }
  .hero-section h1 { font-size: 1.5rem; }
  .section-pad { padding: 2.5rem 0; }
}
/* Match stacked mobile columns to the container gutters. */
@media (max-width: 991.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
}

/* Long headings and resource URLs must wrap inside narrow content columns. */
.hero-section h1, .article-content { overflow-wrap: anywhere; }
