/* ==========================================================================
   MODERN HOMEPAGE DESIGN SYSTEM (Amoni.io & Anantabase.com Inspired)
   Techies Gateway - Attractive Google Fonts & Refined Typography
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --tg-font-sans: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --tg-font-display: 'Plus Jakarta Sans', 'Inter', 'Outfit', sans-serif;
  --tg-font-mono: 'JetBrains Mono', 'Space Grotesk', monospace;

  /* Color Palette */
  --tg-bg: #09090b;
  --tg-bg-light: #ffffff;
  --tg-bg-subtle: #f8fafc;
  --tg-bg-card: #ffffff;
  
  --tg-fg: #0f172a;
  --tg-fg-muted: #64748b;
  --tg-fg-subtle: #94a3b8;
  --tg-fg-light: #f8fafc;
  --tg-fg-light-muted: #94a3b8;

  --tg-primary: #5d16ff;
  --tg-primary-light: #7c3aed;
  --tg-primary-glow: rgba(93, 22, 255, 0.25);
  --tg-accent-blue: #0284c7;
  --tg-accent-cyan: #06b6d4;
  --tg-accent-emerald: #10b981;
  --tg-accent-rose: #f43f5e;
  --tg-accent-amber: #f59e0b;

  --tg-border: #e2e8f0;
  --tg-border-dark: rgba(255, 255, 255, 0.08);
  --tg-border-glow: rgba(93, 22, 255, 0.2);

  --tg-radius-sm: 8px;
  --tg-radius-md: 14px;
  --tg-radius-lg: 18px;
  --tg-radius-xl: 24px;
  --tg-radius-full: 9999px;

  --tg-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --tg-shadow-md: 0 12px 32px -8px rgba(15, 23, 42, 0.08);
  --tg-shadow-lg: 0 24px 60px -12px rgba(15, 23, 42, 0.12);
  --tg-shadow-glow: 0 0 40px rgba(93, 22, 255, 0.18);
}

body {
  font-family: var(--tg-font-sans);
  color: var(--tg-fg);
  background-color: var(--tg-bg-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--tg-font-display);
}

/* ==========================================================================
   REFINED TYPOGRAPHY & HEADINGS
   ========================================================================== */
.tg-gradient-text {
  background: linear-gradient(135deg, #5d16ff 0%, #3b82f6 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.tg-gradient-text-alt {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.tg-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--tg-radius-full);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.3s ease;
}

.tg-pill-badge-dark {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
}

.tg-pill-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: var(--tg-radius-full);
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  font-size: 11px;
  font-weight: 700;
}

.tg-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: tg-pulse 2s infinite;
}

@keyframes tg-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.tg-section-header {
  margin-bottom: 45px;
}

.tg-section-subtitle {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--tg-primary);
  margin-bottom: 8px;
  background: rgba(93, 22, 255, 0.06);
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid rgba(93, 22, 255, 0.12);
}

.tg-section-title {
  font-family: var(--tg-font-display);
  font-size: clamp(25px, 2.4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.22;
  color: #0f172a;
  margin-bottom: 12px;
}

.tg-section-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--tg-fg-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* ==========================================================================
   BUTTONS & CTAs
   ========================================================================== */
.tg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--tg-radius-full);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
  text-decoration: none;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.tg-btn-primary {
  background: linear-gradient(135deg, #5d16ff 0%, #7c3aed 100%);
  color: #ffffff !important;
  box-shadow: 0 8px 20px -4px rgba(93, 22, 255, 0.35);
}

.tg-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(93, 22, 255, 0.45);
  color: #ffffff !important;
}

.tg-btn-secondary {
  background: #ffffff;
  color: #0f172a !important;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tg-btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  color: #0f172a !important;
}

.tg-btn-dark {
  background: #18181b;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tg-btn-dark:hover {
  background: #27272a;
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION (Fixed top spacing for sticky header clearance)
   ========================================================================== */
.tg-hero-section {
  position: relative;
  background: radial-gradient(circle at 85% 15%, rgba(93, 22, 255, 0.04) 0%, transparent 45%),
              radial-gradient(circle at 10% 85%, rgba(6, 182, 212, 0.03) 0%, transparent 40%),
              #ffffff;
  padding: 175px 0 80px 0 !important;
  overflow: hidden;
}

.tg-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.tg-hero-title {
  font-family: var(--tg-font-display);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: #09090b;
  margin: 16px 0 16px 0;
}

.tg-hero-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 24px;
  max-width: 540px;
}

.tg-hero-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.tg-hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.tg-hero-trust i {
  color: var(--tg-accent-emerald);
}

/* 3D Glass Dashboard Mockup */
.tg-dashboard-preview {
  position: relative;
  background: #0f172a;
  border-radius: var(--tg-radius-xl);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35), 0 0 30px rgba(93, 22, 255, 0.15);
  color: #ffffff;
  overflow: hidden;
}

.tg-dashboard-preview::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93, 22, 255, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.tg-dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.tg-dash-dots {
  display: flex;
  gap: 5px;
}

.tg-dash-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.tg-dash-dots span:nth-child(1) { background: #ef4444; }
.tg-dash-dots span:nth-child(2) { background: #f59e0b; }
.tg-dash-dots span:nth-child(3) { background: #10b981; }

.tg-dash-tag {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tg-dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.tg-dash-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 12px;
}

.tg-dash-card-num {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--tg-font-mono);
}

.tg-dash-card-lbl {
  font-size: 10.5px;
  color: #94a3b8;
  margin-top: 2px;
}

.tg-dash-chart-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px;
}

.tg-dash-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  color: #e2e8f0;
}

.tg-dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 55px;
  padding-top: 8px;
}

.tg-dash-bar {
  flex: 1;
  background: linear-gradient(180deg, #5d16ff 0%, #3b82f6 100%);
  border-radius: 3px 3px 0 0;
  transition: height 0.5s ease;
  position: relative;
}

.tg-dash-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px;
}

