/* Servefar NRI Property Management - Master Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Noto+Sans+Khmer:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* ========================================
   GOOGLE FONTS & CSS RESET
   ======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  padding-top: 100px;
  font-family: 'Poppins', sans-serif;
  color: #1A1A1A;
  line-height: 1.7;
  font-size: 16px;
  background: #FBF7F0;
  overflow-x: hidden;
}

/* ========================================
   COLOR VARIABLES
   ======================================== */

:root {
  --primary: #04043D;        /* Electric Royal Blue */
  --white: #FFFFFF;          /* Clean White */
  --accent-gold: #FFC02E;    /* Vibrant Gold */
  --bg-parchment: #FBF7F0;   /* Resetting parchment to White for the new theme */
  --text-main: #1A1A1A;      /* Deep Black for high contrast */
  --grey-light: #F2F2FF;     /* Very light blue-grey for sections */
  --subtext: #555555;        /* Supporting text */
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-parchment);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Sans Khmer', sans-serif;
  color: #04043D;
  line-height: 1.1;
  font-weight: 600;
  margin-bottom: 20px;
}

h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.2rem;
  font-weight: 900;
}

h2 {
  font-size: 2.6rem;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

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

/* ========================================
   UTILITY CLASSES
   ======================================== */

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

.section {
  padding: 100px 0;
}

.section-alt {
  background: #F2F2FF;
}

.section-heading {
  font-family: 'Noto Sans Khmer', sans-serif;
  color: #04043D;
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

/* Typing Effect Classes */
.typing-text {
  display: inline-block;
  min-height: 1.2em; /* Prevents layout shift */
  border-right: 3px solid #FF2E2E;
  padding-right: 5px;
  white-space: pre-wrap;
}

.typing-text.finished {
  border-right: none;
  animation: none;
}

.blink-cursor {
  animation: blink 0.7s infinite;
}

@keyframes blink {
  from, to { border-color: transparent }
  50% { border-color: #FF2E2E; }
}

.section-sub {
  color: var(--subtext);
  font-size: 1.15rem;
  margin-bottom: 56px;
  max-width: 700px;
  line-height: 1.6;
}

.gold-accent {
  color: #FFC02E;
}

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

.text-center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* Why Us page alignment overrides */
.page-why-us .why-us-stack-container {
  max-width: 1400px;
  padding: 0 60px;
}

.page-why-us .why-us-stack-container > .section-heading,
.page-why-us .why-us-stack-container > .section-sub {
  text-align: center;
}

.page-why-us .why-us-stack-container > .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.page-why-us .why-us-stack-container > .section-heading {
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .page-why-us .why-us-stack-container {
    padding: 0 28px;
  }
}

@media (max-width: 480px) {
  .page-why-us .why-us-stack-container {
    padding: 0 20px;
  }
}

/* About Us page alignment overrides */
.page-about-us .about-us-stack-container {
  max-width: 1400px;
  padding: 0 60px;
}

.page-about-us .about-us-stack-container > .section-heading,
.page-about-us .about-us-stack-container > .section-sub {
  text-align: center;
}

.page-about-us .about-us-stack-container > .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.page-about-us .about-us-stack-container > .section-heading {
  margin-bottom: 24px;
}

.section-servefar-began {
  position: relative;
  background: radial-gradient(circle at 12% 18%, rgba(218, 165, 32, 0.14), transparent 26%), radial-gradient(circle at 88% 10%, rgba(4, 4, 61, 0.08), transparent 28%), linear-gradient(180deg, #FFFFFF 0%, #F8F5EF 48%, #FBF7F0 100%);
  overflow: hidden;
}

.section-servefar-began::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 96px;
  width: min(1280px, calc(100% - 48px));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(4, 4, 61, 0.16), transparent);
  transform: translateX(-50%);
}

.section-servefar-began .section-heading {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 46px;
  color: #08081F;
  letter-spacing: -0.035em;
}

.servefar-began-layout {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  isolation: isolate;
}

.servefar-began-layout::before {
  content: '';
  position: absolute;
  right: -34px;
  top: -34px;
  width: 176px;
  height: 176px;
  border: 1px solid rgba(218, 165, 32, 0.28);
  border-radius: 48px;
  transform: rotate(14deg);
  pointer-events: none;
  z-index: -1;
}

.servefar-began-image-wrap {
  margin: 0;
  position: relative;
  z-index: 1;
  border-radius: 36px;
  overflow: hidden;
  background: #05051E;
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 42px 110px rgba(4, 4, 61, 0.18), 0 10px 26px rgba(4, 4, 61, 0.08);
}

.servefar-began-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 4, 61, 0.04), transparent 34%), linear-gradient(to top, rgba(4, 4, 61, 0.48), transparent 52%);
  pointer-events: none;
}

.servefar-began-image {
  width: 100%;
  height: clamp(520px, 56vw, 680px);
  display: block;
  object-fit: cover;
  object-position: center center;
}

.servefar-began-copy {
  width: min(1120px, calc(100% - 112px));
  margin: -132px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 56px;
  padding: 62px 66px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 34px 90px rgba(4, 4, 61, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px) saturate(1.15);
}

.servefar-began-copy::before {
  content: 'Our origin';
  position: absolute;
  left: 66px;
  top: -16px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #04043D;
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(4, 4, 61, 0.2);
}

.servefar-began-copy p {
  position: relative;
  padding-left: 22px;
  font-size: 1.09rem;
  line-height: 1.82;
  margin-bottom: 0;
  color: #30313A;
}

.servefar-began-copy p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.54em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #DAA520;
  box-shadow: 0 0 0 6px rgba(218, 165, 32, 0.12);
}

.servefar-began-copy strong {
  color: #04043D;
  font-weight: 800;
}

@media (max-width: 900px) {
  .page-about-us .about-us-stack-container {
    padding: 0 28px;
  }

  .section-servefar-began .section-heading {
    margin-bottom: 34px;
  }

  .servefar-began-layout {
    max-width: 100%;
  }

  .servefar-began-layout::before {
    right: -60px;
    top: -52px;
  }

  .servefar-began-image {
    height: 460px;
  }

  .servefar-began-copy {
    width: calc(100% - 40px);
    margin-top: 36px;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 48px 36px 38px;
    border-radius: 28px;
  }

  .servefar-began-copy::before {
    left: 36px;
  }
}

@media (max-width: 480px) {
  .page-about-us .about-us-stack-container {
    padding: 0 20px;
  }

  .section-servefar-began::before,
  .servefar-began-layout::before {
    display: none;
  }

  .section-servefar-began .section-heading {
    margin-bottom: 28px;
    letter-spacing: -0.025em;
  }

  .servefar-began-image-wrap {
    border-radius: 26px;
  }

  .servefar-began-image {
    height: auto;
    object-fit: fill;
  }

  .servefar-began-copy {
    width: calc(100% - 14px);
    margin-top: 22px;
    padding: 44px 22px 30px;
    border-radius: 24px;
    gap: 20px;
  }

  .servefar-began-copy::before {
    left: 22px;
    top: -15px;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .servefar-began-copy p {
    font-size: 1.02rem;
    line-height: 1.72;
    padding-left: 18px;
  }
}

/* NRI Guide page alignment overrides */
.page-nri-guide .nri-guide-stack-container {
  max-width: 1400px;
  padding: 0 60px;
}

.page-nri-guide .nri-guide-stack-container > .section-heading,
.page-nri-guide .nri-guide-stack-container > .section-sub {
  text-align: center;
}

.page-nri-guide .nri-guide-stack-container > .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.page-nri-guide .nri-guide-stack-container > .section-heading {
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .page-nri-guide .nri-guide-stack-container {
    padding: 0 28px;
  }
}

@media (max-width: 480px) {
  .page-nri-guide .nri-guide-stack-container {
    padding: 0 20px;
  }
}

/* Contact page alignment overrides */
.page-contact .contact-stack-container {
  max-width: 1400px;
  padding: 0 60px;
}

.page-contact .contact-stack-container > .section-heading,
.page-contact .contact-stack-container > .section-sub {
  text-align: center;
}

.page-contact .contact-stack-container > .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.page-contact .contact-stack-container > .section-heading {
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .page-contact .contact-stack-container {
    padding: 0 28px;
  }
}

@media (max-width: 480px) {
  .page-contact .contact-stack-container {
    padding: 0 20px;
  }
}

/* ========================================
   MODERN SIDEBAR NAVIGATION (LEFT MENU)
   ======================================== */

/* Invisible left-edge hot zone to auto-open sidebar on hover */
#left-edge-trigger {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 100vh;
  z-index: 1499;
  cursor: pointer;
  background: transparent;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 26, 44, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -420px;
  width: 420px;
  height: 100%;
  background: #04043d;
  z-index: 1600;
  box-shadow: none;
  transition: left 0.55s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Gold vertical accent bar */
.sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, #FFC02E 30%, #DAA520 70%, transparent 100%);
  opacity: 0.5;
}

/* Subtle radial glow */
.sidebar::after {
  content: '';
  position: absolute;
  top: -10%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(218,165,32,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.sidebar-logo, .sidebar-menu a, .sidebar-close {
  color: #FBF7F0 !important;
}

.sidebar.active {
  left: 0;
  box-shadow: 30px 0 80px rgba(0,0,0,0.5);
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 48px 32px;
  border-bottom: 1px solid rgba(218,165,32,0.15);
  position: relative;
  z-index: 1;
}

.sidebar-logo {
  font-family: 'Amiri', serif;
  font-style: normal;
  font-weight: 400;
  font-size: 2.2rem;
  color: #FBF7F0;
  text-transform: none;
  letter-spacing: -0.01em;
  display: block;
  text-decoration: none;
}

.sidebar-logo .cap {
  font-size: 1.25em;
  color: #FBF7F0;
}

.sidebar-logo span .cap {
  color: #FFC02E;
}

.sidebar-logo span {
  color: #FFC02E;
}

.sidebar-close {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  color: rgba(251,247,240,0.5) !important;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.sidebar-close:hover {
  background: rgba(255,192,46,0.1);
  border-color: #FFC02E;
  color: #FFC02E !important;
}

.sidebar-menu {
  list-style: none;
  padding: 20px 0 0;
  margin: 0;
  flex: 1;
  position: relative;
  z-index: 1;
}

.sidebar-menu li {
  transform: translateX(-30px);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
  position: relative;
}

.sidebar-menu li::after {
  content: '';
  display: block;
  height: 1px;
  background: rgba(255,255,255,0.05);
  margin: 0 48px;
}

.sidebar-menu li:last-child::after {
  display: none;
}

.sidebar.active .sidebar-menu li {
  transform: translateX(0);
  opacity: 1;
}

/* Staggered animation */
.sidebar.active .sidebar-menu li:nth-child(1) { transition-delay: 0.08s; }
.sidebar.active .sidebar-menu li:nth-child(2) { transition-delay: 0.13s; }
.sidebar.active .sidebar-menu li:nth-child(3) { transition-delay: 0.18s; }
.sidebar.active .sidebar-menu li:nth-child(4) { transition-delay: 0.23s; }
.sidebar.active .sidebar-menu li:nth-child(5) { transition-delay: 0.28s; }
.sidebar.active .sidebar-menu li:nth-child(6) { transition-delay: 0.33s; }

.sidebar-menu a {
  font-family: 'Noto Sans Khmer', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: rgba(251,247,240,0.55) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 48px;
  letter-spacing: -0.01em;
  transition: color 0.3s ease, background 0.3s ease, padding-left 0.3s ease;
  position: relative;
}

.sidebar-menu a .nav-num {
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(218,165,32,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
  flex-shrink: 0;
  transition: color 0.3s ease;
  min-width: 20px;
}

/* Gold left border on hover */
.sidebar-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 60%;
  background: #FFC02E;
  border-radius: 0 2px 2px 0;
  transition: transform 0.3s ease;
}

.sidebar-menu a:hover {
  color: #FBF7F0 !important;
  background: rgba(255,255,255,0.03);
  padding-left: 56px;
}

.sidebar-menu a:hover::before {
  transform: translateY(-50%) scaleY(1);
}

.sidebar-menu a:hover .nav-num {
  color: #FFC02E;
}

.sidebar-footer {
  padding: 28px 48px 40px;
  border-top: 1px solid rgba(218,165,32,0.15);
  position: relative;
  z-index: 1;
}

.sidebar-contact-info {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  color: rgba(251,247,240,0.3);
  line-height: 2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar-contact-info strong {
  display: block;
  color: rgba(251,247,240,0.5);
  font-weight: 600;
  margin-bottom: 2px;
}

/* Master Header/Navbar Styles */
.navbar {
  background: #04043D;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 15px 0;
  position: fixed !important;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: none;
  height: 80px;
  display: flex;
  align-items: center;
}

.navbar-home {
  position: fixed !important;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-logo {
  flex: 1;
  text-align: center;
  display: inline;
  font-family: 'Amiri', serif;
  font-style: normal;
  font-size: 2.8rem;
  font-weight: 400;
  color: #FBF7F0;
  text-decoration: none;
  text-transform: none;
  line-height: 1;
  vertical-align: baseline;
  white-space: nowrap;
}

.navbar-logo .cap {
  font-size: 1.25em;
  line-height: 1;
  color: #FBF7F0;
  vertical-align: baseline;
}

.navbar-logo span .cap {
  color: #FFC02E;
  vertical-align: baseline;
}

.navbar-logo span {
  color: #FFC02E;
  vertical-align: baseline;
}

.navbar-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  width: 44px;
  height: 44px;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  z-index: 1003;
  padding: 0;
  left: -40.5px;
  /* Increase hit area to the left edge of the screen */
  position: relative;
}

.nav-right {
  position: relative;
  right: -40.5px;
  display: flex;
  gap: 15px;
  color: #FBF7F0;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.nav-location {
  position: relative;
  cursor: default;
  padding: 10px 0;
}

.nav-location span {
  transition: color 0.3s ease;
}

.nav-location:hover span {
  color: #FFC02E;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: #04043D;
  border: 1px solid rgba(255, 192, 46, 0.3);
  padding: 12px 15px;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.nav-location:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  color: #FBF7F0;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color 0.2s ease;
  text-align: right;
}

.nav-dropdown-item:hover {
  color: #FFC02E;
}

.location-divider {
  opacity: 0.4;
  padding-top: 10px;
}

.navbar-toggle::before {
  content: '';
  position: absolute;
  top: -15px; /* Cover vertical padding of navbar */
  bottom: -15px;
  left: -100vw; /* Extend hit area to the left edge */
  width: 100vw;
  pointer-events: auto;
  background: transparent;
}

.navbar-toggle .line {
  display: block;
  width: 28px;
  height: 2px;
  background-color: #FBF7F0;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-toggle .line:nth-child(2) {
  width: 18px;
}

.navbar-toggle:hover .line:nth-child(2) {
  width: 28px;
}

/* Close state animation */
.sidebar.active ~ .navbar .navbar-toggle .line:nth-child(1) {
  transform: translateY(5px) rotate(45deg) !important;
}
.sidebar.active ~ .navbar .navbar-toggle .line:nth-child(2) {
  transform: translateY(-5px) rotate(-45deg) !important;
  width: 28px !important;
}
.sidebar.active .sidebar-close ~ .navbar-toggle .line:nth-child(1) {
  transform: translateY(5px) rotate(45deg) !important;
}
.sidebar.active .sidebar-close ~ .navbar-toggle .line:nth-child(2) {
  transform: translateY(-5px) rotate(-45deg) !important;
  width: 28px !important;
}

.navbar-spacer {
  flex-shrink: 0;
  width: 44px;
}

.navbar-logo span { pointer-events: auto; }

.navbar-logo-icon {
  color: #FFC02E;
  font-size: 1.6rem;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.navbar-menu a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 4px;
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: #04043D;
}

.navbar-menu a.active::after,
.navbar-menu a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #FFC02E;
}

.navbar-cta {
  background: #FFC02E;
  color: #04043D;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.navbar-cta:hover {
  background: #a8841e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
}

/* Sections styling */
.section {
  padding: 100px 0;
}

.btn-primary {
  background: linear-gradient(135deg, #FFC02E 0%, #F9A825 100%);
  color: #04043D;
  font-weight: 800;
  padding: 18px 42px;
  border-radius: 50px; /* Modern rounded shape */
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 10px 20px rgba(255, 192, 46, 0.2);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  animation: pulse-gold 2s infinite;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: all 0.6s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #F9A825 0%, #FFC02E 100%);
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 15px 30px rgba(255, 192, 46, 0.4);
  color: #04043D;
}

@keyframes pulse-gold {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 192, 46, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 192, 46, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 192, 46, 0);
  }
}

.btn-outline {
  background: transparent;
  color: #FBF7F0;
  border: 2px solid #FBF7F0;
  padding: 14px 34px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
}

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

.btn-whatsapp {
  background: #25D366;
  color: #FBF7F0;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: #1fa855;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

/* ========================================
   CARDS
   ======================================== */

.card {
  background: var(--bg-parchment);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(11, 61, 92, 0.1);
  padding: 36px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.core-card-wrapper {
  margin-bottom: 20px;
}

.core-services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  padding: 40px 0;
}

.core-card-compact {
  grid-column: span 2;
  background: #FBF7F0;
  padding: 34px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  height: 480px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02);
}

/* 3-Top Layout: Span 2 columns each (3x2 = 6) */
.core-services-grid .core-card-compact:nth-child(1),
.core-services-grid .core-card-compact:nth-child(2),
.core-services-grid .core-card-compact:nth-child(3) {
  grid-column: span 2;
  height: 384px; /* 20% shorter than 480px */
}

.core-services-grid .core-card-compact:nth-child(1) .core-card-icon-box,
.core-services-grid .core-card-compact:nth-child(2) .core-card-icon-box,
.core-services-grid .core-card-compact:nth-child(3) .core-card-icon-box {
  font-size: 14rem; /* Scaled down for shorter card */
}

/* 2-Bottom Layout: Span 3 columns each (2x3 = 6) */
.core-services-grid .core-card-compact:nth-child(4),
.core-services-grid .core-card-compact:nth-child(5) {
  grid-column: span 3;
  height: 336px; /* 30% shorter than 480px */
}

.core-services-grid .core-card-compact:nth-child(4) .core-card-icon-box,
.core-services-grid .core-card-compact:nth-child(5) .core-card-icon-box {
  font-size: 13rem; /* Scaled down for shorter card */
}

.core-card-compact:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 192, 46, 0.3);
  box-shadow: 0 30px 60px rgba(0,0,0,0.12), 0 10px 20px rgba(0,0,0,0.05);
}

