/* ============================================
   NxtWise — Premium Graphical Website
   Brand: #004AAD (Blue) | #0B1E3F (Deep Navy)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* --- Custom Properties --- */
:root {
  --primary: #004AAD;
  --primary-light: #0066e6;
  --primary-glow: rgba(0, 74, 173, 0.4);
  --secondary: #0B1E3F;
  --secondary-light: #132d5e;
  --accent: #00C2FF;
  --accent-glow: rgba(0, 194, 255, 0.3);
  --bg-dark: #060d1a;
  --bg-card: rgba(11, 30, 63, 0.45);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.45);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 74, 173, 0.3);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(0, 74, 173, 0.15);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Outfit', sans-serif;
}

/* GPU acceleration */
.service-card,
.industry-card,
.feature-card,
.stat-item,
.scrolling-bg-track,
.marquee-track,
.bouncing-ball-wrapper {
  will-change: transform;
  transform: translateZ(0);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================
   SCROLLING BACKGROUND — Continuous NxtWise Text
   ============================================ */
.scrolling-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.035;
}

.scrolling-bg-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: scrollBg 20s linear infinite;
  position: absolute;
  left: 0;
}

.scrolling-bg-track span {
  font-family: var(--font);
  font-size: 5rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.05em;
  padding: 0 40px;
  flex-shrink: 0;
  user-select: none;
  text-transform: uppercase;
}

.scrolling-bg .row-1 {
  top: 0%;
  animation-duration: 22s;
}

.scrolling-bg .row-2 {
  top: 12%;
  animation-duration: 28s;
  animation-direction: reverse;
}

.scrolling-bg .row-3 {
  top: 24%;
  animation-duration: 20s;
}

.scrolling-bg .row-4 {
  top: 36%;
  animation-duration: 26s;
  animation-direction: reverse;
}

.scrolling-bg .row-5 {
  top: 50%;
  animation-duration: 24s;
}

.scrolling-bg .row-6 {
  top: 62%;
  animation-duration: 30s;
  animation-direction: reverse;
}

.scrolling-bg .row-7 {
  top: 75%;
  animation-duration: 21s;
}

.scrolling-bg .row-8 {
  top: 88%;
  animation-duration: 27s;
  animation-direction: reverse;
}

@keyframes scrollBg {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(6, 13, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 12px 40px;
}

.nav-logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 75px;
  width: auto;
  display: block;
  filter: brightness(1.1);
}

.hero-logo-img {
  height: clamp(120px, 18vw, 180px);
  width: auto;
  display: inline-block;
  vertical-align: middle;
  filter: brightness(1.1);
}

.about-logo-img {
  height: 160px;
  width: auto;
  display: block;
  margin: 0 auto;
  filter: brightness(1.2);
}

.scrolling-logo {
  height: 60px;
  width: auto;
  display: inline-block;
  opacity: 0.8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 26px !important;
  background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
  border-radius: 50px !important;
  color: #fff !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--primary-glow) !important;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 4px;
  transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: none;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  max-width: 800px;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--primary-light), #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  border-radius: 60px;
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 25px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px var(--primary-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 60px;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

/* Floating shapes in hero */
.hero-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: 10%;
  right: 10%;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--accent);
  bottom: 20%;
  left: 8%;
  animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: #7c3aed;
  top: 40%;
  left: 15%;
  animation: float 12s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0);
  }

  33% {
    transform: translate(20px, -30px);
  }

  66% {
    transform: translate(-15px, 15px);
  }
}

/* ============================================
   SLIDE-TO-ACCEPT BUTTON (iPhone style)
   ============================================ */
.slide-btn {
  position: relative;
  width: 320px;
  height: 64px;
  border-radius: 50px;
  background: rgba(0, 74, 173, 0.2);
  border: 2px solid rgba(0, 74, 173, 0.4);
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.slide-btn-track {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.slide-btn-text {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.5);
  padding-left: 40px;
  transition: opacity 0.3s ease;
}

/* Shimmer sweep animation on the text */
.slide-btn-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.08) 40%,
      rgba(255, 255, 255, 0.15) 50%,
      rgba(255, 255, 255, 0.08) 60%,
      transparent 100%);
  animation: slideShimmer 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes slideShimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

