:root {
  --lightAqua: #86d7fdcd;
  --lightBlue: #73c5eb;
  --betweenBlue: #63ccfd;
  --middleBlue: #47b2e4;
  --heroBlue: #5b93f5;
  --lightMiddleBlue: #209dd8;
  --lightDarkBlue: #47b2e4ad;
  --darkBlue: #1e9dd7;
  --lightNavyBlue: #4668a2;
  --navyBlue: #0072b1;
  --darknessBlue: #37517e;
  --darkGrayishBlue: #45505b;
  --lighterwhite: #f3f5fadd;
  --lightWhite: #f3f5fa;
  --white: white;
  --Whitesmoke: #f5f5f5;
  --corneerWhiteness: #d7dce1;
  --middleWhite: #e7f5fb;
  --lightShadeGrey: #ddd;
  --lightGrey: #c8c8c8;
  --grey: grey;
  --darkGrey: #555;
  --darkColor: #444444;
  --lightBlack: #171515;
  --black: black;
  /* Product-style tokens (minimal + light engineering accent) */
  --surface-page: #f1f5f9;
  --surface-elevated: #ffffff;
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.12);
  --text-muted: #64748b;
  --font-mono: ui-monospace, "Cascadia Code", "Segoe UI Mono", "Roboto Mono",
    Menlo, Consolas, monospace;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px -14px rgba(15, 23, 42, 0.18);
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  color-scheme: light;
  --header-glass-bg: rgba(40, 58, 90, 0.82);
  --header-mobile-overlay: rgba(40, 58, 90, 0.9);
  --navbar-link-hover: #0f172a;
  --footer-bg: #37517e;
  --theme-meta-light: #e8f4fb;
  --theme-meta-dark: #0f172a;
}

/* Dark palette: system preference when no explicit data-color-scheme */
@media (prefers-color-scheme: dark) {
  :root:not([data-color-scheme]) {
    color-scheme: dark;
    --surface-page: #0f172a;
    --surface-elevated: #1e293b;
    --border-subtle: rgba(248, 250, 252, 0.08);
    --border-strong: rgba(248, 250, 252, 0.14);
    --text-muted: #94a3b8;
    --darkColor: #e2e8f0;
    --darkGrayishBlue: #cbd5e1;
    --darknessBlue: #f1f5f9;
    --lightWhite: #1e293b;
    --lighterwhite: rgba(30, 41, 59, 0.92);
    --Whitesmoke: #1e293b;
    --corneerWhiteness: #334155;
    --lightShadeGrey: #475569;
    --lightGrey: #64748b;
    --middleWhite: #334155;
    --lightBlack: #e2e8f0;
    --header-glass-bg: rgba(15, 23, 42, 0.9);
    --header-mobile-overlay: rgba(15, 23, 42, 0.94);
    --navbar-link-hover: #7dd3fc;
    --footer-bg: #020617;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 12px 40px -12px rgba(0, 0, 0, 0.45);
    --theme-meta-light: #e8f4fb;
    --theme-meta-dark: #0f172a;
  }
}

/* Explicit user choice */
:root[data-color-scheme="dark"] {
  color-scheme: dark;
  --surface-page: #0f172a;
  --surface-elevated: #1e293b;
  --border-subtle: rgba(248, 250, 252, 0.08);
  --border-strong: rgba(248, 250, 252, 0.14);
  --text-muted: #94a3b8;
  --darkColor: #e2e8f0;
  --darkGrayishBlue: #cbd5e1;
  --darknessBlue: #f1f5f9;
  --lightWhite: #1e293b;
  --lighterwhite: rgba(30, 41, 59, 0.92);
  --Whitesmoke: #1e293b;
  --corneerWhiteness: #334155;
  --lightShadeGrey: #475569;
  --lightGrey: #64748b;
  --middleWhite: #334155;
  --lightBlack: #e2e8f0;
  --header-glass-bg: rgba(15, 23, 42, 0.9);
  --header-mobile-overlay: rgba(15, 23, 42, 0.94);
  --navbar-link-hover: #7dd3fc;
  --footer-bg: #020617;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 40px -12px rgba(0, 0, 0, 0.45);
  --theme-meta-light: #e8f4fb;
  --theme-meta-dark: #0f172a;
}

@media (prefers-reduced-motion: reduce) {
  #hero .animated {
    animation: none !important;
  }

  #hero.hero-engine,
  #techniques.techniques-engine {
    animation: none !important;
  }

  .hero-engine__aurora,
  .techniques-engine__aurora {
    animation: none !important;
    opacity: 0.45 !important;
    transform: none !important;
  }

  .hero-float-motion {
    animation: none !important;
    transform: none !important;
  }

  .techniques-floating-icons .hero-float-motion {
    animation: none !important;
    transform: none !important;
  }

  .portfolio .portfolio-item .portfolio-img img {
    transition: none !important;
  }

  .portfolio .portfolio-item:hover .portfolio-img img {
    transform: none !important;
  }

  .certificateSwiper .swiper-slide img {
    transition: none !important;
  }

  .certificateSwiper .swiper-slide-active img {
    transform: scale(0.92) !important;
  }

  .techniques .techniques-item,
  .techniques .techniques-item:hover {
    transition: none !important;
    transform: none !important;
  }

  .techniques .swiper-pagination .swiper-pagination-bullet {
    transition: none !important;
  }

  .techniques .swiper-pagination .swiper-pagination-bullet-active {
    transform: none !important;
  }

  .contact .icon-box,
  .contact .icon-box:hover {
    transition: none !important;
    transform: none !important;
  }
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--darkColor);
  background-color: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 10000;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--middleBlue);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.skip-link:focus {
  left: 0.75rem;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--lightMiddleBlue);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

a {
  color: var(--middleBlue);
  text-decoration: none;
}

a:hover {
  color: var(--lightBlue);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Jost", sans-serif;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: var(--surface-elevated);
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 5px solid;
  border-color: var(--lightGrey) var(--darkBlue) var(--lightGrey) var(--lightGrey);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/

.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: -20px;
  bottom: 20px;
  z-index: 996;
  background: var(--lightDarkBlue);
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: var(--white);
  line-height: 0;
}

.back-to-top:hover {
  background: var(--lightBlue);
  color: var(--white);
}

.back-to-top.active {
  position: fixed;
  right: 20px;
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Horizontal Rule
--------------------------------------------------------------*/

hr {
  border: 2px solid var(--middleBlue);
}

hr#sperator {
  border: 1px solid var(--grey);
  margin: 20px 100px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

#header {
  transition: background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out), backdrop-filter 0.35s var(--ease-out),
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s var(--ease-out);
  z-index: 997;
  padding: 15px 0px;
  padding-top: calc(15px + env(safe-area-inset-top, 0px));
  border-bottom: 1px solid transparent;
  opacity: 1;
}

#header.header-scrolled,
#header.header-inner-pages {
  background: var(--header-glass-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-sm);
}

/*
 * backdrop-filter on #header creates a containing block for descendants.
 * That pins position:fixed #navbar.navbar-mobile to the header strip after
 * scroll — the sheet/backdrop look clipped or “wrong”. While the drawer is
 * open we drop the filter and lift stacking so the overlay covers the viewport.
 * transform: none — any transform on #header makes fixed descendants use the
 * header box as their containing block (~60px tall), so the drawer stays short.
 */
body.mobile-nav-open #header {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  z-index: 9998;
  overflow: visible;
  transform: none !important;
  opacity: 1 !important;
  transition-delay: 0s, 0s, 0s, 0s, 0s, 0s !important;
  pointer-events: auto !important;
}

@media (max-width: 991px) {
  body.hero-mobile-header-hidden #header {
    transform: translate3d(0, calc(-100% - env(safe-area-inset-top, 0px)), 0);
    opacity: 0;
    pointer-events: none;
    transition: background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
      border-color 0.35s var(--ease-out), backdrop-filter 0.35s var(--ease-out),
      transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s var(--ease-out);
  }
}

@media (max-width: 991px) and (prefers-reduced-motion: reduce) {
  body.hero-mobile-header-hidden #header {
    transition-duration: 0.01ms !important;
  }
}

#header .logo {
  font-size: 30px;
  margin: 0;
  padding: 0;
  line-height: 0;
  font-weight: 500;
  letter-spacing: 2px;
  font-style: italic;
  user-select: none;
  font-family: "Times New Roman", Times, serif;
}

#header .logo a {
  color: var(--white);
  margin: 0 -2px;
}

#header .logo img {
  max-height: 40px;
  max-width: 40px;
}

@media (max-width: 750px) {
  #header .logo {
    font-size: 18px;
  }

  #header .logo img {
    max-height: 30px;
    max-width: 30px;
  }
}

