/* ==========================================================================
   Tanvir Ahmed - Digital Marketing Specialist Portfolio Design System
   (Zero Shadows / Clean Flat & Crisp Light Design / #000000 Black CTAs & Headings)
   ========================================================================== */

/* === IMPORT WEBFONTS === */
@import url('https://fonts.cdnfonts.com/css/neue-montreal');
@import url('https://fonts.cdnfonts.com/css/pp-neue-montreal');

/* Neue Montreal / PP Neue Montreal Local & CDN Font-Face mapping */
@font-face {
  font-family: 'Neue Montreal';
  font-style: normal;
  font-weight: 300;
  src: local('Neue Montreal Light'), local('Neue Montreal Book'), local('PP Neue Montreal Book'), local('PP Neue Montreal-Book'), local('PPNeueMontreal-Book'), url('https://fonts.cdnfonts.com/s/100431/ppneuemontreal-book.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Neue Montreal';
  font-style: normal;
  font-weight: 400;
  src: local('Neue Montreal Regular'), local('Neue Montreal'), local('PP Neue Montreal'), local('PP Neue Montreal Regular'), local('PPNeueMontreal-Regular'), url('https://fonts.cdnfonts.com/s/100431/ppneuemontreal-book.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Neue Montreal';
  font-style: normal;
  font-weight: 500;
  src: local('Neue Montreal Medium'), local('PP Neue Montreal Medium'), local('PPNeueMontreal-Medium'), url('https://fonts.cdnfonts.com/s/100431/ppneuemontreal-medium.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Neue Montreal';
  font-style: normal;
  font-weight: 600;
  src: local('Neue Montreal SemiBold'), local('PP Neue Montreal SemiBold'), local('PPNeueMontreal-SemiBold'), url('https://fonts.cdnfonts.com/s/100431/ppneuemontreal-bold.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Neue Montreal';
  font-style: normal;
  font-weight: 700;
  src: local('Neue Montreal Bold'), local('PP Neue Montreal Bold'), local('PPNeueMontreal-Bold'), url('https://fonts.cdnfonts.com/s/100431/ppneuemontreal-bold.woff') format('woff');
  font-display: swap;
}

/* IvyOra Display / Editorial Serif Font-Face Mappings */
@font-face {
  font-family: 'IvyOra Display';
  font-style: normal;
  font-weight: 400;
  src: local('IvyOra Display Regular'), local('IvyOra Display'), local('IvyOraDisplay-Regular'), local('Ivyora Display'), local('IvyoraDisplay');
  font-display: swap;
}

@font-face {
  font-family: 'IvyOra Display';
  font-style: italic;
  font-weight: 400;
  src: local('IvyOra Display Regular Italic'), local('IvyOra Display Italic'), local('IvyOraDisplay-Italic'), local('Ivyora Display Italic'), local('IvyoraDisplay-Italic');
  font-display: swap;
}

/* Bau / Bauhaus Sans Serif Font-Face Mappings */
@font-face {
  font-family: 'Bau';
  font-style: normal;
  font-weight: 400;
  src: local('Bau'), local('Bau Regular'), local('Bauhaus-Regular'), local('Bauhaus Regular'), local('ITC Bauhaus Std'), local('ITC Bauhaus'), local('Bauhaus 93'), local('Bauhaus'), url('https://fonts.cdnfonts.com/s/14876/Bauhaus-Regular.woff') format('woff'), url('https://fonts.gstatic.com/s/baumans/v17/-F62fjptAgt5VM-kNCGq1Lg.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Bau';
  font-style: normal;
  font-weight: 700;
  src: local('Bau Bold'), local('Bau-Bold'), local('Bauhaus-Bold'), local('Bauhaus Bold'), local('ITC Bauhaus Std Bold'), local('ITC Bauhaus Bold'), local('Bauhaus 93'), local('Bau'), url('https://fonts.cdnfonts.com/s/14876/Bauhaus-Bold.woff') format('woff');
  font-display: swap;
}

/* Respira / Respira Black Font-Face Mapping (Gothic Blackletter Display) */
@font-face {
  font-family: 'Respira';
  font-style: normal;
  font-weight: 400 900;
  src: url('Assets/Respira-Black.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Respira Black';
  font-style: normal;
  font-weight: 400 900;
  src: url('Assets/Respira-Black.woff2') format('woff2');
  font-display: swap;
}

/* === DEFAULT LIGHT THEME TOKENS === */
:root,
body.light-theme {
  /* Backgrounds */
  --bg-primary: #fbfbfc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f4f5f8;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-input: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.92);

  /* Borders (1px Crisp) */
  --border-color: #e5e7eb;
  --border-color-hover: #000000;
  --border-focus: #000000;

  /* Typography */
  --text-primary: #000000;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --text-white: #000000;
  --text-heading: #000000;

  /* Brand Accents */
  --accent-emerald: #059669;
  --accent-cyan: #0891b2;
  --accent-purple: #7c3aed;
  --accent-amber: #d97706;
  --brand-dark: #000000;

  /* Gradients */
  --gradient-primary: #000000;
  --gradient-emerald: #059669;
  --gradient-card: #ffffff;
  --gradient-banner: #f4f5f8;

  /* Typography - Unified Neue Montreal across whole website */
  --font-heading: 'Neue Montreal', 'PP Neue Montreal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Neue Montreal', 'PP Neue Montreal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-hero-heading: 'Neue Montreal', 'PP Neue Montreal', sans-serif;
  --font-dynamic: 'Neue Montreal', 'PP Neue Montreal', sans-serif;
  --font-bau: 'Bau', 'Bauhaus Sans Serif', 'ITC Bauhaus Std', 'ITC Bauhaus', 'Bauhaus 93', 'Bauhaus', 'Baumans', 'Syne', sans-serif;
  --font-respira: 'Respira', 'Respira Black', serif;

  /* Dimensions & Spacing */
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* NO SHADOWS & NO GLOWS ANYWHERE */
  --shadow-subtle: none;
  --shadow-card: none;
  --shadow-card-hover: none;
  --shadow-glow: none;
  --shadow-modal: none;

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

/* === DARK THEME TOKENS === */
body.dark-theme {
  --bg-primary: #0d0f12;
  --bg-surface: #14171d;
  --bg-surface-alt: #1a1e26;
  --bg-card: #14171d;
  --bg-card-hover: #1a1e26;
  --bg-input: #1a1e26;
  --bg-header: rgba(13, 15, 18, 0.92);

  --border-color: #272c36;
  --border-color-hover: #4b5563;
  --border-focus: #ffffff;

  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --text-white: #ffffff;
  --text-heading: #ffffff;

  --accent-emerald: #10b981;
  --accent-cyan: #06b6d4;
  --accent-purple: #8b5cf6;
  --accent-amber: #f59e0b;
  --brand-dark: #ffffff;

  --shadow-subtle: none;
  --shadow-card: none;
  --shadow-card-hover: none;
  --shadow-glow: none;
  --shadow-modal: none;
}

/* === CSS RESET & GLOBAL STYLES (GLOBAL TEXT SELECTION DISABLED) === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}

/* Allow text selection only in form inputs and textareas for typing */
input,
textarea,
[contenteditable="true"] {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* Disable selection highlight */
::selection {
  background: transparent !important;
  color: inherit !important;
}

::-moz-selection {
  background: transparent !important;
  color: inherit !important;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Lenis Ultra-Smooth Inertia Scroll Engine */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body,
button,
input,
select,
textarea,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
li,
label {
  font-family: var(--font-body);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: clip;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

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

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

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

/* === UTILITY CLASSES === */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.max-w-800 {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.section-padding {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.bg-surface-alt {
  background-color: var(--bg-surface-alt);
  position: relative;
}

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

.text-emerald {
  color: var(--accent-emerald) !important;
}

.text-cyan {
  color: var(--accent-cyan) !important;
}

.text-purple {
  color: var(--accent-purple) !important;
}

.text-amber {
  color: var(--accent-amber) !important;
}

.mt-3 {
  margin-top: 1rem;
}

.gradient-text {
  color: var(--text-heading);
  display: inline-block;
}

.hide-mobile {
  display: inline;
}

/* === AMBIENT MOUSE GLOW (FLAT SOFT GRADIENT, ZERO SHADOW) === */
.ambient-glow {
  display: none;
  /* Removed ambient dark glowing orbs */
}

/* === CARD COMPONENT (FLAT, 1px BORDER, ZERO SHADOW) === */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.glass-card:hover {
  border-color: #000000;
}

/* === BUTTONS (HERO & GLOBAL CTA SPECIFICATIONS) === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  transform-style: preserve-3d;
  perspective: 600px;
  will-change: transform;
}

/* Primary CTA: Fill #000000 */
.btn-primary {
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
}

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

/* Secondary CTA: 1px Stroke #000000 */
.btn-secondary {
  background: transparent;
  color: #000000;
  border: 1px solid #000000;
}

.btn-secondary:hover {
  background: transparent;
  color: #000000;
  border-color: #000000;
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 15px 34px;
  font-size: 1.02rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* 3D Dynamic Interactive Movement Easing */
.btn-3d-moving {
  transition: transform 0.06s ease-out !important;
}

.btn-3d-leaving {
  transition: transform 0.48s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* Dark mode adjustments for buttons */
body.dark-theme .btn-primary {
  background: #ffffff;
  color: #0d0f12;
  border-color: #ffffff;
}

body.dark-theme .btn-primary:hover {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #0d0f12 !important;
  transform: translateY(-2px);
}

body.dark-theme .btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

body.dark-theme .btn-secondary:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* === SECTION HEADINGS & BADGES === */
.section-header {
  margin-bottom: 56px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  color: #000000;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

body.dark-theme .section-badge {
  color: #ffffff;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 400;
  /* Clean & Elegant */
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.08rem;
  max-width: 650px;
  margin: 0 auto;
  color: var(--text-secondary);
}

/* ================= HEADER / NAVBAR (STICKY TRANSPARENT LIGHT BLUR & SMART SCROLL VISIBILITY) ================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  z-index: 1000;
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.3s ease,
    border-color 0.3s ease,
    padding 0.3s ease,
    box-shadow 0.3s ease;
}

body.dark-theme .site-header {
  background: rgba(13, 15, 18, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03);
}

body.dark-theme .site-header.scrolled {
  background: rgba(13, 15, 18, 0.65);
  box-shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.4);
}

/* Hidden state when scrolling down */
.site-header.nav-hidden {
  transform: translateY(-100%);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 46px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

/* ================= BRAND LOGO (GEOMETRIC ICON + NEUE MONTREAL NAME) ================= */
.site-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
  user-select: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.site-brand-logo:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.brand-logo-icon {
  width: 32px;
  height: 32px;
  display: inline-block;
  background-color: var(--text-heading, #111827);
  -webkit-mask: url('Assets/logo-icon.png') no-repeat center / contain;
  mask: url('Assets/logo-icon.png') no-repeat center / contain;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}

.site-brand-logo:hover .brand-logo-icon {
  transform: scale(1.08);
}

.brand-name {
  font-family: 'Neue Montreal', 'PP Neue Montreal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-heading, #111827);
  line-height: 1;
  display: inline-block;
  transition: color 0.2s ease;
}

body.dark-theme .brand-logo-icon {
  background-color: #ffffff;
}

body.dark-theme .brand-name {
  color: #ffffff;
}

/* ================= TOP NAVBAR LEFT GROUP & BACK TO HOME PILL ================= */
.nav-left-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-back-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-heading, #111827);
  padding: 7px 18px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  line-height: 1;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.nav-back-pill i {
  font-size: 0.78rem;
  transition: transform 0.2s ease;
}

.nav-back-pill:hover {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  transform: translateX(-2px);
  box-shadow: none !important;
}

.nav-back-pill:hover i {
  transform: translateX(-2px);
}

body.dark-theme .nav-back-pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

body.dark-theme .nav-back-pill:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  box-shadow: none !important;
}

/* Dynamic Case Study Section Navbar Transition on Homepage */
.site-header #navBackHomePill {
  display: inline-flex;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.site-header.nav-in-casestudy #navBackHomePill {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.site-header.nav-in-casestudy .nav-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.site-footer-logo {
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

.logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.05rem;
}

.nav-menu {
  margin-left: auto;
  margin-right: 32px;
  display: flex;
  align-items: center;
}

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

.nav-item {
  display: flex;
  align-items: center;
}

/* Nav links (Clean static typography, crisp modern font) */
.nav-link {
  font-family: var(--font-heading);
  font-size: 0.93rem;
  font-weight: 500;
  color: #4b5563;
  padding: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #000000;
}

body.dark-theme .nav-link {
  color: #94a3b8;
}

body.dark-theme .nav-link:hover {
  color: #ffffff;
}

/* Case Study Count Pill in Nav */
.nav-case-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1px 6px;
  border-radius: 9999px;
  margin-left: 6px;
  line-height: 1.2;
  letter-spacing: normal;
  transition: all 0.2s ease;
}

.nav-link:hover .nav-case-count,
.mobile-nav-link:hover .nav-case-count {
  color: #000000;
  border-color: rgba(0, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.08);
}

body.dark-theme .nav-case-count {
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

body.dark-theme .nav-link:hover .nav-case-count,
body.dark-theme .mobile-nav-link:hover .nav-case-count {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

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

/* White Navbar CTA Button with Subtle Soft Shadow (No Arrow) */
.nav-cta-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.08);
  outline: none;
  height: 42px;
  padding: 0 24px;
  border-radius: var(--radius-full, 9999px);
  font-family: var(--font-heading);
  font-size: 0.90rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.nav-cta-white:hover {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

body.dark-theme .nav-cta-white {
  background: #1e293b;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
}

body.dark-theme .nav-cta-white:hover {
  background: #1e293b !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  transform: translateY(-2px);
  box-shadow: none !important;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-heading, #0f172a);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 6px;
  align-items: center;
  justify-content: center;
}

/* === MOBILE DRAWER === */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-color);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  z-index: 1050;
  transition: right var(--transition-normal);
}

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

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

.close-drawer-btn {
  background: var(--bg-surface-alt);
  color: var(--text-heading);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  border: 1px solid var(--border-color);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link:hover {
  color: var(--text-heading);
}

.mobile-drawer-cta {
  margin-top: auto;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.4);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

/* ================= HERO STUDIO SECTION (FULL BACKGROUND COVER) ================= */
.hero-studio-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: #f7f5f1;
  padding: 110px 0 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 1;
}

body.dark-theme .hero-studio-section {
  background-color: #111215;
}

/* Background Image Cover Layer */
.hero-studio-bg-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-bg-cover-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  max-width: 88vw;
  height: auto;
  max-height: calc(100vh - 46px);
  object-fit: contain;
  object-position: right bottom;
  display: block;
  filter: contrast(1.02);
}

body.dark-theme .hero-bg-cover-img {
  filter: brightness(0.85) contrast(1.06);
}

.hero-studio-stage-wrap {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  position: relative;
  z-index: 3;
  box-sizing: border-box;
}

/* Content Area */
.hero-studio-content-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  min-height: 520px;
  position: relative;
}

/* Left Column */
.hero-studio-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  z-index: 5;
  max-width: 580px;
  padding-bottom: 20px;
}


/* Available for work Pill Badge */
.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 7px 18px;
  border-radius: 9999px;
  margin-bottom: 26px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

body.dark-theme .hero-status-pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  position: relative;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: statusRadarPulse 2s infinite;
}

@keyframes statusRadarPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.status-pill-text {
  font-size: 0.86rem;
  font-weight: 500;
  color: #374151;
  letter-spacing: -0.01em;
}

body.dark-theme .status-pill-text {
  color: #e5e7eb;
}

/* Giant Bold Brand Name Title (Inter Medium) */
.hero-studio-title {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(5.8rem, 11.5vw, 10.2rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: #111111;
  margin: 0 0 26px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

body.dark-theme .hero-studio-title {
  color: #ffffff;
}

.studio-title-line {
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

/* Fluid Kinetic Letter Spans (GSAP Interactive Typography) */
.fluid-char {
  display: inline-block;
  position: relative;
  will-change: transform;
  transform-origin: 50% 65%;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
}

.title-line-1,
.title-line-2 {
  text-transform: none;
  margin-left: 0;
}

/* Speech Bubble Pill Tag Badges (Interactive Links) */
.hero-name-bubble {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-left: clamp(10px, 1.6vw, 20px);
  padding: 6px 18px;
  border-radius: 9999px;
  font-family: var(--font-heading, 'Neue Montreal', sans-serif);
  font-size: clamp(0.78rem, 1.15vw, 1.02rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  text-decoration: none !important;
  line-height: 1.2;
  user-select: none;
  box-shadow: none !important;
  filter: none !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.2s ease !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

/* Tooltip Tail Pointer at Bottom */
.hero-name-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
}

.title-letter-anchor {
  position: relative;
  display: inline-block;
  text-transform: lowercase;
}

/* 1. Facebook Bubble: Official Solid Blue directly on top of 'r' */
.bubble-facebook {
  position: absolute;
  bottom: 84%;
  left: 50%;
  transform: translateX(-35%) rotate(8deg);
  transform-origin: bottom left;
  background: #1877F2;
  color: #ffffff !important;
  margin: 0;
  white-space: nowrap;
  z-index: 25;
}

.bubble-facebook:hover {
  transform: translateX(-35%) rotate(8deg) scale(1.05);
  filter: brightness(1.12) !important;
}

.bubble-facebook::after {
  left: 38%;
  transform: translateX(-50%);
  border-top: 6px solid #1877F2;
}

body.dark-theme .bubble-facebook {
  background: #1877F2;
  border: none;
}

body.dark-theme .bubble-facebook::after {
  border-top-color: #1877F2;
}

/* 2. Instagram Bubble: Clean Solid Orange on left side of 'A' */
.bubble-instagram {
  background: #FF5E00;
  color: #ffffff !important;
  margin-left: 0;
  margin-right: clamp(10px, 1.2vw, 16px);
  transform: translateY(-40%) rotate(-8deg);
  transform-origin: bottom right;
  white-space: nowrap;
  z-index: 25;
}

.bubble-instagram:hover {
  transform: translateY(-40%) rotate(-8deg) scale(1.05);
  filter: brightness(1.12) !important;
}

.bubble-instagram::after {
  left: auto;
  right: 25%;
  border-top: 6px solid #FF5E00;
}

body.dark-theme .bubble-instagram {
  background: #FF5E00;
  border: none;
}

body.dark-theme .bubble-instagram::after {
  border-top-color: #FF5E00;
}

/* Subtitle Description */
.hero-studio-desc {
  font-size: clamp(1.10rem, 1.4vw, 1.25rem);
  line-height: 1.62;
  color: #4b5563;
  max-width: 530px;
  margin: 0 0 20px 0;
  font-weight: 400;
  letter-spacing: -0.01em;
}

body.dark-theme .hero-studio-desc {
  color: rgba(255, 255, 255, 0.72);
}

/* ================= HERO PMP BADGE (GSAP KINETIC EMBLEM) ================= */
.hero-pmp-badge-wrap {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
}

.pmp-badge-icon {
  display: grid;
  grid-template-columns: repeat(2, 18px);
  grid-template-rows: repeat(2, 18px);
  gap: 2.5px;
  width: 38.5px;
  height: 38.5px;
  position: relative;
  flex-shrink: 0;
}

.pmp-icon-part {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform, opacity;
}

.pmp-icon-part img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pmp-badge-divider {
  width: 2.5px;
  height: 34px;
  background: #000000;
  margin: 0 12px 0 14px;
  border-radius: 2px;
  flex-shrink: 0;
  will-change: transform, opacity;
}

.pmp-badge-text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  will-change: transform, opacity;
}

.pmp-text-kickoff {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 0.95;
  color: #000000;
}

.pmp-text-sub {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.70rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #1a1a1a;
  margin-top: 3px;
}

/* Dark Theme Compatibility */
body.dark-theme .pmp-part-p img {
  filter: invert(1) brightness(1.2);
}

body.dark-theme .pmp-badge-divider {
  background: #ffffff;
}

body.dark-theme .pmp-text-kickoff {
  color: #ffffff;
}

body.dark-theme .pmp-text-sub {
  color: rgba(255, 255, 255, 0.85);
}

/* Action Buttons */
.hero-studio-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.hero-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #000000;
  color: #ffffff !important;
  border: 1px solid #000000;
  outline: none;
  height: 44px;
  padding: 0 26px;
  border-radius: var(--radius-full, 9999px);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  transform: translateY(0) scale(1);
  will-change: transform;
}

.hero-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-btn-dark:hover {
  background: #1F1515 !important;
  color: #ffffff !important;
  border-color: #1F1515 !important;
  transform: translateY(-2px);
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
}

body.dark-theme .hero-btn-dark {
  background: #ffffff;
  color: #000000 !important;
  border-color: #ffffff;
  box-shadow: none !important;
}

body.dark-theme .hero-btn-dark:hover {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: none !important;
}

.hero-btn-cv {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111111;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-btn-cv:hover {
  opacity: 0.75;
  transform: translateY(-1px);
}

body.dark-theme .hero-btn-cv {
  color: #ffffff;
}

/* Responsive Media Queries for Hero Studio */
@media (max-width: 1100px) {
  .hero-bg-cover-img {
    max-width: 80vw;
    max-height: calc(100vh - 46px);
    right: -20px;
  }
}

@media (max-width: 768px) {
  .hero-studio-section {
    padding: 100px 0 40px;
    min-height: auto;
  }

  .hero-bg-cover-img {
    max-width: 90vw;
    max-height: 75vh;
    right: -20px;
    opacity: 0.40;
  }

  .hero-studio-stage-wrap {
    padding: 0 20px;
  }

  .hero-studio-title {
    font-size: clamp(3.8rem, 13vw, 4.8rem);
  }

  .hero-name-bubble {
    font-size: 0.70rem;
    padding: 3px 10px;
    box-shadow: none !important;
  }

  .bubble-facebook {
    transform: translateX(-35%) rotate(8deg);
  }

  .title-line-2 {
    margin-left: 0;
  }

  .bubble-instagram {
    margin-right: 6px;
    margin-left: 0;
    transform: translateY(-35%) rotate(-6deg);
  }

  .hero-name-bubble::after {
    bottom: -4px;
    border-left-width: 4px;
    border-right-width: 4px;
    border-top-width: 4px;
  }

  .hero-pmp-badge-wrap {
    margin-bottom: 20px;
  }

  .pmp-badge-icon {
    grid-template-columns: repeat(2, 15px);
    grid-template-rows: repeat(2, 15px);
    gap: 2px;
    width: 32px;
    height: 32px;
  }

  .pmp-badge-divider {
    height: 28px;
    margin: 0 10px 0 11px;
  }

  .pmp-text-kickoff {
    font-size: 0.95rem;
  }

  .pmp-text-sub {
    font-size: 0.62rem;
  }
}

body.dark-theme .hero-buttons .btn-secondary:hover,
body.dark-theme .hero-resume-btn:hover {
  background: transparent !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: none !important;
}

/* Interactive Morphing Dot-to-Arrow Button (Hero Start a Project) */
.hero-cta-morph {
  gap: 12px;
  padding: 0 24px 0 16px !important;
}

.hero-cta-morph:hover {
  background: #1F1515 !important;
  color: #ffffff !important;
  border-color: #1F1515 !important;
  transform: translateY(-2px);
  box-shadow: none !important;
}

body.dark-theme .hero-cta-morph:hover {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: none !important;
}

.btn-dot-arrow {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FAE5D0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1), height 0.28s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease;
  flex-shrink: 0;
}

.btn-dot-arrow i {
  font-size: 0px;
  color: #1F1515;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Expanded Dot size on hover */
.hero-cta-morph:hover .btn-dot-arrow {
  width: 24px;
  height: 24px;
  background: #ffffff !important;
}

.hero-cta-morph:hover .btn-dot-arrow i {
  font-size: 11px;
  color: #1F1515 !important;
  opacity: 1;
  transform: translateX(0);
}

/* Dark Theme Support for Button Dot */
body.dark-theme .btn-dot-arrow {
  background: #0d0f12;
}

body.dark-theme .btn-dot-arrow i {
  color: #ffffff;
}

body.dark-theme .hero-cta-morph:hover .btn-dot-arrow {
  background: #0d0f12 !important;
}

body.dark-theme .hero-cta-morph:hover .btn-dot-arrow i {
  color: #ffffff !important;
}

/* ================= HERO LOGO MARQUEE (Right-to-Left Auto Scroll, Direct Logos) ================= */
.hero-marquee-section {
  width: 100%;
  max-width: 1180px;
  margin: 10px auto clamp(40px, 5vw, 75px);
  position: relative;
  overflow: visible;
  padding: 10px 0;
}

.marquee-track-container {
  display: flex;
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 62px 0 16px;
  margin-top: -28px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 46px;
  width: max-content;
  will-change: transform;
}

/* Direct Standalone Logo Item (Larger 38px size, zero capsule) */
.direct-logo-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.direct-logo-item:hover {
  transform: translateY(-3px);
}

.direct-logo-img,
.direct-logo-svg {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  opacity: 0.92;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.direct-logo-item:hover .direct-logo-img,
.direct-logo-item:hover .direct-logo-svg {
  opacity: 1;
  transform: scale(1.15);
}

/* Custom 2-Line Hover Tooltip */
.logo-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #1F1515;
  color: #ffffff;
  padding: 7px 14px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  z-index: 100;
  text-align: center;
}

.logo-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #1F1515 transparent transparent transparent;
}

.direct-logo-item:hover .logo-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.tooltip-name {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.15;
}

.tooltip-role {
  font-size: 0.68rem;
  font-weight: 400;
  color: #d1d5db;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

/* ================= CASE STUDY SECTION ================= */
.case-studies-stack-section {
  position: relative;
  background-color: var(--bg-primary, #ffffff);
  padding: 0 0 60px;
  overflow: visible;
}

.btn-view-all-white:hover {
  background: #ffffff !important;
  color: #1F1515 !important;
  border-color: rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
}

/* Responsive for Mobile & Tablet */
@media (max-width: 860px) {
  .hero-case-study-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 30px;
    border-radius: 24px;
  }

  .case-study-heading {
    font-size: 1.85rem;
  }

  .case-study-desc {
    margin-bottom: 24px;
    font-size: 0.96rem;
  }

  .cs-metric-value {
    font-size: 2rem;
  }
}

/* ================= CASE STUDY SECTION ================= */
.filter-btn-group {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  padding: 5px;
  border-radius: var(--radius-full);
  margin-top: 24px;
}

.filter-btn {
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.filter-btn.active {
  background: #1F1515;
  color: #ffffff;
}

body.dark-theme .filter-btn.active {
  background: #ffffff;
  color: #0d0f12;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.case-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  border-color: #1F1515;
}

body.dark-theme .case-card:hover {
  border-color: #ffffff;
}

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

.case-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.tag-ecommerce {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
}

.tag-leadgen {
  background: rgba(8, 145, 178, 0.1);
  color: #0891b2;
}

.tag-saas {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
}

.tag-seo {
  background: rgba(217, 119, 6, 0.1);
  color: #d97706;
}

.case-duration {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.case-metric-highlight {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.big-metric {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  color: #1F1515;
  line-height: 1.1;
}

body.dark-theme .big-metric {
  color: #ffffff;
}

.metric-caption {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.case-title {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.35;
}

.case-summary {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.case-stats-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  border-top: 1px solid var(--border-color);
  padding-top: 18px;
}

.pill-stat {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.pill-stat strong {
  color: var(--text-heading);
  margin-right: 4px;
}

.btn-case-detail {
  background: transparent;
  color: #1F1515;
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 0;
  transition: gap var(--transition-fast);
}

body.dark-theme .btn-case-detail {
  color: #ffffff;
}

.btn-case-detail:hover {
  gap: 12px;
}

/* ================= ABOUT ME SECTION (#0E100F WITH SMOOTH FADE) ================= */
#about,
.about-exact-section,
body.light-theme #about,
body.light-theme .about-exact-section,
body.dark-theme #about,
body.dark-theme .about-exact-section {
  position: relative;
  background-color: #0E100F !important;
  color: #FFFCE1 !important;
  padding: 120px 0 85px;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(255, 252, 225, 0.08);
}

.about-exact-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.about-exact-section.about-in-view .about-exact-container {
  opacity: 1;
  transform: translateY(0);
}

/* ================= 1. TOP SPLIT (LEFT CONTENT & RIGHT STATS BENTO) ================= */
.about-top-split {
  display: grid;
  grid-template-columns: 1.18fr 0.95fr;
  gap: clamp(32px, 4.8vw, 68px);
  align-items: center;
  margin-bottom: 40px;
}

.about-top-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Main Headline */
.about-exact-headline {
  font-family: 'Neue Montreal', 'PP Neue Montreal', sans-serif;
  font-size: clamp(2.8rem, 4.6vw, 4.2rem);
  font-weight: 500;
  color: #FFFCE1 !important;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 clamp(20px, 2.2vw, 28px) 0;
}

.about-serif-italic {
  font-family: 'Instrument Serif', 'IvyOra Display', 'Playfair Display', Georgia, serif !important;
  font-style: italic;
  font-weight: 400;
  color: #FFFCE1 !important;
  letter-spacing: 0.01em;
}

/* Description Text */
.about-exact-desc-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 580px;
  margin: 0 0 34px 0;
}

.about-exact-desc {
  font-size: clamp(1.05rem, 1.15vw, 1.15rem);
  line-height: 1.72;
  color: #FFFCE1 !important;
  margin: 0;
  font-weight: 400;
}

.about-exact-desc strong {
  color: #FFFCE1 !important;
  font-weight: 600;
}

/* CTA Button */
.about-exact-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff !important;
  color: #000000 !important;
  padding: 14px 26px;
  border-radius: 12px;
  font-family: var(--font-heading, 'Neue Montreal', sans-serif);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: none !important;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.about-exact-cta-btn i {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.about-exact-cta-btn:hover {
  background: #ffffff !important;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.15) !important;
}

.about-exact-cta-btn:hover i {
  transform: translate(2px, -2px);
}

.about-exact-cta-btn:hover .whatsapp-icon-green {
  color: #25D366 !important;
  transform: scale(1.15);
}

.about-whatsapp-cta .whatsapp-icon-green {
  font-size: 1.18rem;
  color: #25D366;
  transition: transform 0.25s ease, color 0.25s ease;
}

.about-whatsapp-cta .arrow-icon-right {
  font-size: 0.80rem;
  margin-left: 2px;
}

/* ================= TOP RIGHT: STATS BENTO CARD ================= */
.about-top-right {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.about-stats-card {
  width: 100%;
  max-width: 560px;
  background: #1A1A1A !important;
  border: none !important;
  border-radius: 28px;
  padding: 40px 42px 36px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.40);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.about-stats-row-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-start;
  gap: 24px;
}

.about-stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-stat-icon {
  width: 46px;
  height: 46px;
  background: #262626 !important;
  border: none !important;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFCE1 !important;
  margin-bottom: 16px;
}

.about-stat-number {
  font-family: var(--font-heading, 'Neue Montreal', sans-serif);
  font-size: clamp(2.4rem, 3.5vw, 3.1rem);
  font-weight: 800;
  color: #FFFCE1 !important;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.about-stat-label {
  font-size: 0.94rem;
  color: #FFFCE1 !important;
  opacity: 0.85;
  font-weight: 500;
}

.about-stat-vertical-sep {
  width: 1px;
  height: 100%;
  min-height: 100px;
  background: rgba(255, 252, 225, 0.08) !important;
}

.about-stat-horizontal-sep {
  height: 1px;
  background: rgba(255, 252, 225, 0.08) !important;
  margin: 32px 0 28px;
}

.about-stats-row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.stat-bottom-left {
  z-index: 2;
}

/* Visual Decor: Blended Brand Logo Monogram (Large & Bleeding) */
.about-stat-visual-decor {
  position: relative;
  width: 160px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.about-decor-logo-blend {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 195px;
  height: 195px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.about-decor-logo-mask {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.03) 100%);
  -webkit-mask: url('Assets/logo-icon.png') no-repeat center / contain;
  mask: url('Assets/logo-icon.png') no-repeat center / contain;
  opacity: 0.85;
  pointer-events: none;
}

/* ================= 2. BOTTOM 4 PILLAR BENTO CARDS ================= */
.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.about-pillar-card {
  background: #1A1A1A !important;
  border: none !important;
  border-radius: 22px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.30) !important;
}

.pillar-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.pillar-icon-wrap {
  width: 42px;
  height: 42px;
  background: #262626 !important;
  border: none !important;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFCE1 !important;
}

.pillar-number {
  font-family: var(--font-heading, 'Neue Montreal', sans-serif);
  font-size: 0.88rem;
  font-weight: 600;
  color: #FFFCE1 !important;
  opacity: 0.65;
}

.pillar-body {
  margin-bottom: 24px;
}

.pillar-title {
  font-family: var(--font-heading, 'Neue Montreal', sans-serif);
  font-size: 1.10rem;
  font-weight: 700;
  color: #FFFCE1 !important;
  line-height: 1.3;
  margin: 0 0 6px 0;
  letter-spacing: -0.015em;
}

.pillar-subtitle {
  font-size: 0.88rem;
  color: #FFFCE1 !important;
  opacity: 0.85;
  margin: 0;
  font-weight: 400;
}

.pillar-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  min-height: 38px;
}

.pillar-arrow {
  color: #FFFCE1 !important;
  opacity: 0.85;
  font-size: 0.95rem;
}

body.dark-theme .pillar-arrow {
  color: rgba(255, 255, 255, 0.8);
}

/* Pillar Background Decorative Arts */
.pillar-art {
  position: absolute;
  right: -6px;
  bottom: -6px;
  pointer-events: none;
}

/* 1. Dot Matrix Art (Card 1 & 3) */
.art-dots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  opacity: 0.35;
}

.art-dots span {
  width: 3.5px;
  height: 3.5px;
  background-color: #94a3b8;
  border-radius: 50%;
  display: block;
}

body.dark-theme .art-dots span {
  background-color: rgba(255, 255, 255, 0.3);
}

/* 2. Concentric Radar Arcs Art (Card 2) */
.art-arcs {
  width: 70px;
  height: 70px;
  position: absolute;
  right: -10px;
  bottom: -10px;
  opacity: 0.35;
}

.arc-circle {
  position: absolute;
  border: 1px solid #94a3b8;
  border-radius: 50%;
  right: -10px;
  bottom: -10px;
}

body.dark-theme .arc-circle {
  border-color: rgba(255, 255, 255, 0.35);
}

.arc-1 {
  width: 40px;
  height: 40px;
}

.arc-2 {
  width: 65px;
  height: 65px;
}

.arc-3 {
  width: 90px;
  height: 90px;
}

/* 4. Vertical Bar Equalizer Art (Card 4) */
.art-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 44px;
  opacity: 0.32;
  position: absolute;
  right: -4px;
  bottom: -4px;
}

.art-bars span {
  width: 3px;
  background-color: #94a3b8;
  border-radius: 2px 2px 0 0;
  display: block;
}

body.dark-theme .art-bars span {
  background-color: rgba(255, 255, 255, 0.3);
}

/* ================= RESPONSIVE MEDIA QUERIES ================= */
@media (max-width: 1100px) {
  .about-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 920px) {
  .about-top-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-top-right {
    justify-content: flex-start;
  }

  .about-stats-card {
    max-width: 100%;
  }

  .about-exact-desc {
    max-width: 100%;
  }
}

@media (max-width: 640px) {

  #about,
  .about-exact-section,
  body.light-theme #about,
  body.light-theme .about-exact-section {
    padding: 70px 0 80px;
  }

  .about-exact-container {
    padding: 0 18px;
  }

  .about-exact-headline {
    font-size: 2.3rem;
  }

  .about-stats-card {
    padding: 24px 20px;
  }


  .about-pillars-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ================= PROCESS SECTION ================= */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.process-step-card {
  padding: 26px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.process-step-card:hover {
  border-color: #1F1515;
}

.step-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-muted);
}

.step-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  color: var(--text-heading);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-text {
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.step-deliverables {
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-deliverables li {
  font-size: 0.76rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ================= SKILLS SECTION ================= */
#skills {
  position: relative;
  background-color: var(--bg-primary);
}

/* ================= SKILLS TIMELINE SECTION ================= */
.skills-timeline-section {
  position: relative;
  background-color: var(--bg-primary, #ffffff);
  padding: 100px 0 120px;
  overflow: visible;
}

.skills-section-header {
  max-width: 860px;
  margin: 0 auto 70px;
  text-align: center;
}

.skills-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.04);
  color: #4b5563;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}

body.dark-theme .skills-badge-pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #94a3b8;
}

.skills-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 500;
  color: var(--text-heading, #111827);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.skills-italic-highlight {
  font-family: 'IvyOra Display', 'Ivyora Display', 'IvyOra', 'Instrument Serif', 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: inherit;
}

.skills-main-subtitle {
  font-size: 1.10rem;
  color: var(--text-secondary, #4b5563);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
  font-weight: 400;
}

/* Timeline Container (Centered & Middle-Aligned) */
.skills-timeline-container {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Central Vertical Track Line (Thicker Bar with Bottom Fade) */
.skills-vertical-track {
  position: absolute;
  top: 30px;
  bottom: 0px;
  left: 222.5px;
  width: 5px;
  background: #e5e7eb;
  border-radius: 9999px;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
}

body.dark-theme .skills-vertical-track {
  background: #27272a;
}

/* #0E100F Vertical Fill Bar (Expands on Scroll with Faded Bottom Edge) */
.skills-vertical-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, #0E100F 0%, #0E100F calc(100% - 40px), rgba(14, 16, 15, 0) 100%);
  border-radius: 9999px;
  box-shadow: 0 0 10px rgba(14, 16, 15, 0.25);
  transition: height 0.08s linear;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 40px), transparent 100%);
}

/* Timeline Items Wrapper */
.skills-timeline-items {
  display: flex;
  flex-direction: column;
  gap: 58px;
  position: relative;
  z-index: 2;
}

/* Single Step Item (Vertically Middle-Aligned) */
.skills-timeline-item {
  display: grid;
  grid-template-columns: 200px 50px 1fr;
  align-items: center;
  position: relative;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Left Column: Category Name */
.skill-item-left {
  text-align: right;
  padding-right: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.skill-step-heading {
  font-family: 'IvyOra Display', 'Ivyora Display', 'IvyOra', 'Instrument Serif', 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.65rem, 2.2vw, 2.1rem);
  font-weight: 600;
  color: var(--text-heading, #111827);
  line-height: 1.2;
  margin: 0;
  transition: color 0.3s ease;
}

.skill-step-heading em {
  font-family: 'IvyOra Display', 'Ivyora Display', 'IvyOra', 'Instrument Serif', 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 600;
}

body.dark-theme .skill-step-heading {
  color: #ffffff;
}

/* Middle Node Circle on the Line (Small Crisp Arrow) */
.skill-timeline-node {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.skill-node-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.60rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.skill-node-circle i {
  font-size: 0.60rem;
  line-height: 1;
}

body.dark-theme .skill-node-circle {
  background: #18181b;
  border-color: #3f3f46;
  color: #71717a;
}

/* Node Active State (Turns #0E100F when Scrolled) */
.skills-timeline-item.is-active .skill-node-circle {
  background: #0E100F;
  border-color: #0E100F;
  color: #FFFCE1;
  box-shadow: 0 0 0 5px rgba(14, 16, 15, 0.15), 0 3px 10px rgba(14, 16, 15, 0.3);
  transform: scale(1.05);
}

/* Right Column: Title and Tools Grid */
.skill-item-right {
  padding-left: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.skill-right-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.45vw, 1.42rem);
  font-weight: 500;
  color: var(--text-heading, #111827);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  line-height: 1.3;
}

body.dark-theme .skill-right-title {
  color: #ffffff;
}

/* Skill Tools Grid (Pills - No Hover per User Request) */
.skill-tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 740px;
}

.skill-tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #1f2937;
  box-shadow: none;
  cursor: default;
  user-select: none;
  transition: none !important;
}

.skill-tool-pill i {
  font-size: 0.95rem;
  color: #6b7280;
}

/* Ensure no hover animation/color change */
.skill-tool-pill:hover {
  transform: none !important;
  border-color: #e5e7eb !important;
  color: #1f2937 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.skill-tool-pill:hover i {
  color: #6b7280 !important;
}

body.dark-theme .skill-tool-pill {
  background: #18181b;
  border-color: #27272a;
  color: #e4e4e7;
}

body.dark-theme .skill-tool-pill i {
  color: #a1a1aa;
}

body.dark-theme .skill-tool-pill:hover {
  background: #18181b !important;
  border-color: #27272a !important;
  color: #e4e4e7 !important;
  transform: none !important;
  box-shadow: none !important;
}

body.dark-theme .skill-tool-pill:hover i {
  color: #a1a1aa !important;
}

/* Responsive Media Queries */
@media (max-width: 860px) {
  .skills-vertical-track {
    left: 20px;
    width: 4px;
  }

  .skills-timeline-item {
    grid-template-columns: 36px 1fr;
    gap: 16px;
    align-items: flex-start;
  }

  .skill-item-left {
    grid-column: 2;
    text-align: left;
    padding-right: 0;
    margin-bottom: 6px;
    justify-content: flex-start;
  }

  .skill-timeline-node {
    grid-column: 1;
    grid-row: 1 / span 2;
    justify-content: flex-start;
    padding-top: 4px;
  }

  .skill-node-circle {
    width: 30px;
    height: 30px;
    font-size: 0.58rem;
    border-width: 2px;
  }

  .skill-item-right {
    grid-column: 2;
    padding-left: 0;
  }

  .skills-timeline-items {
    gap: 46px;
  }
}

/* ================= MARKETING PHILOSOPHY MANIFESTO SECTION (#0E100F) ================= */
#philosophy,
.marketing-philosophy-section,
body.light-theme #philosophy,
body.light-theme .marketing-philosophy-section,
body.dark-theme #philosophy,
body.dark-theme .marketing-philosophy-section {
  position: relative;
  background-color: #0E100F !important;
  color: #FFFCE1 !important;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(70px, 10vh, 120px) 0;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border-top: 1px solid rgba(255, 252, 225, 0.08);
  border-bottom: 1px solid rgba(255, 252, 225, 0.08);
  z-index: 2;
}

.marketing-philosophy-section .container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 48px);
  box-sizing: border-box;
  position: relative;
  z-index: 3;
}

.philosophy-content-wrap {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4.5vh, 54px);
  text-align: left;
  position: relative;
  z-index: 3;
}

.philosophy-text {
  font-family: 'Neue Montreal', 'PP Neue Montreal', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.85rem, 3.1vw, 3.0rem);
  line-height: 1.38;
  letter-spacing: -0.025em;
  color: #FFFCE1 !important;
  margin: 0;
  font-weight: 400;
  will-change: transform, opacity;
}

.philosophy-text-lead {
  font-weight: 500;
  color: #FFFCE1 !important;
}

.philosophy-text-highlight {
  font-weight: 400;
  color: rgba(255, 252, 225, 0.94) !important;
}

.philosophy-em {
  font-family: 'Instrument Serif', 'IvyOra Display', 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: #FFFCE1 !important;
  letter-spacing: 0.01em;
}

/* Dynamic Crisp Green Highlight & Letter-by-Letter 3D Wave (Zero Glow) */
.philosophy-flip-word,
.philosophy-glow-word {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  color: #FFFCE1;
  text-shadow: none !important;
  cursor: pointer;
  user-select: none;
  vertical-align: baseline;
}

.phil-char {
  display: inline-block;
  color: #FFFCE1;
  transform-style: preserve-3d;
  perspective: 500px;
  transform-origin: 50% 50%;
  backface-visibility: visible;
  will-change: transform, color;
  text-shadow: none !important;
  box-shadow: none !important;
  filter: none !important;
  vertical-align: baseline;
}

.phil-char.is-green {
  color: #00f521 !important;
}

.phil-space {
  display: inline-block;
  width: 0.28em;
}

.philosophy-flip-word:hover .phil-char,
.philosophy-glow-word:hover .phil-char {
  color: #00f521;
}

/* ================= INLINE LETTER INSERTION & SEPARATION ================= */
.phil-char-insert-gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0;
  height: 0.9em;
  margin: 0;
  vertical-align: middle;
  position: relative;
  overflow: visible;
  pointer-events: none;
  transform: translateY(-0.06em);
  will-change: width, margin;
}

.phil-inserted-shape {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(28px, 2.5vw, 42px);
  height: clamp(28px, 2.5vw, 42px);
  transform: scale(0) rotate(-45deg);
  opacity: 0;
  transform-origin: center center;
  will-change: transform, opacity;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5));
}

.phil-inserted-shape svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 768px) {
  .marketing-philosophy-section {
    min-height: auto;
    padding: clamp(80px, 12vh, 110px) 0;
  }

  .marketing-philosophy-section .container {
    padding: 0 24px;
  }

  .philosophy-content-wrap {
    gap: 28px;
  }

  .philosophy-text {
    font-size: clamp(1.45rem, 6vw, 1.95rem);
    line-height: 1.44;
  }
}

/* ================= CASE STUDY SECTION (FANNED MINIMAL & FLAT DECK) ================= */
#casestudy,
.case-studies-fanned-section {
  position: relative;
  background-color: #F6F5F0 !important;
  color: #0E100F;
  padding: clamp(80px, 10vh, 120px) 0 40px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.dark-theme #casestudy,
body.dark-theme .case-studies-fanned-section {
  background-color: #0A0C0B !important;
  color: #FFFCE1;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.cs-fanned-header {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 0 clamp(20px, 4vw, 48px);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cs-fanned-header .ref-badge {
  margin-bottom: 18px;
}

.cs-fanned-title {
  font-family: 'Neue Montreal', 'PP Neue Montreal', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 500;
  color: #0E100F;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 14px 0;
  display: flex;
  align-items: baseline;
  gap: 0.28em;
  justify-content: center;
  text-transform: none;
  cursor: pointer;
  user-select: none;
}

.cs-word-case,
.cs-word-studies {
  display: inline-flex;
  align-items: baseline;
}

.cs-char {
  display: inline-block;
  will-change: transform;
  transform-origin: center bottom;
}

.cs-char-e {
  transform-origin: center bottom;
  display: inline-block;
  will-change: transform;
}

.cs-ampersand-wrap {
  display: inline-flex;
  align-items: baseline;
  position: relative;
  z-index: 5;
}

.cs-ampersand {
  font-family: 'Instrument Serif', 'IvyOra Display', 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #0E100F;
  display: inline-block;
  transform-origin: center bottom;
  will-change: transform;
  padding: 0 0.06em;
}

.cs-char-S {
  transform-origin: center bottom;
  display: inline-block;
  will-change: transform;
}

body.dark-theme .cs-fanned-title,
body.dark-theme .cs-ampersand {
  color: #FFFCE1;
}

/* 2-Line Section Subtitle / Description */
.cs-fanned-desc {
  font-family: 'Neue Montreal', 'PP Neue Montreal', 'Inter', sans-serif;
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  color: rgba(14, 16, 15, 0.68);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 12px;
  font-weight: 400;
  text-align: center;
  letter-spacing: -0.01em;
}

body.dark-theme .cs-fanned-desc {
  color: rgba(255, 252, 225, 0.72);
}

@media (max-width: 768px) {
  .cs-desc-br {
    display: none;
  }
}

/* ================= 2 RAVE ACID Y2K TAPE LABELS (MASSIVE FULL-HEIGHT FONTS, NO ANIMATION) ================= */
.cs-vibe-tapes-wrap {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 138px;
  margin-top: clamp(80px, 9vw, 120px);
  margin-bottom: clamp(-185px, -15vw, -155px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  user-select: none;
  box-shadow: none !important;
}

.cs-vibe-tape {
  position: absolute;
  width: 145vw;
  height: clamp(56px, 5.8vw, 68px);
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.2vw, 44px);
  overflow: hidden;
  transform-origin: center center;
  box-shadow: none !important;
  border: none !important;
  white-space: nowrap;
  animation: none !important;
}

/* Tape 1: Neon Lime -> Orange -> Pink Gradient */
.cs-tape-top {
  background: linear-gradient(90deg, #CCFF00 0%, #FF9900 38%, #FF3300 68%, #FF007A 88%, #CCFF00 100%);
  transform: rotate(-2.6deg);
  z-index: 1;
}

/* Tape 2: Electric Blue -> Neon Cyan -> Green Gradient */
.cs-tape-bottom {
  background: linear-gradient(90deg, #0044FF 0%, #00FFCC 32%, #0066FF 65%, #7000FF 85%, #00D2FF 100%);
  transform: rotate(2.2deg);
  z-index: 2;
}

/* Y2K Diagonal Hazard Stripes */
.cs-vibe-stripes {
  width: clamp(100px, 10vw, 150px);
  height: 100%;
  background: repeating-linear-gradient(-45deg, #FF60B5 0px, #FF60B5 14px, #CCFF00 14px, #CCFF00 28px);
  flex-shrink: 0;
}

/* Y2K Checkerboard Block */
.cs-vibe-checker {
  width: clamp(60px, 6.5vw, 76px);
  height: 100%;
  background: repeating-conic-gradient(#7000FF 0% 25%, #CCFF00 0% 50%) 50% / 22px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cs-vibe-checker.checker-purple-cyan {
  background: repeating-conic-gradient(#7000FF 0% 25%, #00F0FF 0% 50%) 50% / 22px 22px;
}

/* Y2K Cyber Stars & Tribal Glyphs */
.cs-y2k-star {
  width: clamp(36px, 4.2vw, 48px);
  height: clamp(36px, 4.2vw, 48px);
  flex-shrink: 0;
}

.cs-y2k-tribal {
  width: clamp(36px, 4.2vw, 48px);
  height: clamp(36px, 4.2vw, 48px);
  flex-shrink: 0;
}

/* Y2K Digital Barcode */
.cs-y2k-barcode {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 10px;
  flex-shrink: 0;
}

/* Melting Face & Doodles */
.cs-vibe-doodle-face {
  width: clamp(40px, 4.6vw, 52px);
  height: clamp(40px, 4.6vw, 52px);
  flex-shrink: 0;
}

.cs-vibe-doodle-box {
  width: clamp(52px, 5.8vw, 66px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cs-vibe-skull {
  width: clamp(42px, 4.8vw, 54px);
  height: clamp(42px, 4.8vw, 54px);
}

/* Massive Full-Height Typography Styles matching the reference image */
.cs-txt-solid-black {
  font-family: 'Syne', 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 4.4vw, 50px);
  font-weight: 900;
  color: #000000;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.92;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.cs-txt-outline {
  font-family: 'Syne', 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 4.4vw, 50px);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2.2px #000000;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 0.92;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.cs-txt-outline-blue {
  font-family: 'Syne', 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 4.4vw, 50px);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2.2px #002BFF;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 0.92;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.cs-txt-cyan-sparkle {
  font-family: 'Syne', 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 900;
  color: #000000;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 0.92;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

/* Massive 2026 Display Badge with Hot-Pink Scribble Slash */
.cs-vibe-tag-2026 {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', 'Outfit', sans-serif;
  font-size: clamp(42px, 5.5vw, 62px);
  font-weight: 900;
  color: #FF007A;
  -webkit-text-stroke: 2.2px #000000;
  letter-spacing: -0.05em;
  line-height: 0.88;
  white-space: nowrap;
  padding: 0 8px;
  flex-shrink: 0;
}

.cs-vibe-tag-2026 .vibe-scribble {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-10deg);
  width: 125%;
  height: 100%;
  pointer-events: none;
}

@media (max-width: 768px) {
  .cs-vibe-tapes-wrap {
    height: 105px;
    margin-top: 50px;
    margin-bottom: -100px;
  }
  .cs-vibe-tape {
    height: 44px;
    gap: 16px;
  }
  .cs-txt-solid-black,
  .cs-txt-outline,
  .cs-txt-outline-blue,
  .cs-txt-cyan-sparkle {
    font-size: 24px;
    -webkit-text-stroke-width: 1.5px;
  }
  .cs-vibe-tag-2026 {
    font-size: 30px;
    -webkit-text-stroke-width: 1.5px;
  }
  .cs-y2k-star,
  .cs-y2k-tribal {
    width: 24px;
    height: 24px;
  }
  .cs-vibe-stripes {
    width: 70px;
  }
  .cs-vibe-checker {
    width: 44px;
  }
}

/* Deck Wrapper & Container */
.cs-fanned-deck-wrapper {
  position: relative;
  width: 100%;
  min-height: 640px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 20px;
  overflow: visible;
  padding-bottom: 0;
}

.cs-fanned-deck {
  position: relative;
  width: 100%;
  max-width: 1240px;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

/* Minimal Flat Case Card */
.cs-fanned-card {
  position: absolute;
  width: 380px;
  max-width: 90vw;
  height: 560px;
  bottom: -220px;
  border-radius: 36px;
  padding: 26px 24px 22px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transform-origin: center 90%;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: none !important;
  border: none;
  user-select: none;
  transition: none;
}

.cs-fanned-card:hover {
  box-shadow: none !important;
}

.cs-fanned-card.is-active-risen {
  box-shadow: none !important;
  cursor: default;
}

/* Card Flat Vibrant Color Schemes matching Reference */
.cs-fanned-card.card-lime {
  background-color: #CCFF00 !important;
  color: #0E100F;
}

.cs-fanned-card.card-powder {
  background-color: #A3E3FF !important;
  color: #0E100F;
}

.cs-fanned-card.card-coral {
  background-color: #FFA781 !important;
  color: #0E100F;
}

.cs-fanned-card.card-violet {
  background-color: #D8B4FE !important;
  color: #0E100F;
}

.cs-fanned-card.card-cyan {
  background-color: #85E8DC !important;
  color: #0E100F;
}

/* Inner Card Structure */
.cs-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

/* Top Bar: 2 Pill Badges Left + 1 Dark Round Icon Right */
.cs-card-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  width: 100%;
}

.cs-card-tags {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cs-tag-pill {
  background: #FFFFFF;
  color: #0E100F;
  font-family: 'PP Neue Montreal', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
}

.cs-card-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0E100F;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  flex-shrink: 0;
}

/* Large Bold Title */
.cs-card-title {
  font-family: 'PP Neue Montreal', 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: clamp(1.85rem, 2.3vw, 2.25rem);
  font-weight: 800;
  color: #0E100F;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 0 12px 0;
  text-align: left;
}

/* 2-line Sub Text */
.cs-card-subtext {
  font-family: 'PP Neue Montreal', 'Inter', sans-serif;
  font-size: 0.98rem;
  line-height: 1.38;
  color: rgba(14, 16, 15, 0.88);
  font-weight: 500;
  margin: 0 0 18px 0;
  text-align: left;
  letter-spacing: -0.01em;
}

/* Rounded Bottom Cover Image */
.cs-card-cover-wrap {
  position: relative;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  height: 250px;
  background-color: rgba(0, 0, 0, 0.08);
  margin-top: auto;
  transform: translateZ(0);
}

.cs-card-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: translateZ(0) !important;
  transition: none !important;
}

/* Floating Frosted Pill Button over Image */
.cs-floating-pill-btn {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 16, 15, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 5px 6px 5px 18px;
  text-decoration: none;
  color: #FFFFFF;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease;
  z-index: 5;
  cursor: pointer;
  transform: translateZ(0);
}

.btn-pill-label {
  font-family: 'PP Neue Montreal', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.90rem;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.btn-pill-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #0E100F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.cs-floating-pill-btn:hover {
  background: rgba(14, 16, 15, 0.92);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px) translateZ(0);
}

.cs-floating-pill-btn:hover .btn-pill-arrow {
  transform: translateX(3px);
  background: #CCFF00;
  color: #0E100F;
}

/* Responsive Case Studies */
@media (max-width: 1024px) {
  .cs-fanned-card {
    width: 340px;
    height: 520px;
    padding: 22px 20px 18px;
  }

  .cs-card-title {
    font-size: 1.85rem;
  }

  .cs-card-cover-wrap {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .cs-fanned-header {
    min-height: auto;
    margin-bottom: 20px;
  }

  .cs-fanned-deck-wrapper {
    min-height: 540px;
  }

  .cs-fanned-deck {
    height: 520px;
  }

  .cs-fanned-card {
    width: 310px;
    height: 480px;
    bottom: -190px;
    padding: 20px 18px 16px;
    border-radius: 28px;
  }

  .cs-card-top-bar {
    margin-bottom: 16px;
  }

  .cs-card-title {
    font-size: 1.55rem;
  }

  .cs-card-subtext {
    font-size: 0.88rem;
    margin-bottom: 14px;
  }

  .cs-card-cover-wrap {
    height: 200px;
    border-radius: 22px;
  }

  .cs-floating-pill-btn {
    bottom: 10px;
    left: 10px;
    padding: 4px 5px 4px 14px;
  }

  .btn-pill-label {
    font-size: 0.82rem;
  }

  .btn-pill-arrow {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
}

/* ================= EXPERIENCE SECTION (CLEAN MINIMAL WHITE LIST) ================= */
#experience {
  position: relative;
  background-color: var(--bg-primary, #ffffff) !important;
  color: var(--text-heading, #1F1515);
  box-shadow: none !important;
  padding: 80px 0 100px;
}

.exp-header-clean {
  max-width: 960px;
  margin: 0 auto 18px;
  text-align: left;
}

.exp-clean-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 500;
  color: var(--text-heading, #1F1515);
  letter-spacing: -0.02em;
  margin-bottom: 0;
  opacity: 1;
}

.experience-list-minimal {
  display: flex;
  flex-direction: column;
  max-width: 960px;
  margin: 0 auto;
  border-top: 1px solid var(--border-color, rgba(0, 0, 0, 0.09));
}

.exp-minimal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 14px;
  border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.09));
  gap: 28px;
}

.exp-left-title {
  flex: 1;
}

/* Large & Faded Typography as per user request */
.exp-role-title {
  font-family: var(--font-heading);
  font-size: 1.95rem;
  font-weight: 400;
  color: rgba(31, 21, 21, 0.55);
  letter-spacing: -0.02em;
  margin-bottom: 0;
  line-height: 1.28;
}

body.dark-theme .exp-role-title {
  color: rgba(255, 255, 255, 0.55);
}

.exp-right-company {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  flex-shrink: 0;
}

.exp-company-name {
  font-family: var(--font-heading);
  font-size: 1.95rem;
  font-weight: 400;
  color: rgba(31, 21, 21, 0.55);
  letter-spacing: -0.02em;
  line-height: 1.28;
}

body.dark-theme .exp-company-name {
  color: rgba(255, 255, 255, 0.55);
}

.exp-date-range {
  font-size: 0.95rem;
  color: rgba(31, 21, 21, 0.38);
  font-weight: 400;
  margin-top: 5px;
  letter-spacing: 0.01em;
}

body.dark-theme .exp-date-range {
  color: rgba(255, 255, 255, 0.38);
}

@media (max-width: 768px) {
  .exp-minimal-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 26px 8px;
  }

  .exp-role-title {
    font-size: 1.55rem;
  }

  .exp-right-company {
    align-items: flex-start;
    text-align: left;
  }

  .exp-company-name {
    font-size: 1.45rem;
  }
}

/* ================= ABOUT ME / WHY CHOOSE (STICKY SCROLL EXPERIENCE) ================= */
.ref-about-section {
  position: relative;
  background-color: #fbfbfe !important;
  min-height: 240vh;
  padding: 0 0 120px 0;
  z-index: 10;
}

body.dark-theme .ref-about-section {
  background-color: #0c0e12 !important;
}

.ref-about-container {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  min-height: 240vh;
  padding: 0 24px;
}

/* Central Sticky Header (Reveals first on entry and stays pinned) */
.ref-center-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: sticky;
  top: 34vh;
  z-index: 1;
  pointer-events: none;
  padding: 20px;
}

/* ================= UNIFIED SECTION NAME PILL BADGES ================= */
.ref-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 5px 18px 5px 6px;
  border-radius: var(--radius-full, 9999px);
  background: #eceef1;
  border: none !important;
  color: #18181b;
  font-family: var(--font-heading, 'Neue Montreal', sans-serif);
  font-size: 1.02rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.015em;
  line-height: 1;
  margin-bottom: 20px;
  box-shadow: none !important;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  -webkit-font-smoothing: antialiased;
}

.text-center .ref-badge,
.skills-section-header .ref-badge,
.modern-process-header .ref-badge,
.ref-center-content .ref-badge,
.exp-header-clean .ref-badge {
  margin-left: auto;
  margin-right: auto;
}

.ref-badge-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  border: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #18181b;
  font-size: 0.86rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.ref-badge-text {
  font-family: var(--font-heading, 'Neue Montreal', sans-serif);
  font-size: 1.02rem;
  font-weight: 400;
  color: #18181b;
  line-height: 1;
  letter-spacing: -0.015em;
}

/* Dark Theme & Dark Section Overrides (About, Certifications, Modal, Dark Mode) */
.about-exact-section .ref-badge,
.cert-section .ref-badge,
.all-cert-modal .ref-badge,
.hero-case-study-card .ref-badge,
body.dark-theme .ref-badge {
  background: #222226;
  border: none !important;
  color: #ffffff;
}

.about-exact-section .ref-badge-icon,
.cert-section .ref-badge-icon,
.all-cert-modal .ref-badge-icon,
.hero-case-study-card .ref-badge-icon,
body.dark-theme .ref-badge-icon {
  background: rgba(255, 255, 255, 0.14);
  border: none !important;
  color: #ffffff;
  box-shadow: none;
}

.about-exact-section .ref-badge-text,
.cert-section .ref-badge-text {
  color: #FFFCE1 !important;
}

.about-exact-section .ref-badge-icon,
.cert-section .ref-badge-icon {
  color: #FFFCE1 !important;
}

.all-cert-modal .ref-badge-text,
.hero-case-study-card .ref-badge-text,
body.dark-theme .ref-badge-text {
  color: #ffffff;
}

.ref-main-title {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 400;
  color: #000000;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 16px;
}

body.dark-theme .ref-main-title {
  color: #ffffff;
}

.ref-main-desc {
  font-size: 1.08rem;
  font-weight: 350;
  line-height: 1.65;
  color: #64748b;
  max-width: 580px;
  margin: 0 auto;
}

body.dark-theme .ref-main-desc {
  color: #94a3b8;
}

/* Staggered Floating Cards Grid */
.ref-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  position: relative;
  z-index: 2;
  margin-top: 50vh;
  /* Starts below viewport so title is revealed first */
  padding-bottom: 120px;
}

.ref-cards-col {
  display: flex;
  flex-direction: column;
}

.col-left {
  gap: 260px;
  align-items: flex-start;
}

.col-right {
  gap: 260px;
  align-items: flex-end;
  margin-top: 260px;
  /* Offset stagger as shown in reference */
}

/* True Liquid Glass Card (Translucent, Refractive, Crystal-Clear Glassmorphism) */
.ref-glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.12) 100%) !important;
  backdrop-filter: blur(8px) saturate(180%) brightness(104%) !important;
  -webkit-backdrop-filter: blur(8px) saturate(180%) brightness(104%) !important;
  border: 1px solid rgba(255, 255, 255, 0.65) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.90) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.75) !important;
  border-radius: 32px;
  padding: 44px 40px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.06), inset 0 1px 2px rgba(255, 255, 255, 0.8), inset 0 -1px 2px rgba(0, 0, 0, 0.02) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

body.dark-theme .ref-glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
  backdrop-filter: blur(10px) saturate(180%) brightness(108%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(180%) brightness(108%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 24px 50px -15px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
}

.ref-glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 28px 55px -12px rgba(0, 0, 0, 0.08), inset 0 1px 3px rgba(255, 255, 255, 0.9) !important;
}

body.dark-theme .ref-glass-card:hover {
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 28px 55px -12px rgba(0, 0, 0, 0.7), inset 0 1px 2px rgba(255, 255, 255, 0.35) !important;
}

/* Card Header */
.ref-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.ref-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #000000;
}

