/* ==========================================================================
   PT SENTOSA CAPITAL INDONESIA (SCI) - CORPORATE DESIGN SYSTEM
   Modern, Premium, Executive Aesthetic (Navy, Slate, Champagne Gold)
   ========================================================================== */

:root {
  /* SCI Corporate Brand Palette - strictly matching Official Logo */
  --sci-red: #d32026;
  --sci-red-dark: #b0141a;
  --sci-red-light: #fef2f2;
  --sci-yellow: #ffdf14;
  --sci-yellow-dark: #e5c500;
  --sci-yellow-light: #fffde6;
  
  /* Executive Base & Contrast */
  --sci-navy-dark: #071120;
  --sci-navy: #0B192C;
  --sci-navy-light: #1E3E62;
  --sci-slate: #1e293b;
  --sci-slate-light: #334155;
  --sci-gold: #d32026; /* Replaced legacy gold with brand red */
  --sci-gold-light: #ffdf14; /* Replaced with brand yellow */
  --sci-gold-dark: #d32026; /* Replaced with brand red */
  --sci-accent: #d32026;
  --sci-bg-light: #F8FAFC;
  --sci-bg-alt: #F1F5F9;
  --sci-surface: #FFFFFF;
  --sci-text-main: #0F172A;
  --sci-text-muted: #64748B;
  --sci-text-light: #94A3B8;
  --sci-border: #E2E8F0;
  --sci-border-dark: rgba(255, 255, 255, 0.1);

  /* Shadows */
  --sci-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --sci-shadow: 0 4px 6px -1px rgba(11, 25, 44, 0.08), 0 2px 4px -2px rgba(11, 25, 44, 0.06);
  --sci-shadow-md: 0 10px 15px -3px rgba(11, 25, 44, 0.1), 0 4px 6px -4px rgba(11, 25, 44, 0.06);
  --sci-shadow-lg: 0 20px 25px -5px rgba(11, 25, 44, 0.12), 0 8px 10px -6px rgba(11, 25, 44, 0.08);
  --sci-shadow-glow: 0 0 25px rgba(211, 32, 38, 0.25);
  --sci-shadow-yellow: 0 4px 15px rgba(255, 223, 20, 0.35);

  /* Transitions */
  --sci-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--sci-text-main);
  background-color: var(--sci-bg-light);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--sci-navy);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--sci-text-muted);
  font-size: 1rem;
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Badges & Tags */
.badge-gold, .badge-brand, .badge-red {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(211, 32, 38, 0.08);
  color: #d32026;
  border: 1px solid rgba(211, 32, 38, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-yellow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 223, 20, 0.18);
  color: #8a6800;
  border: 1px solid rgba(255, 223, 20, 0.5);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-navy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(11, 25, 44, 0.08);
  color: var(--sci-navy);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--sci-transition);
  text-align: center;
}

.btn:disabled,
.btn.loading-btn {
  opacity: 0.72;
  cursor: not-allowed !important;
  pointer-events: none !important;
  transform: none !important;
  box-shadow: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--sci-navy) 0%, var(--sci-navy-light) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(11, 25, 44, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #071120 0%, #152d47 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 25, 44, 0.35);
  color: #fff;
}

.btn-gold, .btn-yellow {
  background: linear-gradient(135deg, #ffdf14 0%, #e6be00 100%);
  color: #071120;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(255, 223, 20, 0.4);
}

.btn-gold:hover, .btn-yellow:hover {
  background: linear-gradient(135deg, #ffe84d 0%, #ffdf14 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 223, 20, 0.55);
  color: #071120;
}

.btn-red {
  background: linear-gradient(135deg, var(--sci-red) 0%, var(--sci-red-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(211, 32, 38, 0.35);
}

.btn-red:hover {
  background: linear-gradient(135deg, #e33036 0%, var(--sci-red) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(211, 32, 38, 0.5);
  color: #ffffff;
}

.btn-outline {
  border: 1px solid var(--sci-border);
  background: #ffffff;
  color: var(--sci-slate);
}

.btn-outline:hover {
  background: var(--sci-bg-alt);
  border-color: var(--sci-slate-light);
  color: var(--sci-navy);
}

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

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
  border-radius: 10px;
}

/* Header & Navbar */
.sci-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid #ffdf14;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: var(--sci-transition);
}

.sci-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.sci-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.sci-brand img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.sci-brand-text {
  display: flex;
  flex-direction: column;
}

.sci-brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #071120;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.sci-brand-title span.text-brand-red {
  color: var(--sci-red);
}

.sci-brand-sub {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--sci-red);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sci-brand-sub::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 3px;
  background: var(--sci-yellow);
  border-radius: 2px;
}

.sci-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.sci-nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--sci-slate);
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
}

