/* Color Theme: Blueprint Engineering - Slate Primary
#efefef - lightgray #3c5d7c - slate #cdb07a - gold #b39560 - darkgold #d4a641 - brightgold #013f7c - darkblue

Naming conventions (legacy, mixed):
  .bp-*          Blueprint overlay & engineering frame elements
  .xh-*          Crosshair / architectural datum phase elements
  .CasesTitle    PascalCase legacy component classes
  .myintrotext   Lowercase-run-on legacy utility classes
  .white-space-* Vertical spacing utilities (padding-bottom)
*/
:root {
  --shiny-cta-bg: linear-gradient(to bottom, #013f7c, #01457c);
  --shiny-cta-fg: #ffffff;
  --shiny-cta-highlight: transparent;

  --font-heading: 'BankGothic lt BT', sans-serif;
  --font-mono: 'Iosevka Web', monospace;
  --font-body: 'Poppins', Helvetica, sans-serif;
  --font-script: 'Dancing Script', cursive;

  --bp-gold: #cdb07a;
  --bp-slate: #A9B3BE;
  --bp-acabe: #acacbe;
  --bp-bg-deeplight: #2c68a4;
  --bp-bg-deep: #013f7c;
  --bp-content-bg: #e9f0f5;
  --bp-text-secondary: var(--bp-slate);
  --gradient-bgGold: linear-gradient(90deg, #dcc48e, #ecd693, #f5e8b8, #ecd693, #dcc48e);
    --gradient-bgGray: linear-gradient(90deg, #adb5bd, #dee2e6, #e9ecef, #dee2e6, #adb5bd);
    --gradient-bgBorderGold: linear-gradient(45deg, #dcc48e, #ecd693, #f5e8b8, #ecd693, #dcc48e);
    --gradient-bgBorderGray: linear-gradient(45deg, #a9b7c0, #d6e0e8, #e3ebf0, #d6e0e8, #a9b7c0);
    --main-color: var(--bp-bg-deep);
    --point-color: var(--bp-text-secondary);

  --bp-line-faint: rgba(255, 255, 255, 0.12);
  --bp-line-subtle: rgba(255, 255, 255, 0.25);
  --bp-line-medium: rgba(172, 172, 190, 0.3);
  --bp-line-strong: rgba(172, 172, 190, 0.7);
  --bp-line-ruler: rgba(172, 172, 190, 1);
  --bp-text: rgba(255, 255, 255, 0.90);

  --bp-underline-gold: linear-gradient(90deg, #f1cc7c,#f1cc7c,#ffe89d,#f1cc7c,#f1cc7c);

  --bp-gold-glow-subtle: rgba(205, 176, 122, 0.06);
  --bp-gold-glow-medium: rgba(205, 176, 122, 0.10);
  --bp-gold-glow: rgba(205, 176, 122, 0.12);
  --bp-gold-glow-strong: rgba(205, 176, 122, 0.25);
  --bp-gold-glow-intense: rgba(205, 176, 122, 0.30);
  --bp-grid-line: rgba(255, 255, 255, 0.10);
  --bp-grid-accent: rgba(255, 255, 255, 0.32);
  --bp-grid-size: 24px;
  --bp-grid-major: 120px;
}

html {
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden !important;
  cursor: url('../cursors/normal.cur') 8 8, auto !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

.no-js html,
.no-js body {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none;
}

/* 2. TEXT / I-BEAM CURSOR */
input[type="text"],
input[type="email"],
input[type="url"],
input:not([type]),
textarea {
  cursor: url('../cursors/text.cur') 8 8, text !important;
}

/* 3. POINTER / HAND CURSOR */
a, a *,
button, button *,
input[type="submit"], input[type="submit"] *,
input[type="image"], input[type="image"] *,
input[type="button"], input[type="button"] *,
input[type="reset"], input[type="reset"] *,
label, label *,
select, select *,
summary,
[role="button"], [role="link"], [role="checkbox"], [role="radio"], [role="tab"], [role="option"],
[tabindex]:not([tabindex="-1"]),
[onclick], [data-href], [data-link],
.js-cursor-pointer, .cursor-pointer, .pointer, .clickable,
[onclick] *, [data-href] *, .js-cursor-pointer *, .cursor-pointer * {
  cursor: url('../cursors/onclick.cur') 8 8, pointer !important;
}
.text-gold {
  color: var(--bp-gold);
}

.no-underline {
  text-decoration: none;
}

.CasesCarousel a.lightbox,
.CasesCarousel a.lightbox img {
  cursor: url('../cursors/zoom.cur') 8 8, pointer !important;
  pointer-events: auto !important;
}

.disabled * {
  pointer-events: none !important;
  user-select: none !important;
  cursor: default !important;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; 
  text-rendering: optimizeLegibility;
  background: var(--bp-bg-deep) !important;
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  font-size: 15px;
  font-family: var(--font-body);
  line-height: 1.65em;
  overflow: hidden !important;
  color: #555;
  background-size: cover;
  background-attachment: fixed;
  opacity: 1;
}

.mycenter {
  position: relative;
}

.mycenterchild {
  position: relative;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-2vh);
}

/* #intro container — translateY offsets vertically center the blueprint composition above the fold */
#intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  transform: translateY(-3vh);
  opacity: 0;
  visibility: hidden;
}

.container {
  position: relative; 
  width: 312px;          
  height: 312px;
}

/* Hide and fade out elements */
.p4, .p5, .p6, .p7, .p8, .p9 {
  display: none;
  opacity: 0;
}

/* Common container positioning */
.p4-container,
.p5-container,
.p6-container,
.p7-container,
.p8-container,
.p9-container {
  position: absolute;
  top: 50%;
  left: 50%;
}

/* Individual container offsets */
.p4-container { margin: -83.125px 0 0 -83.125px; }
.p5-container { margin: 0.665px 0 0 0.665px; }
.p6-container { margin: -165px 0 0 -165px; }
.p7-container { margin: -165px 0 0 0; }
.p8-container { margin: -277.2px 0 0 -277.2px; }
.p9-container { margin: -277.2px 0 0 0; }

/* Construction circles — white/slate pulsating blueprint aesthetic */
.p4 {
  width: 166.25px;
  height: 166.25px;
  border-radius: 50%;
  border: 1px solid rgba(172, 172, 190, 0.5);
  animation: circle-pulse-slate 3s ease-in-out infinite;
}

.p5 {
  width: 83.79px;
  height: 83.79px;
  border-radius: 0 0 167.58px 0;
  border-bottom: 6px solid rgba(255, 255, 255, 0.6);
  border-right: 6px solid rgba(172, 172, 190, 0.5);
  transform-origin: top left;
  animation: arc-pulse-1 2.5s ease-in-out infinite;
}

.p6 {
  width: 330px;
  height: 330px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  animation: circle-pulse-white 4s ease-in-out infinite 0.5s;
}

.p7 {
  width: 165px;
  height: 165px;
  border-radius: 0 330px 0 0;
  border-top: 6px solid rgba(172, 172, 190, 0.6);
  border-right: 6px solid rgba(255, 255, 255, 0.4);
  transform-origin: bottom left;
  animation: arc-pulse-2 3.5s ease-in-out infinite 0.3s;
}

.p8 {
  width: 554.4px;
  height: 554.4px;
  border-radius: 50%;
  border: 1px solid rgba(172, 172, 190, 0.35);
  animation: circle-pulse-slate 5s ease-in-out infinite 1s;
}

.p9 {
  width: 277.2px;
  height: 277.2px;
  border-radius: 0 554.4px 0 0;
  border-top: 6px solid rgba(255, 255, 255, 0.5);
  border-right: 6px solid rgba(172, 172, 190, 0.4);
  transform-origin: bottom left;
  animation: arc-pulse-3 4.5s ease-in-out infinite 0.7s;
}

/* Construction circle keyframes — staggered delays (0.3s–1s) and varied durations create an asynchronous pulsing rhythm so circles don't beat in unison */
@keyframes circle-pulse-slate {
  0%, 100% { border-color: rgba(172, 172, 190, 0.35); }
  50% { border-color: rgba(172, 172, 190, 0.7); }
}

@keyframes circle-pulse-white {
  0%, 100% { border-color: rgba(255, 255, 255, 0.3); }
  50% { border-color: rgba(255, 255, 255, 0.65); }
}

@keyframes arc-pulse-1 {
  0%, 100% {
    border-bottom-color: rgba(255, 255, 255, 0.4);
    border-right-color: rgba(172, 172, 190, 0.3);
  }
  50% {
    border-bottom-color: rgba(255, 255, 255, 0.8);
    border-right-color: rgba(172, 172, 190, 0.65);
  }
}

@keyframes arc-pulse-2 {
  0%, 100% {
    border-top-color: rgba(172, 172, 190, 0.4);
    border-right-color: rgba(255, 255, 255, 0.25);
  }
  50% {
    border-top-color: rgba(172, 172, 190, 0.75);
    border-right-color: rgba(255, 255, 255, 0.55);
  }
}

@keyframes arc-pulse-3 {
  0%, 100% {
    border-top-color: rgba(255, 255, 255, 0.35);
    border-right-color: rgba(172, 172, 190, 0.25);
  }
  50% {
    border-top-color: rgba(255, 255, 255, 0.7);
    border-right-color: rgba(172, 172, 190, 0.6);
  }
}

/* ============================================================
   BLUEPRINT ENGINEERING OVERLAY
   ============================================================ */
#bp-overlay {
  position: fixed;
  top: 7vh;
  bottom: 7vh;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  max-width: 1460px;
  pointer-events: none;
  z-index: 50;
  opacity: 0;
}

/* Blueprint grid — multi-layer linear-gradient stack: two layers for horizontal lines, two for vertical, composited to form a fine engineering-paper grid pattern */
.bp-grid {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0;
  bottom: 0;
  overflow: hidden;
  background-image:
    linear-gradient(var(--bp-line-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--bp-line-subtle) 1px, transparent 1px),
    linear-gradient(var(--bp-line-faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--bp-line-faint) 1px, transparent 1px);
  background-size:
    100px 100px,
    100px 100px,
    20px 20px,
    20px 20px;
}

.bp-grid-lead {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  left: 0;
  background: #ffffff;
  box-shadow: 0 0 1px 0px rgba(221, 221, 221, 0.65);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.bp-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
}

/* Axis construction lines — absolutely positioned 1px (2px on mobile) lines spanning the full overlay width/height, forming the primary horizontal and vertical axes */
.bp-line {
  position: absolute;
  background: var(--bp-line-strong);
}

.bp-line-top {
  top: 0;
  left: 0;
  height: 1px;
  width: 100%;
}

.bp-line-right {
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
}

.bp-line-bottom {
  bottom: 0;
  right: 0;
  height: 1px;
  width: 100%;
}

.bp-line-left {
  bottom: 0;
  left: 0;
  width: 1px;
  height: 100%;
}

@media (max-width: 768px) {
  .bp-line-top,
  .bp-line-bottom {
    height: 2px;
  }
  .bp-line-right,
  .bp-line-left {
    width: 2px;
  }
}

.bp-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  opacity: 0;
}

.bp-corner::before,
.bp-corner::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
}

.bp-corner-tl { top: -2px; left: -2px; }
.bp-corner-tl::before { top: 0; left: 0; width: 100%; height: 1px; }
.bp-corner-tl::after { top: 0; left: 0; width: 1px; height: 100%; }

.bp-corner-tr { top: -2px; right: -2px; }
.bp-corner-tr::before { top: 0; right: 0; width: 100%; height: 1px; }
.bp-corner-tr::after { top: 0; right: 0; width: 1px; height: 100%; }

.bp-corner-bl { bottom: -2px; left: -2px; }
.bp-corner-bl::before { bottom: 0; left: 0; width: 100%; height: 1px; }
.bp-corner-bl::after { bottom: 0; left: 0; width: 1px; height: 100%; }

.bp-corner-br { bottom: -2px; right: -2px; }
.bp-corner-br::before { bottom: 0; right: 0; width: 100%; height: 1px; }
.bp-corner-br::after { bottom: 0; right: 0; width: 1px; height: 100%; }

/* ---- Blueprint label base (annotations + title block rows) ---- */
.bp-annotation,
.bp-tb-row {
  font-family: var(--font-mono);
  color: var(--bp-text);
  text-transform: uppercase;
  opacity: 0;
}

.bp-annotation {
  position: absolute;
  font-size: 9px;
  letter-spacing: 2.5px;
  white-space: nowrap;
}

.bp-tl { top: 8px; left: 8px; }
.bp-tr { top: 8px; right: 8px; }
.bp-bl { bottom: 8px; left: 8px; }
.bp-br { bottom: 8px; right: 8px; }

/* ---- Center Mark ---- */

/* ---- Title Block ---- */
.bp-title-block {
  position: absolute;
  bottom: 28px;
  right: 8px;
  text-align: right;
  opacity: 0;
  z-index: 2;
}
.bp-tb-row {
  font-size: 8px;
  letter-spacing: 2px;
  line-height: 1.8;
}

/* ============================================================
   ARCHITECTURAL DATUM PHASE
   ============================================================ */
#crosshair-phase {
  position: fixed;
  inset: 0;
  z-index: 1002;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: visible;
}

/* ---- Construction Lines ---- */
.xh-line {
  position: absolute;
  background: var(--bp-line-ruler);
}
.xh-line-left,
.xh-line-right {
  height: 1px;
  top: 50%;
  width: 200%;
}
.xh-line-left  { right: 50%; transform: scaleX(0); transform-origin: right center; }
.xh-line-right { left: 50%;  transform: scaleX(0); transform-origin: left center; }

.xh-line-top,
.xh-line-bottom {
  width: 1px;
  left: 50%;
  height: 200%;
}
.xh-line-top    { bottom: 50%; transform: scaleY(0); transform-origin: center bottom; }
.xh-line-bottom { top: 50%;    transform: scaleY(0); transform-origin: center top; }


/* ---- Ruler markings ---- */
.xh-ruler {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}
.xh-ruler-left,
.xh-ruler-right {
  height: 28px;
  top: 50%;
  width: 200%;
}
.xh-ruler-left  { right: 50%; }
.xh-ruler-right { left: 50%; }
.xh-ruler-top,
.xh-ruler-bottom {
  width: 28px;
  left: 50%;
  height: 200%;
}
.xh-ruler-top    { bottom: 50%; }
.xh-ruler-bottom { top: 50%; }

/* ---- Architectural Corner Marks ---- */
.xh-bracket {
  position: absolute;
  width: 14px;
  height: 14px;
  opacity: 0;
  transform: scale(1.5);
}
.xh-bracket::before,
.xh-bracket::after {
  content: '';
  position: absolute;
  background: #ffffff;
}

.xh-bracket-tl { top: calc(50% - 28px); left: calc(50% - 28px); }
.xh-bracket-tl::before { top: 0; left: 0; width: 100%; height: 1px; }
.xh-bracket-tl::after  { top: 0; left: 0; width: 1px; height: 100%; }

.xh-bracket-tr { top: calc(50% - 28px); left: calc(50% + 14px); }
.xh-bracket-tr::before { top: 0; right: 0; width: 100%; height: 1px; }
.xh-bracket-tr::after  { top: 0; right: 0; width: 1px; height: 100%; }

.xh-bracket-bl { top: calc(50% + 14px); left: calc(50% - 28px); }
.xh-bracket-bl::before { bottom: 0; left: 0; width: 100%; height: 1px; }
.xh-bracket-bl::after  { bottom: 0; left: 0; width: 1px; height: 100%; }

.xh-bracket-br { top: calc(50% + 14px); left: calc(50% + 14px); }
.xh-bracket-br::before { bottom: 0; right: 0; width: 100%; height: 1px; }
.xh-bracket-br::after  { bottom: 0; right: 0; width: 1px; height: 100%; }

/* ---- Reticle Rings ---- */
/* ---- CAD Snap-Point Diamond (was ring-1) ---- */
.xh-ring {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.xh-ring-1 {
  width: 24px;
  height: 24px;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  transform: translate(-50%, -50%) rotate(45deg);
}
/* ---- Construction Diagonals (was ring-2) ---- */
.xh-ring-2 {
  width: 0;
  height: 0;
  top: 50%;
  left: 50%;
  border: none;
  border-radius: 0;
}
/* 4 short 45° construction lines forming an × pattern */
.xh-ring-2::before,
.xh-ring-2::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 1px;
  top: 0;
  left: -7px;
  background: var(--bp-gold);
}
.xh-ring-2::before {
  transform: translateX(0.5px) rotate(45deg);
}
.xh-ring-2::after {
  transform: translateX(0.5px) rotate(-45deg);
}

/* ---- Center Mark Symbol (CAD construction mark) ---- */
.xh-center-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
}