body.dark-theme .ref-icon-box {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: #38bdf8;
}

.ref-index {
  font-size: 0.90rem;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: 0.02em;
}

body.dark-theme .ref-index {
  color: #94a3b8;
}

.ref-card-title {
  font-family: var(--font-heading);
  font-size: 1.40rem;
  font-weight: 600;
  color: #000000;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0 0 14px;
}

body.dark-theme .ref-card-title {
  color: #ffffff;
}

.ref-card-desc {
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.68;
  color: #4b5563;
  margin-bottom: 0;
}

body.dark-theme .ref-card-desc {
  color: #cbd5e1;
}

@media (max-width: 992px) {

  .ref-about-section,
  .ref-about-container {
    min-height: auto;
  }

  .ref-center-content {
    position: relative;
    top: 0;
    margin-bottom: 40px;
    padding-top: 80px;
  }

  .ref-main-title {
    font-size: 2.6rem;
  }

  .ref-cards-grid {
    margin-top: 0;
    gap: 40px;
  }

  .col-left {
    gap: 80px;
  }

  .col-right {
    gap: 80px;
    margin-top: 100px;
  }
}

@media (max-width: 768px) {
  .ref-about-section {
    padding: 80px 0;
    min-height: auto;
  }

  .ref-about-container {
    min-height: auto;
  }

  .ref-center-content {
    position: relative;
    top: 0;
    margin-bottom: 40px;
    padding-top: 0;
  }

  .ref-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 0;
    padding-bottom: 0;
  }

  .col-left,
  .col-right {
    gap: 24px;
    margin-top: 0;
    align-items: center;
  }

  .ref-glass-card {
    max-width: 100%;
  }
}

