/* ==========================================================================
   FINALES CREATIVE MEDIA — DESIGN SYSTEM & STYLESHEET
   Modern Luxury Glassmorphism & Aurora Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Kantumruy+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* --- CSS Variables / Design Tokens (Finales Brand Colors) --- */
:root {
  --bg-dark: #0c0816;         /* Deep brand-purple-tinted dark */
  --bg-darker: #080510;
  --bg-surface: rgba(24, 12, 40, 0.68);
  --bg-surface-strong: rgba(32, 16, 54, 0.88);
  --bg-surface-elevated: rgba(45, 22, 75, 0.72);

  --text-main: #f8fafc;
  --text-muted: #c4b5d4;       /* Purple-tinted muted */
  --text-subtle: #8b78a0;

  /* --- Finales Brand Palette (from logo) --- */
  --brand:        #351458;   /* Logo signature deep purple */
  --brand-mid:    #5B21A0;   /* Medium brand purple */
  --brand-light:  #8B46D4;   /* Lighter purple for highlights */
  --brand-bright: #A855F7;   /* Vibrant accent purple */

  /* Keep primary pointing to brand for compatibility */
  --primary:      #7B35C8;   /* Brand purple, screen-optimized */
  --primary-dark: #351458;   /* Deepest brand */
  --primary-glow: rgba(123, 53, 200, 0.45);

  --accent-pink: #C026D3;     /* Brand magenta/plum (logo hue) */
  --accent-teal: #14b8a6;
  --accent-teal-glow: rgba(20, 184, 166, 0.35);

  --gold: #f59e0b;
  --gold-bright: #fbbf24;
  --gold-glow: rgba(245, 158, 11, 0.4);

  --border-subtle: rgba(168, 85, 247, 0.1);
  --border-glass:  rgba(168, 85, 247, 0.18);
  --border-active: rgba(245, 158, 11, 0.45);

  /* Brand gradient: logo purple → plum → gold */
  --grad-brand:   linear-gradient(135deg, #351458 0%, #7B35C8 40%, #C026D3 75%, #f59e0b 100%);
  --grad-primary: linear-gradient(135deg, #7B35C8 0%, #A855F7 100%);
  --grad-gold:    linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  --grad-dark-card: linear-gradient(145deg, rgba(40, 18, 68, 0.6) 0%, rgba(18, 8, 32, 0.85) 100%);
  --grad-hero-orb1: radial-gradient(circle, #5B21A0, transparent 70%);
  --grad-hero-orb2: radial-gradient(circle, #f59e0b, transparent 70%);
  --grad-hero-orb3: radial-gradient(circle, #C026D3, transparent 70%);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 20px 50px -15px rgba(0, 0, 0, 0.75);
  --shadow-primary-glow: 0 10px 35px -5px rgba(123, 53, 200, 0.55);
  --shadow-gold-glow: 0 10px 35px -5px rgba(245, 158, 11, 0.4);
  --shadow-brand-glow: 0 8px 28px -6px rgba(53, 20, 88, 0.7);

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-khmer: 'Kantumruy Pro', sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Global Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  font-size: 16px;
  color-scheme: dark;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-khmer), var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-darker);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.font-khmer {
  font-family: var(--font-khmer), var(--font-body);
}

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

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

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

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

/* --- Aurora Ambient Mesh Backgrounds --- */
.aurora-wrap {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.aurora-bg-mesh {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  will-change: transform;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.aurora-orb-1 {
  width: 600px;
  height: 600px;
  top: -150px;
  left: -100px;
  background: radial-gradient(circle, var(--primary) 0%, rgba(139, 92, 246, 0) 70%);
}

.aurora-orb-2 {
  width: 500px;
  height: 500px;
  top: 20%;
  right: -100px;
  background: radial-gradient(circle, var(--gold) 0%, rgba(245, 158, 11, 0) 70%);
  animation-duration: 22s;
  animation-delay: -5s;
}

.aurora-orb-3 {
  width: 550px;
  height: 550px;
  bottom: 10%;
  left: 20%;
  background: radial-gradient(circle, var(--accent-pink) 0%, rgba(236, 72, 153, 0) 70%);
  animation-duration: 26s;
  animation-delay: -10s;
}

.aurora-orb-4 {
  width: 450px;
  height: 450px;
  top: 60%;
  right: 15%;
  background: radial-gradient(circle, var(--accent-teal) 0%, rgba(20, 184, 166, 0) 70%);
  animation-duration: 20s;
  animation-delay: -7s;
}

@keyframes floatOrb {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(50px, 30px, 0) scale(1.12); }
  100% { transform: translate3d(-30px, -40px, 0) scale(0.95); }
}

/* Subtle grid overlay */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  pointer-events: none;
  z-index: -1;
}

/* --- Glassmorphism Components --- */
.glass {
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.glass:hover {
  border-color: var(--border-glass);
}

.glass-strong {
  background: var(--bg-surface-strong);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.glass-card {
  background: var(--grad-dark-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad-surface);
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(139, 92, 246, 0.15);
}

/* --- Gradient Text & Badges --- */
.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.text-gold {
  color: var(--gold-bright);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--gold-bright);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px var(--gold);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-khmer), var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
  text-decoration: none;
  line-height: 1;
}

.btn-brand {
  background: var(--grad-brand);
  color: #ffffff;
  box-shadow: var(--shadow-primary-glow);
}

.btn-brand:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.1);
  box-shadow: 0 14px 40px -5px rgba(139, 92, 246, 0.6);
}

.btn-outline-gold {
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: var(--gold-bright);
}

.btn-outline-gold:hover {
  background: rgba(245, 158, 11, 0.18);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-glass);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition-smooth);
}

