/* ==========================================================================
   Caboodle Technology — corporate site styles
   Version: 2.0 (Complete & Expanded)
   Theme: Neon Cyber Dark
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES & DESIGN SYSTEM
   -------------------------------------------------------------------------- */
:root {
  /* Core Colors */
  --bg-dark: #07090f;
  --bg-darker: #030407;
  --bg-card: #111522;
  --bg-card-hover: #1a2135;
  --bg-glass: rgba(17, 21, 34, 0.6);
  --bg-glass-heavy: rgba(7, 9, 15, 0.85);

  /* Accents (Neon Theme) */
  --primary: #00e5ff; /* Neon Cyan */
  --primary-glow: rgba(0, 229, 255, 0.5);
  --primary-dim: rgba(0, 229, 255, 0.1);

  --secondary: #ff0055; /* Neon Pink */
  --secondary-glow: rgba(255, 0, 85, 0.5);
  --secondary-dim: rgba(255, 0, 85, 0.1);

  --tertiary: #7000ff; /* Neon Purple */
  --warning: #ffbd2e;
  --success: #27c93f;
  --danger: #ff5f56;

  /* Typography Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #334155;
  --white: #ffffff;
  --black: #000000;

  /* Borders & Dividers */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);
  --border-primary: rgba(0, 229, 255, 0.3);

  /* Typography */
  --font-heading: "Russo One", sans-serif;
  --font-body: "Poppins", sans-serif;

  /* Spacing System */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  --section-pad: 120px 0;

  /* Layout Constants */
  --container-w: 1280px;
  --container-narrow: 800px;
  --header-height: 90px;
  --border-radius-sm: 4px;
  --border-radius-md: 10px;
  --border-radius-lg: 20px;
  --border-radius-full: 9999px;

  /* Transitions & Animations */
  --trans-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.6);
  --shadow-neon-cyan:
    0 0 20px var(--primary-glow), inset 0 0 10px var(--primary-dim);
  --shadow-neon-pink:
    0 0 20px var(--secondary-glow), inset 0 0 10px var(--secondary-dim);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  background: var(--bg-darker);
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #2a3045;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Selection */
::selection {
  background-color: var(--primary);
  color: var(--bg-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--trans-fast);
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
textarea,
select {
  font-family: inherit;
  outline: none;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY & UTILITIES
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  letter-spacing: 1px;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: var(--space-md);
}
h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}
h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-sm);
  color: var(--text-muted);
}

/* Text Utilities */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.text-muted {
  color: var(--text-muted);
}
.font-bold {
  font-weight: 600;
}

/* Highlights & Gradients */
.highlight-cyan {
  color: var(--primary);
  text-shadow: 0 0 15px var(--primary-glow);
}
.highlight-pink {
  color: var(--secondary);
  text-shadow: 0 0 15px var(--secondary-glow);
}
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Layout Utilities */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 20px;
}

.d-flex {
  display: flex;
}
.flex-column {
  flex-direction: column;
}
.align-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-1 {
  gap: 10px;
}
.gap-2 {
  gap: 20px;
}
.gap-3 {
  gap: 30px;
}

/* Section Headers */
.section-subtitle {
  display: inline-block;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
  position: relative;
  padding-left: 50px;
}
.section-subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

/* --------------------------------------------------------------------------
   4. COMPONENTS (Buttons, Cards, Inputs)
   -------------------------------------------------------------------------- */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  transition: var(--trans-normal);
  text-align: center;
}

.btn i {
  margin-left: 12px;
  font-size: 1.1rem;
  transition: transform var(--trans-bounce);
}
.btn:hover i {
  transform: translateX(8px) scale(1.1);
}

.btn-primary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--primary);
  box-shadow:
    0 0 15px var(--primary-dim) inset,
    0 0 15px var(--primary-dim);
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--trans-normal);
}
.btn-primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}
.btn-primary:hover {
  color: var(--bg-darker);
  box-shadow: 0 0 30px var(--primary-glow);
  border-color: transparent;
}

.btn-block {
  width: 100%;
  padding: 20px;
  font-size: 1.1rem;
}

/* Background Effects */
.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  pointer-events: none;
  transform: perspective(1000px) rotateX(60deg) scale(2);
  transform-origin: top;
  animation: gridMove 30s linear infinite;
}

