:root {
  --background: #040817;
  --background-soft: #071127;
  --card: rgba(9, 20, 45, 0.78);
  --primary: #1688ff;
  --primary-light: #6cc4ff;
  --primary-dark: #075cc6;
  --text: #ffffff;
  --text-muted: #a9b6cf;
  --border: rgba(255, 255, 255, 0.1);
  --blue-border: rgba(95, 182, 255, 0.26);
  --container: 1180px;
  --header-height: 88px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background: var(--background);
  font-family: "Cairo", Arial, sans-serif;
}

html[dir="ltr"] body {
  font-family: "Inter", Arial, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
}

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  padding: 20px 0;
  transition:
    padding 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.site-header.scrolled {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(4, 8, 23, 0.84);
  backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  overflow: hidden;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.5px;
  border: 1px solid rgba(102, 190, 255, 0.55);
  border-radius: 15px;
  background:
    linear-gradient(
      145deg,
      rgba(74, 176, 255, 0.32),
      rgba(18, 80, 172, 0.08)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 28px rgba(22, 136, 255, 0.12);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-copy strong {
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-copy small {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 600;
  color: #6db9f5;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.main-nav a::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  content: "";
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #ffffff;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  color: #ffffff;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}

.language-switch:hover {
  border-color: rgba(85, 178, 255, 0.45);
  background: rgba(22, 136, 255, 0.08);
}

.language-option {
  font-family: "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  color: #64718a;
  transition: color 0.3s ease;
}

.language-option.active {
  color: var(--primary-light);
}

.language-separator {
  width: 1px;
  height: 13px;
  background: var(--border);
}

.menu-button {
  display: none;
  width: 43px;
  height: 43px;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
}

.menu-button span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  border-radius: 10px;
  background: #ffffff;
  transition: 0.3s ease;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: center;
  overflow: hidden;
  padding: 135px 0 85px;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: -160px;
  left: 0;
  z-index: -4;
  height: 360px;
  background:
    linear-gradient(
      to top,
      rgba(11, 53, 111, 0.23),
      transparent
    );
  content: "";
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -6;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(60, 147, 255, 0.085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 147, 255, 0.085) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image:
    linear-gradient(
      to bottom,
      black,
      rgba(0, 0, 0, 0.6),
      transparent
    );
}

.hero-glow {
  position: absolute;
  z-index: -5;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(12px);
}

.glow-one {
  top: -250px;
  right: -180px;
  width: 650px;
  height: 650px;
  opacity: 0.25;
  background:
    radial-gradient(
      circle,
      #1688ff 0%,
      rgba(22, 136, 255, 0) 68%
    );
}

.glow-two {
  bottom: -310px;
  left: -250px;
  width: 620px;
  height: 620px;
  opacity: 0.17;
  background:
    radial-gradient(
      circle,
      #3d5afe 0%,
      rgba(61, 90, 254, 0) 70%
    );
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(410px, 0.92fr);
  align-items: center;
  gap: 75px;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 23px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 600;
  color: #c3e2ff;
  border: 1px solid rgba(77, 170, 255, 0.25);
  border-radius: 100px;
  background: rgba(22, 136, 255, 0.075);
}

.availability-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35db91;
  box-shadow: 0 0 13px rgba(53, 219, 145, 0.85);
}

.availability-dot::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(53, 219, 145, 0.4);
  border-radius: inherit;
  content: "";
  animation: statusPulse 2s infinite;
}

.hero-kicker {
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-light);
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(44px, 5.4vw, 77px);
  line-height: 1.17;
  letter-spacing: -2.3px;
}

html[dir="ltr"] .hero h1 {
  letter-spacing: -3.2px;
}

.hero h1 span,
.hero h1 strong {
  display: block;
}

.hero h1 strong {
  margin-top: 4px;
  color: transparent;
  background:
    linear-gradient(
      100deg,
      #ffffff 4%,
      #8bd4ff 55%,
      #1688ff 100%
    );
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-description {
  max-width: 650px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--text-muted);
}

html[dir="ltr"] .hero-description {
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 23px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 15px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.button-primary {
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      var(--primary-light),
      var(--primary-dark)
    );
  box-shadow:
    0 17px 38px rgba(22, 136, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.button-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 22px 46px rgba(22, 136, 255, 0.37),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.button-secondary {
  color: #e7f1ff;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
}

.button-secondary:hover {
  border-color: rgba(84, 176, 255, 0.48);
  background: rgba(22, 136, 255, 0.08);
  transform: translateY(-3px);
}

.button-icon {
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
}

.download-icon {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  font-family: "Inter", Arial, sans-serif;
  border-radius: 50%;
  background: rgba(22, 136, 255, 0.14);
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 43px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.meta-item strong {
  font-size: 26px;
  color: #ffffff;
}

.meta-item span {
  font-size: 10px;
  font-weight: 600;
  color: #7988a4;
}

.meta-line {
  width: 1px;
  height: 42px;
  background: var(--border);
}

.meta-tools strong {
  font-size: 11px;
  color: #c9d8ee;
}

.meta-tools span {
  font-family: "Inter", Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 0.2px;
}

/* Portrait */

.hero-visual {
  position: relative;
  display: grid;
  min-height: 570px;
  place-items: center;
  isolation: isolate;
}

.visual-orbit {
  position: absolute;
  z-index: -2;
  border: 1px solid rgba(91, 181, 255, 0.16);
  border-radius: 50%;
}

.orbit-large {
  width: 510px;
  height: 510px;
  animation: orbitRotate 25s linear infinite;
}

.orbit-small {
  width: 390px;
  height: 390px;
  border-style: dashed;
  animation: orbitRotate 18s linear reverse infinite;
}

.orbit-large::before,
.orbit-small::before {
  position: absolute;
  top: 50%;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 20px rgba(79, 185, 255, 0.85);
  content: "";
}

.portrait-frame {
  position: relative;
  z-index: 3;
  width: min(100%, 405px);
  height: 515px;
  overflow: hidden;
  border: 1px solid rgba(101, 189, 255, 0.25);
  border-radius: 205px 205px 34px 34px;
  background:
    linear-gradient(
      150deg,
      rgba(31, 129, 232, 0.22),
      rgba(4, 12, 31, 0.92)
    );
  box-shadow:
    0 48px 95px rgba(0, 0, 0, 0.46),
    0 0 70px rgba(22, 136, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
  animation: portraitFloat 6s ease-in-out infinite;
}

.portrait-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.portrait-background::before {
  position: absolute;
  top: 80px;
  left: 50%;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(108, 195, 255, 0.14);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
  box-shadow:
    0 0 0 46px rgba(93, 181, 255, 0.022),
    0 0 0 92px rgba(93, 181, 255, 0.017);
}

.portrait-circle {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.circle-one {
  top: 130px;
  right: 28px;
  width: 65px;
  height: 65px;
  background: rgba(56, 161, 255, 0.14);
}

.circle-two {
  bottom: 105px;
  left: 22px;
  width: 100px;
  height: 100px;
  background: rgba(49, 91, 213, 0.13);
}

.portrait-line {
  position: absolute;
  display: block;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(106, 195, 255, 0.32),
      transparent
    );
  transform: rotate(-35deg);
}

.line-one {
  top: 190px;
  left: -60px;
  width: 300px;
}

.line-two {
  right: -70px;
  bottom: 170px;
  width: 320px;
}

.portrait-image {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.portrait-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(
      to top,
      rgba(4, 9, 24, 0.82) 0%,
      rgba(4, 9, 24, 0.12) 38%,
      transparent 60%
    );
  pointer-events: none;
}

.portrait-caption {
  position: absolute;
  right: 50%;
  bottom: 18px;
  z-index: 4;
  display: flex;
  width: max-content;
  max-width: calc(100% - 30px);
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: #d9efff;
  border: 1px solid rgba(105, 193, 255, 0.22);
  border-radius: 100px;
  background: rgba(4, 12, 30, 0.73);
  backdrop-filter: blur(14px);
  transform: translateX(50%);
  white-space: nowrap;
}

.caption-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #35db91;
  box-shadow: 0 0 10px rgba(53, 219, 145, 0.8);
}

.floating-tool,
.project-card {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(94, 181, 255, 0.19);
  background: rgba(6, 16, 39, 0.82);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(15px);
}

.floating-tool {
  min-width: 145px;
  padding: 10px 12px;
  border-radius: 14px;
}

.floating-tool > span:last-child,
.project-card > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.floating-tool strong,
.project-card strong {
  font-family: "Inter", Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: #e9f5ff;
}

.floating-tool small,
.project-card small {
  font-size: 8px;
  font-weight: 600;
  color: #7586a4;
}

.tool-badge {
  display: grid;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  place-items: center;
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #8fd2ff;
  border: 1px solid rgba(92, 183, 255, 0.28);
  border-radius: 10px;
  background: rgba(22, 136, 255, 0.13);
}

.tool-premiere {
  top: 70px;
  right: -32px;
  animation: toolFloat 5s ease-in-out infinite;
}

.tool-after-effects {
  top: 235px;
  left: -55px;
  animation: toolFloat 5s 1.1s ease-in-out infinite;
}

.tool-davinci {
  right: -42px;
  bottom: 90px;
  animation: toolFloat 5s 2.1s ease-in-out infinite;
}

.project-card {
  bottom: 18px;
  left: -5px;
  min-width: 190px;
  padding: 12px 14px;
  border-radius: 15px;
  animation: toolFloat 5s 1.7s ease-in-out infinite;
}

.project-icon {
  display: grid;
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  place-items: center;
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  color: #ffffff;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      var(--primary-light),
      var(--primary-dark)
    );
  box-shadow: 0 8px 22px rgba(22, 136, 255, 0.3);
}

.scroll-hint {
  position: absolute;
  bottom: 23px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  font-weight: 600;
  color: #677691;
  transform: translateX(-50%);
}

.scroll-hint i {
  position: relative;
  width: 18px;
  height: 29px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
}

.scroll-hint i::after {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 6px;
  border-radius: 10px;
  background: var(--primary-light);
  content: "";
  transform: translateX(-50%);
  animation: scrollDot 1.8s infinite;
}

/* About Section */

.about-section {
  position: relative;
  overflow: hidden;
  padding: 115px 0;
  background:
    linear-gradient(
      to bottom,
      rgba(6, 19, 44, 0.72),
      rgba(4, 8, 23, 0.98) 34%,
      var(--background)
    );
  isolation: isolate;
}

.about-section::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(65, 151, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 151, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image:
    linear-gradient(
      to bottom,
      transparent,
      black 24%,
      black 78%,
      transparent
    );
}

.about-glow {
  position: absolute;
  top: 120px;
  left: -280px;
  z-index: -2;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  opacity: 0.14;
  background:
    radial-gradient(
      circle,
      #1688ff 0%,
      rgba(22, 136, 255, 0) 70%
    );
  filter: blur(14px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 52px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 12px;
  font-size: 10px;
  font-weight: 800;
  color: #8dd0ff;
  border: 1px solid rgba(87, 178, 255, 0.24);
  border-radius: 100px;
  background: rgba(22, 136, 255, 0.07);
}

.section-label::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 10px rgba(108, 196, 255, 0.8);
  content: "";
}

.section-heading h2 {
  font-size: clamp(36px, 4.5vw, 62px);
  line-height: 1.18;
  letter-spacing: -1.8px;
}

html[dir="ltr"] .section-heading h2 {
  letter-spacing: -2.6px;
}

.section-heading h2 span,
.section-heading h2 strong {
  display: inline;
}

.section-heading h2 strong {
  color: transparent;
  background:
    linear-gradient(
      100deg,
      #ffffff,
      #78c8ff 55%,
      #1688ff
    );
  background-clip: text;
  -webkit-background-clip: text;
}

.section-heading > p {
  max-width: 640px;
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-muted);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
  gap: 24px;
}

.about-story-card,
.experience-panel,
.stat-card {
  border: 1px solid var(--border);
  background: rgba(8, 18, 41, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 30px 75px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.about-story-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 34px;
  overflow: hidden;
  border-radius: 27px;
}

.about-story-card::after {
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  opacity: 0.11;
  background:
    radial-gradient(
      circle,
      var(--primary-light),
      transparent 70%
    );
  content: "";
}

.story-topline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.story-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  place-items: center;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(94, 183, 255, 0.35);
  border-radius: 13px;
  background: rgba(22, 136, 255, 0.12);
}

.story-role {
  font-family: "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #89cfff;
  letter-spacing: 0.4px;
}

.about-story-card h3 {
  position: relative;
  z-index: 2;
  max-width: 560px;
  font-size: clamp(24px, 2.7vw, 35px);
  line-height: 1.45;
  letter-spacing: -0.7px;
}

.about-story-card > p {
  position: relative;
  z-index: 2;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--text-muted);
}

