/* ==========================================================================
   MYLIVE SOLUTION - Custom Luxury & Modern Luminous Stylesheet
   Theme Version: 3.0 (Luminous Midnight & Crystal Glassmorphism)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@300;400;500;600;700;800;900&family=Noto+Sans+Thai:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --font-en: 'Noto Sans Thai', 'Noto Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-th: 'Noto Sans Thai', 'Noto Sans', sans-serif;
  
  /* Luminous Midnight Palette (Bright, Deep, Multi-Dimensional) */
  --bg-dark: #080d1a;
  --bg-surface: #0f172a;
  --bg-surface-elevated: #1e293b;
  
  /* Crystal Glassmorphism Card System */
  --bg-card: rgba(19, 30, 54, 0.65);
  --bg-card-hover: rgba(30, 47, 84, 0.82);
  --bg-card-glass: rgba(255, 255, 255, 0.05);
  
  /* Border & Prismatic Glows */
  --border-color: rgba(255, 255, 255, 0.12);
  --border-color-subtle: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(0, 242, 254, 0.45);
  --border-glow-gold: rgba(245, 158, 11, 0.45);
  
  /* Signature Brand Accents */
  --primary: #00f2fe;
  --primary-bright: #38bdf8;
  --secondary: #4facfe;
  --accent: #c084fc;
  --gold: #fbbf24;
  
  /* High-Contrast Luminous Typography */
  --text-main: #ffffff;
  --text-body: #e2e8f0;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  
  /* Premium Gradients */
  --gradient-brand: linear-gradient(135deg, #ffffff 0%, #38bdf8 45%, #00f2fe 75%, #818cf8 100%);
  --gradient-gold: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #d97706 100%);
  --gradient-glow: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, transparent 70%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  font-family: var(--font-th);
}

body {
  font-family: var(--font-th);
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(at 10% 10%, rgba(56, 189, 248, 0.12) 0px, transparent 50%),
    radial-gradient(at 90% 20%, rgba(139, 92, 246, 0.11) 0px, transparent 50%),
    radial-gradient(at 50% 60%, rgba(14, 165, 233, 0.08) 0px, transparent 60%),
    radial-gradient(at 80% 90%, rgba(245, 158, 11, 0.06) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

button, input, select, textarea {
  font-family: inherit;
}

/* Background Cyber Grid & Ambient Lights */
.bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Elegant Tech Grid Overlay */
.bg-ambient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 50px 50px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 80%);
}

.ambient-circle-1 {
  position: absolute;
  top: -15%;
  left: -10%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.16) 0%, rgba(56, 189, 248, 0.06) 45%, transparent 75%);
  filter: blur(100px);
  animation: floatAmbient 22s ease-in-out infinite alternate;
}

.ambient-circle-2 {
  position: absolute;
  top: 35%;
  right: -15%;
  width: 65vw;
  height: 65vw;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.14) 0%, rgba(99, 102, 241, 0.05) 50%, transparent 75%);
  filter: blur(110px);
  animation: floatAmbient 26s ease-in-out infinite alternate-reverse;
}

.ambient-circle-3 {
  position: absolute;
  bottom: -20%;
  left: 20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.13) 0%, transparent 70%);
  filter: blur(120px);
}

@keyframes floatAmbient {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4%, 3%) scale(1.06); }
  100% { transform: translate(-3%, 5%) scale(0.96); }
}

.site-wrapper {
  position: relative;
  z-index: 1;
}

/* Container */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-en), var(--font-th);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.015em;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 40%, #00f2fe 80%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 35px rgba(56, 189, 248, 0.4);
}