.core-card-compact.service-highlight {
  border-color: #04043D;
  box-shadow: 0 0 0 3px rgba(4, 4, 61, 0.35), 0 30px 60px rgba(0,0,0,0.12);
  transform: translateY(-4px);
  position: relative;
  overflow: hidden;
}

.core-card-compact.service-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #04043D, #0D0D56, #04043D);
  z-index: 2;
  pointer-events: none;
}

.core-card-compact.service-highlight::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(4, 4, 61, 0.12) 50%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transform: translateX(-100%);
}

.core-card-compact.service-highlight.shimmer-play::after {
  animation: highlight-shimmer 2.2s ease forwards;
}

@keyframes highlight-shimmer {
  0% {
    opacity: 1;
    transform: translateX(-100%);
  }
  45% {
    opacity: 1;
    transform: translateX(100%);
  }
  50% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

.core-card-header {
  margin-bottom: 24px;
}

.core-card-num-small {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #D10000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(209, 0, 0, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
}

.core-card-title-compact {
  font-family: 'Noto Sans Khmer', sans-serif;
  font-size: 1.9rem;
  color: #111111;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.core-card-text-compact {
  font-size: 1.05rem;
  color: #4b4b4f;
  line-height: 1.5;
  font-weight: 450;
  max-width: 90%;
}

.core-card-icon-box {
  position: absolute;
  bottom: 50%;
  right: 2%;
  transform: translateY(50%);
  width: auto;
  height: auto;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18rem;
  opacity: 0.04;
  color: #111111;
  filter: grayscale(1);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 0;
}

.core-card-icon-box i {
  display: block;
}

.core-card-compact:hover .core-card-icon-box {
  opacity: 0.08;
  transform: translateY(50%) scale(1.05) rotate(-2deg);
  filter: grayscale(0);
  color: #808080;
}

.core-card-footer {
  margin-top: auto;
  z-index: 2;
  padding-top: 20px;
}

.core-card-link-compact {
  font-weight: 600;
  color: #04043D;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 12px 24px;
  border: 1.5px solid #04043D;
  border-radius: 12px;
  background: transparent;
}

.core-card-link-compact:hover {
  background: #04043D;
  color: #FBF7F0;
}

.core-card-link-compact i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.core-card-link-compact:hover i {
  transform: translateX(4px);
  color: #FBF7F0;
}

/* Reverse layout for even cards */
.core-card.reverse {
  flex-direction: row-reverse;
}

.core-card.reverse .core-card-image {
  border-right: none;
  border-left: 1px solid rgba(0,0,0,0.03);
}

@media (max-width: 900px) {
  .core-card, .core-card.reverse {
    flex-direction: column;
  }
  .core-card-image {
    padding: 60px 0;
  }
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(11, 61, 92, 0.15);
}

.card-icon {
  color: #FFC02E;
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.card-title {
  color: #04043D;
  font-family: 'Noto Sans Khmer', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card-text {
  color: var(--subtext);
  font-size: 1rem;
  line-height: 1.7;
}

.fear-card {
  border: 2px solid #04043D;
  background: var(--bg-parchment);
  padding: 32px;
  border-radius: 12px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.fear-card:hover {
  border-color: #FFC02E;
  box-shadow: 0 8px 30px rgba(201, 162, 39, 0.2);
}

.fear-card-icon {
  color: #FFC02E;
  font-size: 2.8rem;
  margin-bottom: 20px;
}

/* ========================================
   TIMELINE LAYOUT
   ======================================== */

.section-risks {
  position: relative;
  overflow: hidden;
  background-color: #FBF7F0;
  padding-bottom: 50px;
}

.section-risks::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(236, 55, 19, 0.70) 2px, transparent 2px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.section-risks .container {
  position: relative;
  z-index: 1;
}

.section-risks .section-heading,
.section-risks .section-sub {
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.section-risks .container > h2 {
  display: block;
  margin-left: auto;
  margin-right: auto;
  background: #FBF7F0;
  box-shadow: 0 0 40px 25px #FBF7F0;
  position: relative;
  z-index: 1;
}

.section-risks .container > p {
  display: block;
  margin-left: auto;
  margin-right: auto;
  background: #FBF7F0;
  padding: 8px 20px;
  position: relative;
  z-index: 1;
}

/* Problems Grid */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.problem-card {
  background: #FBF7F0;
  border: 1.5px solid rgba(4, 4, 61,0.1);
  border-top: 3px solid #FFC02E;
  border-radius: 6px;
  padding: 32px 28px 28px;
  box-shadow: 0 4px 24px rgba(4, 4, 61,0.07);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.problem-card:hover {
  box-shadow: 0 8px 36px rgba(4, 4, 61,0.13);
  transform: translateY(-4px);
}

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

.problem-icon {
  font-size: 1.9rem;
  line-height: 1;
}

.problem-num {
  font-family: 'Noto Sans Khmer', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(4, 4, 61,0.12);
  line-height: 1;
}

.problem-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #04043D;
  margin-bottom: 12px;
  line-height: 1.4;
}

.problem-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  color: #444;
  line-height: 1.7;
}

.timeline {
  position: relative;
  padding: 40px 0;
  z-index: 1;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, #FFC02E, transparent);
}

.timeline-item {
  margin-bottom: 48px;
  position: relative;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.timeline-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #FBF7F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 10px;
  border: 1px solid rgba(4, 4, 61,0.08);
  box-shadow: 0 12px 28px rgba(4, 4, 61,0.08);
}

.timeline-number {
  background: #FFC02E;
  color: #04043D;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 8px 18px rgba(255, 192, 46, 0.25);
}

.timeline-content {
  width: 45%;
  background: #FBF7F0;
  padding: 32px 32px 34px;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(4, 4, 61, 0.08);
  border: 1px solid rgba(4, 4, 61,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #FFC02E 0%, #DAA520 100%);
  border-radius: 0 12px 12px 0;
}

.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 72px rgba(4, 4, 61, 0.12);
}

.timeline-content:hover::before {
  opacity: 1;
}

.timeline-left {
  margin-left: 0;
  margin-right: auto;
}

.timeline-right {
  margin-left: auto;
  margin-right: 0;
}

.timeline-title {
  font-size: 1.4rem;
  color: #04043D;
  margin-bottom: 16px;
  font-weight: 700;
}

.timeline-text {
  color: #1A1A1A;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Mobile Responsive Timeline */
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-marker {
    left: 20px;
    transform: translateX(-50%);
  }

  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 80px !important;
    margin-right: 0 !important;
    border-left: 4px solid #FFC02E !important;
    border-right: none !important;
  }
}

.testimonial-card {
  background: #F2F2FF;
  border-left: 4px solid #FFC02E;
  padding: 32px;
  border-radius: 8px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(11, 61, 92, 0.12);
}

/* ---- Slider ---- */
/* ========================================
   TESTIMONIALS SLIDER — REDESIGNED
   ======================================== */
.section-testimonials-slider {
  background: #0a1a10;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.tslider-bg-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.tslider-bg-circle--1 {
  width: 700px; height: 700px;
  top: -200px; right: -200px;
  border: 1px solid rgba(255,192,46,0.1);
  box-shadow: 0 0 0 60px rgba(255,192,46,0.05), 0 0 0 120px rgba(255,192,46,0.03);
}
.tslider-bg-circle--2 {
  width: 400px; height: 400px;
  bottom: -120px; left: -80px;
  border: 1px solid rgba(255,192,46,0.08);
  box-shadow: 0 0 0 50px rgba(255,192,46,0.04);
}
.tslider-bg-line {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background: rgba(255,192,46,0.12);
  height: 1px;
}
.tslider-bg-line--1 {
  width: 300px;
  top: 80px; left: 0;
  transform: rotate(-8deg);
}
.tslider-bg-line--2 {
  width: 200px;
  bottom: 80px; right: 0;
  transform: rotate(-8deg);
}

.tslider-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 60px;
}

.tslider-header {
  text-align: center;
  margin-bottom: 64px;
}
.tslider-eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FFC02E;
  margin-bottom: 20px;
  padding: 6px 18px;
  border: 1px solid rgba(255,192,46,0.3);
  border-radius: 20px;
}
.tslider-heading {
  font-family: 'Noto Sans Khmer', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #FBF7F0;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.tslider-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: rgba(251,247,240,0.55);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.tslider-track-wrapper {
  position: relative;
  overflow: hidden;
}
.tslider-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.tslider-slide {
  min-width: 100%;
  box-sizing: border-box;
}

.tslider-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,192,46,0.2);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.tslider-card-left {
  background: linear-gradient(160deg, rgba(255,192,46,0.15) 0%, rgba(255,192,46,0.05) 100%);
  border-right: 1px solid rgba(255,192,46,0.2);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  position: relative;
}
.tslider-quote-mark {
  font-family: 'Noto Sans Khmer', sans-serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(255,192,46,0.25);
  position: absolute;
  top: 24px;
  left: 28px;
}
.tslider-stars {
  color: #FFC02E;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-top: 32px;
}
.tslider-client-name {
  font-family: 'Noto Sans Khmer', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #FBF7F0;
  line-height: 1.3;
}
.tslider-client-role {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: rgba(251,247,240,0.5);
  font-style: italic;
}
.tslider-property-tag {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #FFC02E;
  background: rgba(255,192,46,0.1);
  border: 1px solid rgba(255,192,46,0.25);
  border-radius: 4px;
  padding: 4px 10px;
  margin-top: 6px;
}

.tslider-card-right {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.tslider-para {
  font-family: 'Poppins', sans-serif;
  font-size: 0.97rem;
  line-height: 1.65;
  margin: 0;
}
.tslider-para--before { color: rgba(251,247,240,0.55); }
.tslider-para--turning { color: rgba(251,247,240,0.75); }
.tslider-para--after { color: rgba(251,247,240,0.9); }
.tslider-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251,247,240,0.35);
  margin-bottom: 4px;
}
.tslider-label--gold { color: #FFC02E; }
.tslider-label--light { color: rgba(251,247,240,0.6); }

.tslider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 44px;
}
.tslider-btn {
  background: transparent;
  color: rgba(251,247,240,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tslider-btn:hover {
  background: #FFC02E;
  color: #04043D;
  border-color: #FFC02E;
  transform: scale(1.08);
}
.tslider-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}
.tslider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}
.tslider-dot.active {
  background: #FFC02E;
  width: 24px;
  border-radius: 4px;
}

