/*
Theme Name: Landing Page SPS Marketing
Template: astra
Version: 2.0
Description: Optimized landing page cho nail salon và restaurant marketing
*/

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #0b4f7a;
  --primary-dark: #083d5f;
  --primary-light: #1a6fa0;
  --secondary: #10b981;
  --accent: #d97706;
  --accent-restaurant: #2563eb;
  --text-dark: #0b1720;
  --text-muted: #6b7280;
  --bg-light: #f9fafb;
  --border: #e5e7eb;
  --white: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
}

/* ===== RESET & BASE ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  background: var(--white);
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ===== HEADER ===== */
.site-header {
  background: #fff;
  padding: 0;
  color: black;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  gap: 40px;
}

.site-title {
  position: absolute;
  left: 20px;
  margin: 0;
  z-index: 2;
}

.site-title img {
  width: 130px;
  height: 130px;
  transition: transform 0.3s ease;

}
/* ===== NAVIGATION ===== */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-nav ul,
.main-nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav > ul.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.main-nav > ul.menu > li {
  position: relative;
}

.main-nav > ul.menu > li > a {
  color: black;
  font-size: 18px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  padding: 10px 20px;
  display: block;
  transition: all 0.3s ease;
  position: relative;
}

.main-nav > ul.menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: black;
  transition: width 0.3s ease;
}

.main-nav > ul.menu > li > a:hover {
  background: transparent;
  color: black;
  transform: none;
}

.main-nav > ul.menu > li > a:hover::after {
  width: 100%;
}

/* Sub-menu */
.main-nav ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgb(255, 255, 255);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: auto !important;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  overflow: hidden;
  padding: 2px 0;
  margin-top: 0;
}

.main-nav ul.sub-menu li {
  display: block;
  width: 100%;
}

.main-nav ul.sub-menu li a {
  color: #333;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: 500;
  pointer-events: auto !important;
  cursor: pointer !important;
}

.main-nav ul.sub-menu li a:hover {
  background: #f5f5f5;
  color: #0b4f7a;
  padding-left: 28px;
  transform: translateX(8px);

}

.main-nav ul.menu > li:hover > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Submenu indicator (arrow) */
.main-nav ul.menu > li.menu-item-has-children > a::before {
  content: '';
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.5s ease;
}
.main-nav ul.menu > li.menu-item-has-children:hover > a::before {
  transform: translateY(-50%) rotate(180deg);
}

/* ===== LANGUAGE SWITCHER ===== */
.header-lang-switcher {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10000;
}

.lang-dropdown {
  position: relative;
}

.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 14px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: black;
  transition: all 0.3s ease;
}

.lang-dropdown-btn:hover {
  background: #f0f9ff;
  border-color: black;
  color:black;
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(11, 79, 122, 0.2);
}

.current-lang-flag {
  font-size: 24px;
  line-height: 1;
}

.dropdown-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.lang-dropdown-btn:hover .dropdown-arrow {
  transform: translateY(2px);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 14px;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  list-style: none;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 9999;
}

.lang-dropdown-menu.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.lang-option:hover {
  background: #f0f9ff;
  transform: translateY(-8px);
  transform: translateX(8px);
  border-top-right-radius: 14px;
  border-bottom-right-radius:14px;
  color: var(--primary);
}

.lang-option.active {
  background: #e0f2fe;
  color: var(--primary);
  font-weight: 700;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  color:black;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10001;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.hamburger span {
  display: block;
  color:black;
  width: 100%;
  height: 3px;
  background: black;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active {
  z-index: 10002;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 280px; /* Bắt đầu từ bên phải của menu */
  width: calc(100% - 280px); /* Chỉ che phần còn lại của màn hình */
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 9998;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ===== SOFTWARE FEATURES SECTION ===== */
.software-features-section {
  background: #ffffff;
  padding: 100px 0;
  overflow: hidden;
}

.software-features-section p {
  display: flex;
  font-size: 18px;
  color: black;
  padding: 50px;
  text-align: center;
  justify-content: center;
  padding-left: 50px;
}

.features-wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-block:nth-child(1) { animation-delay: 0.1s; }
.feature-block:nth-child(2) { animation-delay: 0.2s; }
.feature-block:nth-child(3) { animation-delay: 0.3s; }
.feature-block:nth-child(4) { animation-delay: 0.4s; }

.feature-block.reverse .feature-text {
  grid-column: 2;
  grid-row: 1;
}

.feature-block.reverse .feature-image {
  grid-column: 1;
  grid-row: 1;
}

.feature-text {
  padding: 0 20px;
}

.feature-text h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.3;
}

.feature-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #475569;
  margin: 0;
}

.feature-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-mockup {
  position: relative;
  width: 100%;
  max-width: 550px;
  background: #f1f5f9;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
}

.device-mockup:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.device-mockup img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ===== HERO SECTION ===== */
.hero-section {
	background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,1) 100%);
  padding: 120px 20px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(26, 90, 143, 0.3);
}

