/* 
 * Dogra Technologies - Premium 2026 Portfolio Design System
 * Inspired by Stripe, Linear, Vercel, and Apple.
 * CSS Variables, Light/Dark Modes, and Fluid Layouts.
 */


:root {
  /* Colors */
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --secondary: #0F172A;
  --accent: #06B6D4;
  --success: #10B981;
  --background: #FFFFFF;
  --surface: #F8FAFC;
  --text: #111827;
  --text-muted: #4B5563;
  --border: #E5E7EB;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(229, 231, 235, 0.5);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-premium: 0 25px 50px -12px rgba(37, 99, 235, 0.08);

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Spacing (8px system) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-12: 96px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --background: #090D16;
  --surface: #131B2E;
  --text: #F1F5F9;
  --text-muted: #94A3B8;
  --border: #1E293B;
  --glass-bg: rgba(9, 13, 22, 0.7);
  --glass-border: rgba(30, 41, 59, 0.5);
  --shadow-premium: 0 25px 50px -12px rgba(6, 182, 212, 0.15);
  --secondary: #FFFFFF;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--text-muted);
}

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

/* General Layout Elements */
.container-premium {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-4);
  width: 100%;
}

.section-padding {
  padding: var(--space-12) 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: var(--space-8) 0;
  }
}

/* Header & Navigation */
.nav-premium {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: background-color var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.nav-brand img {
  height: 48px;
  transition: transform var(--transition-normal);
}

.nav-brand img:hover {
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: var(--space-1) 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Dark Mode Toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background-color: var(--surface);
  border-color: var(--primary);
  color: var(--primary);
}

/* Buttons */
.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-primary-2026 {
  background: linear-gradient(135deg, var(--primary) 0%, #1D4ED8 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary-2026:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary-2026 {
  background-color: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary-2026:hover {
  background-color: var(--border);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-sec {
  position: relative;
  overflow: hidden;
  padding-top: 160px;
  padding-bottom: 100px;
  background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 40%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: var(--space-6);
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: var(--space-3);
  font-weight: 800;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  margin-bottom: var(--space-4);
  max-width: 600px;
}

@media (max-width: 992px) {
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-ctas {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

@media (max-width: 992px) {
  .hero-ctas {
    justify-content: center;
  }
}

/* Floating Technology Icons Component */
.hero-visuals {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}

.orbit-center {
  width: 140px;
  height: 140px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  padding: 16px;
  animation: pulse-slow 4s infinite ease-in-out;
}

.orbit-icon {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background-color: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.orbit-icon:hover {
  transform: scale(1.15) rotate(5deg);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}

/* Set orbits positions (8 independent paths) */
.orbit-1 {
  animation: orbit-route-1 12s infinite linear;
}

.orbit-2 {
  animation: orbit-route-2 15s infinite linear;
}

.orbit-3 {
  animation: orbit-route-3 18s infinite linear;
}

.orbit-4 {
  animation: orbit-route-4 21s infinite linear;
}

.orbit-5 {
  animation: orbit-route-5 24s infinite linear;
}

.orbit-6 {
  animation: orbit-route-6 27s infinite linear;
}

.orbit-7 {
  animation: orbit-route-7 30s infinite linear;
}

.orbit-8 {
  animation: orbit-route-8 33s infinite linear;
}

@keyframes orbit-route-1 {
  0% {
    transform: rotate(0deg) translateX(100px) rotate(0deg);
  }

  100% {
    transform: rotate(360deg) translateX(100px) rotate(-360deg);
  }
}

@keyframes orbit-route-2 {
  0% {
    transform: rotate(45deg) translateX(130px) rotate(-45deg);
  }

  100% {
    transform: rotate(405deg) translateX(130px) rotate(-405deg);
  }
}

@keyframes orbit-route-3 {
  0% {
    transform: rotate(90deg) translateX(160px) rotate(-90deg);
  }

  100% {
    transform: rotate(450deg) translateX(160px) rotate(-450deg);
  }
}

@keyframes orbit-route-4 {
  0% {
    transform: rotate(135deg) translateX(190px) rotate(-135deg);
  }

  100% {
    transform: rotate(495deg) translateX(190px) rotate(-495deg);
  }
}

@keyframes orbit-route-5 {
  0% {
    transform: rotate(180deg) translateX(115px) rotate(-180deg);
  }

  100% {
    transform: rotate(540deg) translateX(115px) rotate(-540deg);
  }
}

@keyframes orbit-route-6 {
  0% {
    transform: rotate(225deg) translateX(145px) rotate(-225deg);
  }

  100% {
    transform: rotate(585deg) translateX(145px) rotate(-585deg);
  }
}

@keyframes orbit-route-7 {
  0% {
    transform: rotate(270deg) translateX(175px) rotate(-270deg);
  }

  100% {
    transform: rotate(630deg) translateX(175px) rotate(-630deg);
  }
}

@keyframes orbit-route-8 {
  0% {
    transform: rotate(315deg) translateX(205px) rotate(-315deg);
  }

  100% {
    transform: rotate(675deg) translateX(205px) rotate(-675deg);
  }
}

@keyframes pulse-slow {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* Statistics Counter Section */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-6);
  border-top: 1px solid var(--border);
  padding-top: var(--space-4);
}

@media (max-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
  }
}

.stat-item h3 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.88rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Infinite Scrolling Marquee */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-2) 0;
  display: flex;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  animation: marquee-scroll 30s infinite linear;
}

.marquee-logo {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

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

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Filter and Search Layout */
.portfolio-controls {
  margin-bottom: var(--space-4);
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
}

.search-bar-container {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-3);
  position: relative;
}

.search-input-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  gap: var(--space-2);
}

.search-input-wrapper input {
  border: none;
  background: none;
  outline: none;
  font-size: 0.95rem;
  color: var(--text);
  width: 100%;
}

.search-button {
  background-color: var(--primary);
  border: none;
  color: #FFFFFF;
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.search-button:hover {
  background-color: var(--primary-hover);
}

.search-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.search-suggestion-pill {
  background-color: var(--background);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-suggestion-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Dynamic Filter Groups */
.filter-groups {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.filter-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  width: 90px;
  flex-shrink: 0;
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  background-color: var(--background);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill:hover,
.filter-pill.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

/* Portfolio Gallery - Infinite Scroll & Grid */
.port-grid-2026 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

@media (max-width: 640px) {
  .port-grid-2026 {
    grid-template-columns: 1fr;
  }
}

.port-card-2026 {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  cursor: pointer;
}

.port-card-2026::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.port-card-2026:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-xl), var(--shadow-premium);
  border-color: rgba(37, 99, 235, 0.2);
}

.port-card-2026:hover::before {
  opacity: 1;
}

.port-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-2);
}

.port-card-badge {
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.port-card-title-2026 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.port-card-desc-2026 {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-2);
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Video/Visual Hover Mockup inside card */
.card-visual-mockup {
  background-color: var(--background);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  height: 140px;
  margin-bottom: var(--space-2);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-visual-mockup video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity var(--transition-fast), transform var(--transition-slow);
}

.port-card-2026:hover .card-visual-mockup video {
  opacity: 1;
  transform: scale(1.05);
}

.mockup-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(6, 182, 212, 0.03) 100%);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
}