.about-strengths {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 11px;
  margin-top: 28px;
}

.strength-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease;
}

.strength-item:hover {
  border-color: rgba(93, 183, 255, 0.28);
  background: rgba(22, 136, 255, 0.07);
  transform: translateX(-4px);
}

html[dir="ltr"] .strength-item:hover {
  transform: translateX(4px);
}

.strength-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  place-items: center;
  font-family: "Inter", Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  color: #8fd2ff;
  border: 1px solid rgba(91, 181, 255, 0.26);
  border-radius: 11px;
  background: rgba(22, 136, 255, 0.1);
}

.strength-item > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.strength-item strong {
  font-size: 12px;
}

.strength-item small {
  font-size: 9px;
  color: #74839d;
}

.about-contact-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 29px;
  font-size: 12px;
  font-weight: 800;
  color: #8fd2ff;
}

.about-contact-link span:last-child {
  font-family: "Inter", Arial, sans-serif;
  font-size: 17px;
  transition: transform 0.3s ease;
}

.about-contact-link:hover span:last-child {
  transform: translate(3px, -3px);
}

html[dir="rtl"] .about-contact-link:hover span:last-child {
  transform: translate(-3px, -3px);
}

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

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  min-height: 132px;
  padding: 23px 19px;
  border-radius: 20px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(94, 183, 255, 0.28);
  transform: translateY(-5px);
}

.stat-card strong {
  display: block;
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(25px, 3vw, 38px);
  color: transparent;
  background:
    linear-gradient(
      120deg,
      #ffffff,
      var(--primary-light)
    );
  background-clip: text;
  -webkit-background-clip: text;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  font-weight: 700;
  color: #7e8da7;
}

.experience-panel {
  flex: 1;
  padding: 30px;
  border-radius: 26px;
}

.panel-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 23px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.panel-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  place-items: center;
  font-family: "Inter", Arial, sans-serif;
  font-size: 20px;
  color: var(--primary-light);
  border: 1px solid rgba(92, 183, 255, 0.25);
  border-radius: 13px;
  background: rgba(22, 136, 255, 0.1);
}

.panel-heading > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.panel-heading span:not(.panel-icon) {
  font-size: 9px;
  font-weight: 800;
  color: #6daedc;
}

.panel-heading strong {
  font-size: 15px;
}

.experience-timeline {
  position: relative;
  display: grid;
  gap: 26px;
  margin-top: 28px;
}

.experience-timeline::before {
  position: absolute;
  top: 8px;
  bottom: 10px;
  right: 7px;
  width: 1px;
  background:
    linear-gradient(
      to bottom,
      var(--primary-light),
      rgba(108, 196, 255, 0.08)
    );
  content: "";
}

html[dir="ltr"] .experience-timeline::before {
  right: auto;
  left: 7px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 18px;
}

.timeline-point {
  position: relative;
  z-index: 2;
  width: 15px;
  height: 15px;
  margin-top: 6px;
  border: 4px solid #081329;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 16px rgba(108, 196, 255, 0.65);
}

.timeline-date {
  width: fit-content;
  margin-bottom: 7px;
  padding: 5px 9px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 8px;
  font-weight: 800;
  color: #88cbfa;
  border: 1px solid rgba(87, 178, 255, 0.17);
  border-radius: 100px;
  background: rgba(22, 136, 255, 0.06);
}

.timeline-content h4 {
  font-size: 14px;
  line-height: 1.5;
}

.timeline-content p {
  margin-top: 7px;
  font-size: 11px;
  line-height: 1.8;
  color: #8290a9;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.anchor-section {
  min-height: 1px;
}

/* Animations */

@keyframes statusPulse {
  0% {
    opacity: 1;
    transform: scale(0.7);
  }

  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

@keyframes orbitRotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes portraitFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes toolFloat {
  0%,
  100% {
    transform: translateY(0);
  }

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

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }

  40% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
}

/* Responsive */

@media (max-width: 1060px) {
  .main-nav {
    gap: 18px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 410px;
    gap: 40px;
  }

  .tool-premiere {
    right: 0;
  }

  .tool-after-effects {
    left: 0;
  }

  .tool-davinci {
    right: 0;
  }
}

