/* ==========================================================================
   Skywork Engineering — Design System & CSS Stylesheet
   CI Primary: #2B1C8B | Accent: #F87413 | Font: Noto Sans Thai
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Color Palette */
  --sw-primary:       #2B1C8B;
  --sw-primary-dark:  #241285;
  --sw-primary-deep:  #110746;
  --sw-primary-light: #EAE7FA;

  --sw-accent:        #F87413;
  --sw-accent-light:  #F88F08;
  --sw-accent-dark:   #E65100;

  --sw-text-primary:   #171717;
  --sw-text-secondary: #626676;

  --sw-bg:        #FFFFFF;
  --sw-bg-soft:   #F7F7FB;
  --sw-border:    #E4E5EB;

  --sw-success: #198754;
  --sw-error:   #C62828;
  --sw-warning: #B26A00;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(17, 7, 70, 0.05);
  --shadow-md: 0 8px 30px rgba(17, 7, 70, 0.08);
  --shadow-lg: 0 14px 40px rgba(17, 7, 70, 0.14);

  /* Radius */
  --radius-btn: 8px;
  --radius-input: 8px;
  --radius-card: 12px;
  --radius-img: 16px;
  --radius-pill: 99px;
  
  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  color: var(--sw-text-primary);
  background-color: var(--sw-bg);
  scroll-behavior: smooth;
}

body, button, input, select, textarea {
  font-family: 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  line-height: 1.75;
  overflow-x: hidden;
  padding-bottom: 70px; /* Space for mobile sticky contact bar */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

@media (max-width: 991px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Top Admin Preview Switcher */
.preview-bar {
  background: #0f172a;
  color: #f8fafc;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.preview-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.preview-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(248, 143, 8, 0.2);
  color: var(--sw-accent-light);
  border: 1px solid rgba(248, 143, 8, 0.4);
  padding: 2px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
}
.toggle-pending-btn {
  background: var(--sw-primary);
  color: #fff;
  border: none;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}
.toggle-pending-btn:hover {
  background: var(--sw-accent);
  color: #171717;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  height: 84px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.header.is-sticky {
  height: 70px;
  box-shadow: 0 4px 20px rgba(17, 7, 70, 0.1);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  height: 48px;
  width: auto;
  transition: var(--transition);
}
.header.is-sticky .brand-logo {
  height: 40px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-item {
  position: relative;
}
.nav-link {
  font-size: 16px;
  font-weight: 600;
  color: var(--sw-text-primary);
  padding: 28px 0;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--sw-primary);
}

/* Mega Menu Dropdown */
.mega-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 320px;
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--sw-border);
  padding: 16px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1001;
}
.nav-item.has-dropdown:hover .mega-menu,
.nav-item.has-dropdown.active .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--sw-text-primary);
  transition: var(--transition);
}
.mega-menu-link:hover {
  background: var(--sw-primary-light);
  color: var(--sw-primary);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.phone-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--sw-primary);
  font-size: 16px;
}
.phone-contact i {
  color: var(--sw-accent);
  font-size: 18px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--sw-primary);
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  height: 48px;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--sw-primary);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--sw-primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 28, 139, 0.3);
}
.btn-accent {
  background: var(--sw-accent);
  color: #ffffff;
}
.btn-accent:hover {
  background: var(--sw-accent-light);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(248, 116, 19, 0.3);
}

/* Button Shimmer Light Sweep Effect */
.btn-primary, .btn-accent {
  position: relative;
  overflow: hidden;
}

.btn-primary::after, .btn-accent::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(25deg);
  transition: left 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.btn-primary:hover::after, .btn-accent:hover::after {
  left: 140%;
}
.btn-outline {
  border: 1.5px solid var(--sw-primary);
  color: var(--sw-primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--sw-primary);
  color: #ffffff;
  border-color: var(--sw-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 28, 139, 0.2);
}

/* Hero Button Outline Specific readable hover */
.btn-hero-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}
.btn-hero-outline:hover {
  background: #ffffff;
  color: var(--sw-primary-deep);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.btn-sm {
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

/* Badge Styles */
.badge-pending {
  background: #fff3cd;
  color: var(--sw-warning);
  border: 1px solid #ffeeba;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  line-height: 1.2;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 600px;
  background: url('assets/thai_industrial_hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
}
.hero-section .container,
.inner-hero .container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: block !important;
}

/* Ambient Engineering Blueprint Grid Movement (Subtle & Futuristic) */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(248, 116, 19, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 116, 19, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
  pointer-events: none;
  animation: gridMove 30s linear infinite;
  opacity: 0.8;
}

/* Ambient Pulsing Glowing Light Orb */
.hero-section::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  top: -100px;
  right: -50px;
  background: radial-gradient(circle, rgba(248, 116, 19, 0.22) 0%, rgba(43, 28, 139, 0.18) 55%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
  animation: ambientPulse 14s ease-in-out infinite alternate;
}

@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}

@keyframes ambientPulse {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-60px, 40px) scale(1.18);
    opacity: 0.85;
  }
  100% {
    transform: translate(30px, -30px) scale(0.95);
    opacity: 0.5;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(17, 7, 70, 0.95) 0%,
    rgba(36, 18, 133, 0.88) 60%,
    rgba(17, 7, 70, 0.96) 100%
  );
}
.hero-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 1;
  animation: tpDotsFloat 35s linear infinite;
}
@media (min-width: 992px) {
  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(17, 7, 70, 0.95) 0%,
      rgba(36, 18, 133, 0.82) 55%,
      rgba(17, 7, 70, 0.45) 100%
    );
  }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 84px 0 96px 0 !important;
  text-align: left !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(248, 116, 19, 0.22);
  border: 1.5px solid rgba(248, 116, 19, 0.5);
  color: var(--sw-accent-light);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  animation: floatTag 4s ease-in-out infinite;
  box-shadow: 0 4px 16px rgba(248, 116, 19, 0.2);
}