.tg-dash-tech-pill {
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(93, 22, 255, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(93, 22, 255, 0.3);
}

/* ==========================================================================
   METRICS SECTION
   ========================================================================== */
.tg-metrics-section {
  padding: 30px 0 70px 0;
  background: #ffffff;
}

.tg-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tg-metric-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--tg-radius-lg);
  padding: 22px 20px;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.tg-metric-card:hover {
  transform: translateY(-3px);
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: var(--tg-shadow-md);
}

.tg-metric-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.tg-metric-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: rgba(93, 22, 255, 0.08);
  color: var(--tg-primary);
}

.tg-metric-trend {
  font-size: 10.5px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 7px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.tg-metric-number {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 4px;
  font-family: var(--tg-font-display);
}

.tg-metric-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

/* ==========================================================================
   PROCESS ROADMAP & VISUAL GRAPHICS DESIGN (Step Box Graphics)
   ========================================================================== */
.tg-workflow-section {
  padding: 80px 0;
  background: #ffffff;
}

.tg-workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 35px;
}

.tg-step-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--tg-radius-xl);
  padding: 20px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tg-step-card:hover {
  background: #ffffff;
  border-color: #93c5fd;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.08);
}

/* Step Visual Box Graphic */
.tg-step-graphic-box {
  width: 100%;
  height: 120px;
  border-radius: 12px;
  margin-bottom: 18px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Graphic 1: Discovery & Strategy */
.tg-graphic-discovery {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
}

.tg-mini-meeting-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 10px 14px;
  box-shadow: 0 6px 16px rgba(93, 22, 255, 0.12);
  border: 1px solid rgba(93, 22, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 82%;
}

.tg-mini-meeting-pill {
  font-size: 9px;
  font-weight: 700;
  color: #4f46e5;
  background: #eef2ff;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  width: max-content;
}

.tg-mini-meeting-title {
  font-size: 11px;
  font-weight: 700;
  color: #1e1b4b;
}

/* Graphic 2: UI/UX Canvas */
.tg-graphic-design {
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
}

.tg-mini-figma-canvas {
  width: 85%;
  height: 85px;
  background: #ffffff;
  border-radius: 8px;
  padding: 8px;
  border: 1px solid #fbcfe8;
  box-shadow: 0 6px 16px rgba(236, 72, 153, 0.1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tg-canvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tg-canvas-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ec4899;
}

.tg-canvas-blocks {
  display: flex;
  gap: 4px;
  height: 40px;
}

.tg-canvas-block-left {
  flex: 1;
  background: #fdf2f8;
  border-radius: 4px;
  border: 1px dashed #f472b6;
}

.tg-canvas-block-right {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tg-canvas-line {
  height: 8px;
  border-radius: 2px;
  background: #fbcfe8;
}

/* Graphic 3: Code Terminal */
.tg-graphic-code {
  background: #0f172a;
}

.tg-mini-terminal {
  width: 90%;
  font-family: var(--tg-font-mono);
  font-size: 10px;
  color: #38bdf8;
  padding: 8px;
}

.tg-terminal-header {
  display: flex;
  gap: 4px;
  margin-bottom: 6px;
}

.tg-t-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #475569;
}

.tg-terminal-code {
  color: #34d399;
  line-height: 1.4;
}

.tg-terminal-code span {
  color: #f472b6;
}

/* Graphic 4: Launch & Uptime */
.tg-graphic-launch {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.tg-mini-launch-badge {
  background: #ffffff;
  border-radius: 8px;
  padding: 10px 14px;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.12);
  border: 1px solid #6ee7b7;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 85%;
}

.tg-launch-rocket-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #d1fae5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.tg-step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tg-primary);
  background: rgba(93, 22, 255, 0.08);
  padding: 3px 8px;
  border-radius: 99px;
  display: inline-block;
  margin-bottom: 10px;
}

.tg-step-title {
  font-family: var(--tg-font-display);
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.tg-step-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
}

/* ==========================================================================
   SERVICES BENTO GRID
   ========================================================================== */
.tg-services-section {
  padding: 80px 0;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.tg-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tg-service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--tg-radius-xl);
  padding: 28px 24px;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.tg-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(93, 22, 255, 0.08) 0%, rgba(59, 130, 246, 0.03) 50%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.tg-service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(93, 22, 255, 0.3);
  box-shadow: 0 20px 40px -12px rgba(93, 22, 255, 0.15), 0 0 0 1px rgba(93, 22, 255, 0.15);
  color: inherit;
}

.tg-service-card:hover::before {
  opacity: 1;
}

.tg-service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.tg-service-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.tg-service-card:hover .tg-service-icon-wrap {
  transform: scale(1.06);
}

.tg-service-cat-badge {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 99px;
  background: #f1f5f9;
  color: #475569;
}

.tg-service-title {
  font-family: var(--tg-font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.3;
}

.tg-service-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 16px;
}

.tg-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 18px;
}

.tg-service-tag {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 5px;
  background: #f1f5f9;
  color: #475569;
}

.tg-service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--tg-primary);
}

.tg-service-btn-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(93, 22, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.tg-service-card:hover .tg-service-btn-arrow {
  transform: translateX(4px);
  background: var(--tg-primary);
  color: #ffffff;
}

/* ==========================================================================
   ABOUT & CAPABILITIES
   ========================================================================== */
.tg-about-section {
  padding: 80px 0;
  background: #f8fafc;
}

.tg-about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.tg-about-visual {
  position: relative;
  background: #ffffff;
  border-radius: var(--tg-radius-xl);
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--tg-shadow-md);
}

.tg-about-tabs-nav {
  display: flex;
  gap: 6px;
  background: #f1f5f9;
  padding: 5px;
  border-radius: var(--tg-radius-full);
  margin-bottom: 20px;
}