.header-nav.scrolled {
  padding: 10px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-radius: var(--radius-xl);
  background: rgba(15, 18, 30, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.header-nav.scrolled .nav-container {
  background: rgba(10, 6, 20, 0.92);
  border-color: rgba(123, 53, 200, 0.3);
  box-shadow: var(--shadow-lg);
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

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

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.brand-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
  font-weight: 700;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-brand);
  transition: var(--transition-fast);
  border-radius: var(--radius-full);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-glass);
}

/* Mobile Offcanvas Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(310px, 84vw);
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  background: rgba(12, 15, 26, 0.98);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border-left: 1px solid var(--border-glass);
  z-index: 1100;
  padding: 20px 18px 24px;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.75);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.drawer-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.drawer-close:hover {
  background: rgba(239, 68, 68, 0.15);
  color: var(--red);
  border-color: rgba(239, 68, 68, 0.3);
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex-grow: 1;
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-link::after {
  content: '›';
  font-size: 1.25rem;
  line-height: 1;
  color: var(--text-subtle);
  transition: transform 0.2s ease, color 0.2s ease;
}

.drawer-link:hover,
.drawer-link.active {
  background: rgba(139, 92, 246, 0.14);
  border-color: rgba(139, 92, 246, 0.35);
  color: var(--gold-bright);
}

.drawer-link:hover::after,
.drawer-link.active::after {
  color: var(--gold-bright);
  transform: translateX(3px);
}

.drawer-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 160px;
  padding-bottom: 100px;
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge-wrap {
  display: flex;
}

.hero-title {
  font-size: clamp(2.5rem, 5.2vw, 4.5rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero-title .kh-highlight {
  font-family: var(--font-khmer);
  font-weight: 700;
  display: block;
  margin-top: 6px;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-subtle);
  max-width: 580px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

/* Counter Stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 12px;
}

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

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 6px;
}

/* Hero Visual Showcase */
.hero-visual-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at 60% 40%, rgba(139, 92, 246, 0.4), rgba(245, 158, 11, 0.25) 50%, transparent 70%);
  filter: blur(40px);
  border-radius: var(--radius-xl);
  z-index: 0;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: scale(0.96); opacity: 0.6; }
  100% { transform: scale(1.05); opacity: 0.9; }
}

.hero-main-card {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(139, 92, 246, 0.25);
  border: 1px solid var(--border-glass);
  animation: floatHero 6s ease-in-out infinite;
}

.hero-main-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-main-card:hover img {
  transform: scale(1.03);
}

@keyframes floatHero {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Floating overlay badges on hero */
.floating-badge {
  position: absolute;
  z-index: 2;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: rgba(15, 18, 32, 0.88);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatSlow 7s ease-in-out infinite alternate;
}

.floating-badge-1 {
  top: 20px;
  left: -20px;
}

.floating-badge-2 {
  bottom: 25px;
  right: -20px;
  animation-delay: -3s;
}

@keyframes floatSlow {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(1.5deg); }
}

