/* ============================================
   ITC HUB - Enterprise IT Website Stylesheet
   Premium Corporate Design
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ---- CSS Variables ---- */
:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #3B82F6;
  --secondary: #0F172A;
  --accent: #06B6D4;
  --accent-dark: #0891B2;
  --white: #ffffff;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --gray-950: #060C19;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(37, 99, 235, 0.08);
  --shadow-md: 0 8px 40px rgba(37, 99, 235, 0.12);
  --shadow-lg: 0 16px 60px rgba(37, 99, 235, 0.15);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--secondary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.font-display { font-family: var(--font-display) !important; }

/* ---- Dark Mode ---- */
body.dark {
  background: var(--gray-950);
  color: #E2E8F0;
}

/* ============================================
   LOADER
   ============================================ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: #0F172A;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo {
  animation: loaderPulse 1.2s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.85; }
}
.loader-text {
  font-family: var(--font-display);
  letter-spacing: 0.3em;
  opacity: 0.8;
  color: #fff;
}
.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
}
.loader-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2563EB, #06B6D4);
  border-radius: 2px;
  animation: loadBar 2s ease forwards;
}
@keyframes loadBar {
  0% { width: 0%; }
  30% { width: 40%; }
  70% { width: 75%; }
  100% { width: 100%; }
}

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
  background: transparent;
}
#navbar.scrolled {
  background: rgba(9, 14, 36, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(37, 99, 235, 0.15);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-link {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav-link:hover, .nav-link.active {
  color: white;
  background: rgba(37,99,235,0.15);
}
.nav-brand { font-family: var(--font-display); }
.mobile-menu {
  display: none;
  background: rgba(9,14,36,0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(37,99,235,0.2);
}
.mobile-menu.open { display: block; }
.mobile-nav-link {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}
.mobile-nav-link:hover {
  color: white;
  background: rgba(37,99,235,0.2);
}
/* Hamburger */
.hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span {
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
/* Theme toggle */
.theme-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.theme-btn:hover { background: rgba(255,255,255,0.2); }

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(37,99,235,0.35);
}
.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s;
  letter-spacing: 0.01em;
}
.btn-primary-lg:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(37,99,235,0.4);
}
.btn-ghost-lg {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.25s;
}
.btn-ghost-lg:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

/* ============================================
   HERO
   ============================================ */
.hero-section {
  background: var(--secondary);
  min-height: 100vh;
}
.hero-gradient {
  background: radial-gradient(ellipse at 20% 50%, rgba(37,99,235,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(6,182,212,0.1) 0%, transparent 50%),
              linear-gradient(180deg, rgba(15,23,42,0) 70%, rgba(15,23,42,1) 100%);
}
.hero-gradient-text {
  background: linear-gradient(135deg, #3B82F6, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Counters */
.counter-item {
  text-align: center;
  padding: 0.75rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}
.counter-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}
.counter-suffix {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 2px;
}
.counter-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}
/* Floating icons */
.float-icon {
  position: absolute;
  animation: floatY 4s ease-in-out infinite;
  opacity: 0.6;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(5deg); }
}
/* Scroll indicator */
.scroll-indicator {
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6px;
}
.scroll-dot {
  width: 4px; height: 8px;
  background: white;
  border-radius: 2px;
  animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0.3; }
}

/* ============================================
   SECTION LAYOUTS
   ============================================ */
.section-padding { padding: 5rem 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto; }
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.15);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.section-badge-dark {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.2);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--gray-500);
  font-size: 1.0625rem;
  line-height: 1.7;
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   ABOUT
   ============================================ */
.about-visual {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--gray-200);
}
body.dark .about-visual {
  background: var(--gray-800);
  border-color: var(--gray-700);
}
.rotate-slow {
  animation: rotateSlow 20s linear infinite;
  transform-origin: center;
}
@keyframes rotateSlow {
  to { transform: rotate(360deg); }
}
.about-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all 0.3s;
}
body.dark .about-card {
  background: var(--gray-800);
  border-color: var(--gray-700);
}
.about-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.about-card-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.value-badge {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  background: rgba(37,99,235,0.06);
  border: 1px solid rgba(37,99,235,0.12);
  color: var(--primary);
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}
body.dark .service-card {
  background: var(--gray-800);
  border-color: var(--gray-700);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.service-card-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}
