/* ==========================================================================
   VIETNAMPOST BRAND STYLING & MODERN CSS
   Primary: #003366 (Deep Navy Blue)
   Accent: #ff9b1f / #ff6600 (VietnamPost Gold / Orange)
   Secondary: #2f3a2f
   ========================================================================== */

:root {
  --primary-color: #003366;
  --primary-hover: #002244;
  --secondary-color: #ff9b1f;
  --secondary-hover: #e0830d;
  --accent-orange: #ff6600;
  --text-main: #333333;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 14px rgba(0, 39, 77, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 39, 77, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-light);
}

body {
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.flex-between {
  display: flex;
  justify-content: space-between;
}

.align-center {
  align-items: center;
}

.relative {
  position: relative;
}

.text-center {
  text-align: center;
}

.text-warning {
  color: var(--secondary-color) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.mr-1 { margin-right: 4px; }
.mr-2 { margin-right: 8px; }
.ml-2 { margin-left: 8px; }

/* Section Title Style (Matching Screenshots) */
.section-title-wrap {
  margin-bottom: 28px;
}

.section-main-title {
  color: var(--primary-color);
  font-size: 1.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-yellow-pill {
  background: var(--secondary-color);
  background: linear-gradient(135deg, #ffb700 0%, #ff9b1f 100%);
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 6px 20px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(255, 155, 31, 0.3);
}

.btn-yellow-pill:hover {
  background: linear-gradient(135deg, #ff9b1f 0%, #e68500 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(255, 155, 31, 0.45);
}

/* --------------------------------------------------------------------------
   FIXED RIGHT TOOLS STRIP (MATCHES SCREENSHOTS 1, 2, 3, 4, 5)
   -------------------------------------------------------------------------- */
.fixed-right-tools {
  position: fixed;
  right: 0;
  top: 48%;
  transform: translateY(-50%);
  z-index: 990;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-right: none;
  border-radius: 8px 0 0 8px;
  box-shadow: -3px 4px 16px rgba(0, 51, 102, 0.12);
  overflow: hidden;
}

.fixed-right-tools .tool-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  width: 72px;
  border-bottom: 1px solid #f1f5f9;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
}

.fixed-right-tools .tool-btn:last-child {
  border-bottom: none;
}

.fixed-right-tools .tool-btn i {
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: #00529b;
}

.fixed-right-tools .tool-btn:hover {
  background: var(--primary-color);
  color: #ffffff;
}

.fixed-right-tools .tool-btn:hover i {
  color: var(--secondary-color);
}

/* --------------------------------------------------------------------------
   HEADER STYLES
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 51, 102, 0.12);
  background-color: #ffffff;
}

.header-top-bar {
  background-color: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.82rem;
  padding: 6px 0;
  color: #475569;
}

.top-nav-links {
  display: flex !important;
  align-items: center !important;
  list-style: none !important;
  gap: 16px;
  margin: 0 !important;
  padding: 0 !important;
}

.top-nav-links li {
  margin: 0 !important;
  padding: 0 !important;
}

.top-nav-links a {
  color: #475569 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px;
  text-decoration: none !important;
}

.top-nav-links a:hover {
  color: var(--accent-orange) !important;
}

.btn-top-search-orange {
  background: #ff9900;
  color: #ffffff;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.82rem;
  transition: all 0.2s ease;
}

.btn-top-search-orange:hover {
  background: #ea580c;
  transform: scale(1.05);
}

.vn-lang-badge {
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  padding: 2px 6px;
  cursor: pointer;
}

.vn-flag-badge {
  font-size: 1.2rem;
  line-height: 1;
}

.header-main {
  background-color: #ffffff;
  padding: 12px 0;
  border-bottom: 1px solid #edf2f7;
}

.main-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.header-segments {
  display: flex;
  gap: 12px;
  align-items: center;
}

.segment-tab {
  padding: 8px 24px;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 25px;
  color: #475569;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.segment-tab:hover {
  background-color: #e2e8f0;
  color: #003b71;
}

.segment-tab.active {
  background-color: #003b71 !important;
  color: #ffffff !important;
  border-color: #003b71 !important;
  box-shadow: 0 4px 12px rgba(0, 59, 113, 0.25);
}

.hotline-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff8f0;
  border: 1px solid #ffe2c2;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.hotline-badge:hover {
  border-color: #ff9b1f;
  box-shadow: 0 2px 8px rgba(255, 155, 31, 0.15);
}

.hotline-badge i {
  color: var(--accent-orange);
  font-size: 1.4rem;
  animation: pulse 2s infinite;
}

.hotline-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.hotline-number {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-orange);
  line-height: 1.1;
}

.header-nav-bar {
  background: #ff9900;
  background: linear-gradient(90deg, #ff9900 0%, #f59e0b 100%);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.nav-list {
  display: flex !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-list li {
  margin: 0 !important;
  padding: 0 !important;
}

.nav-list li a {
  display: flex !important;
  align-items: center !important;
  gap: 6px;
  padding: 14px 14px !important;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: background-color 0.2s ease;
  white-space: nowrap;
  text-decoration: none !important;
}

.nav-list li.active a, .nav-list li a:hover {
  background-color: rgba(0, 0, 0, 0.14) !important;
  color: #ffffff !important;
}

.chat-menu-btn a.btn-nav-chat {
  background-color: #003b71 !important;
  color: #ffffff !important;
  border-radius: 20px;
  margin-left: 6px;
  padding: 8px 16px !important;
  box-shadow: 0 2px 8px rgba(0, 59, 113, 0.3);
  font-weight: 800;
}

.chat-menu-btn a.btn-nav-chat:hover {
  background-color: #002244 !important;
  transform: translateY(-1px);
}

.search-form {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 20px;
  padding: 4px 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.search-form input {
  border: none;
  outline: none;
  font-size: 0.85rem;
  padding: 4px 8px;
  width: 175px;
  color: #334155;
}

.search-form button {
  background: none;
  border: none;
  color: #ff9900;
  cursor: pointer;
  padding: 2px 4px;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.search-form button:hover {
  color: #d97706;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   HERO BANNER & TRACKING (MATCHES OFFICIAL VIETNAMPOST SLIDER - FULL WIDTH)
   -------------------------------------------------------------------------- */
.hero-banner-section {
  width: 100%;
  max-width: 100%;
  background-color: #fafbfc;
  overflow: hidden;
  position: relative;
  margin: 0;
  padding: 0;
}

.banner-container {
  width: 100%;
  max-width: 100% !important;
  margin: 0;
  padding: 0;
  position: relative;
}

.hero-slider-track {
  position: relative;
  width: 100%;
  min-height: 380px;
  aspect-ratio: 1920 / 600;
  overflow: hidden;
  background-color: #f1f5f9;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s;
  pointer-events: none;
}

.hero-slide.active {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.banner-img {
  width: 100%;
  height: 100%;
  max-height: none !important;
  object-fit: cover;
  display: block;
}

.hero-slider-dots {
  position: absolute;
  bottom: 55px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 25;
  background: rgba(0, 0, 0, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-dot.active {
  background: #ff9b1f;
  width: 26px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 155, 31, 1);
}

.tracking-section {
  margin-top: -42px;
  position: relative;
  z-index: 30;
  margin-bottom: 30px;
}

.tracking-card {
  background: linear-gradient(135deg, #ffb300 0%, #ff8c00 100%);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: 0 10px 30px rgba(255, 155, 31, 0.35);
  color: #ffffff;
}

.tracking-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.tracking-card-header i { font-size: 1.2rem; }
.tracking-card-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tracking-form-grid {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tracking-input-col {
  flex: 1 1 320px;
}

.tracking-input-col input {
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 0.95rem;
  outline: none;
  background-color: #ffffff;
  color: #333;
}

.tracking-captcha-col {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 4px 10px;
}

.tracking-captcha-col input {
  border: none;
  outline: none;
  width: 90px;
  font-size: 0.95rem;
  padding: 6px;
}

.captcha-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #eef2f6;
  padding: 4px 8px;
  border-radius: 4px;
}

.captcha-text {
  font-family: monospace;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary-color);
  font-size: 1.05rem;
  user-select: none;
}

.btn-refresh-captcha {
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  font-size: 0.85rem;
}

.btn-tracking-submit {
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-tracking-submit:hover {
  background-color: #002244;
  box-shadow: 0 4px 12px rgba(0, 34, 68, 0.4);
}

.tracking-quick-shortcuts {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.shortcut-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 4px;
}

.shortcut-unit i { font-size: 1.4rem; }

.shortcut-divider {
  width: 1px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.35);
}

.tracking-result-box {
  margin-top: 16px;
  background: #ffffff;
  color: #333;
  padding: 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

/* Notice box */
.section-notice {
  padding: 35px 0 35px;
}

.notice-card-box {
  background: #ffffff;
  border: 2px solid var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.2), 0 4px 20px rgba(255, 102, 0, 0.25);
  border-radius: var(--radius-md);
  padding: 30px 24px;
}

.notice-title {
  color: var(--primary-color);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.notice-desc {
  max-width: 860px;
  margin: 0 auto 20px;
  font-size: 1.02rem;
  color: #4a5568;
}

.highlight-badge {
  background: #fff3e6;
  color: var(--accent-orange);
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.button-alert-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #ff6600 0%, #e65100 100%);
  color: #ffffff;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.35);
  transition: all 0.25s ease;
}

.button-alert-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 102, 0, 0.5);
}

/* --------------------------------------------------------------------------
   SECTION 1: DỊCH VỤ THỊNH HÀNH (MATCHES SCREENSHOT 1)
   -------------------------------------------------------------------------- */
.section-trending-services {
  padding: 35px 0;
  background-color: #f8fafc;
}

.trending-flex-row {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.services-carousel-wrap {
  flex: 1;
  position: relative;
  background: #f1f5f9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 10px 36px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s ease;
}

.carousel-arrow.prev { left: 4px; }
.carousel-arrow.next { right: 4px; }
.carousel-arrow:hover { background: var(--secondary-color); color: #ffffff; }

.services-carousel-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}

.trending-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 24px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

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

.card-icon-box {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.trending-icon-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.trending-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.trending-card-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 18px;
}

/* Vertical promo banner */
.vertical-promo-banner {
  width: 290px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #ffc107 0%, #ff9800 100%);
  border-radius: 12px;
  padding: 22px 18px;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(255, 152, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.promo-mini-logo {
  height: 38px;
  margin: 0 auto 10px;
  filter: brightness(0) invert(1);
}

.promo-tag-pill {
  display: inline-block;
  background: #ffffff;
  color: #ea580c;
  font-weight: 900;
  font-size: 0.88rem;
  padding: 4px 12px;
  border-radius: 14px;
  margin-bottom: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.promo-site-url {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff8f0;
  margin-bottom: 8px;
}

.promo-headline {
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.35;
  color: #003366;
  text-shadow: 0 1px 2px rgba(255,255,255,0.6);
  margin-bottom: 14px;
}

.promo-character-wrap {
  position: relative;
  margin-top: auto;
  border-radius: 10px;
  overflow: hidden;
}

.promo-girl-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}

.gold-card-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 51, 102, 0.9);
  color: #ffde00;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

.promo-floating-icons {
  position: absolute;
  top: 130px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.float-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #003366;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  animation: floatUpDown 3s infinite ease-in-out alternate;
}

.float-icon.i2 { animation-delay: 0.7s; }
.float-icon.i3 { animation-delay: 1.4s; }
.float-icon.i4 { animation-delay: 2.1s; }

@keyframes floatUpDown {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

/* --------------------------------------------------------------------------
   SECTION 2: SẢN PHẨM OCOP (MATCHES SCREENSHOT 1)
   -------------------------------------------------------------------------- */
.section-products {
  padding: 40px 0;
  background-color: #ffffff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-item-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.product-item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-color);
}

.product-thumb-wrap {
  height: 200px;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.product-info-wrap {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.product-sub {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 12px;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 12px;
}

.current-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--secondary-color);
}

.old-price {
  font-size: 0.82rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.buy-btn {
  width: 100px;
  text-align: center;
}

.product-dots-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.product-dots-row .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
}

.product-dots-row .dot.active {
  background: var(--secondary-color);
  width: 14px;
  border-radius: 10px;
}

/* --------------------------------------------------------------------------
   SECTION 3: TIN TỨC (MATCHES SCREENSHOT 2)
   -------------------------------------------------------------------------- */
.section-news-portal {
  padding: 45px 0;
  background-color: #fbfbfd;
}

.news-category-tabs {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 30px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 4px;
}

.news-tab-item {
  background: none;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: #64748b;
  padding: 8px 16px;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.news-tab-item.active {
  color: var(--primary-color);
  border-bottom: 3px solid #00a0e9;
  margin-bottom: -1px;
}

.news-content-layout {
  display: flex;
  gap: 22px;
}

.news-left-block {
  display: flex;
  gap: 20px;
  flex: 1;
}

.featured-story-card {
  flex: 1.1;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.featured-img-wrap {
  height: 230px;
  overflow: hidden;
}

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

.featured-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.featured-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.story-date {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 10px;
  display: block;
}

.story-excerpt {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.secondary-articles-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.small-article-item {
  display: flex;
  gap: 12px;
  background: #ffffff;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.small-article-thumb {
  width: 90px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.small-article-body {
  flex: 1;
  min-width: 0;
}

.small-article-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.35;
  margin-bottom: 2px;
}

.small-article-excerpt {
  font-size: 0.75rem;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* OCOP Vertical Poster on the right */
.news-right-poster {
  width: 290px;
  flex-shrink: 0;
  background: #fff8f0;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.poster-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.nongsan-badge {
  width: 28px;
  height: 28px;
}

.poster-subhead {
  font-size: 0.8rem;
  font-weight: 800;
  color: #15803d;
}

.poster-title-vn {
  font-size: 1.25rem;
  font-weight: 900;
  color: #991b1b;
  margin-bottom: 2px;
}

.poster-slogan {
  font-size: 0.88rem;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 8px;
}

.badge-ocop-red {
  display: inline-block;
  background: #dc2626;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 12px;
  margin: 0 auto 12px;
}

.poster-product-basket {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
}

.poster-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.poster-action {
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   SECTION 4: SỐ LIỆU ẤN TƯỢNG (MATCHES SCREENSHOT 3)
   -------------------------------------------------------------------------- */
.section-impressive-stats {
  width: 100%;
}

.stats-yellow-banner {
  background: linear-gradient(135deg, #ffb300 0%, #ff9800 100%);
  padding: 45px 0 50px;
  color: #003366;
  position: relative;
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 20px 20px;
}

.stats-header-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.diamond-icon {
  font-size: 1.6rem;
  color: #003366;
}

.stats-main-title {
  font-size: 1.7rem;
  font-weight: 900;
  color: #003366;
  letter-spacing: 1px;
}

.stats-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.stat-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-icon-wrap {
  font-size: 2.4rem;
  margin-bottom: 10px;
  color: #003366;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: #003366;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 1rem;
  font-weight: 700;
  color: #003366;
}

/* --------------------------------------------------------------------------
   SECTION 5: BƯU ĐIỆN SỐ (MATCHES SCREENSHOT 3)
   -------------------------------------------------------------------------- */
.section-digital-post {
  padding: 50px 0;
  background-color: #ffffff;
}

.digital-ecosystem-row {
  display: flex;
  gap: 35px;
  align-items: center;
}

.digital-apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  flex: 1.3;
}

.app-card-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

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

.app-info-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-badge-logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.app-name-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-color);
}

.app-qr-right {
  display: flex;
  gap: 10px;
}

.qr-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-code-img {
  width: 44px;
  height: 44px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 2px;
}

.qr-label {
  font-size: 0.65rem;
  color: #0284c7;
  font-weight: 600;
  margin-top: 2px;
}

.digital-illustration-side {
  flex: 1;
  text-align: center;
  padding: 10px 20px;
}

.isometric-scene {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 16px;
}

.iso-screen {
  background: linear-gradient(135deg, #e0f2fe 0%, #f0fdf4 100%);
  border: 2px solid #bae6fd;
  border-radius: 20px;
  padding: 40px 20px;
  display: flex;
  justify-content: space-around;
  font-size: 2.2rem;
  color: var(--primary-color);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.15);
}

.iso-pin { color: #ea580c; }
.iso-truck { color: var(--secondary-color); }
.iso-store { color: #16a34a; }
.iso-box { color: #0284c7; }

.digital-slogan-text {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   SECTION 6: ĐỐI TÁC CỦA VIETNAM POST (MATCHES SCREENSHOT 4 & 5)
   -------------------------------------------------------------------------- */
.section-partners {
  padding: 50px 0 60px;
  background-color: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.partners-logos-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 30px;
}

.partners-logo-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.partner-cell {
  padding: 8px 16px;
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-cell:hover {
  transform: scale(1.06);
}

.partner-logo-img {
  max-height: 48px;
  max-width: 170px;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   FOOTER STYLES (MATCHES SCREENSHOT 4 & 5)
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: auto;
  color: #ffffff;
}

/* Tier 1: Dark Blue 6 Columns */
.footer-top-official {
  background-color: #003366;
  padding: 50px 0 40px;
}

.footer-official-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr 1.2fr;
  gap: 24px;
}

.footer-logo-white {
  height: 52px;
  filter: brightness(0) invert(1);
  margin-bottom: 14px;
}

.company-name-vn {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
}

.company-address {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 12px;
}

.company-copyright-note {
  font-size: 0.78rem;
  color: #94a3b8;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

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

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

.footer-chevron-links a {
  color: #cbd5e1;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.footer-chevron-links a i {
  font-size: 0.65rem;
  color: #94a3b8;
}

.footer-chevron-links a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-chevron-links a:hover i {
  color: var(--secondary-color);
}

/* Tier 2: Yellow Bottom Bar */
.footer-bottom-yellow {
  background: var(--secondary-color);
  background: linear-gradient(135deg, #ff9b1f 0%, #ff8c00 100%);
  padding: 14px 0;
  color: #003366;
}

.footer-hotline-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.hotline-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #003366;
}

.hotline-big-number {
  font-size: 1.45rem;
  font-weight: 900;
  color: #003366;
  text-decoration: none;
}

.footer-social-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-lead {
  font-size: 0.9rem;
  font-weight: 800;
  color: #003366;
}

.social-icon-list {
  display: flex;
  gap: 8px;
}

.social-circle-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  color: #003366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.social-circle-link:hover {
  background: #003366;
  color: #ffffff;
  transform: translateY(-2px);
}

.bct-badge-img {
  height: 48px;
}

/* Yellow Square Back-to-Top Button */
.back-to-top-square {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: var(--secondary-color);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.back-to-top-square.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top-square:hover {
  background: #e68500;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   RESPONSIVE UTILITIES & MOBILE NAVIGATION DRAWER
   -------------------------------------------------------------------------- */
.show-on-mobile { display: none; }

/* Mobile Actions in Header Main */
.mobile-header-actions {
  display: none;
  align-items: center;
  gap: 8px;
}

.btn-mobile-call {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ff9900;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(255, 153, 0, 0.35);
}

.btn-mobile-call:hover {
  background: #ea580c;
  color: #ffffff;
}

/* Mobile Segment Strip (Horizontal swipeable pills under header on small screens) */
.mobile-segment-strip {
  display: none;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  border-bottom: 2px solid #ff9900;
  padding: 8px 0;
}

.mobile-segment-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 0;
}

.mobile-segment-pills::-webkit-scrollbar {
  display: none;
}

.mob-seg-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.mob-seg-pill.active {
  background: #003b71 !important;
  color: #ffffff !important;
  border-color: #003b71 !important;
  box-shadow: 0 2px 8px rgba(0, 59, 113, 0.25);
}

/* Mobile Navigation Drawer & Backdrop */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 20, 50, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 88%;
  max-width: 380px;
  height: 100vh;
  background: #ffffff;
  z-index: 99999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -6px 0 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, #002b5c 0%, #003b71 100%);
  color: #ffffff;
  border-bottom: 3px solid #ff9900;
}

.drawer-logo img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  font-size: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.mobile-drawer-search {
  padding: 14px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.mobile-search-form {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 25px;
  padding: 6px 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.mobile-search-form input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.88rem;
  color: #1e293b;
}

.mobile-search-form button {
  background: none;
  border: none;
  color: #ff9900;
  font-size: 1rem;
  cursor: pointer;
  padding-left: 8px;
}

.drawer-segment-box {
  padding: 14px 20px;
  border-bottom: 1px solid #edf2f7;
}

.drawer-section-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.drawer-segment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.drawer-seg-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 4px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  color: #334155;
  transition: all 0.2s ease;
}

.drawer-seg-link i {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.drawer-seg-link.active {
  background: #003b71 !important;
  color: #ffffff !important;
  border-color: #003b71 !important;
  box-shadow: 0 3px 8px rgba(0, 59, 113, 0.25);
}

.drawer-seg-link.active i {
  color: #ff9900 !important;
}

.drawer-nav-menu {
  padding: 16px 20px;
  flex: 1;
}

.drawer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-nav-list li {
  margin-bottom: 4px;
}

.drawer-nav-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  color: #1e293b;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.drawer-nav-list li a i {
  width: 20px;
  color: #003b71;
  font-size: 1.05rem;
  text-align: center;
}

.drawer-nav-list li.active a,
.drawer-nav-list li a:hover {
  background-color: #eff6ff;
  color: #003b71;
  font-weight: 700;
}

.drawer-nav-list li.active a i {
  color: #ff9900;
}

.drawer-footer-actions {
  padding: 18px 20px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

.drawer-chat-btn {
  width: 100%;
  background: linear-gradient(135deg, #003b71 0%, #005696 100%);
  color: #ffffff;
  border: none;
  border-radius: 25px;
  padding: 12px 18px;
  font-weight: 800;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 59, 113, 0.3);
  transition: all 0.2s ease;
}

.drawer-chat-btn:hover {
  background: #002244;
  transform: translateY(-1px);
}

.drawer-hotline-btn {
  width: 100%;
  background: #fff8f0;
  color: #ea580c;
  border: 1.5px solid #fed7aa;
  border-radius: 25px;
  padding: 10px 18px;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.drawer-hotline-btn:hover {
  background: #ffedd5;
  color: #c2410c;
}

/* --------------------------------------------------------------------------
   IPAD & TABLET OPTIMIZATIONS (768px - 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .header-main {
    padding: 10px 0;
  }
  .main-logo {
    height: 48px;
  }
  .segment-tab {
    padding: 6px 16px;
    font-size: 0.85rem;
  }
  .hotline-badge {
    padding: 6px 12px;
  }
  .hotline-number {
    font-size: 1rem;
  }

  /* Yellow Navbar Horizontal Swipe / Fit on Tablet */
  .header-nav-bar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .header-nav-bar .container {
    min-width: 100%;
  }
  .nav-list {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav-list::-webkit-scrollbar {
    display: none;
  }
  .nav-list li a {
    font-size: 0.78rem !important;
    padding: 12px 10px !important;
  }
  .chat-menu-btn a.btn-nav-chat {
    padding: 6px 12px !important;
    font-size: 0.78rem !important;
  }

  /* Grid Layouts on iPad */
  .footer-official-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .trending-flex-row, .news-content-layout, .digital-ecosystem-row {
    flex-direction: column;
  }
  .vertical-promo-banner, .news-right-poster {
    width: 100%;
  }
  .hero-slide-img {
    height: 380px !important;
    object-fit: cover !important;
  }
  
  /* Inner Pages on iPad */
  .detail-main-layout {
    grid-template-columns: 1fr;
  }
  .product-detail-card-box .row.g-5 {
    --bs-gutter-x: 2rem;
  }
}

/* --------------------------------------------------------------------------
   MOBILE SCREENS (< 768px, iPhones & Android phones)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .hide-on-mobile { display: none !important; }
  .show-on-mobile { display: flex !important; }
  
  /* Top Bar Mobile */
  .header-top-bar {
    padding: 4px 0;
    font-size: 0.76rem;
  }
  .header-top-bar .container {
    padding: 0 10px;
  }
  .welcome-text {
    font-size: 0.74rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
  }
  .top-nav-links {
    gap: 10px;
  }

  /* Main Masthead Mobile */
  .header-main {
    padding: 8px 0;
  }
  .header-main .container {
    padding: 0 12px;
  }
  .main-logo {
    height: 42px;
  }

  /* Mobile Segment Strip Display */
  .mobile-segment-strip {
    display: block !important;
  }

  /* Yellow Navbar on Mobile: Smooth Horizontal Swipe */
  .header-nav-bar {
    background: #ff9900;
    background: linear-gradient(90deg, #ff9900 0%, #f59e0b 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
  }
  .header-nav-bar .container {
    padding: 0;
  }
  .nav-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 8px !important;
  }
  .nav-list::-webkit-scrollbar {
    display: none;
  }
  .nav-list li a {
    padding: 10px 10px !important;
    font-size: 0.75rem !important;
    white-space: nowrap;
  }
  .chat-menu-btn a.btn-nav-chat {
    margin-left: 4px;
    padding: 6px 12px !important;
    font-size: 0.74rem !important;
  }

  /* Hero Slider Banner on Mobile */
  .hero-slide-img {
    height: 240px !important;
    object-fit: cover !important;
  }
  .hero-slider-wrap {
    min-height: 240px;
  }

  /* Fast Tracking Section on Home */
  .tracking-fast-card {
    padding: 18px 14px !important;
  }
  .tracking-input-group {
    flex-direction: column;
    gap: 10px;
  }
  .tracking-input-group input {
    width: 100%;
    font-size: 16px !important; /* Prevents auto-zoom on iOS */
  }
  .tracking-input-group button {
    width: 100%;
    padding: 12px;
  }

  /* Inner Page Banners on Mobile */
  .detail-header-banner {
    padding: 24px 0 30px 0 !important;
  }
  .detail-title {
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
  }
  .detail-lead {
    font-size: 0.88rem !important;
  }
  .hero-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .hero-action-buttons .button-alert-primary,
  .hero-action-buttons .btn-outline-white {
    width: 100%;
    text-align: center;
    margin: 0 !important;
  }

  /* Grid Layouts & Cards */
  .services-carousel-track, .products-grid, .news-left-block {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .digital-apps-grid {
    grid-template-columns: 1fr;
  }
  .stats-metrics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-official-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom-yellow .wrap-mobile {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Form Elements on Mobile */
  input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
    font-size: 16px !important; /* Prevents iOS Safari input focus auto-zoom */
  }
  .reg-tabs-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding-bottom: 6px;
  }
  .reg-tabs-bar a {
    flex-shrink: 0;
  }
  .calc-card, .contact-form-card, .office-info-card {
    padding: 20px 16px !important;
  }
  .table-responsive {
    border: none;
  }
}

/* Extra small screens (iPhone SE, narrow Android < 380px) */
@media (max-width: 380px) {
  .main-logo {
    height: 36px;
  }
  .mob-seg-pill {
    padding: 5px 10px;
    font-size: 0.72rem;
  }
  .welcome-text {
    max-width: 160px;
  }
}

/* ==========================================================================
   INNER PAGES STYLING (SERVICES, PRODUCTS, NEWS, ABOUT, CONTACT, ETC.)
   ========================================================================== */

.page-detail-wrapper {
  background-color: #f8fafc;
  min-height: calc(100vh - 250px);
}

/* Top Detail Header Banner */
.detail-header-banner {
  background: linear-gradient(135deg, #002244 0%, #003366 60%, #004d99 100%);
  color: #ffffff;
  padding: 40px 0 50px 0;
  position: relative;
  overflow: hidden;
}

.detail-header-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 155, 31, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.breadcrumb-trail a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}

.breadcrumb-trail a:hover {
  color: var(--secondary-color);
}

.breadcrumb-trail .active {
  color: #ffffff;
  font-weight: 500;
  max-width: 400px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-cat-badge {
  display: inline-block;
  background: rgba(255, 155, 31, 0.2);
  color: #ffb74d;
  border: 1px solid rgba(255, 155, 31, 0.4);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.ocop-gold-badge {
  background: linear-gradient(135deg, #ff9b1f, #ff6600);
  color: #ffffff;
  border: none;
}

.detail-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.25;
}

.detail-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  line-height: 1.6;
}

/* Detail Main Layout */
.detail-main-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

/* Left Article Content */
.highlights-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.highlights-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.highlights-list {
  list-style: none;
}

.highlights-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  color: #475569;
  font-size: 15px;
}

.rich-content-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  line-height: 1.8;
  color: #334155;
}

.rich-content-box h2, .rich-content-box h3, .rich-content-box h4 {
  color: var(--primary-color);
  margin-top: 24px;
  margin-bottom: 14px;
  font-weight: 700;
}

.rich-content-box p {
  margin-bottom: 16px;
}

.rich-content-box ul, .rich-content-box ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

.rich-content-box li {
  margin-bottom: 8px;
}

/* Steps Flow */
.steps-flow-vertical {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}

.step-flow-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f8fafc;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--secondary-color);
}

.step-flow-number {
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.step-flow-text {
  font-weight: 500;
  color: #1e293b;
}

/* Service CTA Box */
.service-action-cta-card {
  background: linear-gradient(135deg, #002b54, #003366);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.service-action-cta-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.service-action-cta-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin-bottom: 0;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-cta-phone {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: all 0.2s;
}

.btn-cta-phone:hover {
  background: rgba(255, 255, 255, 0.3);
  color: var(--secondary-color);
}

/* Sidebar Widgets */
.sidebar-widget-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.sidebar-widget-card.support-widget {
  background: linear-gradient(135deg, #003366, #004d99);
  color: #ffffff;
}

.sidebar-widget-card.support-widget .widget-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.sidebar-widget-card.support-widget .widget-icon {
  font-size: 28px;
  color: var(--secondary-color);
}

.sidebar-widget-card.support-widget p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin-bottom: 18px;
}

.btn-sidebar-chat {
  width: 100%;
  background: var(--secondary-color);
  color: #ffffff;
  border: none;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-sidebar-chat:hover {
  background: var(--secondary-hover);
}

.related-services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-service-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.related-service-link:hover {
  background: #f1f5f9;
}

.rel-icon {
  width: 40px;
  height: 40px;
  background: #f8fafc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rel-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.rel-info strong {
  display: block;
  font-size: 14px;
  color: var(--primary-color);
}

.rel-cat {
  font-size: 12px;
  color: var(--text-muted);
}

/* Service Catalog List Page */
.service-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-chip:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.filter-chip.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
}

.service-full-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.service-card-header {
  padding: 24px 24px 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-card-icon-wrap {
  width: 56px;
  height: 56px;
  background: #eff6ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-icon-wrap img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.service-pill-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary-color);
  background: #fff7ed;
  border: 1px solid #ffedd5;
  padding: 4px 10px;
  border-radius: 12px;
}

.service-card-body {
  padding: 12px 24px 20px 24px;
  flex: 1;
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card-title a {
  color: var(--primary-color);
}

.service-card-title a:hover {
  color: var(--secondary-color);
}

.service-card-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 16px;
}

.service-card-features {
  background: #f8fafc;
  padding: 12px 16px;
  border-radius: 8px;
}

.features-label {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.service-card-features ul {
  list-style: none;
  font-size: 13px;
  color: #475569;
}

.service-card-features li {
  padding: 3px 0;
  position: relative;
  padding-left: 14px;
}

.service-card-features li::before {
  content: '•';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.service-card-footer {
  padding: 16px 24px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafafa;
}

.btn-service-view {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
}

.btn-service-view:hover {
  color: var(--secondary-color);
}

.btn-service-chat {
  background: #fff7ed;
  color: var(--secondary-color);
  border: 1px solid #ffedd5;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-service-chat:hover {
  background: var(--secondary-color);
  color: #ffffff;
}

.enterprise-banner {
  background: linear-gradient(135deg, #002244, #003366);
  border-radius: var(--radius-md);
  padding: 36px 40px;
  color: #ffffff;
}

.enterprise-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.badge-enterprise {
  display: inline-block;
  background: rgba(255, 155, 31, 0.25);
  color: #ffb74d;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.enterprise-text h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.enterprise-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin-bottom: 0;
  max-width: 600px;
}

.enterprise-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s;
}

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

/* OCOP Marketplace & Products */
.ocop-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: #ffffff;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-item i {
  font-size: 28px;
}

.trust-item strong {
  display: block;
  font-size: 14px;
  color: #1e293b;
}

.trust-item span {
  font-size: 12px;
  color: #64748b;
}

.filter-pills-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-pill.active {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #ffffff;
}

.search-input-wrap {
  position: relative;
  min-width: 280px;
}

.search-input-wrap .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

.form-control-search {
  width: 100%;
  padding: 8px 14px 8px 38px;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.form-control-search:focus {
  border-color: var(--primary-color);
}

.ocop-full-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.product-thumb-container {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f1f5f9;
}

.product-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.ocop-full-card:hover .product-main-img {
  transform: scale(1.05);
}

.product-badges-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge-ocop-star {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: #facc15;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
}

.badge-origin {
  background: rgba(0, 51, 102, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
}

.product-card-body {
  padding: 16px 20px;
  flex: 1;
}

.product-category-text {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 6px 0 8px 0;
  line-height: 1.4;
}

.product-title a {
  color: #1e293b;
}

.product-title a:hover {
  color: var(--secondary-color);
}

.product-desc-short {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.product-specs-mini {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #475569;
  background: #f8fafc;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.product-price-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: #b91c1c;
}

.price-old {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: line-through;
  margin-left: 6px;
}

.in-stock {
  font-size: 12px;
  font-weight: 600;
  color: #15803d;
}

.product-card-footer {
  padding: 12px 20px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  gap: 10px;
}

.btn-detail-link {
  flex: 1;
  text-align: center;
  background: #f1f5f9;
  color: #334155;
  font-weight: 600;
  font-size: 13px;
  padding: 8px;
  border-radius: 6px;
  transition: background 0.2s;
}

.btn-detail-link:hover {
  background: #e2e8f0;
}

.btn-buy-now {
  flex: 2;
  background: var(--secondary-color);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 13px;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s;
}

.btn-buy-now:hover {
  background: var(--secondary-hover);
}

/* Product Detail Page */
.product-detail-card-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
}

.main-image-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.main-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-gallery-ocop {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.8);
  color: #facc15;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.gallery-guarantees {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guarantee-box {
  display: flex;
  gap: 12px;
  background: #f8fafc;
  padding: 12px 16px;
  border-radius: 8px;
}

.guarantee-box i {
  font-size: 24px;
  flex-shrink: 0;
}

.guarantee-box strong {
  display: block;
  font-size: 13px;
  color: #1e293b;
}

.guarantee-box p {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 0;
}

.product-name-heading {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stars-gold {
  color: #eab308;
  display: inline-block;
  margin-right: 8px;
}

.product-price-section {
  display: flex;
  align-items: baseline;
  gap: 14px;
  background: #fff7ed;
  padding: 16px 20px;
  border-radius: 8px;
  margin: 16px 0 20px 0;
  border-left: 4px solid var(--secondary-color);
}

.product-price-section .current-price {
  font-size: 2rem;
  font-weight: 800;
  color: #b91c1c;
}

.product-price-section .old-price {
  font-size: 1.1rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.discount-pill {
  background: #fee2e2;
  color: #b91c1c;
  font-weight: 700;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 12px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th {
  width: 35%;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.specs-table td {
  padding: 10px 14px;
  font-size: 14px;
  color: #1e293b;
  border-bottom: 1px solid #e2e8f0;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  overflow: hidden;
  margin-left: 12px;
}

.btn-qty {
  width: 36px;
  height: 36px;
  background: #f1f5f9;
  border: none;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.quantity-control input {
  width: 50px;
  height: 36px;
  text-align: center;
  border: none;
  border-left: 1px solid #cbd5e1;
  border-right: 1px solid #cbd5e1;
  font-weight: 700;
}

.order-buttons-grid {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.btn-order-primary {
  flex: 1;
  background: linear-gradient(135deg, #ff9b1f, #ff6600);
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
  transition: transform 0.2s;
}

.btn-order-primary:hover {
  transform: translateY(-2px);
}

.btn-order-chat {
  flex: 1;
  background: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-order-chat:hover {
  background: var(--primary-hover);
}

.hotline-quick-call {
  margin-top: 16px;
  font-size: 13px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.custom-product-tabs {
  border-bottom: 2px solid #e2e8f0;
}

.custom-product-tabs .nav-link {
  font-size: 15px;
  font-weight: 600;
  color: #64748b;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 12px 24px;
}

.custom-product-tabs .nav-link.active {
  color: var(--primary-color);
  border-bottom-color: var(--secondary-color);
  background: transparent;
}

/* News & Media Center */
.news-filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.news-tab-item {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}

.news-tab-item.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
}

.featured-news-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.featured-img-wrap {
  position: relative;
  height: 360px;
}

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

.featured-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #b91c1c;
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
}

.featured-content-padding {
  padding: 36px;
}

.news-meta-info {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 12px;
}

.news-badge-cat {
  background: #eff6ff;
  color: var(--primary-color);
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 12px;
}

.featured-news-title {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.35;
}

.featured-news-title a {
  color: var(--primary-color);
}

.featured-news-title a:hover {
  color: var(--secondary-color);
}

.featured-summary-text {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-read-more-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary-color);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s;
}

.btn-read-more-accent:hover {
  background: var(--secondary-hover);
  color: #ffffff;
}

.news-standard-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}

.news-standard-card:hover {
  transform: translateY(-4px);
}

.news-card-thumb {
  position: relative;
  height: 200px;
}

.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-cat {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 51, 102, 0.85);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 10px;
}

.news-card-body {
  padding: 20px;
  flex: 1;
}

.news-card-meta {
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}

.news-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-card-title a {
  color: #1e293b;
}

.news-card-title a:hover {
  color: var(--secondary-color);
}

.news-card-desc {
  font-size: 13px;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-footer {
  padding: 12px 20px;
  border-top: 1px solid #f1f5f9;
  background: #fafafa;
}

.read-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-color);
}

.news-support-banner {
  background: linear-gradient(135deg, #002244, #003366);
  border-radius: var(--radius-md);
  padding: 32px 36px;
  color: #ffffff;
}

/* Post Office Network */
.badge-quick-city {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
}

.badge-quick-city.active {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

.badge-postal-code {
  font-size: 12px;
  color: var(--secondary-color);
  font-weight: 700;
}

.badge-province {
  background: #eff6ff;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
}

.srv-chip {
  display: inline-block;
  background: #f1f5f9;
  font-size: 11px;
  color: #475569;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 4px;
  margin-bottom: 4px;
}

.cskh-office-footer {
  background: linear-gradient(135deg, #002244, #003366);
}

/* Responsive adjustments for detail pages */
@media (max-width: 992px) {
  .detail-main-layout {
    grid-template-columns: 1fr;
  }
  .ocop-trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .enterprise-content {
    flex-direction: column;
    text-align: center;
  }
  .enterprise-actions {
    flex-direction: column;
    width: 100%;
  }
  .order-buttons-grid {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .ocop-trust-bar {
    grid-template-columns: 1fr;
  }
  .detail-title {
    font-size: 1.65rem;
  }
}

/* ==========================================================================
   PORTAL PAGES STYLING (MATCHING NAVBAR TABS & SCREENSHOTS)
   ========================================================================== */

/* Universal Portal Banners */
.portal-banner-personal {
  background: linear-gradient(135deg, #003366 0%, #004d99 50%, #002244 100%);
}
.portal-banner-enterprise {
  background: linear-gradient(135deg, #0b2545 0%, #13315c 50%, #001220 100%);
}
.portal-banner-admin {
  background: linear-gradient(135deg, #134074 0%, #002855 50%, #0b1a30 100%);
}
.portal-banner-digital {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #020617 100%);
}
.portal-banner-partners {
  background: linear-gradient(135deg, #1e3a8a 0%, #172554 50%, #0f172a 100%);
}
.portal-banner-registration {
  background: linear-gradient(135deg, #003366 0%, #1e293b 50%, #0f172a 100%);
}
.portal-banner-tracking {
  background: linear-gradient(135deg, #003b71 0%, #004080 50%, #001f3f 100%);
}
.portal-banner-services {
  background: linear-gradient(135deg, #003366 0%, #00529b 50%, #002b52 100%);
}

/* Utility Helpers */
.bg-primary-soft { background-color: #eff6ff !important; }
.bg-warning-soft { background-color: #fffbeb !important; }
.bg-success-soft { background-color: #f0fdf4 !important; }
.bg-info-soft { background-color: #f0f9ff !important; }
.text-navy { color: #003366 !important; }
.max-w-600 { max-width: 600px; }
.max-w-700 { max-width: 700px; }

/* Info Card Highlight */
.info-card-highlight {
  background: linear-gradient(135deg, #003366 0%, #004d99 100%) !important;
  color: #ffffff !important;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 20px rgba(0, 51, 102, 0.18) !important;
}

.info-card-highlight h4, 
.info-card-highlight h5 {
  color: #ffffff !important;
}

.info-card-highlight p {
  color: rgba(255, 255, 255, 0.88) !important;
}

/* 1. Personal Portal Styles */
.personal-quick-bar {
  background: #ffffff;
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 14px rgba(0, 51, 102, 0.06);
}

.personal-quick-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  text-decoration: none;
}

.personal-quick-item:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.quick-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.personal-quick-item strong {
  display: block;
  font-size: 0.92rem;
  color: #003366;
  font-weight: 700;
}

.personal-quick-item span {
  font-size: 0.76rem;
  color: #64748b;
}

.personal-service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.card-icon-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.icon-avatar {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-cat-simple {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 20px;
}

.highlights-box {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-top: 14px;
  font-size: 0.82rem;
}

.highlights-box ul {
  list-style: none;
  margin-top: 6px;
}

.highlights-box ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 4px;
  color: #475569;
}

.highlights-box ul li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--secondary-color);
  font-size: 1.1rem;
  line-height: 1;
}

.card-footer-action {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #edf2f7;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-learn-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: #003366;
  text-decoration: none;
}

.btn-learn-more:hover {
  color: var(--accent-orange);
}

.btn-chat-mini {
  background: none;
  border: 1px solid var(--secondary-color);
  color: #ea580c;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-chat-mini:hover {
  background: var(--secondary-color);
  color: #ffffff;
}

.step-number-bubble {
  width: 48px;
  height: 48px;
  background: #003366;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ff9b1f;
}

.personal-cta-banner {
  background: linear-gradient(135deg, #003366 0%, #004d99 100%);
  box-shadow: 0 10px 25px rgba(0, 51, 102, 0.2);
}

/* 2. Enterprise Portal Styles */
.b2b-service-card {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.pricing-card {
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 51, 102, 0.12) !important;
}

/* 3. Public Admin & DVC Styles */
.dvc-step-circle {
  width: 44px;
  height: 44px;
  background: #ff9b1f;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 4. Tracking Timeline & Checkpoints */
.tracking-timeline-box::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 15px;
  bottom: 25px;
  width: 3px;
  background: #e2e8f0;
}

.timeline-step-item {
  position: relative;
  padding-left: 28px;
}

.step-indicator-bubble {
  position: absolute;
  left: -20px;
  top: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  z-index: 2;
}

.pulse-bubble {
  background: #003366 !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 0 rgba(0, 51, 102, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 51, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 51, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 51, 102, 0);
  }
}

/* 5. Custom Accordion Styles */
.custom-accordion .accordion-button:not(.collapsed) {
  background-color: #eff6ff;
  color: #003366;
  box-shadow: none;
}

.custom-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: #003366;
}

/* 6. Partner Cards */
.partner-full-card {
  transition: all 0.3s ease;
}

.partner-full-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 51, 102, 0.08) !important;
}

/* 7. Registration Wizard Tabs */
.reg-tabs-bar a {
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s ease;
}


