/* ===== 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: 2.5rem;
  --space-2xl: 3.5rem;
  --space-3xl: 4.5rem;
  --space-4xl: 5rem;

  /* 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 (GPU Optimized) ===== */
.cursor-wrapper {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99998;
  mix-blend-mode: difference;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  will-change: transform;
  z-index: 99999;
}

.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  will-change: transform;
  z-index: 99998;
}

/* Cursor hover states */
.cursor-dot.hovering {
  width: 12px;
  height: 12px;
  background: var(--accent-primary);
}

.cursor-outline.hovering {
  width: 50px;
  height: 50px;
  border-color: var(--accent-primary);
}

/* Hide on touch devices */
@media (hover: none) and (pointer: coarse) {
  .cursor-wrapper {
    display: none;
  }

  body {
    cursor: auto !important;
  }
}

/* Hide default cursor on desktop */
@media (hover: hover) and (pointer: fine) {

  body,
  a,
  button,
  [data-cursor] {
    cursor: none !important;
  }
}

.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 hover states */
.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);
}

/* Hide on touch devices */
@media (hover: none) and (pointer: coarse) {
  .cursor-wrapper {
    display: none;
  }

  body {
    cursor: auto !important;
  }
}

/* Hide default cursor on desktop */
@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: 2rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.2;
}

.section-description {
  font-size: 1.1rem;
  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 (New Grid Layout) ===== */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 120px 0 80px 0;
  /* Increased top padding */
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fff8f5 50%, #fff0eb 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Floating Gradient Orbs */
.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;
}

/* Hero Grid Layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid rgba(242, 101, 34, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(242, 101, 34, 0.4);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(242, 101, 34, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(242, 101, 34, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(242, 101, 34, 0);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 90%;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Hero Stats Cards (New Card Style) */
.hero-stats-cards {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  /* Space below stats for buttons */
  flex-wrap: wrap;
}

.stat-card {
  background: white;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(242, 101, 34, 0.1);
  min-width: 140px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(242, 101, 34, 0.15);
  border-color: rgba(242, 101, 34, 0.3);
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-key {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Ensure buttons are properly aligned */
.hero-cta {
  display: flex;
  gap: 1rem;
  /* Margin top handled by stats container margin-bottom */
  justify-content: flex-start;
  /* Align left */
}

/* Hero Collage Styling */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-collage {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 4/3;
}

.collage-main {
  position: relative;
  width: 85%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border: 4px solid white;
  z-index: 1;
}

.collage-accent {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid white;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  z-index: 2;
  transition: transform 0.3s ease;
}

.collage-accent:hover {
  transform: scale(1.05);
  z-index: 3;
}

.accent-1 {
  width: 35%;
  top: -10%;
  right: 0;
}

.accent-2 {
  width: 30%;
  bottom: -5%;
  right: 5%;
}

.experience-badge {
  position: absolute;
  bottom: 20%;
  left: -5%;
  background: white;
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 3;
  border: 1px solid rgba(0, 0, 0, 0.05);
  animation: float 6s ease-in-out infinite;
}

.badge-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text .count {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  line-height: 1;
}

.badge-text .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Focus Keyword - SEO Element (Top Center H1) */
.hero-focus-keyword {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.focus-keyword-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin: 0;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  padding: 0.5rem 2rem;
}

.focus-keyword-text::before,
.focus-keyword-text::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: var(--radius-full);
}

.focus-keyword-text::before {
  left: -100px;
  background: linear-gradient(90deg, transparent, var(--accent-primary));
}

.focus-keyword-text::after {
  right: -100px;
  background: linear-gradient(90deg, var(--accent-secondary), transparent);
}

/* Hero grid back to 2 columns */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Responsive Hero */
@media (max-width: 1024px) {
  .hero-focus-keyword {
    margin-bottom: 2rem;
  }

  .focus-keyword-text {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    letter-spacing: 2px;
    padding: 0.5rem 1rem;
  }

  .focus-keyword-text::before,
  .focus-keyword-text::after {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-text-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-stats-row {
    justify-content: center;
  }

  .collage-main {
    width: 90%;
    margin: 0 auto;
  }
}





/* ===== 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-xl);
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  transition: all var(--transition-spring);
}

.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;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-md);
  opacity: 0.8;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.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: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 200px;
  background: linear-gradient(to bottom, #fff0eb, var(--bg-dark-gradient));
  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;
  }
}

/* ===== Specialties Section ===== */
.specialties {
  padding: var(--space-4xl) 0;
  background: var(--bg-secondary);
  position: relative;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.specialty-card {
  padding: var(--space-lg);
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all var(--transition-spring);
  cursor: pointer;
}

.specialty-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-primary);
}

.specialty-icon {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
  display: block;
  transition: transform var(--transition-spring);
}

.specialty-card:hover .specialty-icon {
  transform: scale(1.2) rotate(5deg);
}

.specialty-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.specialties-note {
  text-align: center;
  padding: var(--space-lg);
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
}

.specialties-note p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* ===== Why Choose Us Section ===== */
.why-choose-us {
  padding: var(--space-4xl) 0;
  background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  position: relative;
  padding: var(--space-xl);
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  transition: all var(--transition-spring);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-primary);
}