/* ========================================
   STATS DISPLAY
   ======================================== */

/* ========================================
   5 CORE SERVICES HUB DIAGRAM
   ======================================== */

.section-services-hub {
  background: #FBF7F0;
  background-image:
    radial-gradient(ellipse 70% 60% at 50% 58%, rgba(4, 4, 61,0.04) 0%, transparent 70%),
    radial-gradient(circle, rgba(218,165,32,0.1) 1px, transparent 1px);
  background-size: auto, 28px 28px;
  padding: 60px 0 30px;
  position: relative;
  margin-top: 120px;
}

.services-hub-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
  overflow: visible;
}

.hub-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #DAA520;
  margin-bottom: 12px;
}

.hub-heading {
  font-family: 'Noto Sans Khmer', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #04043D;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hub-diagram {
  position: relative;
  width: 800px;
  height: 800px;
  margin: 10px auto 30px;
  overflow: visible;
}

.hub-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 0;
}

.hub-center {
  position: absolute;
  top: 400px;
  left: 400px;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: #04043D;
  border: 2px solid #FFC02E;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 0 14px rgba(4, 4, 61,0.06), 0 12px 40px rgba(4, 4, 61,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hub-center:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 0 0 18px rgba(4, 4, 61,0.08), 0 15px 50px rgba(4, 4, 61,0.35);
}

.hub-center-logo {
  font-family: 'Amiri', serif;
  font-style: normal;
  font-size: 1.35rem;
  font-weight: 400;
  color: #FBF7F0;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  line-height: 1;
}

.hub-cap {
  font-size: 1.25em;
  color: #FBF7F0;
}

.hub-gold {
  color: #FFC02E;
}

.hub-cap-gold {
  font-size: 1.25em;
  color: #FFC02E;
}

.hub-node {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #FBF7F0;
  border: 2px solid #DAA520;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #04043D;
  text-align: center;
  line-height: 1.45;
  padding: 18px;
  box-shadow: 0 6px 28px rgba(4, 4, 61,0.15), 0 0 18px rgba(218,165,32,0.35), 0 0 6px rgba(255,192,46,0.2);
  z-index: 2;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  cursor: default;
}

.hub-node:hover {
  border-color: #FFC02E;
  box-shadow: 0 8px 32px rgba(4, 4, 61,0.18), 0 0 28px rgba(255,192,46,0.55), 0 0 8px rgba(255,192,46,0.3);
  transform: scale(1.07);
}


.hub-table-mobile {
  display: none;
}

.hub-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #FBF7F0;
  text-decoration: none;
  background: #04043D;
  padding: 14px 36px;
  border-radius: 50px;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(4, 4, 61, 0.2);
}

.hub-cta:hover {
  background: #DAA520;
  color: #04043D;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(218, 165, 32, 0.3);
}

/* ========================================
   STATS DARK SECTION
   ======================================== */

.section-stats-dark {
  background: #04043D;
  position: relative;
  overflow: hidden;
}

.section-stats-dark::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  border: 1px solid rgba(218,165,32,0.08);
  box-shadow:
    0 0 0 80px rgba(218,165,32,0.05),
    0 0 0 160px rgba(218,165,32,0.04),
    0 0 0 240px rgba(218,165,32,0.03),
    0 0 0 320px rgba(218,165,32,0.02);
  pointer-events: none;
  z-index: 0;
}

.section-stats-dark::after {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(218,165,32,0.07);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(218,165,32,0.04), 0 0 0 120px rgba(218,165,32,0.03);
  pointer-events: none;
  z-index: 0;
}

.stats-dark-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 60px 50px 60px;
  position: relative;
  z-index: 1;
}

.stats-dark-header {
  text-align: center;
  margin-bottom: 72px;
}

.stats-dark-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #DAA520;
  margin-bottom: 16px;
}

.stats-dark-heading {
  font-family: 'Noto Sans Khmer', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #FBF7F0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.stats-dark-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(218,165,32,0.2);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 72px;
}

.stat-dark-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 24px;
  border-right: 1px solid rgba(218,165,32,0.2);
  transition: background 0.3s ease;
}

.stat-dark-item:last-child {
  border-right: none;
}

.stat-dark-item:hover {
  background: rgba(255,192,46,0.05);
}

.stat-dark-number {
  font-family: 'Noto Sans Khmer', sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: #FFC02E;
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  align-items: flex-start;
  gap: 2px;
}

.stat-dark-sup {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 6px;
  color: #DAA520;
}

.stat-dark-divider {
  display: block;
  width: 28px;
  height: 1px;
  background: rgba(218,165,32,0.4);
  margin: 18px 0 16px;
}

.stat-dark-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(251,247,240,0.45);
  text-align: center;
  line-height: 1.5;
}

.stats-dark-footer {
  text-align: center;
}

.stats-dark-caption {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: rgba(251,247,240,0.5);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.stats-dark-cta {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn-stats-cta {
  display: inline-block;
  background: #FFC02E;
  color: #04043D;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 2px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-stats-cta:hover {
  background: #DAA520;
  transform: translateY(-2px);
}

.btn-stats-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-stats-whatsapp i {
  font-size: 1.2rem;
}

.btn-stats-whatsapp:hover {
  background: #1DA851;
  transform: translateY(-2px);
}

.stats-cta-note {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  color: rgba(251,247,240,0.35);
  letter-spacing: 0.02em;
}

/* ========================================
   IMAGE PLACEHOLDERS
   ======================================== */

.img-placeholder {
  background: #F2F2FF;
  border: 2px dashed #FFC02E;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  color: #04043D;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  padding: 20px;
}

.img-placeholder-small {
  min-height: 200px;
}

/* ========================================
   HERO SECTIONS
   ======================================== */

/* =============================================
   HERO — REDESIGNED
   ============================================= */
.hero {
  background: #04043D;
  color: #FBF7F0;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 40vh 0 0;
  box-sizing: border-box;
  position: relative;
  overflow: visible;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #FFC02E;
  z-index: 10;
}


.hero .container {
  position: relative;
  z-index: 2;
  margin-top: 20vh;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  justify-items: start;
  text-align: left;
  margin-top: -30vh;
}
.hero-text {
  max-width: 920px;
  width: 100%;
}

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFC02E;
  background: rgba(255,192,46,0.1);
  border: 1px solid rgba(255,192,46,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 28px;
}
.hero-eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #FF2E2E;
  display: inline-block;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-text h1 {
  color: #FBF7F0;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.12;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}
.hero-h1-accent {
  color: #FFC02E;
  display: block;
}

.typing-text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
  width: 0;
  max-width: 100%;
  border-right: 2px solid rgba(251,247,240,0.9);
  animation: typing 5.2s steps(36,end) forwards, blink-caret 0.75s step-end 7, hide-caret 0.01s linear 5.2s forwards;
}
.typing-line-2 {
  opacity: 0;
  border-right: 2px solid transparent;
  animation: typing 4.2s steps(30,end) 5.5s forwards, reveal 0.01s linear 5.5s forwards, show-caret 0.01s linear 5.5s forwards, blink-caret 0.75s step-end 6 5.5s, hide-caret 0.01s linear 9.7s forwards;
}

@keyframes reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes show-caret {
  from { border-color: transparent; }
  to { border-color: rgba(251,247,240,0.9); }
}
@keyframes hide-caret {
  from { border-color: rgba(251,247,240,0.9); }
  to { border-color: transparent; }
}
@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: rgba(251,247,240,0.9); }
}

.m-hero,
.m-hero2,
.m-hero3,
.m-hero4 {
  display: none;
}

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

/* Trust pills */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #FBF7F0;
  background: rgba(251,247,240,0.07);
  border: 1px solid rgba(251,247,240,0.15);
  border-radius: 100px;
  padding: 7px 16px;
  letter-spacing: 0.01em;
}
.hero-pill i {
  color: #FFC02E;
  font-size: 0.9rem;
}

.hero-text .gold-accent {
  color: #FFC02E;
}

/* Shimmer Text Effect */
.shimmer-text {
  display: inline-block;
  line-height: 1.15;
  background: linear-gradient(
    90deg, 
    #FBF7F0 0%, 
    #FBF7F0 40%, 
    #FFC02E 50%, 
    #FBF7F0 60%, 
    #FBF7F0 100%
  );
  background-size: 200% auto;
  color: transparent !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  animation: shimmer-gold 3s linear infinite;
}

@keyframes shimmer-gold {
  from {
    background-position: 200% center;
  }
  to {
    background-position: -200% center;
  }
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: 36px;
  color: rgba(251,247,240,0.85);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.hero-ctas a {
  animation: fade-in 0.8s ease-out forwards;
  opacity: 0;
}

.hero-ctas a:nth-child(1) {
  animation-delay: 0.2s;
}

.hero-ctas a:nth-child(2) {
  animation-delay: 0.4s;
}

.hero-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-house-svg {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 0 48px rgba(255,192,46,0.18));
  animation: hero-float 6s ease-in-out infinite;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Trust bar wrapper - positions trust bar below hero */
.trust-bar-wrapper {
  position: relative;
  height: 0;
  overflow: visible;
}

.trust-bar {
  background: #04043D;
  padding: 14px 0 16px;
  border-top: 3px solid #FFC02E;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 10px 30px rgba(4, 4, 61, 0.3);
  z-index: 10;
}

.trust-bar .container {
  margin-top: 0;
}

.trust-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: nowrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.trust-item {
  text-align: center;
  color: #FBF7F0;
  padding: 8px 12px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.3s ease;
}

.trust-item:hover {
  transform: translateY(-5px);
}

.trust-icon {
  color: #FFC02E;
  font-size: 2.2rem;
  background: rgba(255, 192, 46, 0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 0;
  box-shadow: 0 4px 15px rgba(255, 192, 46, 0.2);
  animation: icon-float 3s infinite ease-in-out;
}

.trust-item:nth-child(2) .trust-icon { animation-delay: 0.5s; }
.trust-item:nth-child(3) .trust-icon { animation-delay: 1s; }
.trust-item:nth-child(4) .trust-icon { animation-delay: 1.5s; }

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

.trust-label {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.trust-icon {
  font-size: 1.68rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  line-height: 1;
}

.trust-icon svg {
  width: 31px;
  height: 31px;
}

.trust-text {
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ========================================
   GRID LAYOUTS
   ======================================== */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
}

.grid-services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

/* ========================================
   SCARCITY SECTION
   ======================================== */

/* ========================================
   WHY CIRCLES SECTION
   ======================================== */

.section-why-circles {
  background: #FBF7F0;
  background-image: radial-gradient(circle, #b8860b 2px, transparent 2px);
  background-size: 28px 28px;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.section-why-circles::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,1) 0%, rgba(255,255,255,0.92) 40%, rgba(255,255,255,0) 75%);
  pointer-events: none;
  z-index: 0;
}

.why-circles-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.why-circles-heading {
  font-family: 'Noto Sans Khmer', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #04043D;
  line-height: 1.2;
  margin-bottom: 20px;
  text-align: center;
}

.why-circles-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #DAA520;
  margin: 20px auto 64px;
  border-radius: 2px;
}

.why-circles-grid {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  position: relative;
}

.why-circles-grid::before {
  content: '';
  position: absolute;
  top: 55px;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(218,165,32,0.4), rgba(218,165,32,0.4), transparent);
}

.why-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 300px;
  flex: 1;
  padding: 40px 40px 0;
  border-right: 1px solid rgba(218,165,32,0.15);
  background: #FBF7F0;
  position: relative;
  z-index: 1;
}

.why-circle-item:last-child {
  border-right: none;
}

.why-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #04043D;
  border: 2px solid #DAA520;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #DAA520;
  margin-bottom: 32px;
  box-shadow: 0 0 0 8px rgba(218,165,32,0.07), 0 12px 40px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(4px);
}

.why-circle-item:hover .why-circle {
  transform: translateY(-6px);
  box-shadow: 0 0 0 12px rgba(218,165,32,0.1), 0 20px 50px rgba(0,0,0,0.4);
}

.why-circle-title {
  font-family: 'Noto Sans Khmer', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #04043D;
  margin-bottom: 16px;
  line-height: 1.35;
  min-height: 3.8rem;
}

.why-circle-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  color: #555555;
  line-height: 1.75;
  text-align: center;
}

.scarcity-section {
  background: #FBF7F0;
  background-image: radial-gradient(circle, #DAA520 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  color: #04043D;
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.scarcity-inner {
  max-width: 850px;
  margin: 0 auto;
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.scarcity-inner h2,
.scarcity-inner p {
  background-color: #FBF7F0;
  box-shadow: 0 0 15px 10px #FBF7F0;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  padding: 0 10px;
}

.scarcity-inner h2 {
  margin-bottom: 28px;
}

.scarcity-inner p {
  margin-bottom: 36px;
}

.scarcity-section h2 {
  color: #04043D;
  font-size: 2.4rem;
  margin-bottom: 28px;
  display: inline-block;
  background: #FBF7F0;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.scarcity-section p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #333;
  max-width: 640px;
  margin: 0 auto 36px;
  display: inline-block;
  background: #FBF7F0;
  padding: 0 10px;
  position: relative;
  z-index: 1;
}

.scarcity-section .btn-primary {
  position: relative;
  z-index: 1;
}

.scarcity-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.scarcity-row .scarcity-note {
  font-size: 1.15rem;
  font-weight: 600;
  color: #04043D;
  margin: 0;
  text-align: center;
  max-width: 640px;
}

@media (max-width: 768px) {
  .scarcity-row {
    max-width: 100%;
  }

  .scarcity-row .btn-primary {
    width: 100%;
    max-width: 420px;
  }
}

.scarcity-benefits {
  text-align: left;
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}

.scarcity-benefits p {
  margin-bottom: 12px;
}

/* ========================================
   GUARANTEE SECTION
   ======================================== */

.guarantee-box {
  background: #F2F2FF;
  border: 3px solid #FFC02E;
  border-radius: 12px;
  padding: 48px 40px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.guarantee-box h3 {
  color: #04043D;
  font-size: 2rem;
  margin-bottom: 24px;
}

.guarantee-box p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-main);
}

/* ========================================
   COMPARISON TABLE
   ======================================== */

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 48px 0;
  background: var(--bg-parchment);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(11, 61, 92, 0.1);
}

.comparison-table th {
  background: #04043D;
  color: #FBF7F0;
  padding: 20px;
  text-align: left;
  font-weight: 700;
  font-size: 1.05rem;
}

.comparison-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #e0e0e0;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:nth-child(even) {
  background: #F2F2FF;
}

