/* ===================================================================
   DPS MEDIA - DESIGN SYSTEM & STYLESHEET
   Clean White Apple-Inspired Minimalist Aesthetic
   Typography: Alexandria (Google Fonts)
   Palette: Pure White & Light Grays (#ffffff, #f5f5f7) with Brand #151577 & #2fb45f
   =================================================================== */

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

:root {
  /* DPS Media Brand Primary Colors: #151577 & #2fb45f */
  --primary-blue: #151577;
  --primary-blue-light: #2424a6;
  --primary-blue-dark: #0d0d52;
  --primary-green: #2fb45f;
  --primary-green-light: #44cf76;
  --primary-green-dark: #208d44;

  /* Apple Clean Light Palette */
  --bg-dark: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.82);
  --bg-surface: #fbfbfd;
  --bg-surface-2: #f5f5f7;

  /* Accent & Gradients */
  --accent-cyan: #2fb45f;
  --accent-blue: #151577;
  --accent-purple: #151577;
  --accent-violet: #2424a6;
  --accent-pink: #2fb45f;
  --accent-emerald: #2fb45f;
  --accent-amber: #e67e22;
  --accent-orange: #e67e22;

  --grad-cyan-blue: linear-gradient(135deg, #151577 0%, #2fb45f 100%);
  --grad-purple-pink: linear-gradient(135deg, #151577 0%, #2424a6 100%);
  --grad-emerald: linear-gradient(135deg, #2fb45f 0%, #208d44 100%);
  --grad-amber: linear-gradient(135deg, #2fb45f 0%, #151577 100%);
  --grad-hero: linear-gradient(135deg, #151577 0%, #2fb45f 80%);
  --grad-border: linear-gradient(135deg, rgba(21, 21, 119, 0.12), rgba(47, 180, 95, 0.15));

  /* Apple Refined Typography Colors */
  --text-main: #1d1d1f;
  --text-muted: #6e6e73;
  --text-dim: #86868b;
  --border-color: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.16);
  --border-glow: rgba(47, 180, 95, 0.25);

  /* Apple Ultra-Soft Multi-Layer Shadows */
  --glow-cyan: 0 4px 20px rgba(47, 180, 95, 0.2);
  --glow-purple: 0 4px 20px rgba(21, 21, 119, 0.15);
  --glow-emerald: 0 4px 20px rgba(47, 180, 95, 0.2);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  --shadow-card-hover: 0 16px 38px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.08);

  /* Typography: Alexandria */
  --font-heading: 'Alexandria', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Alexandria', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Ambient Lighting Effect - Apple Subtle */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.8;
}

.ambient-blob-1 {
  position: absolute;
  top: -10%;
  left: 10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(47, 180, 95, 0.05) 0%, rgba(47, 180, 95, 0) 70%);
  filter: blur(80px);
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.ambient-blob-2 {
  position: absolute;
  top: 40%;
  right: -5%;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(21, 21, 119, 0.04) 0%, rgba(21, 21, 119, 0) 70%);
  filter: blur(95px);
  animation: floatOrb 22s ease-in-out infinite alternate-reverse;
}

.ambient-blob-3 {
  position: absolute;
  bottom: 5%;
  left: 20%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(47, 180, 95, 0.03) 0%, rgba(47, 180, 95, 0) 70%);
  filter: blur(85px);
  animation: floatOrb 25s ease-in-out infinite alternate;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

/* Grid Overlay - Hidden in Apple Clean Aesthetic */
.grid-pattern {
  display: none;
}

/* Content Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-cyan {
  background: var(--grad-cyan-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-purple {
  background: var(--grad-purple-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Buttons & CTAs - Apple Minimalist Rounded Pill Style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: 980px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
}

.btn-primary {
  background: var(--primary-blue);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(21, 21, 119, 0.25);
}

.btn-primary:hover {
  background: var(--primary-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21, 21, 119, 0.35);
}

.btn-glow-purple {
  background: var(--primary-green);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(47, 180, 95, 0.28);
}

.btn-glow-purple:hover {
  background: var(--primary-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(47, 180, 95, 0.38);
}

.btn-outline {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.84rem;
}

.btn-icon-only {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
}

/* Badges & Pills - Apple Pill System */
.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  border-radius: 980px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(21, 21, 119, 0.06);
  border: 1px solid rgba(21, 21, 119, 0.12);
  color: var(--primary-blue);
}