@media (max-width: 991px) {
  #header .logo {
    font-size: 22px;
  }

  #header .logo img {
    max-height: 35px;
    max-width: 35px;
  }
}

/*--------------------------------------------------------------
# Theme switcher
--------------------------------------------------------------*/

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.theme-switcher {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

#header.header-scrolled .theme-switcher,
#header.header-inner-pages .theme-switcher {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.theme-switcher__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--white);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out),
    transform 0.2s var(--ease-out);
}

.theme-switcher__btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.theme-switcher__btn.is-active {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.theme-switcher__btn:focus-visible {
  outline: 2px solid var(--lightMiddleBlue);
  outline-offset: 2px;
}

@media (max-width: 360px) {
  .theme-switcher__btn {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.9rem;
  }
}

/*--------------------------------------------------------------
# Language switch (EN / ع)
--------------------------------------------------------------*/

/*
 * --pos 0 = English, 1 = Arabic. The page language sets it; while a switch is
 * pending (.is-to-*) the thumb slides first, then i18n.js swaps the page.
 */
.lang-switch {
  --pos: 0;
  --track-w: 4.75rem;
  --track-h: 2rem;
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  flex-shrink: 0;
  width: calc(var(--track-w) + 8px);
  height: calc(var(--track-h) + 8px);
  padding: 3px;
  margin: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  color: var(--white);
  cursor: pointer;
  /* EN stays on the left and ع on the right in both directions */
  direction: ltr;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

html[lang="ar"] .lang-switch {
  --pos: 1;
}

:root .lang-switch.is-to-ar {
  --pos: 1;
}

:root .lang-switch.is-to-en {
  --pos: 0;
}

#header.header-scrolled .lang-switch,
#header.header-inner-pages .lang-switch {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.lang-switch:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.32);
}

.lang-switch:focus-visible {
  outline: 2px solid var(--lightMiddleBlue);
  outline-offset: 2px;
}

.lang-switch__thumb {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #67cdf5 0%, var(--darkBlue) 100%);
  box-shadow: 0 3px 12px rgba(30, 157, 215, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateX(calc(var(--pos) * 100%));
  /* Slight overshoot so the thumb settles like a spring */
  transition: transform 0.42s cubic-bezier(0.34, 1.45, 0.64, 1),
    box-shadow 0.25s var(--ease-out);
}

.lang-switch:hover .lang-switch__thumb {
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.lang-switch:active .lang-switch__thumb {
  transform: translateX(calc(var(--pos) * 100%)) scale(0.92);
}

.lang-switch__opt {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  line-height: 1;
  font-weight: 700;
  user-select: none;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.lang-switch__opt--en {
  font-family: "Jost", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  opacity: calc(1 - var(--pos) * 0.4);
  transform: scale(calc(1 - var(--pos) * 0.08));
}

.lang-switch__opt--ar {
  font-family: "Cairo", sans-serif;
  font-size: 1rem;
  /* Cairo sits low in its line box; nudge the glyph to optical centre */
  padding-bottom: 2px;
  opacity: calc(0.6 + var(--pos) * 0.4);
  transform: scale(calc(0.92 + var(--pos) * 0.08));
}

/* Desktop: the last nav link has no end padding, so give the switch room */
@media (min-width: 992px) {
  .lang-switch {
    margin-inline-start: 0.75rem;
  }
}

/* Phones: logo + menu + language + theme must share one header row */
@media (max-width: 420px) {
  .header-actions {
    gap: 0.25rem;
  }

  #header .logo {
    font-size: 19px;
  }

  #header .logo img {
    max-height: 30px;
    max-width: 30px;
  }

  .lang-switch {
    --track-w: 3.5rem;
  }

  .lang-switch__opt--en {
    font-size: 0.6875rem;
    letter-spacing: 0.03em;
  }

  .lang-switch__opt--ar {
    font-size: 0.9375rem;
  }
}

/* Matches the smaller theme buttons at this width */
@media (max-width: 360px) {
  .lang-switch {
    --track-h: 1.75rem;
  }
}

/* Smallest phones: one round button showing the language to switch to */
@media (max-width: 359px) {
  .header-actions {
    gap: 2px;
  }

  #header .logo {
    font-size: 17px;
    white-space: nowrap;
  }

  #header .logo img {
    max-height: 27px;
    max-width: 27px;
  }

  .lang-switch {
    --track-w: 1.75rem;
    grid-template-columns: 1fr;
  }

  .lang-switch__thumb {
    display: none;
  }

  .lang-switch__opt {
    grid-area: 1 / 1;
  }

  .lang-switch__opt--en {
    opacity: var(--pos);
    transform: rotate(calc((1 - var(--pos)) * -90deg)) scale(calc(0.6 + var(--pos) * 0.4));
  }

  .lang-switch__opt--ar {
    opacity: calc(1 - var(--pos));
    transform: rotate(calc(var(--pos) * 90deg)) scale(calc(1 - var(--pos) * 0.4));
  }
}

@media (prefers-reduced-motion: reduce) {
  .lang-switch__thumb,
  .lang-switch__opt {
    transition: none;
  }
}

/* Swapping language: cross-fade the page (View Transitions) or a quick fade */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.38s;
  animation-timing-function: var(--ease-out);
}

html.lang-fading body {
  opacity: 0;
}

body {
  transition: opacity 0.16s var(--ease-out);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

/**
* Desktop Navigation 
*/

.navbar {
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar li#list-download-cv {
  display: none;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: var(--navbar-link-hover);
}

.navbar .getstarted,
.navbar .getstarted:focus {
  padding: 8px 20px;
  margin-left: 30px;
  border-radius: 50px;
  color: var(--white);
  font-size: 14px;
  border: 2px solid var(--middleBlue);
  font-weight: 600;
}

.navbar .getstarted:hover,
.navbar .getstarted:focus:hover {
  color: var(--white);
  background: var(--middleBlue);
}

/**
* Mobile Navigation (sheet + backdrop, animated toggle)
*/
.mobile-nav-backdrop {
  display: none;
}

.mobile-nav-toggle {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  line-height: 0;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
    transform 0.25s var(--ease-out), box-shadow 0.3s var(--ease-out);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}

.mobile-nav-toggle:focus-visible {
  outline: 2px solid var(--lightMiddleBlue);
  outline-offset: 3px;
}

.mobile-nav-toggle__box {
  position: relative;
  width: 1.25rem;
  height: 0.875rem;
  display: inline-block;
}

.mobile-nav-toggle__bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s var(--ease-out), top 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav-toggle__bar:nth-child(1) {
  top: 0;
}

.mobile-nav-toggle__bar:nth-child(2) {
  top: 7px;
}

.mobile-nav-toggle__bar:nth-child(3) {
  top: 14px;
}

.mobile-nav-toggle.is-open .mobile-nav-toggle__bar:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}

.mobile-nav-toggle.is-open .mobile-nav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-nav-toggle.is-open .mobile-nav-toggle__bar:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

.mobile-nav-toggle.is-open {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(147, 197, 253, 0.45);
  box-shadow: 0 0 0 1px rgba(147, 197, 253, 0.2),
    0 8px 28px rgba(0, 0, 0, 0.2);
}

body.mobile-nav-open {
  overflow: hidden;
  touch-action: none;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: inline-flex;
  }

  .navbar li#list-download-cv {
    margin-top: 0.5rem;
    display: flex;
    justify-content: stretch;
  }

  .navbar li#list-download-cv a {
    width: 100%;
    justify-content: center;
    margin: 0 0.5rem;
    padding: 0.85rem 1.25rem !important;
    border-radius: 12px !important;
    border: 1px solid rgba(30, 157, 215, 0.45) !important;
    background: linear-gradient(135deg,
        rgba(30, 157, 215, 0.18),
        rgba(56, 189, 248, 0.12));
    color: var(--middleBlue) !important;
    font-weight: 600 !important;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 999;
  pointer-events: none;
}

.navbar-mobile .mobile-nav-backdrop {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  cursor: pointer;
  pointer-events: auto;
  background: rgba(10, 22, 40, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: mobile-nav-backdrop-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.navbar-mobile .mobile-nav-toggle {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top, 0px));
  right: calc(12px + env(safe-area-inset-right, 0px));
  z-index: 1002;
  pointer-events: auto;
}