/* ---- Dimension Arrow Lines (width & height indicators) ---- */
.xh-dim-arrow-h {
  position: absolute;
  top: calc(50% + 60px);
  left: 50%;
  width: 200px;
  height: 20px;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
}

.xh-dim-arrow-v {
  position: absolute;
  top: 50%;
  left: calc(50% + 60px);
  width: 20px;
  height: 200px;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
}


/* ---- Dimension Labels & Readouts (shared base) ---- */
.xh-dim-line,
.xh-readout {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0;
  white-space: nowrap;
}

.xh-dim-line {
  color: #fff;
  pointer-events: none;
}

.xh-readout {
  color: rgba(255, 255, 255, 0.45);
}
.xh-digit {
  color: #fff;
}
.xh-rd-1 { top: calc(50% - 26px); left: calc(50% + 80px); }
.xh-rd-2 { top: calc(50% + 22px); right: calc(50% + 30px); }
.xh-rd-3 { top: calc(50% + 22px); left: calc(50% + 70px); }
.xh-rd-4 { top: calc(50% - 38px); left: calc(50% + 80px); }
.xh-rd-5 { top: calc(50% + 34px); right: calc(50% + 30px); }

/* ---- Flash ---- */
.xh-flash {
  position: fixed;
  background: var(--bp-gold);
  opacity: 0;
  pointer-events: none;
}

/* ---- Desktop Scale-Up (datum elements ~1.5x) ---- */
@media (min-width: 768px) {
  .xh-ring-1 {
    width: 32px; height: 32px;
  }
  .xh-ring-2::before,
  .xh-ring-2::after {
    width: 18px;
    left: -9px;
  }
  /* brackets now use same size at all breakpoints */
  .xh-readout { font-size: 8px; letter-spacing: 1.8px; }
  .xh-rd-1 { top: calc(50% - 36px); left: calc(50% + 94px); }
  .xh-rd-2 { top: calc(50% + 30px); right: calc(50% + 44px); }
  .xh-rd-3 { top: calc(50% + 30px); left: calc(50% + 84px); }
  .xh-rd-4 { top: calc(50% - 48px); left: calc(50% + 94px); }
  .xh-rd-5 { top: calc(50% + 42px); right: calc(50% + 44px); }
  .xh-ruler-left, .xh-ruler-right { height: 32px; top: 50%; width: 200%; }
  .xh-ruler-top, .xh-ruler-bottom { width: 32px; left: 50%; height: 200%; }
  .xh-dim-line { font-size: 7.5px; }
}

a {
  pointer-events: auto;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
   color: #333;
  -webkit-tap-highlight-color: transparent !important;
   touch-action: manipulation; 
   user-select: none !important; 
}

a[href^="geo:"] {
  pointer-events: none;
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  color: #111;
  font-family: var(--font-body);
  font-weight: 600;
}

