/* ==========================================================================
   OctSpace Premium Landing Page Design System & Stylesheet (2026 Edition)
   ========================================================================== */

/* --- Design Tokens & Variables --- */
:root {
  /* Fonts */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-script: 'Caveat', cursive;

  /* Colors */
  --primary: #2563EB;             /* Electric Blue */
  --primary-hover: #1D4ED8;
  --primary-glow: rgba(37, 99, 235, 0.15);
  
  --accent-purple: #8B5CF6;       /* Violet / Purple gradient target */
  --accent-cyan: #06B6D4;         /* Cyber Cyan highlights */
  
  --bg-light: #F8FAFC;            /* Sophisticated light gray background */
  --bg-white: #FFFFFF;
  --bg-dark: #090D1A;             /* Sleek dark backgrounds for footers/CTA */
  
  --text-dark: #0F172A;           /* Deep slate for high legibility */
  --text-muted: #64748B;          /* Soft grey for descriptive text */
  --text-light: #F1F5F9;
  
  /* Glassmorphism Styles */
  --card-glass: rgba(255, 255, 255, 0.45);
  --border-glass: rgba(255, 255, 255, 0.4);
  --border-dark-glass: rgba(15, 23, 42, 0.05);
  --card-dark-glass: rgba(15, 22, 42, 0.85);
  --border-dark: rgba(255, 255, 255, 0.08);

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
  --shadow-md: 0 12px 20px -3px rgba(0, 0, 0, 0.04), 0 4px 12px -2px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 30px 40px -10px rgba(15, 23, 42, 0.06), 0 10px 20px -5px rgba(0, 0, 0, 0.02);
  --shadow-glow-blue: 0 10px 30px rgba(37, 99, 235, 0.15);
  --shadow-glow-purple: 0 10px 30px rgba(139, 92, 246, 0.15);
  
  /* Borders & Radius */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Spacing */
  --section-padding: 8rem 2rem;
}

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

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

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

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

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

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- Ambient Decorative Blobs --- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.65;
}

.blob-1 {
  top: -10%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(37, 99, 235, 0) 70%);
}

.blob-2 {
  top: 15%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(139, 92, 246, 0) 70%);
}

.blob-3 {
  bottom: 20%;
  left: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, rgba(6, 182, 212, 0) 70%);
}

/* --- Custom Glassmorphism Card Utility --- */
.glass-card {
  background: var(--card-glass);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  transition: var(--transition-smooth);
}

/* --- Custom Magnetic Cursor --- */
.custom-cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: width 0.3s, height 0.3s, background-color 0.3s, opacity 0.3s;
}

/* --- Section Animation Reveals --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.4rem;
  border-radius: 999px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  border: none;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white);
  box-shadow: var(--shadow-glow-blue);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
  background: var(--card-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-arrow, .btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: var(--transition-fast);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-large {
  padding: 1.3rem 3rem;
  font-size: 1.15rem;
}

/* --- Typography Utilities --- */
.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.script-font {
  font-family: var(--font-script);
  font-weight: 700;
  color: var(--accent-purple);
  position: relative;
  display: inline-block;
  padding-right: 0.2rem;
  transform: rotate(-1.5deg);
}

.script-font::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--primary));
  border-radius: 4px;
  transform: skewX(-15deg);
}

/* --- Navigation Header --- */
.header {
  position: fixed;
  top: 1.5rem;
  left: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
  display: flex;
  justify-content: center; /* Center navigation navbar on all devices */
}

.navbar {
  pointer-events: auto;
  max-width: 1180px;
  width: 94%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
  position: relative; /* Anchor for absolute mobile navigation links */
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-dark);
  flex-shrink: 0;
}

.logo-img {
  height: 1.8rem;
  width: auto;
  object-fit: contain;
}

.navbar .logo-img {
  filter: invert(1);
}

