/* ===== CSS Variables & Design Tokens ===== */
:root {
  /* Technology Junction Orange/White Theme */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #f0f4f8;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.95);
  --bg-dark: #0d1117;
  --bg-dark-secondary: #161b22;
  --bg-dark-gradient: linear-gradient(180deg, #0d1117 0%, #1a1f2e 100%);

  --text-primary: #1a1a2e;
  --text-secondary: #4a4a68;
  --text-muted: #6b7280;
  --text-light: #ffffff;

  /* Orange accent colors from Technology Junction */
  --accent-primary: #f26522;
  --accent-secondary: #ff8c42;
  --accent-dark: #e55a1c;
  --accent-gradient: linear-gradient(135deg, #f26522 0%, #ff8c42 100%);
  --accent-gradient-dark: linear-gradient(135deg, #e55a1c 0%, #f26522 100%);

  --border-color: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(242, 101, 34, 0.3);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  /* Typography */
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Outfit", "Inter", sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Border Radius - Extreme rounding like reference sites */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-2xl: 48px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.16);
  --shadow-glow: 0 0 60px rgba(242, 101, 34, 0.25);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.08);

  /* Edge Glow (Poppr-inspired) */
  --edge-glow: radial-gradient(ellipse at top, rgba(242, 101, 34, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(255, 140, 66, 0.05) 0%, transparent 50%);
}

/* ===== PAGE PRELOADER ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.preloader-icon {
  font-size: 3rem;
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(20px);
  animation: preloaderTextReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.preloader-progress {
  width: 200px;
  height: 3px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto;
}

.preloader-bar {
  height: 100%;
  width: 0%;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
  animation: preloaderBar 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes preloaderPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

@keyframes preloaderTextReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes preloaderBar {
  to {
    width: 100%;
  }
}

/* ===== CUSTOM CURSOR ===== */
.cursor-wrapper {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99998;
  mix-blend-mode: difference;
}

.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease;
  z-index: 99999;
}

.cursor-outline {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
  z-index: 99998;
}

.cursor-dot.hovering {
  transform: translate(-50%, -50%) scale(2);
  background: var(--accent-primary);
}

.cursor-outline.hovering {
  transform: translate(-50%, -50%) scale(1.5);
  border-color: var(--accent-primary);
}

.cursor-dot.clicking {
  transform: translate(-50%, -50%) scale(0.8);
}

.cursor-outline.clicking {
  transform: translate(-50%, -50%) scale(0.9);
}

@media (hover: none) and (pointer: coarse) {
  .cursor-wrapper {
    display: none;
  }

  body {
    cursor: auto !important;
  }
}

@media (hover: hover) and (pointer: fine) {

  body,
  a,
  button,
  [data-cursor] {
    cursor: none !important;
  }
}

/* ===== Smooth Scroll & Base ===== */
html {
  scroll-behavior: smooth;
  /* Momentum-like smooth scroll */
  scroll-padding-top: 100px;
}

/* Optional: Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  /* Edge glow effect like Poppr */
  background-image: var(--edge-glow);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ===== Typography with Highlighted Keywords ===== */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight-word {
  color: var(--accent-primary);
  position: relative;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.5rem;
  background: rgba(242, 101, 34, 0.08);
  border: 1px solid rgba(242, 101, 34, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
}

.section-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Pill-Shaped Buttons (DeedDelivery-inspired) ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-spring);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 8px 30px rgba(242, 101, 34, 0.35);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(242, 101, 34, 0.5);
}

.btn-secondary {
  background: var(--bg-dark);
  color: white;
  border: none;
}

.btn-secondary:hover {
  background: var(--text-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

/* ===== Navigation ===== */
.navbar {
  position: relative;
  z-index: 1000;
  padding: var(--space-md) 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 45px;
  width: auto;
}

.preloader-logo-img {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width var(--transition-normal);
  border-radius: var(--radius-full);
}

.nav-links a:hover {
  color: var(--accent-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Nav CTA Button (Poppr-inspired floating button) */
.nav-cta {
  padding: 0.75rem 1.5rem;
  background: var(--accent-gradient);
  color: white;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition-spring);
  box-shadow: 0 4px 15px rgba(242, 101, 34, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 25px rgba(242, 101, 34, 0.4);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
  border-radius: var(--radius-full);
}

/* ===== Hero Section - Bold Minimalist (Ockom-inspired) ===== */
.hero {
  position: relative;
  min-height: auto;
  /* Removed 100vh to fix gap */
  display: flex;
  align-items: center;
  padding: 120px 0 0 0;
  /* Reduced bottom padding to 0 to connect with About section */
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fff8f5 50%, #fff0eb 100%);
}

.about-tj {
  padding-top: var(--space-4xl);
  /* Default padding */
}



/* Edge glow/aura effect (Poppr-inspired) */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(242, 101, 34, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(255, 140, 66, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 50%, rgba(242, 101, 34, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Floating Gradient Orbs (Ockom-inspired) */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(242, 101, 34, 0.3) 0%, transparent 70%);
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.25) 0%, transparent 70%);
  bottom: 20%;
  left: 5%;
  animation-delay: -7s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(242, 101, 34, 0.2) 0%, transparent 70%);
  top: 60%;
  right: 25%;
  animation-delay: -14s;
}

/* Swoosh decorative elements */
.swoosh-element {
  position: absolute;
  pointer-events: none;
}

.swoosh-1 {
  top: 15%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(242, 101, 34, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}

.swoosh-2 {
  bottom: 25%;
  left: 8%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 5s ease-in-out infinite 1s;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--space-md);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.5rem;
  background: white;
  border: 1px solid rgba(242, 101, 34, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

/* Text Reveal Animation Container */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-xl);
  color: var(--text-primary);
}

/* Text reveal words */
.reveal-word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
}

.reveal-word span {
  display: inline-block;
  transform: translateY(100%);
  animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-word:nth-child(1) span {
  animation-delay: 0.1s;
}

.reveal-word:nth-child(2) span {
  animation-delay: 0.15s;
}

.reveal-word:nth-child(3) span {
  animation-delay: 0.2s;
}

.reveal-word:nth-child(4) span {
  animation-delay: 0.25s;
}

.reveal-word:nth-child(5) span {
  animation-delay: 0.3s;
}

.reveal-word:nth-child(6) span {
  animation-delay: 0.35s;
}

.reveal-word:nth-child(7) span {
  animation-delay: 0.4s;
}

.reveal-word:nth-child(8) span {
  animation-delay: 0.45s;
}

.hero-description {
  font-size: 1.375rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

/* Ensure stats are visible by default */
.stat,
.hero-description,
.hero-cta,
.hero-badge {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  /* Reset any stuck transforms */
}

.stat {
  text-align: center;
  padding: var(--space-md) var(--space-lg);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-spring);
  min-width: 140px;
}

.stat:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}





/* ===== Projects Section ===== */
.projects {
  padding: var(--space-4xl) 0;
  background: var(--bg-secondary);
  position: relative;
}

/* Gradient transition from hero */
.projects::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, #fff0eb, var(--bg-secondary));
  pointer-events: none;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: var(--space-xl);
}

.project-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-spring);
  box-shadow: var(--shadow-card);
}