.sci-nav-link:hover {
  color: var(--sci-red);
}

.sci-nav-link.active {
  color: var(--sci-navy-dark);
  font-weight: 700;
}

.sci-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--sci-red) 0%, var(--sci-yellow) 100%);
  border-radius: 2px;
}

/* Dropdown Menu Styling */
.sci-nav-dropdown-wrap:hover .sci-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sci-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -50px;
  width: 320px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px -10px rgba(11, 25, 44, 0.18);
  border: 1px solid var(--sci-border);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sci-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  transition: var(--sci-transition);
}

.sci-dropdown-item:hover {
  background: var(--sci-bg-alt);
}

.dropdown-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(211, 32, 38, 0.1);
  color: var(--sci-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.dropdown-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sci-navy);
  line-height: 1.2;
}

.dropdown-desc {
  font-size: 0.75rem;
  color: #64748B;
  margin-top: 0.2rem;
}

.sci-nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--sci-navy);
  cursor: pointer;
}

/* Hero Section & Multi-Slide Background */
.hero-section {
  position: relative;
  background: var(--sci-navy-dark);
  color: #ffffff;
  padding: 6.5rem 0 7.5rem;
  overflow: hidden;
}

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

.hero-slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center right;
  opacity: 0;
  visibility: hidden;
  filter: brightness(0.85) contrast(1.1);
  transform: scale(1.05);
  transition: opacity 1.4s ease-in-out, transform 8s ease-out, visibility 1.4s;
}

.hero-slide-item.active {
  opacity: 0.58;
  visibility: visible;
  transform: scale(1.0);
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: 
    linear-gradient(90deg, rgba(7, 17, 32, 0.96) 0%, rgba(7, 17, 32, 0.85) 45%, rgba(7, 17, 32, 0.4) 80%, rgba(7, 17, 32, 0.25) 100%),
    linear-gradient(180deg, rgba(7, 17, 32, 0.5) 0%, transparent 40%, rgba(7, 17, 32, 0.95) 100%),
    radial-gradient(circle at 85% 25%, rgba(211, 32, 38, 0.18) 0%, transparent 55%);
  pointer-events: none;
}