.logo-dot {
  color: var(--primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: clamp(1rem, 1.8vw, 1.8rem);
  align-items: center;
  flex-shrink: 1;
  margin: 0;
  padding: 0;
}

.nav-links a:not(.nav-cta) {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links a:not(.nav-cta):hover, .nav-links a:not(.nav-cta).active {
  color: var(--text-dark);
}

.text-white {
  color: #ffffff !important;
}

.nav-cta,
.nav-links a.nav-cta,
.nav-links a.nav-cta:hover,
.nav-links a.nav-cta.active,
.mobile-cta-li .nav-cta,
.mobile-cta-li .nav-cta:hover {
  background-color: var(--primary);
  color: #ffffff !important;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.nav-cta:hover,
.nav-links a.nav-cta:hover,
.mobile-cta-li .nav-cta:hover {
  background-color: var(--primary-hover);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
}

.mobile-cta-li {
  display: none;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  width: 24px;
}

.mobile-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* --- Hero Section --- */
.subpage-hero,
.hero-section {
  padding-top: 10rem;
  padding-bottom: 6rem;
  position: relative;
}
.subpage-hero{
  text-align: center;
}

@media (max-width: 991px) {
  .subpage-hero,
  .hero-section {
    padding-top: 7rem;
    padding-bottom: 5rem;
  }
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 4rem;
  min-height: 80vh;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge-wrapper {
  margin-bottom: 1.5rem;
}

.hero-badge {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.15);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(2.8rem, 4.5vw, 4.8rem);
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 1.8rem;
  letter-spacing: -1.5px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 3.5rem;
}

/* Stats Badges row */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  width: 100%;
  max-width: 580px;
}

.stat-badge {
  background: var(--bg-white);
  border: 1px solid var(--border-dark-glass);
  box-shadow: var(--shadow-sm);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.1rem;
  text-align: left;
  width: 100%;
  transition: var(--transition-fast);
}

.stat-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.15);
}