.gradient-gold-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Section Common */
.section {
  padding: 6.5rem 0;
  position: relative;
}
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.75rem;
  position: relative;
}
.section-subtitle {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.85rem;
  display: inline-block;
  background: rgba(0, 242, 254, 0.08);
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 242, 254, 0.2);
}
.section-title {
  font-size: 2.5rem;
  letter-spacing: -0.025em;
  margin-bottom: 1.15rem;
  font-weight: 800;
}
.section-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-th);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.85rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 50%, #4facfe 100%);
  color: #030712;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35), 0 0 25px rgba(0, 242, 254, 0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 242, 254, 0.55), 0 0 40px rgba(0, 242, 254, 0.3);
  filter: brightness(1.08);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.25);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.35rem 0;
  transition: all 0.35s ease;
}
.site-header.scrolled {
  padding: 0.85rem 0;
  background: rgba(8, 13, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}
.brand-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.brand-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.brand-title span {
  color: var(--primary);
  text-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.15rem;
  list-style: none;
}
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.25s, text-shadow 0.25s;
  position: relative;
}
.nav-link:hover {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  transition: width 0.25s;
}
.nav-link:hover::after {
  width: 100%;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher Capsule */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  padding: 2px 4px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  gap: 2px;
  transition: all 0.25s ease;
}
.lang-switcher:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
}
.lang-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-family: var(--font-th);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1.2;
}
.lang-btn:hover {
  color: #ffffff;
}
.lang-btn.active {
  color: #030712;
  background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 100%);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 242, 254, 0.4);
}
.lang-divider {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.72rem;
  user-select: none;
  padding: 0 1px;
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section (Atmospheric Live Stage Atmosphere)
   ========================================================================== */
.hero-section {
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  position: relative;
  text-align: center;
  overflow: hidden;
}

/* Hero Stage Background Atmosphere (RoV Pro League Summer Live Stage) */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to bottom, rgba(8, 13, 26, 0.7) 0%, rgba(8, 13, 26, 0.78) 50%, var(--bg-dark) 100%),
    radial-gradient(ellipse at 50% 30%, rgba(0, 242, 254, 0.18) 0%, transparent 65%),
    url('/content/images/portfolio/rov-pro-league-2021-summer/IMG_20210404_143839-1024x490.jpg');
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  filter: blur(8px);
  transform: scale(1.08);
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 0.5rem 1.35rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.85rem;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.2), inset 0 0 12px rgba(56, 189, 248, 0.15);
  backdrop-filter: blur(10px);
}
.hero-badge i {
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary);
}

.hero-title {
  font-size: 3.9rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  max-width: 980px;
  margin: 0 auto 1.75rem;
  line-height: 1.15;
  color: #ffffff;
}

.hero-desc {
  font-size: 1.25rem;
  color: #cbd5e1;
  max-width: 780px;
  margin: 0 auto 2.75rem;
  line-height: 1.8;
  font-weight: 400;
}

/* Floating Feature Highlights under Hero Description */
.hero-highlights {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.25rem;
}
.hero-highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  padding: 0.45rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: #f1f5f9;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.hero-highlight-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.25);
}
.hero-highlight-pill i {
  color: var(--primary);
}

/* ==========================================================================
   Hero Action Buttons - Super Striking & High-Impact
   ========================================================================== */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.85rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

/* Primary Hero Button */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.15rem 2.6rem 1.15rem 1.85rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 50%, #4facfe 100%);
  color: #030712;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 242, 254, 0.48), 0 0 65px rgba(0, 242, 254, 0.28);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.btn-hero-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-25deg);
  transition: 0.75s ease;
}

.btn-hero-primary:hover::before {
  left: 150%;
}

.btn-hero-primary:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 22px 55px rgba(0, 242, 254, 0.68), 0 0 90px rgba(0, 242, 254, 0.45);
  filter: brightness(1.08);
}

.btn-hero-primary .consult-icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(3, 7, 18, 0.25);
  color: #030712;
  font-size: 1.4rem;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.35s ease;
  flex-shrink: 0;
}

.btn-hero-primary:hover .consult-icon-badge {
  transform: rotate(12deg) scale(1.12);
  background: #030712;
  color: #00f2fe;
  box-shadow: 0 0 22px rgba(0, 242, 254, 0.7);
  border-color: #00f2fe;
}

/* Secondary Hero Button */
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.15rem 2.4rem 1.15rem 1.85rem;
  border-radius: 9999px;
  background: rgba(30, 41, 68, 0.75);
  color: #ffffff;
  text-decoration: none;
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-hero-secondary:hover {
  transform: translateY(-5px) scale(1.03);
  background: rgba(40, 56, 92, 0.9);
  border-color: var(--primary);
  box-shadow: 0 18px 45px rgba(0, 242, 254, 0.4), 0 0 45px rgba(0, 242, 254, 0.25);
}