/* --------------------------------------------------------------------------
   5. HEADER & NAVIGATION (Strictly Identical)
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 25px 0;
  z-index: 1000;
  transition: var(--trans-normal);
  border-bottom: 1px solid transparent;
  background: transparent;
}
.header.scrolled {
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  filter: invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
  transition: var(--trans-fast);
}
.logo:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 15px var(--primary-glow));
}

.main-nav .nav-list {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 8px 0;
  letter-spacing: 0.5px;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--trans-normal);
  box-shadow: 0 0 8px var(--primary);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary-glow);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1001;
  transition: var(--trans-fast);
}
.mobile-menu-toggle:hover {
  color: var(--primary);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity var(--trans-normal),
    transform var(--trans-normal);
  transform: translateY(-20px);
}
.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mobile-nav-list {
  text-align: center;
  width: 100%;
}
.mobile-nav-list li {
  margin: 30px 0;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}
.mobile-menu.active .mobile-nav-list li {
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu.active .mobile-nav-list li:nth-child(1) {
  transition-delay: 0.1s;
}
.mobile-menu.active .mobile-nav-list li:nth-child(2) {
  transition-delay: 0.2s;
}
.mobile-menu.active .mobile-nav-list li:nth-child(3) {
  transition-delay: 0.3s;
}
.mobile-menu.active .mobile-nav-list li:nth-child(4) {
  transition-delay: 0.4s;
}

.mobile-nav-link {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  color: var(--white);
  display: block;
}
.mobile-nav-link:hover {
  color: var(--primary);
  text-shadow: 0 0 15px var(--primary-glow);
  transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
  z-index: 0;
  filter: blur(80px);
  animation: pulseGlow 6s infinite alternate;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  max-width: 550px;
}

/* 3D Dashboard Mockup */
.hero-visual {
  perspective: 1200px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.dashboard-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 15px;
  padding: 20px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: rotateY(-20deg) rotateX(15deg);
  transform-style: preserve-3d;
  animation: float3D 8s ease-in-out infinite;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.dashboard-mockup::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--primary),
    transparent,
    var(--secondary)
  );
  z-index: -1;
  border-radius: 17px;
  filter: blur(10px);
  opacity: 0.5;
}

.mockup-header {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot:nth-child(1) {
  background: var(--danger);
  box-shadow: 0 0 5px var(--danger);
}
.dot:nth-child(2) {
  background: var(--warning);
  box-shadow: 0 0 5px var(--warning);
}
.dot:nth-child(3) {
  background: var(--success);
  box-shadow: 0 0 5px var(--success);
}

.mockup-body {
  height: 300px;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 49px,
    rgba(255, 255, 255, 0.03) 50px
  );
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.chart-line-hero {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  stroke: var(--primary);
  stroke-width: 4;
  fill: none;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  filter: drop-shadow(0 10px 10px var(--primary-glow));
  animation: drawLine 4s forwards 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.chart-area {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  fill: url(#chartGradient);
  opacity: 0;
  animation: fadeIn 2s forwards 3s;
}

/* --------------------------------------------------------------------------
   7. CLIENTS MARQUEE
   -------------------------------------------------------------------------- */
.clients-section {
  padding: 50px 0;
  background: rgba(17, 21, 34, 0.5);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
}
/* Gradient Masks for fading edges */
.clients-section::before,
.clients-section::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}
.clients-section::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-dark), transparent);
}
.clients-section::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-dark), transparent);
}

.marquee-container {
  display: flex;
  width: 200%;
  animation: scrollMarquee 30s linear infinite;
}
.marquee-container:hover {
  animation-play-state: paused;
}
.marquee-track {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 50%;
}
.marquee-track h4 {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.8rem;
  text-transform: uppercase;
  margin: 0;
  transition: var(--trans-fast);
  cursor: default;
}
.marquee-track h4:hover {
  color: var(--white);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   8. METRICS / ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-section {
  padding: var(--section-pad);
  position: relative;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 50px 30px;
  text-align: center;
  border-radius: var(--border-radius-md);
  position: relative;
  overflow: hidden;
  transition: var(--trans-normal);
  z-index: 1;
}

/* Scanning Line Effect on Hover */
.metric-card::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 15px var(--primary);
  transition: top 0s;
  z-index: -1;
}
.metric-card:hover::before {
  top: 100%;
  transition: top 1.5s linear;
}

.metric-card:hover {
  transform: translateY(-15px);
  box-shadow:
    var(--shadow-lg),
    0 0 30px rgba(0, 229, 255, 0.15);
  border-color: var(--primary);
  background: var(--bg-card-hover);
}