/* ================= ALL SUBSEQUENT SECTIONS (SOLID BACKGROUND & PROPER Z-INDEX) ================= */
#proposal,
#testimonials,
#faq,
#blog,
.cta-banner-section,
.site-footer {
  background-color: var(--bg-primary) !important;
  position: relative;
  z-index: 10;
}

#testimonials {
  background-color: var(--bg-surface-alt) !important;
}

/* ================= CLIENT TESTIMONIALS SECTION (STICKY HORIZONTAL SCROLL) ================= */
#testimonials,
.testimonials-scroll-container {
  position: relative;
  background-color: var(--bg-surface-alt, #fafafc) !important;
  border-top: 1px solid var(--border-color, rgba(0, 0, 0, 0.06));
  border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.06));
  padding: 0;
  margin: 0;
  z-index: 10;
  width: 100%;
  max-width: 100vw;
  min-height: 250vh;
  box-sizing: border-box;
}

body.dark-theme #testimonials,
body.dark-theme .testimonials-scroll-container {
  background-color: #0c0e12 !important;
  border-color: rgba(255, 255, 255, 0.06);
}

.testimonials-sticky-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  padding: 40px 0;
  z-index: 10;
}

.testimonials-header-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  flex-shrink: 0;
}

/* Header with Left-Aligned Title and Right-Side Arrow Controls */
.testimonials-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding: 0;
}