.pill-tag.badge-purple {
  color: var(--primary-blue);
  border-color: rgba(21, 21, 119, 0.16);
  background: rgba(21, 21, 119, 0.07);
}

.pill-tag.badge-emerald {
  color: #1a8341;
  border-color: rgba(47, 180, 95, 0.25);
  background: rgba(47, 180, 95, 0.1);
}

.pill-tag.badge-amber {
  color: #c0392b;
  border-color: rgba(230, 126, 34, 0.25);
  background: rgba(230, 126, 34, 0.1);
}

/* ===================================================================
   HEADER & NAVIGATION - Apple Glass Navbar
   =================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0.85rem 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  padding: 0.65rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

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

.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  transition: all var(--transition-fast);
}

.logo-symbol {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  box-shadow: 0 2px 10px rgba(21, 21, 119, 0.25);
  position: relative;
}

.logo-symbol::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
  z-index: -1;
  opacity: 0.3;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  transition: opacity var(--transition-fast), color var(--transition-fast);
  position: relative;
  padding: 0.3rem 0;
  opacity: 0.75;
}

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

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero-section {
  position: relative;
  padding: 9rem 0 5rem 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  background: rgba(21, 21, 119, 0.05);
  border: 1px solid rgba(21, 21, 119, 0.12);
  border-radius: 980px;
  color: var(--primary-blue);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-green);
  box-shadow: 0 0 10px rgba(47, 180, 95, 0.6);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.8rem;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.35rem;
}

/* Hero Visual / Mockup Preview Card - Apple Clean */
.hero-visual {
  position: relative;
}

.hero-card-main {
  position: relative;
  border-radius: 24px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-normal);
}

.hero-card-main:hover {
  transform: translateY(-4px);
}

.hero-image-wrap {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: #f5f5f7;
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-card-main:hover .hero-image-wrap img {
  transform: scale(1.02);
}

/* Floating Glass Badges on Hero */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.85rem 1.2rem;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 3;
  animation: floatBadge 6s ease-in-out infinite alternate;
}

.floating-badge.badge-top-left {
  top: -15px;
  left: -15px;
}

.floating-badge.badge-bottom-right {
  bottom: -15px;
  right: -15px;
  animation-delay: -3s;
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.badge-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.badge-icon-cyan {
  background: rgba(47, 180, 95, 0.12);
  color: var(--primary-green);
}

.badge-icon-emerald {
  background: rgba(21, 21, 119, 0.08);
  color: var(--primary-blue);
}

.badge-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.badge-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ===================================================================
   CLIENTS / PARTNERS MARQUEE TICKER - Apple Subtle Style
   =================================================================== */
.marquee-section {
  padding: 2.2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #fbfbfd;
  position: relative;
  overflow: hidden;
}

.marquee-heading {
  text-align: center;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 1.4rem;
  font-weight: 600;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 2rem;
  animation: marqueeScroll 35s linear infinite;
}

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

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

.client-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.3rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 980px;
  color: var(--text-main);
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-fast);
}

.client-chip:hover {
  background: #ffffff;
  border-color: var(--primary-green);
  color: var(--primary-blue);
  box-shadow: 0 4px 14px rgba(47, 180, 95, 0.15);
  transform: translateY(-2px);
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-green);
}

/* ===================================================================
   SECTION HEADERS
   =================================================================== */
.section-wrapper {
  padding: 6.5rem 0;
  position: relative;
}

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

.section-pill {
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===================================================================
   5 PILLARS / SERVICE OVERVIEW CARDS (APPLE CLEAN CARDS)
   =================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.4rem;
  margin-bottom: 4rem;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  padding: 2rem 1.5rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, linear-gradient(90deg, #151577, #2fb45f));
  opacity: 0.9;
  transition: height 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 180, 95, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(47, 180, 95, 0.1);
}

.pillar-card:hover::before {
  height: 4px;
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  margin-bottom: 1.4rem;
  background: rgba(47, 180, 95, 0.08);
  border: 1px solid rgba(47, 180, 95, 0.15);
  transition: all var(--transition-fast);
}

.pillar-card:hover .pillar-icon-box {
  background: rgba(47, 180, 95, 0.14);
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(47, 180, 95, 0.2);
}

.pillar-name {
  font-size: 1.12rem;
  margin-bottom: 0.65rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.pillar-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.3rem;
  flex-grow: 1;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary-green);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: gap 0.2s ease;
}