.metric-number {
  font-size: 4rem;
  font-family: var(--font-heading);
  color: var(--white);
  margin-bottom: 10px;
  display: block;
  line-height: 1;
}
.metric-card:nth-child(1) .metric-number {
  color: var(--primary);
  text-shadow: 0 0 20px var(--primary-glow);
}
.metric-card:nth-child(2) .metric-number {
  color: var(--secondary);
  text-shadow: 0 0 20px var(--secondary-glow);
}
.metric-card:nth-child(3) .metric-number {
  color: var(--warning);
  text-shadow: 0 0 20px rgba(255, 189, 46, 0.5);
}
.metric-card:nth-child(4) .metric-number {
  color: var(--tertiary);
  text-shadow: 0 0 20px rgba(112, 0, 255, 0.5);
}

.metric-label {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   9. CORE SERVICES (3D FLIP CARDS)
   -------------------------------------------------------------------------- */
.services-section {
  padding: var(--section-pad);
  background: #0a0c14;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.service-card {
  perspective: 1500px;
  height: 450px;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
}

.service-card-front {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.service-icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 30px;
  filter: drop-shadow(0 0 15px var(--primary-glow));
}
.service-card:nth-child(2) .service-icon {
  color: var(--secondary);
  filter: drop-shadow(0 0 15px var(--secondary-glow));
}
.service-card:nth-child(3) .service-icon {
  color: var(--warning);
  filter: drop-shadow(0 0 15px rgba(255, 189, 46, 0.5));
}

.service-card-front h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}
.service-card-front p {
  font-size: 1.05rem;
}

.service-card-back {
  background: linear-gradient(135deg, var(--bg-card-hover), var(--bg-dark));
  border: 2px solid var(--primary);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  box-shadow: inset 0 0 40px var(--primary-dim);
}
.service-card:nth-child(2) .service-card-back {
  border-color: var(--secondary);
  box-shadow: inset 0 0 40px var(--secondary-dim);
}
.service-card:nth-child(3) .service-card-back {
  border-color: var(--warning);
  box-shadow: inset 0 0 40px rgba(255, 189, 46, 0.1);
}

.service-card-back h3 {
  margin-bottom: 20px;
  color: var(--white);
}

.service-card-back ul {
  margin-bottom: 30px;
}
.service-card-back ul li {
  margin-bottom: 15px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  font-size: 1.05rem;
}
.service-card-back ul li i {
  color: var(--primary);
  margin-right: 15px;
  font-size: 1.2rem;
}
.service-card:nth-child(2) .service-card-back ul li i {
  color: var(--secondary);
}
.service-card:nth-child(3) .service-card-back ul li i {
  color: var(--warning);
}

/* --------------------------------------------------------------------------
   10. Impact calculator section
   -------------------------------------------------------------------------- */
.calculator-section {
  padding: var(--section-pad);
  position: relative;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" stroke="rgba(255,255,255,0.02)" stroke-width="2" fill="none"/></svg>')
    no-repeat center/cover;
}

.calc-container {
  background: var(--bg-glass);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  box-shadow:
    var(--shadow-lg),
    0 0 50px rgba(0, 0, 0, 0.5);
  margin-top: 40px;
}

.calc-controls .form-group {
  margin-bottom: 40px;
}
.calc-controls label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--white);
  font-size: 1.1rem;
}
.calc-controls label span {
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  text-shadow: 0 0 10px var(--primary-dim);
}

/* Custom Range Slider */
input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  background: #2a3045;
  height: 8px;
  border-radius: 4px;
  outline: none;
  transition: var(--trans-fast);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 15px var(--primary);
  transition: transform 0.1s;
}
input[type="range"]::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 15px var(--primary);
}
input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-results {
  background: var(--bg-darker);
  border-radius: var(--border-radius-md);
  padding: 50px;
  text-align: center;
  border: 1px solid var(--border-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 50px var(--primary-dim);
}
/* Rotating Border Glow */
.calc-results::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, var(--primary), transparent 30%);
  animation: rotate 4s linear infinite;
  z-index: 0;
  opacity: 0.15;
}

.result-box {
  position: relative;
  z-index: 1;
}
.result-label {
  font-size: 1.3rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}