.feature-number {
  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: var(--space-md);
  opacity: 0.8;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.feature-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Trust Section ===== */
.trust-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-tertiary);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.trust-item {
  text-align: center;
  padding: var(--space-xl);
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  transition: all var(--transition-spring);
}

.trust-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-primary);
}

.trust-icon {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
  display: block;
  transition: transform var(--transition-spring);
}

.trust-item:hover .trust-icon {
  transform: scale(1.1) rotate(-5deg);
}

.trust-item h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.trust-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Contact Form ===== */
.contact-form-wrapper {
  flex: 1;
  min-width: 400px;
  max-width: 600px;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  color: white;
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-dark);
  color: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  width: 100%;
  margin-top: var(--space-md);
}

/* ===== Footer Styles Enhancement ===== */
.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: var(--space-sm);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.footer-column h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: var(--space-md);
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-column ul li a:hover {
  color: var(--accent-secondary);
}

.footer-text {
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive additions */
@media (max-width: 1024px) {
  .specialties-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-links {
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .specialties-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    min-width: 100%;
  }

  .footer-links {
    flex-direction: column;
    gap: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Case Studies Section ===== */
.case-studies {
  padding: var(--space-4xl) 0;
  background: var(--bg-primary);
  position: relative;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
}

.case-study-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-spring);
  box-shadow: var(--shadow-card);
}

.case-study-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-glow), var(--shadow-xl);
}

.case-study-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--accent-gradient);
}

.case-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, rgba(242, 101, 34, 0.9) 0%, rgba(255, 140, 66, 0.9) 100%);
}

.case-icon {
  font-size: 4rem;
  opacity: 0.3;
}

.case-stats-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

.stat-badge {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label-small {
  font-size: 0.875rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.case-study-content {
  padding: var(--space-xl);
}

.case-tag {
  display: inline-block;
  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;
  margin-bottom: var(--space-md);
  letter-spacing: 0.3px;
}

.case-study-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

/* Ensure stats are visible by default */
.stat,
.stat-card,
.hero-stats-cards,
.hero-stats-row,
.hero-description,
.hero-cta,
.hero-badge {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.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: 2.5rem;
  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;
}

/* ===== Platform Showcase Section ===== */
.platform-showcase {
  padding: var(--space-4xl) 0;
  background: var(--bg-secondary);
  position: relative;
}

.platform-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  align-items: center;
}

.platform-text {
  position: relative;
  z-index: 1;
}

.platform-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.platform-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.platform-feature-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.feature-check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--accent-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
}

.platform-feature-item h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.platform-feature-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.platform-visual {
  position: relative;
  z-index: 1;
}

.dashboard-mockup {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform var(--transition-slow);
}

.dashboard-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
  padding: var(--space-md);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-muted);
}

.mockup-dots span:nth-child(1) {
  background: #ff5f56;
}

.mockup-dots span:nth-child(2) {
  background: #ffbd2e;
}

.mockup-dots span:nth-child(3) {
  background: #27c93f;
}

.mockup-title {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.mockup-content {
  padding: var(--space-xl);
}

.mockup-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-sm);
  height: 200px;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-color);
}

.chart-bar {
  flex: 1;
  background: var(--accent-gradient);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  min-height: 40px;
  transition: all var(--transition-normal);
  animation: chartGrow 1s ease-out;
}

.chart-bar:hover {
  opacity: 0.8;
  transform: scaleY(1.05);
}