.mockup-icon {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 8px;
  opacity: 0.85;
}

.port-tech-tags-2026 {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--space-3);
}

.port-tech-tag-2026 {
  background-color: var(--background);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.port-card-2026:hover .port-tech-tag-2026 {
  border-color: rgba(37, 99, 235, 0.25);
  color: var(--primary);
}

.port-tech-more {
  background-color: rgba(37, 99, 235, 0.06);
  border-color: transparent;
  color: var(--primary);
  font-weight: 700;
}

.port-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-2);
  border-top: 1px solid var(--border);
}

.card-impact-metrics {
  display: flex;
  gap: 12px;
}

.metric-mini {
  display: flex;
  flex-direction: column;
}

.metric-mini-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--success);
  font-family: var(--font-display);
}

.metric-mini-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* 3D Device Mockup View Details Trigger */
.btn-view-details {
  background-color: var(--background);
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.port-card-2026:hover .btn-view-details {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  transform: rotate(45deg);
}

/* Interactive World Map Component */
.world-map-section {
  position: relative;
  background-color: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: var(--space-4);
  margin-bottom: var(--space-12);
  overflow: hidden;
}

.world-map-header {
  margin-bottom: var(--space-4);
}

.world-map-header h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.map-container-real {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

/* Custom Leaflet Map Pins */
.custom-map-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px !important;
  height: 20px !important;
}

.map-marker-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary);
  border: 2px solid var(--background);
  box-shadow: 0 0 6px var(--primary);
  position: relative;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.custom-map-pin:hover .map-marker-dot {
  background-color: var(--accent);
  transform: scale(1.3);
  box-shadow: 0 0 10px var(--accent);
}