@media (max-width: 900px) {
  .menu-button {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 78px;
    right: 20px;
    left: 20px;
    display: flex;
    max-height: 0;
    align-items: stretch;
    flex-direction: column;
    gap: 5px;
    overflow: hidden;
    padding: 0 20px;
    opacity: 0;
    border: 1px solid transparent;
    border-radius: 20px;
    background: rgba(4, 9, 24, 0.97);
    backdrop-filter: blur(22px);
    transform: translateY(-15px);
    transition:
      max-height 0.35s ease,
      padding 0.35s ease,
      opacity 0.35s ease,
      transform 0.35s ease,
      border-color 0.35s ease;
  }

  .main-nav.open {
    max-height: 430px;
    padding: 20px;
    opacity: 1;
    border-color: var(--border);
    transform: translateY(0);
  }

  .main-nav a {
    padding: 13px;
    border-radius: 11px;
  }

  .main-nav a:hover {
    background: rgba(22, 136, 255, 0.08);
  }

  .main-nav a::after {
    display: none;
  }

  .menu-button.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-button.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding-top: 145px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-visual {
    width: min(100%, 610px);
    margin-inline: auto;
  }

  .scroll-hint {
    display: none;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    padding: 13px 0;
  }

  .brand-copy {
    display: none;
  }

  .brand-mark {
    width: 43px;
    height: 43px;
  }

  .hero {
    padding: 115px 0 60px;
  }

  .availability-pill {
    margin-bottom: 19px;
    font-size: 10px;
  }

  .hero-kicker {
    font-size: 14px;
  }

  .hero h1 {
    font-size: clamp(39px, 12vw, 56px);
    line-height: 1.2;
    letter-spacing: -1.5px;
  }

  html[dir="ltr"] .hero h1 {
    letter-spacing: -2px;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.9;
  }

  .hero-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .meta-line {
    width: 100%;
    height: 1px;
  }

  .hero-visual {
    min-height: 485px;
  }

  .portrait-frame {
    width: min(100%, 340px);
    height: 445px;
  }

  .orbit-large {
    width: 390px;
    height: 390px;
  }

  .orbit-small {
    width: 300px;
    height: 300px;
  }

  .floating-tool {
    display: none;
  }

  .project-card {
    right: 8px;
    bottom: 3px;
    left: 8px;
    min-width: 0;
  }
}

@media (max-width: 390px) {
  .language-switch {
    padding-inline: 9px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .portrait-frame {
    height: 420px;
  }
}

@media (max-width: 900px) {
  .about-section {
    padding: 90px 0;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-story-card {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .about-section {
    padding: 75px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2 {
    font-size: 37px;
  }

  .section-heading > p {
    font-size: 13px;
  }

  .about-story-card,
  .experience-panel {
    padding: 22px;
    border-radius: 21px;
  }

  .about-story-card h3 {
    font-size: 24px;
  }

  .about-story-card > p {
    font-size: 13px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .stat-card {
    display: flex;
    min-height: 90px;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
  }

  .stat-card span {
    margin-top: 0;
    text-align: end;
  }

  .experience-panel {
    padding-inline: 19px;
  }

  .timeline-content h4 {
    font-size: 13px;
  }

  .timeline-content p {
    font-size: 10px;
  }
}



/* Services Section */

.services-section {
  position: relative;
  overflow: hidden;
  padding: 115px 0;
  background:
    linear-gradient(
      to bottom,
      var(--background),
      rgba(6, 18, 42, 0.96) 35%,
      rgba(4, 8, 23, 0.99)
    );
  isolation: isolate;
}

.services-section::before {
  position: absolute;
  inset: 0;
  z-index: -4;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(65, 151, 255, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 151, 255, 0.065) 1px, transparent 1px);
  background-size: 68px 68px;
  content: "";
  mask-image:
    linear-gradient(
      to bottom,
      transparent,
      black 18%,
      black 82%,
      transparent
    );
}

.services-glow {
  position: absolute;
  z-index: -3;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(18px);
}

.services-glow-one {
  top: 60px;
  right: -300px;
  width: 620px;
  height: 620px;
  opacity: 0.13;
  background:
    radial-gradient(
      circle,
      #1688ff,
      rgba(22, 136, 255, 0) 70%
    );
}

.services-glow-two {
  bottom: -280px;
  left: -260px;
  width: 580px;
  height: 580px;
  opacity: 0.1;
  background:
    radial-gradient(
      circle,
      #3d5afe,
      rgba(61, 90, 254, 0) 70%
    );
}

.services-heading {
  max-width: 780px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 25px;
  background:
    linear-gradient(
      145deg,
      rgba(10, 24, 53, 0.88),
      rgba(6, 14, 34, 0.76)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 30px 75px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.service-card::after {
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  opacity: 0;
  background:
    radial-gradient(
      circle,
      rgba(88, 186, 255, 0.34),
      transparent 70%
    );
  content: "";
  transition: opacity 0.35s ease;
}

.service-card:hover {
  border-color: rgba(91, 181, 255, 0.31);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 38px 88px rgba(0, 0, 0, 0.28),
    0 0 45px rgba(22, 136, 255, 0.07);
  transform: translateY(-7px);
}

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

.service-card-featured {
  grid-column: 1 / -1;
  min-height: 430px;
  padding: 32px;
  background:
    linear-gradient(
      125deg,
      rgba(13, 43, 86, 0.9),
      rgba(7, 18, 42, 0.84) 55%,
      rgba(5, 12, 30, 0.92)
    );
}

.service-card-featured::before {
  position: absolute;
  top: -100px;
  right: 18%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  opacity: 0.12;
  background:
    radial-gradient(
      circle,
      var(--primary-light),
      transparent 70%
    );
  content: "";
}

.service-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 29px;
}

.service-number {
  font-family: "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  color: #6f829f;
  letter-spacing: 1.5px;
}

.service-icon {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid rgba(94, 183, 255, 0.28);
  border-radius: 15px;
  background: rgba(22, 136, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.icon-play {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #8ed0ff;
}

html[dir="rtl"] .icon-play {
  margin-right: 3px;
  margin-left: 0;
}

.featured-service-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 48px;
}

.service-copy {
  max-width: 570px;
}

.service-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 10px;
  font-size: 9px;
  font-weight: 800;
  color: #8ed0ff;
  border: 1px solid rgba(91, 181, 255, 0.2);
  border-radius: 100px;
  background: rgba(22, 136, 255, 0.07);
}

.service-card h3 {
  position: relative;
  z-index: 2;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.7px;
}

.service-card-featured h3 {
  font-size: clamp(30px, 3.4vw, 47px);
}

.service-card p {
  position: relative;
  z-index: 2;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-muted);
}

.service-card-featured p {
  max-width: 610px;
  font-size: 14px;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.service-features span {
  padding: 8px 11px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
  color: #aac9e6;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}

.editing-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(99, 187, 255, 0.21);
  border-radius: 20px;
  background: rgba(3, 9, 23, 0.75);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: rotate(-1.3deg);
  transition: transform 0.35s ease;
}

html[dir="ltr"] .editing-visual {
  transform: rotate(1.3deg);
}

.service-card-featured:hover .editing-visual {
  transform: rotate(0deg) translateY(-3px);
}

.editing-preview {
  position: relative;
  display: grid;
  min-height: 225px;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(
      circle at 28% 30%,
      rgba(53, 159, 255, 0.42),
      transparent 29%
    ),
    radial-gradient(
      circle at 75% 72%,
      rgba(61, 90, 254, 0.36),
      transparent 30%
    ),
    linear-gradient(145deg, #07142e, #061025 58%, #071b3b);
}

.editing-preview::before {
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(123, 196, 255, 0.13);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 32px rgba(98, 178, 255, 0.025),
    0 0 0 64px rgba(98, 178, 255, 0.018);
}

.preview-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  padding: 5px 8px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 7px;
  font-weight: 800;
  color: #8fd1ff;
  border: 1px solid rgba(101, 192, 255, 0.25);
  border-radius: 7px;
  background: rgba(4, 11, 28, 0.48);
}

.preview-title {
  position: relative;
  z-index: 2;
  text-align: center;
}

.preview-title small {
  display: block;
  margin-bottom: 8px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 7px;
  font-weight: 800;
  color: #8bcfff;
  letter-spacing: 3px;
}

.preview-title strong {
  display: block;
  font-family: "Inter", Arial, sans-serif;
  font-size: 29px;
  line-height: 1.03;
  letter-spacing: -1px;
}

.preview-play {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(4, 10, 25, 0.52);
}

.preview-play::before {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid white;
  content: "";
}

.mini-timeline {
  position: relative;
  padding: 13px 14px 17px;
  background: #060d1f;
}

.timeline-ruler {
  display: flex;
  justify-content: space-around;
  margin-left: 26px;
  padding-bottom: 8px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 6px;
  color: #4d5c77;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.mini-track {
  display: flex;
  height: 23px;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
}

.mini-track > span {
  width: 23px;
  flex-shrink: 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: 6px;
  color: #56647c;
}

.track-clip {
  display: block;
  height: 18px;
  border: 1px solid rgba(103, 190, 255, 0.2);
  border-radius: 4px;
  background:
    linear-gradient(
      90deg,
      rgba(22, 136, 255, 0.56),
      rgba(61, 90, 254, 0.3)
    );
}

.clip-a {
  width: 46%;
}

.clip-b {
  width: 34%;
}

.track-wave {
  display: block;
  width: calc(100% - 28px);
  height: 15px;
  border-radius: 4px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(48, 159, 255, 0.85) 0 2px,
      transparent 2px 7px
    ),
    rgba(22, 136, 255, 0.07);
  mask-image:
    linear-gradient(
      to bottom,
      transparent,
      black 26%,
      black 74%,
      transparent
    );
}

.playhead {
  position: absolute;
  top: 29px;
  bottom: 7px;
  left: 48%;
  width: 1px;
  background: #ff4d75;
  box-shadow: 0 0 8px rgba(255, 77, 117, 0.75);
  animation: servicePlayhead 4.6s ease-in-out infinite alternate;
}

.playhead::before {
  position: absolute;
  top: -3px;
  left: -3px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #ff4d75;
  content: "";
}

.service-icon-motion {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.service-icon-motion i {
  display: block;
  width: 5px;
  border-radius: 5px;
  background: #8fd2ff;
}

.service-icon-motion i:nth-child(1) {
  height: 14px;
}

.service-icon-motion i:nth-child(2) {
  height: 25px;
}

.service-icon-motion i:nth-child(3) {
  height: 19px;
}

.service-icon-color i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    conic-gradient(
      #69c8ff,
      #5c70ff,
      #cb69ff,
      #ff6a8a,
      #ffc65c,
      #64e6ae,
      #69c8ff
    );
  box-shadow: 0 0 18px rgba(93, 180, 255, 0.25);
}

.service-icon-content i {
  position: relative;
  width: 21px;
  height: 17px;
  border: 2px solid #8fd2ff;
  border-radius: 4px;
}

.service-icon-content i::before {
  position: absolute;
  top: -6px;
  left: 4px;
  width: 9px;
  height: 4px;
  border: 2px solid #8fd2ff;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  content: "";
}

.service-mini-art {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 2;
  height: 125px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 17px;
  background:
    linear-gradient(
      145deg,
      rgba(19, 45, 86, 0.56),
      rgba(5, 12, 29, 0.68)
    );
}

.motion-art {
  display: grid;
  place-items: center;
}

.motion-art::before {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(77, 162, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 162, 255, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  content: "";
}

.motion-art strong {
  position: relative;
  z-index: 2;
  font-family: "Inter", Arial, sans-serif;
  font-size: 27px;
  letter-spacing: -1px;
}

.motion-circle,
.motion-square,
.motion-line {
  position: absolute;
  display: block;
}

.motion-circle {
  top: 22px;
  right: 33px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(111, 197, 255, 0.32);
  border-radius: 50%;
  animation: motionShapeOne 4s ease-in-out infinite;
}

.motion-square {
  bottom: 21px;
  left: 36px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(91, 112, 255, 0.38);
  transform: rotate(18deg);
  animation: motionShapeTwo 4.8s ease-in-out infinite;
}

.motion-line {
  top: 50%;
  left: 15%;
  width: 70%;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(96, 188, 255, 0.35),
      transparent
    );
  transform: rotate(-13deg);
}

.color-art {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 18px 26px;
}

.color-wheel {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(
      #67c6ff,
      #5d6dff,
      #c263ff,
      #ff668e,
      #ffc45a,
      #61e3aa,
      #67c6ff
    );
  box-shadow: 0 0 28px rgba(91, 175, 255, 0.2);
  animation: colorWheelRotate 11s linear infinite;
}

.color-wheel span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0a1832;
  box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.04);
}

.color-sliders {
  display: grid;
  width: 100px;
  gap: 14px;
}

.color-sliders i {
  position: relative;
  display: block;
  height: 3px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
}

.color-sliders i::after {
  position: absolute;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #7ecbff;
  box-shadow: 0 0 12px rgba(80, 178, 255, 0.6);
  content: "";
  transform: translateY(-50%);
}

.color-sliders i:nth-child(1)::after {
  left: 22%;
}

.color-sliders i:nth-child(2)::after {
  left: 62%;
}

.color-sliders i:nth-child(3)::after {
  left: 43%;
}

.content-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 20px;
}

.content-window {
  display: grid;
  width: 118px;
  height: 78px;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 17px 1fr;
  gap: 5px;
  padding: 8px;
  border: 1px solid rgba(99, 188, 255, 0.22);
  border-radius: 11px;
  background: rgba(5, 14, 33, 0.75);
}

.content-window span {
  display: block;
  border-radius: 4px;
  background: rgba(64, 159, 255, 0.18);
}

.content-window span:nth-child(1) {
  grid-column: 1 / -1;
}

.content-window span:nth-child(2) {
  background:
    linear-gradient(
      145deg,
      rgba(61, 163, 255, 0.42),
      rgba(61, 90, 254, 0.18)
    );
}

.content-export {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
}

.content-export i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
  font-style: normal;
  border: 1px solid rgba(93, 182, 255, 0.27);
  border-radius: 13px;
  background: rgba(22, 136, 255, 0.11);
}

