/* ==========================================================================
   1. FONTS & ROOT TOKENS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Content:wght@400;700&family=Moul&family=Noto+Serif+Khmer:wght@100..900&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400&family=Wix+Madefor+Display:wght@400..800&display=swap');

:root {
  /* Brand Core Master Colors */
  --primary: #FF5722; /*#fc6a03;*/
  --primary-dark: #b84b00;
  --accent: #ec9706;
  
  /* Brand Contrast Harmonizers */
  --sand-bg: #f5eede;      /* Premium subtle warm backdrop */
  --teal-light: #a8c1c1;   /* Elegant structural border / accent */
  --dark-slate: #84aaad;   /* Earthy dark accent for badges / layouts */
  --deep-navy: #132a2c;    /* High contrast premium dark slate replacing pure black */
  --dark-blue: #02337b;
  
  /* Standard Layout Elements */
  --soft: #fbfaf7;         /* Tinted soft paper white */
  --text-muted: #4e5d60;   /* Readable contrast slate */
  --border-light: rgba(132, 170, 173, 0.25);
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Font Setup */
h1, h2, h3, h4, h5, h6,
.navbar, .btn, .card, .form-control, .form-select, 
.dropdown-menu, table, p, span, div, a, li, html, body, button {
  font-family: 'Wix Madefor Display', 'Noto Serif Khmer', sans-serif;
}
.text-primary {
    --bs-text-opacity: 1;
    color: #FF5722 /*#fc6a03*/ !important;
}
/* Global Form Reset for iOS */
input, textarea, select {
  -webkit-appearance: none;
  appearance: none;
}

/* Utilities */
.bg-primary {
  background-color: #fc6a03 !important;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--dark-slate));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Links */
a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--accent);
}

/* ==========================================================================
   2. BUTTONS & BADGES
   ========================================================================== */
.btn-primary,
.btn.btn-primary,
button.btn-primary {
  font-weight: 600 !important;
  background: linear-gradient(135deg, /*#fc6a03*/ #FF5722, #ff8c3a) !important;
  border: none !important;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(252, 106, 3, 0.2);
  transition: var(--transition-smooth) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: linear-gradient(135deg, #ff8c3a, #ec9706) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(252, 106, 3, 0.3);
}

.btn-outline-primary {
  color: var(--primary) !important;
  border: 1px solid var(--primary) !important;
  background: transparent !important;
  transition: var(--transition-smooth);
}

.btn-outline-primary:hover {
  background: linear-gradient(135deg, #ff8c3a, #ec9706) !important;
  border-color: transparent !important;
  color: #fff !important;
  transform: translateY(-2px);
}

.btn-modern {
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(252, 106, 3, 0.2);
}

.pill-badge {
  border-radius: 999px;
  padding: 8px 16px;
  background: rgba(252, 106, 3, 0.08);
  color: var(--primary);
  font-weight: 700;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

/* ==========================================================================
   3. DESKTOP HEADER & GLOBAL BRANDING
   ========================================================================== */
.desktop-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 9999;
  box-shadow: 0 4px 25px rgba(19, 42, 44, 0.03);
}

.bank-topbar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
}

.top-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.city-brand {
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
  filter: drop-shadow(0 4px 10px rgba(252, 106, 3, 0.05));
  transition: var(--transition-smooth);
}

.navbar-logo {
  height: 54px;
  width: auto;
  object-fit: contain;
}

/* Refined Desktop Language Switcher Styles */
.desktop-lang-switcher {
    display: inline-flex;
    align-items: center;
}

.desktop-lang-switcher .lang-pill-switch {
    background-color: #f1f3f5 !important;
    border: 1px solid #dee2e6 !important;
    padding: 3px !important;
    border-radius: 50rem !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.desktop-lang-switcher .lang-option {
    font-family: inherit;
    font-size: 0.78rem !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 4px 12px !important;
    border-radius: 50rem !important;
    transition: all 0.25s ease-in-out;
    text-align: center;
    line-height: 1.2;
}

.desktop-lang-switcher .lang-option.text-muted {
    color: #6c757d !important;
}

.desktop-lang-switcher .lang-option.text-muted:hover {
    color: #343a40 !important;
    background-color: rgba(0, 0, 0, 0.03);
}

.desktop-lang-switcher .lang-option.bg-white {
    background-color: #ffffff !important;
    color: #FF5722 !important; /* Adjust primary accent color to match your brand */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08) !important;
}

.company-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.5; 
  padding-top: 4px;
  align-items: center;
}

.com-kh-name {
  font-family: 'Moul', 'Noto Serif Khmer', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
}

.com-kh-name small, 
.com-kh-name .kh-highlight {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 2px;
}

.com-en-name {
  font-family: 'Roboto', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.city-brand::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -120%;
  width: 80px;
  height: 220%;
  /*background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(25deg);
  transition: all 0.8s ease;*/
}

.city-brand:hover::before {
  left: 130%;
}

.city-brand:hover {
  filter: drop-shadow(0 8px 20px rgba(252, 106, 3, 0.15));
}
/*
.top-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.top-actions a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.top-actions a:hover {
  color: var(--primary);
}

.top-actions span {
  color: var(--teal-light);
  user-select: none;
}
*/
/* ==========================================================================
   4. DESKTOP SEARCH PANEL (LEFT EXPANSION)
   ========================================================================== */
.search-wrapper {
  position: relative;
}

.search-btn {
  border: 0;
  background: none;
  font-size: 17px;
  color: var(--deep-navy);
  cursor: pointer;
  padding: 6px;
  transition: var(--transition-smooth);
}

.search-btn:hover {
  transform: scale(1.1);
  color: var(--primary);
}

.search-panel {
  position: absolute;
  right: 38px; 
  top: 0px;
  width: 290px;
  background: #ffffff;
  padding: 0px;
  border-radius: 25px;
  box-shadow: 0 12px 35px rgba(19, 42, 44, 0.08);
  border: 1px solid var(--border-light);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition-smooth);
}

.search-wrapper:hover .search-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-panel input {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid var(--teal-light);
  background-color: var(--soft);
  border-radius: 20px;
  outline: none;
  box-sizing: border-box;
  transition: var(--transition-smooth);
}

.search-panel input:focus {
  background-color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(252, 106, 3, 0.12);
}

/* ==========================================================================
   5. DESKTOP MAIN NAVIGATION BAR
   ========================================================================== */
.bank-menu {
  background: linear-gradient(45deg, var(--sand-bg) 0%, var(--teal-light) 100%);
  padding: 0;
}
/*
.menu-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}

.main-menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  height: 100%;
  align-items: center;
}
*/
/* Target the element grouping the <ul> links and the Apply Loan <a> button */
/*.menu-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Keeps the button stuck to the right edge */
/*    width: 100%;
}

/* Force the main menu items to consume equivalent empty space left and right */
/*.main-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0 auto; /* Crucial: Pushes left and right margins out evenly to center the links */
/*    padding: 0;
    gap: 2rem; /* Clean, modern spatial padding between menu link items */
/*}
*/
.menu-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Aligns all structural children elements toward the right */
    width: 100%;
    height: 48px;
}

