/* ==========================================================================
   GULSHAN BIBI - DIGITAL MARKETING PORTFOLIO DESIGN SYSTEM
   Theme: Professional Portfolio Narrative (Deep Teal & Warm Amber)
   Fonts: Hanken Grotesk (Headlines) & Inter (Body)
   ========================================================================== */

:root {
  /* Surface Hierarchy */
  --color-surface: #fcf9f8;
  --color-surface-dim: #dcd9d9;
  --color-surface-low: #f6f3f2;
  --color-surface-container: #f0eded;
  --color-surface-high: #eae7e7;
  --color-surface-highest: #e5e2e1;
  --color-surface-card: #ffffff;
  
  /* Brand Primary (Deep Teal) */
  --color-primary: #004349;
  --color-primary-rgb: 0, 67, 73;
  --color-primary-container: #0d5c63;
  --color-primary-light: #20686f;
  --color-primary-fixed: #abeef6;
  --color-primary-fixed-dim: #8fd1d9;
  --color-on-primary: #ffffff;
  --color-on-primary-container: #90d2da;

  /* Brand Secondary & Accent (Warm Amber / Sand) */
  --color-secondary: #8e4e14;
  --color-secondary-rgb: 142, 78, 20;
  --color-secondary-container: #ffab69;
  --color-accent: #f4a261;
  --color-accent-rgb: 244, 162, 97;
  --color-secondary-fixed: #ffdcc4;
  --color-secondary-fixed-dim: #ffb780;
  --color-on-secondary: #ffffff;
  --color-on-secondary-container: #783d01;

  /* Neutrals & Text */
  --color-text: #1b1b1b;
  --color-text-muted: #3f484a;
  --color-text-subtle: #6f797a;
  --color-inverse-surface: #1d2526;
  --color-inverse-on-surface: #f3f0ef;
  --color-outline: rgba(111, 121, 122, 0.28);
  --color-outline-variant: #bfc8c9;

  /* Functional */
  --color-success: #16a34a;
  --color-success-bg: #dcfce7;
  --color-border: #e2e8f0;

  /* Shadows & Depth */
  --shadow-sm: 0 2px 8px rgba(0, 67, 73, 0.04);
  --shadow-level-1: 0 4px 20px rgba(0, 67, 73, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
  --shadow-level-2: 0 12px 30px rgba(0, 67, 73, 0.12), 0 4px 8px rgba(0, 0, 0, 0.04);
  --shadow-level-3: 0 24px 50px rgba(0, 20, 24, 0.18), 0 8px 16px rgba(0, 0, 0, 0.06);
  --shadow-accent: 0 10px 25px -4px rgba(244, 162, 97, 0.45);
  --shadow-teal: 0 10px 25px -4px rgba(13, 92, 99, 0.4);

  /* Radii */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Layout Spacing */
  --container-max: 1200px;
  --header-height: 80px;
  --section-gap: 100px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Tokens */
body.dark {
  --color-surface: #0a1416;
  --color-surface-dim: #070e10;
  --color-surface-low: #0f1c1f;
  --color-surface-container: #142528;
  --color-surface-high: #1a2f33;
  --color-surface-highest: #233b40;
  --color-surface-card: #112023;

  --color-primary: #8fd1d9;
  --color-primary-container: #0d5c63;
  --color-primary-light: #abeef6;
  --color-on-primary: #002023;
  --color-on-primary-container: #abeef6;

  --color-secondary: #ffb780;
  --color-secondary-container: #ffab69;
  --color-accent: #ffab69;
  --color-on-secondary: #2f1400;

  --color-text: #f5f2f0;
  --color-text-muted: #bdc9c6;
  --color-text-subtle: #8a9697;
  --color-inverse-surface: #f3f0ef;
  --color-inverse-on-surface: #1b1b1b;
  --color-outline: rgba(143, 209, 217, 0.18);
  --color-outline-variant: #28444a;
  --color-border: #1a2e32;

  --shadow-level-1: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-level-2: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-level-3: 0 24px 60px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--color-surface);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  transition: background-color var(--transition-base), color var(--transition-base);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Hanken Grotesk', sans-serif;
  color: var(--color-primary);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
  transition: color var(--transition-fast);
}

body.dark h1, body.dark h2, body.dark h3, body.dark h4 {
  color: var(--color-primary);
}

.font-display {
  font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.font-headline-lg {
  font-size: clamp(2rem, 3.5vw + 0.5rem, 3rem);
  font-weight: 700;
  line-height: 1.15;
}

.font-headline-md {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
}

.font-headline-sm {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-secondary);
  background: rgba(var(--color-secondary-rgb), 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid rgba(var(--color-secondary-rgb), 0.2);
}

body.dark .eyebrow-badge {
  color: var(--color-secondary-container);
  background: rgba(255, 171, 105, 0.12);
  border-color: rgba(255, 171, 105, 0.25);
}

/* ==========================================================================
   LAYOUT CONTAINERS
   ========================================================================== */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
}

.section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
  position: relative;
}