.content-export small {
  font-family: "Inter", Arial, sans-serif;
  font-size: 7px;
  font-weight: 800;
  color: #7487a4;
  letter-spacing: 1.2px;
}

.services-process {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 22px;
  padding: 23px 26px;
  border: 1px solid var(--border);
  border-radius: 21px;
  background: rgba(7, 17, 39, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
}

.process-intro {
  display: flex;
  min-width: 230px;
  flex-direction: column;
  gap: 3px;
}

.process-intro span {
  font-size: 9px;
  font-weight: 800;
  color: #77c6ff;
}

.process-intro strong {
  font-size: 12px;
}

.process-steps {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 15px;
}

.process-step {
  display: flex;
  min-width: 80px;
  align-items: center;
  gap: 8px;
}

.process-step b {
  display: grid;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  place-items: center;
  font-family: "Inter", Arial, sans-serif;
  font-size: 8px;
  color: #8ed0ff;
  border: 1px solid rgba(91, 181, 255, 0.24);
  border-radius: 9px;
  background: rgba(22, 136, 255, 0.08);
}

.process-step span {
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.process-arrow {
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  color: #3a506f;
}

html[dir="ltr"] .process-arrow {
  transform: rotate(180deg);
}

@keyframes servicePlayhead {
  from {
    left: 27%;
  }

  to {
    left: 77%;
  }
}

@keyframes motionShapeOne {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-18px, 12px);
  }
}