.main-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto; /* Pushes the menu away from the left boundary to sit cleanly on the right */
    padding: 0;
    height: 100%;
    align-items: center;
    gap: 2rem;
}

.main-menu > li {
  position: relative;
  height: 100%;
}

.main-menu > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase; /* Converts all menu text to capital letters */
  letter-spacing: 0.03em;    /* Adds subtle spacing for a cleaner uppercase look */
  transition: var(--transition-smooth);
}

.main-menu > li > a:hover,
.main-menu > li > a.active-link {
  color: var(--accent);
  background-color: rgba(255, 255, 255, 0.08);
}

.dropdown-toggle::after {
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
  content: "";
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  transition: transform 0.2s ease;
}

.main-menu > li:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* ==========================================================================
   6. MEGA MENU SYSTEM (PRODUCTS)
   ========================================================================== */
/*.main-menu > li.dropdown:hover .mega-menu-panel {
  display: grid !important; 
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-panel {
  display: none; 
  position: absolute;
  top: 100%;
  left: 0;
  width: 760px;
  background: #ffffff;
  border: 1px solid var(--teal-light);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 20px 45px rgba(19, 42, 44, 0.08);
  padding: 28px;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  z-index: 1050;
}

.mega-menu-column {
  display: flex;
  flex-direction: column;
}

.mega-menu-column h6 {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--dark-blue);
  font-weight: 700;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
  margin-top: 0;
  border-bottom: 2px solid var(--sand-bg);
  padding-bottom: 6px;
}

.mega-menu-column a {
  display: block !important;
  text-decoration: none;
  color: var(--deep-navy) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 7px 0 !important;
  background: none !important;
  transition: var(--transition-smooth) !important;
}

.mega-menu-column a:hover {
  color: var(--primary) !important;
  padding-left: 4px !important;
}
*/
/* ==========================================================================
   6. MEGA MENU SYSTEM (PRODUCTS)
   ========================================================================== */
.main-menu > li.dropdown:hover .mega-menu-panel {
  display: grid !important; 
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-panel {
  display: none; 
  position: absolute;
  top: 100%;
  left: 0;
  width: 760px;
  background: #ffffff;
  border: 1px solid var(--teal-light);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 20px 45px rgba(19, 42, 44, 0.08);
  padding: 28px;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  z-index: 1050;
}

/* ─── THE ANTI-TREMBLE FIX ─── */
/* Creates an invisible 20px bridge above the panel so the mouse stay connected */
.mega-menu-panel::before {
  content: "";
  position: absolute;
  top: -20px; 
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
}

.mega-menu-column {
  display: flex;
  flex-direction: column;
}

.mega-menu-column h6 {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--dark-blue);
  font-weight: 700;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
  margin-top: 0;
  border-bottom: 2px solid var(--sand-bg);
  padding-bottom: 6px;
}

.mega-menu-column a {
  display: block !important;
  text-decoration: none;
  color: var(--deep-navy) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 7px 0 !important;
  background: none !important;
  transition: var(--transition-smooth) !important;
}

.mega-menu-column a:hover {
  color: var(--primary) !important;
  padding-left: 4px !important;
}
/* ==========================================================================
   7. MOBILE NAVIGATION & OVERLAY PANEL
   ========================================================================== */
.site-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border-light);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(252, 106, 3, 0.25);
}

.nav-link-custom {
  color: var(--deep-navy);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  transition: var(--transition-smooth);
}

.nav-link-custom:hover,
.nav-link-custom.active-link {
  color: var(--primary);
  background: rgba(252, 106, 3, 0.08);
}

@media (max-width: 991px) {
  .navbar-collapse {
    margin-top: 15px;
    padding: 24px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(19, 42, 44, 0.06);
  }

  .nav-link-custom {
    display: block;
    padding: 12px 16px;
    margin-bottom: 6px;
    border-radius: 10px;
  }

  .navbar-nav {
    align-items: start !important;
  }

  .mobile-panel {
    position: absolute;
    top: 85px;
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 25px 55px rgba(19, 42, 44, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    z-index: 9999;
    transition: var(--transition-smooth);
  }

  .nav-divider {
    margin: 16px 0;
    border-top: 1px solid var(--teal-light);
  }

  .mobile-login { margin-bottom: 12px; }
  .mobile-language { margin-top: 6px; }
  .desktop-right { display: none !important; }
}

@media (min-width: 992px) {
  .mobile-login,
  .mobile-language,
  .nav-divider {
    display: none !important;
  }
}

/* ==========================================================================
   8. HERO LAYER & GLASSMORPHISM CARDS
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-banner {
  position: relative;
  min-height: 680px;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(252, 106, 3, 0.03) 0%, rgba(19, 42, 44, 0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  min-height: 680px;
  display: flex;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 850;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 24px 70px rgba(19, 42, 44, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
}

.soft-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  box-shadow: 0 16px 45px rgba(19, 42, 44, 0.04);
  transition: var(--transition-smooth);
  overflow: hidden;
}

.soft-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(252, 106, 3, 0.14);
}

/* ==========================================================================
   9. INDIVIDUAL PAGES (PRODUCTS, CALCULATOR & DETAIL LAYOUTS)
   ========================================================================== */
.category-heading h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.heading-line {
  width: 70px;
  height: 4px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.product-hero {
  padding: 100px 0 70px;
  background: linear-gradient(rgba(252, 106, 3, 0.04), rgba(132, 170, 173, 0.08));
}

.product-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(252, 106, 3, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--primary);
  border: 1px solid rgba(252, 106, 3, 0.3);
  font-weight: 600;
}

.hero-description {
  max-width: 650px;
  margin-top: 20px;
  font-size: 1.05rem;
  opacity: .95;
  color: var(--soft);
}

.product-card {
  background: #ffffff;
  border-radius: 16px;
  height: 100%;
  border: 1px solid var(--teal-light);
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(19, 42, 44, 0.03);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(252, 106, 3, 0.12);
}

.product-icon {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  margin-bottom: 20px;
}

.product-detail-hero {
  min-height: 450px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.product-detail-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
}

.hero-content .col-lg-8p, .col-lg-9p, .col-lg-10p, .col-lg-11p, .col-lg-12p {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 50px rgba(19, 42, 44, 0.15);
}

.product-content-card,
.sidebar-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 12px 40px rgba(19, 42, 44, 0.04);
  border: 1px solid var(--border-light);
}

.sidebar-sticky, .sticky-sidebar {
  position: sticky;
  top: 100px;
  z-index: 10;
}

.apply-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 20px;
  padding: 30px;
}

.related-product {
  display: flex;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid var(--sand-bg);
}

.related-product:last-child {
  border-bottom: none;
}

.related-product img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 12px;
}

.fact-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 35px rgba(19, 42, 44, 0.04);
  border: 1px solid var(--border-light);
}

.fact-card i {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 12px;
}

/* Tabs UI Customizing */
.product-tabs .nav-link {
  border-radius: 50px;
  padding: 10px 24px;
  margin-right: 8px;
  color: var(--text-muted);
  background: var(--sand-bg);
  font-weight: 600;
  border: none;
  transition: var(--transition-smooth);
}

.product-tabs .nav-link.active {
  background: var(--primary);
  color: #ffffff;
}