.btn-hero-secondary .gallery-icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.15);
  color: var(--primary);
  font-size: 1.3rem;
  border: 1px solid rgba(0, 242, 254, 0.4);
  transition: all 0.35s ease;
  flex-shrink: 0;
}

.btn-hero-secondary:hover .gallery-icon-badge {
  background: var(--primary);
  color: #030712;
  transform: scale(1.12);
  box-shadow: 0 0 22px rgba(0, 242, 254, 0.7);
}

/* Button Typography Hierarchy */
.btn-label-group {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.25;
}

.btn-hero-primary .btn-label-main {
  font-size: 1.18rem;
  font-weight: 800;
  color: #030712;
  letter-spacing: -0.01em;
}

.btn-hero-primary .btn-label-sub {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(3, 7, 18, 0.8);
}

.btn-hero-secondary .btn-label-main {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}

.btn-hero-secondary:hover .btn-label-main {
  color: var(--primary);
}

.btn-hero-secondary .btn-label-sub {
  font-size: 0.8rem;
  font-weight: 500;
  color: #cbd5e1;
}

.btn-arrow {
  font-size: 1.05rem;
  transition: transform 0.3s ease;
}

.btn-hero-primary:hover .btn-arrow {
  transform: translateX(5px);
}

.btn-hero-secondary:hover .btn-arrow {
  transform: translateY(4px);
}

/* ==========================================================================
   Trusted Partners Marquee Slider (Smooth Right to Left - 2.5x Enlarge)
   ========================================================================== */
.partners-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(20, 31, 56, 0.65) 50%, rgba(15, 23, 42, 0.5) 100%);
  position: relative;
  overflow: hidden;
}
.partners-title {
  text-align: center;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 3rem;
  text-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}
.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 7%, black 93%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 7%, black 93%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 4rem;
  animation: marquee-move 40s linear infinite;
}
.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee-move {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: 2rem 3rem;
  height: 150px;
  min-width: 320px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.partner-logo-item:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--border-glow);
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 18px 45px rgba(0, 242, 254, 0.25);
}
.partner-logo-item img {
  max-height: 110px;
  max-width: 250px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(1.05);
  transition: all 0.3s;
}
.partner-logo-item:hover img {
  filter: brightness(1.2);
  transform: scale(1.05);
}

/* ==========================================================================
   Stats / Counters Section (Crystal Glassmorphism)
   ========================================================================== */
.stats-section {
  padding: 3.5rem 0 1.25rem 0;
  position: relative;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.stat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.35rem;
  border-radius: 20px;
  background: rgba(56, 189, 248, 0.12);
  border: 1.5px solid rgba(56, 189, 248, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), inset 0 0 12px rgba(56, 189, 248, 0.15);
}

.stat-card:hover .stat-icon {
  background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 100%);
  color: #030712;
  transform: translateY(-5px) scale(1.12);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.7);
  border-color: #ffffff;
}

.stat-card {
  background: linear-gradient(145deg, rgba(25, 38, 68, 0.7) 0%, rgba(15, 23, 42, 0.6) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 2.5rem 1.75rem;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.stat-card:hover {
  border-color: rgba(56, 189, 248, 0.6);
  transform: translateY(-6px);
  background: linear-gradient(145deg, rgba(35, 52, 94, 0.85) 0%, rgba(20, 32, 58, 0.75) 100%);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 0 30px rgba(56, 189, 248, 0.2);
}
.stat-number {
  font-family: var(--font-en);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.65rem;
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 60%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 25px rgba(56, 189, 248, 0.35);
}
.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Services Section (What We Do)
   ========================================================================== */
#services {
  padding-top: 3.5rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}
.service-card {
  background: linear-gradient(145deg, rgba(25, 38, 68, 0.7) 0%, rgba(15, 23, 42, 0.65) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  padding: 2.75rem 2.25rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}
.service-card:hover {
  border-color: rgba(56, 189, 248, 0.6);
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4), 0 0 35px rgba(56, 189, 248, 0.2);
  background: linear-gradient(145deg, rgba(35, 52, 94, 0.85) 0%, rgba(20, 32, 60, 0.75) 100%);
}
.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 1.85rem;
  background: rgba(56, 189, 248, 0.14);
  color: var(--primary);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
.service-title {
  font-size: 1.55rem;
  margin-bottom: 1.05rem;
  color: #ffffff;
  font-weight: 700;
}
.service-desc {
  font-size: 1.02rem;
  color: #cbd5e1;
  margin-bottom: 1.85rem;
  line-height: 1.7;
  flex-grow: 1;
}
.service-features {
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.35rem;
}
.service-features li {
  font-size: 0.94rem;
  color: #f1f5f9;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.service-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 800;
  font-size: 1rem;
}

/* ==========================================================================
   Process Section (How We Work - Connected Interactive Roadmap)
   ========================================================================== */
.process-roadmap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 0;
}

