/**
 * DiscreetSoft Premium International Design System
 * Modern, High-Performance, Accessible UI Framework
 */

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

:root {
  /* Color Palette */
  --ds-bg-root: #060911;
  --ds-bg-secondary: #0b0f19;
  --ds-bg-card: rgba(15, 23, 42, 0.65);
  --ds-bg-card-hover: rgba(26, 38, 64, 0.8);
  --ds-surface: #0f172a;
  --ds-surface-light: #1e293b;

  --ds-primary: #6366f1;
  --ds-primary-rgb: 99, 102, 241;
  --ds-primary-hover: #4f46e5;
  --ds-primary-glow: rgba(99, 102, 241, 0.35);

  --ds-cyan: #38bdf8;
  --ds-cyan-glow: rgba(56, 189, 248, 0.25);
  --ds-emerald: #10b981;
  --ds-emerald-glow: rgba(16, 185, 129, 0.25);
  --ds-purple: #8b5cf6;

  /* Typography Colors (WCAG AA Compliant) */
  --ds-text-heading: #f8fafc;
  --ds-text-body: #94a3b8;
  --ds-text-muted: #64748b;
  --ds-text-accent: #38bdf8;

  /* Borders & Glass */
  --ds-border: rgba(255, 255, 255, 0.08);
  --ds-border-light: rgba(255, 255, 255, 0.12);
  --ds-border-hover: rgba(99, 102, 241, 0.4);
  --ds-glass-blur: blur(16px);

  /* Gradients */
  --ds-gradient-brand: linear-gradient(135deg, #6366f1 0%, #38bdf8 100%);
  --ds-gradient-text: linear-gradient(135deg, #ffffff 20%, #94a3b8 100%);
  --ds-gradient-accent-text: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
  --ds-gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.005) 100%);
  --ds-gradient-glow: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 70%);

  /* Typography */
  --ds-font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Radii & Shadows */
  --ds-radius-sm: 8px;
  --ds-radius-md: 14px;
  --ds-radius-lg: 20px;
  --ds-radius-full: 9999px;
  --ds-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --ds-shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --ds-shadow-glow: 0 0 35px -5px rgba(99, 102, 241, 0.3);
}

/* Base Resets & Global Theme */
body {
  font-family: var(--ds-font-main) !important;
  background-color: var(--ds-bg-root) !important;
  color: var(--ds-text-body) !important;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Headings Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ds-font-main) !important;
  color: var(--ds-text-heading) !important;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

a {
  color: var(--ds-text-heading);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

a:hover {
  color: var(--ds-accent-cyan);
}

/* Hide legacy distracting cursor followers */
.cursor, .cursor-follower {
  display: none !important;
}

/* ==========================================================================
   Modern Header & Navigation
   ========================================================================== */
.ds-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  background: rgba(6, 9, 17, 0.75);
  backdrop-filter: var(--ds-glass-blur);
  -webkit-backdrop-filter: var(--ds-glass-blur);
  border-bottom: 1px solid var(--ds-border);
}

.ds-header.scrolled {
  background: rgba(6, 9, 17, 0.92);
  border-bottom-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.ds-nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ds-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ds-brand-logo img {
  height: 42px;
  width: auto;
  display: block;
}

.ds-nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ds-nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ds-text-body);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.25rem;
  position: relative;
}

.ds-nav-link:hover,
.ds-nav-link.active {
  color: var(--ds-text-heading);
}

.ds-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ds-gradient-brand);
  transition: width 0.25s ease;
  border-radius: 2px;
}

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

/* Dropdown */
.ds-dropdown {
  position: relative;
}

.ds-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 290px;
  background: rgba(11, 15, 25, 0.96);
  backdrop-filter: var(--ds-glass-blur);
  -webkit-backdrop-filter: var(--ds-glass-blur);
  border: 1px solid var(--ds-border-light);
  border-radius: var(--ds-radius-md);
  padding: 0.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  list-style: none;
  margin: 0;
  z-index: 100;
}