@keyframes floatTag {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.hero-title {
  font-size: 52px;
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 22px;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  word-break: keep-all;
  text-wrap: balance;
  letter-spacing: -0.5px;
}
.hero-subtitle {
  font-size: 18.5px;
  line-height: 1.75;
  color: #F1F0FB;
  font-weight: 500;
  margin-bottom: 36px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  word-break: keep-all;
  text-wrap: balance;
  max-width: 780px;
}
.hero-btn-group {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-btn-group .btn {
  border-radius: var(--radius-pill) !important;
  height: 52px !important;
  padding: 0 28px !important;
}

/* Hero Button Outline Specific readable hover */
.btn-hero-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  height: 52px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-hero-outline:hover {
  background: #ffffff;
  color: var(--sw-primary-deep);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.3);
}

/* Section Common */
.section {
  padding: 100px 0 !important;
}
.section-soft {
  background-color: var(--sw-bg-soft);
  position: relative;
  overflow: hidden;
}

.section-soft::before {
  content: '';
  position: absolute;
  inset: -30px;
  background-image: 
    radial-gradient(circle, rgba(43, 28, 139, 0.08) 1.2px, transparent 1.2px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
  animation: tpDotsFloat 40s linear infinite;
  opacity: 0.85;
}

.section-soft::after {
  content: '';
  position: absolute;
  width: 450px;
  height: 450px;
  top: -100px;
  right: -50px;
  background: radial-gradient(circle, rgba(248, 116, 19, 0.09) 0%, rgba(43, 28, 139, 0.06) 60%, transparent 80%);
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 1;
  animation: tpOrbFloat1 20s ease-in-out infinite alternate;
}

.section-soft .container {
  position: relative;
  z-index: 2;
}
/* Section Deep */
.section-deep {
  background: linear-gradient(135deg, #110746 0%, #241285 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   Muze-Style Animated Dynamic Background System (.tp-bg-dots, .tp-bg-orb, .tp-bg-ring)
   ========================================================================== */

/* 1. Animated Radial Dot Matrix Grid Pattern (.tp-bg-dots) */
.tp-bg-dots {
  position: absolute;
  inset: -40px;
  background-image: radial-gradient(circle, rgba(248, 116, 19, 0.18) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 1;
  animation: tpDotsFloat 35s linear infinite;
}

.section-soft .tp-bg-dots {
  background-image: radial-gradient(circle, rgba(43, 28, 139, 0.12) 1.2px, transparent 1.2px);
}

@keyframes tpDotsFloat {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 56px 56px;
  }
}

/* 2. Floating Ambient Glowing Color Orbs (.tp-bg-orb) */
.tp-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

.tp-bg-orb--1 {
  width: 450px;
  height: 450px;
  top: -80px;
  left: -100px;
  background: radial-gradient(circle, rgba(248, 116, 19, 0.28) 0%, rgba(43, 28, 139, 0.2) 60%, transparent 80%);
  animation: tpOrbFloat1 18s ease-in-out infinite alternate;
}

.tp-bg-orb--2 {
  width: 550px;
  height: 550px;
  bottom: -120px;
  right: -100px;
  background: radial-gradient(circle, rgba(43, 28, 139, 0.35) 0%, rgba(248, 116, 19, 0.2) 60%, transparent 80%);
  animation: tpOrbFloat2 22s ease-in-out infinite alternate;
}

@keyframes tpOrbFloat1 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(80px, 40px) scale(1.15);
    opacity: 0.8;
  }
  100% {
    transform: translate(-30px, -40px) scale(0.9);
    opacity: 0.5;
  }
}

@keyframes tpOrbFloat2 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-70px, -50px) scale(1.2);
    opacity: 0.85;
  }
  100% {
    transform: translate(40px, 30px) scale(0.95);
    opacity: 0.6;
  }
}

/* 3. Architectural Concentric Pulsing Rings (.tp-bg-ring) */
.tp-bg-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(248, 116, 19, 0.12);
  pointer-events: none;
  z-index: 1;
}

.section-soft .tp-bg-ring {
  border-color: rgba(43, 28, 139, 0.08);
}

.tp-bg-ring--1 {
  width: 480px;
  height: 480px;
  animation: tpRingExpand 12s ease-in-out infinite alternate;
}

.tp-bg-ring--2 {
  width: 720px;
  height: 720px;
  animation: tpRingExpand 16s ease-in-out infinite alternate-reverse;
}

.tp-bg-ring--3 {
  width: 960px;
  height: 960px;
  animation: tpRingExpand 20s ease-in-out infinite alternate;
}

@keyframes tpRingExpand {
  0% {
    transform: translate(-50%, -50%) scale(0.96);
    opacity: 0.4;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.04);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.96);
    opacity: 0.4;
  }
}
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px auto;
  padding-top: 12px;
}
.section-subtitle {
  color: var(--sw-accent-dark);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}