/* Draggable thumb */
.slide-btn-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: grab;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0, 74, 173, 0.5),
    0 0 15px rgba(0, 194, 255, 0.2);
  transition: box-shadow 0.3s ease;
}

.slide-btn-thumb:active {
  cursor: grabbing;
}

.slide-btn-thumb:hover {
  box-shadow: 0 6px 28px rgba(0, 74, 173, 0.6),
    0 0 25px rgba(0, 194, 255, 0.3);
}

/* Success state */
.slide-btn.success {
  border-color: rgba(74, 222, 128, 0.5);
  background: rgba(74, 222, 128, 0.15);
}

.slide-btn.success .slide-btn-thumb {
  background: linear-gradient(135deg, #22c55e, #4ade80);
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.5),
    0 0 15px rgba(74, 222, 128, 0.3);
}

.slide-btn.success .slide-btn-text {
  opacity: 0;
}

.slide-btn.success .slide-btn-shimmer {
  animation: none;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section {
  position: relative;
  padding: 100px 40px;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px;
}

.about-visual-logo {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.about-visual-tagline {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

/* --- Bouncing Ball Container --- */
.bouncing-ball-container {
  display: block;
  padding: 0 !important;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.bouncing-ball-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
}

.bouncing-ball {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: transparent;
  border: 2.5px solid var(--ball-neon, #00C2FF);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow:
    0 0 20px color-mix(in srgb, var(--ball-neon, #00C2FF) 40%, transparent),
    0 0 40px color-mix(in srgb, var(--ball-neon, #00C2FF) 15%, transparent),
    inset 0 0 15px color-mix(in srgb, var(--ball-neon, #00C2FF) 10%, transparent);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Domain logo inside ball */
.ball-logo {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ball-neon, #00C2FF);
  filter: drop-shadow(0 0 6px currentColor);
}

.ball-logo svg {
  width: 100%;
  height: 100%;
}

/* Domain name below ball */
.ball-domain-text {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ball-neon, #00C2FF);
  text-align: center;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-shadow: 0 0 10px color-mix(in srgb, var(--ball-neon, #00C2FF) 50%, transparent);
  transition: opacity 0.15s ease, color 0.3s ease;
  white-space: nowrap;
}

.ball-domain-text.fading {
  opacity: 0;
}

.about-visual::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
  top: -40px;
  right: -40px;
}

.about-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
  font-size: 1.02rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.stat-item:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* ============================================
   SERVICES SECTION — Circular Logos + Hover Expand
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 150px);
  justify-content: center;
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 300px;
}

.service-card {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(11, 30, 63, 0.65);
  border: 2px solid var(--border-glass);
  overflow: hidden;
  cursor: pointer;
  justify-self: center;
  contain: layout style;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease,
    opacity 0.3s ease,
    filter 0.3s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 74, 173, 0.1) 0%, transparent 70%);
  pointer-events: none;
  border-radius: inherit;
}

/* --- When grid is hovered, slightly dim NON-hovered cards --- */
.services-grid:hover .service-card:not(:hover) {
  opacity: 0.85;
  filter: brightness(0.9);
  transform: scale(0.95);
}

/* --- Hovered card expands into a wide pill --- */
.service-card:hover {
  width: 380px;
  height: 200px;
  border-radius: 28px;
  border-color: var(--border-glow);
  box-shadow: 0 20px 60px rgba(0, 74, 173, 0.25),
    0 0 50px rgba(0, 194, 255, 0.1);
  z-index: 10;
  overflow: hidden;
}

/* Unique accent glows per domain */
.service-card[data-accent="cloud"]:hover {
  box-shadow: 0 20px 60px rgba(0, 194, 255, 0.25), 0 0 50px rgba(0, 194, 255, 0.12);
  border-color: rgba(0, 194, 255, 0.4);
}

.service-card[data-accent="ai"]:hover {
  box-shadow: 0 20px 60px rgba(168, 85, 247, 0.25), 0 0 50px rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.4);
}

.service-card[data-accent="web"]:hover {
  box-shadow: 0 20px 60px rgba(16, 185, 129, 0.25), 0 0 50px rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.4);
}

.service-card[data-accent="security"]:hover {
  box-shadow: 0 20px 60px rgba(244, 63, 94, 0.25), 0 0 50px rgba(244, 63, 94, 0.12);
  border-color: rgba(244, 63, 94, 0.4);
}

.service-card[data-accent="data"]:hover {
  box-shadow: 0 20px 60px rgba(245, 158, 11, 0.25), 0 0 50px rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
}

.service-card[data-accent="datascience"]:hover {
  box-shadow: 0 20px 60px rgba(168, 85, 247, 0.25), 0 0 50px rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.4);
}

.service-card[data-accent="fullstack"]:hover {
  box-shadow: 0 20px 60px rgba(16, 185, 129, 0.25), 0 0 50px rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.4);
}

.service-card[data-accent="python"]:hover {
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.25), 0 0 50px rgba(245, 158, 11, 0.12);
  border-color: rgba(59, 130, 246, 0.4);
}

.service-card[data-accent="java"]:hover {
  box-shadow: 0 20px 60px rgba(244, 63, 94, 0.25), 0 0 50px rgba(244, 63, 94, 0.12);
  border-color: rgba(244, 63, 94, 0.4);
}

.service-card[data-accent="ba"]:hover {
  box-shadow: 0 20px 60px rgba(245, 158, 11, 0.25), 0 0 50px rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
}

.service-card[data-accent="hr"]:hover {
  box-shadow: 0 20px 60px rgba(236, 72, 153, 0.25), 0 0 50px rgba(236, 72, 153, 0.12);
  border-color: rgba(236, 72, 153, 0.4);
}

.service-card[data-accent="finance"]:hover {
  box-shadow: 0 20px 60px rgba(34, 197, 94, 0.25), 0 0 50px rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.4);
}

.service-card[data-accent="dm"]:hover {
  box-shadow: 0 20px 60px rgba(6, 182, 212, 0.25), 0 0 50px rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.4);
}

.service-card[data-accent="embedded"]:hover {
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.25), 0 0 50px rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.4);
}