.testimonials-header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feedback-sub-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted, #64748b);
  margin-bottom: 12px;
}

body.dark-theme .feedback-sub-tag {
  color: #94a3b8;
}

.feedback-blue-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #38bdf8;
  display: inline-block;
}

.testimonials-title-left {
  text-align: left !important;
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 350 !important;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.testimonials-title-left .gradient-text {
  font-weight: 400 !important;
}

.testimonials-header-arrows {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.t-arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface, #ffffff);
  color: var(--text-heading);
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark-theme .t-arrow-btn {
  background: #141821;
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.t-arrow-btn:hover {
  background: transparent;
  color: #000000;
  border-color: #000000;
  transform: scale(1.06);
}

body.dark-theme .t-arrow-btn:hover {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
  transform: scale(1.06);
}

.t-arrow-btn:active {
  transform: scale(0.95);
}

/* Full Screen Edge-to-Edge Carousel */
.testimonials-carousel-wrapper {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin: 12px 0 0;
  overflow: visible;
  padding: 0;
  flex-shrink: 0;
}

.testimonials-carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 10px max(24px, calc((100vw - 1240px) / 2 + 24px)) 20px max(24px, calc((100vw - 1240px) / 2 + 24px));
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: none;
}

.testimonial-card {
  flex: 0 0 415px;
  min-width: 415px;
  max-width: 415px;
  width: 415px;
  background: var(--bg-surface, #ffffff);
  border: none !important;
  border-radius: 28px;
  padding: 38px 32px;
  min-height: 400px;
  max-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: none !important;
  transition: none;
  box-sizing: border-box;
}

body.dark-theme .testimonial-card {
  background: #141821;
  border: none !important;
  box-shadow: none !important;
}

.testimonial-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* First Card: Featured CTA (5 Stars + CTA Only, Bottom #3e8dc7 to Top White Gradient) */
.testimonial-cta-card {
  background: linear-gradient(to top, #3e8dc7 0%, rgba(62, 141, 199, 0.45) 45%, #ffffff 90%) !important;
  border: none !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

body.dark-theme .testimonial-cta-card {
  background: linear-gradient(to top, #3e8dc7 0%, rgba(20, 24, 33, 0.95) 55%, #141821 100%) !important;
  border: none !important;
}

.cta-stars-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 24px;
}

.cta-stars-header .testimonial-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-size: 0.95rem;
  color: #f59e0b;
}

.cta-card-actions {
  margin-top: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-pill-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff !important;
  color: #000000 !important;
  padding: 12px 22px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.cta-pill-white:hover {
  transform: translateY(-2px);
  background: #ffffff !important;
  color: #000000 !important;
  border: none !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12) !important;
}

.cta-green-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  display: inline-block;
  animation: pulseGreenDot 2s infinite ease-in-out;
}

@keyframes pulseGreenDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.cta-corner-arrow {
  font-size: 0.84rem;
  transform: rotate(-45deg);
  display: inline-block;
  transition: transform 0.25s ease;
  margin-left: 2px;
}

.cta-pill-white:hover .cta-corner-arrow {
  transform: rotate(-45deg) translate(2px, -2px);
}

/* Testimonial Cards Layout */
.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  font-size: 0.95rem;
}

.testimonial-result-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: #059669;
  background: rgba(5, 150, 105, 0.09);
  padding: 6px 14px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

.testimonial-quote {
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--text-heading, #1f1515);
  font-weight: 400;
  margin-bottom: 32px;
  flex-grow: 1;
}

body.dark-theme .testimonial-quote {
  color: #e2e8f0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: none !important;
  padding-top: 0 !important;
  margin-top: auto;
}

body.dark-theme .testimonial-author {
  border-top: none !important;
}

.author-avatar-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
  border: 2px solid rgba(2, 132, 199, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.dark-theme .author-avatar-box {
  background: #1e293b;
  border-color: rgba(56, 189, 248, 0.25);
}

.author-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.author-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.2;
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.author-country-flag {
  font-size: 1.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.author-role {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 3px;
  margin-bottom: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.author-linkedin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-muted, #64748b);
  font-size: 1.05rem;
  text-decoration: none;
  flex-shrink: 0;
  margin-left: auto;
  transition: all 0.2s ease;
  box-shadow: none !important;
}

.author-linkedin-link:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--text-heading, #111827);
  transform: none;
}

body.dark-theme .author-linkedin-link {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
}

body.dark-theme .author-linkedin-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

@media (max-width: 1200px) {
  .testimonial-card {
    flex: 0 0 380px;
    min-width: 380px;
    max-width: 380px;
  }
}

@media (max-width: 768px) {
  .testimonials-sticky-wrapper {
    padding: 24px 0;
  }

  .testimonials-header-container {
    padding: 0 20px !important;
  }

  .testimonials-header-row {
    margin-bottom: 16px;
  }

  .testimonials-title-left {
    font-size: 1.75rem;
  }

  .testimonials-carousel-track {
    gap: 16px;
    padding: 10px 20px 16px 20px;
  }

  .testimonial-card {
    flex: 0 0 calc(100vw - 40px);
    min-width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    min-height: 360px;
    max-height: 400px;
    padding: 30px 24px;
  }
}

/* ================= MODERN EDITORIAL FAQ SECTION (2-COLUMN REFERENCE STYLE) ================= */
.modern-faq-section {
  position: relative;
  background-color: var(--bg-surface, #ffffff);
  border-top: 1px solid var(--border-color, rgba(0, 0, 0, 0.06));
  padding: 120px 0 130px;
}

body.dark-theme .modern-faq-section {
  background-color: #0c0e12;
  border-color: rgba(255, 255, 255, 0.06);
}

.modern-faq-container {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 80px;
  align-items: start;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Left Column */
.modern-faq-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: sticky;
  top: 100px;
}

.faq-sub-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted, #64748b);
  margin-bottom: 16px;
}

body.dark-theme .faq-sub-tag {
  color: #94a3b8;
}

.faq-blue-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #38bdf8;
  display: inline-block;
}

.faq-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 3.8vw, 3.4rem);
  font-weight: 400;
  color: #000000;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 32px 0;
  text-align: left;
}

body.dark-theme .faq-main-title {
  color: #ffffff;
}

.faq-cta-wrapper {
  display: flex;
  align-items: center;
}

.faq-ask-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  padding: 14px 26px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.faq-btn-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #38bdf8;
  display: inline-block;
}