.section-alt {
  background-color: var(--color-surface-low);
  border-top: 1px solid var(--color-outline);
  border-bottom: 1px solid var(--color-outline);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  margin-top: 14px;
}

/* ==========================================================================
   BUTTONS & CONTROLS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-on-primary);
  box-shadow: var(--shadow-sm);
}

body.dark .btn-primary {
  background-color: var(--color-primary);
  color: #002023;
  font-weight: 700;
}

.btn-primary:hover {
  background-color: var(--color-primary-container);
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}

.btn-secondary {
  background-color: var(--color-accent);
  color: #2f1400;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--color-secondary-container);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

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

body.dark .btn-outline {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

body.dark .btn-outline:hover {
  background-color: rgba(143, 209, 217, 0.12);
}

.btn-pill {
  border-radius: var(--radius-full);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(252, 249, 248, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  border-bottom: 1px solid var(--color-outline);
  transition: all var(--transition-base);
}

body.dark .navbar {
  background: rgba(10, 20, 22, 0.88);
}

.navbar.scrolled {
  box-shadow: var(--shadow-level-1);
  background: rgba(252, 249, 248, 0.96);
}

body.dark .navbar.scrolled {
  background: rgba(10, 20, 22, 0.96);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-primary);
}

.brand-dot {
  width: 9px;
  height: 9px;
  background-color: var(--color-accent);
  border-radius: var(--radius-full);
  display: inline-block;
  box-shadow: 0 0 10px var(--color-accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  position: relative;
  padding: 6px 0;
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: var(--color-surface-container);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  border: 1px solid var(--color-outline);
}

.theme-toggle:hover {
  transform: rotate(15deg);
  background-color: var(--color-surface-high);
}

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 24px;
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 360px;
  height: 100vh;
  background: var(--color-surface);
  box-shadow: var(--shadow-level-3);
  z-index: 1001;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: right var(--transition-smooth);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

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

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drawer-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 12px;
}

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

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--header-height) + 50px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-accent {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 55vw;
  max-width: 680px;
  height: 680px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(13, 92, 99, 0.12) 0%, rgba(244, 162, 97, 0.08) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-title {
  color: var(--color-primary);
  margin-top: 4px;
}

.hero-title .highlight {
  color: var(--color-secondary);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 540px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-outline);
}

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

.metric-number {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
}

.metric-label {
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
  font-weight: 500;
}

/* Hero Visual & Profile Frame */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-full);
  background: var(--color-surface-container);
  padding: 12px;
  box-shadow: var(--shadow-level-2);
  border: 1px solid var(--color-outline);
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-full);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: var(--color-surface-card);
  padding: 12px 18px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-level-2);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--color-outline);
  animation: floatSlow 5s ease-in-out infinite;
  z-index: 2;
}

.badge-growth {
  bottom: 12px;
  left: -20px;
}

.badge-certified {
  top: 24px;
  right: -10px;
  animation-delay: -2.5s;
}

.badge-icon-well {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.badge-icon-well.amber {
  background: rgba(var(--color-secondary-rgb), 0.15);
  color: var(--color-secondary);
}

.badge-icon-well.teal {
  background: rgba(var(--color-primary-rgb), 0.15);
  color: var(--color-primary);
}

.badge-text strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-primary);
  font-weight: 700;
}