.comparison-table .check {
  color: #10b981;
  font-weight: 700;
  font-size: 1.2rem;
}

.comparison-table .cross {
  color: #ef4444;
  font-weight: 700;
  font-size: 1.2rem;
}

/* ========================================
   FORM STYLING
   ======================================== */

.form-container {
  background: var(--bg-parchment);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(11, 61, 92, 0.1);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #04043D;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #FFC02E;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  background: #FFC02E;
  color: #04043D;
  font-weight: 700;
  padding: 18px 36px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 1.15rem;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.form-submit:hover {
  background: #a8841e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
}

/* ========================================
   CONTACT INFO
   ======================================== */

.contact-info {
  background: #F2F2FF;
  padding: 40px;
  border-radius: 12px;
  height: 100%;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon {
  color: #FFC02E;
  font-size: 1.5rem;
  margin-top: 4px;
}

.contact-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #04043D;
  margin-bottom: 4px;
}

.contact-text p {
  color: var(--text-main);
  margin: 0;
}

/* ========================================
   ARTICLE/RESOURCE CARDS
   ======================================== */

.article-card {
  background: var(--bg-parchment);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(11, 61, 92, 0.1);
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(11, 61, 92, 0.15);
}

.article-image {
  width: 100%;
  height: 200px;
}

.article-content {
  padding: 24px;
}

.article-title {
  font-size: 1.3rem;
  color: #04043D;
  font-family: 'Noto Sans Khmer', sans-serif;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.article-teaser {
  color: var(--subtext);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.article-link {
  color: #FFC02E;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.article-link:hover {
  color: #a8841e;
}

/* ========================================
   LEAD MAGNET SECTION
   ======================================== */

.lead-magnet {
  background: #04043D;
  color: #FBF7F0;
  padding: 60px 40px;
  border-radius: 12px;
  text-align: center;
  margin-top: 64px;
}

.lead-magnet h3 {
  color: #FFC02E;
  font-size: 2rem;
  margin-bottom: 24px;
}

.lead-magnet-list {
  text-align: left;
  max-width: 600px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
  line-height: 2;
}

/* ========================================
   FOOTER
   ======================================== */

/* ========================================
   RE-DESIGNED CONTACT PAGE STYLES
   ======================================== */

.section-contact-hero {
    background-color: #04043D;
}

.contact-redesign-grid {
    grid-template-columns: 1.2fr 0.8fr;
}

@media (max-width: 1024px) {
    .contact-redesign-grid {
        grid-template-columns: 1fr;
    }
}

.form-container form input:focus, 
.form-container form select:focus, 
.form-container form textarea:focus {
    outline: none;
    border-color: #FFC02E !important;
    box-shadow: 0 0 0 4px rgba(255,192,46,0.1);
}

.footer {
  background: #04043D;
  color: #FBF7F0;
  padding: 64px 0 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  font-family: 'Noto Sans Khmer', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: #FBF7F0;
  margin-bottom: 16px;
}

.footer-tagline {
  color: #FFC02E;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.footer-since {
  font-size: 0.85rem;
  color: rgba(251,247,240,0.7);
}
.footer-logo-text {
  font-family: 'Amiri', serif;
  font-size: 1em;
}
.footer-logo-text .cap {
  color: #FBF7F0;
}
.footer-logo-text span .cap {
  color: #FFC02E;
}
.footer-logo-text span {
  color: #FFC02E;
}

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

.footer-links h4 {
  color: #FFC02E;
  font-size: 1.1rem;
  margin-bottom: 16px;
  font-weight: 700;
}

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

.footer-links a {
  color: rgba(251,247,240,0.8);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #FFC02E;
}

.footer-contact h4 {
  color: #FFC02E;
  font-size: 1.1rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-contact p {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: rgba(251,247,240,0.8);
}

.footer-bottom {
  text-align: center;
  padding: 28px 0;
  font-size: 0.9rem;
  color: rgba(251,247,240,0.7);
}

.footer-bottom-links {
  margin-top: 12px;
}

.footer-bottom-links a {
  color: rgba(251,247,240,0.7);
  margin: 0 12px;
}

.footer-bottom-links a:hover {
  color: #FFC02E;
}

.site-footer-v2 {
  background: #04043D;
  color: #FBF7F0;
  padding: 56px 0 34px;
  font-family: 'Poppins', sans-serif;
}

.site-footer-v2-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

.site-footer-v2-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.6fr 1fr 0.75fr;
  gap: 56px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(251, 247, 240, 0.26);
}

.site-footer-v2-logo {
  display: inline-block;
  font-family: 'Amiri', serif;
  font-size: 3.1rem;
  line-height: 0.9;
  color: #FBF7F0;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.site-footer-v2-logo .cap {
  color: #FBF7F0;
  font-size: 1.12em;
}

.site-footer-v2-logo span {
  color: #FFC02E;
}

.site-footer-v2-logo span .cap {
  color: #FFC02E;
}

.site-footer-v2-tagline {
  margin: 8px 0 24px;
  color: rgba(251, 247, 240, 0.86);
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.site-footer-v2-about {
  max-width: 520px;
  margin: 0;
  color: rgba(251, 247, 240, 0.78);
  font-size: 1.02rem;
  line-height: 1.75;
}

.site-footer-v2-msme {
  margin: 0;
  margin-top: 24px;
  color: rgba(251, 247, 240, 0.6);
  font-size: 0.85rem;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.5px;
}

.site-footer-v2-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.site-footer-v2-socials a {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(251, 247, 240, 0.42);
  color: #FBF7F0;
  font-size: 1.22rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.site-footer-v2-socials a:hover {
  background: #FBF7F0;
  color: #04043D;
  border-color: #FBF7F0;
}

.site-footer-v2-col h3 {
  margin: 0 0 26px;
  color: #FBF7F0;
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1.1;
}

.site-footer-v2-col a,
.site-footer-v2-col p {
  color: rgba(251, 247, 240, 0.78);
  font-size: 1.03rem;
  line-height: 1.55;
  text-decoration: none;
}

.site-footer-v2-col > a {
  display: block;
  margin-bottom: 14px;
}

.site-footer-v2-col a:hover {
  color: #FFC02E;
}

.site-footer-v2-contact p,
.site-footer-v2-locations p {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 16px;
}

.site-footer-v2-contact i,
.site-footer-v2-locations i {
  width: 22px;
  flex: 0 0 22px;
  margin-top: 4px;
  color: #FBF7F0;
  font-size: 1rem;
}

.site-footer-v2-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 34px;
  color: rgba(251, 247, 240, 0.78);
}

.site-footer-v2-bottom p {
  margin: 0;
  font-size: 0.98rem;
}

.site-footer-v2-bottom p:last-child {
  text-align: right;
}

.site-footer-v2-bottom a {
  color: #FBF7F0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer-v2-legal {
  display: flex;
  gap: 18px;
  justify-content: center;
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  .site-footer-v2-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer-v2-bottom {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .site-footer-v2-legal {
    justify-content: flex-start;
  }

  .site-footer-v2-bottom p:last-child {
    text-align: left;
  }
}

@media (max-width: 700px) {
  .site-footer-v2 {
    padding-top: 44px;
  }

  .site-footer-v2-inner {
    padding: 0 24px;
  }

  .site-footer-v2-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .site-footer-v2-logo {
    font-size: 2.45rem;
  }

  .site-footer-v2-socials {
    margin-top: 30px;
  }

  .site-footer-v2-col h3 {
    font-size: 1.5rem;
    margin-bottom: 18px;
  }

  .site-footer-v2-legal {
    flex-direction: column;
    gap: 8px;
  }
}

/* ========================================
   SCARCITY ALERT
   ======================================== */

.scarcity-alert {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: #FBF7F0;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 36px;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE
   ======================================== */

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  h2, .section-heading {
    font-size: 1.9rem;
  }

  .section {
    padding: 64px 0;
  }

  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-parchment);
    flex-direction: column;
    gap: 0;
    box-shadow: 0 8px 20px rgba(11, 61, 92, 0.15);
  }

  .navbar-menu.active {
    display: flex;
  }

  .navbar-menu li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
  }

  .navbar-menu a {
    display: block;
    padding: 16px;
  }

  .navbar-cta {
    margin: 16px;
    display: block;
  }

  .navbar-toggle {
    display: flex; /* Ensure flex is used on mobile too */
    left: 0;
  }

  .hero {
    padding-top: 4.3vh;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 0;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-sub {
    font-size: 1.05rem;
  }

  .hero-ctas {
    justify-content: flex-start;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-services {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .trust-items {
    flex-direction: column;
    gap: 24px;
  }

  .section-services-hub {
    margin-top: 380px;
  }

  .comparison-table {
    font-size: 0.85rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 10px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .navbar .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 100% !important;
  }

  .navbar-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
  }

  .nav-locations-mobile {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    width: 44px !important;
    justify-content: flex-end !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #FBF7F0 !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    font-family: 'Poppins', sans-serif !important;
    letter-spacing: 0.5px !important;
    z-index: 1001 !important;
  }

  .nav-mob-divider {
    color: rgba(255,255,255,0.3) !important;
    font-weight: 300 !important;
  }

  .navbar-logo {
    position: absolute !important;
    left: 50% !important;
    top: 60% !important;
    transform: translate(-50%, -50%) !important;
    display: inline !important;
    vertical-align: baseline !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
  }

  .navbar-logo .cap {
    vertical-align: baseline !important;
    line-height: 1 !important;
  }

  .navbar-logo span {
    vertical-align: baseline !important;
    line-height: 1 !important;
  }

  .navbar .container > div[style*="position: absolute"],
  .navbar .container > div[style*="left: 50%"] {
    position: absolute !important;
    left: 50% !important;
    top: 60% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
  }

  .navbar-tagline {
    margin-top: 38px !important;
  }

  .btn-primary,
  .btn-outline {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .hero {
    padding: 0;
    overflow: visible;
    height: auto;
    min-height: 100vh;
  }

  .hero > .container {
    transform: translateX(-5%);
  }

  .hero-text {
    max-width: 100%;
    overflow: visible;
  }

  .hero-eyebrow {
    margin-bottom: 36px;
  }

  .hero-text h1 {
    font-size: 1.95rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .hero-ctas a:nth-child(2) {
    margin-top: 10px;
  }

  .hero-ctas a:nth-child(1) {
    margin-top: 14px;
  }

  .hero-text h1 span.d-hero,
  br.d-hero {
    display: none !important;
  }

  .hero-text h1 span {
    display: none;
  }

  .hero-text h1 span.typing-text.m-hero,
  .hero-text h1 span.typing-text.m-hero2,
  .hero-text h1 span.typing-text.m-hero3,
  .hero-text h1 span.typing-text.m-hero4 {
    display: block;
    opacity: 0;
    width: auto;
    overflow: visible;
    white-space: normal;
    border-right: none;
    animation: hero-fade-in 1.2s ease forwards;
  }
  .hero-text h1 span.typing-text.m-hero  { animation-delay: 0s; }
  .hero-text h1 span.typing-text.m-hero2 { animation-delay: 0.6s; }
  .hero-text h1 span.typing-text.m-hero3 { animation-delay: 1.2s; }
  .hero-text h1 span.typing-text.m-hero4 { animation-delay: 1.8s; }

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

  .section-sub {
    font-size: 1rem;
  }

  .card,
  .fear-card,
  .testimonial-card {
    padding: 24px;
  }
}

/* ========================================
   ADD-ON SERVICES — EDITORIAL LIST LAYOUT
   ======================================== */

.section-addons-new {
  background: #0a0a0f;
  padding: 120px 0 60px 0;
  overflow: hidden;
}

.addons-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 60px;
}

/* Header: two-column split */
.addons-header-new {
  width: 100%;
  margin-bottom: 0px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: left;
}

.addons-subtext-standalone {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  line-height: 1.6;
  color: #DAA520;
  max-width: 850px;
  margin: 60px auto 60px auto;
  text-align: center;
}

.addons-eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff3b3b;
  border: 1px solid rgba(255, 59, 59, 0.4);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 24px;
  animation: pulse-red 2s infinite ease-in-out;
  box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.4);
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 59, 59, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 59, 59, 0);
  }
}

.addons-heading {
  font-family: 'Noto Sans Khmer', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #FBF7F0;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}

.addons-subtext {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  color: rgba(251,247,240,0.5);
  line-height: 1.7;
  margin-bottom: 36px;
  margin-top: 8px;
}

.addons-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #FBF7F0;
  border: 1.5px solid #DAA520;
  border-radius: 100px;
  padding: 12px 28px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.addons-header-cta:hover {
  background: #FBF7F0;
  color: #0a0a0f;
  border-color: #FBF7F0;
}

.addons-header-cta i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.addons-header-cta:hover i {
  transform: translateX(4px);
}

.addons-bottom-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
  padding-bottom: 0px;
  gap: 20px;
}

.addons-cta-question {
  color: #ff3b3b;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.65rem;
  margin: 0;
}

/* Service rows */
.addons-list {
  display: flex;
  flex-direction: column;
}

.addon-row {
  display: grid;
  grid-template-columns: 52px 52px 1fr auto 32px;
  align-items: center;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.addon-row:first-child {
  border-top: 1px solid rgba(255,255,255,0.07);
}

.addon-row:hover {
  padding-left: 20px;
  border-bottom-color: rgba(218, 165, 32, 0.3);
}

.addon-row:hover .addon-num {
  color: #DAA520;
}

.addon-row:hover .addon-icon {
  background: rgba(218, 165, 32, 0.12);
  border-color: rgba(218, 165, 32, 0.4);
  color: #DAA520;
}

.addon-row:hover .addon-title {
  color: #DAA520;
}

.addon-row:hover .addon-arrow {
  transform: translate(4px, -4px);
  color: #DAA520;
}

.addon-num {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #DAA520;
  transition: color 0.3s ease;
}

.addon-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(251,247,240,0.5);
  font-size: 1rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.addon-body {
  min-width: 0;
}

.addon-title {
  font-family: 'Noto Sans Khmer', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #FBF7F0;
  margin: 0 0 4px;
  transition: color 0.3s ease;
  line-height: 1.3;
}

.addon-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  color: rgba(251,247,240,0.4);
  margin: 0;
  line-height: 1.5;
}

.addon-tag {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251,247,240,0.25);
  white-space: nowrap;
  background: rgba(255,255,255,0.04);
  border: 1px solid #ff3b3b;
  border-radius: 100px;
  padding: 5px 14px;
  transition: all 0.3s ease;
}