.map-marker-dot::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  animation: ping-marker 1.8s infinite ease-out;
  pointer-events: none;
  box-sizing: content-box;
}

@keyframes ping-marker {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

/* Dynamic Map Popup details card */
.map-popup-card {
  position: absolute;
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-md);
  padding: var(--space-2);
  width: 280px;
  z-index: 10;
  display: none;
  pointer-events: none;
  transform: translate(-50%, -115%);
  transition: opacity var(--transition-fast);
}

.map-popup-title {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text);
}

.map-popup-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 8px;
}

.map-popup-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 6px;
  font-size: 0.75rem;
}

/* Before / After Impact Visualizer */
.impact-slider-section {
  margin-bottom: var(--space-12);
}

.impact-slider-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-6);
}

@media (max-width: 992px) {
  .impact-slider-container {
    grid-template-columns: 1fr;
  }
}

.slider-wrapper-card {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

.slider-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.slider-before {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: #FFFFFF;
  z-index: 1;
}

.slider-after {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  color: #1E3A8A;
  z-index: 2;
  width: 50%;
}

.slider-content-preview {
  padding: var(--space-4);
  max-width: 80%;
  text-align: center;
}

.slider-content-preview h3 {
  font-size: 2.2rem;
  margin-bottom: var(--space-1);
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: var(--primary);
  z-index: 3;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.slider-button-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  border: 4px solid var(--background);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  box-shadow: var(--shadow-lg);
  font-weight: 900;
}

/* Development Process Timeline */
.timeline-section {
  position: relative;
  margin-bottom: var(--space-12);
}

.timeline-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-4) 0;
}

.timeline-line {
  position: absolute;
  left: 31px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--border);
  z-index: 1;
}

.timeline-step-2026 {
  position: relative;
  display: flex;
  gap: var(--space-3);
  z-index: 2;
}

.timeline-dot-2026 {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background-color: var(--surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-muted);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.timeline-step-2026:hover .timeline-dot-2026 {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
  transform: scale(1.1);
}

.timeline-body-2026 {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  flex-grow: 1;
  transition: border-color var(--transition-fast);
}

.timeline-step-2026:hover .timeline-body-2026 {
  border-color: rgba(37, 99, 235, 0.25);
}

.timeline-body-2026 h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

/* Custom FAQ Accordion */
.faq-accordion-item {
  border-bottom: 1px solid var(--border);
  padding: var(--space-2) 0;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.15rem;
  padding: var(--space-1) 0;
  user-select: none;
}

.faq-icon-acc {
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-accordion-item.active .faq-icon-acc {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-accordion-item.active .faq-body {
  max-height: 200px;
  padding-top: var(--space-1);
}

/* Case Study Modern Detail Modal (Drawer Style 2026 Overlay) */
.drawer-backdrop-2026 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(9, 13, 22, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1500;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.drawer-backdrop-2026.open {
  opacity: 1;
  visibility: visible;
}

.drawer-card-2026 {
  width: 100%;
  max-width: 680px;
  height: 100vh;
  background-color: var(--background);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
}

.drawer-backdrop-2026.open .drawer-card-2026 {
  transform: translateX(0);
}

.drawer-header-2026 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border);
}

.drawer-body-2026 {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4);
}

.drawer-close-btn {
  background: none;
  border: 1px solid var(--border);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text);
  transition: all var(--transition-fast);
}

.drawer-close-btn:hover {
  background-color: var(--surface);
  border-color: var(--primary);
  color: var(--primary);
}

.drawer-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

@media (max-width: 640px) {
  .drawer-kpi-grid {
    grid-template-columns: 1fr;
  }
}

.drawer-kpi-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-2);
  text-align: center;
}

.drawer-kpi-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-display);
}

/* Orbit / Badge Cloud for technology categories */
.tech-badge-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Chatbot Widget Container */
.chatbot-widget-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  font-family: var(--font-sans);
}

.chatbot-toggle-btn {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: all var(--transition-normal);
}

.chatbot-toggle-btn:hover {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.5);
}

.chatbot-drawer {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 360px;
  height: 480px;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all var(--transition-normal);
}

