/* ============================================
   MedKey Theme - Main Stylesheet
   ============================================ */

/* ---------- Self-hosted Inter Font (OFL licence) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- CSS Variables (Design Tokens) ---------- */
:root {
  --primary: #2558d8;
  --primary-dark: #1a46c0;
  --primary-light: rgba(37, 88, 216, 0.1);
  --primary-foreground: #ffffff;

  --background: #ffffff;
  --foreground: #1a2035;

  --card: #ffffff;
  --card-foreground: #1a2035;

  --secondary: #f2f4fb;
  --secondary-foreground: #1a2035;

  --muted: #f0f2f9;
  --muted-foreground: #5c6485;

  --border: #dde1f0;
  --input: #edf0f8;

  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
  --shadow-2xl: 0 30px 60px rgba(0,0,0,0.2);

  --container-max: 1280px;
  --header-height: 80px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
}

/* ---------- Layout Utilities ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.section {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 7rem 0;
  }
}

.section-bg-secondary {
  background-color: rgba(242, 244, 251, 0.5);
}

.section-bg-dark {
  background-color: var(--foreground);
  color: var(--background);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--foreground);
}

.section-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-badge-light {
  background-color: rgba(255,255,255,0.2);
  color: #ffffff;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.text-primary { color: var(--primary); }
.text-muted { color: var(--muted-foreground); }
.text-white { color: #ffffff; }
.text-white-80 { color: rgba(255,255,255,0.8); }
.text-center { text-align: center; }
.text-balance { text-wrap: balance; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  gap: 0.75rem;
  color: #ffffff;
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--foreground);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--secondary);
}

.btn-outline-white {
  border: 1px solid rgba(255,255,255,0.4);
  color: #ffffff;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
  color: #ffffff;
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary);
}

.btn-white:hover {
  background-color: rgba(255,255,255,0.9);
  color: var(--primary);
}

.btn-border-white {
  border: 1px solid #ffffff;
  color: #ffffff;
  background: transparent;
}

.btn-border-white:hover {
  background-color: rgba(255,255,255,0.1);
  color: #ffffff;
}

/* ---------- Cards ---------- */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.card-body {
  padding: 1.5rem;
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background-color: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .header-inner {
    padding: 0 2rem;
  }
}

.site-logo img {
  display: block;
  height: auto;
  max-height: 44px;
  width: auto;
  max-width: 160px;
}

/* Desktop Nav */
.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(26, 32, 53, 0.8);
  border-radius: var(--radius);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background-color: rgba(242, 244, 251, 0.8);
}

.nav-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 0.5rem;
  min-width: 200px;
  display: none;
}

.nav-item:hover .dropdown-menu {
  display: block;
}

.dropdown-inner {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: rgba(26,32,53,0.8);
  transition: all 0.15s ease;
}

.dropdown-item:hover {
  color: var(--primary);
  background-color: var(--secondary);
}

/* Header Actions */
.header-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .header-actions {
    display: flex;
  }
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.header-phone:hover {
  color: var(--primary);
}

.header-phone svg {
  width: 16px;
  height: 16px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: var(--radius);
  color: var(--foreground);
  transition: background-color 0.2s;
}

.mobile-toggle:hover {
  background-color: var(--secondary);
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.mobile-menu-overlay.is-open {
  display: block;
}

.mobile-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.5);
}

.mobile-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 380px);
  background-color: var(--background);
  box-shadow: var(--shadow-2xl);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.mobile-panel-header img {
  height: 36px;
  width: auto;
}

.mobile-panel-close {
  padding: 0.375rem;
  border-radius: var(--radius);
  color: var(--foreground);
}

.mobile-panel-close:hover {
  background-color: var(--secondary);
}

.mobile-panel-close svg {
  width: 24px;
  height: 24px;
}

.mobile-nav {
  padding: 1.5rem;
  flex: 1;
}

.mobile-nav-item {
  margin-bottom: 0.25rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
  border-radius: var(--radius);
  transition: color 0.2s;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--primary);
}