.addon-row:hover .addon-tag {
  color: #DAA520;
  border-color: #ff3b3b;
  background: rgba(255, 59, 59, 0.05);
}

.addon-arrow {
  font-size: 0.8rem;
  color: #DAA520;
  transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 900px) {
  .addons-header {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .addons-heading {
    font-size: 2.8rem;
  }

  .addon-row {
    grid-template-columns: 40px 40px 1fr 32px;
    gap: 16px;
  }

  .addon-tag {
    display: none;
  }
}

@media (max-width: 600px) {
  .addons-container {
    padding: 0 24px;
  }

  .addons-heading {
    font-size: 2.2rem;
  }

  .addon-row {
    grid-template-columns: 1fr 32px;
  }

  .addon-num,
  .addon-icon {
    display: none;
  }
}

/* Golden Shimmer Effect */
.shimmer-gold {
  background: linear-gradient(
    to right,
    #B8860B 0%,    /* Dark Goldenrod */
    #DAA520 22%,   /* Goldenrod (Warmer Yellow-Gold) */
    #FFECB3 45%,   /* Soft Luster */
    #FFD700 50%,   /* Pure Gold */
    #FFECB3 55%,   /* Soft Luster */
    #DAA520 78%,   /* Goldenrod */
    #B8860B 100%   /* Dark Goldenrod */
  );
  background-size: 300% auto;
  background-position: 50% center;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-gold-animation 3s ease-in-out 1 forwards;
  display: inline-block;
  text-shadow: 0 0 1px rgba(218, 165, 32, 0.2);
}

@keyframes shimmer-gold-animation {
  0%   { background-position: 150% center; }
  100% { background-position: -50% center; }
}

/* ========================================
   FOUNDER'S LETTER — Silicon Valley Editorial
   ======================================== */
.section-founder-letter {
  background: linear-gradient(180deg, #FBF7F0 0%, #F5EFE5 100%);
  padding: 60px 28px;
  position: relative;
  overflow: hidden;
}

.section-founder-letter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(4, 4, 61, 0.08), transparent);
  pointer-events: none;
}

.section-founder-letter::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(4, 4, 61, 0.08), transparent);
  pointer-events: none;
}

.founder-letter-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, 0.88fr) minmax(520px, 1fr);
  align-items: stretch;
  position: relative;
  z-index: 2;
}

.founder-letter-photo-col {
  position: relative;
  z-index: 2;
  transform: translateY(20%);
}

.founder-photo-frame {
  width: 100%;
  min-height: 720px;
  border-radius: 34px;
  overflow: hidden;
  border: 10px solid #FFFFFF;
  background: #F4F0E8;
  box-shadow: 0 34px 80px rgba(4, 4, 61, 0.18);
  position: relative;
}

.founder-photo-frame:hover .founder-photo {
  transform: scale(1.035);
}

.founder-photo {
  width: 100%;
  height: 100%;
  min-height: 720px;
  display: block;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s ease;
}

.founder-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 4, 61, 0.62) 0%, rgba(4, 4, 61, 0.05) 52%, transparent 100%);
  pointer-events: none;
}

.founder-photo-caption {
  position: absolute;
  left: 66px;
  right: 28px;
  bottom: 34px;
  z-index: 3;
  padding: 22px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(18px);
}

.founder-caption-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 4px 0;
  letter-spacing: -0.035em;
}

.founder-caption-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.founder-letter-text-col {
  display: flex;
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(4, 4, 61, 0.08);
  border-radius: 32px;
  box-shadow: 0 32px 80px rgba(4, 4, 61, 0.1);
  overflow: hidden;
  margin-top: 8%;
}

.founder-letter-accent-line {
  width: 4px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #DAA520 0%, #FFC02E 60%, #FFD970 100%);
}

.founder-letter-text-inner {
  padding: 60px 64px 60px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founder-letter-eyebrow {
  display: inline-flex;
  width: fit-content;
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #04043D;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(218, 165, 32, 0.12);
}

.founder-letter-heading {
  font-family: 'Noto Sans Khmer', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 700;
  color: #04043D;
  margin: 0 0 32px 0;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.founder-letter-body {
  font-family: 'Poppins', sans-serif;
  font-size: 1.04rem;
  line-height: 1.78;
  color: #4b4b66;
  max-width: 600px;
}

.founder-letter-body p {
  margin-bottom: 18px;
}

.founder-letter-body p:last-child {
  margin-bottom: 0;
}

.founder-letter-body em {
  color: #04043D;
  font-style: italic;
  font-weight: 600;
}

.founder-letter-closing {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #04043D;
  font-size: 1.1rem;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(4, 4, 61, 0.08);
  letter-spacing: -0.02em;
}

.founder-letter-signature {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.signature-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, #DAA520, #FFC02E);
  margin-bottom: 12px;
  border-radius: 999px;
}

.signature-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #04043D;
  letter-spacing: -0.02em;
}

.signature-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(4, 4, 61, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .founder-letter-wrapper {
    grid-template-columns: 430px 1fr;
  }
  .founder-photo-frame,
  .founder-photo {
    min-height: 640px;
  }
  .founder-letter-text-inner {
    padding: 48px 40px 48px 36px;
  }
}

@media (max-width: 920px) {
  .section-founder-letter {
    padding: 48px 18px;
  }
  .founder-letter-wrapper {
    grid-template-columns: 1fr;
  }
  .founder-letter-photo-col {
    transform: none;
    margin-top: 7px;
  }
  .founder-photo-frame {
    min-height: 560px;
    transform: none;
    border-radius: 30px 30px 0 0;
  }
  .founder-photo {
    min-height: 560px;
  }
  .founder-photo-caption {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }
  .founder-letter-text-col {
    border-radius: 0 0 30px 30px;
  }
  .founder-letter-text-inner {
    padding: 42px 32px;
  }
  .founder-letter-accent-line {
    width: 3px;
  }
  .founder-letter-heading {
    font-size: 2.2rem;
  }
}

/* Tablet: move founder photo up 2.9% */
@media (min-width: 481px) and (max-width: 1024px) {
  .founder-letter-photo-col {
    transform: translateY(17.1%);
  }
}

@media (max-width: 600px) {
  .section-founder-letter {
    padding: 32px 14px;
  }
  .founder-photo-frame,
  .founder-photo {
    min-height: 430px;
  }
  .founder-photo-frame {
    border-width: 6px;
  }
  .founder-photo-caption {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 18px;
  }
  .founder-caption-name {
    font-size: 1.12rem;
  }
  .founder-letter-text-inner {
    padding: 36px 24px;
  }
  .founder-letter-heading {
    font-size: 1.85rem;
  }
  .founder-letter-body {
    font-size: 1rem;
    line-height: 1.72;
  }
}

/* ========================================
   STAND FOR SECTION REDESIGN (NRI STANDARDS)
   ======================================== */

.section-stand-for {
  padding: 120px 0;
  background: radial-gradient(circle at 10% 12%, rgba(218, 165, 32, 0.16), transparent 28%), radial-gradient(circle at 90% 18%, rgba(251, 247, 240, 0.92), transparent 30%), radial-gradient(circle at 48% 82%, rgba(218, 165, 32, 0.12), transparent 34%), linear-gradient(135deg, #FBF7F0 0%, #FFFFFF 46%, #F6F0E5 100%);
  background-size: 130% 130%, 140% 140%, 150% 150%, 100% 100%;
  animation: standForIvoryDrift 18s ease-in-out infinite alternate;
  position: relative;
  overflow: hidden;
}

@keyframes standForIvoryDrift {
  0% {
    background-position: 0% 0%, 100% 10%, 45% 100%, center;
  }
  50% {
    background-position: 18% 14%, 82% 30%, 56% 72%, center;
  }
  100% {
    background-position: 8% 28%, 92% 0%, 38% 86%, center;
  }
}

.section-stand-for::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(4, 4, 61, 0.095) 1px, transparent 1px), linear-gradient(90deg, rgba(4, 4, 61, 0.095) 1px, transparent 1px), linear-gradient(rgba(218, 165, 32, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(218, 165, 32, 0.06) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 16px 16px, 16px 16px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.96), transparent 82%);
  animation: standForGridFloat 24s linear infinite;
  pointer-events: none;
}

@keyframes standForGridFloat {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  to {
    background-position: 64px 64px, 64px 64px, 16px 16px, 16px 16px;
  }
}

.section-stand-for::after {
  content: '';
  position: absolute;
  right: -110px;
  bottom: -130px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(218, 165, 32, 0.28);
  border-radius: 90px;
  transform: rotate(18deg);
  animation: standForGoldOrb 16s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes standForGoldOrb {
  from {
    transform: translate3d(0, 0, 0) rotate(18deg);
  }
  to {
    transform: translate3d(-42px, -34px, 0) rotate(28deg);
  }
}

.section-stand-for .container {
  position: relative;
  z-index: 1;
}

.stand-for-header {
  text-align: center;
  margin-bottom: 80px;
}

.stand-for-title-main {
  font-family: 'Noto Sans Khmer', sans-serif;
  font-size: 3rem;
  color: #04043D;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.stand-for-accent {
  width: 80px;
  height: 4px;
  background: #DAA520;
  margin: 0 auto;
  border-radius: 2px;
}

.stand-for-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 40px 100px rgba(4, 4, 61, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px) saturate(1.12);
  overflow: hidden;
}

.stand-for-item {
  padding: 70px 50px;
  border-right: 1px solid rgba(4, 4, 61, 0.08);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  background: rgba(255, 255, 255, 0.68);
}

.stand-for-item::before {
  content: '';
  position: absolute;
  left: 50px;
  right: 50px;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #DAA520, rgba(218, 165, 32, 0));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.stand-for-item:last-child {
  border-right: none;
}

.stand-for-item:hover {
  background: #FBF7F0;
  transform: scale(1.02);
  z-index: 2;
  box-shadow: 0 30px 60px rgba(4, 4, 61, 0.08);
  border-radius: 12px;
}

.stand-for-item:hover::before {
  opacity: 1;
}

.stand-for-meta {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  color: #DAA520;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 30px;
}

.stand-for-item-title {
  font-family: 'Noto Sans Khmer', sans-serif;
  font-size: 2rem;
  color: #04043D;
  margin-bottom: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.stand-for-item-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: #4B5563;
  line-height: 1.8;
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .stand-for-grid {
    grid-template-columns: 1fr;
    border-radius: 32px;
  }
  
  .stand-for-item {
    border-right: none;
    border-bottom: 1px solid rgba(4, 4, 61, 0.08);
    padding: 60px 40px;
  }
  
  .stand-for-item:last-child {
    border-bottom: none;
  }
  
  .stand-for-title-main {
    font-size: 2.4rem;
  }
}

/* Tablet: reduce padding above stand-for section */
@media (min-width: 481px) and (max-width: 1024px) {
  .section-stand-for {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .section-stand-for {
    padding: 80px 0;
  }
  
  .stand-for-title-main {
    font-size: 2rem;
  }
  
  .stand-for-item {
    padding: 40px 24px;
  }
  
  .stand-for-item-title {
    font-size: 1.6rem;
  }
}

/* ========================================
   PRINCIPLES SECTION - PREMIUM MANIFESTO LAYOUT
   ======================================== */

.section-principles {
  padding: 140px 20px;
  background: radial-gradient(circle at 14% 18%, rgba(218, 165, 32, 0.2), transparent 28%), radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.95), transparent 26%), linear-gradient(135deg, #FBF7F0 0%, #FFFFFF 46%, #F2E6D1 100%);
  position: relative;
  overflow: hidden;
}