.tab-content {
  background: var(--soft);
  padding: 28px;
  border-radius: 20px;
  line-height: 1.75;
  border: 1px solid var(--border-light);
}

/* Form Systems for Calculators & Inquiries */
.calculator-card,
.inquiry-card,
.faq-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(19, 42, 44, 0.04);
  border: 1px solid var(--border-light);
}

.filter-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 12px 40px rgba(19, 42, 44, 0.04);
  border: 1px solid var(--border-light);
}

.filter-card .form-control,
.inquiry-card input,
.inquiry-card textarea {
  border-radius: 10px;
  padding: 12px 16px;
  border: 1px solid var(--teal-light);
  background-color: var(--soft);
}

.filter-card .form-control:focus,
.inquiry-card input:focus,
.inquiry-card textarea:focus {
  background-color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(252, 106, 3, 0.1);
  outline: none;
}

/* ==========================================================================
   10. NEWS SECTION & CAROUSEL MODULES
   ========================================================================== */
.news-card {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(19, 42, 44, 0.03);
  transition: var(--transition-smooth);
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border-light);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(252, 106, 3, 0.12) !important;
}

.news-image {
  height: 230px;
  width: 100%;
  object-fit: cover;
}

.news-date {
  font-size: 13.5px;
  color: var(--text-muted);
}

.news-title {
  min-height: 52px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 700;
  color: var(--deep-navy);
}

.news-description {
  min-height: 66px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-muted);
}

/* Sliders Control Points Custom Styling */
.carousel-control-prev,
.carousel-control-next {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.9;
  transition: var(--transition-smooth);
}

.carousel-control-prev { left: -22px; }
.carousel-control-next { right: -22px; }

.carousel-control-next:focus, 
.carousel-control-next:hover, 
.carousel-control-prev:focus, 
.carousel-control-prev:hover {
  background: var(--accent);
  opacity: 1;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  transition: var(--transition-smooth);
}

.swiper-pagination-bullet-active {
  background: var(--primary) !important;
  width: 24px;
  border-radius: 6px;
}

.swiper-button-next, .swiper-button-prev {    
  color: var(--primary);
  transition: var(--transition-smooth);
}

.swiper-button-next:hover, .swiper-button-prev:hover {    
  color: var(--accent);
}

/* ==========================================================================
   11. FOOTER & GLOBAL ANIMATIONS
   ========================================================================== */
footer {
  background: var(--deep-navy);
  color: var(--sand-bg);
  padding: 20px 0;
  margin-top: 80px;
  border-top: 4px solid var(--primary);
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   12. MOBILE VIEWPORTS MEDIA QUERIES (PATCHED BREAKPOINTS)
   ========================================================================== */
@media (max-width: 991px) {
  .sidebar-sticky {
    position: relative; 
    top: auto;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 0px 0;
  }
  
  .hero-banner, .hero-content {
    height: 380px;
    min-height: 380px;
  }

  .hero-content {
    padding: 0 16px;
    text-align: center;
    justify-content: center;
  }

  .hero-title {
    font-size: 2.1rem;
    color: #ffffff;
    line-height: 1.2;
  }

  .news-header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 16px;
  }
  
  .carousel-control-prev { left: 4px; }
  .carousel-control-next { right: 4px; }
}

@media (max-width: 576px) {
  .hero-banner, .hero-content {
    height: 300px;
  }

  .hero-title {
    font-size: 1.7rem;
  }
}

/* ==========================================================================
   13. CUSTOM MOBILE HEADER SYSTEM (.mobile-header)
   ========================================================================== */
@media (max-width: 991px) {
  .mobile-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 9999;
    padding: 12px 16px;
    box-shadow: 0 4px 25px rgba(19, 42, 44, 0.04);
  }

  .mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .mobile-header .navbar-logo {
    height: 42px !important;
    width: auto;
    object-fit: contain;
  }

  .mobile-header .com-kh-name {
    font-family: 'Moul', 'Noto Serif Khmer', sans-serif;
    font-size: 10px !important;
    color: var(--primary);
    line-height: 1.4;
  }
  
  .mobile-header .com-kh-name small {
    font-size: 14px !important;
    font-weight: 700;
    color: var(--primary);
  }

  .mobile-header .com-en-name {
    font-family: 'Roboto', sans-serif;
    font-size: 8.5px !important;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.2px;
  }

  .mobile-toggle {
    border: 1px solid var(--border-light);
    background-color: var(--soft);
    color: var(--text-muted);
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
  }

  .mobile-toggle:active, 
  .mobile-toggle:focus {
    outline: none;
    background-color: rgba(252, 106, 3, 0.08);
    color: var(--primary);
  }

  /* OFF-CANVAS CONTAINER STYLING */
  #mobileMenu {
    background: #ffffff;
    padding: 0 20px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100vh - 70px); /* Fits full screen below header */
    overflow-y: auto;
  }

  /* TOP SEARCH BAR PLACEMENT INSIDE MENU */
  .mobile-search {
    margin-top: 16px;
    margin-bottom: 8px;
  }

  .mobile-search input {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid var(--border-light);
    background-color: var(--soft);
    border-radius: 12px;
    outline: none;
    box-sizing: border-box;
    transition: var(--transition-smooth);
  }

  .mobile-search input:focus {
    background-color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(252, 106, 3, 0.1);
  }

  /* CLEAN MENU LIST CONTAINER */
  .mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
  }

  .mobile-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    color: var(--deep-navy);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 12px;
    transition: var(--transition-smooth);
    text-decoration: none;
  }

  .mobile-menu > li > a:hover {
    color: var(--primary);
    background: rgba(252, 106, 3, 0.06);
  }

  /* ICONS ALIGNMENT FIX */
  .mobile-menu > li > a i.fas,
  .mobile-menu > li > a i.far,
  .mobile-menu > li > a i.fab {
    font-size: 16px;
    width: 24px;
    color: var(--primary);
    text-align: center;
    margin-right: 12px;
  }

  .mobile-menu > li > a .menu-text-wrap {
    display: flex;
    align-items: center;
    flex-grow: 1;
  }

  /* DESKTOP-MATCHED DROPDOWN ARROW & ROTATION STYLE */
  .mobile-menu .dropdown-toggle::after {
    display: inline-block;
    margin-left: 6px;
    vertical-align: middle;
    content: "";
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    transition: transform 0.2s ease;
  }

  .mobile-menu [data-bs-toggle="collapse"]:not(.collapsed).dropdown-toggle::after,
  .mobile-menu [data-bs-toggle="collapse"]:not(.collapsed) .dropdown-toggle::after {
    transform: rotate(180deg);
  }

  .mobile-menu [data-bs-toggle="collapse"]:not(.collapsed) .sub-arrow {
    transform: rotate(0deg);
    color: var(--primary);
  }

  /* Base style for the dropdown arrow (points down by default) */
  .mobile-menu .sub-arrow {
      display: inline-block !important;
      visibility: visible !important;
      opacity: 1 !important;
      transition: transform 0.25s ease;
  }

  /* Automatically rotate the arrow to point up when expanded */
  /*.mobile-menu [aria-expanded="true"] .sub-arrow {
      transform: rotate(180deg);
  }*/

  .product-dropdown {
    background: var(--soft);
    border-radius: 12px;
    padding: 16px;
    margin: 6px 0 12px 0;
    border: 1px solid var(--border-light);
  }

  .product-category-group {
    margin-bottom: 16px;
  }

  .product-category-group:last-child {
    margin-bottom: 0;
  }

  .category-title {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark-slate);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    padding-left: 8px;
  }

  .product-sub-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .product-sub-menu a {
    display: block;
    padding: 9px 12px;
    color: var(--text-muted);
    font-size: 13.5px;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition-smooth);
  }

  .product-sub-menu a:hover {
    color: var(--primary);
    background: rgba(252, 106, 3, 0.08);
    padding-left: 16px;
  }
}