.section-deep .section-subtitle {
  color: var(--sw-accent-light);
}
.section-title {
  font-size: 38px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--sw-text-primary);
}
.section-deep .section-title {
  color: #ffffff;
}
.section-desc {
  color: var(--sw-text-secondary);
  font-size: 16px;
  margin-top: 12px;
}
.section-deep .section-desc {
  color: #EAE7FA;
}

/* Trust Bar (Redesigned Layout) */
.trust-bar {
  background: var(--sw-primary-deep);
  color: #ffffff;
  padding: 56px 0 64px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}
.trust-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  max-width: 700px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(248, 116, 19, 0.4), transparent);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.counter-card {
  text-align: center;
  padding: 24px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  transition: var(--transition);
}
.counter-card:hover {
  transform: translateY(-4px);
  border-color: rgba(248, 116, 19, 0.4);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.counter-num-box {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 6px;
  height: 48px;
}
.counter-num {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: var(--sw-accent-light);
  text-shadow: 0 4px 16px rgba(248, 116, 19, 0.3);
  letter-spacing: -1px;
}
.counter-plus {
  font-size: 32px;
  font-weight: 800;
  color: var(--sw-accent);
  margin-left: 2px;
}
.counter-label {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}
.counter-sub {
  font-size: 13px;
  color: #cbd5e1;
}
.trust-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: var(--transition);
  height: 100%;
}
.trust-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(248, 116, 19, 0.3);
  transform: translateY(-2px);
}
.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(248, 116, 19, 0.18);
  color: var(--sw-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.trust-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 48px;
}
.trust-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}
.trust-sub {
  font-size: 13px;
  color: #cbd5e1;
  margin-top: 4px;
  line-height: 1.4;
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  border: 1px solid var(--sw-border);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sw-primary-light);
}
.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--sw-primary-light);
  color: var(--sw-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  transition: var(--transition);
}
.service-card:hover .service-icon-box {
  background: var(--sw-primary);
  color: #ffffff;
}
.service-card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card-desc {
  font-size: 15px;
  color: var(--sw-text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}
.service-card-link {
  font-weight: 600;
  color: var(--sw-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
}
.service-card-link i {
  transition: var(--transition);
}
.service-card:hover .service-card-link i {
  transform: translateX(4px);
}

/* Why Choose Us Grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.why-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--sw-border);
}
.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(248, 116, 19, 0.1);
  color: var(--sw-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.why-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}
.why-desc {
  font-size: 15px;
  color: var(--sw-text-secondary);
}

/* Featured Projects Filterable */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

@media (max-width: 767px) {
  .project-filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px 4px 14px 4px;
    margin-bottom: 24px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .project-filters::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 16px;
    font-size: 13.5px;
  }
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--sw-border);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--sw-primary);
  color: #ffffff;
  border-color: var(--sw-primary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.project-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--sw-border);
  transition: var(--transition);
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.project-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-thumb img {
  transform: scale(1.05);
}
.project-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--sw-primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.project-body {
  padding: 24px;
}
.project-location {
  font-size: 13px;
  color: var(--sw-text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}
.project-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}
.project-scope {
  font-size: 14px;
  color: var(--sw-text-secondary);
  margin-bottom: 20px;
}

/* Industries Modern Glass Cards */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.industry-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--sw-accent), var(--sw-accent-light));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.industry-card:hover {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-color: rgba(248, 116, 19, 0.5);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(17, 7, 70, 0.4), 0 0 30px rgba(248, 116, 19, 0.2);
}

.industry-card:hover::before {
  opacity: 1;
}

.industry-header-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.industry-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(248, 116, 19, 0.25) 0%, rgba(43, 28, 139, 0.4) 100%);
  border: 1px solid rgba(248, 116, 19, 0.3);
  color: var(--sw-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: all 0.35s ease;
}

.industry-card:hover .industry-icon {
  transform: scale(1.1) rotate(-4deg);
  background: var(--sw-accent);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(248, 116, 19, 0.4);
}

.industry-name {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.industry-desc {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 20px;
}

.industry-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--sw-accent-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.25s ease, color 0.25s ease;
}

.industry-card:hover .industry-link {
  color: #ffffff;
  gap: 12px;
}

/* ==========================================================================
   WOW Connected 6-Step Engineering Roadmap Timeline (.process-wow-grid)
   ========================================================================== */
.process-wow-container {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
}

.process-wow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

@media (max-width: 991px) {
  .process-wow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 576px) {
  .process-wow-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.process-wow-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 28px;
  border: 1px solid var(--sw-border);
  box-shadow: 0 10px 30px rgba(17, 7, 70, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  z-index: 2;
}

.process-wow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--sw-accent), var(--sw-primary));
  opacity: 0.2;
  transition: all 0.4s ease;
}

.process-wow-card:hover {
  transform: translateY(-10px);
  border-color: var(--sw-accent);
  box-shadow: 0 22px 48px rgba(43, 28, 139, 0.14), 0 0 25px rgba(248, 116, 19, 0.15);
}

.process-wow-card:hover::before {
  opacity: 1;
  width: 6px;
}

.process-wow-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.process-wow-num {
  font-size: 38px;
  font-weight: 800;
  color: var(--sw-primary);
  line-height: 1;
  font-family: 'Noto Sans Thai', sans-serif;
  letter-spacing: -1px;
  transition: all 0.35s ease;
}

.process-wow-card:hover .process-wow-num {
  color: var(--sw-accent);
  transform: scale(1.1);
}

.process-wow-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--sw-primary-light);
  color: var(--sw-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.35s ease;
}

