/*
Theme Name: Celest Soft Theme
Theme URI: https://www.celestsoft.com
Author: CELEST SOFT Co., Ltd.
Author URI: https://www.celestsoft.com
Description: Custom Enterprise Theme for Celest Soft Treasury, Budget and Asset ERP System
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: celest-soft
*/

:root {
  /* Brand Core Palette */
  --bg-cream: #f6f0e7;
  --bg-cream-tint: #fcf9f5;
  --navy-dark: #192738;
  --navy-deep: #0b131d;
  --navy-surface: #22354c;
  --brand-red: #c01e22;
  --brand-red-dark: #991518;
  --brand-gold: #b38b59;
  --brand-gold-light: #cfa878;
  --brand-gold-glow: rgba(179, 139, 89, 0.25);
  --brand-brown: #542210;
  
  --text-navy: #192738;
  --text-muted: #5e6e82;
  --border-subtle: rgba(179, 139, 89, 0.35);
  
  /* Elevation & Dimension Shadows */
  --shadow-float: 0 20px 45px -10px rgba(20, 32, 46, 0.12), 0 8px 16px -6px rgba(20, 32, 46, 0.06);
  --shadow-card-hover: 0 25px 50px -12px rgba(192, 30, 34, 0.2), 0 12px 24px -8px rgba(20, 32, 46, 0.1);
  --shadow-navy-3d: 0 30px 60px -15px rgba(11, 19, 29, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Prompt', 'Sarabun', sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-navy);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Lighting Background Blobs */
.ambient-glow-1 {
  position: absolute;
  top: -100px;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(179, 139, 89, 0.18) 0%, rgba(246, 240, 231, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-2 {
  position: absolute;
  top: 400px;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(192, 30, 34, 0.08) 0%, rgba(246, 240, 231, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* Top Red Accent Bar */
.top-accent-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-gold), var(--brand-red));
  width: 100%;
}

/* Exact Original Full-width Navbar */
.navbar {
  background: var(--navy-dark);
  padding: 0.9rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo-wrap img {
  height: 46px;
  width: auto;
  background: var(--bg-cream);
  padding: 3px 8px;
  border-radius: 8px;
  border: 1px solid var(--brand-gold);
}

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

.brand-title-text .en {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

.brand-title-text .th {
  color: var(--brand-gold-light);
  font-size: 0.75rem;
  font-family: 'Sarabun', sans-serif;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.8rem;
  align-items: center;
}

.nav-links a {
  color: var(--bg-cream);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--brand-gold-light);
}

.btn-nav-contact {
  background: var(--brand-gold);
  color: var(--navy-dark) !important;
  padding: 0.5rem 1.3rem;
  border-radius: 30px;
  font-weight: 600 !important;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-nav-contact:hover {
  background: var(--brand-gold-light);
  transform: translateY(-2px);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Hero Section with 3D Depth */
.hero-section {
  padding: 4.5rem 0 4rem;
  perspective: 1200px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.badge-pill-3d {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--brand-gold);
  color: var(--brand-brown);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(179, 139, 89, 0.15);
  margin-bottom: 1.4rem;
}

.hero-title {
  font-size: 2.9rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.22;
  margin-bottom: 1.3rem;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: var(--brand-red);
  position: relative;
  display: inline-block;
}

.hero-title span::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(192, 30, 34, 0.12);
  border-radius: 4px;
  z-index: -1;
}

.hero-desc {
  font-size: 1.1rem;
  color: #475569;
  font-family: 'Sarabun', sans-serif;
  line-height: 1.8;
  margin-bottom: 2.2rem;
  font-weight: 400;
}

.hero-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.feature-tag-item {
  background: var(--bg-cream-tint);
  border: 1.5px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(20, 32, 46, 0.04);
  transition: all 0.25s ease;
}

.feature-tag-item:hover {
  border-color: var(--brand-red);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(192, 30, 34, 0.12);
}

.feature-tag-item i {
  color: var(--brand-red);
}

.hero-btn-group {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-red-3d {
  background: linear-gradient(135deg, #d32328, var(--brand-red));
  color: #ffffff;
  padding: 0.95rem 2.2rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(192, 30, 34, 0.35), 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-red-3d:hover {
  background: var(--brand-red-dark);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 32px rgba(192, 30, 34, 0.45);
}

.btn-navy-outline-3d {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  border: 2px solid var(--navy-dark);
  color: var(--navy-dark);
  padding: 0.95rem 2rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
}

.btn-navy-outline-3d:hover {
  background: var(--navy-dark);
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
}

/* 3D Floating Dashboard Showcase */
.mockup-3d-scene {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-6deg) rotateX(4deg);
  transition: transform 0.5s ease;
}

.mockup-3d-scene:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.mockup-main-panel {
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy-deep) 100%);
  border: 2px solid rgba(214, 175, 122, 0.4);
  border-radius: 26px;
  padding: 2.2rem;
  color: #ffffff;
  box-shadow: var(--shadow-navy-3d);
  position: relative;
  z-index: 2;
}

.mockup-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.2rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-live-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #4ade80;
  font-weight: 600;
  background: rgba(74, 222, 128, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
}

.mockup-live-status span {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 10px #4ade80;
}

.mockup-grid-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}

.stat-pill-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(214, 175, 122, 0.25);
  padding: 1.2rem 1.1rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.stat-pill-card .label {
  font-size: 0.82rem;
  color: #94a3b8;
  font-family: 'Sarabun', sans-serif;
  margin-bottom: 4px;
}

.stat-pill-card .val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.mockup-workflow-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--brand-red);
  border-radius: 14px;
  padding: 1.2rem;
  margin-bottom: 1.4rem;
}

.workflow-head {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-gold-light);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.workflow-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #cbd5e1;
  font-family: 'Sarabun', sans-serif;
  font-weight: 500;
}

.workflow-track i {
  color: var(--brand-gold-light);
  font-size: 0.75rem;
}

.mockup-footer-tags {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #94a3b8;
  font-family: 'Sarabun', sans-serif;
}

.mockup-footer-tags span i {
  color: var(--brand-gold-light);
  margin-right: 5px;
}

.floating-sub-card {
  position: absolute;
  bottom: -22px;
  left: -28px;
  background: rgba(252, 249, 245, 0.95);
  backdrop-filter: blur(14px);
  border: 2px solid var(--brand-red);
  border-radius: 18px;
  padding: 1rem 1.4rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy-dark);
  animation: floatSubCard 4s ease-in-out infinite alternate;
}