/* ==========================================================================
   FIX: MOBILE HEADER RECOVERY PATCH
   ========================================================================== */
@media (max-width: 991px) {
  .bank-topbar {
    display: none !important;
  }

  .site-navbar .container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  .site-navbar .city-brand {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .site-navbar .com-kh-name {
    font-size: 11px !important;
    line-height: 1.3 !important;
  }
  
  .site-navbar .com-kh-name small, 
  .site-navbar .com-kh-name .kh-highlight {
    font-size: 15px !important;
  }

  .site-navbar .com-en-name {
    font-size: 9px !important;
    letter-spacing: 0.2px !important;
  }

  .site-navbar .navbar-logo {
    height: 42px !important;
    width: auto;
  }

  .navbar-toggler {
    padding: 6px 10px !important;
    font-size: 1.1rem !important;
    border: 1px solid var(--border-light) !important;
    background-color: var(--soft) !important;
    border-radius: 8px !important;
  }
}

/* ==========================================================================
   MOBILE UTILITY INTEGRATION EXTENSION
   ========================================================================== */
@media (max-width: 991px) {
  .mobile-utility-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--soft);
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 14px;
    border: 1px solid var(--border-light);
  }

  .mobile-lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-lang-switch .lang-btn {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    padding: 2px 6px;
    transition: var(--transition-smooth);
  }

  .mobile-lang-switch .lang-btn.active {
    color: var(--primary);
  }

  .mobile-lang-switch .lang-divider {
    color: var(--teal-light);
    font-size: 12px;
  }

  .mobile-login-action {
    font-size: 13px;
    font-weight: 700;
    color: #fff !important;
    background: linear-gradient(135deg, var(--deep-navy), var(--primary-dark));
    padding: 6px 14px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(19, 42, 44, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .mobile-menu .menu-divider {
    height: 1px;
    background-color: var(--border-light);
    margin: 10px 4px;
  }

  .mobile-menu li a.utility-link {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
  }

  .mobile-menu li a.utility-link i {
    color: var(--dark-slate);
    width: 16px;
    text-align: center;
    font-size: 15px;
  }

  .mobile-menu li a.utility-link:hover i {
    color: var(--primary);
  }
}

/* ==========================================================================
   PRODUCT DETAIL PAGE BRANDING UPGRADE
   ========================================================================== */
.product-hero-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0 120px 0;
  color: #ffffff;
  overflow: hidden;
}

.product-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(19, 42, 44, 0.95) 0%, rgba(78, 93, 96, 0.85) 60%, rgba(132, 170, 173, 0.7) 100%);
  z-index: 1;
}

.product-hero-banner .hero-content {
  position: relative;
  z-index: 2;
}

.product-badge-tag {
  display: inline-block;
  background-color: rgba(252, 106, 3, 0.12);
  color: var(--primary);
  border: 1px solid rgba(252, 106, 3, 0.3);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.product-hero-banner .hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 16px;
}

.product-hero-banner .hero-description {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
  margin-bottom: 32px;
}

.hero-buttons-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #fc6a03, #de5600);
  color: #ffffff !important;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  box-shadow: 0 4px 20px rgba(252, 106, 3, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(252, 106, 3, 0.4); }
.btn-hero-secondary:hover { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.5); }

.product-main-image-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(19, 42, 44, 0.05);
  border: 1px solid var(--teal-light);
}

.product-main-image-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.financial-fact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--teal-light);
  box-shadow: 0 4px 12px rgba(19, 42, 44, 0.01);
}

.financial-fact-card .icon-box {
  background: rgba(252, 106, 3, 0.08);
  color: var(--primary);
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.financial-fact-card .fact-info small {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 2px;
}
/* ==========================================================================
   5. Persistent Sidebar Element Component Rules
   ========================================================================== */
.sidebar-sticky-rail {
  position: sticky;
  top: 24px;
  z-index: 10;
}

.sidebar-premium-card {
  background: #ffffff;
  border: 1px solid var(--teal-light, #e2e8f0);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.04), 0 0 1px 1px rgba(15, 23, 42, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-premium-card:hover {
  box-shadow: 0 14px 35px -5px rgba(15, 23, 42, 0.07), 0 0 1px 1px rgba(15, 23, 42, 0.02);
}

/* Conversion Apply Box Enhancements */
.sidebar-premium-card.conversion-apply-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 16px 35px rgba(30, 58, 138, 0.25);
  position: relative;
  overflow: hidden;
}

.sidebar-premium-card.conversion-apply-box::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  pointer-events: none;
}

.conversion-apply-box h4 { 
  font-size: 19px; 
  font-weight: 700; 
  margin-bottom: 8px; 
  color: #ffffff;
  letter-spacing: -0.01em;
}

.conversion-apply-box p { 
  font-size: 13.5px; 
  line-height: 1.6; 
  color: rgba(255, 255, 255, 0.8); 
  margin-bottom: 22px; 
}

.btn-sidebar-action-apply {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 20px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-sidebar-action-apply:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.55);
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.sidebar-card-heading-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--deep-navy, #0f172a);
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sand-bg, #f1f5f9);
  display: flex;
  align-items: center;
  letter-spacing: -0.01em;
}