.mobile-subnav {
  padding-left: 1rem;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.mobile-subnav-link {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.mobile-subnav-link:hover {
  color: var(--primary);
}

.mobile-panel-footer {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
}

.mobile-footer-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.mobile-footer-phone svg {
  width: 16px;
  height: 16px;
}

/* ---------- HERO SECTION ---------- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 8s ease-out;
}

.hero-slide.is-active .hero-slide-img {
  transform: scale(1.1);
}

/* Hero Video slide */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mute / Unmute button */
.hero-mute-btn {
  position: absolute;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 20;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  cursor: pointer;
  display: none;           /* shown/hidden via JS */
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.2s, transform 0.2s;
}
.hero-mute-btn:hover {
  background: rgba(0, 0, 0, 0.55);
  transform: scale(1.1);
}
.hero-mute-btn svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .hero-mute-btn { right: 2rem; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,32,53,0.85) 0%, rgba(26,32,53,0.6) 50%, rgba(26,32,53,0.3) 100%);
}

/* Particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: rgba(37, 88, 216, 0.3);
  border-radius: 50%;
  animation: particle-float ease-in-out infinite;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-text-wrapper {
  display: grid;
  /* max-width: 640px; */
}

.hero-slide-content {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(2rem);
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-slide-content.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-label {
  display: inline-block;
  padding: 0.375rem 1rem;
  background-color: rgba(37,88,216,0.25);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  animation: fade-in-up 0.8s 0.2s ease-out both;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-wrap: balance;
  animation: fade-in-up 0.8s 0.4s ease-out both;
}

@media (min-width: 640px) {
  .hero-title { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 3.75rem; }
}

.hero-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 500px;
  animation: fade-in-up 0.8s 0.6s ease-out both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fade-in-up 0.8s 0.8s ease-out both;
}

/* Progress Bar */
.hero-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: rgba(255,255,255,0.2);
  z-index: 20;
}

.hero-progress-bar {
  height: 100%;
  background-color: var(--primary);
  transform-origin: left;
  animation: progress-slide 6s linear infinite;
}

/* Hero Navigation */
.hero-nav {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  z-index: 20;
}

.hero-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .hero-nav-inner { padding: 0 2rem; }
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-dot {
  height: 8px;
  border-radius: 999px;
  background-color: rgba(255,255,255,0.5);
  width: 8px;
  transition: all 0.5s ease;
  cursor: pointer;
  border: none;
}

.hero-dot.is-active {
  width: 48px;
  background-color: var(--primary);
}

.hero-dot:hover:not(.is-active) {
  width: 16px;
  background-color: rgba(255,255,255,0.75);
}

.hero-counter {
  display: none;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,0.8);
}

@media (min-width: 640px) {
  .hero-counter { display: flex; }
}

.hero-counter-current {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.hero-counter-line {
  width: 48px;
  height: 1px;
  background-color: rgba(255,255,255,0.3);
}

.hero-arrows {
  display: flex;
  gap: 0.5rem;
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.hero-arrow:hover {
  background-color: rgba(255,255,255,0.2);
  transform: scale(1.1);
}

.hero-arrow svg {
  width: 20px;
  height: 20px;
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  z-index: 20;
}

@media (min-width: 1024px) {
  .hero-scroll { display: flex; }
}

.hero-scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero-scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero-scroll-dot {
  width: 4px;
  height: 10px;
  background-color: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: bounce 1.5s ease infinite;
}

/* ---------- ABOUT SECTION ---------- */
.about-section {
  background-color: var(--background);
  overflow: hidden;
}

.about-img-wrapper {
  position: relative;
}

.img-rounded {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.img-rounded img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  display: block;
}

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

.aspect-4-3 { aspect-ratio: 4/3; }
.aspect-3-4 { aspect-ratio: 3/4; }
.aspect-16-9 { aspect-ratio: 16/9; }

.floating-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  display: none;
  animation: float-slow 4s ease-in-out infinite;
}

@media (min-width: 640px) {
  .floating-card { display: block; }
}

.floating-card-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.floating-card-icon {
  width: 56px;
  height: 56px;
  background-color: var(--primary-light);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-card-icon span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.floating-card-label {
  font-weight: 600;
  color: var(--card-foreground);
  margin-bottom: 0.25rem;
}

.floating-card-sublabel {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  padding: 1rem;
  border-radius: var(--radius-xl);
  background-color: rgba(242,244,251,0.5);
  border: 1px solid rgba(221,225,240,0.5);
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(37,88,216,0.3);
  background-color: var(--secondary);
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: baseline;
  gap: 2px;
}

@media (min-width: 1024px) {
  .stat-value { font-size: 2rem; }
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

/* ---------- SERVICES SECTION ---------- */
.services-section {
  background-color: rgba(242,244,251,0.3);
  overflow: hidden;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.5s ease;
  display: block;
  position: relative;
}

.service-card:hover {
  box-shadow: var(--shadow-2xl);
  border-color: rgba(37,88,216,0.3);
  transform: translateY(-2px);
}

.service-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

.service-card:hover .service-card-img img {
  transform: scale(1.1);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,32,53,0.9) 0%, rgba(26,32,53,0.4) 50%, transparent 100%);
}

.service-card-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all 0.5s ease;
}