.navbar-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  position: fixed;
  /* Full viewport height (requires #header transform:none while open — see above) */
  top: 0;
  bottom: max(5rem, calc(env(safe-area-inset-bottom, 0px) + 0.85rem));
  /* Leave gutter for fixed toggle on the right */
  right: calc(12px + 2.75rem + 10px + env(safe-area-inset-right, 0px));
  left: auto;
  width: min(19.5rem, calc(100vw - 3.5rem - 2.75rem));
  box-sizing: border-box;
  margin: 0;
  padding: max(4.25rem, calc(env(safe-area-inset-top, 0px) + 3.25rem)) 0.85rem
    max(1.5rem, calc(env(safe-area-inset-bottom, 0px) + 1rem));
  list-style: none;
  z-index: 1001;
  pointer-events: auto;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 1.35rem;
  /* Solid fill so light page content never “bleaches” the sheet (was washing out link contrast). */
  background: var(--surface-elevated);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  backdrop-filter: blur(20px) saturate(1.15);
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transform: translate3d(108%, 0, 0);
  animation: mobile-nav-panel-in 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.navbar-mobile ul::before {
  content: "Menu";
  position: absolute;
  top: 1.15rem;
  left: 1.25rem;
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
  opacity: 0.95;
  pointer-events: none;
}

:root[data-color-scheme="dark"] .navbar-mobile ul::before {
  color: #94a3b8;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-color-scheme]) .navbar-mobile ul::before {
    color: #94a3b8;
  }
}

@keyframes mobile-nav-backdrop-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes mobile-nav-panel-in {
  from {
    transform: translate3d(108%, 0, 0);
    opacity: 0.92;
  }

  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes mobile-nav-item-in {
  from {
    transform: translateX(10px);
  }

  to {
    transform: translateX(0);
  }
}

.navbar-mobile ul li {
  opacity: 1;
  animation: mobile-nav-item-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.navbar-mobile ul li:nth-child(1) {
  animation-delay: 0.05s;
}

.navbar-mobile ul li:nth-child(2) {
  animation-delay: 0.09s;
}

.navbar-mobile ul li:nth-child(3) {
  animation-delay: 0.13s;
}

.navbar-mobile ul li:nth-child(4) {
  animation-delay: 0.17s;
}

.navbar-mobile ul li:nth-child(5) {
  animation-delay: 0.21s;
}

.navbar-mobile ul li:nth-child(6) {
  animation-delay: 0.25s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.85rem 1rem;
  margin: 0 0.15rem;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: "Jost", sans-serif;
  letter-spacing: -0.02em;
  color: #0f172a;
  border-radius: 12px;
  transition: background 0.28s var(--ease-out), color 0.28s var(--ease-out),
    transform 0.28s var(--ease-out);
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  background: rgba(30, 157, 215, 0.14);
  color: #0369a1;
  transform: translateX(2px);
}

:root[data-color-scheme="dark"] .navbar-mobile a,
:root[data-color-scheme="dark"] .navbar-mobile a:focus {
  color: #f1f5f9;
}

:root[data-color-scheme="dark"] .navbar-mobile a:hover,
:root[data-color-scheme="dark"] .navbar-mobile .active,
:root[data-color-scheme="dark"] .navbar-mobile li:hover > a {
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-color-scheme]) .navbar-mobile a,
  :root:not([data-color-scheme]) .navbar-mobile a:focus {
    color: #f1f5f9;
  }

  :root:not([data-color-scheme]) .navbar-mobile a:hover,
  :root:not([data-color-scheme]) .navbar-mobile .active,
  :root:not([data-color-scheme]) .navbar-mobile li:hover > a {
    background: rgba(56, 189, 248, 0.12);
    color: #7dd3fc;
  }
}

:root[data-color-scheme="dark"] .navbar li#list-download-cv a {
  color: #7dd3fc !important;
  border-color: rgba(125, 211, 252, 0.4) !important;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-color-scheme]) .navbar li#list-download-cv a {
    color: #7dd3fc !important;
    border-color: rgba(125, 211, 252, 0.4) !important;
  }
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
  color: #0f172a;
}

@media (prefers-reduced-motion: reduce) {
  .navbar-mobile .mobile-nav-backdrop {
    animation: none;
    opacity: 1;
  }

  .navbar-mobile ul {
    animation: none;
    transform: none;
    opacity: 1;
  }

  .navbar-mobile ul li {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .mobile-nav-toggle__bar {
    transition-duration: 0.01ms;
  }

  .navbar-mobile a:hover,
  .navbar-mobile .active,
  .navbar-mobile li:hover>a {
    transform: none;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

section#hero.hero-engine {
  padding-top: 0;
  padding-bottom: 0;
}

#hero.hero-engine {
  position: relative;
  width: 100%;
  height: 100vh;
  clip-path: circle(180vh at 50% -80vh);
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(138deg,
      #0a1628 0%,
      #0f2847 18%,
      #164e7d 42%,
      #1d6cab 58%,
      #1a4f7a 78%,
      #0d1f33 100%);
  background-size: 240% 240%;
  transition: filter 0.85s var(--ease-out);
}

#techniques.techniques-engine {
  position: relative;
  width: 100%;
  isolation: isolate;
  overflow: hidden;
  padding: 100px 0;
  background: linear-gradient(138deg,
      #0a1628 0%,
      #0f2847 18%,
      #164e7d 42%,
      #1d6cab 58%,
      #1a4f7a 78%,
      #0d1f33 100%);
  background-size: 240% 240%;
  transition: filter 0.85s var(--ease-out);
}

@media (prefers-reduced-motion: no-preference) {

  #hero.hero-engine,
  #techniques.techniques-engine {
    animation: hero-engine-bg-flow 24s ease-in-out infinite alternate;
  }
}

@keyframes hero-engine-bg-flow {
  0% {
    background-position: 0% 30%;
  }

  100% {
    background-position: 100% 70%;
  }
}

@media (prefers-reduced-motion: no-preference) {

  #hero.hero-engine:hover,
  #techniques.techniques-engine:hover {
    animation-duration: 14s;
    filter: saturate(1.12) brightness(1.07);
  }
}

.hero-engine__aurora,
.techniques-engine__aurora {
  position: absolute;
  inset: -28%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.52;
  background: radial-gradient(ellipse 52% 48% at 28% 38%,
      rgba(96, 165, 250, 0.5),
      transparent 58%),
    radial-gradient(ellipse 42% 44% at 78% 52%,
      rgba(56, 189, 248, 0.38),
      transparent 52%),
    radial-gradient(ellipse 38% 38% at 52% 82%,
      rgba(129, 140, 248, 0.28),
      transparent 55%);
  filter: blur(68px);
  mix-blend-mode: screen;
  transition: opacity 0.75s var(--ease-out);
}

@media (prefers-reduced-motion: no-preference) {

  .hero-engine__aurora,
  .techniques-engine__aurora {
    animation: hero-engine-aurora-drift 20s ease-in-out infinite;
  }
}

@keyframes hero-engine-aurora-drift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.48;
  }

  40% {
    transform: translate(4%, -3%) scale(1.06);
    opacity: 0.62;
  }

  70% {
    transform: translate(-3%, 4%) scale(0.97);
    opacity: 0.55;
  }
}

@media (prefers-reduced-motion: no-preference) {

  #hero.hero-engine:hover .hero-engine__aurora,
  #techniques.techniques-engine:hover .techniques-engine__aurora {
    opacity: 0.78;
    animation-duration: 11s;
  }
}

#hero.hero-engine::before,
#techniques.techniques-engine::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px,
      transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 92% 72% at 50% 46%,
      black 22%,
      transparent 76%);
  transition: opacity 0.6s var(--ease-out);
  opacity: 0.95;
}

@media (prefers-reduced-motion: no-preference) {

  #hero.hero-engine:hover::before,
  #techniques.techniques-engine:hover::before {
    opacity: 1;
    background-image: linear-gradient(rgba(255, 255, 255, 0.075) 1px,
        transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px);
  }
}

@media (prefers-reduced-motion: no-preference) {

  #hero.hero-engine::after,
  #techniques.techniques-engine::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse 88% 58% at 16% 36%,
        rgba(255, 255, 255, 0.14),
        transparent 54%),
      radial-gradient(ellipse 72% 52% at 84% 64%,
        rgba(91, 147, 245, 0.4),
        transparent 56%);
    mix-blend-mode: soft-light;
    transition: opacity 0.65s var(--ease-out), filter 0.65s var(--ease-out);
  }

  #hero.hero-engine:hover::after,
  #techniques.techniques-engine:hover::after {
    filter: brightness(1.22);
  }
}

@media (prefers-reduced-motion: reduce) {

  #hero.hero-engine::after,
  #techniques.techniques-engine::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse 88% 58% at 16% 36%,
        rgba(255, 255, 255, 0.1),
        transparent 54%),
      radial-gradient(ellipse 72% 52% at 84% 64%,
        rgba(91, 147, 245, 0.32),
        transparent 56%);
    mix-blend-mode: soft-light;
  }
}

#hero.hero-engine .hero-engine__content {
  position: relative;
  z-index: 3;
}

