/*
 * styles.css
 * Premium Design System for รับดูแลเว็บไซต์.com (Mono Creative)
 * Dark Space Tech Theme with Cyan/Teal Accents & Glassmorphism
 */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

/* --- Design Tokens & CSS Variables --- */
:root {
  /* Colors - Premium Light Theme (inspired by Stripe/Apple/Shopify) */
  --bg-primary: hsl(0, 0%, 100%); /* Pure White #ffffff */
  --bg-secondary: hsl(240, 5%, 98%); /* Light Gray #f9fafb */
  --bg-tertiary: hsl(240, 5%, 96%); /* Zinc 100 #f4f4f5 */
  --color-primary: hsl(217.2, 91.2%, 59.8%); /* Clean Royal Blue #2563eb */
  --color-secondary: hsl(250, 95%, 65%); /* Cyber Indigo/Violet #6366f1 */
  --color-accent: hsl(142, 70%, 45%); /* LINE Green */
  --color-warning: hsl(35, 100%, 55%);
  --color-danger: hsl(350, 100%, 60%);
  
  /* Text Colors */
  --text-primary: hsl(240, 10%, 3.9%); /* Zinc 950 #09090b */
  --text-secondary: hsl(240, 5%, 34%); /* Zinc 600 #52525b */
  --text-muted: hsl(240, 4%, 46%); /* Zinc 500 #71717a */
  
  /* Gradients */
  --grad-hero: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  --grad-accent: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  --grad-card-hover: linear-gradient(135deg, rgba(59, 130, 246, 0.04) 0%, rgba(99, 102, 241, 0.04) 100%);
  
  /* Borders & Shadows */
  --border-glass: rgba(9, 9, 11, 0.08);
  --border-glass-glow: rgba(59, 130, 246, 0.3);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-cyan-glow: 0 0 15px rgba(59, 130, 246, 0.08);
  --shadow-green-glow: 0 0 15px rgba(34, 197, 94, 0.15);

  /* Typography */
  --font-title: 'Kanit', sans-serif;
  --font-body: 'Sarabun', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.45s ease;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Width Container */
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
}

/* --- Layout Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
}

.section-bg-alternate {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 12px;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Decorative Elements --- */
.glowing-blob {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(59, 130, 246, 0.02) 60%, transparent 80%);
  border-radius: 50%;
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

.blob-1 { top: 10%; left: -50px; }
.blob-2 { bottom: 10%; right: -50px; }

/* --- Buttons & UI Elements --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 6px; /* Vercel/Linear sharp style instead of full pill */
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-normal);
  gap: 8px;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
  border: 1px solid var(--text-primary);
}

.btn-primary:hover {
  background: transparent;
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-secondary);
  transform: translateY(-2px);
}

.btn-line {
  background-color: var(--color-accent);
  color: #fff;
  border-radius: 6px;
}

.btn-line:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-green-glow);
}

/* Glass Card Style */
.glass-card {
  background: rgba(255, 255, 255, 0.85); /* Clean white translucent */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.glass-card:hover {
  border-color: var(--border-glass-glow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* --- Header / Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  transition: var(--transition-normal);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  height: 70px;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.35rem;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo svg {
  fill: url(#logo-grad);
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-accent);
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-primary);
}

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

.nav-links a.active {
  color: var(--color-primary);
}

/* Mobile Menu Toggle */
.burger-menu {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  z-index: 1001;
}

.burger-menu span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-normal);
}

/* --- Hero Section --- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  z-index: 10;
}

.badge {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--color-primary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-family: var(--font-title);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  gap: 6px;
}

.badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-primary);
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-title span {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 500px;
  z-index: 2;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: skewX(-25deg);
}

.hero-image-wrapper:hover::before {
  animation: shine 1.5s infinite;
}

@keyframes shine {
  100% { left: 125%; }
}

.hero-glow-back {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(79, 172, 254, 0.02) 60%, transparent 80%);
  z-index: 1;
  pointer-events: none;
}

/* --- Stats Counter Section --- */
.stats-section {
  padding-top: 40px;
  padding-bottom: 40px;
  position: relative;
  z-index: 10;
}

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

.stat-card {
  text-align: center;
  padding: 30px 20px;
}

.stat-number {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 700;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-title);
  font-size: 1.125rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.stat-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --- Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 40px 30px;
}

.service-icon {
  width: 150px; /* 2.5x larger bubble */
  height: 150px;
  border-radius: 50%; /* Circle bubble */
  background: rgba(59, 130, 246, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px auto;
  color: var(--color-primary);
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: var(--transition-normal);
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px; /* Padded to look like floating inside bubble */
}

.service-icon svg {
  width: 64px;
  height: 64px;
}

.service-icon i {
  font-size: 3rem;
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-price {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--color-primary);
  border-top: 1px solid var(--border-glass);
  padding-top: 16px;
  margin-top: auto;
  display: flex;
  justify-content: center; /* Centered pricing */
  align-items: center;
  width: 100%;
}

.service-price span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  margin-left: 6px;
}

/* Featured Service Card Styling */
.service-card.featured {
  border-color: rgba(59, 130, 246, 0.25);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, rgba(99, 102, 241, 0.06) 100%);
  box-shadow: var(--shadow-cyan-glow);
}

.service-card.featured .service-icon {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
  border-color: rgba(59, 130, 246, 0.2);
  color: var(--color-primary);
}

