/* ============================================
   JINGSHENG HENGXING TECHNOLOGY - Corporate Website
   www.jshx.cloud
   ============================================ */

/* CSS Variables - Tech theme */
:root {
  --primary: #0066cc;
  --primary-dark: #004c99;
  --primary-light: #3385d6;
  --accent: #00d4ff;
  --accent-cyan: #22d3ee;
  --white: #ffffff;
  --gray-50: #f0f9ff;
  --gray-100: #e0f2fe;
  --gray-200: #bae6fd;
  --gray-300: #7dd3fc;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --glow-primary: rgba(0, 102, 204, 0.4);
  --glow-cyan: rgba(0, 212, 255, 0.35);
  --gradient-primary: linear-gradient(135deg, #0066cc 0%, #00a3e0 50%, #00d4ff 100%);
  --gradient-mesh: radial-gradient(at 40% 20%, rgba(0, 102, 204, 0.12) 0%, transparent 50%),
    radial-gradient(at 80% 0%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
    radial-gradient(at 0% 50%, rgba(0, 102, 204, 0.06) 0%, transparent 50%);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 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-glow: 0 0 40px -5px var(--glow-primary);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Header & Navigation ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 102, 204, 0.06);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 102, 204, 0.08);
  border-bottom-color: rgba(0, 102, 204, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gray-900);
}

.logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--gray-700);
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

/* Mobile menu button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-800);
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 14px var(--glow-primary);
}

.btn-primary:hover {
  box-shadow: 0 6px 24px var(--glow-primary), 0 0 0 1px rgba(255,255,255,0.2) inset;
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid rgba(0, 102, 204, 0.5);
}

.btn-outline:hover {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.08) 0%, rgba(0, 212, 255, 0.06) 100%);
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 102, 204, 0.15);
}

/* ========== Hero Section ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #f0f9ff 0%, #ffffff 40%, #e0f2fe 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Tech grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 102, 204, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 204, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at 70% 40%, rgba(0, 102, 204, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.hero .hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}

.hero .hero-bg-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(0, 212, 255, 0.15);
  top: 10%;
  right: 5%;
  animation: float 15s ease-in-out infinite;
}

.hero .hero-bg-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(0, 102, 204, 0.12);
  bottom: 20%;
  left: -5%;
  animation: float 18s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 212, 255, 0.08) 100%);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 102, 204, 0.15);
  animation: fadeInUp 0.6s ease;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0066cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero .subheadline {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 560px;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

/* ========== Section Common ========== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--gray-600);
  font-size: 1.0625rem;
}

/* ========== About Preview ========== */
.about-preview {
  background: var(--white);
  position: relative;
}

.about-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 102, 204, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 102, 204, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.about-preview .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-preview-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 102, 204, 0.15);
  border: 1px solid rgba(0, 102, 204, 0.06);
}

.about-preview-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  background: var(--gray-200);
}

.about-preview-content .section-label {
  margin-bottom: 12px;
}

.about-preview-content .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.about-preview-content .section-desc {
  text-align: left;
  margin-bottom: 24px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--gray-700);
}

.about-features li i {
  color: var(--primary);
  font-size: 1.125rem;
}

/* ========== Services Overview (Cards) ========== */
.services-overview {
  background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
}

.services-overview::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
}

.services-overview .container {
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.service-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 32px 24px;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 20px rgba(0, 102, 204, 0.06);
  transition: all var(--transition);
  border: 1px solid rgba(0, 102, 204, 0.08);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px var(--glow-primary);
  border-color: rgba(0, 102, 204, 0.2);
}

.service-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: 0 8px 20px var(--glow-primary);
}

.service-card-ai {
  border-color: rgba(0, 212, 255, 0.2);
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(0, 212, 255, 0.04) 100%);
}

.service-card-ai:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 40px -10px var(--glow-cyan);
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ========== Why Choose Us ========== */
.why-choose {
  background: var(--white);
  position: relative;
}

.why-choose::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 102, 204, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 102, 204, 0.02) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.why-choose .container {
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature-item {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.feature-item:hover {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.04) 0%, rgba(0, 212, 255, 0.03) 100%);
}