h1 { font-size: 32px; }
h2 { font-size: 25px; font-family: var(--font-heading); }
h3 { font-size: 27px; font-family: var(--font-heading); }
h4 { font-size: 16px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

.CasesTitle {
  color: #111;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 32px;
}

.divColorContact {
  color: var(--bp-text-secondary);
  font-weight: normal;
}

.LowZindex {
  z-index: -1;
}

.allow-select {
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

.myAddRpadding {
  padding-right: 5%;
}

#contact_form {
  min-height: 250px; 
}

#content { opacity: 0; }
#content.show { opacity: 1; }

/* Blinking typing cursor */
@keyframes bpCursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.bp-cursor {
  position: relative;
}
.bp-cursor::after {
  content: '|';
  position: absolute;
  animation: bpCursorBlink 0.8s step-end infinite;
  color: var(--bp-text-secondary);
  font-weight: 100;
}


.link-container {
  position: relative;
  width: fit-content; 
  height: fit-content; 
  padding: 15px 0;
  z-index: 999;
}

.full-link {
  text-decoration: none;
  display: block;       
  width: 100%;         
  text-align: center;   
  padding: 15px 0;     
  -webkit-tap-highlight-color: transparent !important;
  touch-action: manipulation !important;
  user-select: none !important; 
}

.svg-icon { display: inline-block; vertical-align: -0.125em; }

.mysignature {
  font-family: var(--font-script);
  font-size: 24px;
  font-weight: 100;
  letter-spacing: 1px;
  color: var(--bp-bg-deep);
}

/* Text animation characters — transform-origin: center and preserve-3d + backface-visibility: hidden force GPU compositing for smooth per-character transforms during scramble/reveal animations */
.char {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: var(--font-mono);
  display: inline-block;
  transform-origin: center;
  font-weight: 100;
  font-size: 74px;
  text-align: center;
  color: #ffffff;
  cursor: pointer;
}

.myintrotext {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: var(--font-mono);
  font-weight: 100;
  letter-spacing: 24px;
  color: #ffffff;
  cursor: pointer;
  z-index: 999999;
  opacity: 0;
}

.custom-underline {
  position: relative;
  display: inline-block;
  text-decoration: none;
  padding-bottom: 6px;
  padding-left: 24px;
  cursor: pointer;
  z-index: 999;
}

/* Gold underline (initial) — uses richer gold than the standard gradient */
.custom-underline::before {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--bp-underline-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1s ease-in-out;
}

.custom-underline.animated::before {
  transform: scaleX(1);
}


.myunderintrotext {
  font-family: var(--font-heading);
  font-weight: 100;
  font-size: 20px;
  line-height: 1;
  padding-left: 13px;
  letter-spacing: 17.9px;
  color: var(--bp-text-secondary);
  margin-top: 0px;
  margin-left: 1px;
  cursor: pointer;
  z-index: 999999;
  opacity: 0;
}

.myinfoHeader {
  font-family: var(--font-heading);
  letter-spacing: 1px;
  font-weight: 100;
  font-size: 14px;
  color: var(--bp-text-secondary);
  opacity: 1;
  user-select: text;
}

.myMVdarkbold {
  text-decoration: none;
  color: var(--bp-bg-deep);
  font-weight: 600;
  -webkit-tap-highlight-color: transparent !important;
  touch-action: manipulation; 
  user-select: none;
}

#text-container {
  font-family: var(--font-mono);
  font-size: 26px;
  text-align: left;
  font-weight: 300;
  color: var(--bp-bg-deep);
  opacity: 0;
}

#text-container.typing::after {
  content: '\2502';
  font-weight: 200;
  margin-left: 1px;
  animation: blink-cursor 0.8s step-end 4 forwards;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

p {
  margin-bottom: 10px;
  color: #555;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after { clear: both; }

#bg {
  opacity: 0;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bp-bg-deep);
}

.page {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 0% 5% 0% 5%;
  overflow: hidden;
  opacity: 0;
}

.intropage {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: none;
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 0%;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.page-content {
  position: relative;
  width: 100%;
  opacity: 1;
  max-width: 1460px;
  min-height: 86vh;
  margin: 7vh auto;
  padding: 0;
  border: 1px solid rgba(169, 179, 190,0.35);
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

@media only screen and (max-width: 575px) {
  .page-content {
    min-height: 86vh;
    min-height: 86svh;
    margin: 7vh auto;
    margin: 7svh auto;
  }
}

.intropage-content {
  z-index: 99;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  overflow: hidden;
}

.after-btn { opacity: 1; }

.miguelvelez {
  font-size: 32px;
  letter-spacing: 2px;
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 100;
  padding-bottom: 0px;
  margin-top: -5px;
}

.separator-line {
  position: relative;
  height: 1px;
  margin: 2px 0;
  text-align: center;
}

.separator-line::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 250px;
  height: 1px;
  background: var(--gradient-bgGold);
  transform: translateX(-50%);
}

.headersmalltext {
  font-family: var(--font-heading);
  position: relative;
  opacity: 1;
  font-size: 15px;
  font-weight: 300;
  color: var(--bp-text-secondary);
  letter-spacing: 2.1px;
  bottom: 5px;
}

.myPDFfile {
  font-family: var(--font-heading);
  color: var(--bp-text-secondary);
  font-size: 14px;
  font-weight: 100;
}

@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@property --gradient-percent {
  syntax: "<percentage>";
  initial-value: 15%;
  inherits: false;
}

@property --gradient-shine {
  syntax: "<color>";
  initial-value: rgba(169, 179, 190, 0.6);
  inherits: false;
}

.shinyContainer {
  padding-top: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(3px);
  position: relative;
  z-index: 2;
}

.shinycta {
  z-index: 99;
  --duration: 16s;
  width: 220px;
  height: 41px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  border: 1px solid rgba(169, 179, 190, 0.3);
  border-radius: 74px;
  color: var(--shiny-cta-fg);
  position: relative;
  overflow: hidden;
  box-shadow: inset -3px 3px 6px rgba(0,0,0,0.06), 0 2px 10px rgba(0,0,0,0.08);
  background: var(--shiny-cta-bg) padding-box,
    conic-gradient(
        from var(--gradient-angle),
        transparent,
        var(--shiny-cta-highlight) var(--gradient-percent),
        var(--gradient-shine) calc(var(--gradient-percent) * 2),
        var(--shiny-cta-highlight) calc(var(--gradient-percent) * 3),
        transparent calc(var(--gradient-percent) * 2)
      ) border-box;
  animation: rotate-gradient var(--duration) linear infinite;
  transition: --gradient-shine 0.6s ease-in-out;
}

.shinycta.paused {
  color: rgba(169, 179, 190, 0.3);
  background: var(--shiny-cta-bg) padding-box;
  transition: none;
  animation: none;
}

.shinycta:hover {
  --gradient-shine: rgb(255, 255, 255, 0.7);
}

@keyframes rotate-gradient {
  to { --gradient-angle: 360deg; }
}

.leftmenutext {
  font-family: var(--font-mono);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffffff;
  width: fit-content;
  margin: 6px auto 0;
  position: relative;
  z-index: 1;
  line-height: 1;
  font-size: 14px;
  text-align: center;
  opacity: 0.9;
  user-select: none;
  display: block;
  font-weight: 300;
  padding: 3px 0 2px 0;
  transform: translateY(3px);
  background-color: var(--bp-bg-deep);
}

.menutextfade {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.menutextfadein {
  opacity: 0.9;
  transition: opacity 0.3s ease-in-out;
}

.left-main-panel {
  margin-bottom: 18px;
  margin-top: 18px;
}

.left-main-panel ul {
  list-style: none;
  display: inline-block;
  padding: 1px 1px; 
}

.left-main-panel ul li {
  display: inline-block;
  margin: 0 0 1px;
}

.left-main-panel ul li a {
  margin-top: 18px;
  color: var(--bp-text-secondary);
  border-radius: 1px;
  font-size: 28px;
  padding: 1px;
  height: 10px;
  width: 34px;
  display: block;
  line-height: 0px;
  text-align: center;
  opacity: 1;
  z-index: 99999;
  transition: color 0.3s ease;
}

.left-main-panel ul li a.nav-active {
  color: #ffffff;
}

ul { user-select: none; }
li { user-select: none; }

.myTopMenu {
  font-family: var(--font-body);
  display: inline-block;
  position: relative;
  padding: .1em .2em;
  font-size: 1em;
  line-height: 1;
  text-decoration-color: var(--bp-gold);
  color: var(--bp-gold);
  background-color: #ffffff;
  border-radius: 3px;
  border: 0;
  outline: 0;
  text-shadow: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.myTopMenuUnderline {
  text-decoration: underline;
}

.myTopMenu:hover, .myTopMenu:focus {
  background-color: #ffffff;
  color: #333;
}

.btn-primary,
input[type="submit"].btn-primary,
.btn-resume {
  font-family: var(--font-heading);
  display: inline-block;
  position: relative;
  padding: 0.8em 2.1em;
  margin-bottom: 0.75em;
  margin-right: 0.25em;
  font-size: 1em;
  line-height: 1.2;
  border: 2px solid var(--bp-gold);
  outline: 0;
  color: #ffffff;
  text-shadow: none;
  background: var(--gradient-bgGold);
  background-size: 400% 400%;
  animation: gradientMove 20s ease infinite;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(85, 85, 85,0.15), 0 6px 16px rgba(85, 85, 85,0.10);
  transition: none !important;
  touch-action: manipulation;
  user-select: none;
}

body.isDesktop .btn-primary:hover,
body.isDesktop input[type="submit"].btn-primary:hover {
  background: #ffffff;
  color: #333;
  border: 2px solid var(--bp-gold);
}

.btn-resume:hover {
  color: #ffffff;
  background: var(--gradient-bgGray);
  animation: gradientMove 20s ease infinite;
  border: 2px solid #C0C8D0;
}

.btn-resume {
  padding: 0.3em .6em;
}

.btn-secondary {
  display: inline-block;
  position: relative;
  padding: 0.8em 2.1em;
  margin-bottom: 0.75em;
  margin-right: 0.25em;
  font-size: 1em;
  line-height: 1.2;
  border: 2px solid #C0C8D0;
  outline: 0;
  color: #555;
  text-shadow: none;
  background: #ffffff;
  background-size: 400% 400%;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-heading);
  box-shadow: 0 2px 6px rgba(85, 85, 85,0.10), 0 6px 16px rgba(85, 85, 85,0.06);
  transition: all 0s ease-in-out;
  touch-action: manipulation;
  user-select: none;
}

body.isDesktop .btn-secondary:hover {
  color: #ffffff;
  background: var(--gradient-bgGray);
  background-size: 400% 400%;
  animation: gradientMove 20s ease infinite;
  border: 2px solid #C0C8D0;
}

.clicked {
  color: #ffffff !important;
  background: var(--gradient-bgGray) !important;
  border: 2px solid #C0C8D0 !important;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hide GLightbox arrows on touch / mobile */
@media (hover: none), (max-width: 768px) {
  .glightbox-container .gnext,
  .glightbox-container .gprev { display: none !important; }
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@media only screen and (min-width: 1105px) {
  body::-webkit-scrollbar,
  .animated-section::-webkit-scrollbar,
  .header::-webkit-scrollbar {
    position: absolute;
    width: 8px;
    margin-left: -5px;
  }
   
  body::-webkit-scrollbar-track,
  .animated-section::-webkit-scrollbar-track,
  .header::-webkit-scrollbar-track {
    background-color: var(--bp-content-bg);
  }

  body::-webkit-scrollbar-thumb,
  .animated-section::-webkit-scrollbar-thumb,
  .header::-webkit-scrollbar-thumb {
    background-color: var(--bp-slate);
    border-radius: 4px;
    outline: 0;
  }
}

.title-block {
  position: relative;
  text-align: center;
}

.title-block h3 {
  position: relative;
  font-size: 21px;
  z-index: 1;
}

.title-block h3 span {
  color: var(--bp-gold);
}

.title-block:after {
  position: absolute;
  opacity: 1;
  top: 0;
  right: -1px;
  content: '';
  height: 100%;
  width: 50px;
  max-width: 50%;
  border-radius: 30px;
  z-index: 0;
}

.title-block h2 {
  font-size: 60px;
  line-height: 74px;
  margin: 0;
  text-align: center;
}

.title-block .sp-subtitle {
  color: var(--bp-text-secondary);
  font-size: 21px;
  font-weight: 300;
  margin: 5px 0;
  text-align: center;
}

@media only screen and (min-width: 1105px) and (max-width: 1367px) { 
  .leftmenutext {
    display: block;
    left: 1px;
    transform: translateY(-10px);
  }
}

@media only screen and (min-width: 1105px) {
  .header {
    position: relative;
    display: block;
    float: left;
    width: 100%;
    max-width: 340px;
    height: 100%;
    max-height: 80vh;
    min-height: inherit;
    text-align: center;
    padding: 49px 30px 45px;
    overflow: hidden;
    background-color: var(--bp-bg-deep);
    isolation: isolate;
  }
  .header > * {
    z-index: 1;
  }
  .header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 1px;
    pointer-events: none;
    z-index: -1;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.25) 1px, transparent 1px),
      linear-gradient(180deg, #013f7cef, #013f7c7c);
    background-size: 20px 20px, 20px 20px, 100% 100%;
    background-position: -1px -1px, -1px -1px, 0 0;
      -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
        mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
  }
  .header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    opacity: 0.45;
    pointer-events: none;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
  }
  .AddSpacingAt575pw {
    visibility: hidden;
    display:  none;
  }
}

.header-logo {
  position: relative;
  width: 170px;
  margin: 0 auto 14px;
  padding-bottom: 4px;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10), 0 8px 24px rgba(0,0,0,0.12), 0 0 30px var(--bp-gold-glow-subtle);
  border-radius: 50%;
}