.pillar-link:hover {
  gap: 0.65rem;
  color: var(--primary-blue);
}

/* ===================================================================
   PORTFOLIO SHOWCASE SECTION & INTERACTIVE FILTERS (APPLE SEGMENTED CONTROLS)
   =================================================================== */
#showcase,
.section-wrapper.bg-alt {
  background: #fbfbfd;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.showcase-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  margin-bottom: 3.2rem;
}

.filter-nav-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.35rem;
  background: #ebebed;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 9999px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
}

.filter-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.55rem 1.35rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-btn:hover {
  color: var(--text-main);
}

.filter-btn.active {
  background: #ffffff;
  color: var(--primary-blue);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.filter-count {
  font-size: 0.72rem;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-muted);
  font-weight: 700;
}

.filter-btn.active .filter-count {
  background: rgba(21, 21, 119, 0.1);
  color: var(--primary-blue);
}

/* Search & Utility Bar */
.search-utility-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 580px;
  position: relative;
}

.search-input-wrap {
  width: 100%;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.8rem 1.2rem 0.8rem 2.9rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 9999px;
  color: var(--text-main);
  font-size: 0.92rem;
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-fast);
}

.search-input::placeholder {
  color: var(--text-dim);
}

.search-input:focus {
  border-color: var(--primary-green);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(47, 180, 95, 0.18), 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Projects Showcase Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  transition: opacity 0.3s ease;
}

.project-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 180, 95, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(47, 180, 95, 0.12);
}

/* Card Mockup Visual Banner */
.card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfbfd 0%, #f0f2f7 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mockup-preview-screen {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(180deg, #fbfbfd 0%, #f0f2f7 100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .mockup-preview-screen {
  transform: scale(1.04);
}

.card-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(12px);
  color: var(--primary-blue);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.card-year-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text-muted);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 2;
}

/* Card Content Body */
.card-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-client {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-green);
  margin-bottom: 0.4rem;
}

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

.card-summary {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Key Results Grid inside Card */
.card-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 0.9rem;
  border-radius: 14px;
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.04);
  margin-bottom: 1.4rem;
}

.mini-result-item {
  display: flex;
  flex-direction: column;
}

.mini-result-value {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1.2;
}

.mini-result-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Tech Tags */
.card-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
}

.tech-tag {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: #f0f0f2;
  color: var(--text-muted);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Card Action Footer */
.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.btn-case-study {
  color: var(--primary-blue);
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-case-study:hover {
  color: var(--primary-green);
  gap: 0.65rem;
}

.btn-live-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-main);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-live-link:hover {
  background: var(--primary-green);
  color: #ffffff;
  border-color: var(--primary-green);
  transform: rotate(45deg);
}

/* ===================================================================
   CASE STUDY MODAL (APPLE FROSTED LIGHTBOX)
   =================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.modal-container {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 28px;
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18), 0 2px 10px rgba(0, 0, 0, 0.05);
  transform: scale(0.96) translateY(20px);
  transition: transform var(--transition-bounce);
}

.modal-backdrop.open .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #e5e5ea;
  color: #ff3b30;
  transform: rotate(90deg);
}

.modal-header-banner {
  padding: 3rem 2.5rem 2rem 2.5rem;
  background: linear-gradient(180deg, rgba(21, 21, 119, 0.04) 0%, transparent 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.modal-content-body {
  padding: 2.5rem;
  color: var(--text-main);
}

/* ===================================================================
   PDF PORTFOLIO VIEWER & DOWNLOAD SECTION (APPLE HERO STYLE)
   =================================================================== */
.pdf-showcase-section {
  background: #fbfbfd;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
}

.pdf-preview-box {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 28px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.pdf-preview-box::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(47, 180, 95, 0.08), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.pdf-cover-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f5f5f7;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem;
}

.pdf-cover-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pdf-icon-huge {
  font-size: 3.6rem;
  color: #ff3b30;
  margin-bottom: 1rem;
}

.pdf-details-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.pdf-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.6rem 0 2.2rem 0;
}