.result-value {
  font-size: 4.5rem;
  font-family: var(--font-heading);
  color: var(--white);
  text-shadow: 0 0 30px var(--primary-glow);
  line-height: 1;
}

/* --------------------------------------------------------------------------
   11. LIVE REPORTS & ANALYTICS (Charts)
   -------------------------------------------------------------------------- */
.reports-section {
  padding: var(--section-pad);
  background: #0a0c14;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 60px;
}

.dash-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
  transition: var(--trans-normal);
}
.dash-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
}

.dash-card h3 {
  font-size: 1.4rem;
  margin-bottom: 30px;
  color: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
  font-family: var(--font-body);
}

/* Bar Chart Styles */
.chart-container {
  height: 300px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 20px;
  border-bottom: 1px solid #2a3045;
}
.chart-container::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 50%;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  stroke-dasharray: 5, 5;
}
.bar-wrap {
  width: 12%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  position: relative;
  cursor: pointer;
}
.bar {
  width: 100%;
  background: linear-gradient(to top, var(--primary), var(--secondary));
  border-radius: 4px 4px 0 0;
  height: 0; /* Animated via JS */
  transition:
    height 1.5s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.3s;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}
.bar-wrap:hover .bar {
  filter: brightness(1.3);
  box-shadow: 0 0 20px var(--primary-glow);
}
.bar-wrap:hover .bar-tooltip {
  opacity: 1;
  transform: translateY(-15px) translateX(-50%);
}
.bar-tooltip {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  color: var(--black);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 4px;
  opacity: 0;
  transition: var(--trans-fast);
  pointer-events: none;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  z-index: 10;
}
.bar-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--white) transparent transparent transparent;
}

/* Donut Chart Styles */
.donut-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
  position: relative;
}
.circular-chart {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 250px;
  max-height: 250px;
  filter: drop-shadow(0 0 15px var(--primary-dim));
}
.circle-bg {
  fill: none;
  stroke: #1a2135;
  stroke-width: 3;
}
.circle {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  animation: progress 2.5s ease-out forwards;
}
.c-1 {
  stroke: var(--primary);
  stroke-dasharray: 60, 100;
}
.c-2 {
  stroke: var(--secondary);
  stroke-dasharray: 30, 100;
  stroke-dashoffset: -60;
}
.donut-text {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--white);
  text-shadow: 0 0 20px var(--primary-glow);
}

/* --------------------------------------------------------------------------
   12. INDUSTRIES
   -------------------------------------------------------------------------- */
.industries-section {
  padding: var(--section-pad);
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}
.ind-card {
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: var(--border-radius-md);
  text-align: center;
  transition: var(--trans-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.ind-card i {
  font-size: 3.5rem;
  color: var(--text-muted);
  margin-bottom: 25px;
  transition: var(--trans-normal);
}
.ind-card h4 {
  font-size: 1.3rem;
  transition: var(--trans-fast);
}

.ind-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--trans-normal);
}

.ind-card:hover {
  background: var(--bg-card);
  border-color: transparent;
  box-shadow: 0 15px 40px rgba(0, 229, 255, 0.1);
  transform: translateY(-10px);
}
.ind-card:hover::after {
  transform: scaleX(1);
}
.ind-card:hover i {
  color: var(--primary);
  transform: scale(1.15) translateY(-5px);
  filter: drop-shadow(0 0 10px var(--primary-glow));
}
.ind-card:hover h4 {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   13. OUR PROCESS (Vertical Timeline)
   -------------------------------------------------------------------------- */
.process-section {
  padding: var(--section-pad);
  background: #0a0c14;
  position: relative;
}
.timeline {
  position: relative;
  max-width: 900px;
  margin: 80px auto 0;
}
/* Center Line */
.timeline::after {
  content: "";
  position: absolute;
  width: 4px;
  background: #2a3045;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 2px;
}
.timeline-line-fill {
  position: absolute;
  width: 4px;
  background: var(--primary);
  top: 0;
  left: 50%;
  margin-left: -2px;
  height: 0; /* Animated via scroll ideally, but left static for CSS pure */
  box-shadow: 0 0 15px var(--primary);
  z-index: 1;
}

.t-item {
  padding: 10px 50px;
  position: relative;
  width: 50%;
  perspective: 1000px;
}
.t-item:nth-child(odd) {
  left: 0;
}
.t-item:nth-child(even) {
  left: 50%;
}

/* Timeline Dots */
.t-item::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--bg-dark);
  border: 4px solid var(--primary);
  top: 30px;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 15px var(--primary-glow);
  transition: var(--trans-fast);
}
.t-item:nth-child(odd)::after {
  right: -12px;
}
.t-item:nth-child(even)::after {
  left: -12px;
}

