:root {
      --primary: #3d8b6e;          /* Pastel Forest/Sage Green */
      --primary-dark: #28634c;     /* Deep Botanical Green */
      --primary-light: #e8f5ee;    /* Soft Mint Green Tint */
      --primary-border: #bce3d0;   /* Light Sage Border */
      
      --cream-bg: #fcfbfa;         /* Warm Cream Main Background */
      --cream-card: #ffffff;       /* Pure White Card */
      --cream-surface: #f7f4ee;    /* Soft Cream Surface */
      --cream-border: #e6dfd5;     /* Warm Cream Border */
      
      --dark: #24302b;             /* Soft Deep Charcoal */
      --slate-700: #3e4c45;        /* Readable Body Text */
      --slate-600: #596a62;
      --slate-400: #8da197;
      
      --white: #ffffff;
      --radius: 14px;
      --radius-lg: 22px;
      --shadow-sm: 0 2px 4px rgba(61, 139, 110, 0.04);
      --shadow: 0 6px 16px -2px rgba(61, 139, 110, 0.07), 0 2px 6px rgba(0,0,0,0.03);
      --shadow-lg: 0 14px 30px -4px rgba(40, 99, 76, 0.1), 0 4px 10px rgba(0,0,0,0.04);
    }
    
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      font-family: -apple-system, BlinkMacSystemFont, "Sarabun", "Prompt", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      line-height: 1.6;
      color: var(--dark);
      background-color: var(--cream-bg);
      scroll-behavior: smooth;
      -webkit-text-size-adjust: 100%;
      scrollbar-gutter: stable;
      overflow-y: scroll;
    }

    body {
      padding-bottom: 85px;
      background: var(--cream-bg);
    }

    a:focus-visible, button:focus-visible {
      outline: 3px solid var(--primary);
      outline-offset: 2px;
    }

    .container {
      width: 100%;
      max-width: 1160px;
      margin: 0 auto;
      padding: 0 20px;
    }

    h1, h2, h3, h4 {
      line-height: 1.3;
      color: var(--dark);
      font-weight: 700;
    }

    h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
    h2 { font-size: clamp(1.35rem, 3vw, 2rem); margin-bottom: 0.75rem; }
    h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }
    p { color: var(--slate-700); margin-bottom: 1rem; }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 24px;
      font-size: 0.98rem;
      font-weight: 600;
      border-radius: var(--radius);
      text-decoration: none;
      transition: all 0.2s ease;
      cursor: pointer;
      border: none;
    }
    .btn:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow);
    }
    .btn-primary {
      background-color: var(--primary);
      color: var(--white);
    }
    .btn-primary:hover {
      background-color: var(--primary-dark);
    }
    .btn-line {
      background-color: #06c755;
      color: var(--white);
    }
    .btn-line:hover {
      background-color: #05a847;
    }
    .btn-whatsapp {
      background-color: #25d366;
      color: var(--white);
    }
    .btn-whatsapp:hover {
      background-color: #1ea952;
    }
    .btn-outline {
      background-color: var(--white);
      color: var(--primary);
      border: 2px solid var(--primary-border);
    }
    .btn-outline:hover {
      background-color: var(--primary-light);
      border-color: var(--primary);
    }

    /* Top Utility Bar */
    .top-bar {
      background: var(--cream-surface);
      color: var(--slate-600);
      font-size: 0.86rem;
      padding: 7px 0;
      border-bottom: 1px solid var(--cream-border);
    }
    .top-bar-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
    }
    .top-bar a {
      color: var(--primary-dark);
      text-decoration: none;
      font-weight: 700;
    }
    .top-lang-switch {
      display: flex;
      gap: 6px;
      align-items: center;
    }
    .lang-pill {
      display: inline-block;
      padding: 4px 11px;
      border-radius: 6px;
      font-size: 0.78rem;
      font-weight: 700;
      cursor: pointer;
      background: var(--white);
      color: var(--slate-700);
      border: 1px solid var(--cream-border);
      transition: all 0.15s ease;
    }
    .lang-pill.active, .lang-pill:hover {
      background: var(--primary);
      color: var(--white);
      border-color: var(--primary);
    }

    /* Header */
    header {
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(8px);
      position: sticky;
      top: 0;
      z-index: 100;
      border-bottom: 1px solid var(--cream-border);
      box-shadow: 0 2px 8px rgba(61, 139, 110, 0.04);
    }
    .nav-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 14px 0;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: clamp(10px, 1.3vw, 18px);
      list-style: none;
      flex-shrink: 0;
      margin: 0;
      padding: 0;
    }
    .nav-links a {
      text-decoration: none;
      color: var(--slate-700);
      font-weight: 600;
      font-size: 0.92rem;
      padding: 6px 0;
      border-bottom: 2px solid transparent;
      transition: color 0.15s ease, border-color 0.15s ease;
      white-space: nowrap;
    }
    .nav-links a:hover, .nav-links a.active {
      color: var(--primary);
      border-bottom-color: var(--primary);
    }
    #main-content {
      transition: opacity 0.12s ease-in-out;
    }
    .menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 6px;
      color: var(--primary-dark);
    }

    
    /* === Header Brand Styling (Flawless, Orderly, Side-by-Side Flex Layout) === */
    .brand {
      display: inline-flex !important;
      align-items: center !important;
      gap: 12px !important;
      text-decoration: none !important;
      color: var(--dark) !important;
      flex-shrink: 0 !important;
      white-space: nowrap !important;
      transition: opacity 0.15s ease;
      cursor: pointer;
    }
    .brand:hover, .brand:focus, .brand:visited, .brand:active {
      text-decoration: none !important;
      outline: none;
    }
    .brand * {
      text-decoration: none !important;
    }
    .brand-logo {
      width: 48px !important;
      height: 48px !important;
      border-radius: 12px !important;
      object-fit: contain !important;
      background: #ffffff !important;
      padding: 2px !important;
      box-shadow: 0 2px 8px rgba(61, 139, 110, 0.14) !important;
      border: 1px solid var(--cream-border) !important;
      flex-shrink: 0 !important;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      display: block !important;
    }
    .brand:hover .brand-logo {
      transform: scale(1.05);
      box-shadow: 0 4px 12px rgba(61, 139, 110, 0.22) !important;
    }
    .brand-text {
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-align: left;
    }
    .brand-title {
      font-size: clamp(1.05rem, 2vw, 1.18rem) !important;
      font-weight: 800 !important;
      color: var(--primary-dark) !important;
      letter-spacing: -0.015em !important;
      line-height: 1.2 !important;
      display: block !important;
      transition: color 0.15s ease;
    }
    .brand:hover .brand-title {
      color: var(--primary) !important;
    }
    .brand-sub {
      font-size: clamp(0.72rem, 1.4vw, 0.78rem) !important;
      color: var(--slate-600) !important;
      display: block !important;
      font-weight: 600 !important;
      letter-spacing: 0.01em !important;
      line-height: 1.25 !important;
      margin-top: 2px !important;
    }

    /* === Subpage Specific Utility Classes (Unified for Seamless Navigation) === */
    .article-hero {
      background: linear-gradient(180deg, #f3f9f5 0%, var(--cream-bg) 100%);
      padding: 48px 0 54px;
      border-bottom: 1px solid var(--cream-border);
    }
    .badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: var(--primary-light);
      color: var(--primary-dark);
      padding: 5px 14px;
      border-radius: 9999px;
      font-size: 0.82rem;
      font-weight: 700;
      margin-bottom: 16px;
      border: 1px solid var(--primary-border);
    }
    .med-box {
      background: #fdfaf3;
      border-left: 4px solid var(--primary);
      border-right: 1px solid var(--cream-border);
      border-top: 1px solid var(--cream-border);
      border-bottom: 1px solid var(--cream-border);
      padding: 16px 20px;
      border-radius: 0 var(--radius) var(--radius) 0;
      margin: 28px 0;
      font-size: 0.95rem;
      color: #2e4438;
      line-height: 1.65;
    }
    .med-box strong {
      display: block;
      margin-bottom: 4px;
      color: var(--primary-dark);
      font-weight: 700;
    }
    .grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin: 24px 0;
    }
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
      gap: 24px;
      margin: 24px 0;
    }
    .card {
      background: var(--cream-card);
      border-radius: var(--radius);
      padding: 28px;
      border: 1px solid var(--cream-border);
      box-shadow: var(--shadow);
    }
    .privacy-highlight, .english-section, .malay-section {
      background: var(--cream-card);
      border-radius: var(--radius-lg);
      padding: 30px;
      border: 1px solid var(--cream-border);
      box-shadow: var(--shadow);
      margin: 28px 0;
    }
    .info-tab-btn {
      padding: 9px 20px;
      border-radius: 9999px;
      font-size: 0.9rem;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    #main-content {
      opacity: 1;
      transition: opacity 0.12s ease-in-out;
    }

    /* Hero Section */
    .hero {
      background: linear-gradient(180deg, #f3f9f5 0%, var(--cream-bg) 100%);
      padding: 48px 0 54px;
      position: relative;
      border-bottom: 1px solid var(--cream-border);
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 36px;
      align-items: center;
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--primary-light);
      color: var(--primary-dark);
      padding: 6px 14px;
      border-radius: 9999px;
      font-size: 0.84rem;
      font-weight: 700;
      margin-bottom: 16px;
      border: 1px solid var(--primary-border);
    }
    .hero-desc {
      font-size: 1.1rem;
      color: var(--slate-700);
      margin-bottom: 24px;
      line-height: 1.65;
    }
    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 24px;
    }
    .trust-bullets {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 12px;
      padding-top: 18px;
      border-top: 1px solid var(--cream-border);
    }
    .trust-item {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.875rem;
      color: var(--slate-700);
      font-weight: 600;
    }
    .hero-card {
      background: var(--cream-card);
      border-radius: var(--radius-lg);
      padding: 28px;
      box-shadow: var(--shadow);
      border: 1px solid var(--cream-border);
    }
    .hero-card-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 18px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--cream-surface);
    }
    .hours-badge {
      background: var(--primary-light);
      color: var(--primary-dark);
      padding: 4px 10px;
      border-radius: 6px;
      font-size: 0.8rem;
      font-weight: 700;
      display: inline-block;
      margin-bottom: 12px;
      border: 1px solid var(--primary-border);
    }

    /* Medical Notice Callout */
    .med-notice-box {
      background: #fdfaf3;
      border-left: 4px solid var(--primary);
      border-right: 1px solid var(--cream-border);
      border-top: 1px solid var(--cream-border);
      border-bottom: 1px solid var(--cream-border);
      padding: 16px 20px;
      border-radius: 0 var(--radius) var(--radius) 0;
      margin: 28px 0;
      font-size: 0.95rem;
      color: #2e4438;
      line-height: 1.65;
    }
    .med-notice-box strong {
      display: block;
      margin-bottom: 4px;
      color: var(--primary-dark);
      font-weight: 700;
    }

    /* Section Styling */
    section {
      padding: 50px 0;
    }
    .section-header {
      text-align: center;
      max-width: 760px;
      margin: 0 auto 36px;
    }
    .section-tag {
      color: var(--primary);
      font-size: 0.86rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      margin-bottom: 8px;
      display: block;
    }

    /* Service Cards Grid (PrEP Focused) */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 24px;
    }
    .service-card {
      background: var(--cream-card);
      border-radius: var(--radius);
      padding: 28px;
      border: 1px solid var(--cream-border);
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }
    .service-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-lg);
      border-color: var(--primary-border);
    }
    .service-icon-wrap {
      width: 52px;
      height: 52px;
      border-radius: 14px;
      background: var(--primary-light);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      margin-bottom: 18px;
    }
    .service-badge {
      display: inline-block;
      font-size: 0.76rem;
      font-weight: 700;
      padding: 3px 9px;
      border-radius: 6px;
      background: var(--cream-surface);
      color: var(--primary-dark);
      margin-bottom: 12px;
      border: 1px solid var(--cream-border);
    }

    /* Local Silo Network */
    .silo-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
      gap: 22px;
      margin-top: 24px;
    }
    .silo-card {
      background: var(--cream-card);
      border-radius: var(--radius);
      padding: 24px;
      border: 1px solid var(--cream-border);
      box-shadow: var(--shadow-sm);
      text-decoration: none;
      color: inherit;
      display: block;
      transition: all 0.2s ease;
    }
    .silo-card:hover {
      border-color: var(--primary);
      transform: translateY(-2px);
      box-shadow: var(--shadow);
    }
    .silo-card h3 {
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: var(--primary-dark);
      font-size: 1.15rem;
    }
    .silo-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 14px;
    }
    .silo-tag-item {
      font-size: 0.76rem;
      background: var(--cream-surface);
      color: var(--slate-700);
      padding: 3px 8px;
      border-radius: 4px;
      border: 1px solid var(--cream-border);
    }

    /* Process Steps */
    .steps-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
      gap: 20px;
      margin-top: 24px;
    }
    .step-item {
      background: var(--cream-card);
      padding: 24px;
      border-radius: var(--radius);
      border: 1px solid var(--cream-border);
      box-shadow: var(--shadow-sm);
    }
    .step-num {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--primary);
      color: var(--white);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 1.1rem;
      margin-bottom: 14px;
    }

    /* FAQ Accordion */
    .faq-list {
      max-width: 820px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    details.faq-item {
      background: var(--cream-card);
      border-radius: var(--radius);
      border: 1px solid var(--cream-border);
      padding: 16px 22px;
      box-shadow: var(--shadow-sm);
      transition: background 0.15s;
    }
    details.faq-item[open] {
      background: #fbfdfc;
      border-color: var(--primary-border);
    }
    summary.faq-question {
      font-weight: 700;
      font-size: 1.05rem;
      cursor: pointer;
      list-style: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: var(--dark);
    }
    summary.faq-question::-webkit-details-marker {
      display: none;
    }
    .faq-answer {
      margin-top: 12px;
      padding-top: 12px;
      border-top: 1px solid var(--cream-surface);
      color: var(--slate-700);
      font-size: 0.96rem;
      line-height: 1.65;
    }

    /* Contact & Map Section */
    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      background: var(--cream-card);
      border-radius: var(--radius-lg);
      padding: 34px;
      border: 1px solid var(--cream-border);
      box-shadow: var(--shadow);
    }
    .contact-info-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .contact-info-item {
      display: flex;
      gap: 12px;
      align-items: flex-start;
    }
    .contact-info-item svg {
      flex-shrink: 0;
      color: var(--primary);
      margin-top: 3px;
    }
    .map-container {
      border-radius: var(--radius);
      overflow: hidden;
      min-height: 280px;
      background: var(--cream-surface);
      border: 1px solid var(--cream-border);
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 24px;
    }

    /* Footer */
    footer {
      background: #1f2a24;
      color: #9eb1a6;
      padding: 48px 0 24px;
      font-size: 0.9rem;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 36px;
      margin-bottom: 36px;
    }
    .footer-brand h4 {
      color: var(--white);
      font-size: 1.15rem;
      margin-bottom: 10px;
    }
    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .footer-links a {
      color: #cbdad1;
      text-decoration: none;
      transition: color 0.15s;
    }
    .footer-links a:hover {
      color: var(--white);
      text-decoration: underline;
    }
    .footer-bottom {
      padding-top: 24px;
      border-top: 1px solid #2d3b33;
      text-align: center;
      font-size: 0.8rem;
    }
    .hashtag-cloud {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 16px;
    }
    .hashtag-pill {
      font-size: 0.72rem;
      color: #8da197;
      background: #2b3931;
      padding: 2px 6px;
      border-radius: 3px;
    }

    /* Floating Sticky Action Bar for Mobile */
    .sticky-bar {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(255, 255, 255, 0.97);
      backdrop-filter: blur(8px);
      border-top: 1px solid var(--cream-border);
      padding: 10px 16px;
      z-index: 999;
      box-shadow: 0 -4px 12px rgba(0,0,0,0.06);
      display: flex;
      gap: 8px;
      align-items: center;
      justify-content: space-around;
    }
    .sticky-btn {
      flex: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 11px 8px;
      border-radius: 10px;
      font-size: 0.86rem;
      font-weight: 700;
      text-decoration: none;
      color: var(--white);
      text-align: center;
    }
    .sticky-line { background: #06c755; }
    .sticky-tel { background: var(--primary); }
    .sticky-wa { background: #25d366; }

    @media (max-width: 900px) {
      .hero-grid { grid-template-columns: 1fr; }
      .contact-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .nav-links { display: none; }
      .menu-toggle { display: block; }
      .nav-links.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--cream-border);
      }
    }
  
    /* Province & Area Silo Directory Pills */
    .province-dir-box {
      background: var(--cream-card);
      border-radius: var(--radius-lg);
      padding: 28px;
      border: 1px solid var(--cream-border);
      box-shadow: var(--shadow-sm);
      margin-top: 28px;
    }
    .province-region-group {
      margin-top: 18px;
      padding-top: 16px;
      border-top: 1px solid var(--cream-surface);
    }
    .province-region-group:first-of-type {
      margin-top: 12px;
      padding-top: 0;
      border-top: none;
    }
    .province-region-title {
      font-size: 0.96rem;
      font-weight: 700;
      color: var(--primary-dark);
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .province-pill-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .province-pill {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 6px 13px;
      border-radius: 9999px;
      font-size: 0.84rem;
      font-weight: 600;
      background: var(--cream-surface);
      color: var(--slate-700);
      border: 1px solid var(--cream-border);
      text-decoration: none;
      transition: all 0.15s ease;
    }
    .province-pill:hover, .province-pill.active-pill {
      background: var(--primary);
      color: var(--white);
      border-color: var(--primary);
      transform: translateY(-1px);
    }

/* Medical E-E-A-T, Comparison Table & Interactive Tool Styles */
.eeat-author-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f3f9f5;
  border: 1px solid var(--primary-border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--slate-700);
}
.eeat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.med-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius);
  border: 1px solid var(--cream-border);
  box-shadow: var(--shadow-sm);
}
.med-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.93rem;
  text-align: left;
}
.med-table th {
  background: var(--primary-dark);
  color: var(--white);
  padding: 14px 16px;
  font-weight: 700;
}
.med-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--cream-border);
  color: var(--slate-700);
  vertical-align: top;
}
.med-table tr:last-child td {
  border-bottom: none;
}
.med-table tr:nth-child(even) td {
  background: #faf9f6;
}
.tool-card {
  background: linear-gradient(180deg, #ffffff 0%, #f5fbf7 100%);
  border: 2px solid var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 30px 0;
  box-shadow: var(--shadow);
}
.tool-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 14px 0 20px;
}
.tool-opt-btn {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--cream-border);
  background: var(--white);
  color: var(--dark);
  font-weight: 600;
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}
.tool-opt-btn:hover, .tool-opt-btn.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
}
.tool-result-box {
  background: var(--white);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 18px 20px;
  margin-top: 16px;
  border: 1px solid var(--primary-border);
}
.breadcrumb-nav {
  font-size: 0.84rem;
  color: var(--slate-600);
  margin-bottom: 12px;
}
.breadcrumb-nav a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 600;
}
.breadcrumb-nav a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Responsive Zero-Horizontal-Scroll & Orderly Desktop/Mobile Proportions
   ========================================================================== */