.hero-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #64b5f6;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 50px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: linear-gradient(135deg, #0d1b2a 0%, #1a3a52 50%, #0f2a3f 100%);
}

.hero-title span {
  color: #fbbf24;
}

.hero-subtitle {
  font-size: 16px;
  color: #000000;
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 14px 28px;
  background: linear-gradient(135deg, #0fa77a 0%, #059669 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(15, 167, 122, 0.3);
}

.btn-secondary {
  padding: 14px 28px;
  background: transparent;
  color: #64b5f6;
  border: 2px solid #64b5f6;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(100, 181, 246, 0.1);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: #fbbf24;
  display: block;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-text {
  font-size: 14px;
  color: #000000;
  margin-top: 8px;
}

.hero-image {
  background: linear-gradient(135deg, rgba(26, 90, 143, 0.2) 0%, rgba(100, 181, 246, 0.1) 100%);
  border: 1px solid rgba(26, 90, 143, 0.3);
  border-radius: 16px;
  padding: 40px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 80px;
}

/* ===== SERVICES SLIDER ===== */
.services-slider-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.service-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.service-slide.active {
  opacity: 1;
  z-index: 1;
}

.service-content {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  z-index: 2;
  color: white;
  max-width: 600px;
}

.service-badge {
  background: #d97706;
  color: white;
  padding: 8px 20px;
  display: inline-block;
  font-weight: bold;
  margin-bottom: 20px;
  font-size: 14px;
  letter-spacing: 1px;
  border-radius: 4px;
}

.service-content h1 {
  font-size: 5em;
  color: white;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.service-content h1 .slider-text {
  color: #e4d39b;
}

.service-content p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.95;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.service-buttons {
  display: flex;
  gap: 15px;
}

.btn-service-primary,
.btn-service-secondary {
  padding: 15px 35px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: capitalize;
  text-decoration: none;
  border-radius: 10px;
  display: inline-block;
}

.btn-service-primary {
  background: #d97706;
  color: white;
}

.btn-service-primary:hover {
  background: #b45309;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(217, 119, 6, 0.4);
  color: white;
}

.btn-service-secondary {
  background: transparent;
  color: #00ff88;
  border: 2px solid #00ff88;
}

.btn-service-secondary:hover {
  background: #00ff88;
  color: black;
  transform: translateY(-2px);
}

.service-thumbnails {
  position: absolute;
  bottom: 50px;
  right: 80px;
  width: 400px;
  overflow: hidden;
  z-index: 10;
}

.service-thumbnails-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.service-thumbnail {
  width: 120px;
  height: 160px;
  flex-shrink: 0;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  border: 3px solid transparent;
  position: relative;
  background-size: cover;
  background-position: center;
}

.service-thumbnail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  background: rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.service-thumbnail:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

.service-thumbnail:hover::before {
  background: rgba(0,0,0,0.1);
}

.service-thumbnail.active {
  border-color: #00ff88;
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.6);
}

.service-thumbnail.active::before {
  background: transparent;
}

.service-slide-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.service-indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-indicator-dot.active {
  background: #00ff88;
  width: 30px;
  border-radius: 5px;
}

/* ===== WHY CHOOSE SECTION ===== */
.why-choose-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  color: linear-gradient(135deg, #ff7f50 0%, #ffc43d 100%);
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: linear-gradient(135deg, #ff7f50 0%, #ffc43d 100%);
  margin: 15px auto 0;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.why-item {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.why-icon {
  font-size: 36px;
  font-weight: bold;
  color: linear-gradient(135deg, rgba(255,127,80,0.8) 0%, rgba(255,196,61,0.8) 100%);
  margin-bottom: 20px;
}

.why-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: linear-gradient(135deg, rgba(255,127,80,0.8) 0%, rgba(255,196,61,0.8) 100%);
  margin-bottom: 15px;
  line-height: 1.4;
}

.why-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ===== DIGITAL MARKETING SECTION ===== */
#digital-marketing {
  background: #ffffff !important;
  padding: 60px 0 !important;
  position: relative;
  overflow: hidden;
}

#digital-marketing::before {
  display: none !important;
}

/* Header */
.dm-header {
  text-align: center;
  margin-bottom: 50px;
}

.dm-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #0b4f7a;
  margin-bottom: 10px;
}

/* Packages Header */
.packages-header {
  text-align: center;
  padding: 40px 0;
  margin-bottom: 40px;
}

.packages-header h3 {
  font-size: 28px;
  font-weight: 700;
  color: #0b4f7a;
  margin-bottom: 12px;
}

.packages-header p {
  font-size: 16px;
  color: #666;
  margin: 0;
}

/* Đảm bảo nền trắng */
.dm-benefits {
  background: #ffffff !important;
}

.dm-packages {
  background: #ffffff !important;
}



.gradient-text-2 {
  background: #FBBF24;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-top: 10px;
}

.dm-subtitle {
  font-size: 16px;
  color: #8c5e3c;
  margin: 0;
  letter-spacing: 0.5px;
}

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

.benefit-card {
  background: #ffffff;
  border: 2px solid rgba(255,165,80,0.3);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,165,80,0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.benefit-card:hover {
  border-color: rgba(255,165,80,0.6);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(255,165,80,0.2);
}

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

.benefit-icon {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100px;
}

.benefit-icon img {
  width: 140px;
  height: 80px;
  object-fit: contain;
  border-radius: 12px;
  transition: all 0.4s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.benefit-card:hover .benefit-icon img {
  box-shadow: 0 8px 20px rgba(255,165,80,0.4);
  transform: scale(1.05);
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1);
}

.benefit-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: #FBBF24;
  margin: 20px 0 15px 0;
  letter-spacing: 0.5px;
}

.benefit-card p {
  font-size: 15px;
  color: #000000;
  margin: 0;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

.benefit-card:hover h4 {
  color: #ffc43d;
}

.dm-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 20px; 

}


.package-card {
  position: relative;
  background: #ffffff;
  border: 2px solid transparent; 
  border-image: linear-gradient(135deg, #b8860b, #d4af37, #f5c542) 1;
  border-radius: 12px;
  padding: 30px;
  color: #000000;
  display: flex;
  flex-direction: column;
  min-height: 700px;
  transition: all 0.3s ease;
}

.package-card:hover {
  border-color: rgba(180, 140, 100, 0.5);
  box-shadow: 0 8px 25px rgba(200, 160, 120, 0.2);
  transform: translateY(-5px);
}

.package-badge {
  display: inline-block;
  position: absolute;
  top: -12px;
  left: 20px;
  background: linear-gradient(135deg, #b8860b 0%, #d4af37 50%, #f5c542 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.package-badge.popular {
  background: linear-gradient(135deg, #b8860b 0%, #d4af37 50%, #f5c542 100%);
}

.package-card.package-pro .package-badge {
  background: linear-gradient(135deg, #b8860b 0%, #d4af37 50%, #f5c542 100%)7;
}

.package-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #d4af37;
  margin-top: 10px;
  margin-bottom: 8px;
}

.package-duration {
  font-size: 14px;
  color: #000000;
  margin-bottom: 25px;
}

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

.package-details h4 {
  font-size: 15px;
  font-weight: 700;
  color: #000000;
  margin-top: 20px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  min-height: 24px;  /* Dòng này */
  gap: 8px;
}

.package-details h4:first-child {
  margin-top: 0;
}

.package-details p {
  font-size: 14px;
  color: #000000;
  margin: 0;
  line-height: 1.5;
}

.package-details ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
}

.package-details li {
  font-size: 14px;
  color: #000000;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.package-details li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #d4af37;
  font-weight: bold;
}

.btn-package {
  width: 100%;
  padding: 14px 20px;
  height: 50px;
  border: 2px solid #d4af37;
  background: transparent;
  color: #d4af37;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
}

.btn-package:hover {
  background: rgba(212, 175, 55, 0.25);
  transform: translateY(-2px);
}

.btn-package-primary {
  background: #d4af37;
  color: white;
  border-color: #d4af37;
}

.btn-package-primary:hover {
  background: #e5c158;
  border-color: #e5c158;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

@media (max-width: 1024px) {
  .dm-packages {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}


/* POPUP OVERLAY */
.popup-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(4px);
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 99998 !important;
    pointer-events: auto !important;
    overflow-y: auto !important; /* Cho phép scroll trong overlay */
    overflow-x: hidden !important;
}

.popup-overlay.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.popup-box {
    position: fixed !important; /* Giữ fixed */
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important; /* Luôn ở giữa */
    width: 90% !important;
    max-width: 600px !important;
    max-height: 85vh !important;
    padding: 40px !important;
    background: #fff !important;
    border-radius: 24px !important;
    border: 2px solid rgba(47, 128, 237, 0.2) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.35s ease, visibility 0.35s ease !important;
    z-index: 99999 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin !important;
    scrollbar-color: #2F80ED #f0f0f0 !important;
    margin: 0 !important;
}

.popup-box.show {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}


/* Scrollbar Webkit */
.popup-box::-webkit-scrollbar {
    width: 8px;
}

.popup-box::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.popup-box::-webkit-scrollbar-thumb {
    background: #2F80ED;
    border-radius: 4px;
}

.popup-box::-webkit-scrollbar-thumb:hover {
    background: #1666d3;
}

/* CLOSE BUTTON */
.popup-close {
    position: absolute !important;
    top: 12px !important;
    right: 16px !important;
    font-size: 30px !important;
    font-weight: 600 !important;
    color: #2F80ED !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    z-index: 10 !important;
}

.popup-close:hover {
    color: #1666d3 !important;
    transform: scale(1.15) !important;
}

/* Popup Content */
#popup-content {
    margin-top: 20px;
    padding-right: 10px;
}

#popup-content h2 {
    color: #2F80ED;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
}

#popup-content h3 {
    color: #2F80ED;
    font-size: 20px;
    margin-bottom: 15px;
    margin-top: 25px;
    font-weight: 700;
}

#popup-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
}