.process-wow-card:hover .process-wow-icon {
  background: var(--sw-accent);
  color: #ffffff;
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 10px 24px rgba(248, 116, 19, 0.35);
}

.process-wow-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--sw-text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.process-wow-desc {
  font-size: 15px;
  color: var(--sw-text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.process-wow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--sw-accent);
  background: rgba(248, 116, 19, 0.1);
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid rgba(248, 116, 19, 0.25);
  align-self: flex-start;
}

/* Service Workflow Grid Style - Premium Redesign */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  position: relative;
}

.process-card {
  background: #ffffff;
  border: 1px solid var(--sw-border);
  border-radius: 20px;
  padding: 36px 30px;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(17, 7, 70, 0.02);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
  overflow: hidden;
}

.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sw-primary) 0%, var(--sw-accent) 100%);
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: all 0.3s ease;
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(17, 7, 70, 0.08);
  border-color: rgba(43, 28, 139, 0.12);
}

.process-card:hover::before {
  opacity: 1;
}

.process-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 24px;
}

.process-num {
  font-size: 28px;
  font-weight: 900;
  color: rgba(17, 7, 70, 0.08);
  font-family: 'Outfit', sans-serif;
  line-height: 1;
  transition: color 0.3s ease;
}

.process-card:hover .process-num {
  color: rgba(248, 116, 19, 0.18);
}

.process-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--sw-primary-light);
  color: var(--sw-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: all 0.3s ease;
}

.process-card:hover .process-icon-wrap {
  background: var(--sw-accent);
  color: #ffffff;
  transform: rotate(6deg) scale(1.05);
  box-shadow: 0 8px 20px rgba(248, 116, 19, 0.25);
}

.process-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--sw-primary-deep);
  margin-bottom: 12px;
  line-height: 1.4;
}

.process-desc {
  font-size: 14.5px;
  color: var(--sw-text-secondary);
  line-height: 1.7;
}


/* Style Switcher Bar */
.style-switcher-bar {
  background: var(--sw-primary-deep);
  border: 1px solid rgba(248, 116, 19, 0.3);
  border-radius: 16px;
  padding: 16px 24px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 10px 30px rgba(17, 7, 70, 0.15);
}

.style-switcher-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.style-switcher-title i {
  color: var(--sw-accent);
}

.style-switcher-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.style-opt-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.style-opt-btn:hover, .style-opt-btn.active {
  background: var(--sw-accent);
  color: #ffffff;
  border-color: var(--sw-accent);
  box-shadow: 0 4px 14px rgba(248, 116, 19, 0.4);
}

/* Style View Visibility Control */
.process-style-view {
  display: none;
}
.process-style-view.active {
  display: block;
}

/* Style 2: Dark Glassmorphic Stepper */
.dark-glass-box {
  background: linear-gradient(135deg, #110746 0%, #241285 100%);
  border-radius: 24px;
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
}

.dark-glass-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  border-radius: 18px;
  padding: 32px 24px;
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dark-glass-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--sw-accent);
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 25px rgba(248, 116, 19, 0.2);
}

.dark-glass-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--sw-accent-light);
  text-shadow: 0 0 15px rgba(248, 116, 19, 0.5);
  line-height: 1;
}

/* Style 3: Vertical Axis Timeline */
.vertical-timeline-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.vertical-timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: linear-gradient(180deg, var(--sw-accent), var(--sw-primary));
  transform: translateX(-50%);
  border-radius: 99px;
}

@media (max-width: 767px) {
  .vertical-timeline-line {
    left: 24px;
  }
}

.vt-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 50%;
  position: relative;
  margin-bottom: 40px;
}

.vt-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50%;
}

@media (max-width: 767px) {
  .vt-item, .vt-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 60px;
    padding-right: 0;
  }
}

.vt-dot {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sw-accent);
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 4px rgba(248, 116, 19, 0.3);
  z-index: 3;
}

@media (max-width: 767px) {
  .vt-dot {
    left: 24px;
  }
}

.vt-content-card {
  width: 90%;
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid var(--sw-border);
  box-shadow: var(--shadow-md);
  transition: all 0.35s ease;
}

.vt-content-card:hover {
  transform: translateY(-6px);
  border-color: var(--sw-accent);
  box-shadow: 0 16px 36px rgba(43, 28, 139, 0.12);
}

/* Style 4: Interactive Step Inspector Tabs */
.tab-inspector-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

@media (max-width: 767px) {
  .tab-inspector-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px 4px 14px 4px;
    margin-bottom: 24px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .tab-inspector-nav::-webkit-scrollbar {
    display: none;
  }
  .step-tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 10px 16px;
    font-size: 13.5px;
  }
}

.step-tab-btn {
  background: #ffffff;
  border: 1.5px solid var(--sw-border);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--sw-text-primary);
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-tab-btn:hover, .step-tab-btn.active {
  background: var(--sw-primary);
  color: #ffffff;
  border-color: var(--sw-primary);
  box-shadow: 0 6px 20px rgba(43, 28, 139, 0.25);
}

.step-tab-btn .tab-num {
  background: rgba(248, 116, 19, 0.15);
  color: var(--sw-accent-dark);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.step-tab-btn:hover .tab-num, .step-tab-btn.active .tab-num {
  background: var(--sw-accent);
  color: #ffffff;
}

.tab-inspector-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 44px 40px;
  border: 1px solid var(--sw-border);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.tab-progress-line-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(43, 28, 139, 0.08);
}

