/* ============================================
   惠州市盈鑫通风设备工程有限公司 - 企业官网样式
   Industrial Blue #245B96 | Dark Gray #333333 | Safety Orange #F77A20
   ============================================ */

/* === CSS Variables === */
:root {
  --primary: #1E3A5F;
  --primary-dark: #0F2744;
  --primary-light: #2D4D7A;
  --secondary: #1F2937;
  --accent: #D97706;
  --accent-hover: #B45309;
  --bg-light: #F8FAFC;
  --white: #FFFFFF;
  --text-primary: #1F2937;
  --text-secondary: #475569;
  --text-light: #94A3B8;
  --border-color: #E2E8F0;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 8px 40px rgba(15, 23, 42, 0.18);
  --transition: all 0.3s ease;
  --font-stack: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-primary);
  background: var(--white);
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--accent);
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  position: relative;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 3rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 12px auto 0;
}

/* === Section Styles === */
.section-padding {
  padding: 80px 0;
}

.bg-light-custom {
  background-color: var(--bg-light);
}

.bg-dark-custom {
  background-color: var(--secondary);
  color: var(--white);
}

/* === Navbar === */
.navbar-custom {
  padding: 15px 0;
  transition: var(--transition);
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
}

.navbar-custom.scrolled {
  background: var(--primary);
  padding: 8px 0;
  box-shadow: var(--shadow-md);
}

.navbar-custom .navbar-brand {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-custom .navbar-brand .brand-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--white);
}

.navbar-custom .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 16px;
  transition: var(--transition);
  position: relative;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--white);
}

.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-custom .navbar-toggler {
  border: none;
  padding: 4px 8px;
}

.navbar-custom .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-phone {
  color: var(--accent) !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
}

.nav-phone::after {
  display: none !important;
}

/* === Hero Section === */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: 
    linear-gradient(135deg, rgba(8, 20, 36, 0.95) 0%, rgba(20, 40, 70, 0.92) 30%, rgba(30, 58, 95, 0.88) 70%, rgba(15, 25, 45, 0.95) 100%),
    url('https://coze-coding-project.tos.coze.site/coze_storage_7648873854329946155/image/generate_image_3579f6d7-68eb-4616-ba18-7c8818bee2e1.jpeg?sign=1812430045-87b818ed6f-0-51b21806a3f31c046263188062a08d10405cbff5f56ec28cc3555e15d59e8af5') center/cover no-repeat;
  color: var(--white);
  padding-top: 80px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(217, 119, 6, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(30, 58, 95, 0.3) 0%, transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  z-index: 1;
  animation: heroGlow 6s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(180deg, rgba(8, 20, 36, 0.4) 0%, transparent 20%, transparent 80%, rgba(8, 20, 36, 0.6) 100%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 100px,
      rgba(255, 255, 255, 0.015) 100px,
      rgba(255, 255, 255, 0.015) 102px
    );
  z-index: 1;
}

@keyframes heroGlow {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1);
  }
  50% { 
    opacity: 0.85; 
    transform: scale(1.05);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  background: rgba(247, 122, 32, 0.15);
  border: 1px solid rgba(247, 122, 32, 0.35);
  color: var(--accent);
  backdrop-filter: blur(10px);
  padding: 6px 20px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: 3px;
  color: #FFFFFF;
  text-shadow: 
    0 6px 30px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(217, 119, 6, 0.35),
    0 0 120px rgba(30, 58, 95, 0.4),
    0 0 180px rgba(217, 119, 6, 0.15);
  -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.15);
  position: relative;
  display: inline-block;
  animation: titleFloat 4s ease-in-out infinite;
}

.hero-title::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 85%;
  background: linear-gradient(180deg, #D97706, #1E3A5F, #D97706);
  border-radius: 3px;
  box-shadow: 0 0 20px rgba(217, 119, 6, 0.5);
  animation: barPulse 2.5s ease-in-out infinite;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #D97706, #1E3A5F, transparent);
  border-radius: 2px;
  opacity: 0.8;
}

@keyframes titleFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

@keyframes barPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 20px rgba(217, 119, 6, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 35px rgba(217, 119, 6, 0.8); }
}

.hero-desc {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 30px;
  line-height: 1.8;
  max-width: 600px;
}

.hero-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-phone-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(30, 58, 95, 0.2));
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 1.4rem;
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #FFFFFF;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 40px rgba(30, 58, 95, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-phone-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.hero-phone-item:hover::before {
  left: 100%;
}

.hero-phone-item:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(30, 58, 95, 0.25));
}