@keyframes floatSubCard {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.floating-sub-card .icon-circ {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-red);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.floating-sub-card .txt h4 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.floating-sub-card .txt span {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-family: 'Sarabun', sans-serif;
}

/* Section Global Headers */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-header-center {
  text-align: center;
  margin-bottom: 4rem;
}

.badge-sec-tag {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(192, 30, 34, 0.1);
  border: 1px solid var(--brand-red);
  color: var(--brand-red);
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}

.section-header-center h2 {
  font-size: 2.3rem;
  color: var(--navy-dark);
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.section-header-center p {
  color: var(--text-muted);
  font-size: 1.08rem;
  font-family: 'Sarabun', sans-serif;
  max-width: 700px;
  margin: 0 auto;
}

/* Vision & Mission */
.vision-section {
  background: linear-gradient(180deg, #ede3d4 0%, #e6d9c6 100%);
  border-top: 1px solid rgba(179, 139, 89, 0.3);
  border-bottom: 1px solid rgba(179, 139, 89, 0.3);
}

.vision-grid-3d {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.2rem;
}

.vision-card-float {
  background: var(--bg-cream-tint);
  border: 1.5px solid var(--border-subtle);
  border-radius: 22px;
  padding: 2.6rem 2.2rem;
  box-shadow: var(--shadow-float);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vision-card-float::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-red));
}

.vision-card-float:hover {
  border-color: var(--brand-red);
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-card-hover);
}

.vision-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--navy-dark);
  color: var(--brand-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.6rem;
  box-shadow: 0 8px 18px rgba(20, 32, 46, 0.2);
}

.vision-card-float h3 {
  font-size: 1.35rem;
  color: var(--navy-dark);
  margin-bottom: 0.9rem;
  font-weight: 700;
}

