/* ==========================================================================
   Modern Portfolio Theme - Parth Dattani & PixelPerfect Apps
   Inspired by premium high-performance mobile developer portfolios
   ========================================================================== */

/* --- Custom Variables & Theme Tokens --- */
:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Primary & Accent Palettes */
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-glow: rgba(59, 130, 246, 0.45);
  --primary-light: rgba(59, 130, 246, 0.12);
  
  --secondary: #8b5cf6;
  --secondary-hover: #7c3aed;
  --secondary-glow: rgba(139, 92, 246, 0.4);
  
  --accent-pink: #ec4899;
  --accent-green: #10b981;
  --accent-green-glow: rgba(16, 185, 129, 0.4);
  --accent-amber: #f59e0b;
  --accent-cyan: #06b6d4;
  
  /* Backgrounds & Glassmorphism */
  --bg-dark: #090d16;
  --bg-darker: #050810;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(26, 36, 56, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.65);
  --bg-input: rgba(15, 23, 42, 0.8);
  
  /* Borders & Gradients */
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(59, 130, 246, 0.35);
  --border-subtle: rgba(255, 255, 255, 0.05);
  
  /* Typography Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --text-heading: #ffffff;
  
  /* Radii & Shadow Tokens */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 35px rgba(59, 130, 246, 0.25);
  
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Ambient Grid & Canvas */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(rgba(59, 130, 246, 0.12) 1px, transparent 1px),
    radial-gradient(rgba(139, 92, 246, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  pointer-events: none;
  z-index: -1;
  opacity: 0.55;
}

/* Dynamic Interactive HTML5 Canvas */
.bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Ambient Floating Glowing Orbs */
.ambient-glow-wrapper {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -2;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  mix-blend-mode: screen;
  pointer-events: none;
}

.ambient-glow-1 {
  top: 5%;
  left: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #2563eb 0%, #1d4ed8 50%, transparent 80%);
  animation: floatOrb1 18s ease-in-out infinite alternate;
}

.ambient-glow-2 {
  top: 45%;
  right: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #7c3aed 0%, #a855f7 50%, transparent 80%);
  animation: floatOrb2 22s ease-in-out infinite alternate;
}

.ambient-glow-3 {
  bottom: 10%;
  left: 20%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #06b6d4 0%, #0284c7 50%, transparent 80%);
  animation: floatOrb3 20s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.25; }
  50% { transform: translate(60px, 80px) scale(1.15); opacity: 0.35; }
  100% { transform: translate(-40px, 120px) scale(0.95); opacity: 0.22; }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.28; }
  50% { transform: translate(-80px, -60px) scale(1.2); opacity: 0.38; }
  100% { transform: translate(50px, -100px) scale(0.9); opacity: 0.24; }
}

@keyframes floatOrb3 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.22; }
  50% { transform: translate(90px, -70px) scale(1.1); opacity: 0.32; }
  100% { transform: translate(-60px, 40px) scale(0.95); opacity: 0.2; }
}

/* Mouse Spotlight Glow Follower */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.05) 45%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

body:hover .cursor-glow {
  opacity: 1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  color: inherit;
}

/* --- Layout Containers --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(9, 13, 22, 0.8) 100%);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

/* --- Typography & Text Gradients --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.25;
  font-weight: 700;
}

.text-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-blue {
  background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* --- Glassmorphism Component --- */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.glass-panel:hover {
  border-color: var(--border-glass-hover);
}

/* --- Navigation Bar --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition);
}

.header .container {
  max-width: 1320px;
  padding: 0 1.75rem;
}

.header.scrolled {
  background: rgba(9, 13, 22, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  width: 100%;
  gap: 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 14px var(--primary-glow);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-main);
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* --- Buttons & Action Elements --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-success {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--accent-green-glow);
}

.btn-success:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-green-glow);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

/* --- Hero Section --- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 450px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, rgba(139, 92, 246, 0.12) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: heroPulse 7s ease-in-out infinite alternate;
}

@keyframes heroPulse {
  0% { transform: translateX(-50%) scale(0.9); opacity: 0.7; }
  100% { transform: translateX(-50%) scale(1.1); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Avatar Showcase */