.badge-text span {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--color-surface-card);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-level-1);
  border: 1px solid var(--color-outline);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

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

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-level-2);
  border-color: rgba(var(--color-primary-rgb), 0.35);
}

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

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(var(--color-primary-rgb), 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 22px;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon {
  background: var(--color-primary);
  color: var(--color-on-primary);
  transform: scale(1.05);
}

.service-title {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.service-description {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--color-outline);
  padding-top: 16px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
}

.service-features li .check-icon {
  color: var(--color-secondary);
  font-size: 16px;
}

/* ==========================================================================
   ABOUT & SKILLS SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-level-2);
  border: 1px solid var(--color-outline);
}

.about-image-wrapper img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-stat-card {
  position: absolute;
  bottom: -24px;
  right: -20px;
  background: var(--color-surface-card);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  box-shadow: var(--shadow-level-2);
  border: 1px solid var(--color-outline);
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-stat-number {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1;
}

.about-stat-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-bio {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.math-pillar-box {
  background: rgba(var(--color-primary-rgb), 0.05);
  border-left: 4px solid var(--color-primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 4px 0;
}

.math-pillar-box strong {
  display: block;
  color: var(--color-primary);
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.math-pillar-box p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Skills Matrix */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.skill-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--color-surface-container);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-outline);
  transition: all var(--transition-fast);
}

.skill-chip:hover {
  background: var(--color-surface-high);
  border-color: var(--color-primary);
  transform: translateX(4px);
}

.skill-chip .material-symbols-outlined {
  color: var(--color-secondary);
  font-size: 20px;
}

.skill-chip span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

/* ==========================================================================
   WORKING PROCESS STEPS
   ========================================================================== */
.steps-pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 24px;
}

.steps-pipeline::before {
  content: '';
  position: absolute;
  top: 75px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: dashed 2px var(--color-outline);
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  background: var(--color-surface-card);
  border-radius: var(--radius-xl);
  padding: 40px 28px 32px;
  text-align: center;
  box-shadow: var(--shadow-level-1);
  border: 1px solid var(--color-outline);
  transition: all var(--transition-base);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-level-2);
}

.step-ghost-num {
  position: absolute;
  top: 14px;
  left: 20px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(var(--color-primary-rgb), 0.08);
  line-height: 1;
  user-select: none;
}

.step-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-on-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-teal);
  position: relative;
}

.step-title {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.step-desc {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ==========================================================================
   PORTFOLIO & CASE STUDIES
   ========================================================================== */
.portfolio-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-surface-container);
  border: 1px solid var(--color-outline);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: var(--color-surface-high);
  color: var(--color-text);
}

.filter-btn.active {
  background: var(--color-primary);
  color: var(--color-on-primary);
  border-color: var(--color-primary);
}

body.dark .filter-btn.active {
  color: #002023;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.project-card {
  background: var(--color-surface-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-level-1);
  border: 1px solid var(--color-outline);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-level-2);
  border-color: rgba(var(--color-primary-rgb), 0.35);
}

.project-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-surface-container);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.project-card:hover .project-thumb img {
  transform: scale(1.06);
}

.project-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 67, 73, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.project-excerpt {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.project-metrics-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--color-surface-container);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.project-metric-val {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.project-metric-txt {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  font-weight: 500;
  text-transform: uppercase;
}

.project-footer-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9375rem;
  padding-top: 12px;
  border-top: 1px solid var(--color-outline);
  transition: color var(--transition-fast);
}

.project-footer-btn:hover {
  color: var(--color-secondary);
}

.project-footer-btn .arrow-icon {
  transition: transform var(--transition-fast);
}

.project-card:hover .project-footer-btn .arrow-icon {
  transform: translateX(4px);
}

/* ==========================================================================
   MODAL DIALOG (CASE STUDY DEEP DIVE)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: var(--color-surface-card);
  border-radius: var(--radius-xl);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-level-3);
  border: 1px solid var(--color-outline);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition-smooth);
}

.modal-overlay.open .modal-window {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 10;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.modal-banner {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.modal-content-inner {
  padding: 36px;
}

.modal-badges-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.modal-grid-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
  padding: 20px;
  background: var(--color-surface-container);
  border-radius: var(--radius-lg);
}

.modal-detail-item strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: 4px;
}

.modal-detail-item span {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.modal-section-heading {
  font-size: 1.15rem;
  margin: 20px 0 8px;
}

.modal-paragraph {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--color-surface-card);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-level-1);
  border: 1px solid var(--color-outline);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.testimonial-quote-icon {
  color: rgba(var(--color-secondary-rgb), 0.2);
  font-size: 48px;
  margin-bottom: 16px;
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--color-outline);
  padding-top: 18px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-primary-container);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.author-info span {
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
}

/* ==========================================================================
   PRE-FOOTER CTA BANNER
   ========================================================================== */