#popup-content ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

#popup-content li {
    color: #555;
    font-size: 14px;
    padding: 8px 0 8px 20px;
    position: relative;
    line-height: 1.6;
}

#popup-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2F80ED;
    font-weight: bold;
    font-size: 16px;
}

#popup-content strong {
    color: #333;
    font-weight: 600;
}

/* Package Detail Link */
.package-detail-link {
    display: block;
    text-align: center;
    color: #d4af37;
    text-decoration: underline;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin: 8px 0 0;
    transition: all 0.25s ease;
}

.package-detail-link:hover {
    color: #b8922d;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
    .popup-box {
        width: 95% !important;
        padding: 30px 20px !important;
        max-height: 90vh !important;
    }

    .popup-close {
        font-size: 26px !important;
        width: 36px !important;
        height: 36px !important;
        top: 10px !important;
        right: 10px !important;
    }

    #popup-content h2 {
        font-size: 22px;
    }

    #popup-content h3 {
        font-size: 18px;
        margin-top: 20px;
    }

    #popup-content p,
    #popup-content li {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .popup-box {
        width: 98% !important;
        padding: 25px 15px !important;
    }

    #popup-content h2 {
        font-size: 20px;
    }

    #popup-content h3 {
        font-size: 17px;
    }

    #popup-content p,
    #popup-content li {
        font-size: 13px;
    }
}