/* --- Pricing Packages --- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
  align-items: stretch;
}

.package-card {
  display: flex;
  flex-direction: column;
  padding: 40px 30px;
}

.package-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--color-secondary);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-family: var(--font-title);
}

.package-name {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.package-price {
  font-family: var(--font-title);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
}

.package-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 6px;
}

.package-features {
  margin-bottom: 30px;
  flex-grow: 1;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.package-features li svg {
  width: 18px;
  height: 18px;
  fill: var(--color-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

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

/* --- Dynamic Pricing Calculator --- */
.calculator-box {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-lg);
  padding: 40px;
}

.calc-title {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.calc-desc {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.calc-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 35px;
}

.calc-option {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: var(--transition-fast);
}

.calc-option:hover {
  border-color: rgba(0, 242, 254, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.calc-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.calc-checkbox svg {
  width: 12px;
  height: 12px;
  fill: #fff;
  opacity: 0;
  transform: scale(0.5);
  transition: var(--transition-fast);
}

.calc-option.selected {
  border-color: var(--color-primary);
  background: rgba(0, 242, 254, 0.04);
}

.calc-option.selected .calc-checkbox {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
}

.calc-option.selected .calc-checkbox svg {
  opacity: 1;
  transform: scale(1);
}

.calc-opt-info {
  display: flex;
  flex-direction: column;
}

.calc-opt-name {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 1.05rem;
}

.calc-opt-price {
  font-size: 0.85rem;
  color: var(--color-primary);
  margin-top: 2px;
}

.calc-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-glass);
  padding-top: 30px;
}

.calc-total-label {
  font-family: var(--font-title);
  font-size: 1.25rem;
  color: var(--text-secondary);
}

.calc-total-val {
  font-family: var(--font-title);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* --- Customer / Showcase Section --- */
.showcase-slider-wrapper {
  margin-top: 30px;
  position: relative;
  width: 100%;
}

.showcase-slider-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 10px 0 25px 0;
  scrollbar-width: none; /* Hide scrollbar Firefox */
}

.showcase-slider-track::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

.showcase-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  aspect-ratio: 4/3;
  cursor: pointer;
  flex: 0 0 calc(33.333% - 20px); /* 3 cards in view on desktop */
  scroll-snap-align: start;
}

@media (max-width: 1024px) {
  .showcase-card {
    flex: 0 0 calc(50% - 15px); /* 2 cards in view on tablet */
  }
}

@media (max-width: 768px) {
  .showcase-card {
    flex: 0 0 100%; /* 1 card in view on mobile */
  }
}

/* Navigation Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(9, 9, 11, 0.08);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-normal);
}

.slider-arrow:hover {
  background: #fff;
  color: var(--color-primary);
  transform: translateY(-50%) scale(1.08);
  box-shadow: var(--shadow-lg);
}

.arrow-left {
  left: -25px;
}

.arrow-right {
  right: -25px;
}

@media (max-width: 1200px) {
  .arrow-left { left: 10px; }
  .arrow-right { right: 10px; }
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.showcase-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition-normal);
}

.showcase-card:hover .showcase-img {
  transform: scale(1.1);
}

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

.showcase-title {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 6px;
}

.showcase-category {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-family: var(--font-title);
  text-transform: uppercase;
}

/* --- FAQ Section --- */
.faq-container {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  background: rgba(30, 41, 59, 0.2);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item.open {
  border-color: rgba(0, 242, 254, 0.2);
  background: rgba(30, 41, 59, 0.4);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  cursor: pointer;
  user-select: none;
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 500;
}

.faq-icon {
  width: 24px;
  height: 24px;
  fill: var(--text-secondary);
  transition: var(--transition-normal);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  fill: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
}

.faq-answer-content {
  padding: 0 28px 24px 28px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-list {
  margin-top: 30px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-details h4 {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-info-details p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-title);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-control {
  border: 1px solid var(--border-glass);
  background: rgba(9, 9, 11, 0.03);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: var(--transition-fast);
  width: 100%;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.15);
  background: #fff;
}

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

.contact-form .btn {
  align-self: flex-start;
}

/* --- Footer --- */
footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  padding-top: 60px;
  padding-bottom: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 24px;
  font-family: var(--font-title);
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
  max-width: 320px;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-primary);
  transform: translateX(3px);
}

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

.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.social-btn:hover {
  background: var(--grad-accent);
  color: var(--bg-primary);
  border-color: transparent;
  transform: translateY(-2px);
}

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

/* --- Persistent LINE Float Button --- */
.line-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--color-accent);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
  z-index: 999;
  cursor: pointer;
  transition: var(--transition-normal);
}

.line-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 6px 25px rgba(34, 197, 94, 0.6);
}

.line-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

/* Modal Styling */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.7);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

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

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass-glow);
  border-radius: var(--radius-md);
  padding: 40px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: var(--transition-normal);
}

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

.modal-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 242, 254, 0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.modal-icon svg {
  width: 32px;
  height: 32px;
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.modal-text {
  color: var(--text-secondary);
  margin-bottom: 25px;
  font-size: 0.95rem;
}

/* --- Media Queries (Responsiveness) --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 1.85rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .calc-options {
    grid-template-columns: 1fr;
  }
  
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 80%;
    height: calc(100vh - 80px);
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-glass);
    flex-direction: column;
    padding: 50px 30px;
    align-items: flex-start;
    transition: var(--transition-normal);
    z-index: 999;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .burger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  
  .burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .calc-result {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}

/* Allow selection in form elements and admin dashboards */
.admin-card, .admin-card input, .admin-card textarea, .form-control, input, textarea {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* Scroll-Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers for sequential reveal */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