.cta-banner-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-container) 100%);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(244, 162, 97, 0.15) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.cta-banner-content {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-banner-content h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 16px;
}

.cta-banner-content p {
  color: var(--color-primary-fixed-dim);
  font-size: 1.15rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT SECTION & FORM
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: flex-start;
}

.contact-info-card {
  background: var(--color-surface-card);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  box-shadow: var(--shadow-level-1);
  border: 1px solid var(--color-outline);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0;
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  background: var(--color-surface-container);
  border: 1px solid var(--color-outline);
  transition: all var(--transition-fast);
}

.contact-channel-item:hover {
  border-color: var(--color-primary);
  background: var(--color-surface-high);
  transform: translateX(4px);
}

.channel-icon-well {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-on-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.channel-details small {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  text-transform: uppercase;
  font-weight: 600;
}

.channel-details span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}

.availability-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.25);
  border-radius: var(--radius-md);
  margin-top: 12px;
}

.status-pulse {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(22, 163, 74, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

/* Form Styles */
.contact-form-card {
  background: var(--color-surface-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-level-1);
  border: 1px solid var(--color-outline);
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-surface-low);
  border: 1px solid var(--color-outline);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-surface-card);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.12);
}

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

/* Dual Budget Field: Preset Select + Custom Typing */
.budget-control-group {
  position: relative;
}

.budget-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 8px;
  min-height: 24px;
}

.budget-label-row .form-label {
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
}

.budget-pill-toggle {
  display: inline-flex;
  background: var(--color-surface-container);
  border: 1px solid var(--color-outline);
  border-radius: var(--radius-full);
  padding: 2px;
  gap: 2px;
}

.budget-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--color-text-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1.2;
}

.budget-toggle-btn .material-symbols-outlined {
  font-size: 13px;
}

.budget-toggle-btn:hover {
  color: var(--color-text);
}

.budget-toggle-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 1px 5px rgba(var(--color-primary-rgb), 0.25);
}

body.dark .budget-toggle-btn.active {
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.budget-pane {
  animation: budgetFadeIn 0.22s ease-out;
}

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

.budget-custom-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.budget-custom-prefix {
  position: absolute;
  left: 14px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.custom-budget-input {
  padding-left: 32px !important;
}

.budget-switch-back {
  margin-top: 6px;
  display: flex;
  justify-content: flex-end;
}

.budget-back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-subtle);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.budget-back-link .material-symbols-outlined {
  font-size: 13px;
}

.budget-back-link:hover {
  color: var(--color-primary);
}

/* Toast Notifications */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--color-primary);
  color: #ffffff;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-level-3);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-smooth);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--color-inverse-surface);
  color: var(--color-inverse-on-surface);
  padding: 80px 0 40px;
  border-top: 1px solid var(--color-outline);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.footer-brand p {
  color: #a3b0b2;
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

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

.footer-link {
  color: #a3b0b2;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-accent);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--color-accent);
  color: #2f1400;
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #88989a;
  font-size: 0.875rem;
}

/* Floating WhatsApp Quick Action */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background-color: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: var(--color-on-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-level-2);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-4px);
  background-color: var(--color-primary-container);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  :root {
    --section-gap: 80px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-subtitle {
    margin: 0 auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-metrics-strip {
    justify-content: center;
    max-width: 500px;
    margin: 24px auto 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .steps-pipeline {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .steps-pipeline::before {
    display: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 60px;
  }
  .nav-menu,
  .nav-actions .btn-primary {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-metrics-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .badge-growth {
    bottom: -15px;
    left: 0;
  }
  .badge-certified {
    top: -15px;
    right: 0;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 24px 20px;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
/* ==========================================================================
   RESUME VIEWER MODAL - PROFESSIONAL DOCUMENT VIEWER
   ========================================================================== */
.resume-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 24, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.resume-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.resume-modal-container {
  background: var(--color-surface-card);
  border-radius: var(--radius-xl);
  max-width: 980px;
  width: 100%;
  height: 94vh;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--color-outline);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

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

.resume-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-outline);
  gap: 14px;
  z-index: 10;
  flex-shrink: 0;
}

.resume-modal-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.resume-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--color-primary-container);
  color: #abeef6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.resume-modal-header-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.resume-modal-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.resume-subtitle {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  display: flex;
  align-items: center;
  gap: 6px;
}

.resume-subtitle .verified-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  display: inline-block;
}

/* Toolbar Zoom Controls */
.resume-modal-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--color-surface-container);
  padding: 4px 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-outline);
}