/* Floating dev / engineering icons (decorative) */
.hero-floating-icons {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero-float-item {
  position: absolute;
  left: var(--lx);
  top: var(--ty);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-float-motion {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  color: rgba(255, 255, 255, 0.26);
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  text-shadow: 0 0 20px rgba(147, 197, 253, 0.25);
  filter: drop-shadow(0 2px 8px rgba(15, 23, 42, 0.35));
  will-change: transform;
}

.hero-float-motion i {
  display: block;
  line-height: 1;
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out),
    filter 0.4s var(--ease-out);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-float-item--p1 .hero-float-motion {
    animation: hero-flt-path-1 var(--dur, 14s) ease-in-out infinite;
  }

  .hero-float-item--p2 .hero-float-motion {
    animation: hero-flt-path-2 var(--dur, 14s) ease-in-out infinite;
    animation-delay: -2s;
  }

  .hero-float-item--p3 .hero-float-motion {
    animation: hero-flt-path-3 var(--dur, 14s) ease-in-out infinite;
    animation-delay: -4s;
  }

  .hero-float-item--p4 .hero-float-motion {
    animation: hero-flt-path-4 var(--dur, 14s) ease-in-out infinite;
    animation-delay: -1s;
  }

  .hero-float-item--p5 .hero-float-motion {
    animation: hero-flt-path-5 var(--dur, 14s) ease-in-out infinite;
    animation-delay: -3s;
  }
}

.hero-float-motion:hover {
  animation-play-state: paused;
}

.hero-float-motion:hover i {
  transform: scale(2.35);
  opacity: 0;
  filter: blur(2px);
  pointer-events: none;
}

@keyframes hero-flt-path-1 {
  0% {
    transform: translate(0, 0) rotate(-10deg);
  }

  22% {
    transform: translate(32px, -24px) rotate(6deg);
  }

  48% {
    transform: translate(-18px, 20px) rotate(14deg);
  }

  72% {
    transform: translate(22px, 14px) rotate(-8deg);
  }

  100% {
    transform: translate(0, 0) rotate(-10deg);
  }
}

@keyframes hero-flt-path-2 {
  0% {
    transform: translate(0, 0) rotate(8deg);
  }

  28% {
    transform: translate(-26px, 28px) rotate(-12deg);
  }

  52% {
    transform: translate(24px, -16px) rotate(4deg);
  }

  78% {
    transform: translate(-14px, -22px) rotate(10deg);
  }

  100% {
    transform: translate(0, 0) rotate(8deg);
  }
}

@keyframes hero-flt-path-3 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  20% {
    transform: translate(18px, 26px) rotate(18deg);
  }

  45% {
    transform: translate(-30px, -12px) rotate(-14deg);
  }

  68% {
    transform: translate(12px, -28px) rotate(8deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes hero-flt-path-4 {
  0% {
    transform: translate(0, 0) rotate(-6deg);
  }

  33% {
    transform: translate(-22px, -26px) rotate(16deg);
  }

  55% {
    transform: translate(28px, 8px) rotate(-10deg);
  }

  80% {
    transform: translate(-8px, 24px) rotate(6deg);
  }

  100% {
    transform: translate(0, 0) rotate(-6deg);
  }
}

@keyframes hero-flt-path-5 {
  0% {
    transform: translate(0, 0) rotate(12deg);
  }

  25% {
    transform: translate(20px, 18px) rotate(-8deg);
  }

  50% {
    transform: translate(-24px, 22px) rotate(10deg);
  }

  75% {
    transform: translate(16px, -20px) rotate(-14deg);
  }

  100% {
    transform: translate(0, 0) rotate(12deg);
  }
}

@media (max-width: 991px) {
  .hero-floating-icons .hero-float-item:nth-child(n + 9) {
    display: none;
  }

  .hero-float-motion {
    font-size: clamp(1.15rem, 4vw, 1.65rem);
  }
}

@media (max-width: 576px) {
  .hero-floating-icons .hero-float-item:nth-child(n + 6) {
    display: none;
  }
}

#hero h1 {
  margin: 0 0 25px 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  transition: text-shadow 0.7s var(--ease-out);
}

@media (prefers-reduced-motion: no-preference) {
  #hero.hero-engine:hover h1 {
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2),
      0 0 56px rgba(147, 197, 253, 0.28);
  }
}

#hero h2 {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.125rem, 2.2vw, 1.35rem);
  font-family: "Jost", sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  margin-bottom: 10px;
  line-height: 1.45;
}

#hero #caret-text {
  font-size: 28px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}

#hero #caret-text span {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.04em;
}

#hero #caret-text span .auto-type {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

#hero .container .row .info {
  margin-top: 20px;
  padding: 30px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#hero .container .row .info i {
  font-size: 23px;
  color: var(--middleBlue);
  float: left;
  width: 52px;
  height: 52px;
  background: var(--middleWhite);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

#hero .container .row .info .con i {
  cursor: pointer;
  margin: 8px;
}

#hero .container .row .info .con.li i {
  color: var(--navyBlue);
}

#hero .container .row .info .con.li:hover i {
  background-color: var(--navyBlue);
}

#hero .container .row .info .con.st i {
  color: #F48024;
}

#hero .container .row .info .con.st:hover i {
  background-color: #F48024;
}

#hero .container .row .info .con.gh i {
  color: #171515;
}

#hero .container .row .info .con.gh:hover i {
  background-color: #171515;
}

#hero .container .row .info .con.be i {
  color: #053eff;
}

#hero .container .row .info .con.be:hover i {
  background-color: #053eff;
}

#hero .container .row .info .con.fb i {
  color: #3b5998;
}

#hero .container .row .info .con.fb:hover i {
  background-color: #3b5998;
}

#hero .container .row .info .con.gl i {
  color: #d44638;
}

#hero .container .row .info .con.gl:hover i {
  background-color: #d44638;
}

#hero .container .row .info .con.li i,
#hero .container .row .info .con.gh i,
#hero .container .row .info .con.be i,
#hero .container .row .info .con.fb i,
#hero .container .row .info .con.gl i {
  background-color: var(--white);
}

#hero .container .row .info .con:hover i {
  background: #47b2e4;
  color: var(--white);
}

#hero .btn-get-started,
#portfolio-details .container .portfolio-info ul a.btn-get-started {
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.06em;
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
    background 0.25s var(--ease-out);
  margin: 10px 0 0 0;
  color: var(--white);
  background: var(--middleBlue);
  box-shadow: 0 4px 14px rgba(30, 157, 215, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#portfolio-details .container .portfolio-info ul a.btn-get-started {
  margin: 10px auto;
  display: flex;
  justify-content: center;
}

#hero .btn-get-started:hover,
#portfolio-details .container .portfolio-info ul a.btn-get-started:hover {
  background: var(--lightMiddleBlue);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(30, 157, 215, 0.5);
}

@media (prefers-reduced-motion: no-preference) {
  #hero.hero-engine:hover .btn-get-started:not(:hover) {
    box-shadow: 0 6px 22px rgba(56, 189, 248, 0.42),
      0 0 0 1px rgba(255, 255, 255, 0.18);
  }
}

#hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

/* Laptop GIF: blend flat blue into hero; circular crop. Transparent PNG/SVG = cleanest edge. */
#hero .hero-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

#hero .hero-illustration {
  width: min(100%, 420px);
  aspect-ratio: 1;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 42%;
  vertical-align: middle;
  mix-blend-mode: multiply;
  filter: brightness(1.14) contrast(1.06) saturate(1.08);
  transition: filter 0.7s var(--ease-out), box-shadow 0.7s var(--ease-out);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.14);
}

@media (prefers-reduced-motion: no-preference) {
  #hero.hero-engine:hover .hero-illustration {
    filter: brightness(1.22) contrast(1.08) saturate(1.1) drop-shadow(0 22px 50px rgba(56, 189, 248, 0.32));
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.4),
      0 0 0 1px rgba(255, 255, 255, 0.22),
      0 0 48px rgba(56, 189, 248, 0.2);
  }
}

@media (max-width: 991px) {
  #hero {
    height: 100vh;
    text-align: center;
  }

  #hero .animated {
    -webkit-animation: none;
    animation: none;
  }

  #hero .hero-img {
    text-align: center;
    margin-top: clamp(5rem, 4vw, 2rem);
  }

  #hero .hero-img img {
    width: 50%;
  }

  #hero .container .row .info {
    margin: 0.5rem auto 1rem;
    padding: 0.5rem 0.25rem;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: clamp(0.08rem, 1vw, 0.3rem);
    width: 100%;
    max-width: 100%;
  }

  #hero .container .row .info .con i {
    margin: 0px 3px;
    width: 48px;
    height: 48px;
    font-size: 21px;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }

  #hero .hero-img img {
    width: 70%;
  }
}