.ds-dropdown:hover .ds-dropdown-menu,
.ds-dropdown:focus-within .ds-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ds-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--ds-radius-sm);
  color: var(--ds-text-body);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.ds-dropdown-item i {
  font-size: 0.95rem;
  color: var(--ds-primary);
  width: 18px;
  text-align: center;
}

.ds-dropdown-item:hover {
  background: rgba(99, 102, 241, 0.12);
  color: #ffffff;
  transform: translateX(4px);
}

.ds-dropdown-item:hover i {
  color: var(--ds-cyan);
}

/* Header Action Buttons */
.ds-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ds-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  padding: 0.5rem 1rem;
  border-radius: var(--ds-radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.ds-btn-whatsapp:hover {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.ds-status-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: dsPulse 2s infinite;
}

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

/* Mobile Toggle */
.ds-mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--ds-text-heading);
  font-size: 1.5rem;
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--ds-radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  border: 1px solid transparent;
}

.ds-btn-primary {
  background: var(--ds-gradient-brand);
  color: #ffffff !important;
  box-shadow: 0 4px 20px var(--ds-primary-glow);
}

.ds-btn-primary:hover {
  box-shadow: 0 6px 30px rgba(99, 102, 241, 0.55);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.ds-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--ds-border-light);
  color: var(--ds-text-heading) !important;
}

.ds-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.ds-btn-outline {
  background: transparent;
  border: 1px solid var(--ds-primary);
  color: var(--ds-primary) !important;
}

.ds-btn-outline:hover {
  background: var(--ds-primary);
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.ds-hero-section {
  position: relative;
  padding: 7rem 1.5rem 5rem;
  overflow: hidden;
  background: radial-gradient(circle at 50% -10%, rgba(99, 102, 241, 0.18) 0%, rgba(6, 9, 17, 0) 70%);
}

.ds-hero-container {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.ds-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--ds-radius-full);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--ds-accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.ds-hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  max-width: 980px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.ds-gradient-text {
  background: var(--ds-gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ds-hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--ds-text-body);
  max-width: 780px;
  margin: 0 auto 2.5rem;
  text-align: center;
  line-height: 1.6;
}

.ds-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Trust Bar / Stats Grid */
.ds-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1080px;
  margin: 2rem auto 0;
  padding: 1.75rem 2rem;
  background: var(--ds-bg-card);
  backdrop-filter: var(--ds-glass-blur);
  -webkit-backdrop-filter: var(--ds-glass-blur);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  box-shadow: var(--ds-shadow-md);
}

.ds-stat-item {
  text-align: center;
  border-right: 1px solid var(--ds-border);
}

.ds-stat-item:last-child {
  border-right: none;
}

.ds-stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--ds-text-heading);
  line-height: 1;
  margin-bottom: 0.35rem;
  background: var(--ds-gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ds-stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ds-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Tech Stack Bar / Carousel
   ========================================================================== */
.ds-tech-strip {
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--ds-border);
  border-bottom: 1px solid var(--ds-border);
  background: rgba(11, 15, 25, 0.4);
}

.ds-tech-title {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ds-text-muted);
  margin-bottom: 1.5rem;
}

.ds-tech-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.ds-tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-full);
  color: var(--ds-text-heading);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.25s ease;
}

.ds-tech-pill:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
  color: var(--ds-accent-cyan);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.ds-section {
  padding: 6rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.ds-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem;
}

.ds-section-tag {
  color: var(--ds-primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.ds-section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.ds-section-desc {
  font-size: 1.05rem;
  color: var(--ds-text-body);
  line-height: 1.6;
}

.ds-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.ds-service-card {
  position: relative;
  background: var(--ds-bg-card);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 2.25rem 2rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.ds-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ds-gradient-brand);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ds-service-card:hover {
  transform: translateY(-6px);
  background: var(--ds-bg-card-hover);
  border-color: var(--ds-border-hover);
  box-shadow: var(--ds-shadow-glow);
}

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

.ds-service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--ds-radius-md);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--ds-primary);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.ds-service-card:hover .ds-service-icon {
  background: var(--ds-primary);
  color: #ffffff;
  transform: scale(1.08);
}