.header-logo img {
  image-rendering: -webkit-optimize-contrast;
  max-width: 100%;
  height: auto;
  border-radius: 300px;
}

.header-logo:after {
  position: absolute;
  opacity: 0.08;
  top: 3%;
  left: 3%;
  border-radius: 300px;
  content: '';
  height: 100%;
  width: 100%;
  background-color: var(--bp-bg-deep);
  z-index: -1;
}

.header .copyrights {
  font-family: var(--font-heading);
  color: var(--bp-text-secondary);
  width: 380px;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 5px 10px 15px;
  line-height: 14px;
  font-size: 12px;
  text-align: center;
  opacity: .3;
}

.header .info-list {
  font-family: var(--font-heading);
  color: var(--bp-text-secondary);
  font-weight: 300;
  font-size: 14px;
  opacity: .8;
}

.content-area {
  position: absolute;
  right: 0;
  background-color: #ffffff;
  height: 100%;
  width: 100%;
  max-width: calc(100% - 340px);
  overflow: hidden;
}

.animated-sections {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.animated-section {
  position: absolute;
  background-color: #ffffff;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  padding: 0;
  opacity: 0;
  overflow-x: hidden;
  overflow-y: auto;
  visibility: hidden;
  background-size: cover;
}

/* iOS Safari: 100vh includes browser chrome, making content overflow.
   svh = small viewport height = visible area with address bar showing. */
@media only screen and (max-width: 575px) {
  .animated-section {
    height: 100vh;
    height: 100svh;
  }
}

.section-content {
  background-color: #ffffff;
  padding-left: 50px;
  padding-right: 50px;
  padding-top: 50px;
  padding-bottom: 50px;
  position: relative;
  height: auto;
  width: 100%;
  min-width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

.noscroll-content-section {
  min-height: 300px !important; 
  overflow: hidden !important;
}

.section-active {
  opacity: 1;
  visibility: visible;
  z-index: 99;
}

.page-title {
  display: inline-block;
  position: relative;
  padding-right: 25px;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.page-title h2 {
  position: relative;
  font-size: 36px;
  z-index: 1;
}

.page-title h4 {
  font-weight: 100;
  margin-top: 15px;
  color: #555;
  font-size: 18px;
}

.pagetitleScript {
  font-weight: normal;
  margin-top: 15px;
  font-family: var(--font-script);
  color: var(--bp-text-secondary);
  opacity: 1;
  font-size: 22px;
}

#submit_button { width: 100%; }
.form-control-min-width { min-width: 300px; }

.ContactSubTitle {
  font-size: 22px;
  font-family: var(--font-heading);
  color: #111;
  font-weight: 600;
  padding-left: 5px;
  padding-top: 10px;
  padding-bottom: 5px;
  transform: translateY(20px);
}

.ShowAt577pw {
  visibility: hidden;
  display: none;
}

.ShowAt577pw h4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ShowAt577pw .left { text-align: left; padding-left: 5%; }
.ShowAt577pw .right { text-align: right; padding-right: 5%; }

.form-group {
  position: relative;
  margin: 0 0 21.5px;
}

.form-control,
.form-control:focus { height: 42px; }

.form-control,
.has-error .form-control,
input[type="text"] {
  position: relative;
  border: 2px solid #A9B3BE7e;
  border-radius: 8px;
  display: block;
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  margin: 0;
  padding: 5px 15px 5px 6px;
  width: 100%;
  background: none;
  background-color: transparent;
  text-align: left;
  color: inherit;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 8px rgba(0,0,0,0.04);
  outline: none;
  font-family: var(--font-body);
}

input[type="text"]:focus:not(.cb-input-field),
.form-control:focus {
  border-color: #cdb07a80;
}

textarea.form-control, textarea.form-control:focus {
  height: auto;
}

.form-control::-moz-placeholder { color: #A9B3BE7e; }
.form-control:-ms-input-placeholder { color: #A9B3BE7e; }
.form-control::-webkit-input-placeholder { color: #A9B3BE7e; }

.form-group .form-control ~ label {
  display: none;
}

input[name="mvhpsite"] {
  display: none;
  visibility: hidden;
  height: 0;
}

.containerAboutMain {
  display: flex;
  align-items: flex-start;
  padding-top: 5px;
}

.imageAboutMain {
  flex: 0 0 auto;
  margin-right: 20px;
  margin-left: 20px;
  margin-bottom: 20px;
}

.imageAboutMain img {
  image-rendering: auto;
  max-width: 80%;
  height: auto;
  display: block;
  background-color: #fff;
  border-radius: 50%;
  overflow: hidden;
  margin-left: 0px;
}

.textAboutMain { flex: 1 1 auto; }

.textAboutMain p {
  margin: 0;
  text-align: left;
  padding-right: 150px;
  padding-left: 20px;
}

.home-photo {
  display: block;
  position: relative;
  width: calc(100% + 100px);
  padding-bottom: calc(100% + 100px);
  margin-top: -100px;
  background-color: #fff;
  border-radius: 1000px;
  border-top-right-radius: 0;
  overflow: hidden;
}

.home-photo .hp-inner {
  image-rendering: auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: auto;
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  width: auto;
  left: 0;
  right: 0;
}

.home-text {
  text-align: left;
  padding-right: 5px;
  padding-left: 10px;
  padding-top: 35px;
}

.home-text h1 {
  font-family: var(--font-script);
  font-weight: 100;
  letter-spacing: 1px;
  font-size: 54px;
  line-height: 54px;
  margin-top: 0;
  margin-bottom: 20px;
}

.home-text h4 {
  font-size: 16px;
  color: var(--bp-text-secondary);
  font-weight: 300;
  margin-bottom: 5px;
}

.home-buttons {
  margin-top: 20px;
  pointer-events: none;
}

.info-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  margin: 0;
  padding: 0;
  line-height: 1.3;
}

.info-list ul li { margin-bottom: 0; }
.info-list ul li:last-child { margin-bottom: 0; }

.info-list .title {
  margin-right: 5px;
}

.info-block-w-icon { margin-bottom: 15px; }
.info-block-w-icon .ci-text h4 { margin: 5px 0; }
.info-block-w-icon .ci-text p { font-size: .95em; }
.info-block-w-icon {
  display: flex;
  align-items: flex-start;
}
.info-block-w-icon .ci-icon {
  flex-shrink: 0;
  width: 54px;
  padding-right: 25px;
}

.info-block-w-icon i {
  position: relative;
  font-size: 42px;
  color: var(--bp-slate);
  opacity: 1;
}

/* Shared card hover effect */
.info-block,
.certificate-item,
.prof-fact {
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-block:hover,
.certificate-item:hover,
.prof-fact:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.06), 0 16px 32px rgba(0,0,0,0.08);
}

.info-block,
.prof-fact {
  position: relative;
  text-align: right;
  width: 100%;
  display: block;
  margin: 0 0 15px;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  overflow: hidden;
}

.info-block.gray-bg { background-color: var(--bp-content-bg); }

.info-block i {
  text-align: center;
  display: block;
  font-size: 38px;
  color: var(--bp-slate);
  opacity: 1;
}

.info-block .contacticons {
  color: var(--bp-gold);
}

.info-block h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  text-align: center;
}

.info-block .info-block-value {
  font-size: 24px;
  font-weight: 400;
  display: block;
  margin: 10px 0;
  color: var(--bp-slate);
}

.info-block .info-block-value:empty { margin: 0; }

.testimonial {
  text-align: center;
  background-color: rgba(60, 93, 124,0.03);
  border: 1px solid rgba(60, 93, 124,0.12);
  border-radius: 12px;
  margin: 45px 2px 10px;
  padding: 0 25px 5px 25px;
  height: 250px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04);
}

.testimonial img {
  image-rendering: auto;
  max-width: 90px;
  max-height: 90px;
  margin: -45px auto 20px;
  border-radius: 90px;
  box-shadow: 0px 10px 10px -8px rgba(0,0,0,.22);
}

.testimonial .text {
  text-align: left;
  font-style: italic;
}

.testimonial .author-info {
  position: relative;
  text-align: right;
  margin-top: 20px;
}

.testimonial .author-info .icon {
  content: '';
  position: absolute;
  font-size: 28px;
  left: 0;
  top: 8px;
  color: var(--bp-text-secondary);
  opacity: .5;
}

.testimonial .author-info .author {
  margin: 0;
  font-size: 15px;
}

.testimonial .author-info .company {
  color: var(--bp-text-secondary);
  font-size: 13px;
  font-weight: 300;
  margin: 0;
}

.technologies-marquee,
.testimonials-marquee {
  margin-left: -65px;
  margin-right: -65px;
  width: calc(100% + 130px);
  overflow: hidden;
}

 .technologies img,
 .testimonials img {
   -webkit-user-drag: none;
   user-select: none;
   pointer-events: none;
 }
 
.technologies-marquee .marquee-track,
.testimonials-marquee .marquee-track {
  display: flex;
  width: max-content;
}

.technologies-marquee .marquee-content,
.testimonials-marquee .marquee-content {
  display: flex;
  flex-shrink: 0;
  animation: marquee 65s linear infinite;
  will-change: transform;
}

.technologies-marquee:hover .marquee-content,
.testimonials-marquee:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

.technologies-marquee .tech-block {
  padding: 5px 15px 0px 15px;
  margin-right: 10px;
  flex-shrink: 0;
}

.technologies-marquee .tech-block img {
  transform: translateZ(0);
  image-rendering: -webkit-optimize-contrast;
  height: auto;
}

.testimonials-marquee .testimonial {
  flex-shrink: 0;
  width: min(450px, 80vw);
  margin-right: 25px;
}

.tech-block {
  text-align: center;
  padding: 5px 0;
  margin-bottom: 10px;
  opacity: .7;
  height: auto !important;
  transition: all 0.1s ease-in-out;
}

/* Swiper navigation for case study carousels — pagination only, no arrows */
.CasesCarousel .swiper-button-prev,
.CasesCarousel .swiper-button-next {
  display: none;
}

.CasesCarousel .swiper-pagination-bullet-active {
  background: var(--bp-gold);
}

.timeline-second-style .timeline-item {
  position: relative;
  display: flex;
  width: 100%;
  padding-bottom: 15px;
}

.timeline-second-style .timeline-item:last-child { padding-bottom: 0; }

.timeline-second-style .left-part {
  width: 30%;
  flex-shrink: 0;
  padding-right: 25px;
  min-height: 100%;
  text-align: right;
}

.timeline-second-style .right-part {
  width: 70%;
  padding-left: 25px;
  padding-right: 15px;
}

.timeline-second-style .right-part p,
.timeline-second-style .right-part p > * {
  font-size: 0.92em;
}

.timeline-second-style .divider {
  position: absolute;
  top: 0;
  left: 30%;
  bottom: 0;
  width: 1px;
  background-image: repeating-linear-gradient(180deg, var(--bp-slate) 0px, var(--bp-slate) 4px, transparent 4px, transparent 8px);
  background-color: transparent;
}

.timeline-second-style .divider:before {
  content: '';
  display: block;
  position: absolute;
  margin-top: 2px;
  width: 21px;
  height: 21px;
  margin-left: -10px;
  border-radius: 12px;
  background-color: var(--bp-slate);
  opacity: .25;
  z-index: 0;
}

.timeline-second-style .divider:after {
  content: '';
  display: block;
  position: absolute;
  margin-top: 6px;
  width: 13px;
  height: 13px;
  margin-left: -6px;
  background-color: #ffffff;
  border-radius: 10px;
  border: 2px solid var(--bp-slate);
  z-index: 1;
}

.timeline-second-style .item-title {
  font-size: 16px;
  margin-bottom: 3px;
}

.timeline-second-style .item-period {
  margin: 3px 0;
  font-size: 14px;
  line-height: 1.4em;
}

.timeline-second-style .item-company {
  display: block;
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.45em;
  color: var(--bp-text-secondary);
}

.timeline-second-style .timeline-item:last-child .right-part { padding-bottom: 0; }

.timeline-second-style .item-logo {
  display: block;
  margin-bottom: 10px;
}

.timeline-second-style .item-logo img {
  image-rendering: -webkit-optimize-contrast;
  max-height: 40px;
}

.skills-info.skills-second-style { margin-bottom: 30px; }

.skills-info.skills-second-style h4 { 
  font-size: 13px;
  line-height: 1.1em;
  position: relative; 
  float: left;
  margin: 0 0 4px;
}

.skills-second-style .skill-container {
  position: relative;
  display: inline-block;
  background-color: var(--bp-content-bg);
  border-radius: 8px;
  box-sizing: border-box;
  height: 6px;
  margin-bottom: 8px;
  width: 100%;
}

.skills-second-style .skill-container:before {
  content: '';
  position: absolute;
  background-color: var(--bp-bg-deep);
}

.skills-second-style .skill-value {
  font-size: 11px;
  line-height: 1.1em;
  position: relative;
  float: right;
  margin: 0 0 4px;
  color: var(--bp-text-secondary);
}

.skills-second-style .skill-percentage {
  background: var(--bp-acabe);
  border-radius: 8px;
  height: 4px;
  padding: 0;
}

.skills-second-style .skill-container.skill-1 .skill-percentage { width: 90%; }
.skills-second-style .skill-container.skill-2 .skill-percentage { width: 80%; }
.skills-second-style .skill-container.skill-3 .skill-percentage { width: 65%; }
.skills-second-style .skill-container.skill-4 .skill-percentage { width: 85%; }
.skills-second-style .skill-container.skill-5 .skill-percentage { width: 75%; }
.skills-second-style .skill-container.skill-6 .skill-percentage { width: 45%; }
.skills-second-style .skill-container.skill-7 .skill-percentage { width: 70%; }
.skills-second-style .skill-container.skill-8 .skill-percentage { width: 75%; }
.skills-second-style .skill-container.skill-9 .skill-percentage { width: 45%; }

.knowledges { list-style: none; }

.knowledges li {
  display: inline-block;
  background-color: var(--bp-gold);
  border-radius: 25px;
  color: #ffffff;
  padding: 1px 12px;
  margin: 3px 0px;
  font-size: 13px;
}

.certificate-item {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
}

.certi-logo {
  flex-shrink: 0;
  width: 120px;
  background-color: #ffffff;
  padding: 10px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  backface-visibility: hidden;
}

.certi-logo img {
  image-rendering: -webkit-optimize-contrast;
  display: block;
  max-width: 100%;
  height: auto;
}

.certi-content {
  flex: 1;
  padding: 5px 10px;
}

.certi-title h4 { font-size: 12px; margin: 0 0 5px; }
.certi-id { font-size: .9em; color: #555; }
.certi-desc { font-size: .9em; color: #555; opacity: .8; }

.prof-fact.gray-bg { background-color: var(--bp-content-bg); }

.prof-fact h4 {
  font-family: var(--font-body);
  font-size: 16px;
  margin: 5px 0 0;
}

.prof-fact i {
  position: absolute;
  font-size: 78px;
  color: var(--bp-slate);
  margin-bottom: 0;
  width: 78px;
  height: 78px;
  left: -27px;
  bottom: auto;
  top: auto;
  opacity: 0.2;
}

.prof-fact .info-block {
  font-size: 24px;
  font-weight: 400;
  display: block;
  margin: 10px 0;
  color: var(--bp-gold);
}

.prof-fact-block-value {
  color: var(--bp-gold);
  font-size: 20px;
  line-height: 50px;
  display: block;
  margin: 0;
}

.prof-fact-block-text { display: block; }

.controls.two-columns .left-column { width: 47%; float: left; margin-right: 3%; }
.controls.two-columns .right-column { width: 50%; float: right; }

.grid-filters {
  margin-bottom: 5px;
  padding-left: 5px;
  font-family: var(--font-heading);
  font-weight: 100;
  font-size: 18px;
}

.grid-filters li {
  display: inline-block;
  margin-right: 15px;
  opacity: 0.5;
}

.grid-filters li.active { opacity: 1; }
.grid-filters li a { color: #555; cursor: pointer; }

.portfolio-grid figure {
  width: 50%;
  float: left;
  padding: 7px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  max-height: 400px;
  max-width: 600px;
}

.portfolio-grid.one-column figure { width: 100%; }
.portfolio-grid.two-columns figure { width: 50%; }
.portfolio-grid.three-columns figure { width: 33.33333%; }
.portfolio-grid.four-columns figure { width: 25%; }
.portfolio-grid.five-columns figure { width: 20%; }

.portfolio-grid img {
  image-rendering: smooth;
  position: relative;
  display: block;
  width: 100%;
}

.portfolio-grid figure a,
.portfolio-rid figure img {
  image-rendering: smooth;
  display: block;
  position: relative;
}

.portfolio-grid figure img {
  image-rendering: smooth;
  border: 0px solid transparent;
  border-style: hidden;
}

.portfolio-grid figure a {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 3;
}

.portfolio-item-img {
  image-rendering: smooth;
  position: relative;
  overflow: hidden;
}

.portfolio-grid figure .portfolio-item-img:after {
  image-rendering: smooth;
  will-change: transform;
  content: '';
  position: absolute;
  background-color: rgba(0,0,0,.65);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  transition: all 0.2s ease-in-out;
}

.portfolio-grid figure:hover .portfolio-item-img:after {
  image-rendering: smooth;
  opacity: 1;
  will-change: transform;
}

.portfolio-item-desc { margin-top: 12px; }
.portfolio-item-desc h4 { margin-bottom: 0; }
.portfolio-item-desc small { color: var(--bp-text-secondary); }

.portfolio-grid figure .name {
  font-family: var(--font-heading);
  display: block;
  padding: 2px 7px;
  font-size: 1.8em;
  font-weight: 300;
  color: #ffffff;
  position: absolute;
  bottom: 20px;
  left: 10px;
  opacity: 0;
  transition: all 0.2s ease-in-out;
  transform: translate3d(50%, 0%, 0);
}

.portfolio-grid figure .name span { font-weight: 300; }

.portfolio-grid figure .category {
  font-family: var(--font-heading);
  display: inline-block;
  padding: 2px 7px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.8em;
  top: 10px;
  right: 20px;
  position: absolute;
  opacity: 0;
  transition: all 0.2s ease-in-out;
  transform: translate3d(-50%, 0%, 0);
}

.portfolio-grid figure:hover i,
.portfolio-grid figure:hover .name,
.portfolio-grid figure:hover .category {
  opacity: 1;
}

.portfolio-grid figure:hover .name {
  transform: translate3d(0, 0, 0);
  transition-delay: 0.2s;
}

.portfolio-grid figure:hover .category {
  transform: translate3d(0, 0, 0);
  transition-delay: 0.2s;
}

section[data-id^="case"]:not([data-id="cases"]) .page-title {
  margin-bottom: 0;
  padding-bottom: 0;
}

.ajax-page-nav {
  text-align: right;
  padding-bottom: 6px;
}

.ajax-page-nav > div.nav-item {
  position: relative;
  display: inline-block;
  margin: 0 3px;
  padding-left: 10px;
}

.ajax-page-nav > div.nav-item a {
  display: inline-block;
  height: 30px;
  width: 30px;
  border-radius: 8px;
  text-align: center;
  color: var(--bp-text-secondary);
  background-color: var(--bp-content-bg);
  transition: 0s;
}

body.isDesktop .ajax-page-nav > div.nav-item a {
  transition: background-color 0.2s, color 0.2s;
}

.ajax-page-nav > div.nav-item a i {
  line-height: 30px;
  font-size: 12px;
  font-weight: 600;
}

body.isDesktop:not(.is-transitioning) .ajax-page-nav > div.nav-item a:hover,
.ajax-page-nav > div.nav-item a:active {
  background-color: var(--bp-gold);
  color: #ffffff;
}

.portfolio-block { padding-top: 30px; }

.ajax-page-page-content img {
  max-width: 100%;
}

.project-description {
  display: block;
  position: relative;
  padding: 20px 25px 25px;
  background-color: #ffffff;
  border-left: 2px solid var(--bp-content-bg);
}

.project-description .block-title { margin-bottom: 15px; }
.ajax-page-wrapper .block-title h3 { font-size: 18px; }
.block-title {
  margin-bottom: 10px;
}

.project-general-info {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
}

.project-general-info li { margin : 0 0 10px; }

.project-general-info .svg-icon {
  color: var(--bp-acabe);
  margin-right: 5px;
}

.project-general-info p { margin: 0; }

.tags-block { margin: 25px 0 0; }

.tags {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tags > li { display: inline-block; }

.tags a {
  display: inline-block;
  font-size: 12px;
  line-height: 1.5em;
  color: #ffffff;
  padding: 2px 7px;
  background-color: var(--bp-gold);
  border-radius: 6px;
  margin: 3px 2px 2px;
  pointer-events: none;
  cursor: default;
}

.tags a:first-child { margin-left: 0; }

.mv-map {
  width: 100%;
  margin: 0;
}

.mv-map iframe {
  height: 120px;
  max-width: 100%;
  width: 100%;
  margin: 0;
  line-height: 1;
  border: none;
}

/* Compress home spacers on desktop to offset paragraph reflow — keeps buttons stable */
@media only screen and (min-width: 768px) {
  .home-text h1 { margin-bottom: clamp(10px, 1.05vw, 20px); }
  .home-text > .HideAt1024pw > .white-space-35 { padding-bottom: clamp(0px, 1.83vw, 35px); }
  .home-text > .white-space-15 { padding-bottom: clamp(0px, 0.79vw, 15px); }
  .home-text > .HideAt1024pw > .white-space-20 { padding-bottom: clamp(0px, 1.05vw, 20px); }
}

@media only screen and (max-width: 914px) {
  .HideAt914pw { display: none; }
}

/* ---- Breakpoint: ≤1367px — standard laptop ---- */
@media only screen and (max-width: 1367px) {
  .myAddRpadding { padding-right: 0%; }
  .page { padding: 0%; }
  .page-content {
    margin: 0;
    padding: 0;
    border: 0px;
    min-height: 100%;
  }
  #bp-overlay {
    top: 0;
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: none;
  }
  .header { min-height: 100vh; }
  .prof-fact { padding: 15px; }
  .prof-fact h4 { font-size: 14px; }
  .prof-fact-block-value { font-size: 18px; }
  .certi-title h4 { font-size: 11px; }
  .certi-logo { width: 100px; }
}

@media only screen and (max-width: 1420px) {
    .textAboutMain p {
      padding-right: 30px;
      padding-left: 5px;
    }
}

@media only screen and (max-width: 1367px) {
  .home-text { padding-top: 40px; }
  .containerAboutMain {
    display: inline-block;
    align-items: center;
  }
  .containerAboutMain p {
    display: inline-block;
    align-items: center;
  }
  .textAboutMain p {
    padding-right: 0px;
    padding-left: 0px;
  }
  .imageAboutMain {
    max-width: 80%;
    padding-bottom: 30px;
    margin-left: 10%;
  }
  .imageAboutMain img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .page-content { max-width: none; }
  .header-logo {
    position: relative;
    margin: 0 auto 35px;
    z-index: 1;
  }
  .miguelvelez { font-size: 32px; }
  .left-main-panel ul li a { font-size: 26px; }
  .leftmenutext { display: block; width: fit-content; transform: translateY(3px); }
  .myinfoHeader { font-size: 12px; }
  .header .copyrights { width: 340px; }
  .myintrotext { font-size: 60px; letter-spacing: 18px; }
  .char { font-size: 60px; }
  .myunderintrotext {
    font-size: 18px;
    letter-spacing: 12.6px;
    margin-top: 1px;
    margin-right: -8px;
  } 
  .custom-underline { padding-bottom: 22px; }
  .portfolio-grid figure .name { font-size: 1.7em; font-weight: 300; }
  .portfolio-grid figure .name span { font-weight: 300; }
  .portfolio-grid figure .category { font-size: 18px; line-height: 1.7em; }
}

@media only screen and (min-width: 1105px) {
  .menu-toggle { display: none; }
  .ShowAt1025pw { visibility: hidden; display: none; }
}

@media only screen and (max-width: 1104px) {
  .HideAt1024pw { visibility: hidden; display: none; }
  .certi-title h4 { font-size: 10px; }
  .certi-desc { font-size: .8em; }
  .certi-logo { width: 80px; }
  .btn-primary,
  .btn-secondary { padding: 0.6em 1em; }
  .custom-underline::before { height: 2px; bottom: 4px; }
  .myintrotext {
    font-size: 48px;
    font-weight: 100;
    letter-spacing: 10.5px;
    padding-left: 3px;
  }
  .myunderintrotext {
    font-size: 14px;
    letter-spacing: 8.5px;
    margin-top: -1px;
    padding-left: 6px;
    padding-right: 7px;
  }
  .char { font-size: 48px; }
  .custom-underline {
    padding-bottom: 16px;
    padding-left: 12px;
  }
  #text-container { font-size: 23px; }
  .home-text { padding-top: 25px; }
  .header {
    position: absolute;
    width: 100%;
    max-width: 310px;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    padding: 40px 30px 10px 30px;
    text-align: center;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
    transition: all .25s ease-in-out;
    box-shadow: -4px 0 24px -4px var(--bp-gold-glow-medium);
    background-color: var(--bp-bg-deep);
  }

  .header::before {
    display: none;
  }

  .header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: var(--bp-gold);
    opacity: 0.45;
    pointer-events: none;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to bottom, transparent 5%, black 20%, black 80%, transparent 95%);
    mask-image: linear-gradient(to bottom, transparent 5%, black 20%, black 80%, transparent 95%);
    box-shadow:
      -1px 0 4px 0 var(--bp-gold-glow-strong),
      -2px 0 12px 1px var(--bp-gold-glow),
      -3px 0 24px 2px var(--bp-gold-glow-subtle);
  }

  .header .copyrights {
    right: 0;
    width: 100%;
    position: relative;
    margin-top: 90%;
  }

  .page { padding: 0; }
  
  .page-content {
    padding: 0;
    margin: 0;
    border-radius: 0;
    min-height: 100%;
  }

  .content-area { max-width: 100%; }

  .animated-section {
    border-radius: 0;
    overflow: auto !important;
  }

  .header-logo {
    width: 140px;
    max-width: 200px;
    margin-bottom: 25px;
  }

  .portfolio-grid figure .name { font-size: 1.6em; font-weight: 300; }
  .portfolio-grid figure .name span { font-weight: 300; }
  .portfolio-grid figure .category { font-size: 18px; line-height: 1.6em; }

  .mobile-menu-hide {
    display: none;
    width: 0;
    right: 0;
    margin-right: -100%;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    box-shadow: none;
  }

  #site_header.no-transition { transition: none !important; }

  .menu-toggle {
    position: absolute;
    display: block;
    width: 48px;
    height: 48px;
    line-height: 46px;
    text-align: center;
    background: var(--gradient-bgGold);
    background-size: 400% 400%;
    animation: gradientMove 20s ease infinite;
    right: 26px;
    font-size: 19px;
    top: 10px;
    border-radius: 6px;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
    z-index: 900;
  }
  
  .menu-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 50%;
    background: #ffffff;
    border-radius: 5px;
    opacity: 1;
    left: 25%;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
  }

  .menu-toggle span:nth-child(1) {
    top: 17px;
    transform-origin: left center;
  }

  .menu-toggle span:nth-child(2) {
    top: 23px;
    transform-origin: left center;
  }

  .menu-toggle span:nth-child(3) {
    top: 29px;
    transform-origin: left center;
  }

  .menu-toggle.open {
    background-color: transparent;
    background: none;
  }

  .menu-toggle.open span { background-color: var(--bp-text-secondary); }

  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 14px;
    left: 15px;
  }

  .menu-toggle.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 31px;
    left: 15px;
  }

  .home-photo {
    width: 100%;
    padding-bottom: 100%;
    margin-top: 30px;
  }

  .home-text h1 {
    font-size: 36px;
    line-height: 44px;
  }

  .title-block h2 {
    font-size: 48px;
    line-height: 56px;
    margin: 0 0 10px;
    text-align: center;
  }

  .title-block .sp-subtitle { font-size: 18px; }
}