.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.badge-text-primary {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.badge-text-secondary {
  font-size: 0.75rem;
  color: var(--gold-bright);
}

/* ==========================================================================
   SECTION COMMON HEADERS
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

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

.section-eyebrow {
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-bright);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 22px;
  box-shadow: var(--shadow-primary-glow);
  transition: transform var(--transition-fast);
}

.service-card:hover .service-icon-box {
  transform: scale(1.1) rotate(4deg);
}

.service-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.service-kh-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-bright);
  margin-bottom: 14px;
}

.service-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.service-list-icon {
  width: 16px;
  height: 16px;
  color: var(--accent-teal);
  flex-shrink: 0;
}

.service-cta-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-bright);
  transition: var(--transition-fast);
}

.service-cta-link:hover {
  gap: 12px;
  color: #ffffff;
}

/* ==========================================================================
   PORTFOLIO SECTION & FILTER
   ========================================================================== */
.portfolio-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-main);
  border-color: var(--border-glass);
}

.filter-btn.active {
  background: var(--grad-brand);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-primary-glow);
}

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

.portfolio-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(245, 158, 11, 0.15);
}

.portfolio-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: #0d111d;
}

.portfolio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-img-wrap img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 4, 18, 0.05) 0%, rgba(8, 4, 18, 0.5) 35%, rgba(10, 5, 22, 0.88) 70%, rgba(6, 3, 14, 0.98) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0.92;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.22);
  border: 1px solid rgba(251, 191, 36, 0.55);
  color: #fbbf24;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  margin-bottom: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.portfolio-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.portfolio-zoom-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(10, 12, 22, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition-fast);
}

.portfolio-card:hover .portfolio-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-icon-box {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 20px;
  box-shadow: var(--shadow-primary-glow);
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.feature-en {
  font-size: 0.85rem;
  color: var(--gold-bright);
  font-weight: 500;
}

/* ==========================================================================
   WORK PROCESS SECTION
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-card {
  padding: 36px 24px;
  position: relative;
}

.process-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 16px;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.process-kh {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.process-en {
  font-size: 0.875rem;
  color: var(--gold-bright);
  font-weight: 500;
}

.process-arrow {
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translateY(-50%);
  color: rgba(245, 158, 11, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* ==========================================================================
   PACKAGES / PRICING SECTION
   ========================================================================== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.package-card {
  padding: 44px 32px 38px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible; /* Allows badge to sit centered directly on top border */
}

.package-card.featured {
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: var(--shadow-lg), 0 0 35px rgba(245, 158, 11, 0.25);
  transform: translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 22px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #7c3aed 0%, #c026d3 50%, #f59e0b 100%);
  color: #ffffff;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  box-shadow: 0 4px 20px rgba(192, 38, 211, 0.5), 0 0 15px rgba(245, 158, 11, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  animation: badgeGlowPulse 3s ease-in-out infinite alternate;
}

.popular-badge::before {
  content: '★';
  font-size: 0.85rem;
  color: #fef08a;
  filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.9));
}

@keyframes badgeGlowPulse {
  0% {
    box-shadow: 0 4px 18px rgba(192, 38, 211, 0.45), 0 0 10px rgba(245, 158, 11, 0.3);
  }
  100% {
    box-shadow: 0 6px 26px rgba(192, 38, 211, 0.75), 0 0 20px rgba(245, 158, 11, 0.6);
  }
}

.package-name {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-main);
}

.package-kh {
  font-size: 0.95rem;
  color: var(--gold-bright);
  font-weight: 600;
  margin-top: 4px;
}

.package-price-box {
  margin: 20px 0 24px 0;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.package-card:hover .package-price-box {
  border-color: rgba(139, 92, 246, 0.35);
  background: rgba(139, 92, 246, 0.06);
}

.package-card.featured .package-price-box {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.08);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.12);
}

.package-price-row {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  line-height: 1;
}

.package-price-row .currency {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-bright);
}