@keyframes motionShapeTwo {
  0%,
  100% {
    transform: rotate(18deg) translate(0, 0);
  }

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

@keyframes colorWheelRotate {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card-featured {
    grid-column: 1 / -1;
  }

  .featured-service-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-card:last-child {
    grid-column: 1 / -1;
    min-height: 350px;
  }

  .services-process {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-steps {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 700px) {
  .services-section {
    padding: 80px 0;
  }

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

  .service-card,
  .service-card-featured,
  .service-card:last-child {
    grid-column: auto;
    min-height: 390px;
    padding: 22px;
    border-radius: 21px;
  }

  .service-card-featured {
    min-height: auto;
  }

  .service-card h3 {
    font-size: 25px;
  }

  .service-card-featured h3 {
    font-size: 34px;
  }

  .editing-preview {
    min-height: 190px;
  }

  .service-mini-art {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .services-process {
    padding: 20px;
  }

  .process-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .process-step {
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
  }

  .process-arrow {
    display: none;
  }
}

@media (max-width: 430px) {
  .service-card,
  .service-card-featured,
  .service-card:last-child {
    min-height: 375px;
  }

  .service-card-featured {
    min-height: auto;
  }

  .service-features {
    align-items: stretch;
    flex-direction: column;
  }

  .service-features span {
    text-align: center;
  }

  .editing-preview {
    min-height: 170px;
  }

  .preview-title strong {
    font-size: 24px;
  }

  .color-art {
    padding-inline: 17px;
  }

  .color-wheel {
    width: 68px;
    height: 68px;
  }

  .color-wheel span {
    width: 43px;
    height: 43px;
  }

  .content-art {
    gap: 14px;
    padding-inline: 12px;
  }

  .content-window {
    width: 105px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Portfolio Section */

.portfolio-section {
  position: relative;
  overflow: hidden;
  padding: 125px 0 140px;
  background:
    linear-gradient(
      to bottom,
      var(--background),
      rgba(7, 20, 45, 0.82) 18%,
      rgba(4, 8, 23, 0.98) 100%
    );
  isolation: isolate;
}

.portfolio-section::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(65, 151, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 151, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image:
    linear-gradient(
      to bottom,
      transparent,
      black 20%,
      black 82%,
      transparent
    );
}

.portfolio-glow {
  position: absolute;
  z-index: -2;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(12px);
}

.portfolio-glow-one {
  top: 50px;
  right: -300px;
  opacity: 0.17;
  background:
    radial-gradient(
      circle,
      rgba(43, 145, 255, 0.96),
      rgba(22, 136, 255, 0) 70%
    );
}

.portfolio-glow-two {
  bottom: -270px;
  left: -270px;
  opacity: 0.12;
  background:
    radial-gradient(
      circle,
      rgba(81, 95, 255, 0.95),
      rgba(61, 90, 254, 0) 70%
    );
}

.portfolio-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 46px;
}

.portfolio-heading-copy {
  margin-bottom: 0;
}

.portfolio-heading-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  margin-bottom: 10px;
  padding: 11px 14px;
  font-size: 10px;
  font-weight: 700;
  color: #a9d9ff;
  border: 1px solid rgba(94, 183, 255, 0.2);
  border-radius: 13px;
  background: rgba(8, 25, 54, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.portfolio-heading-note-icon {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  font-family: "Inter", Arial, sans-serif;
  font-size: 8px;
  color: #ffffff;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      var(--primary-light),
      var(--primary-dark)
    );
  box-shadow: 0 6px 14px rgba(22, 136, 255, 0.22);
}

.portfolio-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portfolio-filter {
  padding: 9px 13px;
  font-size: 10px;
  font-weight: 700;
  color: #7f90ab;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.025);
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.portfolio-filter:hover {
  color: #d9efff;
  border-color: rgba(95, 183, 255, 0.28);
  background: rgba(22, 136, 255, 0.08);
  transform: translateY(-1px);
}

.portfolio-filter.active {
  color: #ffffff;
  border-color: rgba(96, 189, 255, 0.4);
  background:
    linear-gradient(
      135deg,
      rgba(37, 148, 255, 0.34),
      rgba(17, 97, 205, 0.21)
    );
  box-shadow: 0 8px 22px rgba(22, 136, 255, 0.17);
}

.portfolio-count {
  flex-shrink: 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #778ba9;
  letter-spacing: 0.2px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 21px;
  background: rgba(7, 17, 40, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 22px 54px rgba(0, 0, 0, 0.18);
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease,
    opacity 0.28s ease;
}

.portfolio-card:hover {
  border-color: rgba(96, 189, 255, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 32px 72px rgba(0, 0, 0, 0.28),
    0 0 34px rgba(22, 136, 255, 0.07);
  transform: translateY(-7px);
}

.portfolio-card.is-hidden,
.portfolio-card[hidden] {
  display: none !important;
}

.portfolio-card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.portfolio-media {
  position: relative;
  min-height: 236px;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 24%, rgba(83, 178, 255, 0.33), transparent 27%),
    radial-gradient(circle at 78% 78%, rgba(63, 92, 255, 0.29), transparent 31%),
    linear-gradient(145deg, #0a1a3a, #071126 60%, #0b1a3a);
}

.portfolio-media::before,
.portfolio-media::after {
  position: absolute;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.portfolio-media::before {
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(3, 9, 24, 0.9),
      rgba(3, 9, 24, 0.08) 58%,
      rgba(3, 9, 24, 0.22)
    );
}

.portfolio-media::after {
  top: -34px;
  right: -32px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(139, 213, 255, 0.24);
  border-radius: 50%;
  box-shadow:
    0 0 0 20px rgba(97, 184, 255, 0.035),
    0 0 0 42px rgba(97, 184, 255, 0.018);
}

.portfolio-media img {
  width: 100%;
  height: 100%;
  min-height: 236px;
  object-fit: cover;
  transition:
    transform 0.5s ease,
    opacity 0.25s ease;
}

.portfolio-media img.is-broken {
  opacity: 0;
}

.portfolio-card:hover .portfolio-media img {
  transform: scale(1.065);
}

.portfolio-index,
.portfolio-type,
.portfolio-play {
  position: absolute;
  z-index: 2;
}

.portfolio-index {
  top: 15px;
  left: 15px;
  padding: 5px 8px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 8px;
  font-weight: 800;
  color: #afdcff;
  border: 1px solid rgba(148, 215, 255, 0.22);
  border-radius: 7px;
  background: rgba(4, 13, 31, 0.55);
  backdrop-filter: blur(8px);
}

html[dir="rtl"] .portfolio-index {
  right: 15px;
  left: auto;
}

.portfolio-type {
  right: 15px;
  bottom: 15px;
  max-width: calc(100% - 82px);
  padding: 7px 9px;
  overflow: hidden;
  font-size: 8px;
  font-weight: 700;
  color: #e4f4ff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(4, 12, 29, 0.58);
  backdrop-filter: blur(8px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[dir="rtl"] .portfolio-type {
  right: auto;
  left: 15px;
}

.portfolio-play {
  bottom: 14px;
  left: 15px;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  padding-left: 2px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      rgba(97, 199, 255, 0.92),
      rgba(10, 86, 188, 0.95)
    );
  box-shadow: 0 9px 24px rgba(13, 129, 255, 0.34);
  transform: scale(1);
  transition: transform 0.3s ease;
}

html[dir="rtl"] .portfolio-play {
  right: 15px;
  left: auto;
  padding-right: 2px;
  padding-left: 0;
}

.portfolio-card:hover .portfolio-play {
  transform: scale(1.11);
}

.portfolio-content {
  display: flex;
  min-height: 176px;
  flex: 1;
  flex-direction: column;
  padding: 19px 19px 18px;
}

.portfolio-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.portfolio-title-row h3 {
  font-family: "Inter", "Cairo", Arial, sans-serif;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.38;
  color: #f5fbff;
}

html[dir="rtl"] .portfolio-title-row h3 {
  font-family: "Cairo", Arial, sans-serif;
}

.portfolio-arrow {
  display: grid;
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  place-items: center;
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  color: #8bd0ff;
  border: 1px solid rgba(94, 183, 255, 0.17);
  border-radius: 8px;
  background: rgba(22, 136, 255, 0.07);
  transition:
    color 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease;
}

.portfolio-card:hover .portfolio-arrow {
  color: #ffffff;
  background: rgba(22, 136, 255, 0.26);
  transform: translate(-2px, -2px);
}

html[dir="rtl"] .portfolio-card:hover .portfolio-arrow {
  transform: translate(2px, -2px);
}

.portfolio-content p {
  display: -webkit-box;
  margin-top: 11px;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.8;
  color: #92a2bb;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.portfolio-view {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 9px;
  font-weight: 800;
  color: #86cfff;
}

.portfolio-view i {
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}

.portfolio-card:hover .portfolio-view i {
  width: 27px;
}

@media (max-width: 1000px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .portfolio-section {
    padding: 85px 0 95px;
  }

  .portfolio-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 34px;
  }

  .portfolio-heading-note {
    margin-bottom: 0;
  }

  .portfolio-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 21px;
    padding-bottom: 18px;
  }

  .portfolio-count {
    padding-inline: 3px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .portfolio-media,
  .portfolio-media img {
    min-height: 220px;
  }

  .portfolio-content {
    min-height: 158px;
  }
}

@media (max-width: 420px) {
  .portfolio-filters {
    gap: 6px;
  }

  .portfolio-filter {
    padding: 8px 10px;
    font-size: 9px;
  }

  .portfolio-media,
  .portfolio-media img {
    min-height: 205px;
  }
}

.portfolio-media-title {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  max-width: 80%;
  font-family: "Inter", "Cairo", Arial, sans-serif;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  color: rgba(209, 238, 255, 0.62);
  text-align: center;
  transform: translate(-50%, -50%);
}

html[dir="rtl"] .portfolio-media-title {
  font-family: "Cairo", Arial, sans-serif;
}

/* Embedded Google Drive Video Player */

button.portfolio-card-link {
  width: 100%;
  cursor: pointer;
  text-align: inherit;
  background: transparent;
}

.portfolio-card-link:focus-visible,
.video-modal-close:focus-visible,
.video-modal-drive-link:focus-visible {
  outline: 3px solid rgba(121, 206, 255, 0.85);
  outline-offset: 4px;
}

body.video-modal-open {
  overflow: hidden;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    visibility 0s linear 0.24s,
    opacity 0.24s ease;
}

.video-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: rgba(1, 5, 18, 0.85);
  backdrop-filter: blur(13px);
}

.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 610px);
  overflow: hidden;
  border: 1px solid rgba(142, 212, 255, 0.24);
  border-radius: 22px;
  background: #08142c;
  box-shadow:
    0 24px 90px rgba(0, 0, 0, 0.58),
    0 0 70px rgba(23, 141, 255, 0.12);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.24s ease;
}

.video-modal.is-open .video-modal-dialog {
  transform: translateY(0) scale(1);
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at 0 0, rgba(46, 146, 255, 0.16), transparent 48%),
    rgba(6, 17, 40, 0.94);
}

.video-modal-copy {
  min-width: 0;
}

.video-modal-label {
  display: block;
  margin-bottom: 3px;
  font-size: 9px;
  font-weight: 800;
  color: #78c6ff;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.video-modal-copy h2 {
  overflow: hidden;
  font-family: "Inter", "Cairo", Arial, sans-serif;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.35;
  color: #f6fbff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[dir="rtl"] .video-modal-copy h2 {
  font-family: "Cairo", Arial, sans-serif;
}

.video-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.video-modal-drive-link,
.video-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 35px;
  font-size: 9px;
  font-weight: 800;
  color: #dff3ff;
  border: 1px solid rgba(129, 205, 255, 0.22);
  border-radius: 9px;
  background: rgba(43, 144, 255, 0.1);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.video-modal-drive-link {
  padding: 0 11px;
}

.video-modal-close {
  width: 35px;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

.video-modal-drive-link:hover,
.video-modal-close:hover {
  border-color: rgba(166, 223, 255, 0.6);
  background: rgba(43, 144, 255, 0.23);
  transform: translateY(-1px);
}

.video-modal-player {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 9 / 16;
  max-height: calc(100vh - 172px);
  margin: 0 auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(52, 143, 255, 0.17), transparent 42%),
    #030914;
}

.video-modal-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #030914;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 620px) {
  .video-modal {
    padding: 12px;
  }

  .video-modal-dialog {
    width: 100%;
    border-radius: 17px;
  }

  .video-modal-header {
    gap: 10px;
    padding: 13px;
  }

  .video-modal-drive-link {
    width: 35px;
    padding: 0;
  }

  .video-modal-drive-link span:first-child {
    display: none;
  }

  .video-modal-player {
    width: min(100%, 430px);
    max-height: calc(100vh - 128px);
  }
}



/* Header Logo + Client Feedback */
.brand-mark {
  width: 62px;
  height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(22, 136, 255, 0.24));
}

.feedback-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 126px 0 138px;
  background:
    linear-gradient(
      to bottom,
      rgba(4, 8, 23, 0.98),
      rgba(7, 19, 44, 0.94) 45%,
      var(--background)
    );
}

.feedback-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(85, 173, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 173, 255, 0.075) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}