@media only screen and (max-height: 928px) {
  .header { padding: 28px 30px 10px 30px; }
  .AddSpacingAt928pw { visibility: visible; display: block; }
}

@media only screen and (max-height: 476px) {
  .header-logo { display: none; }
  .miguelvelez { padding-top: 30px; font-size: 26px; }
}

@media only screen and (max-height: 576px) {
  .copyrights { display: none; }
}

/* ---- Breakpoint: ≤575px — mobile ---- */
@media only screen and (max-width: 575px) {
  .AddSpacingAt575pw { visibility: visible; display: block; }
  .HideAt577pw { visibility: hidden; display: none; }
  .ShowAt577pw { visibility: visible; display: block; }

  .info-block i {
    font-size: 28px; 
    visibility: hidden;
    display: none;             
  }

  .info-block {
    position: relative;
    text-align: right;
    margin: 0 0 15px;
    padding: 10px;
  }

  .section-content { padding: 30px 20px; }
  .technologies-marquee,
  .testimonials-marquee { margin-left: -35px; margin-right: -35px; width: calc(100% + 70px); }
  .technologies-marquee .tech-block img { width: 100px; }
  .technologies-marquee .tech-block { padding: 5px 10px 0 10px; margin-right: 6px; }
  .page-title h2 { font-size: 26px; }
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  h3 { font-size: 22px; }
  .ContactSubTitle { font-size: 18px; }
  /* p6/p7 now visible on mobile — both smaller circles show */
}