@keyframes chartGrow {
  from {
    height: 0;
  }
}

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.mockup-stat {
  text-align: center;
  padding: var(--space-md);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
}

.stat-label-mock {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.stat-value-mock {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Comparison Section ===== */
.comparison-section {
  padding: var(--space-4xl) 0;
  background: var(--bg-primary);
}

.comparison-table-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.comparison-table {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
}

.comparison-header {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  background: var(--bg-secondary);
  border-bottom: 2px solid var(--border-color);
}

.comparison-header .comparison-col {
  padding: var(--space-lg);
  text-align: center;
}

.comparison-header .comparison-col h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.highlight-col {
  background: rgba(242, 101, 34, 0.05);
  position: relative;
}

.highlight-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: var(--accent-gradient);
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-row {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition-fast);
}

.comparison-row:hover {
  background: var(--bg-secondary);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-label {
  padding: var(--space-lg);
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  border-right: 1px solid var(--border-color);
}

.comparison-col {
  padding: var(--space-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.comparison-value {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.highlight-col .comparison-value {
  color: var(--accent-primary);
}

.comparison-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== Partner Platforms Section ===== */
.partner-platforms {
  padding: var(--space-4xl) 0;
  background: var(--bg-primary);
  position: relative;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-lg);
  align-items: center;
}

.partner-item {
  padding: var(--space-xl);
  background: white;
  border-radius: var(--radius-xl);
  border: 2px solid var(--border-color);
  text-align: center;
  transition: all var(--transition-spring);
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
  border-color: var(--accent-primary);
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.partner-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive for Partner Platforms */
@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Client Logos Section ===== */
.client-logos {
  padding: var(--space-3xl) 0;
  background: var(--bg-secondary);
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  align-items: center;
}

.logo-item {
  padding: var(--space-xl);
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all var(--transition-spring);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-primary);
}

.logo-placeholder {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ===== FAQ Section ===== */
.faq-section {
  padding: var(--space-4xl) 0;
  background: var(--bg-primary);
}

.faq-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent-primary);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(242, 101, 34, 0.1);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 var(--space-lg);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 var(--space-lg) var(--space-lg);
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
}

/* Responsive additions for new sections */
@media (max-width: 1024px) {
  .platform-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .platform-visual {
    order: -1;
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
  }

  .comparison-header,
  .comparison-row {
    grid-template-columns: 150px 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .case-metrics {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .comparison-header,
  .comparison-row {
    grid-template-columns: 120px 1fr 1fr;
    font-size: 0.875rem;
  }

  .comparison-label {
    font-size: 0.875rem;
    padding: var(--space-md);
  }

  .comparison-col {
    padding: var(--space-md);
  }

  .comparison-value {
    font-size: 1rem;
  }

  .logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-mockup {
    transform: none;
  }
}

@media (max-width: 480px) {
  .case-studies-grid {
    grid-template-columns: 1fr;
  }

  .comparison-header,
  .comparison-row {
    grid-template-columns: 100px 1fr 1fr;
  }

  .comparison-label {
    font-size: 0.75rem;
    padding: var(--space-sm);
  }

  .comparison-col {
    padding: var(--space-sm);
  }

  .logos-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== GLOBAL STYLING STANDARDIZATION ===== */

/* Global H1 & H2 Font Size Standardization */
h1,
.h1 {
  font-size: clamp(2rem, 5vw, 3rem) !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

h2,
.h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem) !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

/* Service Card Styling */
.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-spring);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card .service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Specialties Section */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.specialty-card {
  padding: 1.25rem;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all var(--transition-spring);
}

.specialty-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-primary);
}

.specialty-card .specialty-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.specialty-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Why Choose Us Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  transition: all var(--transition-spring);
  text-align: center;
  /* Center align for new design */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-primary);
}

.feature-icon-wrapper {
  margin-bottom: 1rem;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a2e;
  /* Sets the currentColor for SVG */
  transition: all var(--transition-normal);
}

.feature-icon-svg {
  width: 28px;
  height: 28px;
  display: block;
}

.feature-card:hover .feature-icon {
  background: #1a1a2e;
  color: white;
  /* SVG will turn white */
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Partner Platforms Grid - Force Single Row */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.partner-item {
  padding: 1.5rem 1rem;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-spring);
  height: 100px;
}

.partner-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-primary);
}

.partner-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all var(--transition-normal);
}