/* Hero Slider Navigation & Dots */
.hero-slider-nav {
  position: absolute;
  bottom: 25px;
  right: 40px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(7, 17, 32, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-nav-btn {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 0.85rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--sci-transition);
}

.hero-nav-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.hero-indicators {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-dot.active {
  width: 26px;
  background: #ffdf14;
  box-shadow: 0 0 8px rgba(255, 223, 20, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin: 1.2rem 0 1.5rem;
  letter-spacing: -0.03em;
}

.hero-title .text-gold, .hero-title .text-brand-gradient {
  color: var(--sci-yellow);
  background: linear-gradient(135deg, #ffffff 0%, var(--sci-yellow) 65%, #ffb800 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .text-brand-red {
  color: var(--sci-red);
}

.hero-desc {
  font-size: 1.15rem;
  color: #CBD5E1;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--sci-yellow);
  line-height: 1.1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.stat-label {
  font-size: 0.85rem;
  color: #94A3B8;
  font-weight: 500;
  line-height: 1.4;
}

/* About / Corporate Profile Section */
.about-section {
  padding: 6rem 0;
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-title {
  font-size: 2.3rem;
  margin: 0.8rem 0 1.2rem;
  color: var(--sci-navy);
  line-height: 1.2;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.about-pillar-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.about-pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(211, 32, 38, 0.08);
  color: #d32026;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid rgba(211, 32, 38, 0.2);
}

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

.about-image-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--sci-shadow-lg);
  height: 480px;
}

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

.about-floater-card {
  position: absolute;
  bottom: -25px;
  left: -25px;
  background: var(--sci-navy-dark);
  color: #fff;
  padding: 1.8rem;
  border-radius: 16px;
  max-width: 280px;
  box-shadow: var(--sci-shadow-lg);
  border-left: 4px solid #d32026;
}

/* Vision & Mission Section */
.vision-mission-section {
  padding: 5rem 0;
  background: var(--sci-bg-alt);
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.vm-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--sci-border);
  box-shadow: var(--sci-shadow);
}

.vm-card-vision {
  border-top: 3px solid #1E3E62;
}

.vm-card-mission {
  border-top: 3px solid #d32026;
}

/* Service Detail Page Responsive System */
.service-detail-hero {
  position: relative;
  background: var(--sci-navy-dark);
  color: #fff;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}

.service-detail-hero-title {
  font-size: 2.8rem;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.service-detail-hero-desc {
  color: #CBD5E1;
  font-size: 1.15rem;
  line-height: 1.7;
}

.service-detail-hero-cta {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.service-detail-section {
  padding: 5rem 0;
  background: #ffffff;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.service-detail-main {
  min-width: 0;
}

.service-detail-sidebar {
  min-width: 0;
}

.service-infographic-card {
  margin-bottom: 2.8rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--sci-border);
  box-shadow: 0 4px 20px rgba(11,25,44,0.06);
  background: #f8fafc;
}

.service-infographic-caption {
  padding: 0.8rem 1.2rem;
  background: #ffffff;
  border-top: 1px solid var(--sci-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.service-pipeline-container {
  background: #0b192c;
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(11,25,44,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.service-pipeline-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 580px;
  padding-bottom: 2px;
}

.service-step-item {
  display: flex;
  gap: 1.2rem;
  background: #ffffff;
  border-left: 4px solid #d32026;
  border-top: 1px solid var(--sci-border);
  border-right: 1px solid var(--sci-border);
  border-bottom: 1px solid var(--sci-border);
  padding: 1.2rem 1.5rem;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.service-consultation-section {
  padding: 5rem 0 6rem;
  background: var(--sci-bg-alt);
  border-top: 1px solid var(--sci-border);
  scroll-margin-top: 90px;
}

/* Article Detail Page Responsive System */
.article-detail-header {
  background: var(--sci-navy-dark);
  color: #fff;
  padding: 4.5rem 0 3.5rem;
  border-bottom: 3px solid #ffdf14;
}

.article-detail-title {
  font-size: 2.8rem;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  max-width: 960px;
}

.article-detail-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: #CBD5E1;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.article-detail-section {
  padding: 4rem 0 6rem;
  background: #ffffff;
}

.article-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 3.5rem;
  align-items: start;
}

.article-detail-main {
  min-width: 0;
}

.article-detail-sidebar {
  min-width: 0;
  position: sticky;
  top: 100px;
}

.article-detail-cover {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: var(--sci-shadow-md);
  max-height: 480px;
}

.article-detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-detail-excerpt {
  background: var(--sci-bg-alt);
  border-left: 4px solid #d32026;
  padding: 1.5rem 1.8rem;
  border-radius: 0 12px 12px 0;
  margin-bottom: 2.5rem;
  font-size: 1.15rem;
  color: var(--sci-navy);
  font-weight: 500;
  line-height: 1.7;
}

.article-share-bar {
  border-top: 1px solid var(--sci-border);
  border-bottom: 1px solid var(--sci-border);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.article-share-buttons {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}


/* Service Card Modern Styles */
.services-section {
  padding: 6rem 0;
  background: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: 2.5rem;
  margin: 0.8rem 0 1rem;
  color: var(--sci-navy);
}

.section-title span.accent-red {
  color: var(--sci-red);
}

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

.service-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--sci-border);
  overflow: hidden;
  box-shadow: var(--sci-shadow);
  transition: var(--sci-transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sci-red) 0%, var(--sci-yellow) 100%);
  opacity: 0;
  transition: var(--sci-transition);
  z-index: 5;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(11, 25, 44, 0.12), 0 0 15px rgba(211, 32, 38, 0.08);
  border-color: rgba(211, 32, 38, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

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

.service-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 17, 32, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.service-icon-badge {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--sci-red) 0%, var(--sci-red-dark) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.35rem;
  box-shadow: 0 4px 14px rgba(211, 32, 38, 0.4);
  border: 2px solid #ffffff;
}

.service-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--sci-navy);
}

.service-card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-scope {
  list-style: none;
  margin-bottom: 2rem;
}

.service-card-scope li {
  font-size: 0.9rem;
  color: var(--sci-slate);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.service-card-scope li i {
  color: var(--sci-red);
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

.service-card-footer {
  border-top: 1px solid var(--sci-border);
  padding-top: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Client Showcase */
.client-section {
  padding: 5rem 0;
  background: var(--sci-bg-alt);
  border-top: 1px solid var(--sci-border);
  border-bottom: 1px solid var(--sci-border);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  align-items: center;
}

.client-item {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  box-shadow: var(--sci-shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--sci-transition);
}

.client-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(211, 32, 38, 0.15);
  border-color: var(--sci-red);
}

.client-item img {
  max-height: 48px;
  width: auto;
  filter: grayscale(40%);
  opacity: 0.85;
  transition: var(--sci-transition);
}

.client-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Team Showcase */
.team-section {
  padding: 6rem 0;
  background: #ffffff;
}

/* Team Photo Slider Showcase */
.team-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(11, 25, 44, 0.22), 0 0 0 1px rgba(11, 25, 44, 0.08);
  background: #071120;
}

.team-slides-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 640px;
  overflow: hidden;
  background: radial-gradient(circle at center, #1E3E62 0%, #071120 100%);
}

.team-slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.02);
}

.team-slide-item.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.team-slide-image-box {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-slide-blur-bg {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  filter: blur(28px) brightness(0.32) saturate(1.2);
  transform: scale(1.1);
  pointer-events: none;
  z-index: 0;
}

.team-slide-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: relative;
  z-index: 1;
}

.team-slide-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
  z-index: 2;
}

.team-slide-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  max-width: 580px;
  padding: 1rem 1.4rem;
  background: rgba(11, 25, 44, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: #ffffff;
  z-index: 4;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  animation: slideCaptionFade 0.6s ease;
}

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

.team-slide-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-slide-title i {
  color: var(--sci-red);
  font-size: 0.95rem;
}

.team-slide-desc {
  font-size: 0.85rem;
  color: #CBD5E1;
  line-height: 1.45;
  margin-top: 4px;
  margin-bottom: 0;
}

.team-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #0B192C;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  font-size: 1.05rem;
}

.team-nav-btn:hover {
  background: var(--sci-red);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(211, 32, 38, 0.45);
}

.team-nav-btn.prev {
  left: 20px;
}

.team-nav-btn.next {
  right: 20px;
}

.team-slider-dots {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
  background: rgba(11, 25, 44, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.team-dot.active {
  width: 24px;
  background: var(--sci-red);
}

@media (max-width: 992px) {
  .team-slides-track {
    aspect-ratio: 16 / 9;
    max-height: 520px;
  }
  .team-slide-caption {
    max-width: 460px;
    padding: 0.85rem 1.1rem;
  }
  .team-slide-title {
    font-size: 1.05rem;
  }
  .team-slide-desc {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .team-slides-track {
    aspect-ratio: 16 / 10;
    min-height: 280px;
  }
  .team-slide-main-img {
    object-position: center 20%;
  }
  .team-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }
  .team-nav-btn.prev {
    left: 10px;
  }
  .team-nav-btn.next {
    right: 10px;
  }
  .team-slide-caption {
    left: 12px;
    right: 12px;
    bottom: 54px;
    max-width: none;
    padding: 0.75rem 1rem;
    border-radius: 10px;
  }
  .team-slide-title {
    font-size: 0.95rem;
  }
  .team-slide-desc {
    font-size: 0.78rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .team-slider-dots {
    bottom: 14px;
    right: 50%;
    transform: translateX(50%);
    padding: 6px 12px;
  }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.team-card {
  background: #ffffff;
  border: 1px solid var(--sci-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--sci-shadow);
  transition: var(--sci-transition);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sci-shadow-lg);
  border-color: rgba(211, 32, 38, 0.3);
}

.team-card-photo {
  height: 280px;
  background: linear-gradient(135deg, #071120 0%, #1E3E62 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.team-card-avatar-fallback {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px dashed rgba(255, 223, 20, 0.6);
  color: #ffdf14;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.team-card-body {
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-card-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sci-navy);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.team-card-position {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sci-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.team-card-bio {
  font-size: 0.9rem;
  color: var(--sci-slate);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.team-card-footer {
  border-top: 1px solid var(--sci-border);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.team-card-email {
  font-size: 0.85rem;
  color: var(--sci-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.team-card-email:hover {
  color: var(--sci-red);
}

/* Articles / Insights Grid */
.articles-section {
  padding: 6rem 0;
  background: var(--sci-bg-light);
}

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

.article-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--sci-border);
  overflow: hidden;
  box-shadow: var(--sci-shadow);
  transition: var(--sci-transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sci-red) 0%, var(--sci-yellow) 100%);
  opacity: 0;
  transition: var(--sci-transition);
  z-index: 5;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -5px rgba(11, 25, 44, 0.12), 0 0 15px rgba(211, 32, 38, 0.08);
  border-color: rgba(211, 32, 38, 0.3);
}

.article-card:hover::before {
  opacity: 1;
}

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

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

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

.article-card-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.8rem;
  color: var(--sci-text-muted);
  margin-bottom: 0.8rem;
}

.article-card-title {
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 0.8rem;
  color: var(--sci-navy);
}

.article-card:hover .article-card-title {
  color: var(--sci-red);
}

.article-card-excerpt {
  font-size: 0.9rem;
  color: var(--sci-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Contact / Quick Bar */
.contact-banner {
  background: linear-gradient(135deg, var(--sci-navy-dark) 0%, var(--sci-navy) 60%, #152238 100%);
  color: #ffffff;
  padding: 5rem 0;
  position: relative;
  border-top: 3px solid var(--sci-yellow);
}

.contact-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.contact-banner-text h2 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.contact-banner-text p {
  color: #CBD5E1;
  font-size: 1.1rem;
  max-width: 600px;
}

/* Footer */
.sci-footer {
  background: var(--sci-navy-dark);
  color: #94A3B8;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--sci-gold-light);
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.8rem;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--sci-gold);
  margin-top: 0.25rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

@media (max-width: 1120px) {
  .sci-nav-links {
    gap: 1.1rem;
  }
  .sci-nav-link {
    font-size: 0.88rem;
  }
  .sci-nav-actions .btn {
    padding: 0.6rem 1.1rem;
    font-size: 0.85rem;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .client-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-image-container {
    height: 400px;
  }
  .service-detail-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .article-detail-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .sci-nav-links, .sci-nav-actions .btn-primary {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .stat-number {
    font-size: 1.35rem;
  }
  .stat-label {
    font-size: 0.78rem;
  }
  .about-section {
    padding: 4rem 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-title {
    font-size: 1.85rem;
  }
  .about-pillars-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .about-image-container {
    height: 280px;
    border-radius: 14px;
  }
  .about-floater-card {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
    border-radius: 12px;
    padding: 1.3rem;
  }
  .vision-mission-section {
    padding: 3.5rem 0;
  }
  .vision-mission-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .vm-card {
    padding: 1.8rem 1.4rem;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-section {
    padding: 4rem 0;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .team-card-photo {
    height: 240px;
  }
  .contact-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Service Detail Mobile Rules */
  .service-detail-hero {
    padding: 3.5rem 0 3rem;
  }
  .service-detail-hero-title {
    font-size: 1.95rem;
  }
  .service-detail-hero-desc {
    font-size: 1rem;
    line-height: 1.6;
  }
  .service-detail-hero-cta {
    flex-direction: column;
    gap: 0.75rem;
  }
  .service-detail-hero-cta .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .service-detail-section {
    padding: 3rem 0;
  }
  .service-detail-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .service-infographic-card {
    margin-bottom: 2rem;
  }
  .service-infographic-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
  }
  .service-step-item {
    padding: 1rem 1.1rem;
    gap: 0.9rem;
  }
  .service-consultation-section {
    padding: 3.5rem 0 4rem;
  }

  /* Article Detail Mobile Rules */
  .article-detail-header {
    padding: 3rem 0 2.5rem;
  }
  .article-detail-title {
    font-size: 1.85rem;
    line-height: 1.3;
    margin-bottom: 1.2rem;
  }
  .article-detail-meta {
    gap: 0.8rem 1.2rem;
    font-size: 0.82rem;
  }
  .article-detail-section {
    padding: 2.5rem 0 4rem;
  }
  .article-detail-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .article-detail-sidebar {
    position: static;
    top: auto;
  }
  .article-detail-cover {
    border-radius: 12px;
    margin-bottom: 1.8rem;
    max-height: 280px;
  }
  .article-detail-excerpt {
    padding: 1.2rem 1.4rem;
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  .article-share-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 0;
    margin-bottom: 2.5rem;
  }
  .article-share-bar > a {
    width: 100%;
    text-align: center;
    display: inline-block;
    padding: 0.6rem 0;
  }
  .article-body-prose h2 {
    font-size: 1.4rem;
    margin: 1.8rem 0 0.8rem;
  }
  .article-body-prose h3 {
    font-size: 1.2rem;
    margin: 1.4rem 0 0.6rem;
  }
  .article-body-prose blockquote {
    padding: 1rem 1.2rem;
    font-size: 1rem;
    margin: 1.5rem 0;
  }
}

@media (max-width: 480px) {
  .service-detail-hero-title {
    font-size: 1.7rem;
  }
  .service-pipeline-container {
    padding: 10px 12px;
    border-radius: 10px;
  }
  .service-step-item {
    flex-direction: column;
    gap: 0.5rem;
    border-radius: 0 10px 10px 0;
  }

  .article-detail-title {
    font-size: 1.6rem;
  }
  .article-detail-cover {
    max-height: 220px;
  }
  .article-share-buttons {
    width: 100%;
  }
  .article-share-buttons .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
}

/* Form Styles & Controls */
.form-group {
  margin-bottom: 1.4rem;
  text-align: left;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--sci-navy);
  margin-bottom: 0.5rem;
}

.form-label .req {
  color: #EF4444;
}

.form-control {
  width: 100%;
  display: block;
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  border: 1.5px solid var(--sci-border);
  border-radius: 10px;
  background-color: #ffffff;
  color: var(--sci-text-main);
  transition: var(--sci-transition);
  font-family: inherit;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--sci-navy-light);
  box-shadow: 0 0 0 3px rgba(30, 62, 98, 0.15);
}

.form-control::placeholder {
  color: #94A3B8;
}

/* ==========================================================================
   Article Body Rich Text Prose Typography
   ========================================================================== */
.article-body-prose {
  font-size: 1.1rem;
  line-height: 1.85;
  color: #334155;
}

.article-body-prose p {
  margin-bottom: 1.6rem;
}

.article-body-prose h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--sci-navy);
  margin: 2.5rem 0 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(211, 32, 38, 0.15);
}

.article-body-prose h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--sci-navy);
  margin: 2.2rem 0 1rem;
  line-height: 1.35;
}

.article-body-prose h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--sci-navy);
  margin: 1.8rem 0 0.8rem;
}

.article-body-prose ul, 
.article-body-prose ol {
  margin: 1.2rem 0 1.8rem 1.8rem;
  padding-left: 0.5rem;
}

.article-body-prose li {
  margin-bottom: 0.6rem;
  line-height: 1.75;
}

.article-body-prose blockquote {
  border-left: 4px solid #d32026;
  background: #F8FAFC;
  padding: 1.2rem 1.8rem;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  font-size: 1.12rem;
  color: #1E293B;
  margin: 2rem 0;
  position: relative;
}

.article-body-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
  border: 1px solid var(--sci-border);
  border-radius: 8px;
  overflow: hidden;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article-body-prose th,
.article-body-prose td {
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--sci-border);
  text-align: left;
  white-space: nowrap;
}

.article-body-prose th {
  background: var(--sci-bg-alt);
  color: var(--sci-navy);
  font-weight: 700;
}

.article-body-prose tr:nth-child(even) td {
  background: #F8FAFC;
}

.article-body-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

.article-body-prose a {
  color: #d32026;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

.article-body-prose a:hover {
  color: #b0181d;
}

.article-body-prose code {
  background: #F1F5F9;
  color: #0F172A;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  font-size: 0.88em;
  font-family: monospace;
  word-break: break-word;
}

.article-body-prose pre {
  background: #0B192C;
  color: #F8FAFC;
  padding: 1.2rem;
  border-radius: 10px;
  overflow-x: auto;
  margin: 1.8rem 0;
  -webkit-overflow-scrolling: touch;
}

.article-body-prose pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  white-space: pre;
  word-break: normal;
}

/* ==========================================================================
   Language Switcher Component (Desktop & Mobile)
   ========================================================================== */
/* ==========================================================================
   Flag & Dropdown Language Switcher (Top Right Executive Design)
   ========================================================================== */
.sci-lang-dropdown {
  position: relative;
  display: inline-block;
}

.sci-lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 9999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sci-navy);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sci-lang-trigger:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.sci-lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sci-flag-icon {
  width: 20px;
  height: 14px;
  border-radius: 2.5px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
  display: inline-block;
  vertical-align: middle;
  object-fit: cover;
}

.sci-lang-option .sci-flag-icon {
  width: 22px;
  height: 15px;
}

.sci-lang-code {
  letter-spacing: 0.5px;
}

.sci-lang-chevron {
  font-size: 0.65rem;
  color: #64748B;
  transition: transform 0.2s ease;
}

.sci-lang-dropdown.open .sci-lang-chevron,
.sci-lang-dropdown:hover .sci-lang-chevron {
  transform: rotate(180deg);
}

.sci-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 175px;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 14px 35px rgba(11, 25, 44, 0.16);
  border: 1px solid #E2E8F0;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sci-lang-dropdown.open .sci-lang-menu,
.sci-lang-dropdown:hover .sci-lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sci-lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--sci-navy);
  font-size: 0.84rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.sci-lang-option:hover {
  background: #F1F5F9;
  color: var(--sci-red);
}

.sci-lang-option.active {
  background: rgba(211, 32, 38, 0.08);
  color: var(--sci-red);
  font-weight: 700;
}

.sci-lang-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
}

.sci-lang-name {
  font-size: 0.84rem;
  line-height: 1.2;
}

.sci-lang-sub {
  font-size: 0.7rem;
  color: #64748B;
  font-weight: 500;
}

.sci-lang-check {
  font-size: 0.75rem;
  color: var(--sci-red);
}

@media (max-width: 768px) {
  .sci-lang-trigger {
    padding: 5px 9px;
    font-size: 0.78rem;
  }
  .sci-lang-flag {
    font-size: 0.95rem;
  }
}