/* Align Intro For tablets (portrait) */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .mycenterchild {
    transform: translateY(-2vh);
  }

  #intro {
    transform: translateY(-3vh);
  }
}

/* Align Intro For mobile devices (portrait) */
@media only screen and (max-width: 768px) and (orientation: portrait) {
  .mycenterchild {
    transform: translateY(-2vh);
  }

  #intro {
    transform: translateY(-3vh);
  }
}

/* Align Intro For landscape phones */
@media only screen and (max-height: 500px) and (orientation: landscape) {
  .mycenterchild {
    transform: translateY(-3vh);
  }
  #intro {
    transform: translateY(-4vh);
  }
}

/* ---- Breakpoint: ≤768px — tablet portrait ---- */
@media only screen and (max-width: 768px) {
  .p8, .p9 { display: none !important; }
  .home-photo {
    width: 70%;
    padding-bottom: 70%;
    margin-left: 16%;
  }
 
  .CasesTitle { font-size: 28px; }
  #text-container { font-size: 26px; }
  .home-text { padding-top: 8px; }
  .home-buttons { margin-top: 30px; }
  .imageAboutMain { margin-left: 11%; }
  .menu-toggle { right: 12px; }
  .ajax-page-nav > div.nav-item a { height: 30px; width: 30px; }
  .portfolio-grid figure .name {
    font-size: 1.1em;
    font-weight: 300;
    bottom: 10px;
  }
  .portfolio-grid figure .name span { font-weight: 300; }
  .portfolio-grid figure .category {
    font-size: 18px;
    line-height: 1.1em;
    top: 10px;
  }
  .grid-filters { font-size: 16px; }
  .section-content { padding-left: 40px; padding-right: 40px; }
  .technologies-marquee,
  .testimonials-marquee { margin-left: -55px; margin-right: -55px; width: calc(100% + 110px); }
  .technologies-marquee .tech-block img { width: 130px; }
  .info-list { margin-top: 20px; }
  
  .portfolio-grid figure,
  .portfolio-grid.three-columns figure { width: 50%; }

  .portfolio-grid.four-columns figure,
  .portfolio-grid.five-columns figure { width: 33.3333333%; }
}