.service-card[data-accent="cad"]:hover {
  box-shadow: 0 20px 60px rgba(0, 194, 255, 0.25), 0 0 50px rgba(0, 194, 255, 0.12);
  border-color: rgba(0, 194, 255, 0.4);
}

.service-card[data-accent="iot"]:hover {
  box-shadow: 0 20px 60px rgba(245, 158, 11, 0.25), 0 0 50px rgba(234, 88, 12, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
}

/* --- Logo (default state — centered in circle) --- */
.service-logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 2;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-logo-icon {
  width: 52px;
  height: 52px;
  animation: iconFloat 4s ease-in-out infinite;
  transition: width 0.5s ease, height 0.5s ease;
}

@keyframes iconFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.service-logo-text {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
  text-align: center;
  max-width: 120px;
  line-height: 1.3;
  transition: opacity 0.3s ease, font-size 0.5s ease;
}

/* --- On hover: reposition logo to left side of expanded card --- */
.service-card:hover .service-logo {
  width: 140px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  left: 0;
  top: 0;
  height: 100%;
  border-right: 1px solid var(--border-glass);
  background: rgba(0, 74, 173, 0.06);
}

.service-card:hover .service-logo-icon {
  width: 48px;
  height: 48px;
  animation: none;
}

.service-card:hover .service-logo-text {
  font-size: 0.72rem;
  color: var(--text-primary);
  font-weight: 700;
}

/* --- Hover description (appears on right side) --- */
.service-hover-desc {
  position: absolute;
  top: 0;
  left: 140px;
  width: calc(100% - 140px);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 28px;
  z-index: 3;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.service-card:hover .service-hover-desc {
  opacity: 1;
  transform: translateX(0);
}

.service-hover-desc h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.service-hover-desc p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.service-hover-desc .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.3s ease;
}

.service-hover-desc .learn-more:hover {
  gap: 12px;
}

/* ============================================
   INDUSTRIES WE SERVE — Circular Logos + Hover Expand
   ============================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 150px);
  justify-content: center;
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 300px;
}

.industry-card {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(11, 30, 63, 0.65);
  border: 2px solid var(--border-glass);
  overflow: hidden;
  cursor: pointer;
  justify-self: center;
  contain: layout style;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease,
    opacity 0.3s ease,
    filter 0.3s ease;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 74, 173, 0.1) 0%, transparent 70%);
  pointer-events: none;
  border-radius: inherit;
}

/* Slightly dim non-hovered cards */
.industries-grid:hover .industry-card:not(:hover) {
  opacity: 0.85;
  filter: brightness(0.9);
  transform: scale(0.95);
}

/* Hovered card expands into wide pill */
.industry-card:hover {
  width: 380px;
  height: 200px;
  border-radius: 28px;
  border-color: var(--border-glow);
  box-shadow: 0 20px 60px rgba(0, 74, 173, 0.25),
    0 0 50px rgba(0, 194, 255, 0.1);
  z-index: 10;
}

/* Logo (centered in circle by default) */
.industry-logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 2;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-logo-icon {
  width: 52px;
  height: 52px;
  animation: iconFloat 4s ease-in-out infinite;
  transition: width 0.5s ease, height 0.5s ease;
}

.industry-logo-text {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
  text-align: center;
  max-width: 120px;
  line-height: 1.3;
  transition: opacity 0.3s ease, font-size 0.5s ease;
}

/* On hover: move logo to left side */
.industry-card:hover .industry-logo {
  width: 140px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  left: 0;
  top: 0;
  height: 100%;
  border-right: 1px solid var(--border-glass);
  background: rgba(0, 74, 173, 0.06);
}

.industry-card:hover .industry-logo-icon {
  width: 48px;
  height: 48px;
  animation: none;
}

.industry-card:hover .industry-logo-text {
  font-size: 0.72rem;
  color: var(--text-primary);
  font-weight: 700;
}

/* Description (hidden, slides in on hover) */
.industry-hover-desc {
  position: absolute;
  top: 0;
  left: 140px;
  width: calc(100% - 140px);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 28px;
  z-index: 3;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.industry-card:hover .industry-hover-desc {
  opacity: 1;
  transform: translateX(0);
}

.industry-hover-desc h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.industry-hover-desc p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.industry-hover-desc .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.3s ease;
}

.industry-hover-desc .learn-more:hover {
  gap: 12px;
}

/* ============================================
   WHY CHOOSE US / FEATURES
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-glow);
  background: rgba(0, 74, 173, 0.06);
}

.feature-icon-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.feature-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   TESTIMONIALS / CLIENTS MARQUEE
   ============================================ */
.marquee-section {
  padding: 60px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.marquee-track {
  display: flex;
  gap: 40px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-item {
  flex-shrink: 0;
  padding: 24px 40px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  font-size: 0.95rem;
  color: var(--text-secondary);
  white-space: nowrap;
  font-weight: 500;
  transition: color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    text-shadow 0.3s ease,
    background 0.3s ease;
}

.marquee-item.neon-active {
  color: #00ffd5;
  border-color: #00ffd5;
  background: rgba(0, 255, 213, 0.06);
  box-shadow: 0 0 15px rgba(0, 255, 213, 0.25),
    0 0 40px rgba(0, 255, 213, 0.08),
    inset 0 0 12px rgba(0, 255, 213, 0.05);
  text-shadow: 0 0 8px rgba(0, 255, 213, 0.6),
    0 0 20px rgba(0, 255, 213, 0.3);
  font-weight: 700;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 70px 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  text-align: center;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  top: -100px;
  right: -100px;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
}

.cta-banner .btn-primary:hover {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

/* ============================================
   CONNECT HUB SECTION
   ============================================ */
.connect-hub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

/* --- Left Panel --- */
.hub-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Info Card */
.hub-info-card {
  background: linear-gradient(160deg, var(--secondary), rgba(0, 74, 173, 0.25));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.hub-info-card::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  top: -60px;
  right: -60px;
  pointer-events: none;
}

.hub-info-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.hub-info-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.hub-info-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.hub-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #4ade80;
  font-weight: 500;
}

.hub-status .dot {
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* Contact items */
.hub-contact-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.hub-contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: default;
}

a.hub-contact-row {
  cursor: pointer;
}

a.hub-contact-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.hub-contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 74, 173, 0.2);
  border: 1px solid rgba(0, 74, 173, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.hub-contact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 1px;
}

.hub-contact-value {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* Social row */
.hub-social-row {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.hub-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.hub-social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

/* Login Portal Card */
.hub-login-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.hub-login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #ef4444, #8b5cf6);
}

.hub-login-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--accent);
}

.hub-login-header h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hub-login-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.hub-login-creds {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 20px;
}

.hub-cred-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.hub-cred-row+.hub-cred-row {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hub-cred-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.hub-cred-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  font-family: 'Courier New', monospace;
}

.hub-cred-value a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hub-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  color: #fff;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 20px var(--primary-glow);
}

