/* ============================================
   Xianglong Junma - Modern Design Style
   Inspired by modern card-based layouts
   ============================================ */

/* CSS Variables - Dark Theme (Default) */
:root {
  /* Primary Colors */
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;

  /* Secondary Colors */
  --secondary: #8b5cf6;
  --accent: #ec4899;
  --cyan: #06b6d4;

  /* Backgrounds */
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-card: #1e293b;
  --bg-card-hover: #334155;

  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  /* Borders */
  --border-color: rgba(255, 255, 255, 0.1);
  --border-color-light: rgba(255, 255, 255, 0.05);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
  --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  --gradient-hero: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(139, 92, 246, 0.8) 50%, rgba(236, 72, 153, 0.7) 100%);

  /* Spacing */
  --container-max: 1200px;
  --section-spacing: 100px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* Light Theme */
[data-theme="light"] {
  /* Primary Colors */
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: #60a5fa;

  /* Secondary Colors */
  --secondary: #8b5cf6;
  --accent: #f43f5e;
  --cyan: #06b6d4;

  /* Backgrounds */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;

  /* Text Colors */
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  /* Borders */
  --border-color: rgba(0, 0, 0, 0.1);
  --border-color-light: rgba(0, 0, 0, 0.05);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #f43f5e 100%);
  --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --gradient-dark: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  --gradient-hero: linear-gradient(135deg, rgba(59, 130, 246, 0.9) 0%, rgba(139, 92, 246, 0.8) 50%, rgba(244, 63, 94, 0.7) 100%);
}

/* Blue Theme */
[data-theme="blue"] {
  /* Primary Colors */
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light: #38bdf8;

  /* Secondary Colors */
  --secondary: #6366f1;
  --accent: #f43f5e;

  /* Backgrounds */
  --bg-primary: #0c1929;
  --bg-secondary: #1a2332;
  --bg-card: #1a2332;
  --bg-card-hover: #2a3546;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
  --gradient-secondary: linear-gradient(135deg, #6366f1 0%, #f43f5e 100%);
  --gradient-hero: linear-gradient(135deg, rgba(14, 165, 233, 0.7) 0%, rgba(99, 102, 241, 0.6) 50%, rgba(244, 63, 94, 0.5) 100%);
}

/* Light Theme overlay adjustment */
[data-theme="light"] .hero-overlay {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.4) 0%, rgba(226, 232, 240, 0.3) 100%);
}

[data-theme="light"] .hero-bg {
  background-image: url('../images/coverage/c1.jpg');
}

/* Blue Theme overlay adjustment */
[data-theme="blue"] .hero-overlay {
  background: linear-gradient(135deg, rgba(12, 25, 41, 0.3) 0%, rgba(26, 35, 50, 0.2) 100%);
}

[data-theme="blue"] .hero-bg {
  background-image: url('../images/coverage/c1.jpg');
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 0;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-color-light);
  z-index: 1000;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: var(--shadow-lg);
  padding: 12px 0;
}

.navbar-brand {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary) !important;
  transition: var(--transition);
}

.navbar-brand i {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav .nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary) !important;
  padding: 10px 20px !important;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 4px 8px;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius-sm);
}

.lang-btn:hover,
.lang-btn.active {
  color: var(--text-primary);
  background: var(--gradient-primary);
}

.lang-divider {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
}

.theme-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.theme-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--primary);
}

[data-theme="light"] .theme-btn {
  color: #f59e0b;
}

[data-theme="dark"] .theme-btn {
  color: #fbbf24;
}

.navbar-toggler {
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: var(--radius-md);
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  background-image: url('../images/coverage/c1.jpg');
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.3) 0%, rgba(30, 41, 59, 0.2) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 80px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: fadeInUp 0.8s ease;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 16px 36px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  color: var(--text-primary);
  transition: var(--transition);
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.btn-primary::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: var(--transition-slow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

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

.btn-outline-light {
  background: transparent;
  border: 2px solid var(--border-color);
  padding: 16px 36px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  color: var(--text-primary);
  transition: var(--transition);
}

.btn-outline-light:hover {
  background: var(--bg-card);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--text-muted);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

/* ============================================
   Sections Common
   ============================================ */
section {
  padding: var(--section-spacing) 0;
  position: relative;
}

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

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
  background: var(--gradient-dark);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  text-align: left;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.75rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-glow);
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary-light);
  transition: var(--transition);
}

.service-card:hover .tag {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.3);
}

/* ============================================
   Why Choose Us Section
   ============================================ */