.tab-progress-line-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--sw-accent), var(--sw-accent-light));
  transition: width 0.1s linear;
}

@media (max-width: 767px) {
  .tab-inspector-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

/* Style 5: Horizontal Snake Timeline */
.snake-timeline-box {
  position: relative;
  max-width: 1050px;
  margin: 0 auto;
}

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

@media (max-width: 991px) {
  .snake-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .snake-grid {
    grid-template-columns: 1fr;
  }
}

.snake-card {
  background: #ffffff;
  border: 1px solid var(--sw-border);
  border-radius: 20px;
  padding: 32px 24px;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: all 0.35s ease;
}

.snake-card:hover {
  transform: translateY(-8px);
  border-color: var(--sw-accent);
  box-shadow: 0 16px 36px rgba(43, 28, 139, 0.14);
}

.snake-num-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sw-accent) 0%, var(--sw-accent-dark) 100%);
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 6px 16px rgba(248, 116, 19, 0.35);
}

/* Style 6: Circular Orbital Target Stage */
.orbital-box {
  background: radial-gradient(circle at center, #1a0c64 0%, #110746 100%);
  border-radius: 28px;
  padding: 56px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(248, 116, 19, 0.25);
}

.orbital-center-hub {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sw-accent), var(--sw-primary));
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 40px auto;
  box-shadow: 0 0 35px rgba(248, 116, 19, 0.5);
  border: 4px solid rgba(255, 255, 255, 0.2);
}

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

@media (max-width: 991px) {
  .orbital-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .orbital-grid {
    grid-template-columns: 1fr;
  }
}

.orbital-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 28px 20px;
  color: #ffffff;
  text-align: left;
  backdrop-filter: blur(10px);
  transition: all 0.35s ease;
}

.orbital-card:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--sw-accent);
  transform: translateY(-6px);
}

/* Style 7: Minimalist Accordion Expansion List */
.acc-list-box {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.acc-list-item {
  background: #ffffff;
  border: 1.5px solid var(--sw-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.acc-list-item:hover {
  border-color: var(--sw-accent);
  box-shadow: var(--shadow-md);
}

.acc-list-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: #ffffff;
}

.acc-list-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--sw-primary);
  margin-right: 16px;
}

.acc-list-item.active .acc-list-num {
  color: var(--sw-accent);
}

.acc-list-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: var(--sw-bg-soft);
  padding: 0 24px;
}

.acc-list-item.active .acc-list-body {
  max-height: 300px;
  padding: 20px 24px 24px 24px;
  border-top: 1px dashed var(--sw-border);
}