.t-item:hover::after {
  background: var(--primary);
  transform: scale(1.2);
}

.t-content {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  transition: var(--trans-normal);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.t-item:hover .t-content {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15);
  transform: translateY(-5px);
}

.t-num {
  font-family: var(--font-heading);
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: 10px;
  right: 30px;
  line-height: 1;
  pointer-events: none;
  transition: var(--trans-normal);
}
.t-item:hover .t-num {
  color: rgba(0, 229, 255, 0.1);
}

.t-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--white);
}
.t-content p {
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   14. TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: var(--section-pad);
  overflow: hidden;
}
.testi-grid {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  padding: 40px 0 60px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
}
.testi-grid::-webkit-scrollbar {
  display: none; /* Chrome */
}

.testi-card {
  min-width: 450px;
  background: var(--bg-card);
  padding: 50px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  scroll-snap-align: center;
  position: relative;
  transition: var(--trans-normal);
}
.testi-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 15px 40px rgba(255, 0, 85, 0.15);
  transform: translateY(-10px);
}

.quote-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 6rem;
  color: rgba(255, 255, 255, 0.02);
  line-height: 1;
}
.stars {
  color: var(--warning);
  margin-bottom: 25px;
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.testi-text {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}
.client-info {
  display: flex;
  flex-direction: column;
}
.client-info h4 {
  color: var(--white);
  margin-bottom: 5px;
  font-size: 1.2rem;
}
.client-info span {
  font-size: 0.9rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   15. CTA SECTION
   -------------------------------------------------------------------------- */
.cta-section {
  padding: 150px 0;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, transparent, #0d111b);
  border-bottom: 1px solid var(--primary);
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}
.cta-box {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.cta-box h2 {
  font-size: 4.5rem;
  margin-bottom: 25px;
}
.cta-box p {
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-bottom: 50px;
}

/* --------------------------------------------------------------------------
   16. FORMS & CONTACT PAGE SPECIFIC
   -------------------------------------------------------------------------- */
.page-header {
  padding: 200px 0 100px;
  text-align: center;
  background:
    linear-gradient(to bottom, var(--bg-dark), rgba(17, 21, 34, 0.8)),
    url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%2307090f"/><circle cx="50" cy="50" r="40" stroke="%23111522" stroke-width="2" fill="none"/></svg>')
      center/cover;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}
.page-title {
  font-size: 5rem;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
  margin-bottom: 10px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  padding: var(--section-pad);
}
.contact-info-block {
  padding-right: 20px;
}
.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  transition: var(--trans-fast);
}
.info-item:hover {
  border-color: var(--primary);
  background: var(--bg-card);
  transform: translateX(10px);
}
.info-item i {
  font-size: 2rem;
  color: var(--secondary);
  margin-right: 25px;
  margin-top: 5px;
  filter: drop-shadow(0 0 10px var(--secondary-glow));
}

.form-block {
  width: 100%;
}
.custom-form {
  background: var(--bg-card);
  padding: 50px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.form-group {
  margin-bottom: 30px;
}
.form-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.form-control {
  width: 100%;
  background: #0a0c14;
  border: 1px solid #2a3045;
  color: var(--white);
  padding: 18px 20px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 1.05rem;
  transition: var(--trans-fast);
}
.form-control::placeholder {
  color: rgba(255, 255, 255, 0.2);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
  background: var(--bg-dark);
}
textarea.form-control {
  resize: vertical;
  min-height: 160px;
}

/* Custom Select */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300E5FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}
select.form-control option {
  background: var(--bg-dark);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   17. LEGAL PAGES SPECIFIC
   -------------------------------------------------------------------------- */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px 120px;
}
.legal-section {
  margin-bottom: 50px;
}
.legal-section h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
  font-family: var(--font-heading);
}
.legal-section p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
}
.legal-section ul {
  padding-left: 25px;
  margin-bottom: 20px;
  list-style: none;
}
.legal-section ul li {
  position: relative;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 1.1rem;
}
.legal-section ul li::before {
  content: "→";
  position: absolute;
  left: -25px;
  color: var(--secondary);
}