.project-card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: var(--shadow-glow), var(--shadow-xl);
}

.project-card.featured {
  grid-column: span 1;
}

.project-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-image img {
  transform: scale(1.08);
}

.project-preview {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-content {
  text-align: center;
  color: white;
}

.preview-icon {
  font-size: 3.5rem;
  margin-bottom: var(--space-xs);
}

.preview-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

/* Glass morphism overlay on hover */
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(242, 101, 34, 0.92) 0%, rgba(255, 140, 66, 0.92) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
  backdrop-filter: blur(4px);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 1rem 2rem;
  background: white;
  color: var(--accent-primary);
  border-radius: var(--radius-full);
  font-weight: 600;
  transform: translateY(20px);
  transition: all var(--transition-spring);
  box-shadow: var(--shadow-lg);
}

.project-link:hover {
  transform: translateY(0) scale(1.08);
  box-shadow: var(--shadow-xl);
}

.project-card:hover .project-link {
  transform: translateY(0);
}

.project-info {
  padding: var(--space-lg);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.tag {
  padding: 0.375rem 1rem;
  background: rgba(242, 101, 34, 0.08);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--accent-primary);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.project-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== About Technology Junction Section ===== */
.about-tj {
  padding: 200px 0 var(--space-4xl) 0;
  /* Significantly increased for clear separation */
  margin-top: 0;
  /* Removed negative margin to prevent overlap */
  background: linear-gradient(180deg, #fff0eb 0%, #ffffff 100%);
  position: relative;
  z-index: 2;
  /* Ensure it helps cover any gap */
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
  /* Changed from center to start to fix gap */
}

.about-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.25rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.highlight-item:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.highlight-icon {
  font-size: 1.25rem;
}

.highlight-text {
  font-weight: 600;
  color: var(--text-primary);
}

.about-visual {
  display: flex;
  justify-content: center;
}

.team-preview {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.team-member-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.ceo-card {
  border-left: 4px solid var(--accent-primary);
}

.member-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-info {
  display: flex;
  flex-direction: column;
}

.member-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.member-role {
  font-size: 0.875rem;
  color: var(--accent-primary);
  font-weight: 500;
}

.team-stats-card {
  display: flex;
  gap: var(--space-xl);
  padding: var(--space-lg);
  background: var(--accent-gradient);
  border-radius: var(--radius-xl);
  color: white;
}

.team-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
}

.team-stat-label {
  font-size: 0.875rem;
  opacity: 0.9;
}

.location-card {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  font-weight: 500;
  color: var(--text-secondary);
}

.location-icon {
  font-size: 1.25rem;
}

/* ===== TJ Products Section ===== */
.tj-products {
  padding: var(--space-3xl) 0;
  background: var(--bg-tertiary);
}

.products-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.product-card {
  padding: var(--space-xl);
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all var(--transition-spring);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-primary);
}

.product-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: var(--space-sm);
}