.section-principles::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(4, 4, 61, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(4, 4, 61, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  opacity: 0.75;
  pointer-events: none;
}

.section-principles::after {
  content: '';
  position: absolute;
  right: -160px;
  top: 80px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(218, 165, 32, 0.28);
  border-radius: 50%;
  box-shadow: inset 0 0 0 42px rgba(255, 255, 255, 0.42), 0 0 90px rgba(218, 165, 32, 0.18);
  pointer-events: none;
}

.principles-shell {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.principles-intro {
  max-width: 860px;
  margin: 0 0 72px;
}

.principles-heading {
  font-family: 'Noto Sans Khmer', sans-serif;
  font-size: clamp(2.6rem, 5vw, 5.25rem);
  line-height: 1.05;
  color: #04043D;
  letter-spacing: -0.045em;
  margin: 0;
}

.principles-board {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  align-items: stretch;
}

.principles-manifesto {
  min-height: 590px;
  padding: 46px;
  background: linear-gradient(145deg, #04043D 0%, #11114F 58%, #05051B 100%);
  border-radius: 42px;
  box-shadow: 0 34px 90px rgba(4, 4, 61, 0.24);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.principles-manifesto::before {
  content: '';
  position: absolute;
  inset: -30% -20% auto auto;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(218, 165, 32, 0.34), transparent 68%);
}

@keyframes shimmer-once {
  0% {
    opacity: 0;
    transform: translateX(-100%) skewX(-15deg);
  }
  20% {
    opacity: 1;
    transform: translateX(0%) skewX(-15deg);
  }
  40% {
    opacity: 1;
    transform: translateX(0%) skewX(0deg);
  }
  60% {
    opacity: 0;
    transform: translateX(0%) skewX(0deg);
  }
  100% {
    opacity: 0;
    transform: translateX(0%) skewX(0deg);
  }
}

.principles-manifesto::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(251, 247, 240, 0.2) 50%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transform: translateX(-100%);
}

.principles-manifesto.shimmer-active::after {
  animation: shimmer-sweep 3s ease forwards;
}

@keyframes shimmer-sweep {
  0% {
    opacity: 1;
    transform: translateX(-100%);
  }
  50% {
    opacity: 1;
    transform: translateX(100%);
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

.principles-kicker {
  position: relative;
  z-index: 1;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #DAA520;
}

.principles-manifesto p {
  position: relative;
  z-index: 2;
  max-width: 360px;
  font-family: 'Noto Sans Khmer', sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin: 0;
}

.principles-seal {
  position: absolute;
  left: 50%;
  top: 34%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.05em;
  width: clamp(360px, 58vw, 620px);
  height: clamp(360px, 58vw, 620px);
  border: 2px solid rgba(218, 165, 32, 0.18);
  border-radius: 50%;
  font-family: 'Amiri', serif;
  font-size: clamp(13rem, 27vw, 25rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.16em;
  opacity: 0.16;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}

.principles-seal::before {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(251, 247, 240, 0.14);
  border-radius: inherit;
}

.principles-seal span:first-child {
  color: #FBF7F0;
}

.principles-seal span:last-child {
  color: #DAA520;
}

.principles-list {
  display: grid;
  gap: 22px;
}

.principle-card {
  min-height: 182px;
  padding: 30px 34px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(4, 4, 61, 0.08);
  border-radius: 32px;
  box-shadow: 0 24px 70px rgba(4, 4, 61, 0.11);
  backdrop-filter: blur(18px) saturate(1.12);
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 26px;
  align-items: start;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.principle-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #DAA520, rgba(218, 165, 32, 0.18));
}

.principle-card:hover {
  transform: translateX(10px);
  border-color: rgba(218, 165, 32, 0.28);
  box-shadow: 0 34px 90px rgba(4, 4, 61, 0.16);
}

.principle-card-secondary {
  transform: translateX(34px);
}

.principle-card-secondary:hover {
  transform: translateX(44px);
}

.principle-card-tertiary {
  transform: translateX(68px);
}

.principle-card-tertiary:hover {
  transform: translateX(78px);
}

.principle-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #04043D, #1C1C5C);
  border-radius: 22px;
  box-shadow: 0 18px 34px rgba(4, 4, 61, 0.22);
  font-size: 1.75rem;
  color: #FBF7F0;
  grid-column: 1;
  grid-row: 1 / span 2;
}

.principle-number {
  position: absolute;
  right: 30px;
  top: 26px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: #DAA520;
}

.principle-copy {
  grid-column: 2;
  padding-right: 72px;
}

.principle-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.55rem;
  line-height: 1.2;
  color: #04043D;
  letter-spacing: -0.035em;
  margin: 0 0 12px;
}

.principle-card p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.02rem;
  line-height: 1.78;
  color: #4B5563;
  margin: 0;
}

@media (max-width: 980px) {
  .section-principles {
    padding: 96px 20px;
  }

  .section-principles::before {
    background-size: 42px 42px;
  }

  .principles-intro {
    margin-bottom: 48px;
  }

  .principles-board {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .principles-manifesto {
    min-height: 380px;
  }

  .principle-card,
  .principle-card-secondary,
  .principle-card-secondary:hover,
  .principle-card-tertiary,
  .principle-card-tertiary:hover {
    transform: none;
  }

  .principle-card:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 560px) {
  .section-principles {
    padding: 78px 16px;
  }

  .principle-card {
    padding: 28px 24px;
    border-radius: 26px;
    grid-template-columns: 1fr;
  }

  .principle-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    font-size: 1.45rem;
    grid-row: auto;
    margin-bottom: 20px;
  }

  .principle-copy {
    grid-column: auto;
    padding-right: 0;
  }

  .principle-card h3 {
    font-size: 1.35rem;
  }

  .principles-manifesto {
    min-height: 330px;
    padding: 34px;
    border-radius: 30px;
  }

  .principles-seal {
    top: 36%;
    width: clamp(280px, 82vw, 420px);
    height: clamp(280px, 82vw, 420px);
    font-size: clamp(10rem, 50vw, 17rem);
  }
}

/* ========================================
   RESPONSIVE OVERRIDES
   ======================================== */

/* Services grid: large screens (1400px+) - flat 3-column layout, CTAs always visible */
@media (min-width: 1025px) and (max-width: 1399px) {
  .core-services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
    padding: 20px 0;
  }
  .core-services-grid .core-card-compact {
    grid-column: span 1 !important;
    height: auto !important;
    min-height: 360px;
    max-height: 420px;
    padding: 28px !important;
    overflow: hidden;
  }
  .core-services-grid .core-card-compact .core-card-icon-box {
    font-size: 10rem !important;
    opacity: 0.05;
  }
  .core-card-text-compact {
    font-size: 0.95rem !important;
    max-width: 100% !important;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .core-card-title-compact {
    font-size: 1.4rem !important;
  }
  .core-card-footer {
    padding-top: 14px !important;
  }
  .core-card-link-compact {
    padding: 10px 18px !important;
    font-size: 0.88rem !important;
  }
}

/* Services grid: very large screens (1400px+) - flat 3-column, max-width capped */
@media (min-width: 1400px) {
  .section-core {
    padding: 80px 0 !important;
  }
  .section-core .container {
    max-width: 1320px !important;
    padding: 0 40px !important;
  }
  .core-services-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px;
    padding: 28px 0;
  }
  .core-services-grid .core-card-compact {
    grid-column: span 1 !important;
    height: auto !important;
    min-height: 380px;
    max-height: 440px;
    padding: 30px !important;
    overflow: hidden;
  }
  .core-services-grid .core-card-compact:nth-child(1),
  .core-services-grid .core-card-compact:nth-child(2),
  .core-services-grid .core-card-compact:nth-child(3),
  .core-services-grid .core-card-compact:nth-child(4),
  .core-services-grid .core-card-compact:nth-child(5) {
    height: auto !important;
  }
  .core-services-grid .core-card-compact .core-card-icon-box {
    font-size: 11rem !important;
    opacity: 0.05;
  }
  .core-card-text-compact {
    font-size: 1rem !important;
    max-width: 100% !important;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .core-card-title-compact {
    font-size: 1.5rem !important;
  }
  .core-card-footer {
    padding-top: 16px !important;
  }
  .core-card-link-compact {
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
  }
}

/* Navbar: Windows laptop (1024px) */
@media (max-width: 1024px) {
  .navbar {
    height: 68px !important;
  }
  .navbar-logo {
    font-size: 1.9rem !important;
  }
}

/* Navbar: tablet (900px) */
@media (max-width: 900px) {
  .navbar {
    height: 80px !important;
  }
  .navbar .container {
    padding: 0 24px !important;
  }
  .navbar-logo {
    font-size: 2rem !important;
  }
}

/* Mobile navbar & general overrides */
@media (max-width: 768px) {
  .tslider-heading,
  .hub-heading,
  .why-circles-heading,
  .stats-dark-heading,
  .board-hero-heading {
    font-size: 2rem;
  }
  .board-hero {
    padding: 100px 20px 60px !important;
  }
  .navbar {
    height: 80px !important;
    padding: 0 !important;
  }
  .navbar .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 100% !important;
    padding: 0 16px !important;
  }
  .navbar-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
  }
  .navbar-logo {
    font-size: 1.92rem !important;
    position: absolute !important;
    left: 50% !important;
    top: 60% !important;
    transform: translate(-50%, -50%) !important;
    display: inline !important;
    vertical-align: baseline !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
  }
  .navbar .container > div[style*="position: absolute"],
  .navbar .container > div[style*="left: 50%"] {
    position: absolute !important;
    left: 50% !important;
    top: 60% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
  }
  .navbar-logo .cap {
    vertical-align: baseline !important;
    line-height: 1 !important;
  }
  .navbar-logo span {
    vertical-align: baseline !important;
    line-height: 1 !important;
  }
  .nav-locations-mobile {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    width: 44px !important;
    justify-content: flex-end !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #FBF7F0 !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    font-family: 'Poppins', sans-serif !important;
    letter-spacing: 0.5px !important;
    z-index: 1001 !important;
  }

  .nav-mob-divider {
    color: rgba(255,255,255,0.3) !important;
    font-weight: 300 !important;
  }

  .navbar-tagline {
    margin-top: 38px !important;
    font-size: 0.74rem !important;
  }
  .nav-right {
    display: none !important;
  }
  .trust-text {
    white-space: normal !important;
    text-align: center;
  }
  .why-circle-item {
    border-right: none !important;
    padding: 24px 20px !important;
    max-width: 100%;
  }
  .why-circles-grid {
    gap: 20px;
  }
  .why-circle {
    width: 90px;
    height: 90px;
    font-size: 1.5rem;
    margin-bottom: 20px !important;
  }
  .h3, h3 {
    font-size: 1.4rem;
  }
  .core-services-grid {
    grid-template-columns: 1fr !important;
  }
  .core-card-compact {
    grid-column: span 1 !important;
    height: auto !important;
    min-height: 300px;
    padding: 24px !important;
  }
  .core-card-compact .core-card-icon-box {
    font-size: 8rem !important;
  }
  .services-hub-inner {
    padding: 0 24px !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .hub-diagram {
    display: none;
  }
  .hub-table-mobile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 20px 0;
  }
  .hub-table-row {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: #FBF7F0;
    border: 1px solid #DAA520;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #04043D;
    transition: background 0.2s;
  }
  .hub-table-row:active {
    background: #04043D;
    color: #FBF7F0;
  }
  .hub-table-row:active .hub-table-num,
  .hub-table-row:active .hub-table-arrow {
    color: #FBF7F0;
  }
  .hub-table-num {
    color: #DAA520;
    font-weight: 700;
    font-size: 0.75rem;
    min-width: 24px;
  }
  .hub-table-name {
    flex: 1;
    text-align: left;
    margin: 0 12px;
  }
  .hub-table-arrow {
    color: #DAA520;
    font-size: 1rem;
  }
  .section-why-circles {
    padding: 60px 0 !important;
  }
  .comparison-grid {
    grid-template-columns: 1fr !important;
  }
  .comparison-grid > div:nth-child(2) {
    scale: 1 !important;
  }
  #contact-form {
    grid-template-columns: 1fr !important;
  }
  section[style*="04043D"] h2 {
    font-size: 2rem !important;
  }
  section[style*="04043D"] h2 span {
    font-size: inherit !important;
  }
  section[style*="04043D"] > .container > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ========================================
   Service Modal
   ======================================== */