.vision-card-float p {
  color: #475569;
  font-size: 0.98rem;
  font-family: 'Sarabun', sans-serif;
  line-height: 1.75;
}

/* 4 Core Modules 3D Tiered Cards */
.modules-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

.mod-card-3d {
  background: var(--bg-cream-tint);
  border: 2px solid var(--border-subtle);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-float);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.mod-card-3d:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-red);
}

.mod-header-navy {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-surface) 100%);
  color: #ffffff;
  padding: 1.6rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 3px solid var(--brand-gold);
}

.mod-icon-gold-3d {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-light));
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.mod-header-navy h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.mod-header-navy span {
  font-size: 0.78rem;
  color: var(--brand-gold-light);
  display: block;
  font-weight: 400;
}

.mod-body-content {
  padding: 1.6rem 1.4rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mod-body-content ul {
  list-style: none;
  margin-bottom: 1.6rem;
}

.mod-body-content ul li {
  margin-bottom: 0.85rem;
  font-size: 0.94rem;
  color: #334155;
  font-family: 'Sarabun', sans-serif;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.mod-body-content ul li i {
  color: var(--brand-red);
  font-size: 0.9rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.mod-pill-badge {
  background: #eee3d2;
  border: 1px solid var(--brand-gold);
  color: var(--brand-brown);
  font-size: 0.82rem;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
}

/* Technology Stack Section */
.tech-section {
  background: var(--bg-cream);
  padding: 5.5rem 0;
}

.tech-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.tech-box-3d {
  background: var(--bg-cream-tint);
  border: 1.5px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-float);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-box-3d:hover {
  border-color: var(--brand-red);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.tech-head-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.4rem;
  padding-bottom: 0.9rem;
  border-bottom: 2px solid #ecdcc8;
}

.tech-head-row i {
  font-size: 1.8rem;
  color: var(--brand-red);
}

.tech-head-row h4 {
  font-size: 1.2rem;
  color: var(--navy-dark);
  font-weight: 800;
}

.tech-spec-list {
  list-style: none;
}

.tech-spec-list li {
  font-family: 'Sarabun', sans-serif;
  font-size: 0.94rem;
  color: #334155;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tech-spec-list li i {
  color: var(--brand-gold);
  font-size: 0.85rem;
}

/* Integration & ISO 9001:2015 Certification Section */
.integration-ribbon {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-dark) 100%);
  color: var(--bg-cream);
  padding: 4.5rem 0;
  text-align: center;
  border-top: 4px solid var(--brand-gold);
  border-bottom: 4px solid var(--brand-red);
  box-shadow: 0 15px 35px rgba(11, 19, 29, 0.3);
  position: relative;
}

.iso-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid var(--brand-gold-light);
  padding: 10px 24px;
  border-radius: 50px;
  margin-bottom: 1.8rem;
  box-shadow: 0 8px 24px rgba(179, 139, 89, 0.25);
}

.iso-cert-badge i {
  font-size: 1.8rem;
  color: var(--brand-gold-light);
}

.iso-cert-badge .iso-text {
  text-align: left;
  line-height: 1.2;
}

.iso-cert-badge .iso-text strong {
  font-size: 1.15rem;
  color: #ffffff;
  letter-spacing: 1px;
  display: block;
}

.iso-cert-badge .iso-text span {
  font-size: 0.78rem;
  color: var(--brand-gold-light);
  font-family: 'Sarabun', sans-serif;
}

.integration-items-flex {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.int-tag-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(214, 175, 122, 0.4);
  padding: 12px 24px;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  transition: all 0.25s ease;
}

.int-tag-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
  border-color: var(--brand-gold-light);
}

.int-tag-card i {
  color: var(--brand-gold-light);
}

/* Contact & Presentation Request Section */
.contact-form-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, var(--bg-cream) 0%, #ece2d2 100%);
  position: relative;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.contact-info-side h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.contact-info-side .lead-desc {
  font-size: 1.05rem;
  color: #475569;
  font-family: 'Sarabun', sans-serif;
  margin-bottom: 2rem;
}

.contact-benefit-list {
  list-style: none;
  margin-bottom: 2.5rem;
}

.contact-benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--navy-dark);
  margin-bottom: 1.1rem;
  font-family: 'Sarabun', sans-serif;
  font-weight: 500;
}