.service-card:hover .service-card-icon {
  transform: scale(1.1) rotate(3deg);
}

.service-card-icon svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

.service-card-title-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-card-title {
  transform: translateX(0.5rem);
}

.service-card-desc {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
  opacity: 0;
  transform: translateY(0.5rem);
  transition: all 0.3s ease;
}

.service-card:hover .service-card-desc {
  opacity: 1;
  transform: translateY(0);
}

.service-card-footer {
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-card-footer span {
  color: var(--primary);
  font-weight: 500;
}

.service-card-footer svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.service-card:hover .service-card-footer svg {
  transform: translateX(0.5rem);
}

/* ---------- JOIN US SECTION ---------- */
.join-section {
  background-color: var(--background);
  position: relative;
  overflow: hidden;
}

.join-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to left, rgba(37,88,216,0.05), transparent);
  pointer-events: none;
}

.floating-badges {
  position: absolute;
  top: -1rem;
  right: -1rem;
  display: none;
  grid-template-columns: repeat(2, auto);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .floating-badges { display: grid; }
}

.benefit-badge {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  white-space: nowrap;
}

.benefit-badge:hover {
  transform: scale(1.05);
}

.benefit-badge svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

.benefit-badge span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--foreground);
}

/* ---------- LOCATIONS SECTION ---------- */
.locations-section {
  background-color: rgba(242,244,251,0.3);
  overflow: hidden;
}

.location-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.location-stat {
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--radius-xl);
  background-color: var(--card);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.location-stat:hover {
  border-color: rgba(37,88,216,0.3);
  box-shadow: var(--shadow-md);
}

.location-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.location-stat-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.location-info-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--radius-xl);
  background-color: var(--card);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

.location-info-bar svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  animation: pulse-icon 2s ease infinite;
}

.map-img-wrapper {
  position: relative;
}

.map-dot {
  position: absolute;
  width: 12px;
  height: 12px;
}

.map-dot-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: var(--primary);
  opacity: 0.75;
  animation: ping 2s cubic-bezier(0,0,0.2,1) infinite;
}

.map-dot-inner {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--primary);
}

/* ---------- CONTACT SECTION (Dark) ---------- */
.contact-dark-section {
  background-color: var(--foreground);
  color: var(--background);
  overflow: hidden;
}

.contact-dark-section .section-badge-light {
  background-color: rgba(37,88,216,0.3);
  color: #ffffff;
}

.contact-phone-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-phone-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(37,88,216,0.2);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-phone-wrapper:hover .contact-phone-icon {
  background-color: rgba(37,88,216,0.35);
  transform: scale(1.1);
}

.contact-phone-icon svg {
  width: 28px;
  height: 28px;
  color: #ffffff;
}

.contact-phone-label {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.25rem;
}

.contact-phone-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: #ffffff;
  transition: all 0.3s ease;
  display: inline-block;
}

.contact-phone-number:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.offices-card {
  background-color: var(--background);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-2xl);
}

.offices-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.offices-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.office-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background-color: rgba(242,244,251,0.5);
  border-radius: var(--radius-xl);
  transition: background-color 0.2s;
}

.office-row:hover {
  background-color: var(--secondary);
}

.office-row-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.office-row-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.office-row-icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.office-row-city {
  font-weight: 500;
  color: var(--foreground);
}

.office-row-phone {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.office-row-phone:hover {
  color: var(--primary);
}

.offices-email {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

.offices-email svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ---------- PAGE HERO ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, rgba(37,88,216,0.8) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .page-hero { padding: 7rem 0; }
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  filter: blur(40px);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  filter: blur(30px);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding-top: var(--header-height);
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1024px) {
  .page-hero-content { padding-left: 2rem; padding-right: 2rem; }
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.breadcrumb span {
  color: rgba(255,255,255,0.5);
}

.page-hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

@media (min-width: 1024px) {
  .page-hero-title { font-size: 3rem; }
}

.page-hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  line-height: 1.7;
}

/* ---------- GRID LAYOUTS ---------- */
.two-col-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .two-col-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
  }
}