/* Style 8: Blueprint Engineering Schematic */
.blueprint-box {
  background: #0b192e;
  background-image: 
    linear-gradient(rgba(0, 162, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 162, 255, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 2px dashed rgba(0, 162, 255, 0.4);
  border-radius: 24px;
  padding: 48px 36px;
  position: relative;
}

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

@media (max-width: 991px) {
  .blueprint-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .blueprint-grid {
    grid-template-columns: 1fr;
  }
}

.blueprint-card {
  background: rgba(11, 37, 69, 0.85);
  border: 1px solid rgba(0, 195, 255, 0.3);
  border-radius: 16px;
  padding: 28px 24px;
  color: #e0f2fe;
  position: relative;
  transition: all 0.35s ease;
}

.blueprint-card:hover {
  border-color: var(--sw-accent);
  background: rgba(11, 37, 69, 0.95);
  box-shadow: 0 0 25px rgba(248, 116, 19, 0.3);
  transform: translateY(-6px);
}

.blueprint-tag {
  font-family: monospace;
  font-size: 12px;
  color: #38bdf8;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

/* Style 9: 3D Floating Isometric Cards Stack */
.iso-perspective-container {
  perspective: 1200px;
  max-width: 1100px;
  margin: 0 auto;
}

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

@media (max-width: 991px) {
  .iso-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .iso-grid {
    grid-template-columns: 1fr;
  }
}

.iso-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 36px 28px;
  border: 1px solid var(--sw-border);
  box-shadow: -12px 18px 30px rgba(17, 7, 70, 0.08);
  transform: rotateX(8deg) rotateY(-6deg) rotateZ(1deg);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.iso-card:hover {
  transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateY(-12px);
  border-color: var(--sw-accent);
  box-shadow: 0 24px 50px rgba(248, 116, 19, 0.2);
}

/* Style 10: Giant Numbered Feature Stage */
.hero-stage-box {
  background: #ffffff;
  border: 1.5px solid var(--sw-border);
  border-radius: 28px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

@media (max-width: 767px) {
  .hero-stage-box {
    padding: 28px 20px;
  }
}

.hero-stage-number {
  font-size: 110px;
  font-weight: 900;
  line-height: 0.9;
  background: linear-gradient(135deg, var(--sw-accent) 0%, var(--sw-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Noto Sans Thai', sans-serif;
  margin-bottom: 12px;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: #ffffff;
  border-radius: var(--radius-card);
  border: 1px solid var(--sw-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-btn {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: var(--sw-text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
}
.faq-btn i {
  color: var(--sw-primary);
  transition: transform 0.3s ease;
}
.faq-item.active .faq-btn i {
  transform: rotate(180deg);
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--sw-text-secondary);
  font-size: 15px;
}
.faq-item.active .faq-body {
  padding: 0 24px 20px 24px;
  max-height: 200px;
}

/* Contact CTA Box */
.cta-banner-section {
  padding: 40px 0 80px 0 !important;
}

.cta-banner {
  background: linear-gradient(135deg, #1B0D68 0%, #2B1C8B 50%, #110746 100%) !important;
  border-radius: 28px !important;
  padding: 60px 40px !important;
  color: #ffffff !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
  border: 1.5px solid rgba(248, 116, 19, 0.25) !important;
  box-shadow: 0 24px 60px rgba(17, 7, 70, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  margin: 0 auto !important;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(248,116,19,0.25) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(43,28,139,0.4) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(248, 116, 19, 0.15);
  color: var(--sw-accent-light);
  padding: 6px 18px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid rgba(248, 116, 19, 0.3);
}

.cta-title {
  font-size: 34px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  margin-bottom: 16px !important;
  color: #ffffff !important;
}

.cta-desc {
  font-size: 16.5px !important;
  color: #EAE7FA !important;
  max-width: 680px !important;
  margin: 0 auto 36px auto !important;
  line-height: 1.75 !important;
  word-break: keep-all !important;
}

.cta-btn-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.cta-btn-primary {
  background: linear-gradient(135deg, #F87413 0%, #F88F08 100%) !important;
  color: #ffffff !important;
  padding: 14px 32px !important;
  border-radius: 99px !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 28px rgba(248, 116, 19, 0.4) !important;
  border: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.cta-btn-primary:hover {
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 14px 36px rgba(248, 116, 19, 0.55) !important;
  color: #ffffff !important;
}

.cta-btn-line {
  background: #ffffff !important;
  color: var(--sw-primary-dark) !important;
  padding: 14px 30px !important;
  border-radius: 99px !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
  border: 1.5px solid #ffffff !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.cta-btn-line:hover {
  background: #f8fafc !important;
  transform: translateY(-3px) scale(1.03) !important;
  color: var(--sw-primary-deep) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25) !important;
}

/* Modal Popup Form */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 7, 70, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--sw-text-secondary);
}
.modal-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--sw-primary);
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;

}
.form-label span.req {
  color: var(--sw-error);
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--sw-border);
  border-radius: var(--radius-input);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--sw-accent);
  box-shadow: 0 0 0 3px rgba(248, 116, 19, 0.15);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.file-upload-box {
  border: 2px dashed var(--sw-border);
  padding: 20px;
  text-align: center;
  border-radius: var(--radius-input);
  background: var(--sw-bg-soft);
  cursor: pointer;
}

/* Footer */
.footer {
  background: var(--sw-primary-deep);
  color: #EAE7FA;
  padding-top: 80px;
  padding-bottom: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  max-width: 700px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(248, 116, 19, 0.4), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-brand-desc {
  font-size: 14px;
  line-height: 1.7;
  margin: 16px 0;
  color: #cbd5e1;
}
.footer-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--sw-accent);
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}
.footer-links a:hover {
  color: var(--sw-accent-light);
}
.footer-contact-item {
  display: flex;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 14px;
}
.footer-contact-item i {
  color: var(--sw-accent);
  font-size: 16px;
  margin-top: 4px;
}

.bottom-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 12px;
}

/* Mobile Navigation Drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 7, 70, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 340px;
  max-width: 88vw;
  height: 100vh;
  background: #ffffff;
  z-index: 20000;
  box-shadow: -10px 0 40px rgba(17, 7, 70, 0.25);
  display: flex;
  flex-direction: column;
  transition: right 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  font-family: inherit;
}

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

.drawer-header {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--sw-border);
  background: var(--sw-bg-soft);
}

.drawer-close-btn {
  background: rgba(43, 28, 139, 0.08);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  color: var(--sw-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drawer-close-btn:hover {
  background: var(--sw-accent);
  color: #ffffff;
  transform: rotate(90deg);
}

/* Drawer Search Bar System */
.drawer-search-container {
  padding: 16px 20px 14px 20px;
  background: #ffffff;
  border-bottom: 1px solid rgba(228, 229, 235, 0.6);
}

.drawer-search-wrap {
  display: flex;
  align-items: center;
  background: var(--sw-bg-soft);
  border: 1.5px solid var(--sw-border);
  border-radius: 12px;
  padding: 0 10px 0 14px;
  height: 44px;
  transition: all 0.25s ease;
}

.drawer-search-wrap:focus-within {
  border-color: var(--sw-accent);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(248, 116, 19, 0.15);
}

.drawer-search-wrap .search-icon {
  color: var(--sw-text-secondary);
  font-size: 15px;
  margin-right: 10px;
}

.drawer-search-wrap input {
  border: none;
  background: transparent;
  width: 100%;
  height: 100%;
  font-size: 14px;
  font-weight: 600;
  color: var(--sw-text-primary);
  outline: none;
  font-family: inherit;
}

.search-go-btn {
  background: var(--sw-accent);
  color: #ffffff;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.search-go-btn:hover {
  background: var(--sw-accent-dark);
  transform: translateX(2px);
}

.search-tags-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.search-tag-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--sw-text-secondary);
}

.search-chip {
  background: rgba(43, 28, 139, 0.06);
  color: var(--sw-primary);
  border: none;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-chip:hover {
  background: var(--sw-accent);
  color: #ffffff;
}

/* Drawer Menu List Styling */
.drawer-menu {
  list-style: none;
  padding: 8px 0;
  flex-grow: 1;
}

.drawer-menu li {
  border-bottom: 1px solid rgba(228, 229, 235, 0.4);
}

.drawer-link, .drawer-sub-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 20px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--sw-text-primary);
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.drawer-link-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-link-left .nav-icon {
  font-size: 16px;
  color: var(--sw-primary);
  width: 20px;
  text-align: center;
}

.drawer-link:hover, .drawer-sub-toggle:hover, .drawer-link.active {
  background: rgba(43, 28, 139, 0.04);
  color: var(--sw-accent);
}

.drawer-link.active .nav-icon, .drawer-link:hover .nav-icon {
  color: var(--sw-accent);
}

.arrow-icon {
  font-size: 12px;
  color: #cbd5e1;
  transition: transform 0.2s ease;
}

.drawer-link:hover .arrow-icon {
  color: var(--sw-accent);
  transform: translateX(4px);
}

.drawer-sub-toggle .toggle-icon {
  font-size: 12px;
  color: var(--sw-text-secondary);
  transition: color 0.3s ease;
}

/* บังคับให้เป็นลูกศรชี้ขวา (>) เสมอเมื่อปิดเมนูย่อย เพื่อป้องกันปัญหาแคช HTML ตัวเก่าค้าง */
.drawer-sub-toggle .toggle-icon::before {
  content: "\f054" !important; /* fa-chevron-right */
}

/* บังคับให้เป็นลูกศรชี้ลง (v) เสมอเมื่อเปิดเมนูย่อย */
.drawer-has-sub.active .drawer-sub-toggle .toggle-icon {
  color: var(--sw-accent);
}
.drawer-has-sub.active .drawer-sub-toggle .toggle-icon::before {
  content: "\f078" !important; /* fa-chevron-down */
}

.drawer-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: #f8fafc;
}

.drawer-has-sub.active .drawer-submenu {
  max-height: 420px;
  padding: 6px 0 10px 0;
  border-top: 1px solid var(--sw-border);
}

.drawer-submenu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px 11px 36px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sw-text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(228, 229, 235, 0.2);
}