@media (max-width: 575px) {
  #hero .hero-img img {
    width: 80%;
  }

  #hero .container .row .info .con i {
    width: 44px;
    height: 44px;
    font-size: 19px;
  }

  #hero .btn-get-started,
  #portfolio-details .container .portfolio-info ul a.btn-get-started {
    font-size: 16px;
    padding: 10px 24px 11px 24px;
  }
}

@-webkit-keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/

section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: var(--lightWhite);
}

/* Subtle “elevated” strip for key sections */
section#portfolio,
section.bento-highlights.section-bg,
section#certificates.section-bg,
section#tools.section-bg,
section.contact.section-bg {
  background: linear-gradient(180deg,
      var(--surface-page) 0%,
      var(--surface-elevated) 10%,
      var(--surface-elevated) 90%,
      var(--surface-page) 100%);
}

section#about {
  background-color: var(--surface-page);
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h5 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.section-title h5 i {
  font-style: normal;
}

.section-title h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: var(--darknessBlue);
}

.section-title h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: var(--lightShadeGrey);
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: var(--middleBlue);
  bottom: 0;
  left: calc(50% - 20px);
}

.section-title p {
  margin-bottom: 0;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  line-height: 1.6;
  color: var(--text-muted);
}

/*--------------------------------------------------------------
# Bento highlights
--------------------------------------------------------------*/

.bento-highlights {
  padding-top: 48px;
  padding-bottom: 48px;
}

.bento-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.bento-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.35rem;
  text-align: left;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.bento-card__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.bento-card__title {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--darknessBlue);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.bento-card__text {
  font-size: clamp(0.875rem, 1.2vw, 0.95rem);
  line-height: 1.55;
  color: var(--darkGrayishBlue);
  margin: 0;
}

.bento-card--accent {
  border-color: rgba(71, 178, 228, 0.35);
  background: linear-gradient(145deg,
      var(--surface-elevated) 0%,
      rgba(71, 178, 228, 0.06) 100%);
}

@media (prefers-reduced-motion: reduce) {

  .bento-card,
  .bento-card:hover {
    transition: none !important;
    transform: none !important;
  }
}

/*--------------------------------------------------------------
# About Me
--------------------------------------------------------------*/

.about .about-photo {
  border-radius: 50%;
  max-width: 400px;
  border: 4px solid var(--surface-elevated);
  box-shadow: var(--shadow-md);
}

.about .about-content-panel {
  background: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.about .about-subheading {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--darknessBlue);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.about .about-content-panel>.about-subheading:first-child {
  padding-top: 1rem;
}

.about .about-content-panel h4.fst-italic {
  color: var(--darkGrayishBlue);
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.65;
  font-weight: 400;
}

.about .about-content-panel h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--darknessBlue);
  margin-top: 1.25rem;
  margin-bottom: 0.35rem;
}

.about .about-content-panel h4 pre,
.about .about-content-panel h5 pre {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
  white-space: pre-wrap;
}

.about .about-content-panel h5 pre {
  font-size: 0.78rem;
}

.about hr.about-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      var(--border-strong),
      transparent);
  margin: 1.5rem 0;
  opacity: 1;
}

.about .container .row h4 pre::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: var(--Whitesmoke);
  border-radius: 10px;
}

.about .container .row h4 pre::-webkit-scrollbar {
  width: 4px;
  background-color: var(--Whitesmoke);
}

.about .container .row h4 pre::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: var(--darkGrey);
  border: 1px solid var(--darkGrey);
}

@media (max-width: 1024px) {
  .about .about-photo {
    max-width: 350px;
  }
}

@media (max-width: 769px) {
  .about .about-photo {
    max-width: 250px;
  }
}

/*--------------------------------------------------------------
# Certificates Swiper Styles
--------------------------------------------------------------*/

.certificates .section-title h2 {
  color: var(--darknessBlue);
}

.certificateSwiper {
  width: 100%;
  padding: 20px 0 40px;
}

.certificateSwiper .swiper-slide {
  width: 30%;
  transition: transform 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.certificateSwiper .swiper-slide img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  transform: scale(0.92);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}

.certificateSwiper .swiper-slide-active img {
  transform: scale(1.15);
  z-index: 2;
}

@media (min-width: 769px) and (max-width:992px) {
  .certificateSwiper .swiper-slide {
    width: 50%;
  }
}

@media (max-width: 768px) {
  .certificateSwiper .swiper-slide {
    width: 70%;
  }
}

/*--------------------------------------------------------------
# Tools + Contact
--------------------------------------------------------------*/

.contact .icon-box {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--middleBlue);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out);
  background: var(--surface-elevated);
  height: 100%;
}

.contact .icon-box .icon {
  margin-bottom: 10px;
}

.contact .icon-box .icon i {
  display: flex;
  justify-content: center;
  color: var(--middleBlue);
  font-size: 2rem;
  transition: color 0.25s var(--ease-out);
}

.contact .icon-box h4 {
  text-align: center;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--darknessBlue);
}

.contact .icon-box p {
  text-align: center;
  line-height: 1.55;
  font-size: 1rem;
  margin-bottom: 0;
  color: var(--darkGrayishBlue);
}

.contact .icon-box p span {
  color: var(--middleBlue);
  font-weight: 600;
}

.contact .icon-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(71, 178, 228, 0.35);
}

.contact .icon-box:hover .icon i {
  color: var(--lightMiddleBlue);
}

.tools .container .row ol {
  width: min(90rem, 90%);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  list-style: none;
  counter-reset: cardnr;
  justify-content: center;
}

.tools .container .row ol li {
  --frontColor: white;
  --width: 11em;
  --inlineP: 0.5rem;
  --borderR: 4rem;
  --arrowW: 2rem;
  --arrowH: 1.5rem;
  counter-increment: cardnr;
  width: calc(var(--width) - var(--inlineP) * 2);
  display: grid;
  grid-template:
    "icon" var(--borderR) "title"
    "descr" 1fr;
  margin-inline: var(--inlineP);
  margin-bottom: calc(var(--borderR));
  position: relative;
}

.tools .container .row ol li .icon,
.tools .container .row ol li .title,
.tools .container .row ol li .descr {
  background: var(--frontColor);
  padding-inline: 1rem;
  padding-bottom: 1rem;
}

.tools .container .row ol li .icon,
.tools .container .row ol li .title {
  text-align: center;
  padding-bottom: 0.5rem;
}

.tools .container .row ol li .title,
.tools .container .row ol li .descr {
  filter: drop-shadow(0.125rem 0.125rem 0.075rem rgba(0, 0, 0, 0.25));
}

.tools .container .row ol li .icon {
  grid-area: icon;
  font-size: 2rem;
  display: grid;
  place-items: center;
  border-radius: var(--borderR) 0 0 0;
  position: relative;
}

.tools .container .row ol li .icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.tools .container .row ol li .icon i {
  font-size: 2.75rem;
  line-height: 1;
  color: var(--accent-color);
}

.tools .container .row ol li .title {
  grid-area: title;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--darknessBlue);
}

.tools .container .row ol li .descr {
  grid-area: descr;
  font-size: 0.9375rem;
  font-family: "Open Sans", sans-serif;
  line-height: 1.55;
  text-align: center;
  color: var(--darkGrayishBlue);
}

.tools .container .row ol li .descr span {
  color: #31a9e1;
}

.tools .container .row ol li .descr.more-than {
  padding-top: 10px;
  line-height: 1.7rem;
}

.tools .container .row ol li .descr::before {
  content: "";
  width: var(--arrowW);
  height: var(--arrowH);
  position: absolute;
  right: 1.5rem;
  top: 100%;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.tools .container .row ol li::after {
  content: counter(cardnr, decimal-leading-zero);
  position: absolute;
  z-index: -1;

  left: calc(var(--inlineP) * -1);
  right: calc(var(--inlineP) * -1);
  top: var(--borderR);
  bottom: calc(var(--borderR) * -1);

  display: flex;
  align-items: flex-end;
  background: var(--accent-color);
  background-image: linear-gradient(160deg,
      rgba(255, 255, 255, 0.25),
      transparent 25% 75%,
      rgba(0, 0, 0, 0.25));
  border-radius: 0 0 var(--borderR) 0;

  --pad: 1rem;
  padding: var(--pad);
  font-size: calc(var(--borderR) - var(--pad) * 2);
  color: var(--white);
}

.tools .container .row ol li::before {
  content: "";
  position: absolute;
  height: var(--borderR);
  top: calc(100% + var(--borderR) - 2px);
  left: calc(var(--inlineP) * -1);
  right: calc(var(--inlineP) * -1);
  border-radius: 0 var(--borderR) 0 0;
  background-image: linear-gradient(var(--accent-color), transparent 60%);
  opacity: 0.5;
  filter: blur(2px);
}

/* Tools cards keep white “front” panels — use dark text (tokens flip to light on dark pages) */
:root[data-color-scheme="dark"] .tools .container .row ol li .title {
  color: #0f172a;
}

:root[data-color-scheme="dark"] .tools .container .row ol li .descr {
  color: #334155;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-color-scheme]) .tools .container .row ol li .title {
    color: #0f172a;
  }

  :root:not([data-color-scheme]) .tools .container .row ol li .descr {
    color: #334155;
  }
}