/* ===== SECTION HEADER ===== */
.dm-process {
    padding: 100px 0;
}

.dm-process h3 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.process-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 80px;
    font-weight: 500;
}

.timeline-container {
    position: relative;
    padding: 60px 0;
}

/* Đường timeline chính */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 5%;
    right: 5%;
    height: 8px;
    background: linear-gradient(90deg, #FFE3A1 0%, #FFE3A1 14%, #FFE3A1 28%, #FFE3A1 42%, #FF7B26 58%, #FF7B26 72%, #FF7B26 86%, #FF7B26 100%);
    border-radius: 4px;
    z-index: 0;
}

.timeline-items {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 0;
    position: relative;
    z-index: 1;
}

.timeline-item {
    flex: 1;
    text-align: center;
    padding: 0 15px;
    animation: slideUp 0.8s ease both;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.15s; }
.timeline-item:nth-child(3) { animation-delay: 0.2s; }
.timeline-item:nth-child(4) { animation-delay: 0.25s; }
.timeline-item:nth-child(5) { animation-delay: 0.3s; }
.timeline-item:nth-child(6) { animation-delay: 0.35s; }
.timeline-item:nth-child(7) { animation-delay: 0.4s; }

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
    border-radius: 50%;
    background: white;
    position: relative;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 4px solid white;
    z-index: 2;
}