body.dark .service-card-title { color: var(--gray-100); }
.service-card-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.service-list {
  list-style: none;
  margin-bottom: 1rem;
}
.service-list li {
  font-size: 0.8rem;
  color: var(--gray-600);
  padding: 0.25rem 0;
  padding-left: 1rem;
  position: relative;
  border-bottom: 1px solid var(--gray-100);
}
body.dark .service-list li {
  color: var(--gray-400);
  border-bottom-color: var(--gray-700);
}
.service-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}
.service-card-link {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
.service-card-link:hover { color: var(--primary-dark); }

/* ============================================
   TECHNOLOGY SECTION
   ============================================ */
.tech-category { margin-bottom: 0; }
.tech-cat-title {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}
.tech-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-badge {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  color: var(--secondary);
  transition: all 0.2s;
  cursor: default;
}
body.dark .tech-badge {
  background: var(--gray-800);
  border-color: var(--gray-700);
  color: var(--gray-200);
}
.tech-badge:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(37,99,235,0.04);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.12);
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 1.5rem;
  transition: all 0.3s;
}
.why-card:hover {
  background: rgba(37,99,235,0.12);
  border-color: rgba(37,99,235,0.3);
  transform: translateY(-3px);
}
.why-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.why-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}
.why-card p { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ============================================
   INDUSTRIES
   ============================================ */
.industry-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 14px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all 0.3s;
  cursor: default;
}
body.dark .industry-card {
  background: var(--gray-800);
  border-color: var(--gray-700);
}
.industry-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.industry-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.industry-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary);
}
body.dark .industry-card h4 { color: var(--gray-100); }

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s;
}
body.dark .portfolio-card {
  background: var(--gray-800);
  border-color: var(--gray-700);
}
.portfolio-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.portfolio-visual {
  height: 130px;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.portfolio-info { padding: 1.25rem; }
.portfolio-info h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--secondary);
}
body.dark .portfolio-info h4 { color: var(--gray-100); }
.portfolio-info p {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.portfolio-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-display);
  padding: 0.2rem 0.55rem;
  background: rgba(37,99,235,0.08);
  color: var(--primary);
  border-radius: 4px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-slider {
  position: relative;
  overflow: hidden;
}
.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.testimonial-card {
  min-width: 100%;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 640px;
  margin: 0 auto;
}
body.dark .testimonial-card {
  background: var(--gray-800);
  border-color: var(--gray-700);
}
.testimonial-card .stars { color: #F59E0B; font-size: 1.1rem; margin-bottom: 1rem; }
.testimonial-card p {
  font-size: 1.0625rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}
body.dark .testimonial-card p { color: var(--gray-300); }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
  flex-shrink: 0;
}
.author-name { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--secondary); }
body.dark .author-name { color: var(--gray-100); }
.author-role { font-size: 0.8rem; color: var(--gray-500); }
.testimonial-controls {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin-top: 1.5rem;
}
.testimonial-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-600);
}
body.dark .testimonial-btn { background: var(--gray-800); border-color: var(--gray-700); color: var(--gray-400); }
.testimonial-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(37,99,235,0.06); }
.testimonial-dots { display: flex; gap: 6px; }
.testimonial-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  transition: all 0.3s;
}
.testimonial-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* ============================================
   CAREERS
   ============================================ */
.job-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}
body.dark .job-card {
  background: var(--gray-800);
  border-color: var(--gray-700);
}
.job-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.job-icon { font-size: 1.75rem; flex-shrink: 0; }
.job-info { flex: 1; }
.job-info h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--secondary);
}
body.dark .job-info h4 { color: var(--gray-100); }
.job-info p { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 0.5rem; line-height: 1.5; }
.job-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.job-meta span {
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-display);
  padding: 0.2rem 0.6rem;
  background: rgba(37,99,235,0.07);
  color: var(--primary);
  border-radius: 4px;
}
.btn-apply {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
  align-self: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.btn-apply:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ============================================
   CONTACT
   ============================================ */
.contact-info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s;
}
body.dark .contact-info-card {
  background: var(--gray-800);
  border-color: var(--gray-700);
}
.contact-info-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.map-placeholder {
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  height: 160px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
body.dark .map-placeholder { background: var(--gray-800); border-color: var(--gray-700); }
.map-placeholder iframe { width: 100%; height: 100%; border: 0; }
.map-inner { text-align: center; }
/* Form */
.contact-form-wrapper {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
}
body.dark .contact-form-wrapper {
  background: var(--gray-800);
  border-color: var(--gray-700);
}
.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 0.375rem;
  letter-spacing: 0.01em;
}
body.dark .form-label { color: var(--gray-400); }
.form-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--secondary);
  background: var(--gray-50);
  transition: all 0.2s;
  outline: none;
}
body.dark .form-input {
  background: var(--gray-900);
  border-color: var(--gray-700);
  color: var(--gray-100);
}
.form-input:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
body.dark .form-input:focus {
  background: var(--gray-800);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}