.three-col-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .three-col-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .three-col-grid { grid-template-columns: repeat(3, 1fr); }
}

.five-col-hero {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .five-col-hero {
    grid-template-columns: 2fr 3fr;
    align-items: start;
  }
}

/* ---------- ABOUT PAGE SECTIONS ---------- */
.about-hero-bg {
  background-color: var(--primary);
}

.message-section {}

.quote-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  opacity: 0.2;
}

.message-text {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.message-text strong {
  color: var(--foreground);
}

.ceo-name {
  text-align: center;
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.ceo-title {
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

/* Culture Cards */
.culture-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.culture-item {
  margin-bottom: 2rem;
}

.culture-item:last-child { margin-bottom: 0; }

.culture-item h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.culture-item p {
  font-size: 1.0625rem;
  color: var(--foreground);
  line-height: 1.7;
}

/* Drug List */
.drug-list-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 2rem;
}

.drug-list-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.drug-item {
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Honors Section */
.honors-list-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  margin-bottom: 2rem;
}

.honor-item {
  font-size: 1.0625rem;
  color: var(--foreground);
  margin-bottom: 1rem;
  line-height: 1.6;
}

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

@media (min-width: 768px) {
  .honors-grid { grid-template-columns: repeat(3, 1fr); }
}

.honor-item-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.honor-item-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.honor-item-card p {
  padding: 1rem;
  text-align: center;
  font-weight: 500;
  color: var(--foreground);
  font-size: 0.9375rem;
}

/* Team Stats */
.team-stats-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 2rem 3rem;
  margin-bottom: 3rem;
}

.team-stats-title {
  text-align: center;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2rem;
}

.team-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.team-stat-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.team-stat-text {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

/* Talent Gap Table */
.talent-gap-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .talent-gap-grid { grid-template-columns: repeat(3, 1fr); }
}

.gap-year-card {
  text-align: center;
  padding: 1.5rem;
  background-color: rgba(242,244,251,0.5);
  border-radius: var(--radius-xl);
}

.gap-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.gap-detail {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.gap-shortage {
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.9375rem;
}

/* Regions */
.regions-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .regions-grid { grid-template-columns: repeat(2, 1fr); }
}

.region-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

.region-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.region-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.city-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  background-color: rgba(242,244,251,0.8);
  border-radius: 4px;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.city-tag svg {
  width: 12px;
  height: 12px;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

@media (min-width: 1024px) {
  .timeline {
    padding-left: 0;
  }
}

.timeline-line {
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--border);
}

@media (min-width: 1024px) {
  .timeline-line {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .timeline-item {
    display: flex;
  }
  .timeline-item.even {
    flex-direction: row-reverse;
  }
}

.timeline-dot {
  position: absolute;
  left: -1.5rem;
  top: 1.5rem;
  width: 16px;
  height: 16px;
  background-color: var(--primary);
  border-radius: 50%;
  border: 4px solid var(--background);
  z-index: 1;
}

@media (min-width: 1024px) {
  .timeline-dot {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-content {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 1024px) {
  .timeline-content {
    width: calc(50% - 2rem);
  }
}

.timeline-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.timeline-body {
  padding: 1.5rem;
}

.timeline-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.timeline-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0.5rem 0;
}

.timeline-desc {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ---------- SERVICES PAGE ---------- */
.services-side-nav-col {
  /* grid cell: stretches to full row height, giving sticky room to scroll */
}

.services-side-nav {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1rem;
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.services-side-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.services-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  color: var(--foreground);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}

.services-nav-link:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

.services-nav-link.is-active {
  background-color: var(--primary-light);
  color: var(--primary);
}

.service-section {
  scroll-margin-top: 6rem;
  margin-bottom: 5rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--border);
}

.service-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.service-section-icon {
  width: 56px;
  height: 56px;
  background-color: var(--primary-light);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-section-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.service-section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
}

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

.service-desc-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  margin-bottom: 2rem;
}

.service-desc-card p {
  font-size: 1.0625rem;
  color: var(--muted-foreground);
  line-height: 1.8;
}

.service-desc-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

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

.highlight-badge {
  background-color: var(--primary);
  color: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  text-align: center;
}

.highlight-badge h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.service-items-card {
  background-color: rgba(242,244,251,0.5);
  padding: 2rem;
  border-radius: var(--radius-2xl);
}

.service-items-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.service-items-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .service-items-grid { grid-template-columns: repeat(2, 1fr); }
}

.service-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.service-check-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-check-item span {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Evidence Based */
.evidence-services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .evidence-services-grid { grid-template-columns: repeat(2, 1fr); }
}

.evidence-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

.evidence-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.evidence-card-header svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.evidence-card-header h4 {
  font-weight: 700;
  color: var(--foreground);
  font-size: 0.9375rem;
}

.evidence-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  padding-left: 1.75rem;
  line-height: 1.6;
}