.package-price-row .amount {
  font-size: 2.7rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.package-price-box .period {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.package-price-tag {
  margin: 24px 0;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
}

.package-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.925rem;
  color: #cbd5e1;
}

.pkg-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-teal);
  margin-top: 2px;
  flex-shrink: 0;
}

.package-card .btn {
  width: 100%;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.quote-icon {
  width: 32px;
  height: 32px;
  color: var(--gold-bright);
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #ffffff;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
}

.author-role {
  font-size: 0.8rem;
  color: var(--gold-bright);
}

.rating-stars {
  display: flex;
  gap: 4px;
  margin-top: 12px;
}

.star-icon {
  width: 16px;
  height: 16px;
  fill: var(--gold-bright);
  color: var(--gold-bright);
}

/* ==========================================================================
   CONTACT & LOCATION SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: var(--shadow-primary-glow);
}

.contact-card-meta {
  display: flex;
  flex-direction: column;
}

.contact-card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  font-weight: 700;
}

.contact-card-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.contact-social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.contact-map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  margin-top: 10px;
}

.contact-map-card iframe {
  width: 100%;
  height: 250px;
  border: none;
  display: block;
}

/* Contact Form */
.contact-form-card {
  padding: 36px;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-main);
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(10, 13, 24, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  color: var(--text-main);
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
  background: rgba(15, 19, 36, 0.8);
}

.form-select option {
  background: #0f1220;
  color: #ffffff;
}

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

.form-submit-btn {
  width: 100%;
  margin-top: 8px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-wrap {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-darker);
  margin-top: 80px;
  position: relative;
}

.footer-content {
  padding: 70px 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.925rem;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.6;
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 20px;
}

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

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--text-main);
  transform: translateX(4px);
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.social-btn:hover {
  color: #ffffff;
  border-color: var(--gold-bright);
  background: rgba(245, 158, 11, 0.15);
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-subtle);
}

/* ==========================================================================
   PORTFOLIO LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 10, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-dialog {
  max-width: 900px;
  width: 100%;
  border-radius: var(--radius-xl);
  background: var(--bg-surface-strong);
  border: 1px solid var(--border-glass);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  position: relative;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-dialog {
  transform: scale(1);
}

.lightbox-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 13, 24, 0.8);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--primary);
  transform: rotate(90deg);
}

.lightbox-media-wrap {
  max-height: 60vh;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-media-wrap img {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
}

.lightbox-content {
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lightbox-info {
  display: flex;
  flex-direction: column;
}

.lightbox-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.lightbox-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 4px;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(22, 28, 48, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--accent-teal);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(20, 184, 166, 0.4);
  padding: 16px 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-weight: 600;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-container.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-teal);
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (FAB)
   ========================================================================== */
.fab-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fab-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition-bounce);
  position: relative;
  text-decoration: none;
}

.fab-btn:hover {
  transform: scale(1.12);
}

.fab-telegram {
  background: linear-gradient(135deg, #229ed9, #0088cc);
  box-shadow: 0 8px 25px rgba(0, 136, 204, 0.5);
}

.fab-call {
  background: var(--grad-brand);
  box-shadow: var(--shadow-primary-glow);
}

.fab-tooltip {
  position: absolute;
  right: 64px;
  background: rgba(12, 15, 26, 0.95);
  border: 1px solid var(--border-glass);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateX(10px);
}

.fab-btn:hover .fab-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }

  .hero-description {
    margin: 0 auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

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

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

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

  .process-arrow {
    display: none;
  }

  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 550px;
    margin: 0 auto;
  }

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

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