/* Related Items Loop Row Styles */
.related-products-feed-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feed-item-row-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 12px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.feed-item-row-card:hover { 
  background-color: var(--soft, #f8fafc);
  border-color: var(--teal-light, #e2e8f0);
  transform: translateX(3px);
}

.feed-thumbnail {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--teal-light, #e2e8f0);
  flex-shrink: 0;
}

.feed-content-info h6 {
  margin: 0 0 4px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--deep-navy, #0f172a);
  line-height: 1.4;
}

.feed-detail-link {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.feed-detail-link:hover { 
  color: var(--primary, #2563eb); 
}

/* Social Icons Layout Section */
.social-share-flex-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.share-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.share-icon-btn:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  opacity: 1; 
}

.facebook-color { background-color: #1877f2; }
.telegram-color { background-color: #229ed9; }
.linkedin-color { background-color: #0a66c2; }
.native-share-color { background-color: #10b981; }
.copy-color { background-color: #475569; }

/* ==========================================================================
   RESPONSIVE LAYOUT RESPONSIVENESS OVERRIDES
   ========================================================================== */
@media (max-width: 991px) {
  .product-hero-banner { padding: 60px 0; text-align: center; }
  .product-hero-banner .hero-description { margin-left: auto; margin-right: auto; }
  .hero-buttons-group { justify-content: center; }
  .product-hero-banner .hero-title { font-size: 32px; }
  .product-details-content-card { padding: 20px; }
  .sidebar-sticky-rail { position: relative; top: 0; }
}

@media (max-width: 575px) {
  .product-hero-banner .hero-title { font-size: 26px; }
  .hero-buttons-group a { width: 100%; justify-content: center; }
  .custom-product-tabs .nav-link { font-size: 12px; padding: 10px 8px; }
}
/* ==========================================================================
   Mobile Right-Slide Panel Variables & Layout System
   ========================================================================== */
#mobileMenuPanel, #mobileMenuOverlay {
    --neutral-dark: #1e293b;     /* Match Charcoal Blueprint Theme */
    --brand-primary: #FF5722;    /* Deep Corporate Green Token */
    --brand-accent: #ec9706;     /* Active Mint Accent Highlight */
    /*--drawer-w: 320px;*/    
}

/* 1. Base Header Adjustments */
.mobile-header .mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0.5rem;
    background-color: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}
.mobile-toggle {
    background: none;
    border: none;
    font-size: 1.35rem;
    color: var(--neutral-dark);
    padding: 0.5rem;
    cursor: pointer;
}

/* 2. Slider Frame Panel Layer Rules */
.mobile-right-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: var(--drawer-w);
    height: 100vh;
    background-color: #ffffff;
    z-index: 1100; /* Overrides floating navbar frameworks safely */
    box-shadow: -6px 0 30px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    
    /* Hardware-Accelerated Animation Pipeline Settings */
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-right-drawer.is-open {
    transform: translateX(0);
}

/* Scroll area constraint safely enclosing active drop lists */
.drawer-scroll-body {
    flex-grow: 1;
    overflow-y: auto;
    padding-bottom: 3rem;
}

/* 3. Panel Functional Interface Layout Blocks */
.drawer-header-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background-color: #ffffff;
    color: #ffffff;
}
.drawer-branding-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.075em;
}
.drawer-close-btn {
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.2s;
}
.drawer-close-btn:hover { color: #ffffff; }

/* 4. Menu Item Components Styles Integration mapping your layout */
.mobile-utility-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8fafc;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}
.mobile-lang-switch .lang-btn {
    text-decoration: none;
    color: #64748b;
    font-weight: 700;
    font-size: 0.85rem;
}
.mobile-lang-switch .lang-btn.active { color: var(--brand-primary); }
.mobile-lang-switch .lang-divider { margin: 0 0.4rem; color: #cbd5e1; }
.mobile-login-action {
    text-decoration: none;
    color: var(--neutral-dark);
    font-size: 0.85rem;
    font-weight: 700;
}

.mobile-search { padding: 1.25rem 1.5rem 0.5rem 1.5rem; }
.mobile-search input {
    width: 100%;
    padding: 0.6rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #f8fafc;
    font-size: 0.9rem;
}

.mobile-menu {
    list-style: none;
    padding: 1rem 0;
    margin: 0;
}
.mobile-menu li a {
    display: block;
    padding: 0.85rem 1.5rem;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.mobile-menu li a:hover, .mobile-menu li a.dropdown-toggle-link[aria-expanded="true"] {
    background-color: #f8fafc;
    color: var(--brand-primary);
}

/* Custom Category Dropdown Inner Formatting */
.product-dropdown { background-color: #0d6ac7; padding: 0.5rem 0; }
.product-category-group { padding: 0.5rem 1.5rem; }
.category-title {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}
.product-sub-menu a {
    padding: 0.45rem 0.5rem !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: #475569 !important;
}
.product-sub-menu a:hover { color: var(--brand-accent) !important; background: none !important; }

.menu-divider { height: 1px; background-color: #e2e8f0; margin: 0.75rem 1.5rem; }
.utility-link { color: #64748b !important; font-size: 0.9rem !important; }

/* 5. Mask Overlay Background Component Dimmer Elements */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(2px);
    z-index: 1090;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-drawer-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* Body context scroll suspension token flag toggler template rules */
body.drawer-open-lock {
    overflow: hidden !important;
}
/* Update these definitions inside your <style> block */

.mobile-right-drawer {
    position: fixed !important;
    top: 0 !important;             /* Pulls it directly to the absolute top of the screen */
    right: 0 !important;
    width: 100% !important;
    max-width: var(--drawer-w) !important;
    height: 100vh !important;       /* Forces complete top-to-bottom coverage */
    background-color: #ffffff !important;
    z-index: 99999 !important;      /* Forces it completely above the branding header */
    box-shadow: -6px 0 30px rgba(15, 23, 42, 0.15) !important;
    display: flex !important;
    flex-direction: column !important;
    
    /* Animation Curve Pipeline */
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.mobile-right-drawer.is-open {
    transform: translateX(0) !important;
}

.mobile-drawer-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(15, 23, 42, 0.5) !important;
    backdrop-filter: blur(2px) !important;
    z-index: 99998 !important;     /* Sits exactly underneath the open panel */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease !important;
}

.mobile-drawer-overlay.is-visible {
    opacity: 1 !important;
    pointer-events: auto !important;
}
/* Enable Hover State Actions on Desktop viewports */
@media (min-width: 992px) {
    .custom-hover-dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; /* Prevents cursor deadzones from closing the menu */
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .custom-hover-dropdown .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.25s ease-in-out;
    }
}

/* Polishing styles for the menu headers */
.dropdown-menu .dropdown-header {
    font-size: 11px;
    color: #6c757d;
    letter-spacing: 0.5px;
    padding: 0.5rem 1.25rem 0.25rem;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0056b3; /* Accent brand highlight */
    padding-left: 1.5rem; /* Subtle transition slide effect */
    transition: padding 0.2s ease;
}
@media (min-width: 992px) {
    /* Triggers open states cleanly when hovering on desktop viewports */
    .custom-hover-dropdown:hover > .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    
    .custom-hover-dropdown > .dropdown-menu {
        display: block !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.2s ease-in-out;
    }

    /* Polish item interaction inside dropdown sub-menus */
    .dropdown-menu .dropdown-item:hover {
        background-color: #f8f9fa;
        color: #0056b3;
        padding-left: 1.5rem;
        transition: padding 0.2s ease;
    }
}
.menu-right-navigation {
    margin-left: auto; /* Forces the entire block to shift to the right side */
}

.main-menu {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
}
@media (min-width: 992px) {
    /* 1. Ensure the parent list item acts as the anchor point */
    .main-menu > li.dropdown {
        position: relative !important;
    }

    /* 2. Redefine the mega menu panel to fit its contents */
    .main-menu .mega-menu-panel {
        position: absolute !important;
        left: 0 !important;
        right: auto !important;
        top: 100% !important;
        width: max-content !important; /* Forces panel to shrink to columns */
        min-width: 450px;              /* Sets a clean minimum baseline */
        display: none;                 /* Managed by your hover rules */
        flex-direction: row;           /* Align columns side-by-side */
        gap: 25px;                     /* Comfortable spacing between columns */
        padding: 20px !important;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
    }

    /* 3. Ensure columns display cleanly */
    .mega-menu-column {
        flex: 0 0 auto;
        min-width: 200px;              /* Prevents text links from cramming */
    }

    /* 4. Smooth hover display triggers */
    .custom-hover-dropdown:hover > .mega-menu-panel {
        display: flex !important;      /* Changes from block to flex for columns */
    }
}
/* Reports Custom Styling */
.max-w-600 {
    max-width: 600px;
}

.featured-report-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 5px solid #2b5c8f !important; /* Adjust to match main corporate primary theme */
}

.report-card {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.report-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.125) !important;
    border-color: #2b5c8f !important;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

/* Careers Custom Layout Styling */
.max-w-700 {
    max-width: 700px;
    margin: 0 auto;
}

.career-hero {
    border-bottom: 4px solid #f39c12; /* Matches fallback corporate brand secondary */
}

.bg-primary-light { background-color: rgba(43, 92, 143, 0.1); }
.bg-success-light { background-color: rgba(40, 167, 69, 0.1); }
.bg-warning-light { background-color: rgba(255, 193, 7, 0.1); }

.icon-box {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.culture-card {
    transition: transform 0.25s ease;
}
.culture-card:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Form refinement */
.form-control:focus {
    border-color: #2b5c8f;
    box-shadow: 0 0 0 0.25rem rgba(43, 92, 143, 0.25);
}
/* Vacancies Layout Enhancements */
.max-w-600 {
    max-width: 600px;
}

.bg-primary-light { 
    background-color: rgba(43, 92, 143, 0.08); 
}
.bg-success-light { 
    background-color: rgba(40, 167, 69, 0.08); 
}

.job-row-card {
    border-color: #e3e6ec !important;
    position: relative;
    overflow: hidden;
}

.job-row-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0px;
    background-color: #2b5c8f; /* Primary corporate tone */
    transition: width 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.job-row-card:hover::before {
    width: 5px;
}

.shadow-hover-sm:hover {
    box-shadow: 0 .25rem .75rem rgba(0,0,0,.05) !important;
    border-color: #cbd5e1 !important;
    transform: translateX(2px);
}

.transition-all {
    transition: all 0.2s ease-in-out;
}
/* Corporate Profile Structural Extensions */
.max-w-700 {
    max-width: 700px;
    margin: 0 auto;
}

.w-35 {
    width: 35%;
}

.profile-text p {
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.bg-primary-light { 
    background-color: rgba(43, 92, 143, 0.1); 
}
.bg-secondary-light { 
    background-color: rgba(243, 156, 18, 0.1); /* Secondary yellow accent */
}

/* Table overrides to maximize clean corporate view symmetry */
.table-striped-columns tbody tr:nth-of-type(even) {
    background-color: #fcfdfe;
}

.table td {
    border-color: #f1f5f9;
}
/* Custom Timeline UI Presentation Layout rules */
.max-w-700 {
    max-width: 700px;
    margin: 0 auto;
}

.corporate-timeline {
    border-color: #cbd5e1 !important; /* Balanced slate line border tone */
}

.timeline-node-item .node-marker {
    width: 16px;
    height: 16px;
    left: -29px;
    top: 6px;
    box-shadow: 0 0 0 3px rgba(43, 92, 143, 0.15);
}

.timeline-node-item:nth-child(even) .node-marker {
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.15); /* Adjust for corporate warning color accent mapping */
}

.leading-relaxed {
    line-height: 1.7;
}
/* License Presentation Components Mapping */
.max-w-400 {
    max-width: 400px;
}

.max-w-700 {
    max-width: 700px;
    margin: 0 auto;
}

.compliance-mini-text {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/*.bg-success-light {
    background-color: rgba(46, 204, 113, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}*/

.license-frame {
    box-shadow: inset 0 0 20px rgba(0,0,0,0.03);
}

.fw-mono {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
/* Board of Directors Framework Style Maps */
.max-w-700 {
    max-width: 700px;
    margin: 0 auto;
}

.director-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.director-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
}

.director-avatar-wrap {
    width: 100px;
    height: 100px;
}

/* Light tint variations for structural badges */
.bg-primary-light {
    background-color: rgba(43, 92, 143, 0.08);
}
.bg-secondary-light {
    background-color: rgba(243, 156, 18, 0.08);
}
.bg-success-light {
    background-color: rgba(46, 204, 113, 0.08);
}

.text-xs {
    font-size: 0.75rem;
    letter-spacing: 0.3px;
}
.min-h-50 {
    min-height: 50px; /* Aligns single-line and double-line names symmetrically */
}
/* Management Layout CSS Grid Mappings */
.max-w-700 {
    max-width: 700px;
    margin: 0 auto;
}

.executive-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.executive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
}

.executive-avatar-wrap {
    width: 100px;
    height: 100px;
}

.min-h-50 {
    min-height: 50px;
}

/* Color palettes matching your brand's operational layout */
.bg-primary-light { background-color: rgba(43, 92, 143, 0.08); }
/*.bg-success-light { background-color: rgba(46, 204, 113, 0.08); }*/
.bg-success-light { 
    background-color: rgba(40, 167, 69, 0.08); 
}
.bg-info-light { background-color: rgba(52, 152, 219, 0.08); text-color: #3498db; }
.bg-purple-light { background-color: rgba(155, 89, 182, 0.08); }

.text-purple { color: #9b59b6; }
.text-info { color: #3498db; }

.text-xs {
    font-size: 0.75rem;
    letter-spacing: 0.3px;
}
/* ==========================================================================
   ORGANIZATIONAL DESIGN MATRIX UTILITIES
   ========================================================================== */
:root {
    --org-orange: #E65425;
    --org-orange-hover: #C83E14;
    --org-dark: #1E293B;
    --org-gray-bg: #F8FAFC;
    --org-border: #E2E8F0;
    --org-lines: #94A3B8;
    --org-cyan: #0EA5E9;
    --khmer-font: 'Khmer OS Siemreap', 'Moul', sans-serif;
}

/* Base Canvas Settings */
.fw-extrabold { font-weight: 800; }
.tracking-widest { letter-spacing: 3px; }
.text-org-brand { color: var(--org-orange); }

.brand-divider {
    width: 60px;
    height: 3px;
    background: var(--org-orange);
    border-radius: 2px;
}

/* Canvas Layout Initialization */
.org-tree-canvas {
    width: max-content;
    min-width: 900px; /* Forces safety workspace width on tiny layouts */
    padding: 0 40px;
}

.org-level {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
}

/* ==========================================================================
   CARD STRUCTURE & THEME MATRIX
   ========================================================================== */
.org-card {
    background: #ffffff;
    border: 1px solid var(--org-border);
    border-radius: 12px;
    padding: 16px 20px;
    width: 240px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
}

/* Localized Typography Scale Rules */
.org-card .khmer-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--org-dark);
    margin-bottom: 4px;
    line-height: 1.5;
}

.org-card .english-text {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748B;
}

/* Node Custom Variances */
.node-governance {
    border-left: 4px solid var(--org-orange);
    background: #ffffff;
}
.committee-wrapper {
    /*position: relative;
    width: 100%;
    margin-top: 10px;
	margin-bottom: 10px;
	align-items: center;*/
	display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 60px;
}
.node-committee {
    border: 1px dashed var(--org-orange);
    background: var(--org-gray-bg);
    width: 330px;
}
.node-committee .khmer-text { font-size: 0.85rem; color: #475569; }

.node-executive {
    background: var(--org-orange);
    border: none;
    width: 240px;
    box-shadow: 0 10px 20px rgba(230, 84, 37, 0.2);
}
.node-executive:hover {
    background: var(--org-orange-hover);
    transform: translateY(-4px);
}

/* Precision Corner Cut (Simulates bottom-right asymmetrical accent) */
.accent-cut {
    clip-path: polygon(0% 0%, 100% 0%, 100% 86%, 93% 100%, 0% 100%);
}
.sub-committee-wrapper {
    /*position: relative;
    width: 100%;
    margin-top: 10px;
	margin-bottom: 10px;
	align-items: center;*/
	display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 60px;
}
.sub-committee-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.node-sub-committee {
    background: #ffffff;
    border-top: 3px solid var(--org-dark);
    width: 220px;
}
.sub-committee-bus-line {
    position: absolute;
    top: 0;
    left: 23%; /* Aligns beautifully over the 1st column center point */
    right: 23%; /* Ends perfectly centered over the 8th column center point */
    height: 2px;
    background: var(--org-lines);
    z-index: 1;
}
.node-department {
    border-top: 4px solid var(--org-dark);
    width: 100%;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.node-department:hover {
    border-top-color: var(--org-orange);
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(15, 23, 42, 0.08);
}

.node-branch {
    background: #475569;
    border: none;
    width: 100%;
}

/* ==========================================================================
   THE ADVISORY CONNECTOR SYSTEM (TIER 2 RE-ENGINEERING)
   ========================================================================== */
.board-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 60px;
}

/* Dynamic Left & Right Connecting Arms */
.advisory-branch {
    position: relative;
    display: flex;
    align-items: center;
}

.branch-left::after,
.branch-right::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 60px;
    height: 2px;
    background: var(--org-lines);
    z-index: 1;
}

.branch-left::after { right: -60px; }
.branch-right::after { left: -60px; }

/* ==========================================================================
   CONNECTOR UTILITY MATRIX
   ========================================================================== */
.connector-v {
    width: 2px;
    height: 30px;
    background: var(--org-lines);
}
.connector-v.length-xs { height: 20px; }
.connector-v.length-sm { height: 15px; }
.connector-v.length-md { height: 220px; position: absolute; top: 284px;}

/* Transitions Lines Break */
.transition-matrix {
    display: flex;
    flex-direction: column;
    align-items: center;
	position: Related;    
    margin-left: 6%;
    margin-right: 6%;
    /*z-index: 1;*/
}
.matrix-line {
    width: 100%;
    border-top: 2px dashed var(--org-cyan);
}

/* ==========================================================================
   GRIDS ARCHITECTURE (MANAGEMENT & OPERATIONS)
   ========================================================================== */
.management-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: auto;
}

/* 8-Column Pure Department Line Grid */
.departments-wrapper {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.departments-bus-line {
    position: absolute;
    top: 0;
    left: 6.01%; /* Aligns beautifully over the 1st column center point */
    right: 6.01%; /* Ends perfectly centered over the 8th column center point */
    height: 2px;
    background: var(--org-lines);
    z-index: 1;
}

.departments-grid {
    position: relative;
	display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
    width: 100%;
}

.dept-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.dept-col.position-relative {
    position: relative;
}

/* Modern Scrollbar customization styling for the desktop slider */
.custom-scrollbar::-webkit-scrollbar {
    height: 8px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: var(--org-gray-bg);
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}
/* ==========================================================================
   RISK & COMPLIANCE SPECIAL HIGH-RISE CONNECTOR
   ========================================================================== */
.dept-col.position-relative {
    position: relative;
}

/* Creates a solid vertical path extending upward from the department box */
/*.connector-upward-link {
    position: absolute;
    top: -218px; /* Precise height to travel up to the tier-2 line horizon */
 /*   left: 50%;
 /*   transform: translateX(-50%);
 /*   width: 2px;
 /*   height: 220px; /* Bridge height span */
 /*   background: var(--org-lines);
/*    border-left: 2px dashed var(--org-orange); /* Dashed orange path for reporting lines */
/*    z-index: 1;
/*    pointer-events: none;
}*/

.connector-upward-link {
    /*position: absolute;
    /* Adjust this negative value to perfectly touch your top blue dashed line */
    /*top: -185px; 
    height: 185px;
    width: 2px; /* Line thickness */
    /*background: var(--org-lines); /* Matches your other dark connector lines */
    /*z-index: 1;
	position: absolute;
    /* Increased height to bridge from the department cards all the way to Tier 2 */
    top: -332px; 
    height: 332px; 
    width: 2px;
    background-color: #6c757d; /* Clean matching border color */
    z-index: 1;
}
.connector-upward-link.connection-left {
    /* Aligns the vertical line precisely with the center of the first card */
    left: 50%;
    transform: translateX(-50%);
}
.connector-upward-link.connection-right {
    /* Aligns the vertical line precisely with the center of the last card */
    right: 50%;
    transform: translateX(50%);
}
/* Optional: Subtle border highlight on both items to signify the tracking relationship */
.highlight-risk-track {
    box-shadow: 0 0 0 2px rgba(230, 84, 37, 0.15), 0 4px 12px rgba(15, 23, 42, 0.04) !important;
}
/* ==========================================================================
   FLOATING CANVAS ZOOM CONTROLLER SUB-SYSTEM (FIXED RE-ANCHORING)
   ========================================================================== */
/* Container updates to clip dead space and handle scaled layouts tightly */
.org-scroll-container {
    position: relative;
    width: 100%;
    overflow: auto;
    display: flex;
    justify-content: center; /* Horizontally centers the chart when zoomed out */
    align-items: flex-start;
}

.org-tree-canvas {
    transform-origin: top center;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    margin: 0 auto;
    width: max-content;
}
/* Ensure the canvas serves as the design framework benchmark */
.org-tree-canvas.position-relative {
    position: relative;
}

/* Base style rules for the long bypass paths */
.global-committee-bypass {
    position: absolute;
    top: 171px;
    height: 520px;
    width: 2px;
    background-color: #4CAF50;
    z-index: 10;
}
/* Structural layout definition for bypass connectors */
.global-smart-bypass {
    position: absolute;
    width: 2px;
    background-color: #198754; /* Clean professional tracking green matches your design blueprint */
    z-index: 5;
    pointer-events: none; /* Prevents interference with UI clicks */
    transition: opacity 0.2s ease;
}

/* Align Left side line precisely to the outer edge of Risk & Compliance Committee */
.global-committee-bypass.line-left {
    /* Calculates position from center alignment outward */
    left: calc(50% - 600px); 
}

/* Align Right side line precisely to the outer edge of Audit Committee */
.global-committee-bypass.line-right {
    /* Calculates position from center alignment outward */
    right: calc(50% - 600px);
}
/* Floating HUD Panel Styles — FIXED Context update resolves container clip hidden flags */
.org-zoom-controls-hud {
    position: fixed;            /* Forces panel layer to lock relative to layout window screen viewport */
    top: 150px;                 /* Shift down slightly to sit neatly beneath top global navigation headers */
    Left: 40px;                /* Offset spacing from right browser wall margins */
    background: #ffffff !important;
    border-radius: 30px;
    padding: 8px 16px;
    z-index: 99999 !important;  /* High layer depth ensures it floats above standard content sections */
    user-select: none;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1) !important;
    border: 1px solid var(--org-border) !important;
}

.btn-zoom-action {
    border: none !important;
    background: transparent !important;
    color: var(--org-dark) !important;
    font-weight: 700;
    font-size: 1.15rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    transition: background 0.2s ease;
    padding: 0;
    cursor: pointer;
}

.btn-zoom-action:hover:not(:disabled) {
    background: var(--org-gray-bg) !important;
    color: var(--org-orange) !important;
}

.btn-zoom-action:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.btn-zoom-reset {
    font-size: 0.75rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: auto;
    padding: 0 12px;
    border-radius: 15px !important;
}

.zoom-percentage-indicator {
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748B;
    min-width: 52px;
    text-align: center;
}

.hud-divider {
    width: 1px;
    height: 18px;
    background: var(--org-border);
}
/*
	#mfi-vision-mission {
        --slate-50: #f8fafc; --slate-100: #f1f5f9; --slate-200: #e2e8f0; --slate-300: #cbd5e1;
        --slate-400: #94a3b8; --slate-500: #64748b; --slate-900: #0f172a; --slate-950: #020617;
        --primary: #0284c7; --success: #16a34a;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    }*/
    #mfi-vision-mission .text-base { font-size: 1rem !important; }
    #mfi-vision-mission .max-w-xl { max-width: 36rem; }
    #mfi-vision-mission .w-1.5 { width: 0.375rem; }
    #mfi-vision-mission .h-1.5 { height: 0.375rem; }
    
    .step-counter-badge {
        width: 28px;
        height: 28px;
    }
    
    /* Layout Horizontal Timeline Connector Rule */
    @media (min-width: 768px) {
        .layout-timeline-wrapper::before {
            content: '';
            position: absolute;
            top: 42px;
            left: 24px;
            right: 24px;
            height: 1px;
            background-color: var(--slate-200);
            z-index: 1;
        }
    }

    /* Micro-Interactions Hover Animations Frame */
    .transition-roadmap-card {
        transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s;
    }
    .transition-roadmap-card:hover {
        transform: translateY(-4px);
        border-color: var(--primary) !important;
        box-shadow: 0 12px 20px -4px rgba(15, 23, 42, 0.06) !important;
        background-color: #ffffff !important;
    }
    
    /* Deep Slate Card Exception Variant rules */
    .dark-pillar-node {
        background-color: var(--primary) !important;
        border-color: var(--slate-900) !important;
    }
    .dark-pillar-node:hover {
        background-color: var(--dark-blue) !important;
        border-color: var(--slate-950) !important;
        box-shadow: 0 12px 20px -4px rgba(15, 23, 42, 0.2) !important;
    }
	
    .bg-danger-subtle { background-color: rgba(239, 68, 68, 0.08) !important; }
    .border-danger-subtle { border-color: rgba(239, 68, 68, 0.2) !important; }
    .max-w-xl { max-width: 36rem; }
    .mx-auto { margin-left: auto; margin-right: auto; }
    
    /* Partner Brand Logo Hover Mechanics */
    .partner-card {
        height: 85px;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .filter-grayscale {
        filter: grayscale(1) opacity(0.55);
    }
    .partner-card:hover {
        border-color: var(--primary) !important;
        transform: translateY(-2px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05) !important;
    }
    .partner-card:hover .filter-grayscale {
        filter: grayscale(0) opacity(1);
    }
	
    #mfi-payment-channels .text-base { font-size: 1rem !important; }
    
    .partner-logo-wrapper {
        width: 54px;
        height: 54px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    .partner-brand-img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
    }

    .bg-blue-50 { background-color: rgba(2, 132, 199, 0.06) !important; }
    .text-blue-700 { color: #0369a1 !important; }
    .border-blue-200 { border-color: rgba(2, 132, 199, 0.2) !important; }
    
    .bg-green-50 { background-color: rgba(22, 163, 74, 0.06) !important; }
    .text-green-700 { color: #15803d !important; }
    .border-green-200 { border-color: rgba(22, 163, 74, 0.2) !important; }

    .transition-card {
        transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .transition-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 20px -4px rgba(15, 23, 42, 0.06) !important;
        border-color: #cbd5e1 !important;
    }
	 #mfi-corporate-footer {
        --slate-400: #94a3b8; --slate-500: #64748b; --slate-850: #1e293b;
        --slate-900: #0f172a; --slate-950: #020617; --primary: #0284c7;
        background-color: var(--slate-950);
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif, "Khmer OS Battambang";
    }
    #mfi-corporate-footer .py-6 { padding-top: 4.5rem; padding-bottom: 4.5rem; }
    #mfi-corporate-footer .py-3.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
    #mfi-corporate-footer .text-slate-400 { color: var(--slate-400) !important; }
    #mfi-corporate-footer .text-slate-500 { color: var(--slate-500) !important; }
    #mfi-corporate-footer .text-slate-850 { color: #1e293b !important; }
    #mfi-corporate-footer .border-slate-900 { border-color: var(--slate-900) !important; }
    #mfi-corporate-footer .text-xs { font-size: 0.75rem !important; }
    #mfi-corporate-footer .text-xxs { font-size: 0.687rem !important; }
    #mfi-corporate-footer .text-sm { font-size: 0.845rem !important; }
    #mfi-corporate-footer .text-md { font-size: 1.15rem !important; }
    #mfi-corporate-footer .fw-black { font-weight: 900; }
    #mfi-corporate-footer .tracking-tight { letter-spacing: -0.025em; }
    #mfi-corporate-footer .tracking-wider { letter-spacing: 0.05em; }
    #mfi-corporate-footer .max-w-sm { max-width: 24rem; }
    #mfi-corporate-footer .bg-gradient-to-r {
        background: linear-gradient(to right, #0284c7 0%, #0f172a 50%, #dc2626 100%);
    }

    /* Core Micro Interactivity States & Motion Transitions */
    .footer-link-group a { color: var(--slate-500); }
    .footer-link-group a:hover { color: white; padding-left: 3px; }
    
    .footer-legal-links a { color: var(--slate-500); transition: color 0.2s ease; }
    .footer-legal-links a:hover { color: var(--slate-400); }

    /* Custom Responsive Complaint CTA Action Link Styling */
    .btn-outline-danger-subtle {
        background-color: rgba(220, 38, 38, 0.05);
        border: 1px solid rgba(220, 38, 38, 0.15);
        color: #ef4444 !important;
    }
    .btn-outline-danger-subtle:hover {
        background-color: #dc2626 !important;
        border-color: #dc2626 !important;
        color: white !important;
        box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.2);
    }
    .btn-outline-danger-subtle:hover .text-danger { color: white !important; }
    
    .group-btn-arrow:hover .arrow { transform: translateX(3px); }
    
    @media (max-width: 767.98px) {
        #mfi-corporate-footer .py-6 { padding-top: 3rem; padding-bottom: 3rem; }
        #mfi-corporate-footer .text-center { text-align: center !important; }
    }