.product-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .products-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .products-showcase {
    grid-template-columns: 1fr;
  }

  .about-highlights {
    flex-direction: column;
  }
}

/* ===== Tech Stack Marquee (Poppr-inspired) ===== */
.tech-marquee {
  padding: var(--space-xl) 0;
  background: var(--bg-tertiary);
  overflow: hidden;
  position: relative;
}

.tech-marquee::before,
.tech-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.tech-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-tertiary), transparent);
}

.tech-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-tertiary), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-content {
  display: flex;
  gap: var(--space-2xl);
  animation: marqueeScroll 25s linear infinite;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.marquee-item:hover {
  color: var(--accent-primary);
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ===== Our Process Section ===== */
.process {
  padding: var(--space-4xl) 0 80px 0;
  background: var(--bg-primary);
  position: relative;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.process-step {
  position: relative;
  padding: var(--space-lg);
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  transition: all var(--transition-spring);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.process-step:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-primary);
}

.process-step:hover::before {
  opacity: 1;
}

.step-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: #f26522;
  /* Original vibrant orange */
  line-height: 1;
  margin-bottom: var(--space-md);
  opacity: 1;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
  min-height: 2.2rem;
  display: flex;
  align-items: flex-end;
  white-space: nowrap;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Testimonials Section ===== */
.testimonials {
  padding: 0 0 var(--space-4xl) 0;
  background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  padding: var(--space-xl);
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  transition: all var(--transition-spring);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  right: 20px;
  font-size: 8rem;
  font-family: Georgia, serif;
  color: rgba(242, 101, 34, 0.08);
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: auto;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Responsive for new sections */
@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .marquee-item {
    font-size: 1.25rem;
  }
}

/* ===== Services Section - Dark Theme Transition (DeedDelivery-inspired) ===== */
.services {
  padding: var(--space-4xl) 0;
  background: var(--bg-dark-gradient);
  position: relative;
  overflow: hidden;
}

/* Decorative accent arc */
.services::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 400px;
  background: var(--bg-secondary);
  border-radius: 0 0 50% 50%;
}

.services .section-badge {
  background: rgba(242, 101, 34, 0.15);
  border-color: rgba(242, 101, 34, 0.25);
}

.services .section-title {
  color: var(--text-light);
}

.services .section-description {
  color: rgba(255, 255, 255, 0.7);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

.service-card {
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all var(--transition-spring);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

/* Top accent bar */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(242, 101, 34, 0.3);
  box-shadow: 0 20px 60px rgba(242, 101, 34, 0.15);
}

.service-icon {
  font-size: 3.5rem;
  margin-bottom: var(--space-lg);
  display: inline-block;
  transition: transform var(--transition-spring);
}

.service-card:hover .service-icon {
  transform: scale(1.2) rotate(-5deg);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  margin-bottom: var(--space-sm);
  color: var(--text-light);
  font-weight: 600;
}

.service-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  line-height: 1.7;
}

/* ===== Contact Section ===== */
.contact {
  padding: var(--space-4xl) 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

/* Orange accent glow */
.contact::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(242, 101, 34, 0.15) 0%, transparent 60%);
  transform: translateY(-50%);
  pointer-events: none;
}

.contact-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact .section-badge {
  background: rgba(242, 101, 34, 0.15);
  border-color: rgba(242, 101, 34, 0.25);
}

.contact .section-title {
  color: var(--text-light);
  text-align: left;
}

.contact-info>p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.25rem;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(8px);
}

.contact-icon {
  font-size: 1.5rem;
}

.contact-item a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--accent-secondary);
}

.contact-cta {
  flex-shrink: 0;
}

/* ===== Footer ===== */
.footer {
  padding: var(--space-lg) 0;
  background: #0a0d12;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-light);
}

.footer-brand .logo-icon {
  color: var(--accent-primary);
}

.footer-text {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-12px) rotate(1deg);
  }

  75% {
    transform: translateY(-8px) rotate(-1deg);
  }
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(30px, -20px) scale(1.05);
  }

  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }

  75% {
    transform: translate(10px, -30px) scale(1.02);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.15);
    opacity: 0.8;
  }
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll-triggered animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered animation delays */
.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

.stagger-5 {
  transition-delay: 0.5s;
}

.stagger-6 {
  transition-delay: 0.6s;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: clamp(2.5rem, 7vw, 4rem);
  }

  .floating-card {
    display: none;
  }

  .floating-orb {
    opacity: 0.4;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: var(--space-lg);
    background: white;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    gap: var(--space-md);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-stats {
    gap: var(--space-md);
  }

  .stat {
    min-width: 110px;
    padding: var(--space-sm) var(--space-md);
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    flex-direction: column;
    text-align: center;
  }

  .contact .section-title {
    text-align: center;
  }

  .contact-details {
    align-items: center;
  }

  .contact-item {
    justify-content: center;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1.125rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
  }

  .stat {
    width: 100%;
    max-width: 200px;
  }
}