.pdf-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.96rem;
  color: var(--text-muted);
}

.pdf-feature-list li svg {
  color: var(--primary-green);
  flex-shrink: 0;
}

/* ===================================================================
   INTERACTIVE COST ESTIMATOR / QUOTE CALCULATOR (APPLE WHITE CARD)
   =================================================================== */
.estimator-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 30px;
  padding: 3.5rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  position: relative;
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 3.5rem;
}

.options-group-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.estimator-options-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.estimator-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem;
  border-radius: 16px;
  background: #fbfbfd;
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.estimator-checkbox-label:hover {
  background: #ffffff;
  border-color: rgba(47, 180, 95, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.estimator-checkbox-label.selected {
  background: rgba(47, 180, 95, 0.05);
  border-color: var(--primary-green);
  box-shadow: 0 2px 12px rgba(47, 180, 95, 0.12);
}

.estimator-checkbox-label input {
  display: none;
}

.custom-check-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #c7c7cc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  flex-shrink: 0;
  background: #ffffff;
  transition: all var(--transition-fast);
}

.estimator-checkbox-label.selected .custom-check-box {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: #ffffff;
}

.calc-summary-panel {
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-price-display {
  padding: 1.5rem 0;
  border-top: 1px dashed rgba(0, 0, 0, 0.12);
  border-bottom: 1px dashed rgba(0, 0, 0, 0.12);
  margin: 1.5rem 0;
  text-align: center;
}

.calc-price-value {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary-blue);
}

/* ===================================================================
   LEADERSHIP & ABOUT US SECTION (APPLE MINIMALIST)
   =================================================================== */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.leader-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 2.5rem 1.8rem;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.leader-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 180, 95, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.07);
}

.leader-avatar-circle {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  margin: 0 auto 1.4rem auto;
  background: linear-gradient(135deg, #151577, #2fb45f);
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(21, 21, 119, 0.15);
}

.leader-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--primary-blue);
}

.leader-name {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.leader-role {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
}

.leader-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===================================================================
   CONTACT & CONSULTATION SECTION (CLEAN APPLE FORM)
   =================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 32px;
  padding: 3.8rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(47, 180, 95, 0.08);
  border: 1px solid rgba(47, 180, 95, 0.15);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.contact-item:hover .contact-icon-box {
  background: rgba(47, 180, 95, 0.15);
  transform: scale(1.05);
}

.contact-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.contact-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Form Controls */
.form-group {
  margin-bottom: 1.3rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: #fbfbfd;
  border: 1px solid #d2d2d7;
  border-radius: 14px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-control::placeholder {
  color: var(--text-dim);
}

.form-control:focus {
  border-color: var(--primary-green);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(47, 180, 95, 0.18);
}

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

/* ===================================================================
   FLOATING SPEED DIAL / QUICK CONTACT
   =================================================================== */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 99;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-normal);
  position: relative;
}

.float-btn:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.float-btn-zalo {
  background: #0068ff;
  font-weight: 800;
  font-size: 0.88rem;
}

.float-btn-call {
  background: var(--primary-green);
}

.float-btn-top {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.float-btn-top:hover {
  color: var(--primary-green);
  border-color: var(--primary-green);
}

/* Toast Notifications */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 1rem 1.8rem;
  border-radius: 9999px;
  color: var(--text-main);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 9999;
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ===================================================================
   FOOTER (APPLE MINIMALIST LIGHT GRAY)
   =================================================================== */
.site-footer {
  background: #f5f5f7;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 5rem 0 2.5rem 0;
  position: relative;
}

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

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

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

.footer-links-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--primary-blue);
}

.footer-bottom-bar {
  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-dim);
  font-size: 0.85rem;
}

/* ===================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   =================================================================== */
@media (max-width: 1200px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }
  .pdf-preview-box {
    grid-template-columns: 1fr;
  }
  .estimator-grid {
    grid-template-columns: 1fr;
  }
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    padding: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 640px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .estimator-options-list {
    grid-template-columns: 1fr;
  }
  .leadership-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