.service-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4,4,61,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.service-modal-overlay.active {
  display: flex;
}
.service-modal {
  background: #FBF7F0;
  border-radius: 20px;
  padding: 30px 28px 24px;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 40px 80px rgba(4,4,61,0.25);
  animation: modalFadeIn 0.25s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.service-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: rgba(4,4,61,0.35);
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
  padding: 4px;
}
.service-modal-close:hover { color: #04043D; }
.service-modal-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #04043D, #11114F);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.1rem;
  color: #DAA520;
}
.service-modal-title {
  font-family: 'Noto Sans Khmer', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #04043D;
  text-align: center;
  margin: 0 0 4px;
  line-height: 1.25;
}
.service-modal-title span { color: #DAA520; }
.service-modal-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  color: #666;
  text-align: center;
  margin: 0 0 18px;
  line-height: 1.4;
}
.service-modal-form { display: flex; flex-direction: column; gap: 12px; }
.mf-group label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #04043D;
  display: block;
  margin-bottom: 4px;
}
.mf-group input[type="text"],
.mf-group input[type="tel"],
.mf-group input[type="email"] {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid rgba(4,4,61,0.12);
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  color: #04043D;
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.mf-group input:focus {
  border-color: #DAA520;
  box-shadow: 0 0 0 3px rgba(218,165,32,0.12);
}
.mf-phone-row {
  display: flex;
  gap: 10px;
}
.mf-country-select {
  width: 110px;
  flex-shrink: 0;
  padding: 12px 8px;
  border: 1.5px solid rgba(4,4,61,0.12);
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: #04043D;
  background: #fff;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='%2304043D'%3E%3Cpath d='M0 0l5 6 5-6z'/%3E%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px 6px;
}
.mf-country-select:focus {
  border-color: #DAA520;
  box-shadow: 0 0 0 3px rgba(218,165,32,0.12);
}
.mf-phone-row input[type="tel"] { flex: 1; }

/* Custom country dropdown with flags */
.mf-country-wrap {
  position: relative;
  width: 110px;
  flex-shrink: 0;
}
.mf-country-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 10px 8px;
  border: 1.5px solid rgba(4,4,61,0.12);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: #04043D;
  transition: border-color 0.2s ease;
  outline: none;
}
.mf-country-trigger:focus,
.mf-country-trigger.open {
  border-color: #DAA520;
  box-shadow: 0 0 0 3px rgba(218,165,32,0.12);
}
.mf-country-trigger .mf-flag { font-size: 1.1rem; line-height: 1; }
.mf-country-trigger .mf-code-text { font-weight: 600; }
.mf-country-trigger i {
  margin-left: auto;
  font-size: 0.65rem;
  color: rgba(4,4,61,0.4);
  transition: transform 0.25s ease;
}
.mf-country-trigger.open i { transform: rotate(180deg); }
.mf-country-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 130px;
  max-height: 220px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(4,4,61,0.12);
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(4,4,61,0.15);
  z-index: 10;
}
.mf-country-dropdown.open { display: block; }
.mf-country-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: #04043D;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}
.mf-country-option:hover,
.mf-country-option.highlighted {
  background: rgba(4,4,61,0.06);
}
.mf-country-option:not(:last-child) {
  border-bottom: 1px solid rgba(4,4,61,0.05);
}
.mf-submit {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #04043D, #11114F);
  color: #DAA520;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
  letter-spacing: 0.03em;
}
.mf-submit:hover {
  background: #DAA520;
  color: #04043D;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(218,165,32,0.3);
}
.mf-submit i { transition: transform 0.2s ease; }
.mf-submit:hover i { transform: translateX(4px); }
.mf-city-wrap {
  position: relative;
  width: 100%;
}
.mf-city-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid rgba(4,4,61,0.12);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  color: #999;
  transition: border-color 0.2s ease;
  outline: none;
  box-sizing: border-box;
}
.mf-city-trigger:focus,
.mf-city-trigger.open {
  border-color: #DAA520;
  box-shadow: 0 0 0 3px rgba(218,165,32,0.12);
}
.mf-city-trigger .mf-city-label { flex: 1; text-align: left; }
.mf-city-trigger i {
  font-size: 0.65rem;
  color: rgba(4,4,61,0.4);
  transition: transform 0.25s ease;
}
.mf-city-trigger.open i { transform: rotate(180deg); }
.mf-city-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid rgba(4,4,61,0.12);
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(4,4,61,0.15);
  z-index: 10;
  overflow: hidden;
}
.mf-city-dropdown.open { display: block; }
.mf-city-option {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  color: #04043D;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}
.mf-city-option:hover { background: rgba(4,4,61,0.06); }
.mf-city-option:not(:last-child) {
  border-bottom: 1px solid rgba(4,4,61,0.05);
}
.mf-msg {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  text-align: center;
  margin-top: 10px;
  padding: 8px;
  border-radius: 8px;
  display: none;
}
.mf-msg.success { display: block; background: rgba(39,174,96,0.1); color: #27ae60; }
.mf-msg.error { display: block; background: rgba(231,76,60,0.1); color: #e74c3c; }

/* Service Modal mobile */
@media (max-width: 480px) {
  .service-modal { padding: 24px 18px 20px; border-radius: 16px; }
  .service-modal-title { font-size: 1.1rem; }
  .service-modal-icon { width: 38px; height: 38px; font-size: 0.95rem; margin: 0 auto 8px; }
  .service-modal-sub { font-size: 0.78rem; margin: 0 0 14px; }
  .service-modal-form { gap: 10px; }
  .mf-country-wrap { width: 80px; }
  .mf-country-trigger { padding: 8px 6px; font-size: 0.75rem; gap: 3px; }
  .mf-country-trigger .mf-flag { font-size: 0.85rem; }
  .mf-country-dropdown { width: 100px; }
  .mf-country-option { font-size: 0.75rem; padding: 7px 8px; }
  .mf-group input[type="text"],
  .mf-group input[type="tel"],
  .mf-group input[type="email"] { padding: 8px 10px; font-size: 0.82rem; }
  .mf-group label { font-size: 0.75rem; margin-bottom: 3px; }
  .mf-city-trigger { padding: 8px 10px; font-size: 0.82rem; }
  .mf-city-option { padding: 8px 10px; font-size: 0.82rem; }
  .mf-submit { padding: 10px; font-size: 0.85rem; }
  .mf-msg { font-size: 0.75rem; margin-top: 8px; padding: 6px; }
}

/* Small mobile */
@media (max-width: 480px) {
  html {
    overflow-x: hidden;
  }
  .navbar {
    height: 80px !important;
    padding: 0 !important;
  }
  .navbar .container {
    padding: 0 12px !important;
  }
  .navbar-toggle {
    left: 0 !important;
  }
  .navbar-toggle::before {
    display: none;
  }
  .navbar-logo {
    font-size: 1.4rem !important;
  }
  .nav-right {
    display: none !important;
  }
  .sidebar {
    width: 85vw !important;
    left: -85vw !important;
  }
  .sidebar.active {
    left: 0 !important;
  }
  .hero-eyebrow {
    margin-left: 0;
    position: relative;
    right: 6px;
    white-space: nowrap;
  }
  .sidebar-header {
    padding: 18px 20px !important;
  }
  .sidebar-menu a {
    padding: 10px 20px !important;
    font-size: 1.05rem !important;
  }
  .sidebar-menu li::after {
    margin: 0 20px !important;
  }
  .sidebar-footer {
    padding: 14px 20px !important;
  }
  .why-circle {
    width: 80px;
    height: 80px;
    font-size: 1.3rem;
  }
  .why-circles-heading {
    font-size: 1.7rem;
  }
  .stats-dark-heading {
    font-size: 1.6rem;
  }
  .tslider-heading,
  .hub-heading,
  .board-hero-heading {
    font-size: 1.6rem;
  }
  .board-hero {
    padding: 80px 16px 40px !important;
  }
  .founder-letter-heading {
    font-size: 1.6rem !important;
  }
  .founder-letter-text-inner {
    padding: 32px 20px !important;
  }
  .hub-diagram {
    transform: scale(0.38);
    transform-origin: top center;
  }
  section[style*="04043D"] h2 {
    font-size: 1.5rem !important;
  }
  .timeline-content::before {
    display: none;
  }
  .tslider-btn {
    -webkit-tap-highlight-color: transparent;
  }
  .tslider-inner {
    padding: 60px 16px;
  }
  .tslider-heading {
    font-size: 1.5rem;
  }
  .tslider-sub {
    font-size: 0.85rem;
  }
  .tslider-card {
    grid-template-columns: 1fr;
  }
  .tslider-card-left {
    padding: 20px 16px 16px;
    border-right: none;
    border-bottom: 1px solid rgba(255,192,46,0.2);
  }
  .tslider-card-right {
    padding: 16px;
  }
  .tslider-quote-mark {
    font-size: 3.5rem;
    top: 14px;
    left: 16px;
  }
  .tslider-stars {
    margin-top: 24px;
    font-size: 0.85rem;
  }
  .stats-dark-inner {
    padding: 60px 16px 40px;
  }
  .stats-dark-header {
    margin-bottom: 40px;
  }
  .stats-dark-heading {
    font-size: 1.4rem;
  }
  .stats-dark-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 40px;
  }
  .stat-dark-item {
    padding: 28px 16px;
    border-right: 1px solid rgba(218,165,32,0.2);
  }
  .stat-dark-item:nth-child(even) {
    border-right: none;
  }
  .stat-dark-number {
    font-size: 2rem;
  }
  .stat-dark-sup {
    font-size: 0.9rem;
    margin-top: 4px;
  }
  .stat-dark-divider {
    width: 20px;
    margin: 12px 0 10px;
  }
  .stat-dark-label {
    font-size: 0.6rem;
  }
  .tslider-client-name {
    font-size: 1.1rem;
  }
  .tslider-client-role {
    font-size: 0.75rem;
  }
  .tslider-para {
    font-size: 0.85rem;
  }
  .site-footer-v2-inner {
    padding: 0 16px;
  }
  .site-footer-v2-grid {
    gap: 24px;
  }
  .site-footer-v2-logo {
    font-size: 2rem;
  }
  .site-footer-v2-tagline {
    font-size: 0.85rem;
  }
  .site-footer-v2-about {
    font-size: 0.85rem;
  }
  .site-footer-v2-socials a {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  .site-footer-v2-col h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
  }
  .site-footer-v2-col a,
  .site-footer-v2-col p {
    font-size: 0.85rem;
  }
  .site-footer-v2-bottom {
    padding-top: 24px;
    font-size: 0.8rem;
    gap: 14px;
  }
  .scarcity-section {
    padding: 60px 0;
  }
  .scarcity-inner {
    padding: 24px 16px;
  }
  .scarcity-section h2 {
    font-size: 1.5rem;
  }
  .scarcity-section p {
    font-size: 0.95rem;
  }
  .section-principles {
    padding: 60px 12px;
  }
  .principles-manifesto {
    padding: 24px;
    min-height: 280px;
  }
  .principles-manifesto p {
    font-size: 1.6rem;
  }
  .principles-seal {
    top: 46%;
  }
  .principle-card {
    padding: 24px 20px;
  }
  .founder-letter-wrapper {
    gap: 1.5%;
  }
  .section-core {
    padding: 60px 0 !important;
  }
  .section-core .shimmer-gold {
    font-size: 2rem !important;
  }
  .section-core .container > div > p {
    font-size: 1rem !important;
  }
  .section-core .container {
    padding: 0 16px !important;
  }
  .section-addons-new {
    padding: 80px 0 40px !important;
  }
  .addons-container {
    padding: 0 16px !important;
  }
  .addons-heading {
    font-size: 1.6rem !important;
  }
  .addons-subtext-standalone {
    font-size: 0.95rem !important;
    margin: 40px auto !important;
  }
  .addon-row {
    padding: 20px 16px !important;
    grid-template-columns: 28px 1fr 32px;
    gap: 14px;
  }
  .addon-num {
    display: block;
  }
  .founder-photo-frame,
  .founder-photo {
    min-height: 300px;
  }
  .founder-letter-body {
    font-size: 0.92rem;
    line-height: 1.65;
  }
  /* --- Why Us page --- */
  .page-why-us .why-us-hero {
    padding: 80px 0 40px !important;
  }
  .page-why-us .why-us-hero > div[style*="padding:80px 60px"] {
    padding: 30px 20px 0 !important;
    flex-direction: column !important;
    text-align: center !important;
    gap: 30px !important;
  }
  .page-why-us .why-us-hero .hero-copy {
    max-width: 100% !important;
    flex: 1 1 auto !important;
  }
  .page-why-us .why-us-hero div[style*="flex:1 1 360px"] {
    flex: 1 1 auto !important;
    width: 100% !important;
  }
  .page-why-us .why-us-hero svg {
    max-width: 280px !important;
  }
  .page-why-us .brand-story-section {
    padding: 50px 0 !important;
  }
  .page-why-us .why-us-compare {
    padding: 50px 0 40px !important;
  }
  .page-why-us .why-us-compare h2 {
    font-size: 1.6rem !important;
  }
  .page-why-us .why-us-compare .comparison-3d-container {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}
/* Tablet: center comparison cards */
@media (min-width: 481px) and (max-width: 1024px) {
  .page-why-us .why-us-compare .comparison-3d-container {
    grid-template-columns: repeat(3, minmax(0, 320px)) !important;
    justify-content: center !important;
  }
  .page-why-us .why-us-compare .comparison-3d-card .card-face-front {
    padding: 28px 20px !important;
  }
  .page-why-us .why-us-compare .servefar-card .card-face-front {
    padding: 32px 20px !important;
  }
  .page-why-us .why-us-testimonials {
    padding: 50px 0 !important;
  }
  .page-why-us .why-us-testimonials > div[style*="padding: 0 40px"] {
    padding: 0 20px !important;
  }
  .page-why-us .why-us-testimonials div[style*="font-size: 10rem"] {
    font-size: 5rem !important;
  }
  /* --- Contact page --- */
  .page-contact .section-contact-hero {
    padding: 80px 0 60px !important;
  }
  .page-contact .section-contact-hero h1 {
    font-size: 2rem !important;
  }
  .page-contact .section-contact-hero > .container > div > p {
    font-size: 1rem !important;
  }
  .page-contact .contact-redesign-grid {
    grid-template-columns: 1fr !important;
  }
  .page-contact .form-container {
    padding: 24px 16px !important;
    border-radius: 16px !important;
  }
  .page-contact .form-container h3 {
    font-size: 1.4rem !important;
  }
  .page-contact .form-container > p {
    font-size: 0.9rem !important;
  }
  .page-contact .form-container form {
    grid-template-columns: 1fr !important;
  }
  .page-contact .form-container form .form-group[style*="span 2"] {
    grid-column: span 1 !important;
  }
  .page-contact .form-container form div[style*="span 2"] {
    grid-column: span 1 !important;
  }
  .page-contact .form-container .btn-primary {
    font-size: 0.95rem !important;
    padding: 16px !important;
  }
  .page-contact .contact-trust-sidebar a[style*="font-size: 1.6rem"] {
    font-size: 1.3rem !important;
  }
  .page-contact .contact-trust-sidebar > div[style*="padding: 32px"] {
    padding: 24px 20px !important;
  }
  .page-contact .section-alt .container {
    padding: 0 16px !important;
  }
  .page-contact .office-location-grid > div[style*="padding: 40px 36px"] {
    padding: 24px 20px !important;
  }
  .page-contact .office-location-grid iframe {
    min-height: 240px !important;
  }
}

/* Contact page: stack form & form fields vertically on mobile */
@media (max-width: 480px) {
  body.page-contact {
    padding-top: 80px !important;
  }
  .page-contact .section-contact-hero {
    padding: 0 0 40px !important;
  }
  .page-contact .section-contact-hero h1 {
    font-size: 1.8rem !important;
    text-align: center;
  }
  .page-contact .section-contact-hero > .container > div > p {
    font-size: 0.9rem !important;
  }
  .page-contact .contact-redesign-grid,
  #contact-form {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .page-contact .contact-redesign-grid {
    text-align: left !important;
  }
  .page-contact .contact-redesign-grid > * {
    text-align: left !important;
  }
  .page-contact .form-container {
    padding: 20px 14px !important;
    border-radius: 14px !important;
  }
  .page-contact .form-container h3 {
    font-size: 1.25rem !important;
  }
  .page-contact .form-container > p {
    font-size: 0.85rem !important;
  }
  .page-contact .form-container form {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .page-contact .form-container form .form-group[style*="span 2"],
  #contact-form [style*="span 2"] {
    grid-column: span 1 !important;
  }
  .page-contact .form-container .btn-primary {
    font-size: 0.9rem !important;
    padding: 14px !important;
  }
  .page-contact .contact-trust-sidebar a[style*="font-size: 1.6rem"] {
    font-size: 1.15rem !important;
  }
  .page-contact .contact-trust-sidebar > div[style*="padding: 32px"] {
    padding: 20px 16px !important;
  }
  .page-contact .section-contact-hero .container {
    padding: 0 12px !important;
  }
  .page-contact .section-alt .container {
    padding: 0 12px !important;
  }
  .page-contact .office-location-grid > div[style*="padding: 40px 36px"] {
    padding: 20px 16px !important;
  }
  .page-contact .office-location-grid iframe {
    min-height: 200px !important;
  }
  .privacy-form-badges {
    flex-direction: column !important;
    gap: 8px !important;
  }
  .navbar-tagline {
    font-size: 0.58rem !important;
    letter-spacing: 0.04em !important;
  }
}

/* Compact sidebar on short screens (e.g. small laptops) */
@media (max-height: 800px) {
  .sidebar-header {
    padding: 30px 48px 22px;
  }
  .sidebar-menu {
    padding-top: 14px;
  }
  .sidebar-menu a {
    padding: 10px 48px;
  }
  .sidebar-footer {
    padding: 20px 48px 28px;
  }
}

/* ========================================
   2560px+ (iMac / large monitors)
   ======================================== */
/* Desktop only: narrower sidebar */
@media (min-width: 1025px) {
  .sidebar {
    left: -360px;
    width: 360px;
  }
  /* Desktop: comparison cards side by side */
  .page-why-us .why-us-compare .comparison-3d-container {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (min-width: 2560px) {
  .hero {
    height: 100vh;
    min-height: 100vh;
    padding: 0;
  }
  .hero .container {
    max-width: 1800px;
    padding: 0 80px;
  }
  .hero-text {
    max-width: 1200px;
  }
  .hero-text h1 {
    font-size: clamp(3rem, 4.5vw, 5rem);
    line-height: 1.1;
  }
  .hero-eyebrow {
    font-size: 1rem;
    padding: 8px 20px;
    margin-bottom: 36px;
  }
  .hero-ctas a {
    font-size: 1.1rem;
    padding: 16px 36px;
  }
  .navbar {
    height: 100px !important;
  }
  .navbar-logo {
    font-size: 2.2rem !important;
  }
  .nav-right {
    gap: 16px;
  }
  .nav-right span {
    font-size: 0.95rem;
  }
  .section-core .container,
  .section-services-hub .container,
  .services-hub-inner,
  .section-comprehensive .container,
  .section-cta .container,
  .section-staggered .container,
  .trust-bar .container,
  .tslider-section .container,
  .faq-hub-container,
  .hub-diagram-section .container {
    max-width: 1800px;
    padding: 0 80px;
  }
  .core-services-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 32px;
  }
  .core-services-grid .core-card-compact {
    min-height: 420px;
    max-height: 480px;
    padding: 36px !important;
  }
  .core-card-title-compact {
    font-size: 1.7rem !important;
  }
  .core-card-text-compact {
    font-size: 1.05rem !important;
  }
  .section-comprehensive h2 {
    font-size: clamp(2rem, 3vw, 3rem);
  }
  .section-cta h2,
  .section-staggered h2 {
    font-size: clamp(2rem, 3vw, 3rem);
  }
  .stats-dark-heading {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  }
  .why-circles-heading {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  }
  .hub-heading,
  .tslider-heading,
  .board-hero-heading {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  }
  .founder-letter-heading {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem) !important;
  }
  .site-footer-v2 {
    padding: 80px 0 0;
  }
  .site-footer-v2 .container {
    max-width: 1800px;
    padding: 0 80px;
  }
  .site-footer-v2-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 48px;
  }
  .site-footer-v2-bottom {
    padding: 28px 0;
    font-size: 0.88rem;
  }
}

/* ========================================
   COMPREHENSIVE RESPONSIVE FIX
   ======================================== */

/* CSS Custom Properties for Breakpoints */
:root {
  --bp-phone: 480px;
  --bp-phone-lg: 767px;
  --bp-tablet: 1023px;
  --bp-laptop-sm: 1279px;
  --bp-laptop: 1439px;
  --bp-desktop: 1440px;
}

/* Typography: clamp() for all headings */
h1 {
  font-size: clamp(1.95rem, 4vw, 3.2rem);
  line-height: 1.15;
}

h2, .section-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  line-height: 1.3;
}