.why-us-section {
  background: var(--bg-primary);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: left;
  transition: var(--transition);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-secondary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
  background: var(--gradient-dark);
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.about-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-card p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery-section {
  background: var(--bg-primary);
}

#galleryCarousel {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
}

.carousel-item {
  position: relative;
}

.carousel-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  background: rgba(15, 23, 42, 0.7);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: var(--transition);
}

#galleryCarousel:hover .carousel-control-prev,
#galleryCarousel:hover .carousel-control-next {
  opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(99, 102, 241, 0.8);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 24px;
  height: 24px;
}

.carousel-indicators {
  bottom: 20px;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  margin: 0 6px;
  transition: var(--transition);
}

.carousel-indicators .active {
  background: var(--primary);
  width: 36px;
  border-radius: 6px;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  padding: 80px 0;
  background: var(--gradient-primary);
  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 xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center;
  background-size: cover;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta {
  background: var(--text-primary);
  color: var(--primary);
  border: none;
  padding: 16px 40px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
  background: var(--bg-primary);
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  height: 100%;
}

.info-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-primary);
  flex-shrink: 0;
}

.info-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.info-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  height: 100%;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.form-field {
  margin-bottom: 24px;
  position: relative;
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder {
  color: transparent;
}

.form-label {
  position: absolute;
  left: 20px;
  top: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
  transition: var(--transition);
  background: transparent;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
  top: -10px;
  left: 16px;
  font-size: 0.8rem;
  color: var(--primary);
  background: var(--bg-card);
  padding: 0 8px;
}

.btn-submit {
  width: 100%;
  background: var(--gradient-primary);
  border: none;
  padding: 16px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

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

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 24px;
}

.footer h3,
.footer h4 {
  color: var(--text-primary);
  margin-bottom: 20px;
  font-weight: 700;
}

.footer h3 {
  font-size: 1.5rem;
}

.footer h4 {
  font-size: 1rem;
}

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

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

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

.footer-links a {
  color: var(--text-secondary);
  transition: var(--transition);
  display: inline-block;
}

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

.footer-contact p {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact i {
  color: var(--primary);
  margin-top: 4px;
}

.wechat-qr {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-color);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  margin-top: 40px;
}

.copyright,
.icp {
  margin-bottom: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.icp {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.icp a {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.icp a:hover {
  color: var(--primary-light);
}

.icp img {
  height: 16px;
}

/* ============================================
   Partners Section
   ============================================ */
.partners-section {
  background: var(--gradient-dark);
  padding: 50px 0;
}

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

.partners-wrapper .row {
  justify-content: center;
}

/* Force 10 icons per row for all screens */
.partners-wrapper .row > div {
  flex: 0 0 10%;
  max-width: 10%;
}

.partner-logo {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 2px;
}

.partner-logo:hover {
  transform: translateY(-2px) scale(1.02);
  background: var(--bg-card-hover);
  border-color: var(--primary);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.partner-logo:hover img {
  transform: scale(1.02);
}

/* Responsive: fewer icons on smaller screens */
@media (max-width: 991px) {
  .partners-wrapper .row > div {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

@media (max-width: 575px) {
  .partners-wrapper .row > div {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .partner-logo {
    padding: 1px;
  }
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--text-primary);
  border: none;
  border-radius: var(--radius-full);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-glow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-15px);
  }
  60% {
    transform: translateX(-50%) translateY(-7px);
  }
}

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

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 991px) {
  :root {
    --section-spacing: 80px;
  }

  .navbar-collapse {
    background: var(--bg-card);
    padding: 20px;
    margin-top: 15px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
  }

  .navbar-nav .nav-link {
    color: var(--text-primary) !important;
    padding: 12px 16px !important;
  }

  .lang-toggle {
    justify-content: center;
    margin-top: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 30px;
  }

  .carousel-item img {
    height: 350px;
  }

  .footer-bottom .row > div {
    text-align: center !important;
  }

  .icp {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  :root {
    --section-spacing: 60px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .carousel-item img {
    height: 250px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 44px;
    height: 44px;
  }

  .service-card,
  .feature-card {
    padding: 28px 24px;
  }

  .service-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .about-card {
    padding: 32px 24px;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 28px 20px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 575px) {
  .navbar-brand {
    font-size: 1.2rem;
  }

  .service-tags {
    gap: 6px;
  }

  .tag {
    font-size: 0.75rem;
    padding: 5px 12px;
  }

  .info-item {
    flex-direction: column;
    gap: 12px;
  }

  .info-icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
}