.faq-btn-arrow {
  font-size: 0.85rem;
  transform: rotate(-45deg);
  display: inline-block;
  transition: transform 0.25s ease;
}

.faq-ask-btn:hover {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: none !important;
}

.faq-ask-btn:hover .faq-btn-arrow {
  color: #ffffff !important;
  transform: rotate(-45deg) translate(2px, -2px);
}

.faq-ask-btn:hover .faq-btn-dot {
  background-color: #38bdf8 !important;
}

body.dark-theme .faq-ask-btn {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

body.dark-theme .faq-ask-btn:hover {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: none !important;
}

/* Right Column: Minimalist Accordion List */
.modern-faq-right {
  width: 100%;
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-top: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
}

body.dark-theme .faq-accordion-list {
  border-color: rgba(255, 255, 255, 0.08);
}

.faq-item {
  width: 100%;
  border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
  transition: background-color 0.2s ease;
}

body.dark-theme .faq-item {
  border-color: rgba(255, 255, 255, 0.08);
}

.faq-question-btn {
  width: 100%;
  padding: 30px 0;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  text-align: left;
  user-select: none;
}

.faq-q-text {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 1.9vw, 1.58rem);
  font-weight: 400;
  color: #000000;
  letter-spacing: -0.025em;
  line-height: 1.3;
  transition: color 0.25s ease, font-weight 0.25s ease;
}