.hub-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--primary-glow);
}

/* --- Right Panel — Form Card --- */
.hub-right {
  min-height: 100%;
}

.hub-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(12px);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hub-form-header {
  margin-bottom: 28px;
}

.hub-form-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hub-form-header p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.hub-form-card form {
  flex: 1;
}

.hub-submit-btn {
  width: 100%;
  justify-content: center;
}

.hub-form-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Form styles (kept from before) */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-glass);
  padding: 60px 40px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-brand .nav-logo {
  font-size: 1.4rem;
  margin-bottom: 14px;
  display: inline-block;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 300px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-primary);
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 5px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 24px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ============================================
   FLOATING MESSAGE FAB + POPUP PANEL
   ============================================ */
.msg-fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 74, 173, 0.4),
    0 0 0 0 rgba(0, 74, 173, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.msg-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(0, 74, 173, 0.5),
    0 0 20px rgba(0, 194, 255, 0.2);
}

.msg-fab .msg-fab-icon {
  color: #fff;
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: absolute;
}

.msg-fab .msg-fab-icon-chat {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.msg-fab .msg-fab-icon-close {
  opacity: 0;
  transform: scale(0.5) rotate(-90deg);
}

.msg-fab.active .msg-fab-icon-chat {
  opacity: 0;
  transform: scale(0.5) rotate(90deg);
}

.msg-fab.active .msg-fab-icon-close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.msg-fab.active {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  box-shadow: 0 8px 32px rgba(220, 38, 38, 0.4);
}

/* Pulse ring */
.msg-fab-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--primary-light);
  animation: fabPulse 2s ease-out infinite;
  pointer-events: none;
}