.drawer-submenu a:hover {
  color: var(--sw-accent-dark);
  background: rgba(248, 116, 19, 0.08);
  padding-left: 42px;
}

.drawer-submenu .sub-icon {
  font-size: 14px;
  color: var(--sw-accent);
  width: 18px;
  text-align: center;
}

/* Drawer Footer Actions */
.drawer-footer {
  padding: 16px 20px 20px 20px;
  border-top: 1px solid var(--sw-border);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.drawer-cta-btn.btn-call {
  background: var(--sw-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(43, 28, 139, 0.2);
}

.drawer-cta-btn.btn-call:hover {
  background: var(--sw-primary-dark);
  transform: translateY(-2px);
}

.drawer-cta-btn.btn-line {
  background: var(--sw-accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(248, 116, 19, 0.25);
}

.drawer-cta-btn.btn-line:hover {
  background: var(--sw-accent-dark);
  transform: translateY(-2px);
}

/* Mobile Sticky Contact Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #ffffff;
  box-shadow: 0 -4px 20px rgba(17, 7, 70, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 16px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  z-index: 999;
  border-top: 1px solid var(--sw-border);
}
@media (min-width: 992px) {
  .mobile-sticky-bar {
    display: none;
  }
}
.mobile-sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 700;
}
.mobile-btn-tel {
  background: var(--sw-primary);
  color: #ffffff;
  margin-right: 8px;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1 !important;
}

.mobile-btn-line {
  background: var(--sw-accent);
  color: #ffffff;
}
.mobile-btn-line:hover {
  background: var(--sw-accent-light);
  color: #ffffff;
}

/* Floating Messenger Chat Widget */
.floating-chat-widget {
  position: fixed;
  bottom: 96px;
  right: 32px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  transition: all 0.3s ease;
}

@media (min-width: 992px) {
  .floating-chat-widget {
    bottom: 36px;
    right: 32px;
  }
}

@media (max-width: 767px) {
  .floating-chat-widget {
    bottom: 24px;
    right: 16px;
  }
  .mobile-sticky-bar ~ .floating-chat-widget,
  body:has(.mobile-sticky-bar) .floating-chat-widget {
    bottom: 78px;
  }
  .float-chat-btn {
    width: 50px;
    height: 50px;
    padding: 0 !important;
    border-radius: 50% !important;
    justify-content: center !important;
  }
  .float-chat-btn span {
    display: none !important;
  }
  .float-chat-btn i {
    font-size: 24px !important;
  }
}

.float-chat-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  height: 50px;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(0, 132, 255, 0.4);
  background: linear-gradient(135deg, #0084FF 0%, #00C6FF 100%);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  animation: floatPulse 3s ease-in-out infinite;
}

.float-chat-btn:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 132, 255, 0.6);
  color: #ffffff !important;
}

.float-chat-btn i {
  font-size: 22px;
}

@keyframes floatPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 8px 24px rgba(0, 132, 255, 0.4);
  }
  50% {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 132, 255, 0.55);
  }
}

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 991px) {
  .layout-with-sidebar {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .two-col-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* Responsive Breakpoints & Media Queries */
@media (max-width: 991px) {
  body {
    padding-bottom: 74px; /* Ensure space for sticky contact bar */
  }

  .nav-menu {
    display: none;
  }
  .header-right .phone-contact {
    display: none;
  }
  .hamburger {
    display: block;
  }

  .section {
    padding: 64px 0;
  }
  .section-header {
    margin-bottom: 40px;
  }
  .section-title {
    font-size: 30px;
  }

  /* Hero Mobile */
  .hero-section {
    min-height: auto;
    padding: 32px 0 48px 0;
  }
  .hero-content {
    padding: 32px 24px;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-tag {
    font-size: 12px;
    padding: 6px 14px;
    margin-bottom: 16px;
  }
  .hero-title {
    font-size: 26px;
    line-height: 1.35;
    margin-bottom: 16px;
  }
  .hero-subtitle {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 28px;
  }
  .hero-btn-group {
    flex-direction: column;
    width: 100%;
    gap: 14px;
    padding: 0 4px;
    box-sizing: border-box;
  }
  .hero-btn-group .btn {
    width: 100%;
    justify-content: center;
    height: 52px;
    font-size: 16px;
    padding: 0 20px;
    box-sizing: border-box;
  }

  /* Trust Bar Mobile */
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Grid Layouts Mobile */
  .services-grid, .why-grid, .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

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

  .cta-banner {
    padding: 40px 24px;
  }
  .cta-title {
    font-size: 28px;
  }
  .cta-btn-group {
    flex-direction: column;
    width: 100%;
  }
  .cta-btn-group .btn {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .services-grid, .why-grid, .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .section {
    padding: 48px 0;
  }
  .section-title {
    font-size: 24px;
  }
  .section-desc {
    font-size: 14px;
  }

  .hero-content {
    padding: 24px 8px;
  }

  .hero-title {
    font-size: 24px;
  }
  .hero-subtitle {
    font-size: 14px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .industries-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

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

  .modal-card {
    padding: 24px 16px;
    margin: 10px;
  }
  .form-control {
    font-size: 16px; /* Prevents auto zoom on mobile browsers */
  }

  .preview-bar .container {
    justify-content: center;
    text-align: center;
  }
}

/* About Page Responsive Layout Styles */
.about-overview-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-badge-card {
  background: var(--sw-bg-soft);
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--sw-border);
  transition: all 0.25s ease;
}

.stat-badge-card:hover {
  background: #ffffff;
  border-color: var(--sw-primary);
  box-shadow: 0 8px 24px rgba(43, 28, 139, 0.08);
}

.stat-badge-card .stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--sw-primary);
  line-height: 1.2;
  margin-bottom: 4px;
}

.stat-badge-card .stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--sw-text-secondary);
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.vm-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 30px;
  border: 1px solid var(--sw-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.vm-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sw-primary);
}