.feedback-glow {
  position: absolute;
  z-index: -2;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(16px);
}

.feedback-glow-one {
  top: -255px;
  left: -205px;
  opacity: 0.13;
  background: radial-gradient(circle, rgba(72, 166, 255, 0.98), rgba(22, 136, 255, 0) 68%);
}

.feedback-glow-two {
  right: -260px;
  bottom: -290px;
  opacity: 0.14;
  background: radial-gradient(circle, rgba(101, 104, 255, 0.94), rgba(70, 61, 255, 0) 67%);
}

.feedback-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.feedback-heading-copy {
  margin-bottom: 0;
}

.feedback-heading-mark {
  position: relative;
  display: grid;
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  place-items: center;
  overflow: hidden;
  color: #bde5ff;
  border: 1px solid rgba(108, 197, 255, 0.25);
  border-radius: 28px;
  background:
    radial-gradient(circle at 35% 30%, rgba(107, 200, 255, 0.23), transparent 42%),
    rgba(11, 32, 67, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 38px rgba(0, 0, 0, 0.18);
}

.feedback-heading-mark span {
  z-index: 1;
  margin-top: 21px;
  font-family: Georgia, serif;
  font-size: 78px;
  line-height: 0.7;
}

.feedback-heading-mark i {
  position: absolute;
  right: -14px;
  bottom: -15px;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(130, 210, 255, 0.35);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(86, 182, 255, 0.035), 0 0 0 22px rgba(86, 182, 255, 0.02);
}

.feedback-stage {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(100%, 760px);
  min-height: 132px;
  margin-inline: auto;
  padding: 24px 26px;
  border: 1px dashed rgba(124, 205, 255, 0.3);
  border-radius: 22px;
  background: rgba(8, 24, 54, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.feedback-stage-icon {
  display: grid;
  width: 47px;
  height: 47px;
  flex-shrink: 0;
  place-items: center;
  font-family: "Inter", Arial, sans-serif;
  font-size: 20px;
  color: #e2f6ff;
  border: 1px solid rgba(128, 210, 255, 0.27);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(87, 188, 255, 0.3), rgba(18, 88, 191, 0.16));
  box-shadow: 0 9px 22px rgba(22, 136, 255, 0.13);
}

.feedback-stage strong {
  display: block;
  font-size: 15px;
  line-height: 1.5;
  color: #eff9ff;
}

.feedback-stage p {
  max-width: 570px;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.85;
  color: #8fa1bd;
}

.feedback-grid-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feedback-card {
  display: flex;
  min-width: 0;
  min-height: 306px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: rgba(7, 18, 42, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 22px 52px rgba(0, 0, 0, 0.17);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feedback-card:hover {
  border-color: rgba(104, 195, 255, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.065), 0 29px 60px rgba(0, 0, 0, 0.24), 0 0 34px rgba(22, 136, 255, 0.075);
  transform: translateY(-6px);
}

.feedback-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  min-height: 39px;
  margin-bottom: 17px;
}

.feedback-card-quote {
  margin-bottom: 0;
  font-family: Georgia, serif;
  font-size: 51px;
  line-height: 0.7;
  color: #77c8ff;
}

.feedback-demo-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
  color: #9ad5ff;
  border: 1px solid rgba(119, 200, 255, 0.22);
  border-radius: 999px;
  background: rgba(22, 136, 255, 0.09);
  white-space: nowrap;
}

.feedback-card-text {
  font-size: 13px;
  font-weight: 600;
  line-height: 2;
  color: #dbeeff;
}

.feedback-card-footer {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.feedback-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  place-items: center;
  overflow: hidden;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: #e7f6ff;
  border: 1px solid rgba(121, 205, 255, 0.25);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(83, 179, 255, 0.34), rgba(20, 91, 194, 0.16));
}

.feedback-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feedback-card-client {
  min-width: 0;
}

.feedback-card-client strong,
.feedback-card-client span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feedback-card-client strong {
  font-size: 11px;
  color: #f1f9ff;
}

.feedback-card-client span {
  margin-top: 2px;
  font-size: 9px;
  color: #78c7ff;
}

@media (max-width: 1000px) {
  .feedback-grid-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .brand-mark {
    width: 57px;
    height: 44px;
  }

  .feedback-section {
    padding: 86px 0 96px;
  }

  .feedback-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
  }

  .feedback-heading-mark {
    width: 72px;
    height: 72px;
    border-radius: 23px;
  }

  .feedback-heading-mark span {
    font-size: 64px;
  }

  .feedback-stage {
    align-items: flex-start;
    padding: 20px;
  }

  .feedback-grid-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

@media (max-width: 430px) {
  .brand-mark {
    width: 53px;
    height: 41px;
  }

  .feedback-stage {
    gap: 13px;
    padding: 18px;
  }

  .feedback-stage-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }
}


/* Contact + footer */
.contact-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 126px 0 108px;
  background:
    radial-gradient(circle at 8% 42%, rgba(21, 114, 231, 0.15), transparent 31%),
    linear-gradient(160deg, #030919 0%, #07142d 50%, #040817 100%);
}

.contact-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(102, 192, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 192, 255, 0.075) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 90%, transparent);
}

.contact-glow {
  position: absolute;
  z-index: -2;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.contact-glow-one {
  top: -240px;
  right: -210px;
  background: radial-gradient(circle, rgba(52, 160, 255, 0.30), rgba(22, 136, 255, 0) 69%);
}

.contact-glow-two {
  bottom: -335px;
  left: -240px;
  background: radial-gradient(circle, rgba(92, 92, 255, 0.20), rgba(67, 76, 255, 0) 68%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 425px);
  align-items: center;
  gap: clamp(44px, 7vw, 100px);
}

.contact-copy .section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.85px;
  color: #86cfff;
  text-transform: uppercase;
}

.contact-copy .section-label::before {
  width: 29px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary-light), transparent);
  content: "";
}

html[dir="ltr"] .contact-copy .section-label::before {
  background: linear-gradient(90deg, transparent, var(--primary-light));
}

.contact-copy h2 {
  max-width: 650px;
  font-size: clamp(34px, 4.3vw, 61px);
  line-height: 1.2;
  letter-spacing: -1.65px;
}

html[dir="ltr"] .contact-copy h2 {
  max-width: 590px;
  letter-spacing: -2.4px;
}

.contact-copy h2 span,
.contact-copy h2 strong {
  display: block;
}

.contact-copy h2 strong {
  margin-top: 5px;
  color: transparent;
  background: linear-gradient(100deg, #ffffff 5%, #93d7ff 58%, #1688ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.contact-copy > p {
  max-width: 625px;
  margin-top: 22px;
  font-size: 15px;
  line-height: 2;
  color: var(--text-muted);
}

html[dir="ltr"] .contact-copy > p {
  line-height: 1.8;
}

.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 33px;
}