.ds-service-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

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

.ds-service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ds-accent-cyan);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: auto;
}

.ds-service-link i {
  transition: transform 0.2s ease;
}

.ds-service-link:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   Case Studies / Portfolio Cards
   ========================================================================== */
.ds-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
}

.ds-case-card {
  background: var(--ds-bg-card);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.ds-case-card:hover {
  transform: translateY(-6px);
  border-color: var(--ds-border-hover);
  box-shadow: var(--ds-shadow-glow);
}

.ds-case-preview {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #0f172a;
}

.ds-case-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ds-case-card:hover .ds-case-preview img {
  transform: scale(1.06);
}

.ds-case-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(6, 9, 17, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--ds-border);
  color: var(--ds-accent-cyan);
  padding: 0.3rem 0.75rem;
  border-radius: var(--ds-radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

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

.ds-case-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--ds-text-muted);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ds-case-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.ds-case-desc {
  font-size: 0.9rem;
  color: var(--ds-text-body);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.ds-case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.ds-case-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ds-border);
  padding: 0.2rem 0.6rem;
  border-radius: var(--ds-radius-sm);
  font-size: 0.75rem;
  color: var(--ds-text-muted);
}

/* ==========================================================================
   Engagement Models
   ========================================================================== */
.ds-models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.ds-model-card {
  background: var(--ds-bg-card);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 2.25rem;
  position: relative;
  transition: all 0.3s ease;
}

.ds-model-card.featured {
  border-color: var(--ds-primary);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, rgba(15, 23, 42, 0.65) 100%);
  box-shadow: 0 0 35px rgba(99, 102, 241, 0.2);
}

.ds-model-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--ds-gradient-brand);
  color: #fff;
  padding: 0.25rem 0.85rem;
  border-radius: var(--ds-radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ds-model-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.ds-model-desc {
  font-size: 0.95rem;
  color: var(--ds-text-body);
  margin-bottom: 1.5rem;
}

.ds-model-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.ds-model-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--ds-text-heading);
  margin-bottom: 0.75rem;
}

.ds-model-features li i {
  color: var(--ds-emerald);
  font-size: 1rem;
  margin-top: 2px;
}

/* ==========================================================================
   Client Testimonials
   ========================================================================== */
.ds-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.ds-testimonial-card {
  background: var(--ds-bg-card);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ds-stars {
  color: #fbbf24;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.ds-quote-text {
  font-size: 1rem;
  color: var(--ds-text-heading);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.ds-client-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ds-client-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ds-accent-cyan);
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid var(--ds-border-light);
}

.ds-client-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ds-text-heading);
  margin-bottom: 0.15rem;
}

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

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.ds-faq-container {
  max-width: 820px;
  margin: 0 auto;
}

.ds-faq-item {
  background: var(--ds-bg-card);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.25s ease;
}

.ds-faq-item:hover {
  border-color: var(--ds-border-light);
}

.ds-faq-question {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ds-text-heading);
  user-select: none;
}

.ds-faq-question i {
  color: var(--ds-primary);
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.ds-faq-item.open .ds-faq-question i {
  transform: rotate(180deg);
}

.ds-faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--ds-text-body);
  font-size: 0.95rem;
  line-height: 1.6;
  display: none;
}

.ds-faq-item.open .ds-faq-answer {
  display: block;
}

/* ==========================================================================
   Contact & Consultation Form
   ========================================================================== */
.ds-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}

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

.ds-contact-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(6, 9, 17, 0.95) 100%);
  border: 1px solid var(--ds-border-light);
  border-radius: var(--ds-radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.ds-form-group {
  margin-bottom: 1.25rem;
}

.ds-form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ds-text-heading);
  margin-bottom: 0.4rem;
}