/*--------------------------------------------------------------
# Techniques Section
--------------------------------------------------------------*/

/* Stack-themed floating icons (reuses hero keyframes + .hero-float-item paths) */
.techniques-floating-icons {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.techniques-floating-icons .hero-float-motion {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  color: rgba(255, 255, 255, 0.26);
  font-size: clamp(1.25rem, 2.5vw, 1.95rem);
  text-shadow: 0 0 20px rgba(147, 197, 253, 0.25);
  filter: drop-shadow(0 2px 8px rgba(15, 23, 42, 0.35));
  will-change: transform;
}

.techniques-floating-icons .hero-float-motion i {
  display: block;
  line-height: 1;
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out),
    filter 0.4s var(--ease-out);
}

.techniques>.container {
  position: relative;
  z-index: 3;
}

@media (max-width: 991px) {
  .techniques-floating-icons .hero-float-item:nth-child(n + 9) {
    display: none;
  }

  .techniques-floating-icons .hero-float-motion {
    font-size: clamp(1.05rem, 3.8vw, 1.55rem);
  }
}

@media (max-width: 576px) {
  .techniques-floating-icons .hero-float-item:nth-child(n + 6) {
    display: none;
  }
}

.techniques .container .section-title {
  margin-bottom: 2rem;
}

.techniques .section-title h5 {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.techniques .section-title h2 {
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.techniques .section-title h2::before {
  background: rgba(255, 255, 255, 0.35);
}

.techniques .section-title h2::after {
  background: var(--white);
}

.techniques .section-title p {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.techniques .techniques-wrap {
  padding-left: 8px;
}

.techniques .techniques-item {
  box-sizing: border-box;
  padding: 1.25rem 1rem;
  margin: 20px 8px;
  box-shadow: var(--shadow-md);
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.techniques .techniques-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.25);
}

.techniques .techniques-item .techniques-img {
  width: 200px;
  max-width: 100%;
}

.techniques .techniques-item h3 {
  font-size: 1.1rem;
  font-family: "Jost", sans-serif;
  font-weight: 600;
  margin: 12px 0 0;
  color: var(--darknessBlue);
  text-align: center;
  letter-spacing: -0.02em;
}

.techniques .swiper-pagination {
  margin-top: 28px;
  position: relative;
}

.techniques .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.45);
  opacity: 1;
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

.techniques .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--white);
  transform: scale(1.15);
}

@media (max-width: 767px) {
  .techniques .techniques-wrap {
    padding-left: 0;
  }

  .techniques .techniques-item {
    padding: 30px;
    margin: 15px;
  }
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/

.portfolio #portfolio-flters {
  list-style: none;
  margin-bottom: 20px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  margin: 10px 5px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: var(--darkGrayishBlue);
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out), transform 0.2s var(--ease-out);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border-subtle);
  background: var(--surface-elevated);
  box-shadow: var(--shadow-sm);
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  background: var(--middleBlue);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.portfolio #portfolio-flters li:focus {
  outline: none;
}

.portfolio #portfolio-flters li:focus-visible {
  outline: 2px solid var(--lightMiddleBlue);
  outline-offset: 3px;
}

.portfolio .portfolio-item {
  position: relative;
  margin-bottom: 30px;
}

.portfolio .portfolio-item .portfolio-img {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--surface-elevated);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out),
    transform 0.35s var(--ease-out);
}

.portfolio .portfolio-item:hover .portfolio-img {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.portfolio .portfolio-item .portfolio-img img {
  transition: transform 0.55s var(--ease-out);
  vertical-align: middle;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  background: rgba(248, 250, 252, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  top: 0;
  left: 10px;
  right: 10px;
  bottom: 0;
  text-align: center;
  z-index: 3;
  transition: opacity 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.portfolio .portfolio-item .portfolio-info::before {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  top: 35px;
  left: 35px;
  border-top: 3px solid var(--corneerWhiteness);
  border-left: 3px solid var(--corneerWhiteness);
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-item .portfolio-info::after {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  bottom: 35px;
  right: 35px;
  border-bottom: 3px solid var(--corneerWhiteness);
  border-right: 3px solid var(--corneerWhiteness);
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  color: var(--darkGrayishBlue);
  font-weight: 600;
}

.portfolio .portfolio-item .portfolio-info p {
  color: var(--darkGrayishBlue);
  font-size: 14px;
  padding: 0;
  margin-bottom: 10px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  z-index: 4;
  font-size: 28px;
  color: var(--darkGrayishBlue);
  margin: 10px 20px;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: var(--middleBlue);
}

.portfolio .portfolio-item:hover .portfolio-img img {
  transform: scale(1.15);
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
}

/* Portfolio card overlay: dark frosted panel + light text (tokens assume dark page bg) */
:root[data-color-scheme="dark"] .portfolio .portfolio-item .portfolio-info {
  background: rgba(15, 23, 42, 0.94);
  border-color: rgba(148, 163, 184, 0.22);
}

:root[data-color-scheme="dark"] .portfolio .portfolio-item .portfolio-info h4,
:root[data-color-scheme="dark"] .portfolio .portfolio-item .portfolio-info p {
  color: #f1f5f9;
}

:root[data-color-scheme="dark"] .portfolio .portfolio-item .portfolio-info .preview-link,
:root[data-color-scheme="dark"] .portfolio .portfolio-item .portfolio-info .details-link {
  color: #cbd5e1;
}

:root[data-color-scheme="dark"] .portfolio .portfolio-item .portfolio-info .preview-link:hover,
:root[data-color-scheme="dark"] .portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: #7dd3fc;
}

:root[data-color-scheme="dark"] .portfolio .portfolio-item .portfolio-info::before,
:root[data-color-scheme="dark"] .portfolio .portfolio-item .portfolio-info::after {
  border-color: rgba(148, 163, 184, 0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-color-scheme]) .portfolio .portfolio-item .portfolio-info {
    background: rgba(15, 23, 42, 0.94);
    border-color: rgba(148, 163, 184, 0.22);
  }

  :root:not([data-color-scheme]) .portfolio .portfolio-item .portfolio-info h4,
  :root:not([data-color-scheme]) .portfolio .portfolio-item .portfolio-info p {
    color: #f1f5f9;
  }

  :root:not([data-color-scheme]) .portfolio .portfolio-item .portfolio-info .preview-link,
  :root:not([data-color-scheme]) .portfolio .portfolio-item .portfolio-info .details-link {
    color: #cbd5e1;
  }

  :root:not([data-color-scheme]) .portfolio .portfolio-item .portfolio-info .preview-link:hover,
  :root:not([data-color-scheme]) .portfolio .portfolio-item .portfolio-info .details-link:hover {
    color: #7dd3fc;
  }

  :root:not([data-color-scheme]) .portfolio .portfolio-item .portfolio-info::before,
  :root:not([data-color-scheme]) .portfolio .portfolio-item .portfolio-info::after {
    border-color: rgba(148, 163, 184, 0.45);
  }
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/

.portfolio-details {
  padding-top: 40px;
}

/* Reserve space while portfolio detail page loads JSON-driven layout */
#portfolio-detail-root:empty {
  min-height: 35vh;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
  border-radius: 10px;
  border: 2px solid var(--border-strong);
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--white);
  opacity: 1;
  border: 1px solid var(--middleBlue);
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--middleBlue);
}

.portfolio-details .portfolio-info {
  padding: 20px;
  box-shadow: 0px 0 30px rgba(55, 81, 126, 0.08);
  border-radius: 20px;
  margin-bottom: 40px;
}

.portfolio-details .portfolio-info .project-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lightMiddleBlue);
  background: rgba(71, 178, 228, 0.12);
  border: 1px solid rgba(71, 178, 228, 0.35);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem;
  margin: 0 0 12px;
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--corneerWhiteness);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: clamp(0.875rem, 1.4vw, 0.9375rem);
  line-height: 1.55;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-info ul li#description {
  margin-bottom: 10px;
  max-height: 130px;
  overflow-y: scroll;
  padding: 5px;
  border: 2px solid var(--middleBlue);
  padding: 10px;
  border-radius: 15px 8px 8px 15px;
  border-color: var(--middleBlue) transparent var(--middleBlue) var(--middleBlue);
}