.contact-whatsapp-button {
  min-width: 226px;
}

.contact-button-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 25px;
  font-size: 11px;
  font-weight: 600;
  color: #8ea0be;
}

.contact-note-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #72d6a7;
  box-shadow: 0 0 0 6px rgba(114, 214, 167, 0.09), 0 0 18px rgba(114, 214, 167, 0.58);
}

.contact-panel {
  position: relative;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(118, 205, 255, 0.25);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(46, 152, 255, 0.17), transparent 34%),
    linear-gradient(145deg, rgba(10, 29, 62, 0.94), rgba(5, 16, 37, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 34px 80px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(22, 136, 255, 0.025);
  backdrop-filter: blur(22px);
}

.contact-panel::before {
  position: absolute;
  top: 0;
  right: 42px;
  width: 86px;
  height: 2px;
  opacity: 0.75;
  background: linear-gradient(90deg, transparent, #9be1ff, transparent);
  content: "";
}

.contact-panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.contact-panel-label {
  display: block;
  margin-bottom: 8px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #7dcbff;
  text-transform: uppercase;
}

.contact-panel h3 {
  max-width: 245px;
  font-size: 17px;
  line-height: 1.55;
  color: #f2f9ff;
}

.contact-panel-signal {
  display: flex;
  height: 34px;
  align-items: center;
  gap: 4px;
  padding: 0 9px;
  border: 1px solid rgba(117, 205, 255, 0.18);
  border-radius: 12px;
  background: rgba(8, 24, 54, 0.54);
}

.contact-panel-signal i {
  display: block;
  width: 3px;
  border-radius: 10px;
  background: #7ecfff;
  box-shadow: 0 0 7px rgba(126, 207, 255, 0.55);
}

.contact-panel-signal i:nth-child(1) { height: 8px; opacity: 0.45; }
.contact-panel-signal i:nth-child(2) { height: 13px; opacity: 0.72; }
.contact-panel-signal i:nth-child(3) { height: 18px; }

.contact-channel {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 77px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.026);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease;
}

.contact-channel + .contact-channel {
  margin-top: 10px;
}

.contact-channel:hover {
  border-color: rgba(110, 201, 255, 0.34);
  background: rgba(22, 136, 255, 0.09);
  box-shadow: 0 12px 27px rgba(0, 0, 0, 0.14);
  transform: translateY(-3px);
}

.contact-channel-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: #b9e6ff;
  border: 1px solid rgba(118, 207, 255, 0.25);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(90, 185, 255, 0.22), rgba(18, 88, 191, 0.08));
}

.contact-channel-whatsapp .contact-channel-icon {
  color: #b9f8d7;
  border-color: rgba(114, 214, 167, 0.26);
  background: linear-gradient(145deg, rgba(86, 206, 141, 0.20), rgba(14, 103, 62, 0.08));
}

.contact-channel-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-channel-icon svg path:not([fill]) {
  fill: currentColor;
  stroke: none;
}

.contact-channel-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}

.contact-channel-copy small {
  font-family: "Inter", Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: #7cbef0;
  letter-spacing: 0.2px;
}

.contact-channel-copy strong {
  overflow: hidden;
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #ecf8ff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-channel-arrow {
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
  color: #7ecbff;
  transition: transform 0.28s ease;
}

.contact-channel:hover .contact-channel-arrow {
  transform: translate(3px, -3px);
}

html[dir="rtl"] .contact-channel:hover .contact-channel-arrow {
  transform: translate(-3px, -3px);
}

.contact-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-panel-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  color: #bbddf6;
}

.contact-panel-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #71d6a6;
  box-shadow: 0 0 12px rgba(113, 214, 166, 0.75);
}

.contact-panel-time {
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 700;
  color: #85c9fa;
  border: 1px solid rgba(91, 185, 255, 0.17);
  border-radius: 100px;
  background: rgba(22, 136, 255, 0.07);
}

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #030714;
}

.site-footer::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1100px, 90%);
  height: 1px;
  opacity: 0.76;
  background: linear-gradient(90deg, transparent, rgba(92, 189, 255, 0.65), transparent);
  content: "";
  transform: translateX(-50%);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 38px 0 30px;
}

.footer-brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 11px;
}

.footer-brand img {
  width: 54px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 6px 13px rgba(22, 136, 255, 0.2));
}

.footer-brand > span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.footer-brand strong {
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #f5fbff;
}