/* Vertical glowing connection line */
.roadmap-track-line {
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 36px;
  width: 3px;
  background: linear-gradient(180deg, #00f2fe 0%, #38bdf8 50%, #818cf8 100%);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.6);
  border-radius: 2px;
  z-index: 1;
}

.roadmap-item {
  display: flex;
  align-items: flex-start;
  gap: 2.25rem;
  position: relative;
  z-index: 2;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Node with Pulse & Icon */
.roadmap-node {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(20, 32, 60, 0.95) 0%, rgba(10, 18, 36, 0.95) 100%);
  border: 2px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(56, 189, 248, 0.15);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.node-number {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 100%);
  color: #030712;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(0, 242, 254, 0.5);
}

.node-icon {
  font-size: 1.65rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

.node-pulse {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 28px;
  border: 1px solid rgba(0, 242, 254, 0.3);
  animation: pulseNode 3s infinite;
  pointer-events: none;
}

@keyframes pulseNode {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

.roadmap-item:hover .roadmap-node {
  border-color: #ffffff;
  transform: scale(1.06);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.6);
  background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 100%);
}

.roadmap-item:hover .node-icon {
  color: #030712;
  transform: scale(1.1);
}

/* Roadmap Content Card */
.roadmap-content {
  flex-grow: 1;
  background: linear-gradient(145deg, rgba(25, 38, 68, 0.7) 0%, rgba(15, 23, 42, 0.65) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  padding: 2.25rem 2.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.roadmap-item:hover .roadmap-content {
  border-color: rgba(56, 189, 248, 0.6);
  transform: translateX(8px);
  background: linear-gradient(145deg, rgba(35, 52, 94, 0.85) 0%, rgba(20, 32, 60, 0.75) 100%);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), 0 0 30px rgba(56, 189, 248, 0.2);
}

.roadmap-meta {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.roadmap-title {
  font-size: 1.55rem;
  margin-bottom: 0.85rem;
  color: #ffffff;
  font-weight: 700;
}

.roadmap-desc {
  font-size: 1.02rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 1.35rem;
}

.roadmap-pills {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.roadmap-pills span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  color: #e2e8f0;
  font-weight: 500;
  transition: all 0.25s ease;
}

.roadmap-pills span i {
  color: var(--primary);
  font-size: 0.75rem;
}

.roadmap-item:hover .roadmap-pills span {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
  color: #ffffff;
}

/* ==========================================================================
   Portfolio / Work Showcase Grid & Lightbox
   ========================================================================== */
.portfolio-filter-sticky-wrapper {
  position: relative;
  width: 100%;
  z-index: 40;
  margin-bottom: 3.25rem;
}
.portfolio-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.filter-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #cbd5e1;
  padding: 0.65rem 1.45rem;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-th);
  backdrop-filter: blur(8px);
}
.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 100%);
  color: #030712;
  border-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.4);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  margin-bottom: 3.75rem;
}
.portfolio-card {
  background: linear-gradient(145deg, rgba(25, 38, 68, 0.75) 0%, rgba(15, 23, 42, 0.65) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}
.portfolio-card:hover {
  border-color: rgba(56, 189, 248, 0.65);
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(56, 189, 248, 0.25);
}
.portfolio-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}
.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.07);
}
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(8, 13, 26, 0.92) 0%, rgba(8, 13, 26, 0.4) 60%, transparent 100%);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  transition: opacity 0.3s ease;
}
.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}
.overlay-btn {
  padding: 0.75rem 1.3rem;
  font-size: 0.88rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.25s;
}
.overlay-btn-gallery {
  background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 100%);
  color: #030712;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.4);
}
.overlay-btn-gallery:hover {
  filter: brightness(1.15);
  transform: scale(1.05);
}
.overlay-btn-post {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.overlay-btn-post:hover {
  background: #ffffff;
  color: #030712;
  transform: scale(1.05);
}

.portfolio-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.portfolio-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
.portfolio-category {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
}
.portfolio-count {
  font-size: 0.82rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.portfolio-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: #ffffff;
}
.portfolio-excerpt {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 1.35rem;
  flex-grow: 1;
}
.portfolio-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: gap 0.25s, color 0.25s;
}
.portfolio-link:hover {
  gap: 0.75rem;
  color: #ffffff;
}