.portfolio-details .portfolio-info ul li::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(69, 135, 180, 0.34);
  background-color: var(--white);
  border-radius: 10px;
}

.portfolio-details .portfolio-info ul li::-webkit-scrollbar {
  border-radius: 10px;
  width: 8px;
  background-color: var(--middleBlue);
}

.portfolio-details .portfolio-info ul li::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: var(--lightMiddleBlue);
  border: 1px solid var(--white);
}

.portfolio-details .portfolio-info ul li a {
  color: var(--lightBlack);
}

.portfolio-details .portfolio-info ul li a span {
  color: var(--betweenBlue);
  margin-left: 3px;
  padding-bottom: 3px;
  border-bottom: var(--lightAqua) 0.125em solid;
}

.portfolio-details .portfolio-info ul li strong,
.portfolio-details .portfolio-info ol li strong {
  color: var(--lightMiddleBlue);
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/

.breadcrumbs {
  padding: 15px 0;
  background: var(--lightWhite);
  min-height: 40px;
  margin-top: 72px;
}

@media (max-width: 992px) {
  .portfolio-details .portfolio-info ul li#description {
    overflow: hidden;
    max-height: max-content;
    border-color: var(--middleBlue);
  }

  .breadcrumbs {
    margin-top: 68px;
  }
}

.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--darknessBlue);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: var(--lightNavyBlue);
  content: "/";
}

/*--------------------------------------------------------------
# Accordion
--------------------------------------------------------------*/

.accordion {
  margin: 20px;
}

.accordion .accordion-item {
  margin: 0px 30px;
}

.accordion .accordion-item .accordion-body h4 {
  color: var(--darknessBlue);
}

.accordion .accordion-item .accordion-body h5 {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  color: var(--middleBlue);
}

.accordion .accordion-item .accordion-body.diagram h5 {
  color: var(--middleBlue);
}

.accordion .accordion-item .accordion-body .slide a img {
  width: 80%;
  padding: 10px;
  resize: both;
  border-radius: 20px;
  border: 2px solid rgb(223, 223, 223);
}

@media (max-width: 1200px) {
  .accordion .accordion-item .accordion-body .slide a img {
    width: 100%;
  }
}

/*--------------------------------------------------------------
# Store Buttons 
--------------------------------------------------------------*/
.market-btn {
  display: inline-block;
  padding: 0.3125rem 0.875rem;
  padding-left: 2.8125rem;
  -webkit-transition: border-color 0.25s ease-in-out, background-color 0.25s ease-in-out;
  transition: border-color 0.25s ease-in-out, background-color 0.25s ease-in-out;
  border: 1px solid grey;
  margin: 10px;
  border-radius: 8px;
  background-position: center left 0.75rem;
  background-color: #fff;
  background-size: 1.5rem 1.5rem;
  background-repeat: no-repeat;
  text-decoration: none;
}

.market-btn .market-button-title {
  display: block;
  color: #222;
  font-size: 1.125rem;
}

.market-btn .market-button-subtitle {
  display: block;
  margin-bottom: -0.25rem;
  color: #888;
  font-size: 0.75rem;
}

.market-btn:hover {
  background-color: black;
  text-decoration: none;
}

/* Detail pages: store buttons two per row, equal widths.
   Sized by the info column's width (container query), not the viewport,
   because that column is narrowest on mid-size laptops. */
.portfolio-details .portfolio-info ul li.store-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  container-type: inline-size;
}

.portfolio-details .portfolio-info ul li.store-buttons .market-btn {
  display: block;
  margin: 0;
  min-width: 0;
  padding: 0.375rem 0.5rem 0.375rem 2.375rem;
  background-position: center left 0.5rem;
  background-size: 1.375rem 1.375rem;
}

.portfolio-details .portfolio-info ul li.store-buttons .market-btn span {
  margin-left: 0;
  padding-bottom: 0;
  border-bottom: 0;
  white-space: nowrap;
}

.portfolio-details .portfolio-info ul li.store-buttons .market-btn .market-button-title {
  color: #222;
  font-size: 0.875rem;
}

.portfolio-details .portfolio-info ul li.store-buttons .market-btn .market-button-subtitle {
  color: #888;
  font-size: 0.6875rem;
}

@container (min-width: 360px) {
  .portfolio-details .portfolio-info ul li.store-buttons .market-btn {
    padding: 0.375rem 0.625rem 0.375rem 2.625rem;
    background-position: center left 0.625rem;
    background-size: 1.5rem 1.5rem;
  }

  .portfolio-details .portfolio-info ul li.store-buttons .market-btn .market-button-title {
    font-size: 1rem;
  }

  .portfolio-details .portfolio-info ul li.store-buttons .market-btn .market-button-subtitle {
    font-size: 0.75rem;
  }
}

/* Too narrow for icon + text side by side: stack the icon above the text */
@container (max-width: 303px) {
  .portfolio-details .portfolio-info ul li.store-buttons .market-btn {
    padding: 2.125rem 0.375rem 0.5rem;
    text-align: center;
    background-position: top 0.5rem center;
    background-size: 1.375rem 1.375rem;
  }
}

.market-btn:focus {
  outline: none;
}

.market-btn:focus-visible {
  outline: 2px solid var(--lightMiddleBlue);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px rgba(71, 178, 228, 0.25);
}

.apple-btn {
  background-image: url(data:image/svg+xml;utf8;base64,P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mZWyLz2GHUsJpGHMC3bJNwlaDDvvJ6kR/mk87avF0EDzQIujG74J7zOe6FLXYGikO0JVEbZMLoso3XrbY3EXdZbrjzqlMzR0Bxw5paBb8UZmaEymU0NEfX1DgwYkMafQE0Oj3ZATUlFYLwxXhu3jOSVKpNuRQWG4N++oEkIMPTC00s2K54bsM7R0UyhcTG6b4Ye1jusxmB3S3UIgw6XNVghsDXYZWh4O7yG5aN1oFcIwtD4TwAeWYZHhUx93ZnvKK8qtMVz3NdRBVb5LK/i6Q8Wwx95Or12o2mG47HcqR5r3zDDv/fYJv8X3zzTf2cJw0YeEaWIqPY6Z5hulDN+4JhpOJCnNTPN9EoYvnCMAAuGidMdkCisjn7inUz0LsnC6VpvAe4mdmLj53rTkdMVeM1gSujP3dls7kGdtuVerHnhxa3LxKLobAfqa+V7Is4wsZA26Ioi/wlX7LpIv+CrHOsdct7crEXhe17XNPI9beP6Da/gPfNWsZr34KLUAAAAASUVORK5CYII=);
}

.website-btn {
  background-image: url(https://cdn-icons-png.flaticon.com/512/4387/4387430.png);
}

.googl-drive-btn {
  background-color: whitesmoke;
  background-image: url(https://icon2.cleanpng.com/20180805/hfv/30de6d43dcfc928888cb34e63ab95381.webp);

}

.googl-drive-btn:hover {
  background-color: white;
}

.microsoft-btn {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 23'%3E%3Cpath fill='%23f35325' d='M1 1h10v10H1z'/%3E%3Cpath fill='%2381bc06' d='M12 1h10v10H12z'/%3E%3Cpath fill='%2305a6f0' d='M1 12h10v10H1z'/%3E%3Cpath fill='%23ffba08' d='M12 12h10v10H12z'/%3E%3C/svg%3E");
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

#footer {
  font-size: 14px;
  background: var(--footer-bg);
}

#footer .footer-nav {
  text-align: center;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
}

#footer .footer-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

#footer .footer-nav a:hover {
  color: var(--lightBlue);
}

#footer .footer-nav__sep {
  margin: 0 0.5rem;
  color: rgba(255, 255, 255, 0.45);
}

#footer .footer-bottom {
  padding-top: 30px;
  padding-bottom: 30px;
  color: var(--white);
}

#footer .copyright {
  font-style: italic;
  font-size: 18px;
  float: left;
}

#footer .copyright span.reserved {
  color: var(--middleBlue);
}

#footer .developed {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  float: right;
  font-size: 18px;
}

#footer .developed span {
  font-size: 20px;
  color: var(--middleBlue);
}

@media (max-width: 768px) {
  #footer .footer-bottom {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  #footer .copyright,
  #footer .developed {
    text-align: center;
    float: none;
  }

  #footer .developed {
    margin-top: 5px;
    padding-top: 4px;
  }
}

#footer .developed .developed__label {
  font-size: inherit;
  color: inherit;
}

/*--------------------------------------------------------------
# Arabic (lang="ar") and RTL layout (dir="rtl")
# i18n.js sets both attributes together on <html>.
--------------------------------------------------------------*/

/* Arabic type: Cairo everywhere a Latin face was set; cursive script, so no
   letter-spacing, uppercase or synthetic italics */