.chatbot-drawer.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chatbot-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #FFFFFF;
  padding: var(--space-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chatbot-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.chatbot-chat-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.chatbot-chat-subtitle {
  font-size: 0.72rem;
  opacity: 0.85;
}

.chatbot-close-btn {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.25rem;
  cursor: pointer;
}

.chatbot-messages-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-message {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.4;
}

.chat-message.bot {
  background-color: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-message.user {
  background-color: var(--primary);
  color: #FFFFFF;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chatbot-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px var(--space-2);
  border-top: 1px solid var(--border);
  background-color: var(--surface);
}

.chatbot-suggest-btn {
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.chatbot-suggest-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.chatbot-input-footer {
  display: flex;
  border-top: 1px solid var(--border);
  background-color: var(--background);
}

.chatbot-input-footer input {
  flex: 1;
  border: none;
  padding: 14px;
  outline: none;
  font-size: 0.88rem;
  background: none;
  color: var(--text);
}

.chatbot-send-btn {
  background: none;
  border: none;
  color: var(--primary);
  padding: 0 16px;
  cursor: pointer;
  font-weight: 700;
  transition: color var(--transition-fast);
}

.chatbot-send-btn:hover {
  color: var(--primary-hover);
}

/* Footer modern layout */
.footer-2026 {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--space-8) 0 var(--space-4) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

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

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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

.section-padding>.container-premium>h2,
.section-padding>.container-premium>.world-map-header,
.section-padding>.container-premium>.world-map-header h2 {
  text-align: center;
}

.stripe-footer {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--space-8) 0 var(--space-4) 0;
}

.stripe-footer .footer-link-a,
.stripe-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.stripe-footer a:hover,
.stripe-footer .footer-link-a:hover {
  color: var(--primary);
}

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-newsletter-wrapper {
  margin-top: 12px;
}

.footer-newsletter-form {
  display: flex;
  margin-top: 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  overflow: hidden;
  background-color: var(--background);
}

.footer-newsletter-status {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  line-height: 1.4;
  min-height: 1.2em;
  color: var(--text-muted);
}

.footer-newsletter-status.is-success {
  color: #0f9d58;
}

.footer-newsletter-status.is-error {
  color: var(--accent, #da241d);
}

.footer-newsletter-form button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.footer-newsletter-form input {
  flex: 1;
  border: none;
  padding: 10px 14px;
  outline: none;
  font-size: 0.82rem;
  background: none;
  color: var(--text);
}

.footer-newsletter-form button {
  background-color: var(--primary);
  border: none;
  color: #FFFFFF;
  padding: 0 16px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background-color var(--transition-fast);
}

.footer-newsletter-form button:hover {
  background-color: var(--primary-hover);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}

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

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: var(--background);
  transition: all var(--transition-fast);
}

.footer-social-link svg {
  display: block;
}

.footer-social-link:hover {
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.footer-social-link--x:hover {
  background: #000;
}

.footer-social-link--facebook:hover {
  background: #1877F2;
}

.footer-social-link--linkedin:hover {
  background: #0A66C2;
}

.footer-social-link--x:hover svg path,
.footer-social-link--facebook:hover svg path,
.footer-social-link--linkedin:hover svg path {
  fill: #fff;
}

[data-theme="dark"] .footer-social-link--x svg path {
  fill: #ffffff;
}

/* ==========================================
   Mobile Menu & Responsive Layout Improvements
   ========================================== */

/* Hamburger Button Icon */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
  position: relative;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text);
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@media (max-width: 1024px) {

  /* Show Hamburger on mobile/tablet */
  .nav-toggle {
    display: flex;
  }

  /* Fixed Navigation menu drawer */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--surface);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px var(--space-6) var(--space-6);
    gap: var(--space-4);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
    padding: var(--space-2) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  /* Hamburger transform animation on toggle active */
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Adjust Action and Proposal Buttons size */
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .nav-actions .btn-premium {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  /* Fix Fixed Background Image Bug on iOS & Android devices */
  body,
  section:not(.hero-sec):not(.hero-sec-rw):not(.hero-sec-ind) {
    background-attachment: scroll !important;
  }

  /* Bento Grid Layout Responsive Collapsing */
  .premium-grid-bento {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .premium-grid-bento .bento-card {
    grid-column: span 12 !important;
  }

  .premium-grid-bento .bento-card[style*="display:grid"],
  .premium-grid-bento .bento-card[style*="display: grid"] {
    grid-template-columns: 1fr !important;
  }

  .premium-grid-bento div[style*="grid-template-columns:1fr 1fr"],
  .premium-grid-bento div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Collapse hardcoded portfolio stats & numbers to 1 column */
  .port-grid-2026[style*="grid-template-columns: repeat(3, 1fr)"],
  .port-grid-2026[style*="repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
}