.tg-about-tabs-nav .nav-link {
  border: none;
  background: transparent;
  color: #64748b;
  font-weight: 600;
  font-size: 12.5px;
  padding: 7px 16px;
  border-radius: var(--tg-radius-full);
  transition: all 0.2s ease;
}

.tg-about-tabs-nav .nav-link.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.tg-about-checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
  display: grid;
  gap: 10px;
}

.tg-about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: #334155;
  font-weight: 500;
}

.tg-about-checklist li i {
  color: var(--tg-accent-emerald);
  margin-top: 3px;
  font-size: 14px;
}

/* ==========================================================================
   SKILLS & PROGRESS METERS
   ========================================================================== */
.tg-skills-section {
  padding: 80px 0;
  background: #ffffff;
}

.tg-skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.tg-skill-meter {
  margin-bottom: 18px;
}

.tg-skill-meter-header {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.tg-meter-bar-bg {
  width: 100%;
  height: 7px;
  background: #f1f5f9;
  border-radius: 99px;
  overflow: hidden;
}

.tg-meter-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #5d16ff 0%, #3b82f6 100%);
  transition: width 1.5s ease;
}

.tg-tech-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tg-tech-item-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--tg-radius-full);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  transition: all 0.2s ease;
}

.tg-tech-item-badge:hover {
  background: #ffffff;
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.tg-testi-section {
  padding: 80px 0;
  background: #09090b;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.tg-testi-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(93, 22, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.tg-testi-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--tg-radius-xl);
  padding: 28px 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tg-testi-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
}

.tg-testi-quote {
  font-size: 14.5px;
  line-height: 1.65;
  color: #e2e8f0;
  margin-bottom: 20px;
}

.tg-testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tg-testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5d16ff 0%, #3b82f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: #ffffff;
}

.tg-testi-stars {
  color: #f59e0b;
  font-size: 11px;
  margin-top: 2px;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.tg-faq-section {
  padding: 80px 0;
  background: #ffffff;
}

.tg-faq-accordion .accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--tg-radius-lg) !important;
  margin-bottom: 12px;
  overflow: hidden;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.tg-faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px -5px rgba(15, 23, 42, 0.05);
}

.tg-faq-accordion .accordion-button {
  font-family: var(--tg-font-display);
  background: transparent;
  font-size: 15.5px;
  font-weight: 700;
  color: #0f172a;
  padding: 18px 20px;
  box-shadow: none !important;
}

.tg-faq-accordion .accordion-button:not(.collapsed) {
  color: var(--tg-primary);
  background: transparent;
}

.tg-faq-accordion .accordion-body {
  padding: 0 20px 18px 20px;
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
}

/* ==========================================================================
   FINAL CALL TO ACTION BANNER (White + Vibrant Gradient Text)
   ========================================================================== */
.tg-cta-banner-section {
  padding: 70px 0 90px 0;
  background: #ffffff;
}