.section-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  line-height: 1.7;
}

/* Global image fixes */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Global container fixes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
  box-sizing: border-box;
}

/* Global button fixes */
.btn-primary,
.btn-outline {
  display: inline-block;
  white-space: nowrap;
  text-align: center;
  box-sizing: border-box;
}

/* Mobile: buttons stack vertically */
@media (max-width: 767px) {
  .btn-primary,
  .btn-outline {
    width: 100%;
    max-width: 400px;
    padding: 14px 28px;
    font-size: 1rem;
  }
}

/* Navigation: sidebar scrollable on short screens */
@media (max-width: 767px) {
  .sidebar {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sidebar-menu {
    overflow-y: auto;
    max-height: calc(100vh - 200px);
  }
}

/* Layout: grids collapse gracefully */
@media (max-width: 1023px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Cards: equal height within rows */
.card,
.fear-card,
.testimonial-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

/* Cards: CTA always visible */
.card .btn-primary,
.card .btn-outline,
.core-card-link-compact {
  margin-top: auto;
  visibility: visible;
  opacity: 1;
}

/* Hero: centered and readable on all screens */
@media (max-width: 767px) {
  .hero {
    padding: 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 0;
  }

  .hero-text {
    max-width: 100%;
    overflow: visible;
  }

  .hero-ctas {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-ctas a {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 2.9vh;
  }

  .hero-ctas a {
    width: 80%;
    max-width: 100%;
    padding: 10px 18px;
    box-sizing: border-box;
    text-align: center;
  }

  .section-services-hub {
    margin-top: 380px;
  }

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

/* Footer: 3-column to 1-column on mobile */
@media (max-width: 767px) {
  .site-footer-v2-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .site-footer-v2-col a,
  .site-footer-v2-col p {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .site-footer-v2-bottom {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 14px;
  }

  .site-footer-v2-legal {
    flex-direction: column;
    gap: 8px;
  }

  .site-footer-v2-bottom p:last-child {
    text-align: center;
  }
}

/* Service pages: fully readable on mobile */
@media (max-width: 767px) {
  .core-card,
  .core-card.reverse {
    flex-direction: column;
  }

  .core-card-image {
    width: 100%;
    padding: 40px 0;
  }

  .core-card-content {
    width: 100%;
    padding: 24px 20px;
  }
}

/* ========================================
   Floating Contact Widget (bottom-right)
   ======================================== */
.floating-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.floating-contact a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #FBF7F0;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-contact a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}
.floating-contact .fc-whatsapp { background: #25D366; }
.floating-contact .fc-phone    { background: #04043D; }
.floating-contact .fc-email    { background: #FFC02E; color: #04043D; }

/* Remove yellow focus border on intl-tel-input search */
.iti__search-input {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Separator line below India in intl-tel-input country list */
.iti__country[data-country-code="in"] {
  border-bottom: 1.5px solid #ccc;
  margin-bottom: 6px;
  padding-bottom: 6px;
}

@media (max-width: 767px) {
  .floating-contact {
    transform: scale(0.7);
    transform-origin: bottom right;
  }
}

/* ========================================
   Thank You Modal
   ======================================== */
.thankyou-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4,4,61,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: thankyouFadeIn 0.3s ease;
}
.thankyou-modal {
  background: #FBF7F0;
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  position: relative;
}
.thankyou-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}
.thankyou-close:hover {
  color: #333;
}
.thankyou-modal h3 {
  font-family: 'Noto Sans Khmer', sans-serif;
  color: #04043D;
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.thankyou-modal p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}
@keyframes thankyouFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Sticky CTA bar hides below 1024px */
@media (max-width: 1023px) {
  .sticky-cta-bar {
    display: none !important;
  }
}

/* Forms: fully usable on mobile */
@media (max-width: 767px) {
  .form-container {
    padding: 24px 16px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    box-sizing: border-box;
    font-size: 16px; /* Prevents iOS zoom */
  }

  .form-submit {
    width: 100%;
  }
}

/* Modal: scrollable on small screens */
@media (max-width: 767px) {
  .service-modal-overlay {
    padding: 10px;
    align-items: flex-start;
    overflow-y: auto;
  }

  .service-modal {
    max-height: 90vh;
    overflow-y: auto;
    margin: 10px 0;
  }

  .mf-submit {
    position: sticky;
    bottom: 0;
    z-index: 10;
  }
}

/* Tablet adjustments (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    padding: 0 32px;
  }

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

  .site-footer-v2-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

/* Small laptop adjustments (1024px - 1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .container {
    padding: 0 36px;
  }

  .site-footer-v2-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* Standard laptop (1280px - 1439px) */
@media (min-width: 1280px) and (max-width: 1439px) {
  .container {
    padding: 0 40px;
  }
}

/* Large screens (1440px+) */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
    padding: 0 48px;
  }

  .site-footer-v2-grid {
    grid-template-columns: 1.55fr 0.6fr 1fr 0.75fr;
    gap: 56px;
  }
}

/* Very large screens (2560px+) */
@media (min-width: 2560px) {
  .container {
    max-width: 1800px;
    padding: 0 80px;
  }

  h1 {
    font-size: clamp(3rem, 4.5vw, 5rem);
  }

  h2, .section-heading {
    font-size: clamp(2rem, 3vw, 3rem);
  }

  .site-footer-v2-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 48px;
  }
}

/* Prevent horizontal scrolling */
html, body {
  overflow-x: hidden;
  width: 100%;
}

/* Fix for timeline on mobile */
@media (max-width: 767px) {
  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 80px !important;
    margin-right: 0 !important;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-marker {
    left: 20px;
    transform: translateX(-50%);
  }
}

/* Fix for testimonial slider on mobile */
@media (max-width: 480px) {
  .tslider-card {
    grid-template-columns: 1fr;
  }

  .tslider-card-left {
    border-right: none;
    border-bottom: 1px solid rgba(255,192,46,0.2);
  }

  .tslider-inner {
    padding: 60px 16px;
  }
}

/* Fix for stats grid on mobile */
@media (max-width: 480px) {
  .stats-dark-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-dark-item:nth-child(even) {
    border-right: none;
  }
}

/* Fix for comparison table on mobile */
@media (max-width: 767px) {
  .comparison-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-table th,
  .comparison-table td {
    min-width: 120px;
    padding: 12px 10px;
    font-size: 0.85rem;
  }
}

/* Fix for addons section on mobile */
@media (max-width: 767px) {
  .addon-row {
    grid-template-columns: 1fr 32px;
    padding: 20px 0;
  }

  .addon-num,
  .addon-icon {
    display: none;
  }

  .addon-title {
    font-size: 1rem;
  }

  .addon-desc {
    font-size: 0.8rem;
  }
}

/* Fix for founder letter on mobile */
@media (max-width: 767px) {
  .founder-letter-wrapper {
    grid-template-columns: 1fr;
  }

  .founder-photo-frame,
  .founder-photo {
    min-height: 400px;
  }

  .founder-letter-text-inner {
    padding: 32px 24px;
  }

  .founder-letter-text-col {
    margin-top: -8%;
  }

  .founder-letter-heading {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }
}

/* Fix for principles section on mobile */
@media (max-width: 767px) {
  .principles-board {
    grid-template-columns: 1fr;
  }

  .principles-manifesto {
    min-height: 300px;
    padding: 30px;
  }

  .principle-card {
    padding: 24px 20px;
    grid-template-columns: 1fr;
  }

  .principle-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
  }

  .principle-copy {
    padding-right: 0;
  }
}

/* Fix for stand-for section on mobile */
@media (max-width: 767px) {
  .stand-for-grid {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .stand-for-item {
    padding: 40px 24px;
    border-right: none;
    border-bottom: 1px solid rgba(4,4,61,0.08);
  }

  .stand-for-item:last-child {
    border-bottom: none;
  }
}

/* Fix for scarcity section on mobile */
@media (max-width: 767px) {
  .scarcity-section {
    padding: 60px 0;
  }

  .scarcity-inner {
    padding: 24px 16px;
  }

  .scarcity-section h2 {
    font-size: clamp(1.4rem, 4vw, 2rem);
  }

  .scarcity-section p {
    font-size: 0.95rem;
  }
}

/* Fix for guarantee box on mobile */
@media (max-width: 767px) {
  .guarantee-box {
    padding: 32px 24px;
  }

  .guarantee-box h3 {
    font-size: clamp(1.4rem, 4vw, 2rem);
  }
}

/* Fix for lead magnet on mobile */
@media (max-width: 767px) {
  .lead-magnet {
    padding: 40px 24px;
  }

  .lead-magnet h3 {
    font-size: clamp(1.4rem, 4vw, 2rem);
  }
}

/* Fix for contact info on mobile */
@media (max-width: 767px) {
  .contact-info {
    padding: 24px;
  }

  .contact-item {
    gap: 12px;
    margin-bottom: 20px;
  }
}

/* Fix for article cards on mobile */
@media (max-width: 767px) {
  .article-card {
    margin-bottom: 24px;
  }

  .article-content {
    padding: 20px;
  }

  .article-title {
    font-size: 1.2rem;
  }
}

/* Fix for form container on mobile */
@media (max-width: 767px) {
  .form-container {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 16px;
  }
}

/* Fix for board page team photos on mobile */
@media (max-width: 767px) {
  .team-photo-img {
    width: 100%;
    height: auto;
  }
}

/* Fix for FAQ page on mobile */
@media (max-width: 767px) {
  .faq-item {
    padding: 20px;
  }

  .faq-question {
    font-size: 1rem;
  }

  .faq-answer {
    font-size: 0.95rem;
  }
}

/* Fix for blog page on mobile */
@media (max-width: 767px) {
  .blog-post {
    padding: 24px;
  }

  .blog-post-title {
    font-size: 1.3rem;
  }
}

/* Fix for service detail pages on mobile */
@media (max-width: 767px) {
  .service-detail-content {
    padding: 24px 16px;
  }

  .service-detail-content h2 {
    font-size: clamp(1.4rem, 4vw, 2rem);
  }

  .service-detail-content p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}

/* Fix for why-us page on mobile */
@media (max-width: 767px) {
  .why-us-hero {
    padding: 80px 0 40px !important;
  }

  .why-us-compare {
    padding: 50px 0 40px !important;
  }

  .why-us-testimonials {
    padding: 50px 0 !important;
  }
}

/* Fix for contact page on mobile */
@media (max-width: 767px) {
  .section-contact-hero {
    padding: 80px 0 60px !important;
  }

  .contact-redesign-grid {
    grid-template-columns: 1fr !important;
  }

  .form-container form {
    grid-template-columns: 1fr !important;
  }

  .form-container form .form-group[style*="span 2"] {
    grid-column: span 1 !important;
  }
}

/* Ensure all links are tappable */
a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* Fix for inline styles that break responsiveness */
@media (max-width: 767px) {
  [style*="padding: 80px 60px"] {
    padding: 40px 20px !important;
  }

  [style*="padding: 60px 40px"] {
    padding: 40px 20px !important;
  }

  [style*="padding: 40px 36px"] {
    padding: 24px 20px !important;
  }

  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  [style*="grid-template-columns: 1.2fr 0.8fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* Fix for sidebar on short screens */
@media (max-height: 800px) {
  .sidebar-header {
    padding: 30px 48px 22px;
  }

  .sidebar-menu {
    padding-top: 14px;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
  }

  .sidebar-menu a {
    padding: 10px 48px;
  }

  .sidebar-footer {
    padding: 20px 48px 28px;
  }
}

/* Fix for sidebar on very short screens */
@media (max-height: 600px) {
  .sidebar-header {
    padding: 20px 32px 16px;
  }

  .sidebar-menu a {
    padding: 8px 32px;
    font-size: 0.95rem;
  }

  .sidebar-footer {
    padding: 16px 32px 20px;
  }
}