body.dark-theme .faq-q-text {
  color: #f1f5f9;
}

.faq-item.active .faq-q-text {
  color: #000000;
  font-weight: 450;
}

body.dark-theme .faq-item.active .faq-q-text {
  color: #ffffff;
}

.faq-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.035);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

body.dark-theme .faq-icon-circle {
  background: rgba(255, 255, 255, 0.08);
}

.faq-question-btn:hover .faq-icon-circle {
  background: rgba(0, 0, 0, 0.07);
}

body.dark-theme .faq-question-btn:hover .faq-icon-circle {
  background: rgba(255, 255, 255, 0.14);
}

.faq-icon {
  font-size: 0.90rem;
  color: #6b7280;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

body.dark-theme .faq-icon {
  color: #94a3b8;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #000000;
}

body.dark-theme .faq-item.active .faq-icon {
  color: #ffffff;
}

/* Super Smooth Dynamic Height Expansion (CSS Grid 0fr -> 1fr) */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), padding-bottom 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  padding-bottom: 0;
}

.faq-item.active .faq-answer-inner {
  opacity: 1;
  transform: translateY(0);
  padding-bottom: 30px;
}

.faq-answer p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #4b5563;
  margin: 0;
  font-weight: 350;
}

body.dark-theme .faq-answer p {
  color: #94a3b8;
}

.faq-answer p strong {
  color: #000000;
  font-weight: 500;
}

body.dark-theme .faq-answer p strong {
  color: #ffffff;
}

@media (max-width: 992px) {
  .modern-faq-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .modern-faq-left {
    position: relative;
    top: 0;
  }

  .modern-faq-section {
    padding: 90px 0 100px;
  }
}

/* ================= BLOG SECTION ================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: #1F1515;
}

.blog-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.blog-category {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.read-time {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.blog-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-excerpt {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.blog-author {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-read-blog {
  background: transparent;
  color: #1F1515;
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

body.dark-theme .btn-read-blog {
  color: #ffffff;
}

.btn-read-blog:hover {
  gap: 10px;
}

/* ================= CTA BANNER ================= */
.cta-banner-section {
  padding-bottom: 80px;
}

/* ================= SLEEK SOLID BLACK FULL-WIDTH FOOTER WITH DYNAMIC MORPHING TOP CURVE ================= */
.footer-wrapper-outer {
  width: 100%;
  max-width: 100%;
  margin: 60px 0 0;
  padding: 0;
  position: relative;
  overflow: hidden;
}

/* Dynamic Ultra-High Continuous Dome Curve (Morphs to Straight Line at Screen Top) */
.footer-top-curve-wrapper {
  width: 100%;
  max-width: 100%;
  height: clamp(180px, 24vw, 320px);
  margin-bottom: -1px;
  position: relative;
  overflow: visible;
  pointer-events: none;
  display: block;
}

.footer-top-curve-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.site-footer-dark {
  background: #000000;
  color: #ffffff;
  border-radius: 0;
  padding: 60px 0 70px;
  width: 100%;
  border: none;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

/* ================= 3D HOLOGRAPHIC LOGO (FOOTER RIGHT BACKGROUND - NO SHADOW) ================= */
.footer-holo-bg-wrap {
  position: absolute;
  top: 100px;
  right: 0px;
  width: clamp(360px, 34vw, 520px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.88;
  perspective: 1200px;
  will-change: transform;
  animation: floatFooterHoloLogo 9s ease-in-out infinite alternate;
}

.footer-holo-bg-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  will-change: filter;
  animation: holoColorCyclePure 12s linear infinite;
  filter: none !important;
}

/* 360-Degree Chromatic Iridescent Hue Animation with Zero Shadow */
@keyframes holoColorCyclePure {
  0% {
    filter: hue-rotate(0deg) saturate(1.15) brightness(1.05);
  }

  25% {
    filter: hue-rotate(90deg) saturate(1.3) brightness(1.12);
  }

  50% {
    filter: hue-rotate(180deg) saturate(1.2) brightness(1.08);
  }

  75% {
    filter: hue-rotate(270deg) saturate(1.35) brightness(1.15);
  }

  100% {
    filter: hue-rotate(360deg) saturate(1.15) brightness(1.05);
  }
}

@keyframes floatFooterHoloLogo {
  0% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }

  50% {
    transform: translateY(-20px) rotate(-3.5deg) scale(1.03);
  }

  100% {
    transform: translateY(8px) rotate(2.5deg) scale(0.98);
  }
}

@media (max-width: 1200px) {
  .footer-holo-bg-wrap {
    width: 340px;
    top: 120px;
    right: 0px;
    opacity: 0.75;
  }
}

@media (max-width: 992px) {
  .footer-holo-bg-wrap {
    width: 270px;
    top: 140px;
    right: 0px;
    opacity: 0.65;
  }
}

@media (max-width: 640px) {
  .footer-holo-bg-wrap {
    width: 200px;
    top: 160px;
    right: 0px;
    opacity: 0.55;
  }
}

.footer-cta-container,
.footer-inner-divider,
.site-footer-dark .footer-grid,
.site-footer-dark .footer-bottom {
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 2;
}

/* Embedded CTA Card inside Footer */
.footer-cta-container {
  width: 100%;
  margin-top: 60px;
  margin-bottom: 90px;
}

.footer-cta-card {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 24px 20px;
}

.footer-cta-card .cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2.9rem, 5.6vw, 4.6rem);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 auto 32px;
  letter-spacing: -0.03em;
  max-width: 880px;
}

.footer-cta-card .cta-desc {
  font-size: 1.12rem;
  color: #94a3b8;
  max-width: 660px;
  margin: 0 auto 56px;
  line-height: 1.75;
  font-weight: 350;
}

.footer-cta-card .cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

/* ================= DUAL-SHAPE FOOTER CTA BUTTON (LEAF BADGE + PILL) ================= */
.footer-cta-dual-btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  /* Zero gap between arrow badge and pill button */
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  transition: transform 0.25s ease;
}

.footer-cta-dual-btn:hover {
  transform: translateY(-2px);
}