.resume-control-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.resume-control-btn:hover {
  background: var(--color-surface-card);
  color: var(--color-primary);
}

.resume-zoom-val {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 0 6px;
  min-width: 44px;
  text-align: center;
  cursor: pointer;
  user-select: none;
}

.resume-zoom-val:hover {
  color: var(--color-primary);
}

/* Right Actions */
.resume-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.resume-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  border: 1px solid var(--color-outline);
  color: var(--color-text);
  background: var(--color-surface-container);
}

.resume-action-btn:hover {
  background: var(--color-surface-highest);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.resume-action-btn.primary {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.resume-action-btn.primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 67, 73, 0.25);
}

.resume-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-outline);
  color: var(--color-text-muted);
  background: var(--color-surface-container);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.resume-close-btn:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
  transform: rotate(90deg);
}

/* Document Stage / Canvas */
.resume-modal-body {
  flex: 1;
  overflow: auto;
  padding: 30px 16px 40px;
  background: #141f23;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  scrollbar-gutter: stable;
}

body.dark .resume-modal-body {
  background: #091214;
}

.resume-doc-wrapper {
  margin: 0 auto;
  width: 760px;
  max-width: 100%;
  transition: width 0.2s cubic-bezier(0.2, 0, 0, 1);
  display: flex;
  justify-content: center;
}

.resume-modal-body img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.1);
  background: #ffffff;
}

@media (max-width: 768px) {
  .resume-modal-container {
    height: 98vh;
    max-height: 98vh;
    border-radius: var(--radius-lg);
  }
  .resume-modal-header {
    padding: 10px 12px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .resume-subtitle {
    display: none;
  }
  .resume-btn-text {
    display: none;
  }
  .resume-action-btn {
    padding: 7px 10px;
  }
  .resume-modal-controls {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 2px;
  }
  .resume-modal-body {
    padding: 14px 8px 24px;
  }
}

/* ==========================================================================
   SERVICES DROPDOWN MENU
   ========================================================================== */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 620px;
  background: var(--color-surface-card);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-level-3);
  border: 1px solid var(--color-outline);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
  z-index: 1050;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--color-surface-container);
}

.dropdown-item-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  shrink: 0;
}

.dropdown-item-text strong {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.3;
}

.dropdown-item-text span {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
}

/* Social Icon Bar */
.social-hero-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.social-hero-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--color-surface-container);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-outline);
  transition: all var(--transition-fast);
}

.social-hero-btn svg,
.social-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  display: block;
}

.channel-icon-well svg {
  width: 22px;
  height: 22px;
  display: block;
}

.social-hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-level-1);
}

.social-hero-btn.wa:hover,
.social-btn.wa:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

.social-hero-btn.fb:hover,
.social-btn.fb:hover {
  background: #1877f2;
  color: #ffffff;
  border-color: #1877f2;
}

.social-hero-btn.fb-page:hover,
.social-btn.fb-page:hover {
  background: #0866ff;
  color: #ffffff;
  border-color: #0866ff;
}

.social-hero-btn.ig:hover,
.social-btn.ig:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  border-color: #dc2743;
}

.social-hero-btn.li:hover,
.social-btn.li:hover {
  background: #0077b5;
  color: #ffffff;
  border-color: #0077b5;
}

/* Certification Cards */
.cert-card {
  background: var(--color-surface-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--color-outline);
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-level-1);
  border-color: var(--color-primary);
}

.cert-logo-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
}

/* Service Detail Page Hero & Sections */
.service-detail-hero {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 70px;
  background: var(--color-surface-low);
  border-bottom: 1px solid var(--color-outline);
  position: relative;
  overflow: hidden;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-text-subtle);
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: var(--color-text-muted);
}

.breadcrumbs a:hover {
  color: var(--color-primary);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.capability-card {
  background: var(--color-surface-card);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--color-outline);
  box-shadow: var(--shadow-level-1);
  transition: all var(--transition-base);
}

.capability-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-level-2);
  border-color: var(--color-primary);
}

.deliverables-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-level-1);
  border: 1px solid var(--color-outline);
}

.deliverables-table th,
.deliverables-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-outline);
}

.deliverables-table th {
  background: var(--color-surface-container);
  color: var(--color-primary);
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.deliverables-table td {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

@media (max-width: 1024px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .nav-dropdown-menu {
    display: none;
  }
}