.tg-cta-banner-box {
  background: radial-gradient(circle at 10% 20%, #1e1b4b 0%, #0f172a 60%, #020617 100%);
  border-radius: var(--tg-radius-xl);
  padding: 50px 32px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.3), 0 0 40px rgba(93, 22, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tg-cta-title {
  font-family: var(--tg-font-display);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 14px;
  color: #ffffff !important;
}

.tg-cta-desc {
  font-size: 15px;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 28px auto;
  line-height: 1.65;
}

.tg-cta-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   MODERN FOOTER STYLES
   ========================================================================== */
.tg-footer-modern {
  background: #09090b;
  color: #94a3b8;
  padding: 70px 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.tg-footer-logo-img {
  max-width: 150px;
  height: auto;
  margin-bottom: 18px;
  display: block;
}

.tg-footer-about-text {
  font-size: 13.5px;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 20px;
}

.tg-footer-social-list {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tg-footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  font-size: 14px;
  transition: all 0.25s ease;
  text-decoration: none;
}

.tg-footer-social-btn:hover {
  background: var(--tg-primary);
  border-color: var(--tg-primary);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.tg-footer-col-title {
  font-family: var(--tg-font-display);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  position: relative;
}

.tg-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tg-footer-links li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13.5px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tg-footer-links li a:hover {
  color: #38bdf8;
  transform: translateX(3px);
}

.tg-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #94a3b8;
}

.tg-footer-contact-item i {
  color: #38bdf8;
  margin-top: 4px;
  font-size: 14px;
  flex-shrink: 0;
}

.tg-footer-contact-item a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tg-footer-contact-item a:hover {
  color: #38bdf8;
}

.tg-footer-bottom {
  margin-top: 50px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.tg-footer-legal-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.tg-footer-legal-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tg-footer-legal-links a:hover {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 1024px) {
  .tg-hero-section {
    padding: 160px 0 70px 0 !important;
  }
  .tg-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .tg-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tg-workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tg-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tg-about-grid {
    grid-template-columns: 1fr;
  }
  .tg-skills-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MODERN GLASSMORPHIC HEADER & CAPSULE NAVIGATION (Amoni / Apple Inspired)
   ========================================================================== */
.header.sticky-active {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 14px 0 !important;
}

.header.sticky-active.active,
.header.sticky-active.sticky {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(20px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(190%) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.75) !important;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06) !important;
  padding: 8px 0 !important;
}

.header .header-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Floating Glass Rectangle Header Island Box */
.header .primary-header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative !important;
  width: 100% !important;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 16px !important;
  padding: 10px 24px !important;
  box-shadow: 
    0 12px 36px -6px rgba(15, 23, 42, 0.08),
    0 4px 12px -2px rgba(15, 23, 42, 0.03),
    inset 0 1px 1px 0 rgba(255, 255, 255, 1) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header .primary-header-inner:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(93, 22, 255, 0.2) !important;
  box-shadow: 
    0 16px 40px -6px rgba(93, 22, 255, 0.1),
    0 6px 16px -2px rgba(15, 23, 42, 0.04),
    inset 0 1px 1px 0 rgba(255, 255, 255, 1) !important;
}

.header .header-logo {
  flex-shrink: 0 !important;
  z-index: 2 !important;
}

.header .header-logo img {
  max-width: 145px !important;
  height: auto !important;
  display: block;
  transition: transform 0.25s ease;
}

.header .header-logo img:hover {
  transform: scale(1.02);
}

.header .header-menu-wrap {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.header .header-right {
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  z-index: 2 !important;
}

/* Nav Menu Inside Rectangle Box */
.tg-header-nav-pill {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
}

.tg-header-nav-pill:hover {
  background: transparent !important;
  box-shadow: none !important;
}

.tg-header-nav-pill ul.sub-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.tg-header-nav-pill ul.sub-menu > li > a {
  font-family: var(--tg-font-display, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  padding: 6px 14px !important;
  border-radius: 9999px !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
}

.tg-header-nav-pill ul.sub-menu > li > a:hover {
  color: #5d16ff !important;
  background: rgba(93, 22, 255, 0.08) !important;
}

.tg-header-nav-pill ul.sub-menu > li > a .tg-chevron {
  font-size: 9px !important;
  color: #64748b !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
}

.tg-header-nav-pill ul.sub-menu > li:hover > a .tg-chevron {
  transform: rotate(180deg) !important;
  color: #5d16ff !important;
}

/* Thin Subtle Separator Lines between links */
.tg-nav-divider {
  width: 1px !important;
  height: 14px !important;
  background: rgba(15, 23, 42, 0.12) !important;
  flex-shrink: 0 !important;
  margin: 0 2px !important;
  display: block !important;
}

/* White Glassmorphic Dropdown Cards - Exactly 2px Below Nav */
.tg-header-nav-pill ul.sub-menu li.menu-item-has-children {
  position: relative;
}

.tg-header-nav-pill ul.sub-menu li.menu-item-has-children::after,
.tg-header-nav-pill ul.sub-menu li.menu-item-has-children::before,
.tg-header-nav-pill ul.sub-menu li.menu-item-has-children > a::after,
.tg-header-nav-pill ul.sub-menu li.menu-item-has-children > a::before {
  display: none !important;
  content: none !important;
}

.tg-header-nav-pill ul.sub-menu li.menu-item-has-children > ul {
  position: absolute;
  top: calc(100% + 2px) !important;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 260px;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 14px !important;
  padding: 8px !important;
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.9) !important;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 1000;
  margin: 0 !important;
}

.tg-header-nav-pill ul.sub-menu li.menu-item-has-children:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.tg-header-nav-pill ul.sub-menu li.menu-item-has-children > ul li a {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  display: block !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  text-align: left !important;
}

.tg-header-nav-pill ul.sub-menu li.menu-item-has-children > ul li a:hover {
  color: #5d16ff !important;
  background: rgba(93, 22, 255, 0.06) !important;
  padding-left: 16px !important;
}

/* Glass Header CTA Button */
.header .header-btn {
  background: linear-gradient(135deg, #5d16ff 0%, #7c3aed 100%) !important;
  color: #ffffff !important;
  font-family: var(--tg-font-display, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 7px 18px !important;
  border-radius: 99px !important;
  box-shadow: 0 4px 14px rgba(93, 22, 255, 0.25) !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  border: none !important;
}

.header .header-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(93, 22, 255, 0.35) !important;
  color: #ffffff !important;
}

/* Sidebar Hamburger Trigger Button */
.header .sidebar-trigger {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.header .sidebar-trigger:hover {
  background: rgba(93, 22, 255, 0.08);
  border-color: rgba(93, 22, 255, 0.2);
}

.header .sidebar-trigger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transition: all 0.25s ease;
}

@media (max-width: 768px) {
  .tg-hero-section {
    padding: 145px 0 50px 0 !important;
  }
  .tg-services-grid {
    grid-template-columns: 1fr;
  }
  .tg-workflow-grid {
    grid-template-columns: 1fr;
  }
  .tg-metrics-grid {
    grid-template-columns: 1fr;
  }
  .tg-cta-banner-box {
    padding: 36px 18px;
  }
  .page-header {
    padding: 130px 0 60px 0 !important;
  }
  .page-header .title {
    font-size: 28px !important;
  }
}

/* ==========================================================================
   MODERN INNER PAGE HEADER BANNER (Matching Homepage Light Ambient Theme)
   ========================================================================== */
.page-header {
  position: relative;
  background: radial-gradient(circle at 50% -20%, #f1f5f9 0%, #ffffff 80%) !important;
  background-color: #ffffff !important;
  background-image: radial-gradient(circle at 50% -20%, #f1f5f9 0%, #ffffff 80%) !important;
  padding: 155px 0 75px 0 !important;
  overflow: hidden;
  z-index: 1;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 10%, rgba(93, 22, 255, 0.05) 0%, rgba(56, 189, 248, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.page-header .custom-container,
.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header .page-header-content {
  position: relative;
  z-index: 2;
  text-align: left;
}

.page-header .title {
  font-family: var(--tg-font-display, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 38px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 12px !important;
  line-height: 1.25 !important;
  text-shadow: none !important;
}

.page-header .sub-title {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  padding: 6px 16px !important;
  border-radius: 9999px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  margin: 0 !important;
}

.page-header .sub-title a {
  color: #64748b !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.page-header .sub-title a:hover {
  color: #5d16ff !important;
}

.page-header .sub-title .inner-page {
  color: #5d16ff !important;
  font-weight: 700 !important;
}

.page-header .shapes {
  display: none !important;
}

/* ==========================================================================
   MODERN ABOUT HERO SECTION (Centered with 4-Card Visual Graphics)
   ========================================================================== */
.tg-about-hero-section {
  position: relative;
  background: radial-gradient(circle at 50% -20%, #f1f5f9 0%, #ffffff 85%) !important;
  padding: 155px 0 65px 0 !important;
  overflow: hidden;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.tg-about-hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 10%, rgba(93, 22, 255, 0.04) 0%, rgba(56, 189, 248, 0.03) 50%, transparent 80%);
  pointer-events: none;
}

.tg-breadcrumb-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 12px;
}

.tg-breadcrumb-pill a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tg-breadcrumb-pill a:hover {
  color: #5d16ff;
}

.tg-about-hero-title {
  font-family: var(--tg-font-display, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: clamp(32px, 4vw, 48px) !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.03em !important;
  line-height: 1.2 !important;
  max-width: 900px;
  margin: 0 auto 16px auto !important;
}

.tg-about-hero-desc {
  font-family: var(--tg-font-sans, 'Inter', sans-serif) !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  color: #64748b !important;
  max-width: 780px;
  margin: 0 auto !important;
}

/* ==========================================================================
   FANNED 3-CARD SERVICES HERO GRAPHIC (Figma, Website, SEO)
   ========================================================================== */
.tg-fanned-deck-wrapper {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 24px auto 10px auto;
  height: 340px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.tg-fanned-deck-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tg-fan-card {
  position: absolute;
  width: 295px;
  min-height: auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(226, 232, 240, 0.9);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  text-align: left;
  transform-origin: center bottom;
  cursor: pointer;
  border: 1px solid #e2e8f0;
}

/* Card 1: Far Left (Figma Design) */
.tg-fan-card-1 {
  transform: translateX(-240px) translateY(14px) rotate(-11deg);
  z-index: 2;
  border-color: #fbcfe8;
  background: linear-gradient(180deg, #ffffff 60%, #fff1f2 100%);
  --card-glow: #e11d48;
}

/* Card 2: Center Left (Website Design) */
.tg-fan-card-2 {
  transform: translateX(-80px) translateY(-8px) rotate(-4deg);
  z-index: 4;
  border: 1.5px solid rgba(93, 22, 255, 0.35);
  background: linear-gradient(180deg, #ffffff 60%, #f5f3ff 100%);
  box-shadow: 0 25px 50px -12px rgba(93, 22, 255, 0.2), 0 0 0 1px rgba(93, 22, 255, 0.08);
  --card-glow: #5d16ff;
}

/* Card 3: Center Right (App Development) */
.tg-fan-card-3 {
  transform: translateX(80px) translateY(-8px) rotate(4deg);
  z-index: 5;
  border: 1.5px solid rgba(2, 132, 199, 0.35);
  background: linear-gradient(180deg, #ffffff 60%, #f0f9ff 100%);
  box-shadow: 0 25px 50px -12px rgba(2, 132, 199, 0.2), 0 0 0 1px rgba(2, 132, 199, 0.08);
  --card-glow: #0284c7;
}

/* Card 4: Far Right (SEO & Marketing) */
.tg-fan-card-4 {
  transform: translateX(240px) translateY(14px) rotate(11deg);
  z-index: 3;
  border-color: #a7f3d0;
  background: linear-gradient(180deg, #ffffff 60%, #ecfdf5 100%);
  --card-glow: #10b981;
}

/* Deck Hover Animation: Fanning Out */
.tg-fanned-deck-wrapper:hover .tg-fan-card-1 {
  transform: translateX(-280px) translateY(6px) rotate(-15deg);
}

.tg-fanned-deck-wrapper:hover .tg-fan-card-2 {
  transform: translateX(-95px) translateY(-16px) scale(1.02);
}

.tg-fanned-deck-wrapper:hover .tg-fan-card-3 {
  transform: translateX(95px) translateY(-16px) scale(1.02);
}

.tg-fanned-deck-wrapper:hover .tg-fan-card-4 {
  transform: translateX(280px) translateY(6px) rotate(15deg);
}

/* Individual Card Hover Elevation */
.tg-fan-card:hover {
  z-index: 10 !important;
  transform: translateY(-24px) scale(1.05) rotate(0deg) !important;
  box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.2), 0 0 0 2px var(--card-glow, #5d16ff) !important;
}

/* Playing Card Corner Markings */
.tg-card-corner-tag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.tg-card-corner-symbol {
  font-size: 12.5px;
  font-weight: 800;
  font-family: var(--tg-font-display, 'Plus Jakarta Sans', sans-serif);
  display: flex;
  align-items: center;
  gap: 5px;
}

.tg-card-badge-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  letter-spacing: 0.3px;
}

.tg-card-inner-box {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 10px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.tg-card-title {
  font-family: var(--tg-font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 15.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.25;
}

.tg-card-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 0;
}

.tg-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.tg-card-tag-item {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

@media (max-width: 992px) {
  .tg-fanned-deck-wrapper {
    height: 330px;
    max-width: 800px;
  }
  .tg-fan-card {
    width: 250px;
    padding: 12px 14px;
  }
  .tg-fan-card-1 {
    transform: translateX(-180px) translateY(12px) rotate(-10deg);
  }
  .tg-fan-card-2 {
    transform: translateX(-60px) translateY(-6px) rotate(-3deg);
  }
  .tg-fan-card-3 {
    transform: translateX(60px) translateY(-6px) rotate(3deg);
  }
  .tg-fan-card-4 {
    transform: translateX(180px) translateY(12px) rotate(10deg);
  }
}

@media (max-width: 768px) {
  .tg-fanned-deck-wrapper {
    height: auto;
    display: block;
    margin-top: 25px;
  }
  .tg-fanned-deck-stage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    height: auto;
  }
  .tg-fan-card {
    position: relative;
    width: 100%;
    transform: none !important;
  }
}

@media (max-width: 520px) {
  .tg-fanned-deck-stage {
    grid-template-columns: 1fr;
  }
}

.tg-unified-canvas {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 24px 28px;
  box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(93, 22, 255, 0.04);
  position: relative;
  overflow: hidden;
}

.tg-canvas-glow-1 {
  position: absolute;
  top: -80px;
  left: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(93, 22, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.tg-canvas-glow-2 {
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.tg-canvas-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.tg-top-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.tg-canvas-top-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  font-family: var(--tg-font-display, 'Plus Jakarta Sans', sans-serif);
}

.tg-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #10b981;
}

.tg-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: tgPulse 2s infinite;
}

.tg-canvas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

@media (max-width: 992px) {
  .tg-canvas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .tg-canvas-grid {
    grid-template-columns: 1fr;
  }
}

.tg-unified-node {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.tg-unified-node:hover {
  background: #ffffff;
  border-color: rgba(93, 22, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
}

.tg-node-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.tg-node-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.tg-badge-web { background: #eef2ff; color: #4338ca; }
.tg-badge-mobile { background: #f0f9ff; color: #0369a1; }
.tg-badge-design { background: #fff1f2; color: #be123c; }
.tg-badge-cloud { background: #ecfdf5; color: #047857; }

.tg-node-metric {
  font-size: 10px;
  font-weight: 600;
}

.tg-mini-window-preview,
.tg-mobile-preview-box,
.tg-figma-preview-box,
.tg-cloud-preview-box {
  background: #ffffff;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #e2e8f0;
}

.tg-win-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.tg-win-url {
  font-size: 8px;
  font-family: monospace;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 140px;
}

.tg-win-content {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tg-win-chart {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 28px;
  width: 32px;
  flex-shrink: 0;
}

.tg-chart-col {
  flex: 1;
  background: #c7d2fe;
  border-radius: 1px;
}

.tg-chart-col.active {
  background: #5d16ff;
}

.tg-mini-phone {
  background: #f8fafc;
  border-radius: 8px;
  border: 1.5px solid #38bdf8;
  padding: 6px;
}

.tg-phone-top-island {
  width: 24px;
  height: 3px;
  background: #0284c7;
  border-radius: 2px;
  margin: 0 auto 6px auto;
}

.tg-phone-card-alert {
  background: #f0fdf4;
  color: #166534;
  font-size: 8px;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.tg-designer-cursor-layer {
  background: #fff1f2;
  border: 1px dashed #f43f5e;
  border-radius: 6px;
  padding: 6px;
}

.tg-cursor-pointer {
  font-size: 8.5px;
  font-weight: 700;
  color: #be123c;
  display: block;
  margin-bottom: 3px;
}

.tg-auto-layout-frame {
  font-size: 7.5px;
  color: #e11d48;
}

.tg-canvas-footer-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.tg-cap-pill {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  display: inline-flex;
  align-items: center;
}

@media (max-width: 992px) {
  .tg-it-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .tg-it-service-grid {
    grid-template-columns: 1fr;
  }
}

.tg-it-service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.tg-it-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--card-accent, #5d16ff), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tg-it-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(93, 22, 255, 0.3);
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.08);
}

.tg-it-service-card:hover::before {
  opacity: 1;
}

.tg-it-icon-wrap {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.tg-it-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 10px;
}

.tg-it-card-title {
  font-family: var(--tg-font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.3;
}

.tg-it-card-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

/* Top Service Visual Canvas Boxes */
.tg-service-visual-box {
  width: 100%;
  height: 110px;
  border-radius: 14px;
  margin-bottom: 18px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* 1. Web Canvas */
.tg-web-canvas {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
}

.tg-mini-browser-box {
  width: 95%;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #c7d2fe;
  box-shadow: 0 4px 12px rgba(93, 22, 255, 0.08);
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tg-browser-dots {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tg-browser-url {
  font-size: 8.5px;
  background: #f1f5f9;
  padding: 1px 8px;
  border-radius: 4px;
  color: #475569;
  font-family: monospace;
}

.tg-browser-body {
  display: flex;
  gap: 6px;
  align-items: center;
}

.tg-browser-sidebar {
  width: 25%;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tg-browser-bar {
  height: 4px;
  border-radius: 2px;
  background: #e2e8f0;
}

.tg-browser-content {
  width: 75%;
  background: #f8fafc;
  border-radius: 4px;
  padding: 4px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* 2. Mobile Canvas */
.tg-mobile-canvas {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.tg-mini-phone-box {
  width: 65%;
  height: 90px;
  background: #ffffff;
  border-radius: 12px;
  border: 2px solid #38bdf8;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.tg-phone-notch {
  width: 30px;
  height: 3px;
  background: #0284c7;
  border-radius: 2px;
  margin: 0 auto 4px auto;
}

.tg-phone-app-pill {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tg-phone-icons {
  display: flex;
  gap: 4px;
  margin-top: 4px;
  justify-content: center;
}

.tg-phone-icon-item {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: #0284c7;
}

/* 3. Design Canvas */
.tg-design-canvas {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
}

.tg-mini-design-box {
  width: 90%;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #fecdd3;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.08);
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tg-palette-row {
  display: flex;
  gap: 4px;
}

.tg-swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.tg-vector-layer {
  border: 1px dashed #f43f5e;
  border-radius: 4px;
  background: #fff1f2;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8px;
  font-weight: 700;
  color: #be123c;
}

/* 4. SEO & Cloud Canvas */
.tg-seo-canvas {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.tg-mini-seo-box {
  width: 90%;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #a7f3d0;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tg-seo-rank-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8.5px;
  font-weight: 800;
  color: #047857;
}

.tg-seo-growth-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 32px;
  padding-top: 4px;
}

.tg-growth-bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: #a7f3d0;
}

.tg-growth-bar.active {
  background: #10b981;
}

.tg-it-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.tg-it-tag-item {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
  transition: all 0.2s ease;
}

.tg-it-service-card:hover .tg-it-tag-item {
  background: rgba(93, 22, 255, 0.08);
  color: #5d16ff;
}

/* ==========================================================================
   MODERN INNER PAGES (Service, Solution, About, Project, Contact, Location)
   ========================================================================== */
.service-details,
.project-details,
.about-section,
.contact-section {
  font-family: var(--tg-font-sans, 'Inter', sans-serif);
  color: #334155;
  background-color: #ffffff;
}

/* Modern Inner Page Headings */
.service-details h2,
.service-details h3,
.about-section h2,
.about-section h3,
.project-details h2,
.contact-section h2 {
  font-family: var(--tg-font-display, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

/* Modern Service Sidebar Widget */
.service-sidebar .service-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.04);
  margin-bottom: 30px;
}

.service-sidebar .service-widget .widget-title {
  font-family: var(--tg-font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
}

.service-sidebar .category-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  color: #334155;
  transition: all 0.2s ease;
  text-decoration: none;
  background: #f8fafc;
  margin-bottom: 8px;
  border: 1px solid transparent;
}

.service-sidebar .category-list li a:hover,
.service-sidebar .category-list li.active a {
  background: rgba(93, 22, 255, 0.08);
  color: #5d16ff;
  border-color: rgba(93, 22, 255, 0.2);
  transform: translateX(4px);
}

/* Modern Form Inputs (Contact / Quote) */
.form-group .form-control,
.contact-form input,
.contact-form textarea,
.contact-form select {
  font-family: var(--tg-font-sans, 'Inter', sans-serif) !important;
  font-size: 14px !important;
  color: #0f172a !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 12px 18px !important;
  transition: all 0.25s ease !important;
}

.form-group .form-control:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  background: #ffffff !important;
  border-color: #5d16ff !important;
  box-shadow: 0 0 0 3px rgba(93, 22, 255, 0.15) !important;
  outline: none !important;
}

/* Modern Cards on Inner Pages */
.service-details-card,
.feature-card,
.pricing-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-details-card:hover,
.feature-card:hover,
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.1);
}

/* Modern Feature / Checkmark Lists */
.feature-list li,
.about-list li,
.service-details-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: #475569;
  margin-bottom: 10px;
}

.feature-list li i,
.about-list li i,
.service-details-list li i {
  color: #10b981;
  font-size: 16px;
}

/* ==========================================================================
   MODERN SERVICE DETAILS & BENTO OVERVIEW SECTION (OPTIMIZED SIZE)
   ========================================================================== */
.tg-service-details-wrap {
  padding: 40px 0 50px 0;
  background: #ffffff;
}

.tg-service-main-content {
  background: #ffffff;
}

.tg-service-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(93, 22, 255, 0.06);
  border: 1px solid rgba(93, 22, 255, 0.15);
  color: #5d16ff;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.tg-service-heading {
  font-family: var(--tg-font-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.tg-service-lead-text {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 20px;
}

/* Feature Grid (2 columns on desktop - compact) */
.tg-feature-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.tg-feature-bento-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.tg-feature-bento-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.06);
}

.tg-feature-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.tg-feature-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: rgba(93, 22, 255, 0.08);
  color: #5d16ff;
  transition: transform 0.25s ease;
}

.tg-feature-bento-card:hover .tg-feature-icon-box {
  transform: scale(1.08);
}

.tg-feature-index-pill {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 1px 6px;
  border-radius: 9999px;
}

.tg-feature-card-title {
  font-family: var(--tg-font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.tg-feature-card-desc {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Modern Tech Stack Bento Showcase - Compact */
.tg-tech-showcase-wrap {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 20px;
}

.tg-tech-header-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
}

.tg-tech-category-block {
  margin-bottom: 12px;
}

.tg-tech-category-block:last-child {
  margin-bottom: 0;
}

.tg-tech-cat-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tg-tech-cat-title::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5d16ff;
}

.tg-tech-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tg-tech-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.tg-tech-badge-item:hover {
  transform: translateY(-1px);
  border-color: #94a3b8;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.tg-tech-badge-item img {
  height: 15px;
  width: auto;
  object-fit: contain;
}

.tg-tech-badge-item i {
  font-size: 13px;
}

/* Engineering Quality Assurance Card - Compact */
.tg-assurance-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  border-radius: 14px;
  padding: 20px 22px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.tg-assurance-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(93, 22, 255, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.tg-assurance-title {
  font-family: var(--tg-font-display);
  font-size: 16.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.tg-assurance-desc {
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 14px;
}

.tg-assurance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
  margin-bottom: 16px;
}

.tg-assurance-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #e2e8f0;
}

.tg-assurance-item i {
  color: #38bdf8;
  font-size: 12px;
}

/* Sticky Service Sidebar */
.tg-service-sidebar-widget {
  position: -webkit-sticky;
  position: sticky;
  top: 90px;
}

@media (max-width: 991px) {
  .tg-service-sidebar-widget {
    position: static;
  }
}

@media (max-width: 768px) {
  .tg-feature-bento-grid {
    grid-template-columns: 1fr;
  }
  .tg-assurance-grid {
    grid-template-columns: 1fr;
  }
  .tg-service-heading {
    font-size: 20px;
  }
}

/* ==========================================================================
   HEADER RESPONSIVENESS & MODERN MOBILE DRAWER MENU
   ========================================================================== */

/* Prevent Header wrapping on all screen sizes */
.header .primary-header-inner {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 64px !important;
}

.header .header-logo {
  flex-shrink: 0 !important;
}

.header .header-menu-wrap {
  flex: 1 1 auto !important;
  display: flex !important;
  justify-content: center !important;
  min-width: 0 !important;
}

.header .header-right {
  flex-shrink: 0 !important;
  width: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-left: auto !important;
}

/* Mobile Toggle Hamburger Button */
.mobile-side-menu-toggle {
  display: none !important;
  width: 42px !important;
  height: 42px !important;
  background: rgba(93, 22, 255, 0.08) !important;
  color: #5d16ff !important;
  border: 1px solid rgba(93, 22, 255, 0.2) !important;
  border-radius: 12px !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  padding: 0 !important;
}

@media (max-width: 991px) {
  .mobile-side-menu-toggle {
    display: inline-flex !important;
  }
}

.mobile-side-menu-toggle:hover {
  background: #5d16ff !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(93, 22, 255, 0.25);
}

@media (max-width: 991px) {
  .header .header-container {
    padding: 0 12px !important;
  }
  .header .primary-header-inner {
    padding: 8px 16px !important;
    border-radius: 14px !important;
  }
  .header .header-logo img {
    max-width: 125px !important;
  }
}

@media (max-width: 480px) {
  .header .primary-header-inner {
    padding: 6px 12px !important;
  }
  .header .header-logo img {
    max-width: 110px !important;
  }
  .header .header-btn {
    display: none !important;
  }
}

/* Modern Mobile Side Menu Drawer */
.mobile-side-menu {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  width: 86% !important;
  max-width: 360px !important;
  height: 100vh !important;
  background: #ffffff !important;
  z-index: 99999 !important;
  transform: translateX(100%) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: -10px 0 35px rgba(15, 23, 42, 0.15) !important;
  overflow-y: auto !important;
  padding: 24px 20px 40px !important;
  display: block !important;
}

.mobile-side-menu.is-open {
  transform: translateX(0) !important;
}

.mobile-side-menu-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 99998 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.3s ease !important;
  display: block !important;
}

.mobile-side-menu-overlay.is-open {
  opacity: 1 !important;
  visibility: visible !important;
}

.mobile-side-menu .side-menu-head {
  position: sticky !important;
  top: -24px !important;
  background: #ffffff !important;
  z-index: 10 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 20px !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
}

.mobile-side-menu .side-menu-head a img {
  max-width: 130px !important;
  height: auto !important;
}

.mobile-side-menu-close {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
  font-size: 15px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  position: static !important;
}

.mobile-side-menu-close:hover {
  background: #fee2e2 !important;
  color: #ef4444 !important;
  border-color: #fca5a5 !important;
}

/* Mobile Nav Accordion List */
.tg-mobile-nav-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.tg-mobile-nav-item {
  border-bottom: 1px solid rgba(226, 232, 240, 0.7) !important;
}

.tg-mobile-nav-item:last-child {
  border-bottom: none !important;
}

.tg-mobile-nav-link {
  display: flex !important;
  align-items: center !important;
  padding: 12px 6px !important;
  font-family: var(--tg-font-display, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.tg-mobile-nav-link:hover {
  color: #5d16ff !important;
}

.tg-m-icon {
  width: 20px !important;
  font-size: 14px !important;
  margin-right: 8px !important;
}

.tg-mobile-submenu-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
}

.tg-mobile-expand-btn {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #64748b !important;
  font-size: 11px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  padding: 0 !important;
}

.tg-mobile-expand-btn i {
  transition: transform 0.25s ease !important;
}

.tg-mobile-submenu-header:hover .tg-mobile-expand-btn {
  background: rgba(93, 22, 255, 0.08) !important;
  color: #5d16ff !important;
  border-color: rgba(93, 22, 255, 0.2) !important;
}

.tg-mobile-subnav {
  list-style: none !important;
  padding: 6px 8px !important;
  margin: 0 0 10px 0 !important;
  background: #f8fafc !important;
  border-radius: 10px !important;
  border: 1px solid #eef2f6 !important;
  display: none;
}

.tg-mobile-subnav.show {
  display: block !important;
  animation: tgFadeInDown 0.25s ease forwards;
}

@keyframes tgFadeInDown {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.tg-mobile-subnav li {
  margin: 0 !important;
  padding: 0 !important;
}

.tg-mobile-subnav li a {
  display: flex !important;
  align-items: center !important;
  padding: 8px 10px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  text-decoration: none !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
}

.tg-mobile-subnav li a:hover {
  color: #5d16ff !important;
  background: rgba(93, 22, 255, 0.08) !important;
  padding-left: 14px !important;
}

/* WhatsApp button inside Drawer */
.tg-mobile-wa-btn {
  background: #25d366 !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
}

.tg-mobile-wa-btn:hover {
  background: #1eb956 !important;
  color: #ffffff !important;
}

.mobile-side-menu .side-menu-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.mobile-side-menu .side-menu-list li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  font-size: 13px !important;
  color: #64748b !important;
  margin-bottom: 12px !important;
}

.mobile-side-menu .side-menu-list li i {
  color: #5d16ff !important;
  margin-top: 3px !important;
  font-size: 14px !important;
}

.mobile-side-menu .side-menu-list li a {
  color: #334155 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}

.mobile-side-menu .side-menu-list li a:hover {
  color: #5d16ff !important;
}

.mobile-side-menu .side-menu-social {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.mobile-side-menu .side-menu-social li a {
  width: 34px !important;
  height: 34px !important;
  border-radius: 8px !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.mobile-side-menu .side-menu-social li a:hover {
  background: #5d16ff !important;
  color: #ffffff !important;
}

/* Footer Locations Directory */
.tg-footer-loc-link {
  color: #cbd5e1 !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  display: inline-block !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.tg-footer-loc-link:hover {
  color: #ffffff !important;
  background: #5d16ff !important;
  border-color: #5d16ff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(93, 22, 255, 0.35);
}