@view-transition {
  navigation: auto;
}

html, body {
  max-width: 100%;
  overflow-x: clip;
}

img, svg, iframe, video {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Prevent any grid from forcing horizontal overflow on narrow mobile screens */
.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}
.silo-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.tool-options {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.btn {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}

/* Clean seamless transition state */
#main-content {
  transition: opacity 0.16s ease-out, transform 0.16s ease-out;
  will-change: opacity;
}
#main-content.page-transitioning {
  opacity: 0.25;
}

/* Desktop polish: hide mobile sticky bar & tighten balanced rhythm */
@media (min-width: 901px) {
  body {
    padding-bottom: 0;
  }
  .sticky-bar {
    display: none;
  }
  .silo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Tablet & Mobile (< 900px) */
@media (max-width: 900px) {
  .grid-2,
  .hero-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .silo-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 16px;
  }
  section {
    padding: 36px 0;
  }
  .hero, .article-hero {
    padding: 32px 0 36px;
  }
  .section-header {
    margin-bottom: 24px;
  }
  .nav-links.mobile-active {
    gap: 12px;
    align-items: stretch;
    text-align: center;
  }
  .nav-links.mobile-active a {
    padding: 10px 12px;
    border-radius: 8px;
  }
}

/* Small Mobile (< 640px): Zero horizontal scroll, full-bleed readable cards & tables */
@media (max-width: 640px) {
  .container {
    padding: 0 14px;
  }
  .top-bar {
    font-size: 0.78rem;
    padding: 8px 0;
  }
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .brand {
    gap: 8px !important;
    white-space: normal !important;
    min-width: 0;
    flex-shrink: 1 !important;
  }
  .brand-logo {
    width: 38px !important;
    height: 38px !important;
  }
  .brand-title {
    font-size: 0.96rem !important;
  }
  .brand-sub {
    font-size: 0.68rem !important;
  }
  h1 {
    font-size: 1.5rem;
    line-height: 1.3;
    word-break: break-word;
  }
  h2 {
    font-size: 1.25rem;
    line-height: 1.35;
  }
  .hero-desc {
    font-size: 0.96rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn,
  .article-hero .btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.94rem;
  }
  .card,
  .hero-card,
  .service-card,
  .tool-card,
  .contact-grid,
  .privacy-highlight,
  .english-section,
  .malay-section,
  .silo-card {
    padding: 18px 16px;
  }
  .med-box,
  .med-notice-box {
    padding: 14px 15px;
    font-size: 0.88rem;
    margin: 20px 0;
  }
  .eeat-author-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
  }
  /* Fit comparison tables cleanly inside mobile width without forcing horizontal page scroll */
  .med-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .med-table {
    width: 100%;
    table-layout: fixed;
    font-size: 0.82rem;
  }
  .med-table th,
  .med-table td {
    padding: 10px 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  details.faq-item {
    padding: 14px 15px;
  }
  summary.faq-question {
    font-size: 0.95rem;
    gap: 10px;
  }
  .faq-answer {
    font-size: 0.9rem;
  }
  .sticky-bar {
    padding: 8px 12px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }
}

/* ==========================================================================
   Pixel-Locked Seamless Frame (Zero Size Jump Between Pages)
   ========================================================================== */
html {
  overflow-y: scroll !important;
  overflow-x: clip !important;
  scrollbar-gutter: stable;
  font-size: 16px;
}
body {
  overflow-x: clip !important;
  font-size: 1rem;
}
.top-bar {
  min-height: 38px;
  display: flex;
  align-items: center;
}
header {
  min-height: 76px;
}
header > .container {
  min-height: 75px;
}
.faq-list {
  width: 100%;
  max-width: 100% !important;
  margin: 0 !important;
}
.hero,
.article-hero {
  padding: 44px 0 48px;
}
.hero h1,
.article-hero h1 {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.28;
  margin-bottom: 14px;
}
.hero-desc,
.article-hero p {
  font-size: 1.02rem !important;
  line-height: 1.65;
}