.msg-fab.active .msg-fab-pulse {
  display: none;
}

@keyframes fabPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* --- Message Panel --- */
.msg-panel {
  position: fixed;
  bottom: 110px;
  right: 32px;
  width: 400px;
  max-height: 580px;
  background: rgba(11, 30, 63, 0.97);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  z-index: 9998;
  overflow-y: auto;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 74, 173, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.msg-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.msg-panel-header {
  padding: 28px 28px 16px;
  border-bottom: 1px solid var(--border-glass);
}

.msg-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.msg-panel-title svg {
  color: var(--accent);
}

.msg-panel-title h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.msg-panel-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: 30px;
}

.msg-panel-form {
  padding: 20px 28px;
}

.msg-panel-form .form-group {
  margin-bottom: 14px;
}

.msg-panel-form .form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.msg-panel-form .form-group input,
.msg-panel-form .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}

.msg-panel-form .form-group input:focus,
.msg-panel-form .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.msg-panel-form .form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.msg-panel-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.msg-send-btn {
  width: 100%;
  justify-content: center;
  padding: 14px !important;
  font-size: 0.95rem !important;
  margin-top: 4px;
}

.msg-panel-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 28px;
  border-top: 1px solid var(--border-glass);
}

.msg-panel-footer svg {
  color: var(--accent);
}