@media (max-width: 768px) {
  .header-nav {
    padding: 10px 0;
  }

  .nav-container {
    padding: 8px 14px;
    border-radius: 16px;
  }

  .brand-logo {
    gap: 8px;
  }

  .brand-icon-box {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-tag {
    display: none;
  }

  .nav-links,
  .nav-cta-btn {
    display: none;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .lang-switcher {
    display: none; /* Accessible in the mobile drawer */
  }

  .mobile-toggle {
    display: flex;
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .theme-toggle-btn {
    width: 38px;
    height: 38px;
  }

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

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

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

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .floating-badge {
    display: none;
  }

  .lightbox-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ==========================================================================
   LANGUAGE SWITCHER & MULTI-LANGUAGE TYPOGRAPHY
   ========================================================================== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 9999px;
  padding: 3px 4px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  user-select: none;
}

.lang-btn:hover {
  color: #fff;
}

.lang-btn.active {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 2px 10px rgba(123, 53, 200, 0.45);
}

/* English Typography Refinements */
html[lang="en"] body {
  font-family: var(--font-body), sans-serif;
}

html[lang="en"] .font-khmer {
  font-family: var(--font-body), sans-serif !important;
}

html[lang="en"] .hero-title {
  line-height: 1.12;
}

html[lang="en"] .hero-highlight,
html[lang="en"] .kh-highlight {
  font-family: var(--font-display) !important;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   WHITE THEME (LIGHT MODE) DESIGN SYSTEM
   Modern Luxury Crisp Light Aesthetic with Finales Brand Purple & Gold Accents
   ========================================================================== */
html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="light"],
[data-theme="light"] {
  --bg-dark: #f8fafc;         /* Premium crisp soft white background */
  --bg-darker: #f1f5f9;       /* Slate-100 */
  --bg-surface: rgba(255, 255, 255, 0.88);
  --bg-surface-strong: rgba(255, 255, 255, 0.96);
  --bg-surface-elevated: #ffffff;

  --text-main: #0f172a;       /* Deep slate-900 for high readability */
  --text-muted: #475569;      /* Slate-600 */
  --text-subtle: #64748b;     /* Slate-500 */

  --border-subtle: rgba(123, 53, 200, 0.12);
  --border-glass:  rgba(123, 53, 200, 0.18);
  --border-active: rgba(245, 158, 11, 0.6);

  --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.8) 100%);
  --grad-dark-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);

  --shadow-sm: 0 4px 16px rgba(53, 20, 88, 0.05);
  --shadow-md: 0 10px 30px -8px rgba(53, 20, 88, 0.09);
  --shadow-lg: 0 20px 48px -12px rgba(53, 20, 88, 0.14);
  --shadow-primary-glow: 0 10px 28px -5px rgba(123, 53, 200, 0.28);
  --shadow-gold-glow: 0 10px 28px -5px rgba(245, 158, 11, 0.25);
  --shadow-brand-glow: 0 8px 24px -6px rgba(53, 20, 88, 0.15);
}

/* Light Mode Base Overrides */
html[data-theme="light"] body {
  background-color: var(--bg-dark);
  color: var(--text-main);
}