@media only screen and (max-width: 480px) {
  .separator-line::before { width: 180px; }
  #text-container { font-size: 22px; }
  .home-text { padding-top: 5px; }

   .portfolio-grid figure .name {
    font-size: 1.1em;
    font-weight: 300;
    padding: 2px 3px;
    bottom: 10px;
  }

  .portfolio-grid figure .name span { font-weight: 300; }

  .portfolio-grid figure .category {
    font-size: 16px;
    line-height: 1.1em;
    top: 10px;
  }

  .portfolio-grid figure { width: 100%; }

  .portfolio-grid.three-columns figure,
  .portfolio-grid.two-columns figure { width: 100%; }

  .portfolio-grid figure,
  .portfolio-grid.two-columns figure,
  .portfolio-grid.three-columns figure,
  .portfolio-grid.four-columns figure,
  .portfolio-grid.five-columns figure { width: 100%; }

  .timeline-second-style .timeline-item {
    position: relative;
    display: block;
  }

  .timeline-second-style .left-part {
    width: 100%;
    display: block;
    padding-left: 25px;
    min-height: 100%;
    text-align: left;
  }

  .timeline-second-style .divider { left: 0; }

  .timeline-second-style .right-part {
    width: 100%;
    display: block;
    padding-left: 25px;
    padding-right: 0;
  }

  .controls.two-columns .right-column,
  .controls.two-columns .left-column {
    float: none;
    margin: 0;
    width: 100%;
  }

}

@media only screen and (max-width: 420px) {
  .myintrotext {
    font-size: 28px;
    padding-left: 0px;
    padding-right: 0px;
    font-weight: 100;
    letter-spacing: 12px;
  }

  .char { font-size: 32px; }
  
  .myunderintrotext {
    font-size: 13px;
    letter-spacing: 5.9px;
    margin-top: -1px;
    padding-right: 10px;
  }

  .custom-underline {
    padding-bottom: 9px;
    padding-left: 12px;
  }  
}

/* ===== Contact Section Redesign (mobile-only, ≤575px) ===== */

/* Desktop defaults: hide mobile-only elements */
.contact-info-inline { display: none; }

/* Form wrapper — centered on all sizes */
.contact-form-wrapper {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-section-redesign {
  position: relative;
  overflow: hidden;
}


/* Inline contact info item styles (rendered only on mobile) */
.contact-info-item {
  font-family: var(--font-body);
  font-size: clamp(13px, 3.2vw, 18px);
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}

.contact-info-item i {
  color: var(--bp-gold);
  margin-right: clamp(4px, 1vw, 8px);
  font-size: clamp(18px, 4.5vw, 26px);
  vertical-align: middle;
}

.contact-info-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--bp-gold);
  flex-shrink: 0;
}

/* ===== Contact Mobile Redesign (≤575px) ===== */