.feature-item i {
  font-size: 2.25rem;
  margin-bottom: 16px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

/* ========== Industries ========== */
.industries {
  background: linear-gradient(180deg, #e0f2fe 0%, #f0f9ff 100%);
  position: relative;
}

.industries::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
}

.industries .container {
  position: relative;
  z-index: 1;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.industry-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  padding: 28px 24px;
  border-radius: var(--radius-xl);
  text-align: center;
  border: 1px solid rgba(0, 102, 204, 0.1);
  transition: all var(--transition);
}

.industry-card:hover {
  border-color: rgba(0, 102, 204, 0.25);
  box-shadow: 0 12px 32px -8px rgba(0, 102, 204, 0.2);
  transform: translateY(-4px);
}

.industry-card i {
  font-size: 1.75rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.industry-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
}

/* ========== CTA Banner ========== */
.cta-banner {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 72px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 28px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.cta-banner .btn {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta-banner .btn:hover {
  background: rgba(255,255,255,0.95);
  color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

/* ========== Footer ========== */
.footer {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  color: var(--gray-300);
  padding: 64px 0 24px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
  opacity: 0.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand .logo span {
  -webkit-text-fill-color: var(--accent-cyan);
  background: none;
}

.footer-brand p {
  font-size: 0.9375rem;
  max-width: 280px;
  line-height: 1.6;
}

.footer h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--gray-300);
  font-size: 0.9375rem;
  display: block;
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact p {
  font-size: 0.9375rem;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact i {
  color: var(--primary-light);
  margin-top: 4px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--gray-700);
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ========== Page Headers (Inner Pages) ========== */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(160deg, #f0f9ff 0%, #e0f2fe 50%, #ffffff 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 102, 204, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 102, 204, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #0f172a 0%, #0066cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  color: var(--gray-600);
  font-size: 1.125rem;
}

/* ========== About Page ========== */
.about-intro {
  padding: 80px 0;
}

.about-intro .container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-intro p {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.mission-vision {
  padding: 80px 0;
  background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
}

.mission-vision::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
}

.mission-vision .container {
  position: relative;
  z-index: 1;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.mission-vision-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 40px 32px;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 24px rgba(0, 102, 204, 0.06);
  border-left: 4px solid var(--primary);
  transition: all var(--transition);
}

.mission-vision-card:hover {
  box-shadow: 0 12px 32px -8px rgba(0, 102, 204, 0.15);
}

.mission-vision-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.mission-vision-card p {
  color: var(--gray-600);
  line-height: 1.6;
}

.core-values {
  padding: 80px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 32px 24px;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.04) 0%, rgba(0, 212, 255, 0.03) 100%);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
  border: 1px solid rgba(0, 102, 204, 0.06);
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 32px -8px rgba(0, 102, 204, 0.12);
  border-color: rgba(0, 102, 204, 0.12);
  transform: translateY(-4px);
}

.value-card i {
  font-size: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.company-info-box {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.04) 0%, rgba(0, 212, 255, 0.03) 100%);
  padding: 48px;
  border-radius: var(--radius-xl);
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid rgba(0, 102, 204, 0.08);
}

.company-info-box h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.company-info-box ul {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.company-info-box li {
  margin-bottom: 12px;
  padding-left: 0;
}

.company-info-box strong {
  color: var(--gray-800);
  margin-right: 8px;
}

/* ========== Services Page ========== */
.service-detail {
  padding: 80px 0;
  border-bottom: 1px solid var(--gray-200);
}

.service-detail:last-of-type {
  border-bottom: none;
}

.service-detail .container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.service-detail-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 8px 24px var(--glow-primary);
}

.service-detail-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.service-detail-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 20px 0 8px;
}

.service-detail-content p,
.service-detail-content ul {
  color: var(--gray-600);
  margin-bottom: 12px;
}

.service-detail-content ul {
  padding-left: 20px;
}

.service-detail-content li {
  list-style: disc;
  margin-bottom: 6px;
}

/* ========== Contact Page ========== */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form-wrapper h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--gray-800);
  margin-bottom: 8px;
  font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--gray-600);
  margin-bottom: 24px;
  line-height: 1.7;
}

.contact-details {
  margin-bottom: 32px;
}

.contact-details .item {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  color: var(--gray-600);
}

.contact-details i {
  color: var(--primary);
  font-size: 1.25rem;
  margin-top: 2px;
}

.map-placeholder {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.06) 0%, rgba(0, 212, 255, 0.04) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 0.9375rem;
  border: 1px dashed rgba(0, 102, 204, 0.15);
}

/* Bing Maps embed - Contact page */
.map-embed-wrapper {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(0, 102, 204, 0.1);
  box-shadow: 0 4px 20px rgba(0, 102, 204, 0.06);
}

.google-map-embed,
.bing-map-embed {
  width: 100%;
  height: 280px;
  border: none;
  display: block;
}

.map-caption {
  padding: 10px 14px;
  font-size: 0.875rem;
  color: var(--gray-600);
  background: var(--gray-50);
  margin: 0;
  border-top: 1px solid rgba(0, 102, 204, 0.06);
}

/* ========== Animations ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
}

.animate-on-scroll.visible {
  animation: fadeInUp 0.6s ease forwards;
}

/* Staggered animation delays */
.service-card.animate-on-scroll:nth-child(1) { animation-delay: 0.05s; }
.service-card.animate-on-scroll:nth-child(2) { animation-delay: 0.12s; }
.service-card.animate-on-scroll:nth-child(3) { animation-delay: 0.19s; }
.service-card.animate-on-scroll:nth-child(4) { animation-delay: 0.26s; }
.service-card.animate-on-scroll:nth-child(5) { animation-delay: 0.33s; }
.feature-item.animate-on-scroll:nth-child(1) { animation-delay: 0.05s; }
.feature-item.animate-on-scroll:nth-child(2) { animation-delay: 0.15s; }
.feature-item.animate-on-scroll:nth-child(3) { animation-delay: 0.25s; }
.feature-item.animate-on-scroll:nth-child(4) { animation-delay: 0.35s; }
.industry-card.animate-on-scroll:nth-child(1) { animation-delay: 0.05s; }
.industry-card.animate-on-scroll:nth-child(2) { animation-delay: 0.15s; }
.industry-card.animate-on-scroll:nth-child(3) { animation-delay: 0.25s; }
.industry-card.animate-on-scroll:nth-child(4) { animation-delay: 0.35s; }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid,
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-preview .container {
    grid-template-columns: 1fr;
  }

  .about-preview-image {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail .container {
    grid-template-columns: 1fr;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .services-grid,
  .features-grid,
  .industries-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    max-width: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .page-hero {
    padding: 120px 0 60px;
  }
}