/* Left Leaf / Teardrop Shape Badge */
.cta-dual-badge {
  width: 58px;
  height: 58px;
  background: #ffffff;
  /* Solid white background */
  border-radius: 4px 50% 50% 50%;
  /* Leaf shape with top-left sharp point in default state */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-size: 1.25rem;
  border: 1px solid #ffffff;
  transition: border-radius 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.cta-arrow-icon {
  display: inline-block;
  transform: rotate(45deg);
  /* Points down-right (↘) in default state */
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

/* Right Pill Button */
.cta-dual-pill {
  height: 58px;
  padding: 0 42px;
  background: #ffffff;
  /* Solid white background */
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  border: 1px solid #ffffff;
  transition: background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* ================= HOVER STATES =================
   1. Left top sharp corner moves to left down (bottom-left): border-radius: 50% 50% 50% 4px
   2. Button turns solid dark with white text & arrow (NO gradient)
   3. Arrow rotates up (↗) */
.footer-cta-dual-btn:hover .cta-dual-badge {
  border-radius: 50% 50% 50% 4px;
  /* Left top sharp corner morphs to left bottom */
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
  box-shadow: none;
}

.footer-cta-dual-btn:hover .cta-arrow-icon {
  transform: rotate(-45deg);
  /* Arrow rotates up-right (↗) on hover */
  color: #000000;
}

.footer-cta-dual-btn:hover .cta-dual-pill {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
  box-shadow: none;
}

/* Inner Divider */
.footer-inner-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.10);
  margin: 70px auto 56px;
}

/* 3-Column Info Grid */
.site-footer-dark .footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.1fr 1.3fr;
  gap: 48px;
  padding-bottom: 48px;
}

/* ================= FOOTER BRAND LOGO ================= */
.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  margin-bottom: 20px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-brand-logo:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.footer-brand-logo .brand-name {
  font-family: 'Neue Montreal', 'PP Neue Montreal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.footer-brand-logo .brand-logo-icon {
  width: 36px;
  height: 36px;
  background-color: #ffffff;
}

.site-footer-dark .footer-bio {
  font-size: 0.90rem;
  margin: 0 0 22px;
  line-height: 1.65;
  max-width: 340px;
  color: #94a3b8;
  font-weight: 350;
}

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

.site-footer-dark .footer-social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.90rem;
  transition: all var(--transition-fast);
}

.site-footer-dark .footer-social-links a:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.site-footer-dark .footer-heading {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.site-footer-dark .footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer-dark .footer-links a {
  font-size: 0.90rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.site-footer-dark .footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.site-footer-dark .footer-contact-text {
  font-size: 0.90rem;
  margin-bottom: 14px;
  color: #94a3b8;
}

.site-footer-dark .contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.site-footer-dark .c-info-item {
  font-size: 0.86rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer-dark .c-info-link {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-dark .c-info-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.site-footer-dark .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0 0;
}

.site-footer-dark .footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: #64748b;
}

.site-footer-dark .footer-back-to-top a {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-dark .footer-back-to-top a:hover {
  color: #ffffff;
}

/* ================= AMBIENT FOOTER BOTTOM BLUE-WHITE GRADIENT GLOW ================= */
.footer-bottom-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: clamp(140px, 20vw, 240px);
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 85% 100% at 50% 100%, rgba(255, 255, 255, 0.629) 0%, rgba(147, 197, 253, 0.28) 25%, rgba(59, 130, 246, 0.16) 50%, rgba(37, 99, 235, 0.04) 75%, transparent 100%),
    linear-gradient(to top, rgba(59, 130, 246, 0.18) 0%, rgba(255, 255, 255, 0.06) 35%, transparent 100%);
}

.footer-bottom-glow::before {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 960px;
  height: 140px;
  background: radial-gradient(ellipse 65% 90% at 50% 100%, rgba(255, 255, 255, 0.55) 0%, rgba(186, 230, 253, 0.42) 28%, rgba(56, 189, 248, 0.22) 58%, transparent 85%);
  filter: blur(28px);
  pointer-events: none;
}

.footer-bottom-glow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 5%, rgba(56, 189, 248, 0.3) 20%, rgba(255, 255, 255, 0.85) 50%, rgba(56, 189, 248, 0.3) 80%, transparent 95%);
  opacity: 0.85;
  pointer-events: none;
}

@media (max-width: 992px) {
  .site-footer-dark .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {

  /* Completely remove footer curve effect in phone mode */
  .footer-top-curve-wrapper {
    display: none !important;
  }

  .footer-wrapper-outer {
    width: 100%;
    max-width: 100%;
    margin: 40px 0 0;
    padding: 0;
    overflow: hidden;
  }

  .site-footer-dark {
    border-radius: 0;
    padding: 50px 0 36px;
    width: 100%;
  }

  .footer-cta-container,
  .footer-inner-divider,
  .site-footer-dark .footer-grid,
  .site-footer-dark .footer-bottom {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-footer-dark .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer-dark .footer-bottom-flex {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ================= MODALS ================= */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.45);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.modal-container {
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  position: relative;
  transform: scale(0.96);
  transition: transform var(--transition-normal);
}

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

.modal-lg {
  max-width: 800px;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.modal-close-btn:hover {
  color: var(--text-heading);
  background: #e5e7eb;
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 24px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-heading);
  font-size: 0.9rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--border-focus);
}

.form-success-message {
  display: none;
  text-align: center;
  padding: 30px 20px;
}

.form-success-message.active {
  display: block;
}

.success-icon {
  font-size: 3rem;
  color: var(--accent-emerald);
  margin-bottom: 16px;
}

/* Modal Content Styles (For Dynamic Case Study & Blog) */
.modal-detail-head {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.modal-detail-head h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 10px 0;
}

.modal-meta-bar {
  display: flex;
  gap: 16px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.modal-body-section {
  margin-bottom: 20px;
}

.modal-body-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.modal-body-section p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.modal-metric-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 20px 0;
  text-align: center;
}

/* === TOAST NOTIFICATION === */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #1F1515;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.88rem;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
}

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

/* ================= RESPONSIVE MEDIA QUERIES ================= */
@media (max-width: 1100px) {
  .process-timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {

  .nav-menu,
  .nav-cta-white {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-title-centered {
    font-size: 2.8rem;
  }

  .hero-title-main {
    font-size: 2.75rem;
  }

  .hero-dynamic-row {
    font-size: 2.55rem;
  }

  .proposal-wrapper {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-study-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-case-study-card {
    min-height: auto;
    padding: 72px 24px 44px;
    border-radius: 0 !important;
  }

  .case-study-corner-number {
    top: 24px;
    left: 24px;
    font-size: 1.15rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-case-study-stack {
    padding: 0;
  }

  .hero-case-study-card {
    padding: 64px 20px 36px;
    border-radius: 0 !important;
  }

  .case-study-corner-number {
    top: 20px;
    left: 20px;
    font-size: 1.05rem;
  }

  .hero-title-centered {
    font-size: 2.35rem;
  }

  .hero-title-main {
    font-size: 2.25rem;
  }

  .hero-dynamic-row {
    font-size: 2.1rem;
  }

  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }

  .exp-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .config-options-grid,
  .channel-checkbox-group {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-flex {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .floating-badge {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title-centered {
    font-size: 1.95rem;
  }

  .hero-title-main {
    font-size: 1.8rem;
  }

  .hero-dynamic-row {
    font-size: 1.65rem;
  }

  .hero-buttons-centered {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons-centered .btn {
    width: 100%;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .modal-container {
    padding: 24px 18px;
  }
}

/* ================= FLOATING HIRE ME STATUS CARD (Bottom-Right, #EFEEEB, 1s Smooth Delayed Entrance) ================= */
.floating-status-card {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  width: 280px !important;
  background: #EFEEEB !important;
  border: none !important;
  border-radius: 18px !important;
  padding: 15px 17px !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12), 0 4px 14px rgba(0, 0, 0, 0.05) !important;
  z-index: 9999 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 11px !important;
  font-family: var(--font-body) !important;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.65s ease,
    width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.3s ease,
    border-radius 0.4s ease;
}

.floating-status-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
}

.floating-status-card.hidden-at-footer {
  opacity: 0 !important;
  transform: translateY(24px) scale(0.9) !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease !important;
}

/* Floating Close / Dismiss Button (Appears on Hover) */
.fsc-close-btn {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #181818;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.70rem;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.2s ease,
    color 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 100;
  padding: 0;
  outline: none;
}

body.dark-theme .fsc-close-btn {
  background: #2a2a2a;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* Reveal close button on card hover */
.floating-status-card:hover .fsc-close-btn {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.fsc-close-btn:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
  transform: scale(1.14) !important;
  border-color: #ef4444 !important;
}

/* When card is dismissed */
.floating-status-card.is-dismissed {
  opacity: 0 !important;
  transform: translateY(28px) scale(0.85) !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.35s ease !important;
}

/* Card Content Wrapper */
.fsc-card-content {
  display: flex;
  flex-direction: column;
  gap: 11px;
  width: 100%;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Collapsed Avatar Trigger Button (Hidden by default) */
.fsc-avatar-trigger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  align-items: center;
  gap: 8px;
  outline: none;
}

/* Collapsed State When Scrolling Into Footer */
.floating-status-card.collapsed-at-footer {
  width: auto !important;
  min-width: unset !important;
  padding: 6px 12px 6px 6px !important;
  border-radius: 9999px !important;
  background: rgba(15, 23, 42, 0.88) !important;
  backdrop-filter: blur(14px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 24px rgba(56, 189, 248, 0.3) !important;
  cursor: pointer;
  transform: translateY(0) scale(1);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

.floating-status-card.collapsed-at-footer:hover {
  transform: translateY(-3px) scale(1.06);
  border-color: rgba(56, 189, 248, 0.7) !important;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.55), 0 0 32px rgba(56, 189, 248, 0.45) !important;
}

.floating-status-card.collapsed-at-footer .fsc-card-content {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

.floating-status-card.collapsed-at-footer .fsc-avatar-trigger {
  display: flex !important;
}

/* Trigger Button Inside Collapsed Pill */
.fsc-trigger-avatar-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: relative;
  overflow: visible;
}

.fsc-trigger-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid #38bdf8;
}

.fsc-trigger-live-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: #10b981;
  border: 2px solid #07090e;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.9);
  animation: pulseLiveDot 2s infinite;
}

.fsc-trigger-badge {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  padding: 0 6px 0 2px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.02em;
}

.fsc-trigger-badge i {
  color: #38bdf8;
  font-size: 0.75rem;
}

/* Manually Expanded State from Footer Trigger */
.floating-status-card.collapsed-at-footer.manually-expanded {
  width: 285px !important;
  padding: 15px 17px !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35) !important;
  animation: fscPopSpring 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.25) forwards;
}

@keyframes fscPopSpring {
  0% {
    transform: scale(0.75) translateY(20px);
    opacity: 0.4;
  }

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

.floating-status-card.collapsed-at-footer.manually-expanded .fsc-card-content {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.floating-status-card.collapsed-at-footer.manually-expanded .fsc-avatar-trigger {
  display: none !important;
}

/* Header (No Divider) */
.fsc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: none;
  padding-bottom: 0;
}

.fsc-company-name {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  color: #1F1515;
  letter-spacing: -0.01em;
}

.fsc-time-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
}

.fsc-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  animation: pulseLiveDot 2s infinite;
}

@keyframes pulseLiveDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.fsc-visitor-time {
  font-size: 0.70rem;
  font-weight: 500;
  color: #4b5563;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
}

.fsc-timezone-label {
  font-size: 0.62rem;
  font-weight: 400;
  color: #858e96;
  margin-left: 6px;
  letter-spacing: 0.02em;
}

/* Body */
.fsc-body {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fsc-avatar-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.fsc-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fsc-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
}

.fsc-name {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: #1F1515;
  margin: 0;
  line-height: 1.2;
}

.fsc-title {
  font-size: 0.70rem;
  font-weight: 400;
  color: #64748b;
  margin: 0;
  line-height: 1.3;
}

/* Footer CTA (Subtle Fade on Hover, Zero Shift) */
.fsc-footer {
  margin-top: 1px;
}

.fsc-cta-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #191414;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8.5px 14px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(25, 20, 20, 0.12);
  transition: background 0.2s ease, opacity 0.2s ease;
}

.fsc-cta-btn:hover {
  background: #191414 !important;
  opacity: 0.9;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.fsc-cta-btn i {
  font-size: 0.78rem;
  transition: transform 0.2s ease;
}

.fsc-cta-btn:hover i {
  transform: translateX(3px);
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .floating-status-card {
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: auto;
  }
}

/* ================= MODERN PROCESS SECTION ================= */
.modern-process-section {
  padding: 40px 0 35px;
  background: transparent;
  overflow: hidden;
}

.modern-process-header {
  margin-bottom: 40px;
  max-width: 840px;
}

.modern-process-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 300;
  /* Light font weight, not bold */
  color: #1F1515;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.modern-process-desc {
  font-size: 1.16rem;
  font-weight: 300;
  /* Light font weight */
  line-height: 1.72;
  color: #4b5563;
  margin: 0;
}

/* Process Cards Full-Width Infinite Marquee Track */
.modern-process-track-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  padding: 20px 0 36px;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}

.modern-process-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: processInfiniteMarquee 38s linear infinite;
  will-change: transform;
}

.modern-process-track-wrapper:hover .modern-process-track {
  animation-play-state: paused;
}

@keyframes processInfiniteMarquee {
  0% {
    transform: translateX(0);
  }

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

.modern-process-card {
  flex: 0 0 380px;
  width: 380px;
  min-height: 310px;
  background: #1A1A1A !important;
  border: none !important;
  border-radius: 24px;
  padding: 38px 32px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: none !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  color: #FFFCE1 !important;
}

.modern-process-card:hover {
  transform: translateY(-4px);
  box-shadow: none !important;
}

.mp-content {
  position: relative;
  z-index: 2;
}

.mp-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  color: #FFFCE1 !important;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.mp-text {
  font-size: 0.94rem;
  line-height: 1.66;
  color: #FFFCE1 !important;
  margin: 0;
}

/* Big Outline Watermark Number at Bottom (10% sunken below bottom edge) */
.mp-watermark-num {
  position: absolute;
  bottom: -22px;
  /* Sunk 10-15% into the bottom edge */
  left: 24px;
  font-family: var(--font-heading);
  font-size: 6.2rem;
  font-weight: 800;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.6px rgba(255, 252, 225, 0.16);
  pointer-events: none;
  user-select: none;
  z-index: 1;
  letter-spacing: -0.04em;
}

@media (max-width: 768px) {
  .modern-process-section {
    padding: 70px 0 50px;
  }

  .modern-process-title {
    font-size: 2.3rem;
  }

  .modern-process-desc {
    font-size: 1.05rem;
  }

  .modern-process-card {
    flex: 0 0 310px;
    width: 310px;
    min-height: 280px;
    padding: 30px 24px 22px;
  }
}

/* ================= SUBTLE VIEWPORT BOTTOM BLUR (REMOVED) ================= */
.subtle-bottom-blur {
  display: none !important;
}

/* ================= DUAL-LAYER FLUID MAGNETIC CUSTOM CURSOR ================= */
@media (hover: hover) and (pointer: fine) {
  body {
    cursor: none !important;
  }

  a,
  button,
  input,
  textarea,
  select,
  [role="button"],
  label,
  .custom-cursor-target {
    cursor: none !important;
  }

  .fluid-cursor-wrap,
  .cursor-crosshair-wrap {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100000000;
    mix-blend-mode: difference;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .fluid-cursor-wrap.active,
  .cursor-crosshair-wrap.active {
    opacity: 1;
  }

  /* Center Razor Precision Dot */
  .fluid-cursor-dot,
  .cursor-dot-invert {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
    transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
    transition: width 0.22s cubic-bezier(0.16, 1, 0.3, 1), height 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  }

  /* Smooth Trailing Elastic Follower Ring */
  .fluid-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 38px;
    height: 38px;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
    transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background-color 0.25s ease;
  }

  /* Interactive Hover State: Smooth Expansion */
  .fluid-cursor-wrap.cursor-hover .fluid-cursor-ring,
  .cursor-crosshair-wrap.cursor-hover .fluid-cursor-ring {
    width: 58px;
    height: 58px;
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.95);
  }

  .fluid-cursor-wrap.cursor-hover .fluid-cursor-dot,
  .cursor-crosshair-wrap.cursor-hover .fluid-cursor-dot {
    opacity: 0.5;
    width: 6px;
    height: 6px;
  }

  /* Tactile Click Feedback */
  .fluid-cursor-wrap.cursor-click .fluid-cursor-ring {
    transform: translate3d(var(--rx, -100px), var(--ry, -100px), 0) translate(-50%, -50%) scale(0.78);
    background: rgba(255, 255, 255, 0.45);
  }

  /* Hide when hovering over certificates for VIEW badge to take over */
  .fluid-cursor-wrap.cursor-hide-for-cert,
  .cursor-crosshair-wrap.cursor-hide-for-cert {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.15s ease;
  }
}