.stat-badge-icon {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.icon-blue { background-color: var(--primary); }
.icon-green { background-color: var(--accent-cyan); }
.icon-yellow { background-color: #F59E0B; }
.icon-purple { background-color: var(--accent-purple); }

.stat-badge > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

.stat-number {
  display: block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 0.2rem;
  text-align: left;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
}

/* --- Hero Right (CSS Art Mockups) --- */
.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-wrapper {
  position: relative;
  width: 100%;
  height: 520px;
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 40px 40px;
  background-image: linear-gradient(to right, rgba(15, 23, 42, 0.02) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
  mask-image: radial-gradient(circle, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle, black 40%, transparent 80%);
  z-index: 0;
}

/* Window Mockup Defaults */
.window-mockup {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background-color: var(--bg-white);
  border: 1px solid rgba(15, 23, 42, 0.06);
  position: absolute;
}

.window-header {
  height: 40px;
  background-color: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.6rem;
  position: relative;
}

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

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

.dot-red { background-color: #EF4444; }
.dot-yellow { background-color: #F59E0B; }
.dot-green { background-color: #10B981; }

.window-address {
  font-size: 0.75rem;
  color: var(--text-muted);
  background-color: var(--bg-white);
  border: 1px solid #E2E8F0;
  padding: 0.2rem 1.5rem;
  border-radius: 99px;
  margin: 0 auto;
  max-width: 60%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   Agency Remote Engineering Showcase Hub (Hero Visual)
   ========================================================================== */
.agency-showcase-wrapper {
  position: relative;
  width: 100%;
  max-width: 620px;
  height: 500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Glow Blobs behind showcase */
.agency-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(65px);
  z-index: 1;
  pointer-events: none;
}
.blob-primary {
  width: 320px;
  height: 320px;
  top: 5%;
  right: 10%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.38) 0%, rgba(139, 92, 246, 0.18) 70%, transparent 100%);
}
.blob-cyan {
  width: 280px;
  height: 280px;
  bottom: 5%;
  left: 5%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.35) 0%, rgba(37, 99, 235, 0.15) 70%, transparent 100%);
}

/* Common Agency Showcase Glass Card */
.agency-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.05);
  border-radius: 20px;
}

/* 1. Main Centerpiece Command Card */
.main-command-card {
  width: 460px;
  top: 30px;
  left: 30px;
  z-index: 5;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  animation: float-agency-main 7s ease-in-out infinite;
}
.command-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding-bottom: 0.8rem;
}
.command-logo-col {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.command-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.92rem;
  color: #0f172a;
}
.command-badge {
  background: linear-gradient(135deg, #2563eb, #8b5cf6);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 99px;
  letter-spacing: 0.3px;
}

/* Sprint Box */
.sprint-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.sprint-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sprint-label {
  font-size: 0.66rem;
  font-weight: 800;
  color: #475569;
  letter-spacing: 0.5px;
}
.sprint-pct {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.78rem;
  color: #2563eb;
}
.sprint-progress-track {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}
.sprint-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.4);
}
.pipeline-steps {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 600;
  margin-top: 0.2rem;
}
.step.done { color: #10b981; }
.step.active { color: #2563eb; font-weight: 700; }

/* Metrics Grid */
.agency-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.metric-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.metric-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.circle-blue { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.circle-green { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.circle-purple { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.circle-yellow { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.metric-num {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f172a;
  line-height: 1.1;
}
.metric-sub {
  font-size: 0.66rem;
  color: #64748b;
  font-weight: 500;
}

/* 2. Floating Tech Cluster (Top Right) */
.floating-tech-cluster {
  top: -5px;
  right: 5px;
  z-index: 10;
  padding: 1rem 1.2rem;
  width: 236px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  animation: float-agency-tech 6s ease-in-out infinite;
}
.cluster-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.78rem;
  color: #0f172a;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 0.4rem;
}
.tech-pills {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.tech-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tech-pill:hover {
  transform: translateX(4px);
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.mini-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  object-fit: contain;
}

/* 3. Floating Client Scorecard (Bottom Left) */
.floating-client-card {
  bottom: 5px;
  left: 10px;
  z-index: 15;
  padding: 1.1rem 1.3rem;
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  animation: float-agency-client 6.5s ease-in-out infinite;
}
.client-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.client-rating-badge {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}
.client-verified {
  font-size: 0.65rem;
  font-weight: 700;
  color: #10b981;
}
.client-quote {
  font-size: 0.74rem;
  color: #334155;
  line-height: 1.45;
  font-style: italic;
  margin: 0;
}
.client-meta {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.4rem;
}

/* Animations */
@keyframes float-agency-main {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes float-agency-tech {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1.5deg); }
}
@keyframes float-agency-client {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-1deg); }
}


/* --- Logo Marquee (Infinite Scrolling) --- */
/* --- Logo Marquee (Trusted by amazing businesses) --- */
.logo-marquee-section {
  padding: 3.5rem 0 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f172a;
  position: relative;
  overflow: hidden;
}

.marquee-title {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 2.8rem;
  letter-spacing: 0.2px;
}

.marquee-container {
  overflow: hidden;
  display: flex;
  width: 100%;
  position: relative;
}

/* Subtle dark edge fade gradient */
.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #0f172a, rgba(15, 23, 42, 0));
}
.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #0f172a, rgba(15, 23, 42, 0));
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-anim 52s linear infinite;
  gap: 3.8rem;
  padding-right: 3.8rem;
}

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

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.82;
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  user-select: none;
}

.marquee-item:hover {
  opacity: 1;
  transform: scale(1.04);
}