.timeline-item:nth-child(1) .timeline-circle {
    background: linear-gradient(135deg, #ff9500, #ffb84d);
}

.timeline-item:nth-child(2) .timeline-circle {
    background: linear-gradient(135deg, #ff8c42, #ffa366);
}

.timeline-item:nth-child(3) .timeline-circle {
    background: linear-gradient(135deg, #ff7b54, #ff9a7b);
}

.timeline-item:nth-child(4) .timeline-circle {
    background: linear-gradient(135deg, #ff6b66, #ff8888);
}

.timeline-item:nth-child(5) .timeline-circle {
    background: linear-gradient(135deg, #00d4ff, #4dd9ff);
}

.timeline-item:nth-child(6) .timeline-circle {
    background: linear-gradient(135deg, #0099ff, #33c9ff);
}

.timeline-item:nth-child(7) .timeline-circle {
    background: linear-gradient(135deg, #0080cc, #3399ff);
}

.timeline-circle:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    line-height: 1;
}

.timeline-content {
    flex: 1;
    width: 100%;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.timeline-item:hover .timeline-content {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.timeline-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a3a52;
    margin-bottom: 8px;
    line-height: 1.3;
}

.timeline-content p {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1200px) {
    .timeline-circle {
        width: 90px;
        height: 90px;
        margin-bottom: 25px;
    }

    .step-number {
        font-size: 2.2rem;
    }

    .timeline-content h3 {
        font-size: 0.95rem;
    }

    .timeline-content p {
        font-size: 0.85rem;
    }

    .timeline-item {
        padding: 0 10px;
    }
}

@media (max-width: 1024px) {
    .timeline-circle {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }

    .step-number {
        font-size: 1.9rem;
    }

    .timeline-content h3 {
        font-size: 0.9rem;
    }

    .timeline-content p {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .dm-process h3 {
        font-size: 1.8rem;
    }

    .timeline-container::before {
        top: 45px;
    }

    .timeline-items {
        flex-wrap: wrap;
        gap: 40px 0;
    }

    .timeline-item {
        flex: 0 1 calc(50% - 10px);
        padding: 0;
    }

    .timeline-circle {
        width: 75px;
        height: 75px;
        margin-bottom: 18px;
    }

    .step-number {
        font-size: 1.7rem;
    }

    .timeline-content h3 {
        font-size: 0.9rem;
    }

    .timeline-content p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .dm-process h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .process-subtitle {
        font-size: 0.9rem;
    }

    .timeline-container::before {
        top: 40px;
    }

    .timeline-items {
        flex-direction: column;
        gap: 45px;
        align-items: center;
    }

    .timeline-item {
        flex: 0 1 100%;
        max-width: 300px;
    }

    .timeline-circle {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }

    .step-number {
        font-size: 1.5rem;
    }

    .timeline-content h3 {
        font-size: 0.85rem;
    }

    .timeline-content p {
        font-size: 0.75rem;
    }
}
/* ===== FAQ ===== */
.faq-item {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-light);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(11, 79, 122, 0.1);
}

.faq-question {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0;
  cursor: pointer;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--primary-light);
}

.faq-answer {
  color: var(--text-muted);
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: #e4f1fe;
  color: black;
  padding: 80px 32px;
  text-align: center;
  margin: 60px 0;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.btn-contact,
.btn-whatsapp {
  border: none;
  border-radius: 30px;
  font-size: 18px;
  padding: 16px 32px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-contact {
  background: #10b981;
  color: #fff;
}

.btn-contact:hover {
  background: #059669 !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4) !important;
}

.btn-whatsapp {
  background: #fff;
  color: #0b4f7a;
  border: 2px solid #0b4f7a;
}

.btn-whatsapp:hover {
  background: #0b4f7a !important;
  color: #fff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 16px rgba(11, 79, 122, 0.3) !important;
}
/*=====================*/
.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 600px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ===== CONTACT FORM ===== */
.contact-form-placeholder {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.form-row {
  width: 100%;
}

.form-row.full {
  grid-column: 1 / -1;
}

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

.form-group label {
  font-weight: 600;
  color: #0b4f7a;
  font-size: 14px;
}

.required {
  color: #ef4444;
}

.form-group input,
.form-group textarea,
.form-group select {
/*  padding: 12px 16px;*/
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #ffffff;
  color: #1f2937;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #0b4f7a;
  box-shadow: 0 0 0 3px rgba(11, 79, 122, 0.1);
  background: #fafafa;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%230b4f7a' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  padding-left: 16px;
  cursor: pointer;
  color: #1f2937;
}

.form-group select::-ms-expand {
  display: none;
}

.form-group select option {
  color: #1f2937;
  background: #ffffff;
  padding: 8px;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.form-submit {
  padding: 14px 28px;
  background: linear-gradient(135deg, #0fa77a 0%, #059669 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.form-submit:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 167, 122, 0.3);
}

.form-submit:active {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-form-placeholder {
    padding: 32px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    /*padding: 11px 14px;*/
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .contact-form-placeholder {
    padding: 24px;
  }

  .contact-form {
    gap: 16px;
  }

  .form-submit {
    padding: 12px 24px;
    font-size: 14px;
  }
}
/* ===== SECTIONS ===== */
section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type {
  border-bottom: none;
}

section h2 {
  color: var(--primary);
  font-size: 36px;
  margin-bottom: 16px;
  text-align: center;
  font-weight: 700;
  position: relative;
  padding-bottom: 16px;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
}

section h3 {
  color: var(--primary);
  font-size: 26px;
  margin: 32px 0 16px;
}

/* ===== CHECK LIST ===== */
ul.check {
  padding-left: 0;
  list-style: none;
}

ul.check li {
  padding: 12px 0 12px 36px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
}

ul.check li:before {
  content: '';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
  font-size: 20px;
}

/* ===== FOOTER ===== */
.custom-footer {
  background: #fff;
  color: black;
  font-family: "Segoe UI", sans-serif;
  border-top: 0.5px solid #8dc6ff;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
  margin-top: 60px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 20px;
  gap: 32px;
}

.footer-col {
  flex: 1 1 250px;
  min-width: 250px;
}

.footer-logo {
  width: 250px;
  height: 250px;
  margin-bottom: 10px;
}

.footer-col h3 {
  text-align:left;
  font-size: 20px;
  color: black;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col p,
.footer-col li {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 10px;
  text-align:left;
}

.footer-col ul {
  text-align:left;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col a {
  color: black;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-col a:hover {
  color: #D98760;
  text-decoration: underline;
}

.footer-social {
  text-align:left;
  margin-left: 50px;
  margin-top: 16px;
}

.footer-social a {
  text-align:left;
  display: inline-block;
  margin-right: 12px;
  font-size: 24px;
  color: black;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: #D98760;
  transform: scale(1.2) rotate(5deg);
}

.footer-bottom {
  text-align: center;
  border-top: 0.5px solid black;
  background: #fff;
  padding: 20px 0;
  font-size: 14px;
  margin-top: 20px;
  color: black;
}


/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* ==========================================================
   RESPONSIVE CSS - CONSOLIDATED (CHỈ 3 KHỐI DUY NHẤT)
   ========================================================== */

/* ===== TABLET (769px - 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  .main-nav > ul.menu {
    gap: 20px;
  }

  .main-nav > ul.menu > li > a {
    font-size: 16px;
    padding: 8px 16px;
  }

  .site-title img {
    width: 100px;
    height: 100px;
  }

  .software-features-section {
    padding: 80px 0;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 60px;
    margin-bottom: 100px;
  }

  .feature-block.reverse .feature-text,
  .feature-block.reverse .feature-image {
    grid-column: auto;
    grid-row: auto;
  }

  .device-mockup {
    max-width: 100%;
    padding: 30px;
  }

  .feature-text {
    text-align: center;
    padding: 0;
  }

  .feature-text h3 {
    font-size: 20px;
  }

  .feature-image {
    order: -1;
  }

  .service-content h1 {
    font-size: 3.5em;
  }

  .service-thumbnails {
    width: 300px;
    right: 30px;
  }

  .service-thumbnail {
    width: 90px;
    height: 120px;
  }

  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .dm-benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .dm-packages {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

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

  .process-arrow {
    display: none;
  }

  .section-title {
    font-size: 32px;
  }

  .dm-process h3 {
    font-size: 28px;
  }
}

/* ===== MOBILE (≤768px) ===== */
@media (max-width: 768px) {
  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  .site-header .container {
    padding: 15px 20px;
    position: relative;
    flex-wrap: nowrap !important;
  }

  .site-title {
    position: relative;
    left: 0;
    z-index: 10001;
  }

  .site-title img {
    width: 80px;
    height: 80px;
  }

  .hamburger {
    display: flex;
  }

  .header-lang-switcher {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 10002;
  }

  .lang-dropdown-btn {
    padding: 8px 12px;
    font-size: 14px;
  }

  .current-lang-flag {
    font-size: 20px;
  }

  .current-lang-text,
  .dropdown-arrow {
    display: none;
  }

  .lang-dropdown-menu {
    right: 0;
    left: auto;
    min-width: 160px;
  }

  .lang-option {
    padding: 10px 14px;
    font-size: 14px;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: #1a1a1a;
    padding: 100px 0 30px;
    overflow-y: auto;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
  }

  .main-nav.active {
    left: 0;
  }

  .main-nav > ul.menu {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .main-nav > ul.menu > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav > ul.menu > li > a {
    display: block;
    padding: 16px 24px;
    font-size: 16px;
    border-radius: 0;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
  }

  .main-nav > ul.menu > li > a:hover {
    background: #D98760;
    color: white;
    transform: translateX(8px);
    padding-left: 32px;
  }

  .main-nav ul.sub-menu {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    border-radius: 0;
    background: #252525;
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav ul.menu > li.menu-item-has-children > a::after {
    content: "▼";
    float: right;
    font-size: 12px;
    transition: transform 0.3s ease;
  }

  .main-nav ul.menu > li.menu-item-has-children.active > a::after {
    transform: rotate(180deg);
  }

  .main-nav ul.menu > li.menu-item-has-children.active > ul.sub-menu {
    display: block;
    max-height: 500px;
  }

  .main-nav ul.sub-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .main-nav ul.sub-menu li:last-child {
    border-bottom: none;
  }

  .main-nav ul.sub-menu li a {
    padding: 12px 24px 12px 40px;
    font-size: 14px;
    color: #ccc;
  }

  .main-nav ul.sub-menu li a:hover {
    background: #D98760;
    color: white;
    padding-left: 48px;
  }

  .software-features-section {
    padding: 60px 0;
  }

  .feature-block {
    margin-bottom: 80px;
    gap: 40px;
  }

  .feature-text h3 {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .feature-text p {
    font-size: 15px;
    line-height: 1.7;
  }

  .device-mockup {
    padding: 20px;
    border-radius: 16px;
  }

  .device-mockup img {
    border-radius: 8px;
  }

  .service-content {
    left: 5%;
    max-width: 90%;
  }

  .service-content h1 {
    font-size: 2.5em;
  }

  .service-content p {
    font-size: 0.9em;
  }

  .service-thumbnails {
    width: 250px;
    bottom: 120px;
    right: 50%;
    transform: translateX(50%);
  }

  .service-thumbnail {
    width: 70px;
    height: 95px;
  }

  .service-thumbnails-track {
    gap: 10px;
  }

  .service-buttons {
    flex-direction: column;
  }

  .btn-service-primary,
  .btn-service-secondary {
    width: 100%;
    text-align: center;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-title {
    font-size: 24px;
  }

  .dm-benefits {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dm-packages {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .package-card {
    min-height: auto;
  }

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

  .benefit-card {
    padding: 30px 20px;
  }

  .benefit-icon img {
    width: 60px;
    height: 60px;
  }

  .benefit-card h4 {
    font-size: 18px;
  }

  .benefit-card p {
    font-size: 14px;
  }

  .dm-process h3 {
    font-size: 24px;
  }

  .process-subtitle {
    font-size: 14px;
  }

  .process-item {
    min-height: auto;
    padding: 20px 15px;
  }

  .process-item h4 {
    font-size: 14px;
  }

  .process-item p {
    font-size: 11px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .contact-form {
    padding: 24px;
  }

  section h2 {
    font-size: 28px;
  }

  section h3 {
    font-size: 22px;
  }

  .cta-section {
    padding: 48px 20px;
  }

  .cta-section h2 {
    font-size: 26px;
  }

  .container {
    padding: 16px;
  }

  .stat-number {
    font-size: 40px;
  }
}

/* ===== EXTRA SMALL MOBILE (≤480px) ===== */
@media (max-width: 480px) {
  .menu-overlay {
    left: 260px;
    width: calc(100% - 260px);
  }

  .site-title img {
    width: 70px;
    height: 70px;
  }

  .hamburger {
    width: 26px;
    height: 20px;
  }

  .hamburger span {
    height: 2.5px;
  }

  .main-nav {
    width: 260px;
  }

  .main-nav > ul.menu > li > a {
    padding: 14px 20px;
    font-size: 15px;
  }

  .header-lang-switcher {
    right: 15px;
  }

  .lang-dropdown-btn {
    padding: 6px 10px;
  }

  .current-lang-flag {
    font-size: 18px;
  }

  .software-features-section {
    padding: 40px 0;
  }

  .feature-block {
    margin-bottom: 60px;
    gap: 30px;
  }

  .feature-text h3 {
    font-size: 16px;
    letter-spacing: 0.5px;
  }

  .feature-text p {
    font-size: 14px;
  }

  .device-mockup {
    padding: 15px;
    border-radius: 12px;
  }

  .service-content h1 {
    font-size: 2em;
  }

  .btn-service-primary,
  .btn-service-secondary {
    padding: 12px 25px;
    font-size: 14px;
  }

  .service-thumbnail {
    width: 60px;
    height: 80px;
  }

  .service-thumbnails {
    width: 200px;
  }

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

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  section h2 {
    font-size: 24px;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(-10px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

.animate-in {
  animation: slideInUp 1.3s ease-out;
}

/* ===== PRINT STYLES ===== */
@media print {
  .site-header,
  .cta-section,
  .contact-form,
  .btn,
  .hamburger,
  .menu-overlay {
    display: none;
  }

  section {
    page-break-inside: avoid;
  }
}

/* ===== CONTACT FORM 7 COMPACT STYLING ===== */

.contact-form-placeholder {
  background: white;
  padding: 32px; /* Giảm từ 40px */
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-width: 100%;
}

.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 0px; /* Không khoảng cách */
}

/* Field wrapper */
.wpcf7-form-control-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px; /* Giảm từ 4px */
  width: 100%;
}

/* Labels */
.wpcf7-form label {
  font-size: 14px; /* Giảm từ 15px */
  font-weight: 600;
  color: #1a3a52;
  display: block;
  margin-bottom: 0px; /* Giảm từ 2px */
}

.wpcf7-form label .wpcf7-form-required {
  color: #ff4444;
  margin-left: 4px;
}

/* Input & Select & Textarea */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 14px; /* Giảm từ 14px 16px */
  font-size: 14px; /* Giảm từ 15px */
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: #fff;
  color: #1f2937;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: #9ca3af;
}

/* Focus state */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="number"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #0b4f7a;
  box-shadow: 0 0 0 3px rgba(11, 79, 122, 0.1);
}

/* Textarea */
.wpcf7-form textarea {
  resize: vertical;
  min-height: 100px; /* Giảm từ 120px */
  font-size: 14px;
}

/* Select dropdown */
.wpcf7-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230b4f7a' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.wpcf7-form select option {
  padding: 8px;
  color: #1f2937;
}

/* Submit button */
.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"],
.wpcf7-submit {
  width: 100%;
  padding: 14px 20px; /* Giảm từ 16px 24px */
  font-size: 15px; /* Giảm từ 16px */
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, #0b4f7a 0%, #1a6fa0 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px; /* Giảm từ 10px */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button[type="submit"]:hover,
.wpcf7-submit:hover {
  background: linear-gradient(135deg, #1a6fa0 0%, #2d5a8c 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(11, 79, 122, 0.3);
}

.wpcf7-form input[type="submit"]:active,
.wpcf7-form button[type="submit"]:active,
.wpcf7-submit:active {
  transform: translateY(0);
}

/* Spinner loading */
.wpcf7-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

/* Messages */
.wpcf7-response-output {
  padding: 14px 16px; /* Giảm từ 16px 20px */
  border-radius: 8px;
  margin-bottom: 14px; /* Giảm từ 16px */
  font-weight: 600;
  font-size: 13px; /* Giảm từ 14px */
}

.wpcf7-mail-sent-ok {
  background-color: #d1fae5;
  color: #065f46;
  border: 2px solid #10b981;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
  background-color: #fee2e2;
  color: #991b1b;
  border: 2px solid #ef4444;
}

.wpcf7-form-response-output {
  display: block;
}

/* Validation error message */
.wpcf7-form-control.wpcf7-form-control-has-error {
  border-color: #ef4444 !important;
  background-color: #fef2f2;
}

.wpcf7-not-valid-tip {
  color: #dc2626;
  font-size: 12px; /* Giảm từ 13px */
  margin-top: 4px; /* Giảm từ 6px */
  display: block;
}

/* Checkbox & Radio */
.wpcf7-form input[type="checkbox"],
.wpcf7-form input[type="radio"] {
  width: auto;
  margin-right: 8px;
  cursor: pointer;
}

.wpcf7-form input[type="checkbox"] + label,
.wpcf7-form input[type="radio"] + label {
  display: inline;
  margin-bottom: 0;
  font-weight: 400;
  cursor: pointer;
  font-size: 14px;
}

/* ===== RESPONSIVE - TABLET ===== */
@media (max-width: 768px) {
  .contact-form-placeholder {
    padding: 24px; /* Giảm từ 32px */
  }

  .wpcf7-form {
    gap: 10px; /* Giảm từ 14px */
  }

  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form select,
  .wpcf7-form textarea {
    padding: 11px 12px; /* Giảm từ 12px 14px */
    font-size: 15px;
  }

  .wpcf7-form label {
    font-size: 13px; /* Giảm từ 14px */
  }

  .wpcf7-form input[type="submit"],
  .wpcf7-form button[type="submit"] {
    padding: 12px 18px; /* Giảm từ 14px 20px */
    font-size: 14px; /* Giảm từ 15px */
  }
}

/* ===== RESPONSIVE - MOBILE ===== */
@media (max-width: 480px) {
  .contact-form-placeholder {
    padding: 16px; /* Giảm từ 24px */
  }

  .wpcf7-form {
    gap: 10px; /* Giảm từ 12px */
  }

  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form select,
  .wpcf7-form textarea {
    padding: 10px 10px; /* Giảm từ 11px 12px */
    font-size: 16px; /* Giữ 16px để tránh zoom iOS */
  }

  .wpcf7-form label {
    font-size: 12px; /* Giảm từ 13px */
  }

  .wpcf7-form textarea {
    min-height: 80px; /* Giảm từ 100px */
  }

  .wpcf7-form input[type="submit"],
  .wpcf7-form button[type="submit"] {
    padding: 12px 16px; /* Giảm từ 12px 18px */
    font-size: 13px; /* Giảm từ 14px */
  }
}