html[lang="ar"] body,
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6,
html[lang="ar"] .navbar-mobile a,
html[lang="ar"] .navbar-mobile ul::before,
html[lang="ar"] #hero h1,
html[lang="ar"] #hero h2,
html[lang="ar"] #hero #caret-text span,
html[lang="ar"] #hero .btn-get-started,
html[lang="ar"] #portfolio-details .container .portfolio-info ul a.btn-get-started,
html[lang="ar"] .section-title h5,
html[lang="ar"] .section-title h2,
html[lang="ar"] .about .about-subheading,
html[lang="ar"] .about .about-content-panel h4 pre,
html[lang="ar"] .about .about-content-panel h5 pre,
html[lang="ar"] .contact .icon-box h4,
html[lang="ar"] .tools .container .row ol li .title,
html[lang="ar"] .tools .container .row ol li .descr,
html[lang="ar"] .techniques .techniques-item h3,
html[lang="ar"] .portfolio #portfolio-flters li,
html[lang="ar"] .portfolio-details .portfolio-info .project-chip,
html[lang="ar"] .accordion .accordion-item .accordion-body h5,
html[lang="ar"] .glightbox-container .gslide-title,
html[lang="ar"] #footer .developed {
  font-family: "Cairo", sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

html[lang="ar"] .fst-italic,
html[lang="ar"] #hero #caret-text span,
html[lang="ar"] #footer .copyright {
  font-style: normal !important;
}

html[lang="ar"] .about .about-content-panel h4.fst-italic {
  line-height: 1.9;
}

/* Cairo's tall glyphs would otherwise give these <pre> lines a scrollbar */
html[lang="ar"] .about .about-content-panel h4 pre,
html[lang="ar"] .about .about-content-panel h5 pre {
  overflow: visible;
}

html[lang="ar"] .portfolio-details .portfolio-info ul {
  line-height: 1.75;
}

html[lang="ar"] .navbar-mobile ul::before {
  content: "القائمة";
  font-size: 0.8125rem;
}

/* Bootstrap LTR utilities used in the markup */
[dir="rtl"] .me-auto {
  margin-right: 0 !important;
  margin-left: auto !important;
}

@media (min-width: 992px) {
  [dir="rtl"] .text-lg-start {
    text-align: right !important;
  }
}

/* Off-screen to the right: overflow on the left would scroll in RTL */
[dir="rtl"] .skip-link {
  left: auto;
  right: -9999px;
}

[dir="rtl"] .skip-link:focus {
  right: 0.75rem;
}

[dir="rtl"] .back-to-top {
  right: auto;
  left: -20px;
}

[dir="rtl"] .back-to-top.active {
  right: auto;
  left: 20px;
}

/* Header + navigation */
[dir="rtl"] .header-actions {
  margin-left: 0;
  margin-right: auto;
}

/* The logo is a Latin </Mahmoud> mark: keep its tags in reading order */
[dir="rtl"] #header .logo {
  direction: ltr;
}

[dir="rtl"] .navbar a,
[dir="rtl"] .navbar a:focus {
  padding: 10px 30px 10px 0;
}

[dir="rtl"] .navbar-mobile a,
[dir="rtl"] .navbar-mobile a:focus {
  padding: 0.85rem 1rem;
}

[dir="rtl"] .navbar-mobile .mobile-nav-toggle {
  right: auto;
  left: calc(12px + env(safe-area-inset-left, 0px));
}

[dir="rtl"] .navbar-mobile ul {
  right: auto;
  left: calc(12px + 2.75rem + 10px + env(safe-area-inset-left, 0px));
  transform: translate3d(-108%, 0, 0);
}

[dir="rtl"] .navbar-mobile ul::before {
  left: auto;
  right: 1.25rem;
}

@media (prefers-reduced-motion: no-preference) {
  [dir="rtl"] .navbar-mobile ul {
    animation-name: mobile-nav-panel-in-rtl;
  }

  [dir="rtl"] .navbar-mobile ul li {
    animation-name: mobile-nav-item-in-rtl;
  }

  [dir="rtl"] .navbar-mobile a:hover,
  [dir="rtl"] .navbar-mobile .active,
  [dir="rtl"] .navbar-mobile li:hover>a {
    transform: translateX(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  [dir="rtl"] .navbar-mobile ul {
    transform: none;
  }
}

@keyframes mobile-nav-panel-in-rtl {
  from {
    transform: translate3d(-108%, 0, 0);
    opacity: 0.92;
  }

  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes mobile-nav-item-in-rtl {
  from {
    transform: translateX(-10px);
  }

  to {
    transform: translateX(0);
  }
}

/* Hero: the caret points toward the text */
[dir="rtl"] #hero #caret-text::before {
  transform: scaleX(-1);
}

/* Contact cards: accent border on the start side */
[dir="rtl"] .contact .icon-box {
  border-left: 1px solid var(--border-subtle);
  border-right: 3px solid var(--middleBlue);
}

[dir="rtl"] .contact .icon-box:hover {
  border-color: rgba(71, 178, 228, 0.35);
}

/* Tools cards: mirror the folded-corner shapes */
[dir="rtl"] .tools .container .row ol li .icon {
  border-radius: 0 var(--borderR) 0 0;
}

[dir="rtl"] .tools .container .row ol li .title,
[dir="rtl"] .tools .container .row ol li .descr {
  filter: drop-shadow(-0.125rem 0.125rem 0.075rem rgba(0, 0, 0, 0.25));
}

[dir="rtl"] .tools .container .row ol li .descr::before {
  right: auto;
  left: 1.5rem;
}

[dir="rtl"] .tools .container .row ol li::after {
  border-radius: 0 0 0 var(--borderR);
  background-image: linear-gradient(200deg,
      rgba(255, 255, 255, 0.25),
      transparent 25% 75%,
      rgba(0, 0, 0, 0.25));
}

[dir="rtl"] .tools .container .row ol li::before {
  border-radius: var(--borderR) 0 0 0;
}

/* Portfolio card overlay corner brackets */
[dir="rtl"] .portfolio .portfolio-item .portfolio-info::before {
  left: auto;
  right: 35px;
  border-left: 0;
  border-right: 3px solid var(--corneerWhiteness);
}

[dir="rtl"] .portfolio .portfolio-item .portfolio-info::after {
  right: auto;
  left: 35px;
  border-right: 0;
  border-left: 3px solid var(--corneerWhiteness);
}

/* Detail pages: the description's scrollbar moves to the left in RTL */
[dir="rtl"] .portfolio-details .portfolio-info ul li#description {
  border-radius: 8px 15px 15px 8px;
  border-color: var(--middleBlue) var(--middleBlue) var(--middleBlue) transparent;
}

@media (max-width: 992px) {
  [dir="rtl"] .portfolio-details .portfolio-info ul li#description {
    border-color: var(--middleBlue);
  }
}

[dir="rtl"] .portfolio-details .portfolio-info ul li a span {
  margin-left: 0;
  margin-right: 3px;
}

/* Store buttons: icon on the start (right) side */
[dir="rtl"] .market-btn {
  padding-left: 0.875rem;
  padding-right: 2.8125rem;
  background-position: center right 0.75rem;
}

[dir="rtl"] .portfolio-details .portfolio-info ul li.store-buttons .market-btn {
  padding: 0.375rem 2.375rem 0.375rem 0.5rem;
  background-position: center right 0.5rem;
}

[dir="rtl"] .portfolio-details .portfolio-info ul li.store-buttons .market-btn span {
  margin-right: 0;
}

@container (min-width: 360px) {
  [dir="rtl"] .portfolio-details .portfolio-info ul li.store-buttons .market-btn {
    padding: 0.375rem 2.625rem 0.375rem 0.625rem;
    background-position: center right 0.625rem;
  }
}

@container (max-width: 303px) {
  [dir="rtl"] .portfolio-details .portfolio-info ul li.store-buttons .market-btn {
    padding: 2.125rem 0.375rem 0.5rem;
    background-position: top 0.5rem center;
  }
}

/* Breadcrumbs */
[dir="rtl"] .breadcrumbs ol li+li {
  padding-left: 0;
  padding-right: 10px;
}

[dir="rtl"] .breadcrumbs ol li+li::before {
  padding-right: 0;
  padding-left: 10px;
}

/* Accordion (Bootstrap LTR build) */
[dir="rtl"] .accordion-button {
  text-align: right;
}

[dir="rtl"] .accordion-button::after {
  margin-left: 0;
  margin-right: auto;
}

/* Footer */
[dir="rtl"] #footer .copyright {
  float: right;
}

[dir="rtl"] #footer .developed {
  float: left;
}

@media (max-width: 768px) {

  [dir="rtl"] #footer .copyright,
  [dir="rtl"] #footer .developed {
    float: none;
  }
}