.ds-input, .ds-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-sm);
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.ds-input:focus, .ds-textarea:focus {
  outline: none;
  border-color: var(--ds-primary);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

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

/* Invisible Honeypot */
.ds-hidden-hp {
  display: none !important;
  visibility: hidden !important;
  position: absolute;
  left: -9999px;
}

/* ==========================================================================
   Modern Footer
   ========================================================================== */
.ds-footer {
  border-top: 1px solid var(--ds-border);
  background: var(--ds-bg-secondary);
  padding: 5rem 1.5rem 2rem;
  margin-top: 4rem;
}

.ds-footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

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

.ds-footer-brand p {
  color: var(--ds-text-body);
  font-size: 0.95rem;
  max-width: 320px;
  margin: 1.25rem 0 1.5rem;
  line-height: 1.6;
}

.ds-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ds-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ds-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ds-text-body);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

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

.ds-footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ds-text-heading);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

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

.ds-footer-nav li {
  margin-bottom: 0.65rem;
}

.ds-footer-nav a {
  color: var(--ds-text-body);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.ds-footer-nav a:hover {
  color: var(--ds-text-heading);
  padding-left: 3px;
}

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

.ds-legal-links {
  display: flex;
  gap: 1.5rem;
}

.ds-legal-links a {
  color: var(--ds-text-muted);
}

.ds-legal-links a:hover {
  color: var(--ds-text-heading);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .ds-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .ds-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .ds-stat-item:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .ds-nav-menu,
  .ds-header-actions .ds-btn-primary {
    display: none;
  }
  
  .ds-mobile-toggle {
    display: block;
  }

  .ds-stats-strip {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  
  .ds-stat-item {
    border-right: none;
    border-bottom: 1px solid var(--ds-border);
    padding-bottom: 1.25rem;
  }
  
  .ds-stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .ds-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ds-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .ds-hero-actions .ds-btn {
    width: 100%;
  }
  
  .ds-contact-card {
    padding: 2rem 1.25rem;
  }
}

/* Mobile Offcanvas Drawer */
.ds-mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100%;
  background: var(--ds-bg-secondary);
  border-left: 1px solid var(--ds-border-light);
  z-index: 2000;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
}

.ds-mobile-drawer.active {
  right: 0;
}

.ds-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.ds-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.ds-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ds-border);
}

.ds-drawer-close {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--ds-text-heading);
  cursor: pointer;
}

.ds-mobile-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.ds-mobile-nav li {
  margin-bottom: 1rem;
}

.ds-mobile-nav a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ds-text-heading);
  display: block;
}

.ds-mobile-nav a:hover {
  color: var(--ds-accent-cyan);
}

/* ==========================================================================
   Inner Page Layout & Components (Award-Winning Enterprise Standard)
   ========================================================================== */

/* Page Banner / Hero Header */
.ds-page-banner {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 8rem 1.5rem 5rem;
  min-height: 420px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--ds-border);
}

.ds-page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 9, 17, 0.84) 0%, rgba(6, 9, 17, 0.94) 75%, #060911 100%);
  z-index: 1;
}

.ds-page-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.25) 0%, rgba(6, 9, 17, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.ds-banner-container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}

.ds-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--ds-text-muted);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.ds-breadcrumb a {
  color: var(--ds-text-muted);
  transition: color 0.2s ease;
  text-decoration: none;
}

.ds-breadcrumb a:hover {
  color: var(--ds-accent-cyan);
}

.ds-breadcrumb .separator {
  font-size: 0.75rem;
  color: var(--ds-primary);
  opacity: 0.6;
}

.ds-breadcrumb .current {
  color: var(--ds-text-heading);
  font-weight: 600;
}

.ds-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--ds-radius-full);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--ds-accent-cyan);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.ds-banner-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  color: #ffffff;
  max-width: 950px;
}

.ds-banner-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--ds-text-body);
  max-width: 840px;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.ds-banner-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Two-Column Responsive Inner Layout */
.ds-inner-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(300px, 1fr);
  gap: 3.5rem;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

@media (max-width: 1024px) {
  .ds-inner-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3.5rem 1.5rem;
  }
}