.hero-phone-item i {
  color: #FFFFFF;
  font-size: 1.7rem;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
}

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

.btn-accent {
  background: linear-gradient(135deg, #D97706, #B45309);
  color: #FFFFFF;
  border: none;
  padding: 14px 36px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 24px rgba(217, 119, 6, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.5s ease;
}

.btn-accent:hover::before {
  left: 100%;
}

.btn-accent:hover {
  background: linear-gradient(135deg, #EAB308, #D97706);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 40px rgba(217, 119, 6, 0.5);
}

.btn-outline-light-custom {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.45);
  padding: 12px 34px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline-light-custom:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.8);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 2px solid;
  border-image: linear-gradient(90deg, transparent, rgba(217, 119, 6, 0.5), rgba(30, 58, 95, 0.5), transparent) 1;
}

.hero-stat-item {
  text-align: center;
  min-width: 100px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hero-stat-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(217, 119, 6, 0.4);
  box-shadow: 0 8px 32px rgba(217, 119, 6, 0.15);
}

.hero-stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: #FFD700;
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 0 20px rgba(217, 119, 6, 0.5);
}

.hero-stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* === About Section === */
.about-intro {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.about-highlight {
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  padding: 24px;
  margin: 24px 0;
  border-radius: 0 6px 6px 0;
}

.about-highlight p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
}

.cert-card {
  background: var(--white);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cert-card img {
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: 4px;
  cursor: pointer;
}

.cert-card h5 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.cert-card p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0;
}

/* === Stats Row === */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 40px 0;
}

.stat-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-unit {
  font-size: 1rem;
  font-weight: 400;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* === Product Section === */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 24px;
  border: 2px solid var(--border-color);
  background: var(--white);
  color: var(--text-secondary);
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.product-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card .card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .card-img-top {
  transform: scale(1.05);
}

.product-card .card-img-wrapper {
  overflow: hidden;
  position: relative;
}

.product-card .card-img-wrapper .zoom-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover .zoom-icon {
  opacity: 1;
}

.product-card .card-body {
  padding: 20px;
}

.product-card .card-body h5 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.product-card .card-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.product-card .product-tag {
  display: inline-block;
  background: rgba(36, 91, 150, 0.08);
  color: var(--primary);
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: 3px;
  margin-top: 8px;
}

/* === Service Section === */
.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border-top: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--accent);
}

.service-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: var(--white);
}

.service-card h5 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-top: 48px;
  position: relative;
}

.process-step {
  text-align: center;
  flex: 1;
  min-width: 120px;
  max-width: 180px;
  position: relative;
  padding: 0 12px;
}

.process-step:not(:last-child)::after {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: -8px;
  top: 24px;
  color: var(--accent);
  font-size: 0.8rem;
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 12px;
}

.step-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.step-desc {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* === Production Section === */
.factory-img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.factory-img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.factory-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.factory-img:hover img {
  transform: scale(1.05);
}

.production-features {
  list-style: none;
  padding: 0;
}

.production-features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.production-features li:last-child {
  border-bottom: none;
}

.production-features li i {
  color: var(--accent);
  margin-top: 4px;
  flex-shrink: 0;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.equipment-item {
  background: var(--white);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.equipment-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.equipment-item .eq-icon {
  width: 48px;
  height: 48px;
  background: rgba(36, 91, 150, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary);
  flex-shrink: 0;
}

.equipment-item h6 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.equipment-item p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0;
}

/* === Cases Section === */
.case-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  cursor: pointer;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.case-card .card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover .card-img-top {
  transform: scale(1.05);
}

.case-card .card-img-wrapper {
  overflow: hidden;
  position: relative;
}

.case-card .case-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
}

.case-card .card-body {
  padding: 20px;
}

.case-card .card-body h5 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.case-card .card-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.case-card .case-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-light);
}

.case-card .case-meta i {
  color: var(--primary);
  margin-right: 4px;
}

/* === Contact Section === */
.contact-info-card {
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  padding: 40px 32px;
  height: 100%;
}

.contact-info-card h4 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: 1.3rem;
}

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

.contact-info-item i {
  font-size: 1.2rem;
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-info-item .info-label {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 2px;
}

.contact-info-item .info-value {
  font-weight: 600;
  font-size: 1rem;
}

.contact-info-item .info-value a {
  color: var(--white);
}

.contact-info-item .info-value a:hover {
  color: var(--accent);
}

.contact-form {
  background: var(--white);
  border-radius: 8px;
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
}

.contact-form h4 {
  margin-bottom: 24px;
  font-size: 1.3rem;
}

.form-control-custom {
  border: 2px solid var(--border-color);
  border-radius: 4px;
  padding: 10px 16px;
  font-size: 0.95rem;
  transition: var(--transition);
  font-family: var(--font-stack);
}

.form-control-custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(36, 91, 150, 0.1);
  outline: none;
}