.vm-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(43, 28, 139, 0.1);
  color: var(--sw-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.vm-icon-accent {
  background: rgba(248, 116, 19, 0.12);
  color: var(--sw-accent);
}

.vm-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--sw-text-primary);
  margin-bottom: 12px;
}

.vm-desc {
  font-size: 15px;
  color: var(--sw-text-secondary);
  line-height: 1.75;
}

.core-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 22px;
  border: 1px solid var(--sw-border);
  text-align: center;
  transition: all 0.25s ease;
}

.value-card:hover {
  border-color: var(--sw-accent);
  box-shadow: 0 10px 30px rgba(248, 116, 19, 0.1);
  transform: translateY(-3px);
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(248, 116, 19, 0.1);
  color: var(--sw-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 16px auto;
}

.value-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--sw-text-primary);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 13.5px;
  color: var(--sw-text-secondary);
  line-height: 1.6;
}

@media (max-width: 991px) {
  .about-overview-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .vision-mission-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .core-values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 576px) {
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .core-values-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Contact Page Responsive Mobile Grid Styles */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 48px;
}

@media (max-width: 991px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
}

/* Unified Inner Page Hero Banner Style */
.inner-hero {
  position: relative;
  background-image: url('assets/thai_industrial_hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 380px !important;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.inner-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(17, 7, 70, 0.97) 0%,
    rgba(36, 18, 133, 0.88) 50%,
    rgba(17, 7, 70, 0.6) 100%
  ) !important;
  z-index: 1;
}

.inner-hero .hero-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 1;
  animation: tpDotsFloat 35s linear infinite;
}

.inner-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 72px 0 84px 0 !important;
  text-align: left !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.inner-hero .hero-title {
  font-size: 42px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
  margin-bottom: 16px !important;
  color: #ffffff !important;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.55) !important;
  word-break: keep-all !important;
  text-wrap: balance !important;
  letter-spacing: -0.5px;
}

.inner-hero .hero-subtitle {
  font-size: 17.5px !important;
  line-height: 1.7 !important;
  color: #F1F0FB !important;
  font-weight: 500 !important;
  margin-bottom: 0 !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
  word-break: keep-all !important;
  text-wrap: balance !important;
  max-width: 780px !important;
}

.inner-hero-breadcrumb {
  font-size: 13.5px;
  color: #EAE7FA;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.inner-hero-breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.inner-hero-breadcrumb a:hover {
  color: var(--sw-accent-light);
}

@media (max-width: 991px) {
  .inner-hero {
    min-height: 320px !important;
  }
  .inner-hero .hero-content {
    padding: 56px 0 64px 0 !important;
  }
  .inner-hero .hero-title {
    font-size: 32px !important;
  }
  .inner-hero .hero-subtitle {
    font-size: 16px !important;
  }
}

@media (max-width: 576px) {
  .inner-hero {
    min-height: 280px !important;
  }
  .inner-hero .hero-content {
    padding: 40px 0 48px 0 !important;
  }
  .inner-hero .hero-title {
    font-size: 24px !important;
    margin-bottom: 12px !important;
  }
  .inner-hero .hero-subtitle {
    font-size: 14.5px !important;
  }
}