/* Sticky Enterprise Sidebar */
.ds-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1025px) {
  .ds-sidebar {
    position: sticky;
    top: 100px;
  }
}

.ds-widget {
  background: var(--ds-bg-card);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 1.75rem;
  backdrop-filter: var(--ds-glass-blur);
  -webkit-backdrop-filter: var(--ds-glass-blur);
  box-shadow: var(--ds-shadow-md);
}

.ds-widget-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--ds-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: -0.01em;
}

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

.ds-sidebar-item {
  margin-bottom: 0.5rem;
}

.ds-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: var(--ds-radius-sm);
  color: var(--ds-text-body);
  font-size: 0.92rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}

.ds-sidebar-link i {
  font-size: 0.8rem;
  color: var(--ds-text-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.ds-sidebar-link:hover,
.ds-sidebar-link.active {
  background: rgba(99, 102, 241, 0.12);
  color: #ffffff;
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateX(4px);
}

.ds-sidebar-link:hover i,
.ds-sidebar-link.active i {
  color: var(--ds-accent-cyan);
  transform: translateX(3px);
}

.ds-sidebar-link.active {
  border-left: 3px solid var(--ds-primary);
  font-weight: 600;
}

/* Sidebar Contact Card */
.ds-sidebar-cta {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(99, 102, 241, 0.15) 100%);
  border-color: rgba(99, 102, 241, 0.3);
}

.ds-sidebar-cta h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.ds-sidebar-cta p {
  font-size: 0.88rem;
  color: var(--ds-text-body);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

/* Main Content Typography & Modules */
.ds-main-content {
  color: var(--ds-text-body);
}

.ds-content-lead {
  font-size: 1.18rem;
  line-height: 1.75;
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 2rem;
  border-left: 3px solid var(--ds-primary);
  padding-left: 1.25rem;
}

.ds-prose p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ds-text-body);
  margin-bottom: 1.5rem;
}

.ds-prose strong {
  color: #ffffff;
  font-weight: 600;
}

.ds-section-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  margin: 3.5rem 0 1.25rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ds-section-heading::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: var(--ds-border);
  margin-left: 1rem;
}

/* Capabilities & Feature Grid */
.ds-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.ds-feature-box {
  background: var(--ds-bg-card);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  padding: 1.75rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.ds-feature-box:hover {
  border-color: var(--ds-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--ds-shadow-glow);
}

.ds-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--ds-radius-sm);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--ds-primary);
  margin-bottom: 1.25rem;
  transition: all 0.2s ease;
}

.ds-feature-box:hover .ds-feature-icon {
  background: var(--ds-primary);
  color: #ffffff;
}

.ds-feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.ds-feature-desc {
  font-size: 0.92rem;
  color: var(--ds-text-body);
  line-height: 1.6;
  margin: 0;
}

/* Tech Stack Badges Matrix */
.ds-tech-matrix-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 2.5rem;
}

.ds-tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-full);
  font-size: 0.85rem;
  color: var(--ds-text-heading);
  font-weight: 500;
  transition: all 0.2s ease;
}

.ds-tech-tag:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.4);
  color: var(--ds-accent-cyan);
  transform: translateY(-2px);
}

/* Process Timeline */
.ds-process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.ds-step-card {
  position: relative;
  background: var(--ds-bg-card);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  padding: 1.75rem;
  transition: all 0.25s ease;
}

.ds-step-card:hover {
  border-color: var(--ds-border-light);
  transform: translateY(-3px);
}

.ds-step-number {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ds-accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ds-step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.ds-step-desc {
  font-size: 0.9rem;
  color: var(--ds-text-body);
  line-height: 1.55;
  margin: 0;
}

/* Case Study Highlight Card */
.ds-case-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(99, 102, 241, 0.1) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--ds-radius-lg);
  padding: 2.25rem;
  margin: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.ds-case-banner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(6, 182, 212, 0) 70%);
  pointer-events: none;
}

.ds-case-banner-badge {
  color: var(--ds-accent-cyan);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  display: block;
}

.ds-case-banner-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.ds-case-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ds-border);
}