/* Digital Products */
.digital-products-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .digital-products-grid { grid-template-columns: repeat(2, 1fr); }
}

.digital-product-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
}

.digital-product-header {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.5rem;
}

.digital-product-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary);
}

.digital-product-fullname {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.digital-product-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ---------- NEWS PAGE ---------- */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-article {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s ease;
}

.news-article:hover {
  box-shadow: var(--shadow-xl);
  border-color: rgba(37,88,216,0.2);
}

.news-article-inner {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .news-article-inner { flex-direction: row; }
}

.news-article-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .news-article-img {
    width: 320px;
    aspect-ratio: auto;
  }
}

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

.news-article:hover .news-article-img img {
  transform: scale(1.05);
}

.news-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  background-color: rgba(37,88,216,0.9);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 999px;
}

.news-article-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-article-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.news-article-date svg {
  width: 16px;
  height: 16px;
}

.news-article-title {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--card-foreground);
  margin-bottom: 0.75rem;
  line-height: 1.5;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-article:hover .news-article-title {
  color: var(--primary);
}

.news-article-excerpt {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: gap 0.2s;
}

.news-article:hover .news-read-more {
  gap: 0.75rem;
}

.news-read-more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.news-article:hover .news-read-more svg {
  transform: translateX(4px);
}

/* News Filter Sidebar */
.filter-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.filter-card h3 {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
}

.filter-card h3 svg {
  width: 16px;
  height: 16px;
}

.filter-select {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background-color: var(--secondary);
  color: var(--foreground);
  font-size: 0.9375rem;
  cursor: pointer;
  transition: border-color 0.2s;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary);
}

/* ---------- CAREERS PAGE ---------- */
.recruitment-steps {
  position: relative;
}

.recruitment-line {
  display: none;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, rgba(37,88,216,0.2), var(--primary), rgba(37,88,216,0.2));
  transform: translateY(-50%);
}

@media (min-width: 1024px) {
  .recruitment-line { display: block; }
}

.recruitment-grid {
  display: grid;
  gap: 2rem;
  position: relative;
}

@media (min-width: 768px) {
  .recruitment-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .recruitment-grid { grid-template-columns: repeat(5, 1fr); }
}

.recruitment-step {
  position: relative;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  padding-top: 2rem;
}

.recruitment-step:hover {
  box-shadow: var(--shadow-xl);
  border-color: rgba(37,88,216,0.3);
  transform: translateY(-2px);
}

.step-number {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.step-icon {
  width: 64px;
  height: 64px;
  background-color: var(--primary-light);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
}

.recruitment-step:hover .step-icon {
  background-color: rgba(37,88,216,0.2);
  transform: scale(1.1);
}

.step-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Job Cards */
.jobs-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .jobs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .jobs-grid { grid-template-columns: repeat(3, 1fr); }
}

.job-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: block;
  height: 100%;
}

.job-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,88,216,0.2);
  transform: translateY(-2px);
}

.job-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.job-card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-light);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.job-card:hover .job-card-icon {
  background-color: rgba(37,88,216,0.2);
}

.job-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.job-type-badge {
  padding: 0.25rem 0.75rem;
  background-color: #dcfce7;
  color: #15803d;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 999px;
}

.job-card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--card-foreground);
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.job-card:hover .job-card-title {
  color: var(--primary);
}

.job-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.job-meta-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.job-card-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.job-view-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: gap 0.2s;
}

.job-card:hover .job-view-link {
  gap: 0.5rem;
}

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

/* ---------- CONTACT PAGE ---------- */
.offices-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .offices-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .offices-grid { grid-template-columns: repeat(3, 1fr); }
}