.marquee-item img {
  max-height: 38px;
  max-width: 155px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.bookman-logo, .derma-logo {
  filter: invert(1) brightness(200%) !important;
}

/* Custom exact logo typography styles replicating screenshot (in bright white/platinum) */
.logo-clonify {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.55rem;
  color: #ffffff;
  letter-spacing: -0.6px;
}
.logo-prezlock {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.4rem;
  color: #ffffff;
  letter-spacing: 0.5px;
}
.logo-yeti {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.55rem;
  color: #ffffff;
  letter-spacing: -0.5px;
}
.logo-optimal {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.optimal-main {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: #ffffff;
}
.optimal-main strong {
  font-weight: 800;
}
.optimal-main span {
  font-weight: 500;
  color: #cbd5e1;
}
.optimal-sub {
  font-size: 0.52rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.9px;
  text-align: right;
  margin-top: 3px;
  text-transform: uppercase;
}
.logo-himalayan {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
}
.himalayan-svg {
  width: 44px;
  height: 20px;
  margin-bottom: 2px;
}
.himalayan-svg path {
  stroke: #ffffff;
}
.himalayan-main {
  font-family: var(--font-title);
  font-size: 0.68rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1.3px;
}
.himalayan-sub {
  font-size: 0.44rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 2.2px;
}
.logo-gamergear {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gamer-box {
  background: #ffffff;
  color: #0f172a;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 0.65rem;
  letter-spacing: 0.8px;
  padding: 2px 7px;
  border-radius: 3px;
}
.gamer-sub {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.54rem;
  color: #ffffff;
  letter-spacing: 1.5px;
  margin-top: 3px;
}

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


/* --- Section Structural Commons --- */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4.5rem;
}

.section-center-header {
  max-width: 700px;
  margin: 0 auto 5rem;
}

.subtitle {
  display: inline-block;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.text-center {
  text-align: center;
  display: block;
}

.section-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.15;
  color: var(--text-dark);
  letter-spacing: -1px;
}

.section-link {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.link-arrow {
  width: 1.1rem;
  height: 1.1rem;
  transition: var(--transition-fast);
}

.section-link:hover {
  color: var(--primary-hover);
}

.section-link:hover .link-arrow {
  transform: translateX(4px);
}


/* --- Services Section --- */
.services-section {
  padding: var(--section-padding);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

.service-card {
  padding: 3rem 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

.service-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  margin-bottom: 1.8rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.service-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

/* Services icon circles */
.circle-blue {
  background: linear-gradient(135deg, var(--primary), #3B82F6);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}
.circle-green {
  background: linear-gradient(135deg, var(--accent-cyan), #10B981);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.2);
}
.circle-purple {
  background: linear-gradient(135deg, var(--accent-purple), #EC4899);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
}
.circle-cyan {
  background: linear-gradient(135deg, #06B6D4, #3B82F6);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.15);
}
.circle-yellow {
  background: linear-gradient(135deg, #F59E0B, #EF4444);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.2);
}
.circle-red {
  background: linear-gradient(135deg, #EF4444, var(--accent-purple));
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.2);
}

.service-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.service-link-btn {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
}

.service-link-btn span {
  transition: transform 0.3s;
}

/* Service Card Hover state */
.service-card:hover {
  background-color: var(--bg-white);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow-blue);
  border-color: rgba(37, 99, 235, 0.2);
}

.service-card:hover .service-link-btn {
  color: var(--primary-hover);
}

.service-card:hover .service-link-btn span {
  transform: translateX(4px);
}


/* --- Middle Stats CTA Bar --- */
.stats-cta-section {
  padding-bottom: 4rem;
}

.stats-cta-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 100%);
  border-radius: var(--radius-xl);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 4rem;
  color: var(--bg-light);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.cta-stat {
  display: flex;
  flex-direction: column;
}

.cta-stat-num {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--bg-white) 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.cta-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.cta-text-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cta-text-side h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.cta-text-side p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
}

/* High-Contrast Luminous Primary Button for Dark Stats Banner */
.stats-cta-card .cta-btn {
  background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.45) !important;
  font-weight: 600;
  padding: 0.95rem 2.2rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stats-cta-card .cta-btn:hover {
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%) !important;
  color: #FFFFFF !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.65) !important;
}

.stats-cta-card .cta-btn .btn-arrow {
  color: #FFFFFF !important;
  transition: transform 0.3s ease;
}

.stats-cta-card .cta-btn:hover .btn-arrow {
  transform: translateX(4px);
}


/* --- Featured Projects (Portfolio) --- */
.portfolio-section {
  padding: var(--section-padding);
}

.portfolio-list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.portfolio-item {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.portfolio-item.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.portfolio-item.reverse .portfolio-image-wrapper {
  grid-column: 2;
}

.portfolio-item.reverse .portfolio-details {
  grid-column: 1;
}

.portfolio-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

/* Custom visual gradients inside project images */
.project-placeholder-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.proj-1 {
  background: linear-gradient(135deg, #1E3A8A 0%, #0F766E 100%);
}

.proj-2 {
  background: linear-gradient(135deg, #4C1D95 0%, #831843 100%);
}

.proj-3 {
  background: linear-gradient(135deg, #064E3B 0%, #1E3A8A 100%);
}

.proj-4 {
  background: linear-gradient(135deg, #7C2D12 0%, #4C1D95 100%);
}

.mockup-ui {
  background-color: var(--bg-white);
  padding: 1.5rem;
  border-radius: 12px;
  width: 70%;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.mockup-ui.dark {
  background-color: var(--bg-dark);
  color: var(--bg-light);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-ui-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.mockup-ui-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-ui-bars div {
  height: 8px;
  background-color: #E2E8F0;
  border-radius: 4px;
}

.mockup-ui.dark .mockup-ui-bars div {
  background-color: rgba(255, 255, 255, 0.1);
}

.mockup-ui-bars div:nth-child(1) { width: 90%; }
.mockup-ui-bars div:nth-child(2) { width: 75%; }
.mockup-ui-bars div:nth-child(3) { width: 50%; }

/* Image overlay on hover */
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.project-tag {
  align-self: flex-start;
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 0.4rem 1rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
}

.portfolio-btn {
  align-self: flex-end;
  background-color: var(--bg-white);
  color: var(--text-dark);
  padding: 0.8rem 1.6rem;
  border-radius: 99px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
}

/* Details column */
.portfolio-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.portfolio-meta {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}

.portfolio-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  color: var(--text-dark);
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

.portfolio-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.portfolio-case-study {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
}

.portfolio-case-study:hover {
  color: var(--primary);
}

/* Hover effects */
.portfolio-image-wrapper:hover {
  transform: scale(0.98);
  box-shadow: var(--shadow-lg);
}

.portfolio-image-wrapper:hover .project-placeholder-img {
  transform: scale(1.06);
}

.portfolio-image-wrapper:hover .portfolio-overlay {
  opacity: 1;
}


/* --- Process Section (Timeline) --- */
.process-section {
  padding: var(--section-padding);
}

.timeline-container {
  position: relative;
  margin-top: 6rem;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  top: 40px;
  left: 5%;
  width: 90%;
  height: 4px;
  background-color: #E2E8F0;
  border-radius: 2px;
  z-index: 1;
}

.timeline-progress {
  height: 100%;
  width: 16.66%; /* progress bar matches active step */
  background: linear-gradient(90deg, var(--primary), var(--accent-purple));
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  position: relative;
  z-index: 2;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.step-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 4px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.step-content {
  padding: 1.8rem 1.4rem;
  text-align: center;
  width: 90%;
  opacity: 0.7;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.step-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.step-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Active timeline step state */
.timeline-step.active .step-dot {
  border-color: var(--primary);
  background-color: var(--primary);
  color: var(--bg-white);
  transform: scale(1.15);
  box-shadow: var(--shadow-glow-blue);
}

.timeline-step.active .step-content {
  opacity: 1;
  background-color: var(--bg-white);
  transform: translateY(0);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.1);
}


/* --- Why Choose Us Section --- */
.why-us-section {
  padding: var(--section-padding);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 3.5rem;
}

.main-stats-card {
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.main-stats-card h3 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.main-stats-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 3.5rem;
}

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

.counter-item {
  display: flex;
  flex-direction: column;
}

.counter-num {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

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

/* Features grids */
.why-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.feature-glass-card {
  padding: 2.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feat-icon {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.feature-glass-card h4 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
}

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

.feature-glass-card:hover {
  background-color: var(--bg-white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.1);
}


/* --- Testimonials Section (Carousel) --- */
.testimonials-section {
  padding: var(--section-padding);
}

.slider-controls {
  display: flex;
  gap: 1rem;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.slider-btn svg {
  width: 18px;
  height: 18px;
}

.slider-btn:hover {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  padding: 1.5rem 0.5rem;
}

.slider-track {
  display: flex;
  gap: 2.2rem;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card {
  flex: 0 0 calc(50% - 1.1rem); /* Show 2 cards at a time */
  padding: 3.5rem 3rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.card-quote {
  font-family: var(--font-title);
  font-size: 7rem;
  line-height: 0.1;
  color: var(--primary);
  opacity: 0.08;
  position: absolute;
  top: 3.5rem;
  left: 2rem;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 1.2rem;
  margin-top: auto;
  border-top: 1px solid var(--border-dark-glass);
  padding-top: 1.8rem;
  width: 100%;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #CBD5E1;
  background-size: cover;
  background-position: center;
}

.img-1 { background-image: url('assets/images/avatars/avatar-1.jpg'); }
.img-2 { background-image: url('assets/images/avatars/avatar-2.jpg'); }
.img-3 { background-image: url('assets/images/avatars/avatar-3.jpg'); }

.avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
}
.avatar-initials.blue {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}
.avatar-initials.purple {
  background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}
.avatar-initials.emerald {
  background: linear-gradient(135deg, #10B981 0%, #047857 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}
.avatar-initials.amber {
  background: linear-gradient(135deg, #F59E0B 0%, #B45309 100%);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.author-name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.author-rating {
  color: #F59E0B;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 3.5rem;
}

.slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #CBD5E1;
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dots .dot.active {
  width: 24px;
  border-radius: 99px;
  background-color: var(--primary);
}


/* --- Blog Section --- */
.blog-section {
  padding: var(--section-padding);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

.blog-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.blog-image-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s var(--transition-smooth);
}

.blog-img-1 { background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%); }
.blog-img-2 { background: linear-gradient(135deg, #10B981 0%, #064E3B 100%); }
.blog-img-3 { background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%); }

.blog-icon-overlay {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 2px;
}

.blog-category {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text-dark);
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.blog-content {
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.8rem;
  display: block;
}

.blog-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
}

.blog-title a:hover {
  color: var(--primary);
}

.blog-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.blog-read-more {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
}

.blog-read-more span {
  transition: transform 0.3s;
}

/* Hover styles */
.blog-card:hover {
  background-color: var(--bg-white);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.1);
}

.blog-card:hover .blog-placeholder-img {
  transform: scale(1.06);
}

.blog-card:hover .blog-read-more {
  color: var(--primary);
}

.blog-card:hover .blog-read-more span {
  transform: translateX(4px);
}


/* --- Large CTA Banner Section --- */
.cta-banner-section {
  padding: 8rem 2rem;
  position: relative;
}

.cta-banner-container {
  background: linear-gradient(135deg, #090D1A 0%, #15102A 100%);
  border-radius: var(--radius-xl);
  padding: 6rem 4rem;
  text-align: center;
  color: var(--bg-light);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-glow-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 70%);
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}

.cta-subtitle {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 1.8rem;
  position: relative;
  z-index: 2;
}

.cta-desc {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}


/* --- Footer --- */
/* --- Footer --- */
.footer {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 0 0 3rem;
  border-top: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
}

.footer-accent-bar {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #EA580C 0%, #EC4899 35%, #8B5CF6 70%, #3B82F6 100%);
  box-shadow: 0 0 20px rgba(234, 88, 12, 0.4);
  margin-bottom: 5.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr;
  gap: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 4.5rem;
  margin-bottom: 2.5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.info-col {
  max-width: 340px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.2rem;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.8rem;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  font-size: 0.85rem;
  color: #FFFFFF;
  font-weight: 600;
  width: fit-content;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
  color: #FFFFFF;
  margin-bottom: 1.8rem;
  letter-spacing: -0.3px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  transition: all 0.25s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.contact-col {
  max-width: 320px;
}

.footer-contact-box {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.footer-contact-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.footer-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
  padding: 0.8rem 1.3rem;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
  filter: brightness(1.08);
}

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

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #10B981;
  font-size: 0.85rem;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px #10B981;
}

.made-with {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.55);
}

.heart {
  color: #EC4899;
}

/* ==========================================================================
   Live Site Integration Styles (Hero, Marquee Logos, Services, Who We Are, Contact)
   ========================================================================== */

/* Hero Main Banner Display */
.hero-main-banner-card {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 10;
  max-width: 540px;
  margin: 0 auto;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hero-main-banner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
}
.hero-live-banner-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

/* Marquee Brand Logos */
.marquee-item img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.65);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.marquee-item:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.08);
}

/* Live Service Icons */
.live-service-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

/* Who We Are / Cybersecurity Section */
.who-we-are-section {
  padding: 8rem 0;
  position: relative;
  z-index: 2;
}
.who-we-are-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.who-visual-col {
  position: relative;
}
.who-visual-wrapper {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  position: relative;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-lg);
}
.who-main-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}
.who-floating-badge {
  position: absolute;
  bottom: -25px;
  right: -25px;
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-lg);
  z-index: 5;
  border: 1px solid var(--border-glass);
}
.who-floating-badge .shield-icon {
  font-size: 2.2rem;
}
.who-floating-badge .shield-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
}
.who-floating-badge .shield-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.who-lead-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.who-sub-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.2rem;
}
.who-checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.who-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.7);
  transition: transform 0.25s ease, background 0.25s ease;
}
.who-check-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}
.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Comprehensive Contact Section (Free Consultancy / Quotation) */
.contact-section {
  padding: 8rem 0;
  position: relative;
  z-index: 2;
}
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: start;
}
.contact-intro-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-info-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.35rem 1.6rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-info-card:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}
.contact-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon-circle svg {
  width: 22px;
  height: 22px;
}
.contact-icon-circle.circle-yellow { background: rgba(245, 158, 11, 0.12); color: #F59E0B; }
.contact-icon-circle.circle-blue { background: rgba(37, 99, 235, 0.12); color: #2563EB; }
.contact-icon-circle.circle-green { background: rgba(16, 185, 129, 0.12); color: #10B981; }

.contact-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.2rem;
}
.contact-value {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}
.contact-info-card a.contact-value:hover {
  color: var(--primary);
}

.contact-form-wrapper {
  padding: 3rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-lg);
}
.form-heading {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.9);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  background: #ffffff;
}
.form-submit-btn {
  margin-top: 0.5rem;
  padding: 1.1rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
  font-weight: 700;
}


/* ==========================================================================
   Responsive Media Queries (Responsive Layouts)
   ========================================================================== */

@media (max-width: 1200px) {
  .hero-container {
    gap: 2rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-card:nth-child(3) {
    display: none; /* Hide 3rd post on smaller grids */
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 991px) {
  :root {
    --section-padding: 6rem 1.5rem;
  }
  .navbar {
    width: 94%;
    max-width: 100%;
    padding: 0.7rem 1.4rem;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    margin-top: 1rem;
    z-index: 1000;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-cta {
    display: none;
  }
  .mobile-cta-li {
    display: block;
    width: 100%;
    padding-top: 0.5rem;
  }
  .mobile-cta-li .nav-cta {
    display: block;
    text-align: center;
    width: 100%;
    color: #ffffff !important;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 5rem;
  }
  .hero-content {
    align-items: center;
  }
  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .hero-stats {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-visual {
    margin-top: 2rem;
  }
  .stats-cta-card {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem;
  }
  .portfolio-item, .portfolio-item.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .portfolio-item.reverse .portfolio-image-wrapper {
    grid-column: 1;
  }
  .portfolio-item.reverse .portfolio-details {
    grid-column: 1;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .timeline-line {
    display: none;
  }
  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .timeline-step {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
  }
  .step-dot {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .step-content {
    text-align: left;
    width: 100%;
    transform: none;
  }
  .testimonial-card {
    flex: 0 0 100%;
  }
  .who-we-are-grid,
  .contact-section-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .who-floating-badge {
    right: 0;
    bottom: -15px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.2rem; /* Reduce container padding to maximize screen width on mobile */
  }
  .navbar {
    padding: 0.6rem 1.4rem;
    width: 92%; /* Set navbar width explicitly to align centered within header */
  }
  .hero-title {
    font-size: clamp(1.8rem, 7.5vw, 2.8rem); /* Slightly downscale hero text on narrow mobile widths */
    letter-spacing: -1px;
  }
  .hero-badge {
    font-size: 0.72rem;
    padding: 0.4rem 1rem;
    border-radius: 12px; /* Set tighter border-radius so wrapping doesn't deform it */
    display: inline-block;
    line-height: 1.4;
    word-break: keep-all;
  }
  .visual-wrapper {
    height: 420px;
    max-width: 100%;
    overflow: hidden;
  }
  .agency-showcase-wrapper {
    height: 440px;
  }
  .main-command-card {
    width: 360px;
    top: 15px;
    left: 10px;
    padding: 1.1rem;
  }
  .floating-tech-cluster {
    top: 5px;
    right: 5px;
    width: 180px;
    padding: 0.8rem;
  }
  .floating-client-card {
    bottom: 5px;
    left: 10px;
    width: 250px;
    padding: 0.8rem 1rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .why-features-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .form-row,
  .who-checklist-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-wrapper {
    padding: 1.8rem;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 3rem;
  }
  .section-title {
    font-size: clamp(1.8rem, 6.5vw, 2.4rem);
    word-break: break-word;
  }
  .section-link {
    align-self: flex-start;
  }
}

/* Very narrow viewport adaptations */
@media (max-width: 576px) {
  .visual-wrapper {
    height: 340px;
  }
  .agency-showcase-wrapper {
    height: 380px;
  }
  .main-command-card {
    width: 285px;
    top: 10px;
    left: 0;
    padding: 0.8rem;
    gap: 0.8rem;
  }
  .command-title {
    font-size: 0.78rem;
  }
  .sprint-label {
    font-size: 0.58rem;
  }
  .pipeline-steps {
    display: none;
  }
  .agency-metrics-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .floating-tech-cluster {
    top: -5px;
    right: 0;
    width: 140px;
    padding: 0.6rem;
  }
  .tech-pill {
    font-size: 0.64rem;
    padding: 0.25rem 0.45rem;
  }
  .floating-client-card {
    bottom: 0;
    left: 0;
    width: 210px;
    padding: 0.6rem 0.8rem;
  }
  .client-quote {
    font-size: 0.65rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    gap: 0.9rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.95rem 1.5rem;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 340px;
    gap: 0.8rem;
    margin-left: auto;
    margin-right: auto;
  }
  .stat-badge {
    padding: 0.85rem 1.2rem;
    justify-content: flex-start;
    text-align: left;
    width: 100%;
  }
  .stat-badge > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }
  .section-title {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }
  .cta-stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .stats-counters {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Official Published Shopify Apps Grid (3 Column with App Logos) */
.shopify-apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}
.shopify-app-card {
  padding: 2.2rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}
.shopify-app-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.09);
}
.shopify-app-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}
.shopify-app-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
@media (max-width: 1024px) {
  .shopify-apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .shopify-apps-grid {
    grid-template-columns: 1fr;
  }
}

/* Live Client Projects Showcase Grid (from project.php) */
.live-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}
.live-project-card {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.live-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.1);
}
.live-project-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f1f5f9;
}
.live-project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.live-project-card:hover .live-project-img {
  transform: scale(1.06);
}
.live-project-category-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.live-project-content {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex-grow: 1;
}
.live-project-title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}
.live-project-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}
.live-project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-top: 0.6rem;
  transition: gap 0.2s ease, color 0.2s ease;
}
.live-project-link:hover {
  color: var(--primary-dark);
  gap: 0.7rem;
}
@media (max-width: 1024px) {
  .live-projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .live-projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Shared subpage "details" layout: capability list + demo mockup side-by-side */
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4.5rem;
  align-items: center;
}
@media (max-width: 991px) {
  .details-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Portfolio page: alternating image/details project showcase cards */
@media (max-width: 991px) {
  .project-showcase {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}
@media (max-width: 576px) {
  .project-showcase {
    padding: 1.75rem !important;
  }
}

section.subpage-hero {
    padding-top: 10rem;
    padding-bottom: 4rem;
    text-align: center;
}