@media (max-width: 768px) {
  .ds-case-metrics-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.ds-case-metric-number {
  font-size: 1.85rem;
  font-weight: 800;
  background: var(--ds-gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.ds-case-metric-label {
  font-size: 0.82rem;
  color: var(--ds-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Related Services Internal Links Bar */
.ds-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.ds-related-card {
  background: var(--ds-bg-card);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ds-related-card:hover {
  border-color: var(--ds-primary);
  background: rgba(99, 102, 241, 0.08);
  transform: translateY(-2px);
}

.ds-related-card i {
  font-size: 1.35rem;
  color: var(--ds-primary);
}

.ds-related-card-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

/* ==========================================================================
   Engineering Team Showcase
   ========================================================================== */
.ds-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.ds-team-card {
  background: var(--ds-bg-card);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.ds-team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.15);
}

.ds-team-avatar-wrap {
  position: relative;
  width: 100%;
  height: 340px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.ds-team-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.ds-team-card:hover .ds-team-avatar-wrap img {
  transform: scale(1.04);
}

.ds-team-role-badge {
  position: absolute;
  bottom: 12px;
  left: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.75rem;
  border-radius: var(--ds-radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ds-accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ds-team-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ds-team-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.ds-team-title {
  font-size: 0.88rem;
  color: var(--ds-primary);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.ds-team-bio {
  font-size: 0.88rem;
  color: var(--ds-text-body);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.ds-team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--ds-border);
}

.ds-team-skill-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ds-border);
  padding: 0.2rem 0.6rem;
  border-radius: var(--ds-radius-sm);
  font-size: 0.75rem;
  color: var(--ds-text-muted);
}

/* ==========================================================================
   Technical Insights & Blog Grid
   ========================================================================== */
.ds-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

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

.ds-blog-card {
  background: var(--ds-bg-card);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.ds-blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.ds-blog-thumb {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: #0f172a;
}

.ds-blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ds-blog-card:hover .ds-blog-thumb img {
  transform: scale(1.05);
}

.ds-blog-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ds-accent-cyan);
  padding: 0.25rem 0.7rem;
  border-radius: var(--ds-radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ds-blog-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ds-blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--ds-text-muted);
  margin-bottom: 0.75rem;
}

.ds-blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ds-blog-title {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.ds-blog-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.ds-blog-excerpt {
  font-size: 0.88rem;
  color: var(--ds-text-body);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.ds-blog-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--ds-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ds-blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ds-accent-cyan);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.ds-blog-read-more:hover {
  gap: 0.75rem;
  color: #fff;
}

/* ==========================================================================
   Legal & Policy Document Pages
   ========================================================================== */
.ds-legal-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--ds-bg-card);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 3rem 2.5rem;
}

@media (max-width: 768px) {
  .ds-legal-container {
    padding: 1.75rem 1.25rem;
  }
}

.ds-legal-section {
  margin-bottom: 2.5rem;
}

.ds-legal-section:last-child {
  margin-bottom: 0;
}

.ds-legal-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ds-legal-section h2 i {
  color: var(--ds-primary);
  font-size: 1.1rem;
}

.ds-legal-section p, .ds-legal-section li {
  font-size: 0.95rem;
  color: var(--ds-text-body);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.ds-legal-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Legacy Inner Page & Blog Post Dark-Theme Compatibility Layer
   ========================================================================== */
.page-title {
  position: relative;
  width: 100%;
  min-height: 280px;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  display: flex !important;
  align-items: center;
  padding: 4.5rem 1.5rem;
  background-color: #0f172a;
}

.page-title::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.96) 100%);
  pointer-events: none;
}

.page-title .auto-container,
.page-title .container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}

.page-title-heading,
.page-title h1,
.page-title .title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #ffffff !important;
  margin: 0;
  line-height: 1.25;
}

.blog-details {
  padding: 4rem 0;
  background: transparent;
}

.blog-details__left {
  max-width: 900px;
  margin: 0 auto;
}