.hero-avatar-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  animation: floatAvatar 6s ease-in-out infinite;
}

.hero-avatar {
  width: 165px;
  height: 165px;
  border-radius: 50%;
  border: 3.5px solid rgba(96, 165, 250, 0.85);
  box-shadow: 0 0 35px rgba(59, 130, 246, 0.45), 0 15px 35px rgba(0, 0, 0, 0.6);
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-avatar:hover {
  transform: scale(1.04);
  border-color: #93c5fd;
  box-shadow: 0 0 45px rgba(59, 130, 246, 0.65), 0 20px 40px rgba(0, 0, 0, 0.75);
}

.hero-avatar-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #1e3a8a 0%, #0f172a 80%);
}

.hero-avatar-initials {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #60a5fa, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.status-indicator {
  position: absolute;
  bottom: 8px;
  right: 10px;
  width: 22px;
  height: 22px;
  background-color: var(--accent-green);
  border-radius: 50%;
  border: 3.5px solid #090d16;
  box-shadow: 0 0 14px var(--accent-green-glow);
  animation: pulseGreen 2.5s infinite;
  z-index: 10;
}

@keyframes pulseGreen {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

@keyframes floatAvatar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-skills-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #e2e8f0;
  transition: var(--transition);
}

.skill-tag:hover {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
  color: #fff;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 780px;
  margin: 0 auto 2.5rem;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.hero-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  transition: var(--transition);
}

.social-icon-btn:hover {
  color: #ffffff;
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 20px var(--primary-glow);
}

/* --- About Section & Stat Cards --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.about-bio-card {
  padding: 2.5rem;
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-text strong {
  color: #ffffff;
  font-weight: 600;
}

.about-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.about-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.95rem;
}

.about-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

/* 4 Gradient Stat Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.stat-card {
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  color: #ffffff;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.stat-card-1 {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

.stat-card-2 {
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
}

.stat-card-3 {
  background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
}

.stat-card-4 {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.35rem;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.92;
}

/* --- Skills Section --- */
.skills-grid-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.skill-category-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.skill-category-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.category-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
}

.category-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.skill-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-badge {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
}