.office-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.office-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,88,216,0.2);
}

.office-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.office-card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-light);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.office-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.office-city {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--foreground);
}

.office-company {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.office-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.office-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.office-detail-row svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.office-detail-row svg.primary {
  color: var(--primary);
}

.office-detail-row svg.muted {
  color: var(--muted-foreground);
}

.office-detail-label {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin-bottom: 0.125rem;
}

.office-detail-value {
  font-size: 0.9375rem;
  color: var(--foreground);
}

.office-detail-link {
  font-size: 0.9375rem;
  color: var(--foreground);
  transition: color 0.2s;
}

.office-detail-link:hover {
  color: var(--primary);
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  background-color: var(--primary);
  padding: 4rem 0;
  text-align: center;
}

@media (min-width: 1024px) {
  .cta-section { padding: 5rem 0; }
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .cta-title { font-size: 1.875rem; }
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ---------- SECTION HEADER CENTER ---------- */
.section-header-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background-color: var(--foreground);
  color: var(--background);
}

.footer-main {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

@media (min-width: 1024px) {
  .footer-main { padding: 4rem 2rem; }
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand {
  grid-column: span 1;
}

@media (min-width: 768px) {
  .footer-brand { grid-column: span 2; }
}

@media (min-width: 1024px) {
  .footer-brand { grid-column: span 1; }
}

.footer-logo {
  display: inline-block;
  background-color: rgba(255,255,255,0.9);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  display: block;
  height: auto;
  max-height: 40px;
  width: auto;
  max-width: 160px;
}

.footer-desc {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 340px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer-contact-item:hover {
  color: var(--primary);
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer-col h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul li a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    padding: 1.5rem 2rem;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

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

.footer-legal span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

/* ---------- SINGLE POST / PAGE ---------- */
.post-content {
  max-width: 800px;
  margin: 0 auto;
}

.post-content h1,
.post-content h2,
.post-content h3 {
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.post-content p {
  margin-bottom: 1.25rem;
  color: var(--muted-foreground);
  line-height: 1.8;
}

.post-content img {
  border-radius: var(--radius-xl);
  margin: 2rem auto;
  max-width: 100%;
}

.post-featured-img {
  width: 100%;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  margin-bottom: 2.5rem;
  aspect-ratio: 16/9;
}

.post-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  margin-bottom: 2.5rem;
}

.post-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-meta-item svg {
  width: 16px;
  height: 16px;
}

/* ---------- 404 ---------- */
.page-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.page-404-number {
  font-size: 8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.page-404-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.page-404-desc {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

/* ---------- ANIMATIONS ---------- */
@keyframes progress-slide {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes particle-float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.6;
  }
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.75; }
  75%, 100% { transform: scale(2); opacity: 0; }
}

@keyframes pulse-icon {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Scroll Animations (JS-controlled) */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.is-visible,
.fade-in-right.is-visible,
.fade-in-left.is-visible {
  opacity: 1;
  transform: translate(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ---------- RESPONSIVE UTILITIES ---------- */
.hidden { display: none !important; }
.block { display: block; }
.flex { display: flex; }

@media (min-width: 640px) {
  .sm-block { display: block !important; }
  .sm-flex { display: flex !important; }
}

@media (min-width: 768px) {
  .md-hidden { display: none !important; }
}

@media (min-width: 1024px) {
  .lg-block { display: block !important; }
  .lg-flex { display: flex !important; }
  .lg-hidden { display: none !important; }
}

/* Clearfix */
.clearfix::after {
  content: '';
  display: table;
  clear: both;
}

/* WP Alignment Classes */
.alignnone { margin: 0; }
.aligncenter { display: block; margin: 0 auto; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.wp-caption { max-width: 100%; }
.wp-caption p.wp-caption-text { font-size: 0.875rem; color: var(--muted-foreground); }

/* WordPress-required screen reader class */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* Pagination */
.wp-pagenavi,
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.wp-pagenavi a,
.wp-pagenavi span,
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--foreground);
  transition: all 0.2s;
}

.wp-pagenavi a:hover,
.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.wp-pagenavi span.current,
.pagination .current {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* ===== Job Detail Page ===== */

/* Hero */
.job-detail-hero {
  position: relative;
  padding: 3rem 0 4rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  overflow: hidden;
}
.job-detail-hero::before,
.job-detail-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.job-detail-hero::before {
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.06);
  filter: blur(60px);
}
.job-detail-hero::after {
  bottom: -150px;
  left: -150px;
  width: 380px;
  height: 380px;
  background: rgba(255, 255, 255, 0.06);
  filter: blur(60px);
}

/* Hero meta row (location / type) */
.job-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
}
.job-hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.job-hero-meta-item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Hero badges */
.job-hero-badge {
  padding: 0.25rem 0.875rem;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
}
.job-hero-badge-green {
  background: rgba(34, 197, 94, 0.25);
  color: #bbf7d0;
}

/* Layout */
.job-detail-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .job-detail-layout {
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
  }
}

.job-detail-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.job-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .job-detail-sidebar {
    position: sticky;
    top: 6rem;
  }
}

/* Content cards */
.job-detail-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 1.75rem 2rem;
}
.job-detail-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.25rem;
}

/* Lists */
.job-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.job-detail-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

/* Check icon */
.job-detail-check-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}
.job-detail-check-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

/* Numbered badge */
.job-detail-num-badge {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(37, 88, 216, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Benefits grid */
.job-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.job-benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--secondary);
  border-radius: var(--radius-xl, 1rem);
  color: var(--foreground);
  font-size: 0.9375rem;
}
.job-benefit-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(37, 88, 216, 0.1);
  border-radius: var(--radius-lg, 0.75rem);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.job-benefit-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

/* Contact card (blue) */
.job-contact-card {
  background: var(--primary);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  color: #fff;
}
/* Override global h3 color inside blue card */
.job-contact-title {
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 1.25rem;
  color: #fff;
}
.job-contact-icon-wrap {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(255,255,255,0.2);
  border-radius: var(--radius-lg, 0.75rem);
  display: flex;
  align-items: center;
  justify-content: center;
}
.job-contact-icon-wrap svg {
  width: 1.125rem;
  height: 1.125rem;
}

/* Other jobs links */
.job-other-item {
  display: block;
  padding: 0.875rem 1rem;
  background: var(--secondary);
  border-radius: var(--radius-lg, 0.75rem);
  text-decoration: none;
  transition: background 0.2s;
}
.job-other-item:hover {
  background: var(--muted);
}
.job-other-title {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.25rem;
  transition: color 0.2s;
}
.job-other-item:hover .job-other-title {
  color: var(--primary);
}
.job-other-meta {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}
.job-other-meta svg {
  width: 0.75rem;
  height: 0.75rem;
}

.job-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: gap 0.2s;
}
.job-back-link:hover {
  text-decoration: underline;
  gap: 0.625rem;
}
.job-back-link svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* ============================================================
   PRIVACY POLICY PAGE
   ============================================================ */