.footer-brand small {
  margin-top: 4px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #72bff5;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.footer-links a {
  font-size: 11px;
  font-weight: 700;
  color: #8796b1;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.footer-socials a {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  color: #a7d8f6;
  border: 1px solid rgba(127, 205, 255, 0.16);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  transition:
    transform 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.footer-socials a:hover {
  color: #ffffff;
  border-color: rgba(112, 200, 255, 0.45);
  background: rgba(22, 136, 255, 0.10);
  transform: translateY(-3px);
}

.footer-socials svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-socials svg path:not([fill]) {
  fill: currentColor;
  stroke: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 59px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: "Inter", Arial, sans-serif;
  font-size: 9px;
  font-weight: 600;
  color: #687894;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8acffc;
  transition: color 0.25s ease;
}

.back-to-top:hover {
  color: #ffffff;
}

.back-to-top i {
  font-style: normal;
  font-size: 15px;
  transition: transform 0.25s ease;
}

.back-to-top:hover i {
  transform: translateY(-3px);
}

@media (max-width: 900px) {
  .contact-section {
    padding: 94px 0 82px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .contact-copy {
    max-width: 690px;
  }

  .contact-panel {
    width: min(100%, 540px);
  }

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

  .footer-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    padding-top: 4px;
  }
}

@media (max-width: 620px) {
  .contact-section {
    padding: 78px 0 68px;
  }

  .contact-copy h2 {
    font-size: clamp(31px, 10vw, 45px);
    letter-spacing: -1.1px;
  }

  .contact-copy > p {
    font-size: 13px;
    line-height: 1.95;
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-actions .button {
    width: 100%;
  }

  .contact-panel {
    padding: 20px;
    border-radius: 23px;
  }

  .contact-channel {
    min-height: 71px;
  }

  .contact-channel-icon {
    width: 39px;
    height: 39px;
    border-radius: 12px;
  }

  .contact-channel-copy strong {
    font-size: 10px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 23px;
    padding: 28px 0 23px;
  }

  .footer-links {
    grid-column: auto;
    grid-row: auto;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 11px 17px;
    padding-top: 0;
  }

  .footer-socials {
    justify-content: flex-start;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding: 16px 0 18px;
  }
}

/* Dynamic contact methods managed from admin */
.additional-contact-channels {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.additional-contact-channels[hidden] {
  display: none;
}

.additional-contact-channels .contact-channel + .contact-channel {
  margin-top: 0;
}

.footer-extra-socials {
  display: contents;
}

.footer-extra-socials[hidden] {
  display: none;
}


/* Visitor color switcher */
:root {
  --theme-rgb: 22 136 255;
  --theme-light-rgb: 108 196 255;
  --theme-dark-rgb: 7 92 198;
}

.theme-switcher {
  position: relative;
  z-index: 1010;
}

.theme-toggle {
  display: inline-flex;
  min-height: 37px;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  color: #ffffff;
  cursor: pointer;
  border: 1px solid rgb(var(--theme-light-rgb) / 0.24);
  border-radius: 13px;
  background: rgb(var(--theme-rgb) / 0.075);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.theme-toggle:hover,
.theme-toggle[aria-expanded="true"] {
  border-color: rgb(var(--theme-light-rgb) / 0.52);
  background: rgb(var(--theme-rgb) / 0.14);
  transform: translateY(-1px);
}

.theme-toggle-dot {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  border: 2px solid rgb(255 255 255 / 0.85);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary-light), var(--primary-dark));
  box-shadow: 0 0 0 3px rgb(var(--theme-rgb) / 0.15), 0 0 13px rgb(var(--theme-rgb) / 0.45);
}

.theme-toggle-label {
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.theme-palette {
  position: absolute;
  top: calc(100% + 13px);
  inset-inline-end: 0;
  width: 285px;
  padding: 15px;
  overflow: hidden;
  border: 1px solid rgb(var(--theme-light-rgb) / 0.24);
  border-radius: 19px;
  background: linear-gradient(145deg, rgb(var(--theme-rgb) / 0.12), rgb(4 10 25 / 0.96) 43%);
  box-shadow: 0 24px 56px rgb(0 0 0 / 0.38), inset 0 1px 0 rgb(255 255 255 / 0.08);
  backdrop-filter: blur(18px);
}

.theme-palette[hidden] {
  display: none;
}

.theme-palette::before {
  position: absolute;
  top: -60px;
  inset-inline-end: 20px;
  width: 125px;
  height: 125px;
  border-radius: 50%;
  opacity: 0.28;
  background: radial-gradient(circle, var(--primary), transparent 70%);
  content: "";
  filter: blur(11px);
  pointer-events: none;
}

.theme-palette-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.theme-palette-head > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.theme-palette-head strong {
  font-size: 12px;
  font-weight: 800;
  color: #f4fbff;
}

.theme-palette-head span {
  font-size: 9px;
  line-height: 1.55;
  color: var(--text-muted);
}

.theme-palette-close {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  color: #d9efff;
  cursor: pointer;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 9px;
  background: rgb(255 255 255 / 0.04);
  font-size: 19px;
  line-height: 1;
}

.theme-palette-close:hover {
  color: #ffffff;
  border-color: rgb(var(--theme-light-rgb) / 0.42);
  background: rgb(var(--theme-rgb) / 0.11);
}

.theme-options {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.theme-option {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  color: #c8d9ed;
  cursor: pointer;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.025);
  font-size: 10px;
  font-weight: 800;
  text-align: start;
  transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.theme-option:hover,
.theme-option.active {
  color: #ffffff;
  border-color: rgb(var(--theme-light-rgb) / 0.52);
  background: rgb(var(--theme-rgb) / 0.13);
  transform: translateY(-1px);
}

.theme-option.active::after {
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  margin-inline-start: auto;
  color: #ffffff;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px rgb(var(--theme-rgb) / 0.6);
  content: "✓";
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
}

.theme-option-color {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 1px solid rgb(255 255 255 / 0.48);
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.28), 0 0 0 2px rgb(0 0 0 / 0.14);
}

.theme-sky { background: linear-gradient(145deg, #7ad8ff, #1688ff 52%, #075cc6); }
.theme-pink { background: linear-gradient(145deg, #f9a8d4, #ec4899 52%, #be185d); }
.theme-petrol { background: linear-gradient(145deg, #8af2e7, #14b8a6 52%, #0f766e); }
.theme-purple { background: linear-gradient(145deg, #d8cbff, #8b5cf6 52%, #5b21b6); }
.theme-custom { background: conic-gradient(#ff6b8a, #ffcc66, #78dc91, #58b7ff, #b47aff, #ff6b8a); }

.theme-custom-option {
  position: relative;
}

.theme-custom-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}

.theme-reset {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 11px;
  padding: 9px 10px;
  color: var(--primary-light);
  cursor: pointer;
  border: 1px solid rgb(var(--theme-light-rgb) / 0.2);
  border-radius: 11px;
  background: rgb(var(--theme-rgb) / 0.055);
  font-size: 10px;
  font-weight: 800;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.theme-reset:hover {
  color: #ffffff;
  border-color: rgb(var(--theme-light-rgb) / 0.45);
  background: rgb(var(--theme-rgb) / 0.14);
}

/* Theme-aware visual accents across every section */
.brand-mark img,
.footer-brand img {
  filter: drop-shadow(0 6px 14px rgb(var(--theme-rgb) / 0.28));
}

.brand-copy small,
.hero-kicker,
.section-label,
.portfolio-heading-note,
.contact-copy .section-label,
.back-to-top,
.footer-brand small {
  color: var(--primary-light);
}

.site-header.scrolled {
  background: rgb(4 8 23 / 0.88);
}

.brand-mark {
  border-color: rgb(var(--theme-light-rgb) / 0.55);
  background: linear-gradient(145deg, rgb(var(--theme-rgb) / 0.32), rgb(var(--theme-dark-rgb) / 0.08));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), 0 0 28px rgb(var(--theme-rgb) / 0.12);
}

.hero::after {
  background: linear-gradient(to top, rgb(var(--theme-dark-rgb) / 0.3), transparent);
}

.hero-grid,
.about-section::before,
.services-section::before,
.portfolio-section::before,
.feedback-grid,
.contact-grid-lines {
  background-image:
    linear-gradient(rgb(var(--theme-rgb) / 0.085) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--theme-rgb) / 0.085) 1px, transparent 1px);
}

.glow-one,
.about-glow,
.services-glow-one,
.portfolio-glow-one,
.feedback-glow-one,
.contact-glow-one {
  background: radial-gradient(circle, var(--primary), transparent 70%);
}

.glow-two,
.services-glow-two,
.portfolio-glow-two,
.feedback-glow-two,
.contact-glow-two {
  background: radial-gradient(circle, var(--primary-dark), transparent 70%);
}

.availability-pill,
.section-label,
.portfolio-heading-note,
.contact-panel-time {
  color: var(--primary-light);
  border-color: rgb(var(--theme-light-rgb) / 0.27);
  background: rgb(var(--theme-rgb) / 0.08);
}

.hero h1 strong,
.section-heading h2 strong,
.contact-copy h2 strong {
  background: linear-gradient(100deg, #ffffff 4%, var(--primary-light) 55%, var(--primary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.button-primary,
.portfolio-heading-note-icon {
  box-shadow: 0 17px 38px rgb(var(--theme-rgb) / 0.27), inset 0 1px 0 rgb(255 255 255 / 0.25);
}

.button-primary:hover {
  box-shadow: 0 22px 46px rgb(var(--theme-rgb) / 0.4), inset 0 1px 0 rgb(255 255 255 / 0.25);
}

.button-secondary:hover,
.language-switch:hover,
.footer-socials a:hover {
  border-color: rgb(var(--theme-light-rgb) / 0.5);
  background: rgb(var(--theme-rgb) / 0.1);
}

.download-icon,
.project-card,
.tool-badge,
.portfolio-filter.active,
.portfolio-filter:hover,
.contact-channel:hover,
.footer-socials a:hover {
  background-color: rgb(var(--theme-rgb) / 0.1);
}

.visual-orbit,
.portrait-frame,
.portrait-caption,
.project-card,
.tool-badge,
.about-story-card,
.experience-panel,
.stat-card,
.service-card:hover,
.portfolio-card:hover,
.feedback-card:hover,
.contact-panel,
.contact-channel-icon,
.feedback-heading-mark,
.feedback-stage,
.feedback-stage-icon {
  border-color: rgb(var(--theme-light-rgb) / 0.28);
}

.visual-orbit::before,
.section-label::before,
.service-card:hover::after,
.portfolio-card:hover .portfolio-play,
.feedback-card-quote,
.contact-panel-signal i,
.contact-panel::before {
  background-color: var(--primary-light);
  box-shadow: 0 0 18px rgb(var(--theme-rgb) / 0.55);
}

.portrait-frame,
.service-card-featured,
.contact-panel {
  background:
    radial-gradient(circle at 100% 0%, rgb(var(--theme-rgb) / 0.18), transparent 36%),
    linear-gradient(145deg, rgb(var(--theme-dark-rgb) / 0.42), rgb(5 14 33 / 0.9));
}

.service-card::after,
.about-story-card::after {
  background: radial-gradient(circle, rgb(var(--theme-rgb) / 0.38), transparent 70%);
}

.portfolio-filter.active {
  border-color: rgb(var(--theme-light-rgb) / 0.48);
  background: linear-gradient(135deg, rgb(var(--theme-rgb) / 0.35), rgb(var(--theme-dark-rgb) / 0.23));
  box-shadow: 0 8px 22px rgb(var(--theme-rgb) / 0.2);
}

.portfolio-media {
  background:
    radial-gradient(circle at 24% 24%, rgb(var(--theme-rgb) / 0.34), transparent 27%),
    radial-gradient(circle at 78% 78%, rgb(var(--theme-dark-rgb) / 0.32), transparent 31%),
    linear-gradient(145deg, rgb(var(--theme-dark-rgb) / 0.4), #071126 60%, rgb(var(--theme-rgb) / 0.18));
}

.portfolio-type,
.portfolio-view,
.feedback-demo-badge,
.contact-channel-copy small,
.contact-channel-arrow {
  color: var(--primary-light);
}

.feedback-heading-mark,
.feedback-stage-icon,
.contact-channel-icon {
  color: var(--primary-light);
  background: linear-gradient(145deg, rgb(var(--theme-rgb) / 0.26), rgb(var(--theme-dark-rgb) / 0.12));
}

.site-footer::before {
  background: linear-gradient(90deg, transparent, rgb(var(--theme-light-rgb) / 0.72), transparent);
}

@media (max-width: 1140px) {
  .theme-toggle-label {
    display: none;
  }

  .theme-toggle {
    width: 43px;
    min-height: 43px;
    justify-content: center;
    padding: 0;
  }
}

@media (max-width: 620px) {
  .theme-palette {
    position: fixed;
    top: 74px;
    inset-inline: 14px;
    width: auto;
  }

  .theme-toggle {
    width: 43px;
    min-height: 43px;
  }
}