.badge-blue { background: rgba(59, 130, 246, 0.15); color: #93c5fd; border-color: rgba(59, 130, 246, 0.25); }
.badge-purple { background: rgba(139, 92, 246, 0.15); color: #c4b5fd; border-color: rgba(139, 92, 246, 0.25); }
.badge-green { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; border-color: rgba(16, 185, 129, 0.25); }
.badge-amber { background: rgba(245, 158, 11, 0.15); color: #fcd34d; border-color: rgba(245, 158, 11, 0.25); }
.badge-pink { background: rgba(236, 72, 153, 0.15); color: #f472b6; border-color: rgba(236, 72, 153, 0.25); }
.badge-cyan { background: rgba(6, 182, 212, 0.15); color: #67e8f9; border-color: rgba(6, 182, 212, 0.25); }

/* --- Projects Section --- */
.projects-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), var(--shadow-glow);
}

.project-thumb {
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
}

.project-thumb-1 { background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); }
.project-thumb-2 { background: linear-gradient(135deg, #4c1d95 0%, #8b5cf6 100%); }
.project-thumb-3 { background: linear-gradient(135deg, #065f46 0%, #10b981 100%); }
.project-thumb-4 { background: linear-gradient(135deg, #831843 0%, #ec4899 100%); }
.project-thumb-5 { background: linear-gradient(135deg, #78350f 0%, #f59e0b 100%); }
.project-thumb-6 { background: linear-gradient(135deg, #164e63 0%, #06b6d4 100%); }

.project-thumb-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  z-index: 2;
  text-align: center;
}

.project-thumb-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  z-index: 2;
}

.project-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: #ffffff;
}

.project-summary {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.project-links {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.project-btn {
  flex: 1;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  transition: var(--transition);
}

.project-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 14px var(--primary-glow);
}

/* --- Projects View All / Show Less Toggle --- */
.projects-view-more-wrap {
  text-align: center;
  margin-top: 3.5rem;
  position: relative;
  z-index: 5;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 2.4rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(59, 130, 246, 0.4);
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.6), 0 0 20px rgba(59, 130, 246, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.view-all-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  border-color: #60a5fa;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.45), 0 0 25px rgba(124, 58, 237, 0.35);
}

.view-all-btn:active {
  transform: translateY(-1px);
}

.view-all-btn .btn-icon {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.view-all-btn.expanded .btn-icon {
  transform: rotate(180deg);
}

/* --- Case Studies Section (Dalsukh reference inspired) --- */
.case-studies-wrap {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.case-study-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.case-study-card:hover {
  border-color: rgba(59, 130, 246, 0.35);
}

.case-study-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
}

.case-study-visual {
  background: linear-gradient(135deg, #1e3a8a 0%, #6d28d9 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
}

.case-study-visual-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.case-study-visual-sub {
  font-size: 1rem;
  color: #cbd5e1;
  font-weight: 500;
}

.case-study-content {
  padding: 2.5rem;
}

.case-study-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.75rem;
}

.case-study-blocks {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.cs-block {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  border-left: 4px solid transparent;
}

.cs-block-challenge {
  background: rgba(239, 68, 68, 0.08);
  border-left-color: #ef4444;
}

.cs-block-solution {
  background: rgba(59, 130, 246, 0.08);
  border-left-color: #3b82f6;
}

.cs-block-results {
  background: rgba(16, 185, 129, 0.08);
  border-left-color: #10b981;
}

.cs-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.cs-block-challenge .cs-heading { color: #f87171; }
.cs-block-solution .cs-heading { color: #60a5fa; }
.cs-block-results .cs-heading { color: #34d399; }

.cs-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.cs-results-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cs-results-list li {
  font-size: 0.92rem;
  color: #a7f3d0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --- Work Experience Section --- */
.timeline-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.timeline-card {
  padding: 2.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.timeline-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-3px);
}

.timeline-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.timeline-role {
  font-size: 1.35rem;
  font-weight: 700;
  color: #60a5fa;
}

.timeline-company {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.timeline-badge {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #ffffff;
}

.timeline-duties {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.timeline-duties li {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  position: relative;
  padding-left: 1.4rem;
  display: block !important;
}

.timeline-duties li::before {
  content: '▹';
  position: absolute;
  left: 0;
  top: 0;
  color: #60a5fa;
  font-size: 1.1rem;
  line-height: 1.65;
}

.timeline-duties li strong {
  color: #93c5fd;
  font-weight: 700;
  margin-right: 0.35rem;
  display: inline !important;
}

/* --- Contact Section --- */
.contact-container {
  max-width: 850px;
  margin: 0 auto;
}

.contact-card {
  padding: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0.5rem auto 1.5rem;
}

.discovery-cta-box {
  display: inline-block;
  margin-bottom: 2.5rem;
}

.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.quick-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.quick-contact-item:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.3);
}

.quick-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.quick-label {
  font-size: 0.85rem;
  color: var(--text-subtle);
  font-weight: 500;
}

.quick-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-size: 0.95rem;
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: #ffffff;
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
  background: rgba(15, 23, 42, 0.95);
}

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

/* --- Footer --- */
.footer {
  padding: 2.75rem 0 2rem;
  border-top: 1px solid var(--border-glass);
  background: var(--bg-darker);
  position: relative;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-visitor-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-copy {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  transition: var(--transition);
}

.back-to-top:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px var(--primary-glow);
}

/* --- Interactive Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #0f172a;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), var(--shadow-glow);
  transform: translateY(20px) scale(0.97);
  transition: var(--transition);
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* Toast Notifications */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  font-weight: 600;
  font-size: 0.95rem;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   AGENCY-GRADE EXTENSION STYLES (PixelPerfect Apps Studio)
   ========================================================================== */

/* --- 2-Column Agency Hero --- */
.hero-agency-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.hero-agency-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.hero-agency-left .hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -0.025em;
  word-break: normal;
  overflow-wrap: break-word;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.hero-agency-lead {
  font-size: 1.12rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 1.75rem;
  word-break: normal;
  overflow-wrap: break-word;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.hero-bullets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.hero-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #f1f5f9;
  background: rgba(15, 23, 42, 0.6);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.07);
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  word-break: break-word;
}

.hero-bullet-icon {
  width: 18px;
  height: 18px;
  color: #34d399;
  flex-shrink: 0;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  color: var(--text-muted);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.hero-trust-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #fbbf24;
  font-weight: 700;
}

/* --- Visitor Counter Badges & Pills --- */
.hero-badges-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.visitor-counter-pill,
.footer-visitor-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.32rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
  line-height: 1.2;
}

.visitor-counter-pill:hover,
.footer-visitor-pill:hover {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
  transform: translateY(-1px);
}

.visitor-pulse-dot {
  width: 7px;
  height: 7px;
  min-width: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981, 0 0 14px rgba(16, 185, 129, 0.5);
  animation: pulseEmerald 2s infinite ease-in-out;
}

@keyframes pulseEmerald {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.65;
  }
}

.visitor-label {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.82rem;
}

.visitor-number {
  color: #34d399;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

/* --- Interactive Studio Tech Console (Hero Right) --- */
.hero-agency-right {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.agency-tech-console {
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(59, 130, 246, 0.2);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.agency-tech-console:hover {
  border-color: rgba(96, 165, 250, 0.6);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(59, 130, 246, 0.3);
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.console-dots {
  display: flex;
  gap: 6px;
}

.console-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.console-dot-red { background: #ef4444; }
.console-dot-yellow { background: #f59e0b; }
.console-dot-green { background: #10b981; }

.console-title {
  font-family: monospace;
  font-size: 0.78rem;
  color: #94a3b8;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.console-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.console-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  animation: pulseGreen 2s infinite;
}

.console-body {
  padding: 1.25rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Telemetry Grid inside Console */
.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.telemetry-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-sizing: border-box;
}

.telemetry-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.telemetry-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.telemetry-val.cyan { color: #22d3ee; }
.telemetry-val.green { color: #34d399; }
.telemetry-val.amber { color: #fbbf24; }
.telemetry-val.purple { color: #c084fc; }

/* Interactive Tabs */
.console-tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
  background: rgba(15, 23, 42, 0.6);
  padding: 4px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.console-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-align: center;
}

.console-tab-btn.active,
.console-tab-btn:hover {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  font-weight: 700;
}

.console-tab-btn.active {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
  border: 1px solid rgba(96, 165, 250, 0.4);
}

.console-tab-content {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 1rem;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.console-tab-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.console-tab-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.console-tab-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.console-tab-stack span {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.25);
  font-family: monospace;
}

/* --- Infinite Marquee Banner --- */
.tech-marquee-section {
  padding: 1.5rem 0;
  background: rgba(11, 17, 32, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 100vw;
}

.tech-marquee-wrapper {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tech-marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 2rem;
  animation: scrollMarquee 28s linear infinite;
  align-items: center;
}

.tech-marquee-track:hover {
  animation-play-state: paused;
}

.marquee-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}

.marquee-badge:hover {
  border-color: rgba(96, 165, 250, 0.5);
  background: rgba(30, 58, 138, 0.3);
  transform: translateY(-2px);
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Engagement / Pricing Models --- */
.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.model-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  width: 100%;
  box-sizing: border-box;
}

.model-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.model-card.popular {
  border-color: rgba(59, 130, 246, 0.5);
  background: linear-gradient(180deg, rgba(30, 58, 138, 0.25) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.model-ribbon {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.model-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.model-tagline {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.model-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.model-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.model-feature-icon {
  color: #34d399;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Industry Solutions Grid --- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

/* --- 5-Stage Delivery Process Grid --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

/* --- FAQ Accordion --- */
.faq-accordion {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  width: 100%;
  box-sizing: border-box;
}

.faq-item.active {
  border-color: rgba(96, 165, 250, 0.4);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
  box-sizing: border-box;
}

.faq-question:hover {
  color: #60a5fa;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: #94a3b8;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: #60a5fa;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  box-sizing: border-box;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* --- Agency Differentiators Matrix --- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.diff-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
  width: 100%;
  box-sizing: border-box;
}

.diff-card:hover {
  border-color: rgba(96, 165, 250, 0.4);
  transform: translateY(-3px);
}

.diff-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.diff-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.diff-card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Desktop -> Tablet -> Mobile -> Small Mobile)
   ========================================================================== */

@media (max-width: 1240px) and (min-width: 1041px) {
  .nav-links {
    gap: 0.85rem;
  }
  .nav-link {
    font-size: 0.84rem;
  }
  .logo {
    font-size: 1.15rem;
  }
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 74px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    background: rgba(9, 13, 22, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-glass);
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    box-sizing: border-box;
  }
  
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 992px) {
  .hero-agency-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 2.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .hero-agency-left {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  .hero-agency-right {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .case-study-grid {
    grid-template-columns: 1fr;
  }
  
  .case-study-visual {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4.5rem 0;
  }

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

  .models-grid,
  .projects-grid,
  .industries-grid,
  .process-grid,
  .diff-grid,
  .skills-grid-main {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  
  .contact-card {
    padding: 2rem 1.5rem;
  }
  
  .contact-quick-grid,
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 0.75rem !important;
  }
  
  .hero-buttons .btn {
    width: 100% !important;
    max-width: 100% !important;
  }

  .project-links {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-right {
    flex-direction: column-reverse;
    gap: 0.75rem;
  }
}

@media (max-width: 580px) {
  .container {
    padding: 0 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-section {
    padding: 5.5rem 0 3rem !important;
    min-height: auto !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-agency-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.75rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .hero-agency-left {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  .hero-badge-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    font-size: 0.72rem !important;
    padding: 0.35rem 0.65rem !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.35 !important;
    margin-bottom: 0.85rem !important;
    box-sizing: border-box !important;
  }

  .hero-agency-left .hero-title,
  .hero-title {
    font-size: clamp(1.4rem, 5.8vw, 1.85rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 0.85rem !important;
    letter-spacing: -0.02em !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    text-align: left !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .hero-agency-lead {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.25rem !important;
    text-align: left !important;
    max-width: 100% !important;
    min-width: 0 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .hero-bullets-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    margin-bottom: 1.25rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .hero-bullet-item {
    font-size: 0.8rem !important;
    padding: 0.5rem 0.75rem !important;
    justify-content: flex-start !important;
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
  }

  .hero-buttons {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 0.6rem !important;
    margin-bottom: 1.25rem !important;
  }

  .hero-buttons .btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.86rem !important;
    padding: 0.7rem 1rem !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
  }

  .hero-trust-bar {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.45rem !important;
    align-items: flex-start !important;
    text-align: left !important;
    font-size: 0.78rem !important;
    margin-top: 1rem !important;
    padding-top: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .hero-trust-bar > span:not([class]):not(:has(*)) {
    display: none !important;
  }

  .agency-tech-console {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    border-radius: var(--radius-md) !important;
    box-sizing: border-box !important;
  }

  .console-header {
    padding: 0.65rem 0.85rem !important;
  }

  .console-title {
    font-size: 0.7rem !important;
  }

  .console-status-badge {
    font-size: 0.65rem !important;
    padding: 2px 6px !important;
  }

  .console-body {
    padding: 0.85rem !important;
    box-sizing: border-box !important;
  }

  .telemetry-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
    margin-bottom: 0.85rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .telemetry-box {
    padding: 0.55rem 0.65rem !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .telemetry-label {
    font-size: 0.65rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .telemetry-val {
    font-size: 0.92rem !important;
  }

  .console-tabs {
    gap: 0.25rem !important;
    padding: 3px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .console-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .console-tab-btn {
    font-size: 0.7rem !important;
    padding: 0.35rem 0.5rem !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }

  .console-tab-content {
    padding: 0.85rem !important;
    min-height: 120px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .console-tab-title {
    font-size: 0.88rem !important;
  }

  .console-tab-desc {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
  }

  .section-title {
    font-size: clamp(1.5rem, 5.5vw, 2rem) !important;
  }

  .section-subtitle {
    font-size: 0.9rem !important;
  }

  .section-header {
    margin-bottom: 2rem !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem !important;
    box-sizing: border-box !important;
  }

  .nav {
    height: 62px;
    gap: 0.5rem;
    box-sizing: border-box !important;
  }

  .nav-links {
    top: 62px;
    max-height: calc(100vh - 62px);
  }

  .logo {
    font-size: 1.05rem;
    gap: 0.45rem;
  }

  .logo-img {
    width: 30px !important;
    height: 30px !important;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .nav-actions .btn-sm {
    padding: 0.38rem 0.75rem;
    font-size: 0.8rem;
  }

  .hero-agency-left .hero-title,
  .hero-title {
    font-size: clamp(1.35rem, 5.6vw, 1.75rem) !important;
    line-height: 1.25 !important;
  }

  .hero-badge-pill {
    font-size: 0.7rem !important;
    padding: 0.3rem 0.6rem !important;
  }

  .stat-card {
    padding: 1.25rem 0.85rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .contact-card {
    padding: 1.5rem 1rem;
  }

  .form-input,
  .form-textarea,
  .form-select {
    padding: 0.75rem 0.85rem;
    font-size: 0.9rem;
  }

  .faq-question {
    padding: 1rem 1.15rem;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0 1.15rem;
    font-size: 0.88rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 1.15rem 1.15rem 1.15rem;
  }
}

@media (max-width: 360px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .telemetry-grid {
    grid-template-columns: 1fr;
  }

  .logo span {
    font-size: 0.95rem;
  }
}

/* --- Netlify Injected Badge & Drawer Suppression --- */
iframe#nl-badge-frame,
#nl-badge-frame,
iframe[title*="Netlify"],
[data-netlify-badge],
.netlify-badge,
[data-netlify-drawer],
netlify-drawer,
div:has(> a[href*="netlify.com"]) {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  z-index: -9999 !important;
}

/* --- Creative Stuff Studio Inspired Dynamic Animations --- */

/* 1. Top Reading Progress Bar */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 35%, #ec4899 70%, #10b981 100%);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.7), 0 0 20px rgba(236, 72, 153, 0.5);
  z-index: 10000;
  transition: width 0.1s ease-out;
  pointer-events: none;
}

/* 2. Hero Typing / Rotating Word Effect */
.typing-wrapper {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.typing-word {
  background: linear-gradient(135deg, #f59e0b 0%, #ec4899 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  display: inline-block;
  min-width: 1ch;
  transition: opacity 0.2s ease;
}

.typing-cursor {
  display: inline-block;
  font-weight: 300;
  color: #38bdf8;
  margin-left: 2px;
  animation: blinkCursor 0.85s infinite;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* 3. Floating Scroll-To-Top Button */
.scroll-to-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(59, 130, 246, 0.45);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.85);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 15px rgba(59, 130, 246, 0.25);
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-to-top-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  border-color: #60a5fa;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.5), 0 0 25px rgba(124, 58, 237, 0.4);
}

/* 4. Creative Stuff Studio Scroll Entry Animations (AOS) */
.anim-fade-up {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.anim-fade-down {
  opacity: 0;
  transform: translateY(-35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.anim-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.anim-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.anim-zoom-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.anim-in {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* Staggered Delay Utilities */
[data-delay="100"] { transition-delay: 0.1s !important; }
[data-delay="200"] { transition-delay: 0.2s !important; }
[data-delay="300"] { transition-delay: 0.3s !important; }
[data-delay="400"] { transition-delay: 0.4s !important; }
[data-delay="500"] { transition-delay: 0.5s !important; }
[data-delay="600"] { transition-delay: 0.6s !important; }

/* 5. Glowing Micro-Animations */
@keyframes buttonPulseGlow {
  0%, 100% {
    box-shadow: 0 4px 15px var(--primary-glow);
  }
  50% {
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.7), 0 0 40px rgba(139, 92, 246, 0.4);
  }
}

.btn-primary {
  animation: buttonPulseGlow 3.5s infinite ease-in-out;
}

@keyframes rubberBandAnim {
  0% { transform: scale(1); }
  30% { transform: scaleX(1.15) scaleY(0.85); }
  40% { transform: scaleX(0.85) scaleY(1.15); }
  50% { transform: scaleX(1.08) scaleY(0.92); }
  65% { transform: scaleX(0.96) scaleY(1.04); }
  75% { transform: scaleX(1.03) scaleY(0.97); }
  100% { transform: scale(1); }
}

.hero-badge-pill:hover,
.project-thumb-badge:hover,
.filter-btn.active {
  animation: rubberBandAnim 0.75s ease;
}