.blog-details__img {
  position: relative;
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  border: 1px solid var(--ds-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.blog-details__img img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-details__date {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.4rem 0.85rem;
  border-radius: var(--ds-radius-md);
  font-size: 0.82rem;
  color: var(--ds-accent-cyan);
  font-weight: 600;
}

.blog-details__content {
  background: var(--ds-bg-card);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 3rem 2.5rem;
}

@media (max-width: 768px) {
  .blog-details__content {
    padding: 1.75rem 1.25rem;
  }
}

.blog-details__title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.blog-details__meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--ds-text-muted);
  margin-bottom: 1.5rem;
  padding: 0;
  list-style: none;
}

.blog-details__content hr {
  border-color: var(--ds-border);
  margin: 1.75rem 0;
  opacity: 0.6;
}

.blog-details__content p,
.blog-details__text-2 {
  font-size: 1.05rem;
  color: var(--ds-text-body);
  line-height: 1.8;
  margin-bottom: 1.35rem;
}

.blog-details__content h3,
.blog-details__content h4,
.blog-details__subtitle {
  color: #ffffff !important;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.blog-details__content ul,
.blog-details__content ol {
  color: var(--ds-text-body);
  font-size: 1.02rem;
  line-height: 1.75;
  padding-left: 1.75rem;
  margin-bottom: 1.5rem;
}

.blog-details__content li {
  margin-bottom: 0.5rem;
}

.services-details {
  padding: 4rem 0;
  background-color: transparent;
}

.services-details .services-details__content {
  background: var(--ds-bg-card);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 2.5rem;
}

.services-details h2,
.services-details h3,
.services-details h4 {
  color: #ffffff;
}

.services-details p {
  color: var(--ds-text-body);
  line-height: 1.7;
}

/* ==========================================================================
   Business Problems We Solve Component
   ========================================================================== */
.ds-problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.75rem 0 3rem 0;
}

.ds-problem-card {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.45) 0%, rgba(15, 23, 42, 0.6) 100%);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 1.75rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.ds-problem-card:hover {
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

.ds-problem-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.ds-problem-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--ds-radius-md);
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ds-problem-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.35;
}

.ds-problem-desc {
  font-size: 0.88rem;
  color: var(--ds-text-body);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.ds-solution-pill {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--ds-radius-md);
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  color: #34d399;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.45;
}

.ds-solution-pill i {
  margin-top: 2px;
  flex-shrink: 0;
}

/* ==========================================================================
   Features and Quantifiable Benefits Component
   ========================================================================== */
.ds-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 1.75rem 0 3rem 0;
}

.ds-benefit-card {
  background: var(--ds-bg-card);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 1.75rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ds-benefit-card:hover {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  transform: translateY(-3px);
}

.ds-benefit-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ds-accent-cyan);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 0.2rem 0.6rem;
  border-radius: var(--ds-radius-full);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ds-benefit-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.ds-benefit-desc {
  font-size: 0.88rem;
  color: var(--ds-text-body);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.ds-benefit-impact {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ds-emerald);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   Quotation & Direct Consultation Call to Action Banner
   ========================================================================== */
.ds-quote-cta {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--ds-radius-lg);
  padding: 2.75rem 2.25rem;
  margin: 3.5rem 0 2rem 0;
  position: relative;
  overflow: hidden;
}

.ds-quote-cta::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(99, 102, 241, 0) 70%);
  pointer-events: none;
}

.ds-quote-cta-header {
  max-width: 650px;
  margin-bottom: 1.75rem;
}

.ds-quote-cta-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

.ds-quote-cta-desc {
  font-size: 0.95rem;
  color: var(--ds-text-body);
  line-height: 1.6;
  margin: 0;
}

.ds-quote-cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.ds-quote-guarantee {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: var(--ds-text-muted);
}

.ds-quote-guarantee span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

@media (max-width: 640px) {
  .ds-quote-cta {
    padding: 2rem 1.25rem;
  }
  .ds-quote-cta-title {
    font-size: 1.5rem;
  }
  .ds-quote-guarantee {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}