@media (hover: none),
(pointer: coarse) {

  .fluid-cursor-wrap,
  .cursor-crosshair-wrap {
    display: none !important;
  }
}

/* ================= CERTIFICATIONS SECTION (#0E100F BACKGROUND) ================= */
#certifications,
.cert-section,
body.light-theme #certifications,
body.light-theme .cert-section,
body.dark-theme #certifications,
body.dark-theme .cert-section {
  position: relative;
  z-index: 2;
  background-color: #0E100F !important;
  color: #FFFCE1 !important;
  padding: 65px 0 clamp(80px, 10vw, 130px);
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.cert-section .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  box-sizing: border-box;
}

.cert-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: clamp(36px, 5vw, 56px);
}

.cert-header-left {
  max-width: 680px;
  flex: 1;
}

.cert-heading {
  font-family: 'Neue Montreal', 'PP Neue Montreal', sans-serif;
  font-size: clamp(2.8rem, 4.6vw, 4.2rem);
  font-weight: 500;
  color: #FFFCE1 !important;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0;
}

.cert-serif-italic {
  font-family: 'Instrument Serif', 'IvyOra Display', 'Playfair Display', Georgia, serif !important;
  font-style: italic;
  font-weight: 400;
  color: #FFFCE1 !important;
  letter-spacing: 0.01em;
}

.cert-desc {
  font-size: clamp(1.05rem, 1.15vw, 1.15rem);
  line-height: 1.72;
  color: #FFFCE1 !important;
  margin: 0;
  font-weight: 400;
  max-width: 680px;
}

/* Official Single Certification Badge on the Far Right (Aligned with Title) */
.cert-header-single-badge {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  width: clamp(230px, 24vw, 340px);
  margin-top: clamp(8px, 1.2vw, 16px);
  pointer-events: none;
}

.cert-single-badge-img {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
}

@media (max-width: 900px) {
  .cert-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .cert-header-single-badge {
    width: 100%;
    max-width: 270px;
    margin-top: 0;
    justify-content: flex-start;
  }
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cert-img-card {
  background: #1A1A1A !important;
  border: none !important;
  border-radius: 20px;
  padding: 10px;
  overflow: hidden;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-img-frame {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-display-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 14px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-drag: none;
}

.cert-img-card:hover .cert-display-img {
  transform: none !important;
}

/* ================= 6TH CERTIFICATE ALL CREDENTIALS SWIPE-UP CARD ================= */
.cert-view-more-card {
  position: relative;
  cursor: pointer;
}

.cert-view-more-card .cert-img-frame {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  clip-path: inset(0 round 14px);
  -webkit-clip-path: inset(0 round 14px);
  transform: translateZ(0);
}

.cert-view-more-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  clip-path: inset(0 round 14px);
  -webkit-clip-path: inset(0 round 14px);
  transform: translate3d(0, 102%, 0);
  transition: transform 0.52s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s ease;
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

.cert-view-more-card:hover .cert-display-img {
  filter: blur(2px) brightness(0.8);
  transform: none !important;
  transition: filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-view-more-card:hover .cert-view-more-overlay {
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.cert-view-more-title {
  font-family: 'Neue Montreal', 'PP Neue Montreal', sans-serif;
  font-size: clamp(1.3rem, 1.7vw, 1.65rem);
  font-weight: 600;
  color: #FFFCE1 !important;
  letter-spacing: -0.01em;
  text-shadow: none !important;
  filter: none !important;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.08s, opacity 0.35s ease 0.08s;
}

.cert-view-more-count {
  font-family: 'Neue Montreal', 'PP Neue Montreal', sans-serif;
  color: #5bb2ec !important;
  font-weight: 700;
  text-shadow: none !important;
  filter: none !important;
}

.cert-view-more-card:hover .cert-view-more-title {
  transform: translateY(0);
  opacity: 1;
}

/* Certificate Section Bottom Right Action (Round Arrow Button) */
.cert-bottom-action {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: clamp(24px, 3.2vw, 38px);
}

.btn-cert-arrow,
.btn-cert-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-full, 9999px);
  font-family: var(--font-heading, 'Neue Montreal', sans-serif);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}

.btn-cert-arrow i,
.btn-cert-view-all i {
  font-size: 0.82rem;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cert-arrow:hover,
.btn-cert-view-all:hover {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #000000 !important;
  transform: translateY(-2px);
}

.btn-cert-arrow:hover i,
.btn-cert-view-all:hover i {
  transform: translateX(3px);
}

.btn-cert-arrow:active,
.btn-cert-view-all:active {
  transform: translateY(0);
}

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

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

  .cert-img-card {
    padding: 8px;
    border-radius: 16px;
  }

  .cert-bottom-action {
    margin-top: 24px;
  }
}

/* ================= CERTIFICATE FLOATING "VIEW" CURSOR ================= */
.cert-cursor-view {
  position: fixed;
  top: 0;
  left: 0;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-family: var(--font-heading, 'Neue Montreal', -apple-system, sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
  z-index: 100000001;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  box-shadow: none !important;
  will-change: transform, opacity;
  text-align: center;
  white-space: nowrap;
}

.cert-cursor-view.is-visible {
  opacity: 1;
}

.cert-cursor-view span {
  line-height: 1;
  color: #ffffff;
}

.cert-cursor-view i,
.cert-cursor-view .cert-cursor-eye {
  font-size: 0.88rem;
  line-height: 1;
  color: #ffffff;
  transition: transform 0.2s ease;
}

/* Hide default cursor when hovering over certificates for VIEW badge to take over */
.fluid-cursor-wrap.cursor-hide-for-cert,
.cursor-crosshair-wrap.cursor-hide-for-cert {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.15s ease;
}

.cert-img-card,
.cert-img-card *,
.cert-view-more-card,
.cert-view-more-card * {
  cursor: pointer !important;
}

@media (pointer: coarse),
(hover: none) {
  .cert-cursor-view {
    display: none !important;
  }
}

/* ================= ALL CERTIFICATES GALLERY POPUP MODAL ================= */
.all-cert-modal {
  position: fixed;
  inset: 0;
  z-index: 9999990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 2.5vw, 36px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  overscroll-behavior: contain;
  touch-action: pan-y;
  cursor: auto;
}

.all-cert-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.all-cert-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer !important;
}

.all-cert-card,
.all-cert-card *,
.all-cert-close {
  cursor: pointer !important;
}

.all-cert-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1160px;
  max-height: 90vh;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.95);
  transform: scale(0.93) translateY(24px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overscroll-behavior: contain;
}

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

.all-cert-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(20px, 2.8vw, 30px) clamp(22px, 3.2vw, 36px) 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d0d0d;
}

.all-cert-title {
  font-family: 'Neue Montreal', 'PP Neue Montreal', sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
  font-weight: 500;
  color: #ffffff !important;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 6px 0 4px;
}

.all-cert-count {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65) !important;
  margin: 0;
  font-weight: 400;
}

.all-cert-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1A1A1A;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.22s ease;
  flex-shrink: 0;
}

.all-cert-close:hover {
  background: #ffffff;
  color: #000000;
  transform: scale(1.08) rotate(90deg);
  border-color: #ffffff;
}

.all-cert-scroll-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  overscroll-behavior-y: contain;
  padding: clamp(18px, 2.6vw, 32px) clamp(20px, 3vw, 36px);
  flex: 1;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

/* Subtle sleek scrollbar for modal */
.all-cert-scroll-body::-webkit-scrollbar {
  width: 6px;
}

.all-cert-scroll-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}

.all-cert-scroll-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.all-cert-scroll-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

.all-cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.all-cert-card {
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.all-cert-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
}

.all-cert-card-frame {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 11;
}

.all-cert-card-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-drag: none;
}

.all-cert-card:hover .all-cert-card-frame img {
  transform: none !important;
}

.all-cert-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 4px 2px;
  margin-top: 4px;
}

.all-cert-num {
  font-family: 'Neue Montreal', monospace, sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
}

.all-cert-view-btn {
  font-family: 'Neue Montreal', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}

.all-cert-card:hover .all-cert-view-btn {
  color: #ffffff;
}

@media (max-width: 1080px) {
  .all-cert-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .all-cert-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .all-cert-header {
    padding: 16px 18px 14px;
  }

  .all-cert-scroll-body {
    padding: 16px 18px;
  }
}

@media (max-width: 480px) {
  .all-cert-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .all-cert-container {
    border-radius: 18px;
    max-height: 94vh;
  }
}

/* ================= CERTIFICATE LIGHTBOX MODAL ================= */
.cert-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 40px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.cert-lightbox-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.cert-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
}

.cert-lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-lightbox-modal.is-open .cert-lightbox-content {
  transform: scale(1) translateY(0);
}

.cert-lightbox-img {
  max-width: 100%;
  max-height: 84vh;
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cert-lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1A1A1A;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.cert-lightbox-close:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  transform: scale(1.08) rotate(90deg);
}

/* ================= GLOBAL VISIBLE NATIVE CURSOR & GSAP CURSOR AURA ================= */
html,
body {
  cursor: auto !important;
}

a,
button,
[role="button"],
input[type="button"],
input[type="submit"],
select,
.btn,
.btn-cert-arrow,
.btn-cert-view-all,
.open-project-modal,
.faq-item-header,
.ref-badge,
.skill-tool-pill {
  cursor: pointer !important;
}

input[type="text"],
input[type="email"],
textarea {
  cursor: text !important;
}

/* ================= GSAP AWWWARDS-GRADE INVERTED DIFFERENCE LENS CURSOR ================= */
.fluid-cursor-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none !important;
  z-index: 999999999;
  mix-blend-mode: difference !important;
  opacity: 1;
}

.fluid-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  border-radius: 50%;
  pointer-events: none !important;
  z-index: 999999999;
  transform: translate(-50%, -50%);
  outline: 1px solid transparent;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.fluid-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  background-color: #ffffff;
  border-radius: 50%;
  pointer-events: none !important;
  z-index: 999999998;
  transform: translate(-50%, -50%);
  outline: 1px solid transparent;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

@media (pointer: coarse),
(hover: none) {

  .fluid-cursor-wrap,
  .fluid-cursor-dot,
  .fluid-cursor-ring {
    display: none !important;
  }
}