.partner-item:hover .partner-logo-text {
  filter: grayscale(0%);
  opacity: 1;
  color: var(--text-primary);
}

.logo-bold {
  font-weight: 800;
  color: #1a1a2e;
}

.logo-light {
  font-weight: 400;
  color: #1a1a2e;
}

.logo-icon.orange {
  color: var(--accent-primary);
  font-weight: 700;
}

.logo-icon-sm {
  font-size: 1rem;
  margin-right: 6px;
  color: var(--accent-primary);
}

/* Client Logos Grid - Force Single Row */
.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.logo-item {
  padding: 1.25rem 1rem;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all var(--transition-spring);
}

.logo-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-primary);
}

.logo-placeholder {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Responsive: Stack on smaller screens */
@media (max-width: 900px) {

  .partners-grid,
  .logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {

  .partners-grid,
  .logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Case Studies Cards - Fixed Layout ===== */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.case-study-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-spring);
}

.case-study-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* Card Image Header - Fixed Height */
.case-study-image {
  min-height: 120px;
}

.case-image-placeholder {
  background: var(--accent-gradient);
  color: white;
  text-align: center;
  padding: 2rem 1.5rem;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.case-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.case-stats-overlay {
  text-align: center;
}

.stat-badge {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label-small {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

/* Card Content - Flex grow to fill space */
.case-study-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-tag {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: rgba(242, 101, 34, 0.1);
  color: var(--accent-primary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  width: fit-content;
}

.case-study-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.case-study-content .case-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
  min-height: 80px;
}

/* Card Metrics - Always at bottom, aligned */
.case-study-content .case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.metric-item {
  text-align: center;
}

.metric-item .metric-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-primary);
  line-height: 1.2;
  display: block;
}

.metric-item .metric-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.2;
  display: block;
}

/* Responsive */
@media (max-width: 1024px) {
  .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .case-studies-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* ===== Specialties Section ===== */
.specialties {
  padding: var(--space-4xl) 0 4rem 0;
  /* Reduced bottom padding */
  background: var(--bg-primary);
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  /* Force 8 columns for 2 rows */
  gap: 1rem;
  /* Reduced gap */
  margin-bottom: var(--space-xl);
}

.specialty-card {
  background: white;
  border-radius: var(--radius-lg);
  /* Slightly smaller radius */
  padding: 1rem 0.5rem;
  /* Reduced padding */
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all var(--transition-spring);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 140px;
  /* Reduced height */
}

.specialty-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.specialty-icon {
  font-size: 2rem;
  /* Smaller icon */
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  transition: all var(--transition-normal);
  line-height: 1;
}

.specialty-card:hover .specialty-icon {
  color: var(--accent-primary);
  /* Orange on hover */
  transform: scale(1.1);
  background: transparent;
}

.specialty-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  /* Smaller text */
  color: var(--text-primary);
  line-height: 1.2;
}

.specialties-note {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.specialties-note p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Responsive Grid for Specialties */
@media (max-width: 1200px) {
  .specialties-grid {
    grid-template-columns: repeat(4, 1fr);
    /* 4x4 on medium screens */
  }
}

@media (max-width: 768px) {
  .specialties-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Why Choose Us Section ===== */
.why-choose-us {
  padding-top: 3rem;
  /* Reduced top padding to close gap */
  padding-bottom: var(--space-4xl);
  background: var(--bg-secondary);
}

/* ===== Services Section ===== */
.services-section-custom {
  background-color: #f8f9fa !important;
  /* Hardcoded light gray to force override */
  padding: 3rem 0;
  /* Reduced padding */
  color: #1a1a2e;
  /* Force dark text */
  position: relative;
  z-index: 10;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  /* Compact columns */
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: white;
  padding: 1.5rem 1rem;
  /* Compact padding */
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  min-height: 160px;
  /* Small height */
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--accent-primary);
}

.service-icon {
  font-size: 1.5rem;
  /* Smaller icon */
  color: #1a1a2e;
  /* Black/Dark Blue */
  margin-bottom: 0.25rem;
  width: 40px;
  height: 40px;
  background: #f0f4f8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  /* Compact font */
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

/* Ensure section header text is visible on light background */
.services-section-custom .section-title {
  color: var(--text-primary) !important;
}

.services-section-custom .section-description {
  color: var(--text-secondary) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}