/* ==========================================================================
   Interactive Lightbox Modal
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 10, 20, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox-modal.active {
  display: flex;
}
.lightbox-content {
  position: relative;
  max-width: 1100px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lightbox-img-wrapper {
  max-height: 72vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.lightbox-img-wrapper img {
  max-height: 72vh;
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85);
  object-fit: contain;
  transition: opacity 0.25s ease;
}
.lightbox-info {
  text-align: center;
  width: 100%;
}
.lightbox-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}
.lightbox-counter {
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 600;
}
.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lightbox-btn:hover {
  background: var(--primary);
  color: #030712;
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.6);
}
.lightbox-prev { left: -80px; }
.lightbox-next { right: -80px; }
.lightbox-close {
  position: absolute;
  top: -55px;
  right: -10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s;
}
.lightbox-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: rotate(90deg);
}

/* ==========================================================================
   Testimonials Section (What Our Clients Say)
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}
.testimonial-card {
  background: linear-gradient(145deg, rgba(25, 38, 68, 0.7) 0%, rgba(15, 23, 42, 0.65) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}
.testimonial-card:hover {
  border-color: rgba(56, 189, 248, 0.6);
  transform: translateY(-6px);
  background: linear-gradient(145deg, rgba(35, 52, 94, 0.85) 0%, rgba(20, 32, 60, 0.75) 100%);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 0 30px rgba(56, 189, 248, 0.2);
}
.testimonial-stars {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 1.35rem;
  display: flex;
  gap: 0.3rem;
  text-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}
.testimonial-quote-th {
  font-size: 1.02rem;
  color: #ffffff;
  line-height: 1.75;
  margin-bottom: 1.1rem;
  font-weight: 500;
}
.testimonial-quote-en {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1.85rem;
  flex-grow: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.35rem;
}
.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #030712;
  font-size: 1.15rem;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.35);
}
.author-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}
.author-title {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* ==========================================================================
   Call To Action Banner (Let's Build Something Remarkable)
   ========================================================================== */
.cta-section {
  padding: 6.5rem 0 4.5rem;
  position: relative;
  text-align: center;
}
.cta-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  text-align: center;
  position: relative;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.cta-card::before {
  display: none;
}
.cta-title {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 1.15rem;
  position: relative;
  color: #ffffff;
  letter-spacing: -0.015em;
}
.cta-desc {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 700px;
  margin: 0 auto 2.75rem;
  position: relative;
  line-height: 1.8;
}
.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  position: relative;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #050811;
  border-top: 1px solid var(--border-color);
  padding: 5.5rem 0 2.75rem;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.75rem;
}
.footer-about p {
  color: #94a3b8;
  font-size: 0.98rem;
  margin-top: 1.15rem;
  max-width: 360px;
  line-height: 1.75;
}
.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.35rem;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.85rem;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.25s;
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #64748b;
  font-size: 0.92rem;
}

/* ==========================================================================
   Single Post / Project Page Styling
   ========================================================================== */
.post-header {
  padding-top: 8.5rem;
  padding-bottom: 3.5rem;
  text-align: center;
}
.post-tag {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 1.15rem;
  background: rgba(56, 189, 248, 0.12);
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  border: 1px solid rgba(56, 189, 248, 0.25);
}
.post-title {
  font-size: 3.2rem;
  font-weight: 800;
  max-width: 950px;
  margin: 0 auto 1.65rem;
  color: #ffffff;
}
.post-date {
  color: #94a3b8;
  font-size: 0.98rem;
}
.post-featured-image {
  max-width: 1040px;
  margin: 0 auto 3.5rem;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}