.msg-panel-footer span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid {
    gap: 24px;
  }

  .service-card:hover {
    width: 380px;
    height: 190px;
  }

  .industries-grid {
    grid-template-columns: repeat(5, 150px);
    gap: 24px;
  }

  .industry-card:hover {
    width: 360px;
    height: 190px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 14px 20px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(6, 13, 26, 0.97);
    backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transition: right var(--transition);
    border-left: 1px solid var(--border-glass);
  }

  .nav-links.open {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    gap: 20px;
  }

  .service-card {
    width: 120px;
    height: 120px;
  }

  .service-card:hover {
    width: 320px;
    height: 180px;
  }

  .services-grid:hover .service-card:not(:hover) {
    width: 90px;
    height: 90px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .connect-hub {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    margin: 0 20px 60px;
    padding: 50px 30px;
  }

  .section {
    padding: 70px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .industries-grid {
    grid-template-columns: repeat(3, 120px);
    gap: 20px;
  }

  .industry-card {
    width: 120px;
    height: 120px;
  }

  .industry-card:hover {
    width: 300px;
    height: 170px;
  }

  .industries-grid:hover .industry-card:not(:hover) {
    transform: scale(0.8);
  }

  .industry-logo-icon {
    width: 40px;
    height: 40px;
  }

  .industry-logo-text {
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   DOMAIN DETAILS MODAL
   ============================================ */
.domain-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.domain-modal.open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.domain-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 13, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.domain-modal-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 90%;
  max-width: 1050px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(135deg, rgba(11, 30, 63, 0.95), rgba(6, 13, 26, 0.98));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6),
    0 0 80px var(--domain-glow, rgba(0, 74, 173, 0.15));
  transform: translateY(30px) scale(0.97);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.5s ease;
}

.domain-modal.open .domain-modal-content {
  transform: translateY(0) scale(1);
}

.domain-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  cursor: pointer;
  z-index: 20;
  transition: var(--transition);
}

.domain-modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  transform: rotate(90deg);
}

/* --- Left Panel — Domain Details --- */
.domain-detail-panel {
  padding: 48px 40px;
  border-right: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.domain-detail-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--domain-accent-bg, rgba(0, 74, 173, 0.12));
  border: 1px solid var(--domain-accent-border, rgba(0, 74, 173, 0.25));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.domain-detail-icon svg {
  width: 40px;
  height: 40px;
}

.domain-detail-title {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--text-primary), var(--domain-color, var(--accent)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.domain-detail-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.domain-detail-features h4,
.domain-detail-tech h4 {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--domain-color, var(--accent));
  margin-bottom: 12px;
}

.domain-detail-features ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.domain-detail-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.domain-detail-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--domain-color, var(--accent));
  flex-shrink: 0;
}

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

.domain-tech-tag {
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.domain-tech-tag:hover {
  border-color: var(--domain-color, var(--accent));
  color: var(--domain-color, var(--accent));
  background: var(--domain-accent-bg, rgba(0, 74, 173, 0.1));
}

/* --- Right Panel — Registration Form --- */
.domain-form-panel {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.domain-form-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.domain-form-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--domain-accent-bg, rgba(0, 74, 173, 0.12));
  border: 1px solid var(--domain-accent-border, rgba(0, 74, 173, 0.25));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.domain-form-icon svg {
  width: 24px;
  height: 24px;
}

.domain-form-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.domain-form-header p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.domain-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.domain-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.domain-form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}

.domain-form-group input,
.domain-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.88rem;
  transition: var(--transition);
  outline: none;
}

.domain-form-group input::placeholder,
.domain-form-group textarea::placeholder {
  color: var(--text-muted);
}

.domain-form-group input:focus,
.domain-form-group textarea:focus {
  border-color: var(--domain-color, var(--accent));
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 20px var(--domain-glow, rgba(0, 194, 255, 0.1));
}

.domain-form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.domain-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--domain-color, var(--primary)), var(--domain-color-light, var(--primary-light)));
  border: none;
  color: #fff;
  font-family: var(--font);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 25px var(--domain-glow, var(--primary-glow));
  margin-top: 8px;
  align-self: flex-end;
}

.domain-form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px var(--domain-glow, var(--primary-glow));
}

.domain-form-submit.success {
  background: linear-gradient(135deg, #22c55e, #4ade80) !important;
  box-shadow: 0 4px 25px rgba(34, 197, 94, 0.4) !important;
}

/* --- Modal Responsive --- */
@media (max-width: 900px) {
  .domain-modal-content {
    grid-template-columns: 1fr;
    max-height: 95vh;
    width: 95%;
  }

  .domain-detail-panel {
    border-right: none;
    border-bottom: 1px solid var(--border-glass);
    padding: 36px 28px 28px;
  }

  .domain-form-panel {
    padding: 28px;
  }
}

@media (max-width: 480px) {

  .domain-detail-panel,
  .domain-form-panel {
    padding: 24px 20px;
  }

  .domain-detail-title {
    font-size: 1.3rem;
  }
}