.form-control-custom.is-invalid {
  border-color: #dc3545;
}

.invalid-feedback {
  font-size: 0.8rem;
  color: #dc3545;
}

.btn-submit {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 40px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-submit:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(36, 91, 150, 0.4);
}

/* === Footer === */
.footer {
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer h5 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer a:hover {
  color: var(--accent);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links li a {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links li a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  margin-top: 0;
  font-size: 0.85rem;
  text-align: center;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #F77A20;
  text-decoration: underline;
}

/* === Floating Contact === */
.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* === Project Items === */
.project-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 16px 12px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.project-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.project-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.project-amount {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.float-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.float-btn-phone {
  background: var(--accent);
}

.float-btn-wechat {
  background: #07C160;
}

.float-btn-top {
  background: var(--primary);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.float-btn-top.visible {
  opacity: 1;
  visibility: visible;
}

.float-btn .float-tooltip {
  position: absolute;
  right: 68px;
  background: var(--white);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.float-btn:hover .float-tooltip {
  opacity: 1;
  visibility: visible;
}

.float-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--white);
}

/* === Modal === */
.modal-custom .modal-content {
  border: none;
  border-radius: 8px;
  overflow: hidden;
}

.modal-custom .modal-header {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 16px 24px;
}

.modal-custom .modal-header .btn-close {
  filter: brightness(0) invert(1);
}

.modal-custom .modal-body {
  padding: 24px;
}

.modal-custom .detail-img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 16px;
  cursor: zoom-in;
}

.modal-custom .detail-img.zoomed {
  cursor: zoom-out;
  transform: scale(1.8);
  transition: transform 0.3s ease;
}

/* === Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* === Toast === */
.toast-custom {
  position: fixed;
  top: 80px;
  right: 20px;
  background: #28a745;
  color: var(--white);
  padding: 16px 24px;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  font-size: 0.95rem;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-custom.show {
  opacity: 1;
  transform: translateX(0);
}

.toast-custom.error {
  background: #dc3545;
}

/* === Responsive === */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-desc {
    font-size: 1.05rem;
  }
  
  .hero-stats {
    gap: 16px;
  }
  
  .hero-stat-num {
    font-size: 1.8rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .navbar-custom {
    background: var(--primary);
    padding: 8px 0;
  }
  
  .navbar-custom .navbar-collapse {
    background: var(--primary);
    padding: 12px 0;
    margin-top: 8px;
    border-radius: 0 0 6px 6px;
  }
  
  .process-step:not(:last-child)::after {
    display: none;
  }
  
  .process-steps {
    gap: 16px;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-desc {
    font-size: 0.95rem;
  }
  
  .hero-phones {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero-btns {
    flex-direction: column;
  }
  
  .hero-btns .btn-accent,
  .hero-btns .btn-outline-light-custom {
    width: 100%;
    justify-content: center;
  }
  
  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  
  .hero-stat-item {
    min-width: 80px;
  }
  
  .stat-num {
    font-size: 2rem;
  }
  
  .stats-row {
    gap: 12px;
  }
  
  .stat-item {
    min-width: 120px;
  }
  
  .section-padding {
    padding: 48px 0;
  }
  
  .filter-tabs {
    gap: 6px;
  }
  
  .filter-btn {
    padding: 6px 16px;
    font-size: 0.85rem;
  }
  
  .contact-info-card {
    margin-bottom: 24px;
  }
  
  .floating-contact {
    right: 12px;
    bottom: 12px;
  }
  
  .float-btn {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    padding-top: 70px;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-stat-num {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.4rem;
  }
}

/* === Utility === */
.text-accent {
  color: var(--accent) !important;
}

.text-primary-custom {
  color: var(--primary) !important;
}

.bg-primary-custom {
  background-color: var(--primary) !important;
}

.fw-800 {
  font-weight: 800 !important;
}

/* === Case Image Thumbnails === */
.case-thumbnail-wrapper {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.case-thumbnail {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.case-thumbnail:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.case-thumbnail.active {
  border-color: var(--primary);
  opacity: 1;
  box-shadow: 0 0 0 3px rgba(36, 91, 150, 0.2);
}

.overflow-hidden {
  overflow: hidden;
}