.contact-benefit-list li i {
  color: #0284c7;
  font-size: 1.25rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.quick-channels {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.phone-badge-link {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0284c7;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.phone-badge-link:hover {
  color: #0369a1;
}

.line-badge-btn {
  background: #22c55e;
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.line-badge-btn:hover {
  background: #16a34a;
}

/* Floating Contact Form Card */
.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: 0 25px 60px -15px rgba(20, 32, 46, 0.15);
  position: relative;
}

.contact-form-card .form-subtitle {
  font-size: 0.95rem;
  color: var(--brand-red);
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 600;
}

.contact-form-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #334155;
  text-align: center;
  margin-bottom: 0.5rem;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  color: #64748b;
  font-family: 'Sarabun', sans-serif;
  margin-bottom: 6px;
}

.form-group label span {
  color: var(--brand-red);
}

.form-control {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid #cbd5e1;
  padding: 8px 0;
  font-size: 0.98rem;
  font-family: 'Sarabun', sans-serif;
  color: var(--navy-dark);
  background: transparent;
  outline: none;
  transition: all 0.2s;
}

.form-control:focus {
  border-bottom-color: #0284c7;
}

.form-select {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid #cbd5e1;
  padding: 8px 0;
  font-size: 0.98rem;
  font-family: 'Sarabun', sans-serif;
  color: var(--navy-dark);
  background: transparent;
  outline: none;
  cursor: pointer;
}

.form-select:focus {
  border-bottom-color: #0284c7;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.captcha-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: #475569;
}

.captcha-label span {
  color: var(--brand-red);
}

.captcha-input {
  max-width: 140px;
  border: none;
  border-bottom: 1.5px solid #cbd5e1;
  padding: 6px 0;
  font-size: 1rem;
  outline: none;
  text-align: center;
}

.captcha-help {
  font-size: 0.78rem;
  color: #94a3b8;
  font-family: 'Sarabun', sans-serif;
  margin-top: 4px;
}

.btn-submit-form {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  border: none;
  padding: 0.85rem 2.5rem;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.35);
  transition: all 0.25s;
  float: right;
}

.btn-submit-form:hover {
  background: #0369a1;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(2, 132, 199, 0.45);
}

.form-footer-privacy {
  clear: both;
  padding-top: 1.8rem;
  font-size: 0.78rem;
  color: #94a3b8;
  font-family: 'Sarabun', sans-serif;
  line-height: 1.5;
}

.form-footer-privacy a {
  color: #64748b;
  text-decoration: underline;
}

/* Footer */
.footer {
  background: var(--navy-deep);
  color: var(--bg-cream);
  padding: 5rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand img {
  height: 48px;
  background: var(--bg-cream);
  padding: 3px 8px;
  border-radius: 10px;
  border: 1px solid var(--brand-gold);
  margin-bottom: 1.2rem;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.94rem;
  font-family: 'Sarabun', sans-serif;
  line-height: 1.7;
}

.footer-col-title {
  color: var(--brand-gold-light);
  font-size: 1.15rem;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 8px;
  font-weight: 700;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 32px;
  height: 3px;
  background: var(--brand-red);
  border-radius: 2px;
}

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

.footer-nav-list li {
  margin-bottom: 0.75rem;
}

.footer-nav-list a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-nav-list a:hover {
  color: var(--brand-gold-light);
}

.footer-contact-row {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Sarabun', sans-serif;
}

.footer-contact-row i {
  color: var(--brand-gold);
  width: 18px;
}

.footer-contact-row a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-row a:hover {
  color: var(--brand-gold-light);
}

.copyright {
  border-top: 1px solid rgba(244, 237, 226, 0.12);
  text-align: center;
  padding-top: 2rem;
  color: #94a3b8;
  font-size: 0.88rem;
  font-family: 'Sarabun', sans-serif;
}

/* Responsive */
@media (max-width: 992px) {
  .navbar { padding: 0.9rem 1.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 4rem; }
  .mockup-3d-scene { transform: none; }
  .vision-grid-3d { grid-template-columns: 1fr; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .form-row-2col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .nav-links { display: none; }
}
