/* ==========================================================================
   SCOPELINES FOR MARKETING - ENTERPRISE 3-LEVEL HEADER DESIGN SYSTEM
   Usability Principles of Global Marketplaces (Amazon, Microsoft, Shopify)
   Brand Palette: Deep Purple (#9500DC / #B300FF), Violet (#6C3BFF), Cyan (#00BFFF)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@300;400;500;600;700;800&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Palette & Utility Colors */
  --bg-dark-navy: #0F0F1A;
  --bg-header-main: #FFFFFF;
  --bg-cat-bar: #F5F7FA;
  --bg-card: #F8F9FD;
  --bg-card-hover: #F0F2FA;
  --bg-glass: rgba(255, 255, 255, 0.96);
  --bg-glass-border: rgba(0, 0, 0, 0.08);

  --text-primary: #0D0D14;
  --text-secondary: #4A4A6A;
  --text-muted: #71718A;

  --purple-primary: #9500DC;
  --purple-vibrant: #B300FF;
  --violet-primary: #6C3BFF;
  --cyan-primary: #00BFFF;

  /* Enterprise Header Brand Gradient */
  --gradient-brand: linear-gradient(135deg, #B300FF 0%, #6C3BFF 50%, #00BFFF 100%);
  --gradient-brand-subtle: linear-gradient(135deg, rgba(179, 0, 255, 0.08) 0%, rgba(108, 59, 255, 0.05) 50%, rgba(0, 191, 255, 0.03) 100%);

  /* Typography */
  --font-en: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', 'Alexandria', 'Segoe UI', sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 20px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --box-shadow-header: 0 4px 20px rgba(15, 15, 26, 0.06);
  --box-shadow-dropdown: 0 12px 36px rgba(15, 15, 26, 0.12);
  --box-shadow-hover: 0 8px 24px rgba(108, 59, 255, 0.15);
}

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