@media only screen and (max-width: 575px) {
  /* Show desktop-style cards on mobile (only phone + email) */
  .contact-section-redesign .contact-info-desktop {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 0;
    padding: clamp(4px, 1.2svh, 12px) 0;
  }

  /* Hide location card on mobile */
  .contact-section-redesign .contact-info-location {
    display: none;
  }

  /* Two remaining cards: shrink to content */
  .contact-section-redesign .contact-info-desktop > .col-xs-12:not(.contact-info-location) {
    width: auto;
    flex: 0 1 auto;
    padding: 0;
  }

  /* Restore icons that the global ≤575px rule hides */
  .contact-section-redesign .info-block i {
    display: block !important;
    visibility: visible !important;
    font-size: 22px;
  }

  .contact-section-redesign .info-block {
    width: auto;
    padding: 12px 20px;
    margin: 0;
  }

  .contact-section-redesign .info-block h4 {
    font-size: 12px;
  }

  /* Hide inline fallback — no longer needed */
  .contact-info-inline {
    display: none !important;
  }

  /* Fill viewport height exactly — textarea absorbs variable space */
  .contact-section-redesign {
    padding-top: clamp(12px, 2.5svh, 25px);
    padding-bottom: clamp(10px, 1.8svh, 20px);
    display: flex;
    flex-direction: column;
    height: 100% !important;
    min-height: 0 !important;
    box-sizing: border-box;
  }

  /* Spacer divs: grow to distribute vertical space */
  .contact-section-redesign > .white-space-5,
  .contact-section-redesign > .white-space-15 {
    flex: 1 1 clamp(3px, 0.8svh, 15px);
    min-height: 0;
    max-height: clamp(8px, 2svh, 28px);
    padding-bottom: 0;
  }

  /* Form wrapper: natural size, doesn't stretch — leftover space goes to footer */
  .contact-section-redesign .contact-form-wrapper {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  /* Space between "Send a Message" title and the form */
  .contact-section-redesign .contact-form-wrapper .white-space-20 {
    padding-bottom: clamp(16px, 3svh, 28px);
  }

  /* Form sizes to content, doesn't stretch */
  .contact-section-redesign #contact_form {
    display: flex;
    flex-direction: column;
  }

  /* Outer .controls: gap provides even spacing, content packs at top */
  .contact-section-redesign #contact_form > .controls {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 2svh, 22px);
  }

  /* Flatten .fields so name/email join the same flex context as textarea/submit */
  .contact-section-redesign #contact_form .fields {
    display: contents;
  }

  /* Hide clearfix pseudo-elements that leak into the flex context */
  .contact-section-redesign #contact_form .fields::before,
  .contact-section-redesign #contact_form .fields::after {
    display: none;
  }

  /* Hide field spacers — gap replaces them */
  .contact-section-redesign #contact_form .fields .white-space-5 {
    display: none;
  }

  /* Hide empty messages div so it doesn't create a gap */
  .contact-section-redesign #contact_form .messages:empty {
    display: none;
  }

  /* All form groups: no margin, gap handles spacing */
  .contact-section-redesign #contact_form .form-group {
    margin-bottom: 0;
  }

  /* Textarea parent: vh-based fixed height, scales with screen but doesn't stretch */
  .contact-section-redesign #contact_form > .controls > .form-group {
    display: flex;
    flex-direction: column;
    height: clamp(80px, 14svh, 150px);
    margin-bottom: 0;
  }

  .contact-section-redesign #form_message {
    flex: 1;
    min-height: 0;
  }

  /* Submit button area — padding below separates form from footer */
  .contact-section-redesign #contact_form .controls .controls {
    flex: 0 0 auto;
    padding-bottom: clamp(10px, 2svh, 24px);
  }

  /* Footer: flexible top spacing to absorb remaining space */
  .contact-section-redesign .contact-footer {
    margin-top: auto;
    padding-top: clamp(8px, 1.5svh, 20px);
    flex: 0 0 auto;
  }

  .contact-section-redesign .page-title {
    margin-bottom: clamp(6px, 1.2svh, 18px);
    padding-bottom: clamp(6px, 1svh, 15px);
    flex: 0 0 auto;
  }

  /* Gold animated focus states */
  .contact-section-redesign .form-control {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .contact-section-redesign .form-control:focus {
    border-color: var(--bp-gold);
    box-shadow: 0 0 0 3px var(--bp-gold-glow-strong), 0 0 12px var(--bp-gold-glow);
  }

  /* Gold gradient send button */
  .contact-section-redesign #submit_button {
    background: var(--gradient-bgGold);
    background-size: 400% 400%;
    animation: gradientMove 20s ease infinite;
    color: #ffffff;
    font-family: var(--font-heading);
    border: 2px solid var(--bp-gold);
    border-image: none;
    border-radius: 5px;
    box-shadow: 0 4px 15px var(--bp-gold-glow-intense);
  }

  .contact-section-redesign #submit_button.clicked {
    animation: none;
  }

  .contact-section-redesign .form-control-min-width {
    min-width: unset;
  }
}

/* Taller mobile devices (e.g. iPhone 14 Pro Max ~932px height) — more breathing room */
@media only screen and (max-width: 575px) and (min-height: 750px) {
  /* More generous gaps between form fields, textarea, and submit */
  .contact-section-redesign #contact_form > .controls {
    gap: clamp(16px, 3svh, 32px);
  }

  /* Let spacer divs grow taller */
  .contact-section-redesign > .white-space-5,
  .contact-section-redesign > .white-space-15 {
    max-height: clamp(12px, 3svh, 40px);
  }

  /* More space between "Send a Message" title and first field */
  .contact-section-redesign .contact-form-wrapper .white-space-20 {
    padding-bottom: clamp(20px, 4svh, 36px);
  }

  /* Taller textarea to fill more vertical space */
  .contact-section-redesign #contact_form > .controls > .form-group {
    height: clamp(100px, 18svh, 200px);
  }

  /* More breathing room below submit button */
  .contact-section-redesign #contact_form .controls .controls {
    padding-bottom: clamp(16px, 3svh, 32px);
  }

  /* Page title can breathe more */
  .contact-section-redesign .page-title {
    margin-bottom: clamp(10px, 2svh, 24px);
    padding-bottom: clamp(10px, 1.5svh, 20px);
  }

  /* Footer line spacing */
  .contact-section-redesign .contact-footer-line {
    margin-bottom: clamp(12px, 2.5svh, 28px);
  }
}

@media only screen and (max-width: 480px) {
  .contact-section-redesign {
    padding-top: clamp(10px, 2svh, 20px);
    padding-bottom: clamp(8px, 1.5svh, 15px);
  }
}

@media only screen and (max-width: 375px) {
  .section-content { padding: 25px 15px; }
  .technologies-marquee,
  .testimonials-marquee { margin-left: -30px; margin-right: -30px; width: calc(100% + 60px); }
  .technologies-marquee .tech-block img { width: 80px; }
  .technologies-marquee .tech-block { padding: 5px 8px 0 8px; margin-right: 4px; }
  .page-title h2 { font-size: 22px; }

  .contact-section-redesign {
    padding-top: clamp(8px, 1.8svh, 15px);
    padding-bottom: clamp(6px, 1.2svh, 12px);
  }

  .contact-section-redesign .page-title {
    margin-bottom: clamp(4px, 0.8svh, 10px);
    padding-bottom: clamp(4px, 0.8svh, 10px);
  }

  .contact-form-wrapper .ContactSubTitle {
    font-size: 18px;
  }

  .contact-section-redesign .info-block i {
    font-size: 18px;
  }

  .contact-section-redesign .info-block h4 {
    font-size: 11px;
  }

  .myunderintrotext {
    margin-top: 0px;
  }
}

/* Safety net: allow scrolling on very short viewports */
@media only screen and (max-width: 575px) and (max-height: 600px) {
  .noscroll-content-section.contact-section-redesign {
    overflow-y: auto !important;
  }
}

/* --- Contact Footer --- */

.contact-footer {
  text-align: center;
  margin-top: 40px;
  padding-bottom: 10px;
}

.contact-footer-line {
  width: 90%;
  height: 1px;
  margin: 0 auto 28px;
  background: var(--bp-content-bg);
  border-radius: 1px;
}

.contact-footer-socials {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: 0 auto;
}

.contact-social-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-social-item .svg-icon {
  color: var(--bp-slate);
  font-size: clamp(18px, 4.5vw, 24px);
  transition: color 0.3s ease;
}

.contact-social-item span {
  font-family: var(--font-body);
  font-size: clamp(13px, 3.2vw, 16px);
  font-weight: 400;
  color: #555;
}

.contact-social-item:hover .svg-icon {
  color: var(--bp-slate);
}

.contact-social-item:hover span {
  color: #333;
}

@media (max-width: 575px) {
  .contact-footer {
    margin-top: 28px;
  }

  .contact-section-redesign .contact-footer {
    margin-top: auto;
  }

  .contact-section-redesign .contact-footer-line {
    margin-bottom: clamp(8px, 1.5svh, 20px);
  }

  .contact-footer-socials {
    justify-content: center;
    gap: clamp(16px, 5vw, 28px);
    width: 100%;
  }

  .contact-social-item span {
    font-size: clamp(11px, 2.8vw, 14px);
  }

  .contact-social-item .svg-icon {
    font-size: clamp(16px, 4vw, 20px);
  }
}

/* ===== End Contact Section Redesign ===== */

.gray-default { color: var(--bp-slate); }
.col-inner { padding: 0 15px; }
.text-justify { text-align: left; }
#form_message { resize: none; }

.CasesCarousel {
  margin: 0px auto;
  width: 100%;
  overflow: hidden;
}

.CasesCarousel img {
  display: block;
  max-width: none;
  max-height: none;
  margin: 0 auto;
  height: auto;
  width: auto;
  max-height: 100%;
  max-width: 100%;
}

.white-space-3 {
  padding-bottom: 3px;
}

.white-space-4 {
  padding-bottom: 4px;
}

.white-space-5 {
  padding-bottom: 5px;
}

.white-space-6 {
  padding-bottom: 6px;
}

.white-space-7 {
  padding-bottom: 7px;
}

.white-space-8 {
  padding-bottom: 8px;
}

.white-space-9 {
  padding-bottom: 9px;
}

.white-space-10 {
  padding-bottom: 10px;
}

.white-space-15 {
  padding-bottom: 15px;
}

.white-space-20 {
  padding-bottom: 20px;
}

.white-space-30 {
  padding-bottom: 30px;
}

.white-space-35 {
  padding-bottom: 35px;
}

.white-space-45 {
  padding-bottom: 45px;
}

.white-space-50 {
  padding-bottom: 50px;
}

.white-space-60 {
  padding-bottom: 60px;
}

.white-space-70 {
  padding-bottom: 70px;
}