.post-content-wrap {
  max-width: 1040px;
  margin: 0 auto;
}
.project-summary-box {
  background: linear-gradient(145deg, rgba(25, 38, 68, 0.75) 0%, rgba(15, 23, 42, 0.65) 100%);
  border-left: 4px solid var(--primary);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.75rem 2.25rem;
  border-radius: 0 20px 20px 0;
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 3.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.25rem;
}
.gallery-header h3 {
  font-size: 1.9rem;
}
.gallery-header .badge {
  background: rgba(56, 189, 248, 0.15);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.project-photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 4.5rem;
}
.photo-card {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}
.photo-card:hover {
  transform: scale(1.04);
  border-color: var(--primary);
  box-shadow: 0 15px 35px rgba(0, 242, 254, 0.3);
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
/* ==========================================================================
   Responsive Breakpoints & High-Style Compact Mobile Design
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 3.2rem; }
  .services-grid, .portfolio-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .stats-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 1.25rem;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

@media (max-width: 768px) {
  /* Compact Global Spacing */
  .section {
    padding: 3.75rem 0;
  }
  .section-header {
    margin-bottom: 2.25rem;
  }
  .section-title {
    font-size: 1.85rem;
    margin-bottom: 0.75rem;
  }
  .section-desc {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .container {
    padding: 0 1.15rem;
  }

  /* Compact Navbar */
  .site-header {
    padding: 0.85rem 0;
  }
  .site-header.scrolled {
    padding: 0.65rem 0;
  }
  .brand-logo img {
    height: 36px;
  }
  .brand-title {
    font-size: 1.15rem;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(8, 13, 26, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    gap: 1.25rem;
  }
  .nav-menu.mobile-open {
    display: flex;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 1.15rem;
  }
  .nav-cta .btn,
  .nav-btn-consult {
    display: none !important;
  }

  /* Compact Hero Section */
  .hero-section {
    padding-top: 6.75rem;
    padding-bottom: 3.5rem;
  }
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.95rem;
    margin-bottom: 1.2rem;
  }
  .hero-title {
    font-size: 2.15rem;
    line-height: 1.2;
    margin-bottom: 1.1rem;
    letter-spacing: -0.02em;
  }
  .hero-desc {
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
  }

  /* Compact Feature Badges */
  .hero-highlights {
    gap: 0.55rem;
    margin-bottom: 2rem;
  }
  .hero-highlight-pill {
    padding: 0.35rem 0.85rem;
    font-size: 0.76rem;
    gap: 0.4rem;
  }

  /* Compact Hero Action Buttons */
  .hero-actions {
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
    margin-bottom: 1.5rem;
  }
  .btn-hero-primary, .btn-hero-secondary {
    width: 100%;
    justify-content: flex-start;
    padding: 0.85rem 1.35rem;
    gap: 0.95rem;
  }
  .btn-hero-primary .consult-icon-badge,
  .btn-hero-secondary .gallery-icon-badge {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
  }
  .btn-hero-primary .btn-label-main,
  .btn-hero-secondary .btn-label-main {
    font-size: 1.02rem;
  }
  .btn-hero-primary .btn-label-sub,
  .btn-hero-secondary .btn-label-sub {
    font-size: 0.74rem;
  }
  .btn-arrow {
    margin-left: auto;
  }

  /* Compact Marquee Partners */
  .partners-section {
    padding: 2.75rem 0;
  }
  .partners-title {
    font-size: 0.82rem;
    letter-spacing: 0.15em;
    margin-bottom: 1.75rem;
  }
  .marquee-track {
    gap: 1.75rem;
  }
  .partner-logo-item {
    height: 90px;
    min-width: 200px;
    padding: 1rem 1.5rem;
    border-radius: 18px;
  }
  .partner-logo-item img {
    max-height: 65px;
    max-width: 150px;
  }

  /* Compact 2x2 Stats Grid (Instead of giant single column) */
  .stats-section {
    padding: 2rem 0 0.85rem 0;
  }
  #services {
    padding-top: 2rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .stat-card {
    padding: 1.4rem 1rem;
    border-radius: 18px;
  }
  .stat-icon {
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    border-radius: 14px;
  }
  .stat-number {
    font-size: 2.2rem;
    margin-bottom: 0.35rem;
  }
  .stat-label {
    font-size: 0.82rem;
  }

  /* Compact Services Section */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .service-card {
    padding: 1.75rem 1.5rem;
    border-radius: 20px;
  }
  .service-icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    margin-bottom: 1.15rem;
    border-radius: 14px;
  }
  .service-title {
    font-size: 1.28rem;
    margin-bottom: 0.65rem;
  }
  .service-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }

  /* Compact Connected Workflow Roadmap */
  .process-roadmap {
    gap: 1.15rem;
    padding: 0.5rem 0;
  }
  .roadmap-track-line {
    left: 20px;
    top: 25px;
    bottom: 25px;
  }
  .roadmap-item {
    gap: 0.95rem;
  }
  .roadmap-node {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
  .node-icon {
    font-size: 1.05rem;
  }
  .node-number {
    font-size: 0.6rem;
    padding: 0.12rem 0.38rem;
    top: -5px;
    right: -5px;
  }
  .roadmap-content {
    padding: 1.35rem 1.15rem;
    border-radius: 18px;
  }
  .roadmap-meta {
    font-size: 0.7rem;
    margin-bottom: 0.35rem;
  }
  .roadmap-title {
    font-size: 1.18rem;
    margin-bottom: 0.55rem;
  }
  .roadmap-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 0.95rem;
  }
  .roadmap-pills {
    gap: 0.45rem;
  }
  .roadmap-pills span {
    font-size: 0.74rem;
    padding: 0.25rem 0.65rem;
  }

  /* Compact Testimonials (Client Voices) */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  .testimonial-card {
    padding: 1.65rem 1.4rem;
    border-radius: 20px;
  }
  .testimonial-stars {
    font-size: 1rem;
    margin-bottom: 0.85rem;
  }
  .testimonial-quote-th {
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 0.75rem;
  }
  .testimonial-quote-en {
    font-size: 0.82rem;
    margin-bottom: 1.2rem;
  }
  .testimonial-author {
    padding-top: 1rem;
    gap: 0.85rem;
  }
  .author-avatar {
    width: 42px;
    height: 42px;
    font-size: 0.98rem;
  }
  .author-name {
    font-size: 0.95rem;
  }

  /* Sticky Mobile Portfolio Filter within #portfolio */
  .portfolio-filter-sticky-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 64px;
    left: 0;
    width: 100%;
    z-index: 50;
    margin: 0 0 1.75rem 0;
    padding: 1.15rem 0 0.75rem 0;
    background: rgba(8, 13, 26, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  }
  .portfolio-filter-sticky-wrapper .container {
    padding: 0 1.15rem;
  }
  .portfolio-filter {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    margin-bottom: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .portfolio-filter::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    padding: 0.48rem 1rem;
    font-size: 0.82rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    margin-bottom: 2.5rem;
  }
  .portfolio-card {
    border-radius: 20px;
  }
  .portfolio-body {
    padding: 1.35rem 1.15rem;
  }
  .portfolio-title {
    font-size: 1.15rem;
    margin-bottom: 0.55rem;
  }
  .portfolio-excerpt {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.1rem;
  }

  /* Compact Call to Action */
  .cta-section {
    padding: 4.5rem 0 3.5rem;
  }
  .cta-card {
    padding: 0;
    border-radius: 0;
  }
  .cta-title {
    font-size: 1.95rem;
    line-height: 1.25;
    margin-bottom: 0.85rem;
  }
  .cta-desc {
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 2rem;
  }
  .cta-buttons {
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
  }
  .cta-buttons .btn {
    width: 100%;
    padding: 0.85rem 1.5rem;
  }

  /* Compact Footer */
  .site-footer {
    padding: 3.5rem 0 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    font-size: 0.82rem;
  }
}

/* Extra Compact for Small Smartphones (< 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .stat-number {
    font-size: 1.9rem;
  }
  .stat-card {
    padding: 1.15rem 0.75rem;
  }
  .project-photos-grid {
    grid-template-columns: 1fr;
  }
}