/* --------------------------------------------------------------------------
   18. FOOTER (Strictly Identical)
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-darker);
  padding: 100px 0 30px;
  border-top: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 100%);
  opacity: 0.5;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-logo img {
  height: 60px;
  margin-bottom: 25px;
  filter: invert(1);
}
.footer-col p {
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 350px;
  font-size: 1.05rem;
}
.footer-col h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
  font-family: var(--font-heading);
}
.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}
.footer-links li {
  margin-bottom: 15px;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 1.05rem;
  display: inline-block;
  transition: var(--trans-fast);
}
.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.footer-contact i {
  color: var(--primary);
  margin-right: 15px;
  margin-top: 5px;
  font-size: 1.2rem;
}

.social-links {
  display: flex;
  gap: 15px;
}
.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border: 1px solid var(--border-color);
  transition: var(--trans-normal);
  font-size: 1.2rem;
}
.social-icon:hover {
  background: var(--primary);
  color: var(--bg-darker);
  box-shadow: 0 0 20px var(--primary-glow);
  border-color: var(--primary);
  transform: translateY(-5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.footer-legal a {
  color: var(--text-muted);
  margin-left: 20px;
  transition: var(--trans-fast);
}
.footer-legal a:hover {
  color: var(--white);
}

/* Live Chat Widget */
.live-chat {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 65px;
  height: 65px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-darker);
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.4);
  z-index: 999;
  transition: var(--trans-normal);
  animation: floatChat 3s ease-in-out infinite;
}
.live-chat:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 40px rgba(0, 229, 255, 0.8);
  animation-play-state: paused;
}
@keyframes floatChat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* --------------------------------------------------------------------------
   19. GLOBAL ANIMATIONS & KEYFRAMES
   -------------------------------------------------------------------------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delays */
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}
.delay-5 {
  transition-delay: 0.5s;
}

/* Keyframes Library */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes pulseGlow {
  0% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.1);
  }
}
@keyframes float3D {
  0%,
  100% {
    transform: rotateY(-20deg) rotateX(15deg) translateY(0);
  }
  50% {
    transform: rotateY(-20deg) rotateX(15deg) translateY(-25px);
  }
}
@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes progress {
  0% {
    stroke-dasharray: 0, 100;
  }
}

/* --------------------------------------------------------------------------
   20. RESPONSIVE DESIGN (Media Queries)
   -------------------------------------------------------------------------- */

/* Large screens (Laptops/Desktops, 1200px and down) */
@media (max-width: 1200px) {
  h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
  }
  h2 {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  .hero-content {
    gap: 40px;
  }
  .testi-card {
    min-width: 400px;
  }
}

/* Medium screens (Tablets, 992px and down) */
@media (max-width: 992px) {
  /* Header/Nav */
  .main-nav,
  .header-actions {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }

  /* Hero */
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    margin-top: 40px;
  }
  .hero-text p {
    margin: 0 auto 40px;
  }
  .dashboard-mockup {
    transform: none;
    animation: floatMobile 6s ease-in-out infinite;
    max-width: 100%;
  }
  @keyframes floatMobile {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-15px);
    }
  }

  /* Layouts */
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* Small screens (Mobile landscape, 768px and down) */
@media (max-width: 768px) {
  :root {
    --section-pad: 80px 0;
  }
  .page-header {
    padding: 150px 0 60px;
  }

  /* Components */
  .calc-container {
    grid-template-columns: 1fr;
    padding: 40px 30px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Timeline Fixes */
  .timeline::after {
    left: 40px;
  }
  .timeline-line-fill {
    left: 40px;
  }
  .t-item {
    width: 100%;
    padding-left: 90px;
    padding-right: 20px;
  }
  .t-item:nth-child(even) {
    left: 0%;
  }
  .t-item::after {
    left: 28px !important;
  }

  .testi-card {
    min-width: 320px;
    padding: 30px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col p {
    margin: 0 auto 30px;
  }
  .footer-col h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .social-links {
    justify-content: center;
  }
  .footer-contact li {
    justify-content: center;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .footer-legal a {
    margin: 0 10px;
  }

  .live-chat {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
  }
}

/* Extra small screens (Mobile portrait, 576px and down) */
@media (max-width: 576px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    padding: 40px 20px;
  }
  .service-card {
    height: 400px;
  }

  .cta-box h2 {
    font-size: 2.5rem;
  }
  .page-title {
    font-size: 3rem;
  }

  .custom-form {
    padding: 30px 20px;
  }
}