html {
  font-family: var(--font-en);
  background-color: #FFFFFF;
  color: var(--text-primary);
  scroll-behavior: smooth;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: #FFFFFF;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 7px; height: 6px; }
::-webkit-scrollbar-track { background: #F1F3FA; }
::-webkit-scrollbar-thumb { background: #CBD2E1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }

/* Containers */
.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding { padding: 5rem 0; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.3rem, 4.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  background: rgba(108, 59, 255, 0.08);
  border: 1px solid rgba(179, 0, 255, 0.2);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--violet-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

/* ==========================================================================
   LEVEL 1 — UTILITY BAR (Height: ~34px)
   ========================================================================== */

/* ==========================================================================
   LEVEL 1 — TOP UTILITY BAR (Height: ~48px, Background: #102F3A)
   ========================================================================== */

.header-utility-bar {
  background: #102F3A;
  color: #E2E8F0;
  font-size: 0.8rem;
  min-height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1100;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.header-utility-bar.collapsed {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  height: 0;
  min-height: 0;
  overflow: hidden;
  border-bottom: none;
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Utility Search — Hidden per design */
.utility-search-wrap {
  display: none;
}

.utility-search-box {
  display: none;
}

.utility-search-icon {
  display: none;
}

.utility-search-input {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 0.78rem;
  width: 100%;
  outline: none;
}

.utility-search-input::placeholder {
  color: #94A3B8;
}

/* Live Search Suggestions Dropdown Overlay */
.search-suggestions-overlay {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  width: 440px;
  max-width: 90vw;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(15, 15, 26, 0.18);
  z-index: 1300;
  padding: 1.2rem;
  display: none;
}

.search-suggestions-overlay.active {
  display: block;
  animation: fadeInDown 0.2s ease;
}

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

.search-pop-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.search-pop-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.search-pop-tag {
  background: #F1F5F9;
  padding: 0.25rem 0.65rem;
  border-radius: 16px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.search-pop-tag:hover {
  background: var(--purple-primary);
  color: #FFFFFF;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease;
}

.search-result-item:hover, .search-result-item.focused {
  background: #F8FAFC;
}

.search-result-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.search-result-cat {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Region Selectors */
.utility-regions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.region-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #CBD5E1;
  font-size: 0.75rem;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

.region-chip:hover, .region-chip.active {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.utility-nav-link {
  color: #CBD5E1;
  font-size: 0.78rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.15s ease;
}

.utility-nav-link:hover {
  color: #FFFFFF;
}

.utility-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.util-separator {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.15);
}

/* Outlined Utility Button: Start a Project */
.btn-utility-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  background: transparent;
  padding: 0.25rem 0.85rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-utility-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
}

/* Language Selector Button */
.btn-lang-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: background 0.15s ease;
}

.btn-lang-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   LEVEL 2 — MAIN NAVIGATION BAR (Height: ~76px, White Background)
   ========================================================================== */

.header-main-sticky {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: height 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.header-main-sticky.scrolled {
  box-shadow: 0 8px 30px rgba(15, 15, 26, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 120px;
  gap: 1.5rem;
  transition: height 0.25s ease;
}

.header-main-sticky.scrolled .header-main-inner {
  height: 82px;
}

/* Brand Logo — Icon + Wordmark composite */
.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo-icon {
  height: 105px !important;
  width: auto;
  object-fit: contain;
  display: block;
  transition: height 0.25s ease;
  flex-shrink: 0;
}

.brand-logo-img,
.brand-header-full-logo {
  height: 115px !important;
  max-height: 120px !important;
  width: auto;
  max-width: 460px;
  object-fit: contain;
  display: block;
  transition: height 0.25s ease;
}

.header-main-sticky.scrolled .brand-logo-img,
.header-main-sticky.scrolled .brand-header-full-logo {
  height: 80px !important;
  max-height: 82px !important;
}

.brand-logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-family: 'Inter', 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;
}

.brand-logo-wordmark em {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #9500DC, #6C3BFF, #00BFFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-main-sticky.scrolled .brand-logo-icon {
  height: 60px !important;
}

.header-main-sticky.scrolled .brand-logo-img,
.header-main-sticky.scrolled .brand-header-full-logo {
  height: 64px !important;
}

.header-main-sticky.scrolled .brand-logo-wordmark::before {
  font-size: 0.92rem;
}

.header-main-sticky.scrolled .brand-logo-wordmark em {
  font-size: 0.6rem;
}

/* Central Main Navigation Items */
.main-nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item-wrap {
  position: relative;
}

.nav-link-item {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1E293B;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0;
  cursor: pointer;
  transition: color 0.15s ease;
  white-space: nowrap;
}

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

.nav-chevron {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.2s ease;
}

.nav-item-wrap:hover .nav-chevron, .nav-item-wrap.active .nav-chevron {
  transform: rotate(180deg);
}

/* Right-Side Primary Action Button */
.header-main-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.btn-cta-proposal {
  background: var(--gradient-brand);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  height: 44px;
  padding: 0 1.4rem;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(108, 59, 255, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-cta-proposal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(179, 0, 255, 0.42);
}

.btn-cta-arrow {
  width: 14px;
  height: 14px;
  stroke: #FFFFFF;
  stroke-width: 2.5;
  fill: none;
  transition: transform 0.2s ease;
}

.btn-cta-proposal:hover .btn-cta-arrow {
  transform: translateX(3px);
}

/* Mobile Trigger Button */
.btn-mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
  color: #0F172A;
}

.btn-mobile-toggle svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ==========================================================================
   ENTERPRISE MEGA MENUS SYSTEM
   ========================================================================== */

.mega-dropdown-container {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 100vw;
  max-width: 1380px;
  padding: 0 1.5rem;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-item-wrap:hover .mega-dropdown-container,
.nav-item-wrap.active .mega-dropdown-container {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-content {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px rgba(15, 15, 26, 0.14);
  padding: 2rem;
}

/* 4-Column Grid for Services */
.mega-grid-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 300px;
  gap: 1.8rem;
}

/* 3-Column Grid for Solutions */
.mega-grid-solutions {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 320px;
  gap: 2rem;
}

/* Grid for Industries */
.mega-grid-industries {
  display: grid;
  grid-template-columns: repeat(2, 1fr) 340px;
  gap: 2.2rem;
}

.industries-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem 1.5rem;
}

/* Grid for Resources */
.mega-grid-resources {
  display: grid;
  grid-template-columns: repeat(2, 1fr) 320px;
  gap: 2rem;
}

.mega-column-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--purple-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid rgba(149, 0, 220, 0.15);
}

.mega-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-menu-item {
  margin-bottom: 0.8rem;
}

.mega-menu-link {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, transform 0.15s ease;
}

.mega-menu-link:hover {
  background: rgba(108, 59, 255, 0.04);
  transform: translateX(3px);
}

[dir="rtl"] .mega-menu-link:hover {
  transform: translateX(-3px);
}

.mega-item-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(108, 59, 255, 0.07);
  border: 1px solid rgba(108, 59, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.mega-menu-link:hover .mega-item-icon-wrap {
  background: rgba(108, 59, 255, 0.15);
  border-color: rgba(108, 59, 255, 0.28);
  transform: scale(1.05);
}

.mega-item-icon {
  width: 17px;
  height: 17px;
  stroke: var(--violet-primary);
  stroke-width: 2;
  fill: none;
  transition: stroke 0.2s ease, transform 0.2s ease;
}

.mega-menu-link:hover .mega-item-icon {
  stroke: var(--violet-primary);
}

.mega-menu-link:hover .mega-item-name {
  color: var(--violet-primary);
}

.mega-item-text {
  display: flex;
  flex-direction: column;
}

.mega-item-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: #1E293B;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mega-menu-link:hover .mega-item-name {
  color: var(--purple-primary);
}

.mega-item-desc {
  font-size: 0.75rem;
  color: #64748B;
  margin-top: 0.15rem;
  line-height: 1.3;
}

.mega-badge {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: var(--purple-primary);
  color: #FFFFFF;
  text-transform: uppercase;
}

.mega-badge-ai {
  background: linear-gradient(135deg, #00BFFF 0%, #6C3BFF 100%);
}

/* Featured Card in Mega Menu */
.mega-featured-card {
  background: linear-gradient(145deg, #F8FAFC 0%, #F1F5F9 100%);
  border: 1px solid rgba(108, 59, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.mega-featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-brand);
}

.mega-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  border-radius: 12px;
  background: rgba(108, 59, 255, 0.1);
  color: var(--violet-primary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  width: fit-content;
}

.mega-featured-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.mega-featured-desc {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 1.2rem;
}

.btn-mega-cta {
  background: #0F172A;
  color: #FFFFFF;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: background 0.15s ease;
  width: 100%;
  text-align: center;
}

.btn-mega-cta:hover {
  background: var(--purple-primary);
  color: #FFFFFF;
}

/* ==========================================================================
   LEVEL 3 — ANNOUNCEMENT OR PROMOTIONAL BAR
   ========================================================================== */

.header-announcement-bar {
  background: #F0F6FF;
  border-bottom: 1px solid rgba(0, 191, 255, 0.2);
  padding: 0.6rem 0;
  font-size: 0.84rem;
  position: relative;
  z-index: 1000;
  transition: opacity 0.25s ease, height 0.25s ease;
}

.header-announcement-bar.dismissed {
  display: none;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.announcement-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.announcement-icon-wrap {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(108, 59, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.announcement-icon {
  width: 14px;
  height: 14px;
  stroke: var(--violet-primary);
  stroke-width: 2.2;
  fill: none;
}

.announcement-headline {
  font-weight: 700;
  color: #0F172A;
}

.announcement-text {
  color: #475569;
}

.announcement-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.btn-announcement-action {
  background: #FFFFFF;
  color: var(--purple-primary);
  border: 1px solid rgba(149, 0, 220, 0.3);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-announcement-action:hover {
  background: var(--purple-primary);
  color: #FFFFFF;
  border-color: var(--purple-primary);
}

.btn-announcement-close {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.2rem;
  line-height: 1;
  transition: color 0.15s ease;
}

.btn-announcement-close:hover {
  color: #0F172A;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE HEADER DRAWER
   ========================================================================== */

.mobile-header-bar {
  display: none;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.75rem 1rem;
  position: sticky;
  top: 0;
  z-index: 1100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 1024px) {
  .header-utility-bar, .header-main-sticky, .header-announcement-bar { display: none !important; }
  .mobile-header-bar { display: block; }
}

.mobile-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.mobile-left-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.mobile-right-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-content {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 360px;
  height: 100%;
  background: #FFFFFF;
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-drawer-backdrop.active .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 1rem;
}

.mobile-accordion-item {
  border-bottom: 1px solid #F1F5F9;
}

.mobile-accordion-trigger {
  width: 100%;
  padding: 0.85rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1E293B;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-accordion-body {
  display: none;
  padding: 0.4rem 0 0.8rem 0.8rem;
}

.mobile-accordion-body.active {
  display: block;
}

.mobile-sub-link {
  display: block;
  padding: 0.45rem 0;
  font-size: 0.88rem;
  color: #475569;
  transition: color 0.15s ease;
}

.mobile-sub-link:hover {
  color: var(--purple-primary);
}

/* Standard Cards & Content Layout */
.hero-section {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, rgba(179, 0, 255, 0.04) 0%, rgba(0, 191, 255, 0.02) 50%, #FFFFFF 100%);
}

.hero-background-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.hero-infinity-icon {
  height: 72px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  margin: 0 auto 1.5rem;
  display: block;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: var(--text-secondary);
  margin: 1.5rem 0 2.5rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.email-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: #F8F9FD;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.email-hero-badge a {
  color: var(--purple-primary);
  font-weight: 700;
  text-decoration: underline;
}

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

@media (max-width: 1024px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.service-card, .product-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover, .product-card:hover {
  border-color: rgba(179, 0, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--box-shadow-hover);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(108, 59, 255, 0.08);
  border: 1px solid rgba(179, 0, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-primary);
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
}

.product-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--purple-primary);
  background: rgba(179, 0, 255, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.8rem;
}

.product-price-tag {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0.8rem 0;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  justify-content: center;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  background: #F0F2FA;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-btn.active {
  background: var(--gradient-brand);
  color: #FFF;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

@media (max-width: 1024px) { .process-timeline { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .process-timeline { grid-template-columns: 1fr; } }

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #FFF;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.form-group { margin-bottom: 1.4rem; }
.form-label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.5rem; }
.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
}

.site-footer {
  background: #F5F7FA;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 4.5rem 0 2.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

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

.footer-col-title { font-size: 1.1rem; color: var(--text-primary); margin-bottom: 1.2rem; font-weight: 700; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: var(--text-secondary); font-size: 0.9rem; }
.footer-links a:hover { color: var(--purple-primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  z-index: 1500;
  padding: 1.4rem 1.8rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(179, 0, 255, 0.3);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==========================================================================
   HOMEPAGE REDESIGN — PREMIUM HERO, SEARCH, MOTION STAGE & ALL SECTIONS
   Scopelines for Marketing — UAE · GCC · Jordan
   ========================================================================== */

/* ── SHARED BUTTON SYSTEM ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #6C3BFF 0%, #9500DC 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(108, 59, 255, 0.32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(149, 0, 220, 0.42);
}
.btn-secondary {
  background: #FFFFFF;
  color: #0F172A;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(15,23,42,0.05);
}
.btn-secondary:hover {
  border-color: #6C3BFF;
  color: #6C3BFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(108, 59, 255, 0.12);
}
.btn-lg { padding: 1.05rem 2.4rem; font-size: 1.05rem; }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.85rem; }

/* ── GLASS PANEL ──────────────────────────────────────────────────────── */
.glass-panel {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(15,23,42,0.08);
}

/* ═══════════════════════════════════════════════════════════════════════
   1. HERO SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.scopelines-hero-redesign {
  position: relative;
  min-height: 740px;
  display: flex;
  align-items: center;
  padding: 5rem 0 6rem;
  overflow: hidden;
  background: linear-gradient(160deg, #FAFBFF 0%, #F4F2FF 35%, #F0F6FF 70%, #F8FAFC 100%);
}

/* decorative grid pattern */
.scopelines-hero-redesign::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 59, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 59, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 0;
}

/* ambient radial glows */
.scopelines-hero-redesign::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,191,255,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-redesign-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* ── LEFT COLUMN ────────────────────────────────────────────────────── */
.hero-left-col {
  display: flex;
  flex-direction: column;
}

.hero-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(108,59,255,0.2);
  border-radius: 9999px;
  padding: 0.4rem 1.1rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: #6C3BFF;
  box-shadow: 0 2px 12px rgba(108,59,255,0.1);
  margin-bottom: 1.6rem;
  width: fit-content;
}

.pill-sparkle { font-size: 0.95rem; }

.hero-main-headline {
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 900;
  line-height: 1.12;
  color: #0C0D14;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}

.hero-headline-accent {
  background: linear-gradient(135deg, #6C3BFF 0%, #9500DC 50%, #00BFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-supporting-text {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75;
  color: #4A5568;
  max-width: 580px;
  margin-bottom: 2.2rem;
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════════════════
   2. SEARCH MODE SELECTOR (SEGMENTED CONTROL)
   ═══════════════════════════════════════════════════════════════════════ */
.search-mode-selector {
  display: inline-flex;
  align-items: center;
  background: #EDEAF8;
  border-radius: 9999px;
  padding: 4px;
  margin-bottom: 1.4rem;
  position: relative;
  width: fit-content;
  gap: 0;
}

.mode-tab {
  position: relative;
  border: none;
  background: transparent;
  padding: 0.6rem 1.35rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  color: #6B7280;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.25s ease;
  z-index: 2;
  white-space: nowrap;
}

.mode-tab.active {
  color: #FFFFFF;
}

/* sliding indicator via pseudo-element approach on the parent */
.search-mode-selector::before {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  border-radius: 9999px;
  background: #0F172A;
  box-shadow: 0 4px 14px rgba(15,23,42,0.28);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), width 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  /* Width/transform managed by JS adding class to selector */
}

.search-mode-selector.mode-guide::before {
  left: 4px;
  width: var(--tab-guide-w, 180px);
  transform: translateX(0);
}

.search-mode-selector.mode-browse::before {
  left: 4px;
  width: var(--tab-browse-w, 180px);
  transform: translateX(var(--tab-guide-w, 180px));
}

.mode-icon { font-size: 0.95rem; }

/* ═══════════════════════════════════════════════════════════════════════
   3. HERO MODE PANELS
   ═══════════════════════════════════════════════════════════════════════ */
.hero-mode-panel {
  display: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-mode-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════
   4. INTELLIGENT SEARCH FIELD
   ═══════════════════════════════════════════════════════════════════════ */
.smart-search-box-wrap {
  position: relative;
  max-width: 700px;
  margin-bottom: 1.6rem;
}

.smart-search-input-group {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 2px solid #E5E7EB;
  border-radius: 9999px;
  padding: 7px 8px 7px 22px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.07), 0 2px 8px rgba(108,59,255,0.05);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  gap: 0.5rem;
}

.smart-search-input-group:focus-within {
  border-color: #6C3BFF;
  box-shadow: 0 0 0 4px rgba(108,59,255,0.1), 0 10px 30px rgba(108,59,255,0.14);
}

.search-field-icon {
  display: flex;
  align-items: center;
  color: #9CA3AF;
  flex-shrink: 0;
}

.search-field-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.smart-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  font-weight: 500;
  color: #0F172A;
  background: transparent;
  padding: 0.5rem 0;
  min-width: 0;
}

.smart-search-input::placeholder { color: #9CA3AF; }

.btn-clear-search {
  background: none;
  border: none;
  color: #9CA3AF;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  border-radius: 50%;
  transition: all 0.15s ease;
  flex-shrink: 0;
  line-height: 1;
}

.btn-clear-search:hover {
  background: #F1F5F9;
  color: #374151;
}

.btn-search-primary {
  background: linear-gradient(135deg, #6C3BFF 0%, #9500DC 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  padding: 0.85rem 1.65rem;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(108,59,255,0.35);
}

.btn-search-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(149, 0, 220, 0.42);
}

.btn-arrow-icon { transition: transform 0.2s ease; }
.btn-search-primary:hover .btn-arrow-icon { transform: translateX(3px); }

/* ═══════════════════════════════════════════════════════════════════════
   5. AUTOCOMPLETE DROPDOWN
   ═══════════════════════════════════════════════════════════════════════ */
.hero-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-radius: 22px;
  border: 1px solid #E5E7EB;
  box-shadow: 0 20px 50px rgba(15,23,42,0.14), 0 4px 12px rgba(108,59,255,0.06);
  z-index: 600;
  display: none;
  overflow: hidden;
}

.hero-autocomplete-dropdown.active {
  display: block;
  animation: dropdownFadeSlide 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.autocomplete-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.4rem;
  border-bottom: 1px solid #F3F4F6;
  cursor: pointer;
  transition: background 0.15s ease;
}

.autocomplete-item:last-child { border-bottom: none; }

.autocomplete-item:hover,
.autocomplete-item.active {
  background: #F8F7FF;
}

.ac-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(135deg, #EEF0FF 0%, #E8E0FF 100%);
  color: #6C3BFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.autocomplete-item:hover .ac-icon,
.autocomplete-item.active .ac-icon {
  background: linear-gradient(135deg, #6C3BFF 0%, #9500DC 100%);
  color: #FFFFFF;
}

.ac-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.ac-info { flex: 1; min-width: 0; }

.ac-title {
  font-weight: 700;
  font-size: 0.93rem;
  color: #0F172A;
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ac-desc {
  font-size: 0.79rem;
  color: #6B7280;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ac-cat {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  color: #7C3AED;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

.ac-arrow {
  font-size: 1.1rem;
  color: #D1D5DB;
  transition: transform 0.18s ease, color 0.18s ease;
  flex-shrink: 0;
}

.autocomplete-item:hover .ac-arrow,
.autocomplete-item.active .ac-arrow {
  transform: translateX(4px);
  color: #6C3BFF;
}

.ac-no-results {
  padding: 1.6rem;
  text-align: center;
  font-size: 0.9rem;
  color: #6B7280;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════
   6. POPULAR SEARCH CHIPS
   ═══════════════════════════════════════════════════════════════════════ */
.popular-searches-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.popular-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: #9CA3AF;
  text-transform: uppercase;
}

.popular-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.popular-chip-btn {
  background: rgba(255,255,255,0.95);
  border: 1.5px solid #E5E7EB;
  border-radius: 9999px;
  padding: 0.48rem 1rem;
  font-weight: 600;
  font-size: 0.83rem;
  color: #374151;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.popular-chip-btn:hover {
  border-color: #6C3BFF;
  color: #5B21B6;
  background: #F5F3FF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(108,59,255,0.12);
}

.chip-icon { font-size: 0.85rem; }

/* ═══════════════════════════════════════════════════════════════════════
   7. SERVICE BROWSER GRID (MODE 2 — BROWSE ALL SERVICES)
   ═══════════════════════════════════════════════════════════════════════ */
.service-browser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 1.1rem;
}

.browser-category-card {
  background: #FFFFFF;
  border: 1.5px solid #E9EBF0;
  border-radius: 20px;
  padding: 1.4rem;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
}

.browser-category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6C3BFF, #9500DC);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.browser-category-card:hover::before { transform: scaleX(1); }

.browser-category-card:hover {
  border-color: rgba(108,59,255,0.25);
  box-shadow: 0 14px 32px rgba(108,59,255,0.1);
  transform: translateY(-5px);
}

.cat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cat-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #F0EBFF 0%, #E8E0FF 100%);
  color: #6C3BFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.cat-icon-badge svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.browser-category-card:hover .cat-icon-badge {
  background: linear-gradient(135deg, #6C3BFF, #9500DC);
  color: #FFFFFF;
}

.cat-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.cat-items-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cat-items-list li {
  font-size: 0.8rem;
  color: #64748B;
  margin-bottom: 0.38rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cat-items-list li .dot { color: #7C3AED; font-weight: 900; font-size: 0.7rem; }

.cat-explore-link {
  font-weight: 700;
  font-size: 0.8rem;
  color: #6C3BFF;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.3rem;
  transition: gap 0.2s ease;
}

.browser-category-card:hover .cat-explore-link { gap: 0.6rem; }

/* ═══════════════════════════════════════════════════════════════════════
   8. RIGHT-SIDE 6-SCENE ANIMATED MOTION STAGE
   ═══════════════════════════════════════════════════════════════════════ */
.hero-right-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.animated-motion-stage {
  height: 540px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Layered ambient glows */
.stage-ambient-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,59,255,0.16) 0%, rgba(0,191,255,0.06) 50%, transparent 80%);
  filter: blur(50px);
  z-index: 1;
  animation: ambientFloat 6s ease-in-out infinite alternate;
}

@keyframes ambientFloat {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.1) translateY(-12px); }
}

/* Motion Cards Base */
.motion-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 20px 50px rgba(15,23,42,0.11), 0 4px 12px rgba(108,59,255,0.06);
  opacity: 0;
  transform: translateY(28px) scale(0.94);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.motion-card.active-scene {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Scene 1 — Business Goal Request Card */
.visual-card-request {
  top: 22px;
  left: 10px;
  width: 295px;
  z-index: 10;
  border-top: 3px solid #10B981;
}

.card-header-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.card-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16,185,129,0.2); }
  50%      { box-shadow: 0 0 0 6px rgba(16,185,129,0.1); }
}

.card-goal-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.45;
  margin-bottom: 0.9rem;
}

.card-tags-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-bottom: 0.9rem;
}

.card-tag-pill {
  background: linear-gradient(135deg, #EEF0FF, #E8E0FF);
  color: #5B21B6;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.28rem 0.7rem;
  border-radius: 9999px;
}

.card-progress-bar {
  height: 5px;
  background: #F3F4F6;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #6C3BFF, #9500DC, #00BFFF);
  border-radius: 9999px;
  animation: progressSweep 2.5s ease-in-out infinite alternate;
}

@keyframes progressSweep {
  from { width: 42%; }
  to   { width: 82%; }
}

/* Scene 2 — Scopelines Recommended Solution Card */
.visual-card-solution {
  top: 105px;
  right: 5px;
  width: 310px;
  z-index: 20;
  border-top: 3px solid #6C3BFF;
}

.solution-badge {
  color: #6C3BFF !important;
  font-size: 0.68rem !important;
  font-weight: 900 !important;
}

.solution-card-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: #0F172A;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.solution-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.solution-list li {
  font-size: 0.84rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.42rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.solution-list .check {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 900;
}

/* Scene 3 — Verified/Recommended Badge */
.visual-badge-verified {
  top: 255px;
  left: 25px;
  z-index: 30;
  padding: 0.85rem 1.4rem;
  background: linear-gradient(135deg, #0F172A 0%, #1A0A3B 100%);
  color: #FFFFFF;
  border: none;
  width: auto;
  min-width: 200px;
}

.verified-badge-inner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.verified-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6C3BFF, #00BFFF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.verified-text {
  font-size: 0.88rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
}

.verified-subtext {
  font-size: 0.7rem;
  color: #94A3B8;
  font-weight: 500;
}

/* Scene 4 — Analytics/Metrics Card */
.visual-card-metrics {
  bottom: 18px;
  right: 12px;
  width: 300px;
  z-index: 25;
  border-top: 3px solid #00BFFF;
}

.metrics-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 0.8rem;
  color: #0F172A;
  margin-bottom: 1rem;
}

.metrics-header-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #DBEAFE, #E0E7FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.metric-item {
  background: #F8FAFC;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border: 1px solid #F1F5F9;
}

.metric-val {
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
}

.text-green  { color: #059669; }
.text-purple { color: #7C3AED; }
.text-blue   { color: #2563EB; }
.text-gold   { color: #D97706; }

.metric-lbl {
  font-size: 0.68rem;
  color: #6B7280;
  font-weight: 600;
}

.metric-disclaimer {
  font-size: 0.62rem;
  color: #9CA3AF;
  margin-top: 0.6rem;
  text-align: center;
  font-style: italic;
}

/* Center Brand + AI Bubble */
.motion-center-brand {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.brand-orbit-ring {
  position: absolute;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: 2px dashed rgba(108,59,255,0.25);
  animation: orbitRotate 22s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.brand-orbit-ring-outer {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(0,191,255,0.12);
  animation: orbitRotate 35s linear infinite reverse;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes orbitRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.brand-motion-logo {
  height: 68px;
  width: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 8px 24px rgba(108,59,255,0.28));
  animation: logoFloat 4s ease-in-out infinite alternate;
}

@keyframes logoFloat {
  from { transform: translateY(0px); }
  to   { transform: translateY(-6px); }
}

.ai-question-bubble {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  border-radius: 9999px;
  padding: 0.6rem 1.3rem;
  box-shadow: 0 8px 24px rgba(15,23,42,0.1);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
  transition: transform 0.3s ease;
  z-index: 10;
}

.ai-bubble-icon { font-size: 1rem; }

.ai-bubble-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0F172A;
}

.ai-question-bubble.pulse {
  animation: bubblePulse 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bubblePulse {
  0%   { transform: translateX(-50%) scale(1); }
  45%  { transform: translateX(-50%) scale(1.07); }
  100% { transform: translateX(-50%) scale(1); }
}

/* ═══════════════════════════════════════════════════════════════════════
   9. SOLUTION RECOMMENDATION MODAL
   ═══════════════════════════════════════════════════════════════════════ */
.solution-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 10, 20, 0.55);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.solution-modal-overlay.active {
  display: flex;
  animation: modalFadeIn 0.28s ease forwards;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.solution-modal-card {
  background: #FFFFFF;
  border-radius: 28px;
  max-width: 640px;
  width: 100%;
  padding: 2.4rem;
  position: relative;
  box-shadow: 0 30px 70px rgba(0,0,0,0.22);
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideUp 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.btn-close-modal {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  background: #F3F4F6;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1rem;
  cursor: pointer;
  color: #6B7280;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-close-modal:hover {
  background: #E5E7EB;
  color: #111827;
}

.modal-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 900;
  color: #6C3BFF;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(108,59,255,0.08);
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.modal-solution-title {
  font-size: 1.7rem;
  font-weight: 900;
  color: #0F172A;
  margin-bottom: 0.8rem;
  line-height: 1.28;
}

.modal-solution-desc {
  color: #4B5563;
  font-size: 0.97rem;
  line-height: 1.65;
  margin-bottom: 1.6rem;
}

.modal-includes-box {
  background: #F8F7FF;
  border: 1px solid #E5E0FF;
  border-radius: 18px;
  padding: 1.4rem;
  margin-bottom: 1.8rem;
}

.includes-heading {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.9rem;
}

.modal-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-check-list li {
  font-size: 0.88rem;
  color: #374151;
  font-weight: 600;
  margin-bottom: 0.55rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.modal-check-list li .chk {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.62rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-weight: 900;
}

.modal-cta-group {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.modal-related-section {
  border-top: 1px solid #F3F4F6;
  padding-top: 1.2rem;
}

.related-heading {
  font-size: 0.79rem;
  font-weight: 800;
  color: #9CA3AF;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.related-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.related-chip-link {
  background: #F0EBFF;
  color: #5B21B6;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.18s ease;
  border: 1px solid transparent;
}

.related-chip-link:hover {
  background: #EDE9FE;
  border-color: #8B5CF6;
}

/* ═══════════════════════════════════════════════════════════════════════
   10. TRUST & LOCATION STRIP
   ═══════════════════════════════════════════════════════════════════════ */
.trust-location-strip {
  background: #FFFFFF;
  border-top: 1px solid #F0F0F4;
  border-bottom: 1px solid #F0F0F4;
  padding: 2.4rem 0;
}

.trust-strip-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.trust-strip-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.01em;
}

.trust-locations-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.trust-loc-chip {
  background: #F8FAFC;
  border: 1.5px solid #E5E7EB;
  border-radius: 9999px;
  padding: 0.5rem 1.2rem;
  font-size: 0.87rem;
  font-weight: 700;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.trust-loc-chip:hover {
  border-color: #6C3BFF;
  color: #6C3BFF;
  background: #F5F3FF;
}

.trust-features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.2rem;
}

.trust-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.87rem;
  font-weight: 600;
  color: #4B5563;
}

.feat-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EEF0FF, #E8E0FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   11. SERVICES OVERVIEW ("WHAT WE DO")
   ═══════════════════════════════════════════════════════════════════════ */
.services-overview-section { background: #FAFBFF; }

.section-header-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #64748B;
  line-height: 1.75;
  margin-top: 1rem;
}

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

.overview-card-box {
  background: #FFFFFF;
  border: 1.5px solid #E9EBF0;
  border-radius: 24px;
  padding: 2rem;
  cursor: pointer;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
}

.overview-card-box.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1), border-color 0.32s ease, box-shadow 0.32s ease;
}

.overview-card-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6C3BFF, #9500DC, #00BFFF);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.overview-card-box:hover::after { transform: scaleX(1); }

.overview-card-box:hover {
  border-color: rgba(108,59,255,0.2);
  box-shadow: 0 24px 48px rgba(108,59,255,0.1);
  transform: translateY(-7px) !important;
}

.overview-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.card-icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: linear-gradient(135deg, #F0EBFF, #E8E0FF);
  color: #6C3BFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.28s ease;
}

.card-icon-badge svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.overview-card-box:hover .card-icon-badge {
  background: linear-gradient(135deg, #6C3BFF, #9500DC);
  color: #FFFFFF;
}

.card-num-idx {
  font-size: 1.3rem;
  font-weight: 900;
  color: #E5E7EB;
  line-height: 1;
}

.overview-card-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: #0F172A;
  margin-bottom: 0.7rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.overview-card-desc {
  font-size: 0.92rem;
  color: #6B7280;
  line-height: 1.65;
  margin-bottom: 1.8rem;
  flex: 1;
}

.overview-card-link {
  font-weight: 700;
  font-size: 0.88rem;
  color: #6C3BFF;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s ease;
}

.overview-card-box:hover .overview-card-link { gap: 0.7rem; }

/* ═══════════════════════════════════════════════════════════════════════
   12. FEATURED WORK ("SELECTED WORK")
   ═══════════════════════════════════════════════════════════════════════ */
.featured-work-section { background: #FFFFFF; }

.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.featured-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

/* Old grid container replaced by .featured-projects-grid below */

/* Clean project card base styles */
.featured-project-card-legacy {
  display: flex;
  flex-direction: column;
}

.featured-project-card:hover .project-card-btn { gap: 0.7rem; }

/* ═══════════════════════════════════════════════════════════════════════
   13. HOW SCOPELINES WORKS (PROCESS TIMELINE)
   ═══════════════════════════════════════════════════════════════════════ */
.work-process-section {
  background: linear-gradient(160deg, #F8F7FF 0%, #F0F6FF 100%);
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* connector line */
.process-steps-grid::before {
  content: '';
  position: absolute;
  top: 38px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, #6C3BFF, #9500DC, #00BFFF, #6C3BFF);
  z-index: 0;
}

.process-step-card {
  background: transparent;
  padding: 2rem 1.5rem;
  position: relative;
  text-align: center;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16,1,0.3,1);
}

.process-step-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.step-badge-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6C3BFF, #9500DC);
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  box-shadow: 0 6px 18px rgba(108,59,255,0.35);
  position: relative;
  z-index: 2;
}

.step-card-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: #0F172A;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.step-card-desc {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════════════
   14. INDUSTRIES SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.industries-section { background: #FFFFFF; }

.industries-tabs-wrap { margin-top: 0; }

.industries-tabs-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.2rem;
}

.ind-tab-btn {
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  border-radius: 9999px;
  padding: 0.58rem 1.35rem;
  font-weight: 700;
  font-size: 0.87rem;
  color: #4B5563;
  cursor: pointer;
  transition: all 0.22s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ind-tab-btn.active,
.ind-tab-btn:hover {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
  box-shadow: 0 4px 14px rgba(15,23,42,0.2);
}

.industry-tab-content-box {
  background: #FAFBFF;
  border: 1.5px solid #E9EBF0;
  border-radius: 28px;
  padding: 2.5rem;
  animation: tabContentFade 0.3s ease forwards;
}

@keyframes tabContentFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ind-display-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.ind-display-title {
  font-size: 1.7rem;
  font-weight: 900;
  color: #0F172A;
  margin-bottom: 0.9rem;
  letter-spacing: -0.02em;
}

.ind-display-desc {
  font-size: 1rem;
  color: #4B5563;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.ind-services-list-box {
  background: #FFFFFF;
  border: 1.5px solid #E9EBF0;
  border-radius: 20px;
  padding: 1.8rem;
}

.ind-list-heading {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ind-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ind-check-list li {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.ind-check-list li .chk {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.62rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 900;
}

/* ═══════════════════════════════════════════════════════════════════════
   15. FINAL CALL TO ACTION
   ═══════════════════════════════════════════════════════════════════════ */
.final-cta-section {
  background: linear-gradient(145deg, #0A0614 0%, #0F172A 40%, #0A1628 100%);
  color: #FFFFFF;
  text-align: center;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,59,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,191,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.final-cta-inner h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.final-cta-desc {
  font-size: 1.1rem;
  color: #94A3B8;
  line-height: 1.75;
  margin-bottom: 2.8rem;
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.final-cta-buttons .btn-primary {
  background: linear-gradient(135deg, #6C3BFF, #9500DC);
  box-shadow: 0 8px 24px rgba(108,59,255,0.45);
}

.final-cta-buttons .btn-secondary {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: #FFFFFF;
}

.final-cta-buttons .btn-secondary:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.5);
  color: #FFFFFF;
}

.final-cta-email {
  font-size: 1rem;
  font-weight: 600;
  color: #64748B;
}

.final-cta-email a {
  color: #A5B4FC;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.final-cta-email a:hover { color: #FFFFFF; }

/* ═══════════════════════════════════════════════════════════════════════
   16. GRIDS, SECTION SCAFFOLDING & SHARED
   ═══════════════════════════════════════════════════════════════════════ */
.section-padding { padding: 5rem 0; }

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

@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .services-overview-grid, .featured-projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .services-overview-grid, .featured-projects-grid { grid-template-columns: 1fr; }
}

.service-card, .product-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover, .product-card:hover {
  border-color: rgba(179, 0, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--box-shadow-hover);
}

.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(108, 59, 255, 0.08);
  border: 1px solid rgba(179, 0, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-primary);
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
}

.product-badge {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase;
  color: var(--purple-primary);
  background: rgba(179, 0, 255, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.8rem;
}

.product-price-tag {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0.8rem 0;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  justify-content: center;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  background: #F0F2FA;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-btn.active {
  background: var(--gradient-brand);
  color: #FFF;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

@media (max-width: 1024px) { .process-timeline { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .process-timeline { grid-template-columns: 1fr; } }

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.step-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #FFF;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.form-group { margin-bottom: 1.4rem; }
.form-label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.5rem; }
.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
}

.site-footer {
  background: #F5F7FA;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 4.5rem 0 2.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

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

.footer-col-title { font-size: 1.1rem; color: var(--text-primary); margin-bottom: 1.2rem; font-weight: 700; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: var(--text-secondary); font-size: 0.9rem; }
.footer-links a:hover { color: var(--purple-primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  z-index: 1500;
  padding: 1.4rem 1.8rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(179, 0, 255, 0.3);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   17. RESPONSIVE — HERO & ALL SECTIONS
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1280px) {
  .hero-main-headline { font-size: clamp(2.4rem, 4vw, 3.4rem); }
  .visual-card-request { width: 270px; }
  .visual-card-solution { width: 285px; right: 0; }
  .visual-card-metrics { width: 270px; }
  .process-steps-grid::before { display: none; }
}

@media (max-width: 1024px) {
  .hero-redesign-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-main-headline { font-size: 2.6rem; }
  .hero-supporting-text { max-width: 100%; }
  .smart-search-box-wrap { max-width: 100%; }
  .animated-motion-stage { height: 420px; }
  .visual-card-request { width: 245px; top: 10px; left: 20px; }
  .visual-card-solution { width: 260px; top: 80px; right: 20px; }
  .visual-card-metrics { width: 245px; bottom: 10px; right: 20px; }
  .ind-display-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .process-steps-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .process-steps-grid::before { display: none; }
}

@media (max-width: 768px) {
  .scopelines-hero-redesign { padding: 3.5rem 0 4.5rem; min-height: auto; }
  .hero-main-headline { font-size: 2.1rem; }
  .smart-search-input-group { flex-wrap: wrap; padding: 12px 16px; border-radius: 22px; gap: 0.5rem; }
  .btn-search-primary { width: 100%; justify-content: center; border-radius: 14px; }
  .animated-motion-stage { height: 380px; }
  .visual-card-request { width: 220px; left: 10px; top: 8px; }
  .visual-card-solution { width: 235px; right: 10px; top: 70px; }
  .visual-card-metrics { width: 220px; right: 10px; }
  .visual-badge-verified { left: 15px; }
  .final-cta-inner h2 { font-size: 1.9rem; }
  .trust-features-grid { gap: 1.2rem; }
}

@media (max-width: 480px) {
  .hero-main-headline { font-size: 1.85rem; }
  .search-mode-selector { flex-direction: column; align-items: stretch; border-radius: 18px; }
  .mode-tab { justify-content: center; }
  .search-mode-selector::before { display: none; }
  .mode-tab.active { background: #0F172A; }
  .popular-chips-list { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .animated-motion-stage { height: 330px; }
  .visual-card-request { width: 190px; font-size: 0.85rem; padding: 1rem; }
  .visual-card-solution { width: 200px; right: 5px; padding: 1rem; }
  .visual-card-metrics { width: 195px; padding: 1rem; }
  .visual-badge-verified { padding: 0.7rem 1rem; }
  .process-steps-grid { grid-template-columns: 1fr; }
  .industries-tabs-list { flex-wrap: wrap; }
  .final-cta-buttons { flex-direction: column; }
  .final-cta-buttons .btn { width: 100%; justify-content: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .motion-card,
  .overview-card-box,
  .process-step-card,
  .browser-category-card,
  .scopelines-hero-redesign::after,
  .stage-ambient-glow,
  .brand-motion-logo,
  .brand-orbit-ring,
  .brand-orbit-ring-outer,
  .card-status-dot,
  .progress-fill {
    animation: none !important;
    transition: none !important;
  }

  .motion-card { opacity: 1 !important; transform: none !important; }
  .overview-card-box { opacity: 1 !important; transform: none !important; }
  .process-step-card { opacity: 1 !important; transform: none !important; }
}


/* 1. HERO SECTION CONTAINER */
.scopelines-hero-redesign {
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
  min-height: 740px;
  display: flex;
  align-items: center;
}

.hero-redesign-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  padding: 0.4rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #4F46E5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  margin-bottom: 1.5rem;
}

.pill-sparkle { font-size: 0.9rem; }

.hero-main-headline {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.15;
  color: #0F172A;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}

.hero-supporting-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #475569;
  max-width: 620px;
  margin-bottom: 2rem;
}

/* 2. SEARCH MODE SELECTOR (SEGMENTED CONTROL) */
.search-mode-selector {
  display: inline-flex;
  align-items: center;
  background: #E2E8F0;
  border-radius: 9999px;
  padding: 4px;
  position: relative;
  margin-bottom: 1.5rem;
}

.mode-tab {
  border: none;
  background: transparent;
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.88rem;
  color: #64748B;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
}

.mode-tab.active {
  color: #FFFFFF;
  background: #0F172A;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

.mode-icon { font-size: 1rem; }

/* 3. HERO MODE PANELS */
.hero-mode-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-mode-panel.active {
  display: block;
  opacity: 1;
}

/* 4. INTELLIGENT SEARCH FIELD */
.smart-search-box-wrap {
  position: relative;
  max-width: 680px;
  margin-bottom: 1.8rem;
}

.smart-search-input-group {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 9999px;
  padding: 6px 8px 6px 20px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.smart-search-input-group:focus-within {
  border-color: #6366F1;
  box-shadow: 0 14px 40px rgba(99, 102, 241, 0.16);
}

.search-field-icon {
  display: flex;
  align-items: center;
  color: #64748B;
  margin-right: 0.6rem;
}

.smart-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.05rem;
  font-weight: 500;
  color: #0F172A;
  background: transparent;
  padding: 0.5rem 0;
}

.btn-clear-search {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.4rem 0.8rem;
  transition: color 0.15s ease;
}

.btn-clear-search:hover { color: #0F172A; }

.btn-search-primary {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  padding: 0.85rem 1.8rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-search-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.35);
}

/* 5. AUTOCOMPLETE DROPDOWN */
.hero-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.14);
  z-index: 600;
  display: none;
  overflow: hidden;
}

.hero-autocomplete-dropdown.active {
  display: block;
  animation: dropdownFadeSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.autocomplete-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid #F1F5F9;
  cursor: pointer;
  transition: background 0.15s ease;
}

.autocomplete-item:last-child { border-bottom: none; }

.autocomplete-item:hover,
.autocomplete-item.active {
  background: #F8FAFC;
}

.ac-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #EEF2FF;
  color: #4F46E5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ac-info { flex: 1; }

.ac-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0F172A;
  margin-bottom: 0.2rem;
}

.ac-desc {
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.4;
}

.ac-cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: #7C3AED;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.ac-arrow {
  font-size: 1.1rem;
  color: #94A3B8;
  transition: transform 0.2s ease, color 0.2s ease;
}

.autocomplete-item:hover .ac-arrow {
  transform: translateX(4px);
  color: #4F46E5;
}

.ac-no-results {
  padding: 1.4rem;
  text-align: center;
  font-size: 0.9rem;
  color: #64748B;
  line-height: 1.6;
}

/* 6. POPULAR SEARCH CHIPS */
.popular-searches-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.popular-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #94A3B8;
}

.popular-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.popular-chip-btn {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  padding: 0.5rem 1.1rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.popular-chip-btn:hover {
  border-color: #6366F1;
  color: #4F46E5;
  background: #EEF2FF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.12);
}

/* 7. SERVICE BROWSER GRID (MODE 2) */
.service-browser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.2rem;
}

.browser-category-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 1.4rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.browser-category-card:hover {
  border-color: #7C3AED;
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.12);
  transform: translateY(-4px);
}

.cat-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.cat-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #EEF2FF;
  color: #4F46E5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.01em;
}

.cat-items-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
}

.cat-items-list li {
  font-size: 0.82rem;
  color: #64748B;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cat-items-list li .dot { color: #7C3AED; font-weight: 800; }

.cat-explore-link {
  font-weight: 700;
  font-size: 0.82rem;
  color: #4F46E5;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* 8. RIGHT-SIDE 6-SCENE MOTION VISUAL STAGE */
.hero-right-col {
  position: relative;
}

.animated-motion-stage {
  height: 520px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-ambient-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, rgba(99, 102, 241, 0.05) 60%, transparent 100%);
  filter: blur(40px);
  z-index: 1;
}

.motion-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.motion-card.active-scene {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.visual-card-request {
  top: 30px;
  left: 20px;
  width: 320px;
  z-index: 10;
}

.card-header-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

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

.card-goal-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.card-tags-group {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.card-tag-pill {
  background: #EEF2FF;
  color: #4F46E5;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
}

.card-progress-bar {
  height: 6px;
  background: #E2E8F0;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4F46E5, #7C3AED);
  border-radius: 9999px;
}

.visual-card-solution {
  top: 110px;
  right: 10px;
  width: 340px;
  z-index: 20;
  border-color: rgba(124, 58, 237, 0.3);
}

.solution-badge {
  color: #7C3AED;
  font-weight: 900;
}

.solution-card-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: #0F172A;
  margin-bottom: 0.8rem;
}

.solution-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.solution-list li {
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.solution-list li .check { color: #10B981; font-weight: 800; }

.visual-badge-verified {
  top: 250px;
  left: 30px;
  z-index: 30;
  padding: 1rem 1.6rem;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
}

.verified-badge-inner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 0.92rem;
}

.visual-card-metrics {
  bottom: 20px;
  right: 20px;
  width: 320px;
  z-index: 25;
}

.metrics-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 0.85rem;
  color: #0F172A;
  margin-bottom: 1rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.metric-item {
  background: #F8FAFC;
  padding: 0.7rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-size: 1.25rem;
  font-weight: 900;
}

.text-green { color: #10B981; }
.text-purple { color: #7C3AED; }
.text-blue { color: #2563EB; }
.text-gold { color: #D97706; }

.metric-lbl {
  font-size: 0.72rem;
  color: #64748B;
  font-weight: 600;

.motion-center-brand {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-orbit-ring {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px dashed rgba(124, 58, 237, 0.3);
  animation: orbitRotate 20s linear infinite;
}

@keyframes orbitRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.brand-motion-logo {
  height: 64px;
  width: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 10px 20px rgba(124, 58, 237, 0.25));
}

.ai-question-bubble {
  margin-top: 1.8rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  padding: 0.6rem 1.4rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: transform 0.3s ease;
}

.ai-question-bubble.pulse {
  animation: bubblePulse 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bubblePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.ai-bubble-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0F172A;
}

/* 9. SOLUTION RECOMMENDATION MODAL */
.solution-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.solution-modal-overlay.active {
  display: flex;
  animation: modalFadeIn 0.3s ease forwards;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.solution-modal-card {
  background: #FFFFFF;
  border-radius: 24px;
  max-width: 640px;
  width: 100%;
  padding: 2.2rem;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  max-height: 90vh;
  overflow-y: auto;
}

.btn-close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: #F1F5F9;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  cursor: pointer;
  color: #64748B;
  transition: all 0.2s ease;
}

.btn-close-modal:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.modal-badge-tag {
  font-size: 0.78rem;
  font-weight: 900;
  color: #7C3AED;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}

.modal-solution-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: #0F172A;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.modal-solution-desc {
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.modal-includes-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.4rem;
  margin-bottom: 1.8rem;
}

.includes-heading {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.8rem;
}

.modal-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-check-list li {
  font-size: 0.88rem;
  color: #334155;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.modal-check-list li .chk { color: #10B981; font-weight: 900; }

.modal-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.modal-related-section {
  border-top: 1px solid #E2E8F0;
  padding-top: 1.2rem;
}

.related-heading {
  font-size: 0.82rem;
  font-weight: 800;
  color: #64748B;
  margin-bottom: 0.6rem;
}

.related-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.related-chip-link {
  background: #EEF2FF;
  color: #4F46E5;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.related-chip-link:hover { background: #E0E7FF; }

/* 10. TRUST & LOCATION STRIP */
.trust-location-strip {
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  padding: 2.2rem 0;
}

.trust-strip-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.4rem;
}

.trust-strip-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0F172A;
}

.trust-locations-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.trust-loc-chip {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  padding: 0.5rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
}

.trust-features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 0.5rem;
}

.trust-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #475569;
}

/* 11. SERVICES OVERVIEW ("WHAT WE DO") */
.section-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: #64748B;
  line-height: 1.7;
  margin-top: 1rem;
}

.overview-card-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.overview-card-box:hover {
  border-color: #6366F1;
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.12);
  transform: translateY(-6px);
}

.overview-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.card-num-idx {
  font-size: 1.2rem;
  font-weight: 900;
  color: #CBD5E1;
}

.overview-card-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: #0F172A;
  margin-bottom: 0.8rem;
}

.overview-card-desc {
  font-size: 0.95rem;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.overview-card-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: #4F46E5;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* 12. FEATURED WORK SECTION ("SELECTED WORK") */
.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.featured-project-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.featured-project-card:hover {
  border-color: #7C3AED;
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.12);
  transform: translateY(-6px);
}

.project-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.project-industry-badge {
  background: #EEF2FF;
  color: #4F46E5;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
}

.project-client-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748B;
}

.project-card-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #0F172A;
  margin-bottom: 1.2rem;
}

.project-services-delivered {
  font-size: 0.88rem;
  color: #475569;
  margin-bottom: 1.5rem;
}

.svc-lbl { font-weight: 700; color: #0F172A; }

.project-result-box {
  background: #F8FAFC;
  border-left: 4px solid #10B981;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.result-text {
  font-size: 0.9rem;
  font-weight: 800;
  color: #10B981;
}

.project-card-btn {
  font-weight: 800;
  font-size: 0.9rem;
  color: #7C3AED;
}

/* 13. WORK PROCESS TIMELINE */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
}

.process-step-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 2rem;
  position: relative;
}

.step-badge-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: #CBD5E1;
  margin-bottom: 1rem;
}

.step-card-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: #0F172A;
  margin-bottom: 0.6rem;
}

.step-card-desc {
  font-size: 0.9rem;
  color: #64748B;
  line-height: 1.6;
}

/* 14. INDUSTRIES SECTION */
.industries-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.ind-tab-btn {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  padding: 0.6rem 1.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ind-tab-btn.active,
.ind-tab-btn:hover {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
}

.industry-tab-content-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.ind-display-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.ind-display-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: #0F172A;
  margin-bottom: 1rem;
}

.ind-display-desc {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.7;
}

.ind-services-list-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 1.8rem;
}

.ind-list-heading {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 1rem;
}

.ind-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ind-check-list li {
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ind-check-list li .chk { color: #10B981; font-weight: 900; }

/* 15. FINAL CALL TO ACTION */
.final-cta-section {
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 100%);
  color: #FFFFFF;
  text-align: center;
  padding: 5rem 0;
}

.final-cta-inner {
  max-width: 760px;
  margin: 0 auto;
}

.final-cta-inner h2 {
  font-size: 2.8rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 1.2rem;
}

.final-cta-desc {
  font-size: 1.15rem;
  color: #CBD5E1;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.final-cta-email {
  font-size: 1.05rem;
  font-weight: 700;
  color: #A5B4FC;
}

.final-cta-email a {
  color: #FFFFFF;
  text-decoration: underline;
}

/* RESPONSIVE MEDIA QUERIES FOR HERO & SECTIONS */
@media (max-width: 1024px) {
  .hero-redesign-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-main-headline { font-size: 2.8rem; }
  .ind-display-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .scopelines-hero-redesign { padding: 3rem 0; min-height: auto; }
  .hero-main-headline { font-size: 2.2rem; }
  .smart-search-input-group { flex-direction: column; padding: 12px; border-radius: 20px; }
  .btn-search-primary { width: 100%; justify-content: center; margin-top: 8px; }
  .animated-motion-stage { height: 440px; }
  .visual-card-request, .visual-card-solution, .visual-card-metrics { width: 280px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER SOCIAL MEDIA & REGIONAL OFFICES STYLES
   ═══════════════════════════════════════════════════════════════════════ */
.site-footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 4.5rem 0 2.5rem;
  border-top: 3px solid #6C3BFF;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6C3BFF 0%, #B300FF 50%, #00BFFF 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.3fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

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

.footer-col-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #C084FC;
  transform: translateX(3px);
}

[dir="rtl"] .footer-links a:hover {
  transform: translateX(-3px);
}

/* Strict SVG sizing rules */
.site-footer svg,
.footer-social-wrap svg,
.footer-social-btn svg,
.footer-social-icon svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  display: block !important;
  fill: currentColor !important;
  flex-shrink: 0 !important;
}

.footer-social-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.footer-social-btn {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  max-width: 38px !important;
  max-height: 38px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
}

.footer-social-btn:hover {
  background: linear-gradient(135deg, #6C3BFF 0%, #B300FF 100%) !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
  transform: translateY(-3px) scale(1.08) !important;
  box-shadow: 0 8px 20px rgba(108, 59, 255, 0.4) !important;
}

.footer-social-btn.wa-btn:hover {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4) !important;
}

.footer-office-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.85rem;
  transition: all 0.25s ease;
}

.footer-office-item:hover {
  border-color: #8B5CF6;
  background: rgba(139, 92, 246, 0.08);
  transform: translateY(-2px);
}

.footer-office-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
}

.footer-office-text {
  font-size: 0.83rem;
  color: #CBD5E1;
  line-height: 1.5;
  margin-bottom: 0.4rem;
}

.footer-office-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #38BDF8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-office-phone:hover {
  color: #C084FC;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  color: #64748B;
}

/* ==========================================================================
   REGIONAL TRUST & LOCATION STRIP — GCC & JORDAN DESIGN
   ========================================================================== */
.trust-location-strip {
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
  border-top: 1px solid rgba(108, 59, 255, 0.08);
  border-bottom: 1px solid rgba(108, 59, 255, 0.08);
  padding: 3.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.trust-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.trust-strip-header {
  margin-bottom: 2rem;
}

.trust-badge-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  background: rgba(108, 59, 255, 0.08);
  border: 1px solid rgba(108, 59, 255, 0.2);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--violet-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.trust-strip-title {
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.trust-locations-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.trust-loc-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.1rem;
  background: #FFFFFF;
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1E293B;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
  cursor: default;
}

.trust-loc-chip:hover {
  transform: translateY(-2px);
  border-color: var(--violet-primary);
  box-shadow: 0 6px 16px rgba(108, 59, 255, 0.12);
  color: var(--purple-primary);
}

.trust-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px stroke rgba(226, 232, 240, 0.8);
  border-top-style: dashed;
}

.trust-feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.2s ease;
}

.trust-feature-item:hover {
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.trust-feat-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(108, 59, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.trust-feat-text-wrap {
  display: flex;
  flex-direction: column;
  text-align: start;
}

.trust-feat-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F172A;
}

.trust-feat-sub {
  font-size: 0.76rem;
  color: #64748B;
  font-weight: 500;
}

/* ═══ FEATURED WORK (SELECTED WORK) LIGHT PROFESSIONAL REDESIGN ═══ */
.featured-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
  margin-top: 1rem;
}

.featured-project-card {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.featured-project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(108, 59, 255, 0.12);
  border-color: rgba(108, 59, 255, 0.3);
}

.project-card-visual {
  background: linear-gradient(135deg, rgba(108, 59, 255, 0.05) 0%, rgba(179, 0, 255, 0.03) 100%);
  border-bottom: 1px solid rgba(108, 59, 255, 0.08);
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.project-card-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(108, 59, 255, 0.1);
  border: 1px solid rgba(108, 59, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.featured-project-card:hover .project-card-icon-badge {
  transform: scale(1.08);
}

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

.project-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.project-industry-badge {
  background: rgba(108, 59, 255, 0.08);
  color: var(--violet-primary);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
}

.project-client-name {
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 600;
}

.project-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.4;
  margin: 0 0 0.85rem;
}

.project-services-delivered {
  font-size: 0.83rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 1.1rem;
}

.project-services-delivered .svc-lbl {
  font-weight: 700;
  color: #0F172A;
  display: block;
  margin-bottom: 0.2rem;
}

.project-result-box {
  background: rgba(108, 59, 255, 0.04);
  border-inline-start: 3px solid var(--violet-primary);
  border-radius: 0 8px 8px 0;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: auto;
  margin-bottom: 1.1rem;
}

.project-result-box .result-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.5;
}

.project-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--violet-primary);
  font-weight: 700;
  font-size: 0.88rem;
  transition: gap 0.2s ease;
}

.featured-project-card-v2 {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;
}

.featured-project-card-v2:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 45px rgba(108, 59, 255, 0.14) !important;
  border-color: rgba(108, 59, 255, 0.35) !important;
}

/* ═══ INDUSTRIES SECTION SIDE-BY-SIDE SIDEBAR REDESIGN ═══ */
.industries-tabs-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: stretch;
  max-width: 1240px;
  margin: 0 auto;
}

.industries-tabs-list-side {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ind-tab-btn {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  padding: 0.95rem 1.15rem;
  color: #475569;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
  width: 100%;
  text-align: start;
}

.ind-tab-btn .ind-tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-primary);
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.ind-tab-btn:hover {
  background: #FFFFFF;
  border-color: rgba(108, 59, 255, 0.3);
  color: var(--violet-primary);
  transform: translateX(4px);
  box-shadow: 0 6px 16px rgba(108, 59, 255, 0.08);
}

[dir="rtl"] .ind-tab-btn:hover {
  transform: translateX(-4px);
}

.ind-tab-btn.active {
  background: var(--violet-primary) !important;
  color: #FFFFFF !important;
  border-color: var(--violet-primary) !important;
  box-shadow: 0 8px 24px rgba(108, 59, 255, 0.25) !important;
}

.ind-tab-btn.active .ind-tab-icon {
  color: #FFFFFF !important;
}

@media (max-width: 992px) {
  .industries-tabs-wrap {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}