html[data-theme="light"] ::-webkit-scrollbar-track {
  background: #f1f5f9;
}
html[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: rgba(123, 53, 200, 0.25);
  border: 2px solid #f1f5f9;
}
html[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Soften aurora orbs in light theme for an ethereal pastel backdrop */
html[data-theme="light"] .aurora-orb {
  opacity: 0.18;
  filter: blur(100px);
}

/* Navbar in light mode */
html[data-theme="light"] .nav-container {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(123, 53, 200, 0.16);
  box-shadow: 0 8px 30px rgba(53, 20, 88, 0.08);
}
html[data-theme="light"] .header-nav.scrolled .nav-container {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 35px rgba(53, 20, 88, 0.12);
  border-color: rgba(123, 53, 200, 0.25);
}

/* Mobile drawer in light mode */
html[data-theme="light"] .mobile-drawer {
  background: #ffffff;
  border-left-color: rgba(123, 53, 200, 0.12);
  box-shadow: -10px 0 45px rgba(53, 20, 88, 0.08);
}
html[data-theme="light"] .drawer-header {
  border-bottom-color: rgba(123, 53, 200, 0.1);
}
html[data-theme="light"] .drawer-close {
  background: rgba(123, 53, 200, 0.05);
  border-color: rgba(123, 53, 200, 0.14);
  color: #475569;
}
html[data-theme="light"] .drawer-link {
  background: #f8fafc;
  border-color: rgba(123, 53, 200, 0.08);
  color: #1e293b;
}
html[data-theme="light"] .drawer-link::after {
  color: #94a3b8;
}
html[data-theme="light"] .drawer-link:hover,
html[data-theme="light"] .drawer-link.active {
  background: rgba(123, 53, 200, 0.09);
  border-color: rgba(123, 53, 200, 0.25);
  color: var(--primary);
}
html[data-theme="light"] .drawer-link:hover::after,
html[data-theme="light"] .drawer-link.active::after {
  color: var(--primary);
}
html[data-theme="light"] .mobile-toggle {
  color: #0f172a;
  border-color: rgba(123, 53, 200, 0.2);
}
html[data-theme="light"] .mobile-toggle:hover {
  background: rgba(123, 53, 200, 0.08);
}

/* Cards & Glass Surfaces in light mode */
html[data-theme="light"] .glass,
html[data-theme="light"] .glass-strong,
html[data-theme="light"] .glass-card,
html[data-theme="light"] .feature-card,
html[data-theme="light"] .service-card,
html[data-theme="light"] .package-card,
html[data-theme="light"] .testimonial-card,
html[data-theme="light"] .contact-form-card,
html[data-theme="light"] .contact-card,
html[data-theme="light"] .process-card {
  background: #ffffff;
  border-color: rgba(123, 53, 200, 0.12);
  box-shadow: 0 8px 30px rgba(53, 20, 88, 0.05);
}

html[data-theme="light"] .glass-card:hover,
html[data-theme="light"] .service-card:hover,
html[data-theme="light"] .portfolio-card:hover,
html[data-theme="light"] .feature-card:hover {
  border-color: rgba(123, 53, 200, 0.35);
  box-shadow: 0 16px 40px rgba(53, 20, 88, 0.1), 0 0 25px rgba(123, 53, 200, 0.08);
}

/* Text & list colors in light mode */
html[data-theme="light"] .service-list li,
html[data-theme="light"] .package-features li,
html[data-theme="light"] .testimonial-text {
  color: #475569;
}

/* Pricing cards in light mode */
html[data-theme="light"] .package-price-row .amount {
  color: #0f172a;
  text-shadow: none;
}
html[data-theme="light"] .package-price-box {
  background: rgba(245, 158, 11, 0.08);
}
html[data-theme="light"] .package-price-tag {
  background: rgba(123, 53, 200, 0.05);
  border-color: rgba(123, 53, 200, 0.15);
  color: var(--brand-mid);
}
html[data-theme="light"] .package-card.featured {
  background: linear-gradient(145deg, #ffffff 0%, #faf5ff 100%);
  border-color: rgba(192, 38, 211, 0.45);
  box-shadow: 0 16px 45px rgba(192, 38, 211, 0.14);
}

/* Buttons in light mode */
html[data-theme="light"] .btn-outline-gold {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(217, 119, 6, 0.6);
  color: #b45309;
}
html[data-theme="light"] .btn-outline-gold:hover {
  background: rgba(245, 158, 11, 0.18);
  color: #92400e;
  border-color: #b45309;
}
html[data-theme="light"] .btn-ghost {
  background: rgba(123, 53, 200, 0.05);
  color: #0f172a;
  border-color: rgba(123, 53, 200, 0.15);
}
html[data-theme="light"] .btn-ghost:hover {
  background: rgba(123, 53, 200, 0.12);
  border-color: rgba(123, 53, 200, 0.3);
}

/* Contact form in light mode */
html[data-theme="light"] .form-input,
html[data-theme="light"] .form-select,
html[data-theme="light"] .form-textarea {
  background: #ffffff;
  border: 1px solid rgba(123, 53, 200, 0.2);
  color: #0f172a;
}
html[data-theme="light"] .form-input::placeholder,
html[data-theme="light"] .form-textarea::placeholder {
  color: #94a3b8;
}
html[data-theme="light"] .form-label {
  color: #1e293b;
}
html[data-theme="light"] .form-select option {
  background: #ffffff;
  color: #0f172a;
}
html[data-theme="light"] .form-input:focus,
html[data-theme="light"] .form-select:focus,
html[data-theme="light"] .form-textarea:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(123, 53, 200, 0.18);
}

/* Portfolio in light mode */
html[data-theme="light"] .portfolio-card {
  background: #ffffff;
  border-color: rgba(123, 53, 200, 0.12);
  box-shadow: 0 8px 30px rgba(53, 20, 88, 0.06);
}
html[data-theme="light"] .portfolio-card:hover {
  border-color: rgba(123, 53, 200, 0.38);
  box-shadow: 0 16px 40px rgba(53, 20, 88, 0.12), 0 0 25px rgba(123, 53, 200, 0.08);
}
html[data-theme="light"] .portfolio-overlay {
  background: linear-gradient(180deg, rgba(16, 7, 32, 0.06) 0%, rgba(16, 7, 32, 0.58) 35%, rgba(14, 5, 28, 0.92) 70%, rgba(8, 3, 18, 0.98) 100%);
}
html[data-theme="light"] .portfolio-card:hover .portfolio-overlay {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
html[data-theme="light"] .portfolio-tag {
  background: rgba(245, 158, 11, 0.28);
  border-color: rgba(251, 191, 36, 0.75);
  color: #fef08a; /* High luminance luminous warm gold */
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}
html[data-theme="light"] .portfolio-card:hover .portfolio-tag {
  background: rgba(245, 158, 11, 0.4);
  border-color: #fbbf24;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.45);
}
html[data-theme="light"] .portfolio-card-title {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
html[data-theme="light"] .portfolio-zoom-icon {
  background: rgba(16, 7, 32, 0.75);
  border-color: rgba(251, 191, 36, 0.45);
  color: #fbbf24;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}
html[data-theme="light"] .filter-btn {
  color: #475569;
  background: #ffffff;
  border-color: rgba(123, 53, 200, 0.16);
  box-shadow: 0 2px 8px rgba(53, 20, 88, 0.04);
}
html[data-theme="light"] .filter-btn:hover {
  color: #0f172a;
  border-color: rgba(123, 53, 200, 0.35);
}
html[data-theme="light"] .filter-btn.active {
  background: var(--grad-brand);
  color: #ffffff;
  border-color: transparent;
}

/* Lightbox in light mode */
html[data-theme="light"] .lightbox-content {
  background: #ffffff;
}
html[data-theme="light"] .lightbox-title {
  color: #0f172a;
}
html[data-theme="light"] .lightbox-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(217, 119, 6, 0.35);
  color: #b45309; /* Deep, clear amber gold with high contrast on white */
  font-weight: 750;
  margin-bottom: 8px;
}
html[data-theme="light"] .footer-title {
  color: var(--brand-mid);
}
html[data-theme="light"] .theme-toggle-btn:hover {
  color: var(--primary);
  background: rgba(123, 53, 200, 0.12);
  border-color: rgba(123, 53, 200, 0.35);
}

/* FAB tooltip in light mode */
html[data-theme="light"] .fab-tooltip {
  background: #ffffff;
  border-color: rgba(123, 53, 200, 0.2);
  color: #0f172a;
  box-shadow: 0 4px 20px rgba(53, 20, 88, 0.12);
}

/* Footer in light mode */
html[data-theme="light"] .footer-wrap {
  background: #ffffff;
  border-top-color: rgba(123, 53, 200, 0.12);
}
html[data-theme="light"] .social-btn {
  background: #f8fafc;
  border-color: rgba(123, 53, 200, 0.15);
  color: #475569;
}
html[data-theme="light"] .social-btn:hover {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border-color: var(--gold);
}

/* Language switcher in light mode */
html[data-theme="light"] .lang-switcher {
  background: rgba(123, 53, 200, 0.06);
  border-color: rgba(123, 53, 200, 0.18);
}
html[data-theme="light"] .lang-btn {
  color: #475569;
}
html[data-theme="light"] .lang-btn:hover {
  color: #0f172a;
}

/* ==========================================================================
   THEME TOGGLE BUTTON STYLES
   ========================================================================== */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.22);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  position: relative;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: rgba(168, 85, 247, 0.18);
  color: var(--gold-bright);
  transform: rotate(15deg) scale(1.05);
}

/* In dark mode, show sun icon (click to switch to white/light mode) */
.theme-toggle-btn .sun-icon {
  display: block;
}
.theme-toggle-btn .moon-icon {
  display: none;
}

/* In light mode, show moon icon (click to switch to dark mode) */
html[data-theme="light"] .theme-toggle-btn {
  background: rgba(123, 53, 200, 0.06);
  border-color: rgba(123, 53, 200, 0.18);
  color: var(--primary);
}
html[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(123, 53, 200, 0.14);
  color: var(--brand);
}
html[data-theme="light"] .theme-toggle-btn .sun-icon {
  display: none;
}
html[data-theme="light"] .theme-toggle-btn .moon-icon {
  display: block;
}