.privacy-page-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-post-content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

.privacy-post-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--foreground);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 2px solid var(--border);
}

.privacy-post-content h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--foreground);
  margin-top: 1.5rem;
  margin-bottom: 0.625rem;
}

.privacy-post-content p {
  margin-bottom: 1rem;
}

.privacy-post-content ul,
.privacy-post-content ol {
  margin: 0.75rem 0 1rem 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.privacy-post-content ul li {
  padding-left: 1.25rem;
  position: relative;
}

.privacy-post-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.375rem;
  height: 0.375rem;
  background: var(--primary);
  border-radius: 50%;
}

.privacy-post-content ol {
  counter-reset: privacy-ol;
}

.privacy-post-content ol li {
  counter-increment: privacy-ol;
  padding-left: 1.75rem;
  position: relative;
}

.privacy-post-content ol li::before {
  content: counter(privacy-ol) '.';
  position: absolute;
  left: 0;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.875rem;
}

.privacy-post-content a {
  color: var(--primary);
  text-decoration: none;
}

.privacy-post-content a:hover {
  text-decoration: underline;
}

.privacy-post-content strong {
  font-weight: 600;
  color: var(--foreground);
}

.privacy-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.privacy-post-content thead {
  background: var(--accent);
}

.privacy-post-content th {
  text-align: left;
  padding: 0.875rem 1.25rem;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  border-bottom: 1px solid var(--border);
}

.privacy-post-content td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.6;
}

.privacy-post-content tr:last-child td {
  border-bottom: none;
}

.privacy-post-content blockquote {
  background: var(--accent);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  color: var(--muted-foreground);
}