.form-input::placeholder { color: var(--gray-400); }
.form-status {
  display: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}
.form-status.show { display: block; }
.form-status.ok { background: rgba(16,185,129,0.12); color: #059669; }
.form-status.err { background: rgba(239,68,68,0.12); color: #DC2626; }

/* ============================================
   FOOTER
   ============================================ */
.footer-heading {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: white; }
.social-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gray-400);
  text-decoration: none;
  transition: all 0.2s;
}
.social-icon:hover {
  background: rgba(37,99,235,0.2);
  border-color: var(--primary);
  color: white;
}

/* ============================================
   FLOATING ACTION BUTTONS
   ============================================ */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.fab {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  color: white;
}
.fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.fab-whatsapp { background: #25D366; }
.fab-call { background: var(--primary); }
.fab-top { background: var(--secondary); border: 1.5px solid rgba(255,255,255,0.1); }
.fab.hidden { display: none; }

/* ============================================
   MODALS
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.hidden { display: none; }
.modal-box {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.3s cubic-bezier(0.4,0,0.2,1);
}
body.dark .modal-box {
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--gray-600);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
body.dark .modal-close { background: var(--gray-700); color: var(--gray-300); }
.modal-close:hover { background: var(--gray-200); }
.modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
}
body.dark .modal-title { color: var(--gray-100); }

/* ============================================
   BLINKING STATUS LIGHTS
   ============================================ */
.blink-green { animation: blinkGreen 2s ease-in-out infinite; }
.blink-amber { animation: blinkAmber 1.5s ease-in-out infinite; }
.blink-blue { animation: blinkBlue 2.5s ease-in-out infinite; }
@keyframes blinkGreen {
  0%, 100% { opacity: 1; fill: #10B981; }
  50% { opacity: 0.3; fill: #10B981; }
}
@keyframes blinkAmber {
  0%, 100% { opacity: 1; fill: #F59E0B; }
  50% { opacity: 0.3; fill: #F59E0B; }
}
@keyframes blinkBlue {
  0%, 100% { opacity: 1; fill: #06B6D4; }
  50% { opacity: 0.4; fill: #06B6D4; }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ============================================
   DARK MODE TWEAKS
   ============================================ */
body.dark .bg-white { background-color: var(--gray-950) !important; }
body.dark .bg-gray-50 { background-color: var(--gray-900) !important; }
body.dark .text-gray-900 { color: var(--gray-100) !important; }
body.dark .text-gray-600 { color: var(--gray-400) !important; }
body.dark .border-gray-200 { border-color: var(--gray-700) !important; }

/* ============================================
   CANVAS (Network Background)
   ============================================ */
#networkCanvas { opacity: 0.35; }

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
  .section-padding { padding: 3.5rem 0; }
  .hero-section { min-height: auto; padding-top: 80px; }
  .counter-value { font-size: 1.4rem; }
  .fab { width: 44px; height: 44px; }
  .floating-actions { bottom: 16px; right: 16px; }
  .contact-form-wrapper { padding: 1.25rem; }
  .job-card { flex-direction: column; }
  .btn-apply { align-self: stretch; text-align: center; }
}
@media (max-width: 480px) {
  .section-title { font-size: 1.75rem; }
  .btn-primary-lg, .btn-ghost-lg { width: 100%; justify-content: center; }
}

/* ============================================
   UTILITY
   ============================================ */
.hidden { display: none !important; }
.w-full { width: 100%; }
.text-center { text-align: center; }
.justify-center { justify-content: center; }

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal-up, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
}
