/* ══════════════════════════════════════════
   DEVJOSHUA PORTFOLIO — style.css
   Retro Blue & Cream Theme
   ══════════════════════════════════════════ */

/* ──────────────────────────────────────────
   ROOT VARIABLES
────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #F2F2F2;
  --bg2: #f8f8f8;
  --bg3: #F2F2F2;
  --blue: #2A3FE0;
  --blue2: #1E30B0;
  --blue3: #3C4FE6;
  --blue-dim: rgba(42, 63, 224, 0.08);
  --blue-glow: rgba(42, 63, 224, 0.18);
  --blue-border: rgba(42, 63, 224, 0.22);
  --text: #000000;
  --text2: #333333;
  --text3: #666666;
  --border: rgba(0, 0, 0, 0.06);
  --border2: rgba(0, 0, 0, 0.11);
  --soft-blue: #E8ECFF;
  --light-gray: #F2F2F2;
  --white: #FFFFFF;
  --black: #000000;
  --ff-d: 'Bebas Neue', sans-serif;
  --ff-b: 'Space Grotesk', sans-serif;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-b);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
}

body.video-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

/* ──────────────────────────────────────────
   NOISE & HALFTONE OVERLAY
────────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E"),
    radial-gradient(circle, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 200px 200px, 3px 3px;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.6;
}

/* ──────────────────────────────────────────
   AMBIENT GLOW
────────────────────────────────────────── */
#amb {
  position: fixed;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 51, 255, 0.045) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
}

/* ──────────────────────────────────────────
   NAV WRAPPER
────────────────────────────────────────── */
#nav-wrapper {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5000;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

/* Side nav buttons */
.nav-side-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  font-family: var(--ff-b);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: none;
  flex-shrink: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px) scale(0.92);
  transition: transform .35s var(--spring), box-shadow .3s ease, opacity .3s ease;
}

#nav-wrapper.open .nav-side-btn {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.btn-hire-nav {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(0, 51, 255, 0);
  transition-delay: .05s;
}

.btn-hire-nav:hover {
  transform: scale(1.06) !important;
  box-shadow: 0 0 24px rgba(0, 51, 255, 0.4);
}

.btn-join-nav {
  background: #fff;
  color: var(--text);
  border: 2px solid #000 !important;
  box-shadow: 4px 4px 0 #000;
  transition-delay: .12s;
}

.btn-join-nav:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.04);
  border-color: #000 !important;
  transform: scale(1.04) translate(-2px, -2px) !important;
  box-shadow: 7px 7px 0 #000;
}

.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {

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

  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

/* ──────────────────────────────────────────
   ISLAND PILL
────────────────────────────────────────── */
#pill {
  display: flex;
  align-items: center;
  background: var(--blue);
  backdrop-filter: blur(28px) saturate(2);
  -webkit-backdrop-filter: blur(28px) saturate(2);
  border: 2px solid #000;
  border-radius: 999px;
  padding: 9px 8px;
  gap: 0;
  width: 50px;
  overflow: hidden;
  transition: width .55s var(--spring), padding .4s ease, box-shadow .4s ease;
  box-shadow: 8px 8px 0 #000;
  flex-shrink: 0;
}

#pill.open {
  width: 550px;
  padding: 8px 30px;
  gap: 8px;
}

.i-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-d);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  box-shadow: 0 0 0 2px #000;
  position: relative;
  overflow: hidden;
}

/* Loader in logo circle */
.i-logo .loader {
  --color-one: var(--blue);
  --color-two: var(--blue2);
  --color-three: rgba(0, 51, 255, 0.5);
  --color-four: rgba(122, 0, 0, 0.5);
  --color-five: rgba(0, 51, 255, 0.25);
  --time-animation: 2s;
  --size: 0.32;
  /* Scaled down to fit 32px from 100px */

  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  margin-top: -50px;
  margin-left: -50px;
  border-radius: 50%;
  transform: scale(var(--size));
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.i-logo .logo-text {
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Show text only when open */
#pill.open .i-logo .logo-text {
  opacity: 1;
}

/* Hide loader when open */
#pill.open .i-logo .loader {
  opacity: 0;
}

.loader svg {
  position: absolute;
  top: 0;
  left: 0;
}

.loader .box {
  width: 100px;
  height: 100px;
  background: linear-gradient(180deg, var(--color-one) 30%, var(--color-two) 70%);
  mask: url(#clipping);
  -webkit-mask: url(#clipping);
}

.loader svg #clipping {
  filter: contrast(15);
  animation: roundness calc(var(--time-animation) / 2) linear infinite;
}

.loader svg #clipping polygon {
  filter: blur(7px);
}

.loader svg #clipping polygon:nth-child(1) {
  transform-origin: 75% 25%;
  transform: rotate(90deg);
}

.loader svg #clipping polygon:nth-child(2) {
  transform-origin: 50% 50%;
  animation: rotation var(--time-animation) linear infinite reverse;
}

.loader svg #clipping polygon:nth-child(3) {
  transform-origin: 50% 60%;
  animation: rotation var(--time-animation) linear infinite;
  animation-delay: calc(var(--time-animation) / -3);
}

.loader svg #clipping polygon:nth-child(4) {
  transform-origin: 40% 40%;
  animation: rotation var(--time-animation) linear infinite reverse;
}

.loader svg #clipping polygon:nth-child(5) {
  transform-origin: 40% 40%;
  animation: rotation var(--time-animation) linear infinite reverse;
  animation-delay: calc(var(--time-animation) / -2);
}

.loader svg #clipping polygon:nth-child(6) {
  transform-origin: 60% 40%;
  animation: rotation var(--time-animation) linear infinite;
}

.loader svg #clipping polygon:nth-child(7) {
  transform-origin: 60% 40%;
  animation: rotation var(--time-animation) linear infinite;
  animation-delay: calc(var(--time-animation) / -1.5);
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

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

@keyframes roundness {
  0% {
    filter: contrast(15);
  }

  20% {
    filter: contrast(3);
  }

  40% {
    filter: contrast(3);
  }

  60% {
    filter: contrast(15);
  }

  100% {
    filter: contrast(15);
  }
}

@keyframes colorize {
  0% {
    filter: hue-rotate(0deg);
  }

  20% {
    filter: hue-rotate(-30deg);
  }

  40% {
    filter: hue-rotate(-60deg);
  }

  60% {
    filter: hue-rotate(-90deg);
  }

  80% {
    filter: hue-rotate(-45deg);
  }

  100% {
    filter: hue-rotate(0deg);
  }
}

.i-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
  opacity: 0;
  transform: translateX(-8px);
  pointer-events: none;
  transition: opacity .3s ease .12s, transform .3s ease .12s;
  white-space: nowrap;
}

#pill.open .i-links {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.i-links a {
  color: #fff;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  transition: all .25s;
  text-transform: uppercase;
}

.i-links a:hover,
.i-links a.act {
  color: #000;
  background: #fff;
}

.i-links a.act {
  color: var(--blue3);
}

/* ──────────────────────────────────────────
   SHARED BUTTONS
────────────────────────────────────────── */
.btn-blue {
  background: var(--blue);
  color: #fff;
  padding: 12px 44px;
  border-radius: 12px;
  font-family: var(--ff-d);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 3px solid #000;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: transform .3s var(--spring), box-shadow .3s ease, background .3s ease;
  box-shadow: 6px 6px 0 #000;
}

.btn-blue:hover {
  transform: translate(-3px, -3px) scale(1.02);
  box-shadow: 9px 9px 0 #000;
  background: #3C4FE6;
}

.btn-blue:active {
  transform: translate(0px, 0px);
  box-shadow: 3px 3px 0 #000;
}

.btn-ghost {
  background: #fff;
  color: var(--blue);
  padding: 12px 44px;
  border-radius: 12px;
  font-family: var(--ff-d);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 3px solid #000;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all .3s var(--smooth);
  box-shadow: 6px 6px 0 var(--blue);
}

.btn-ghost:hover {
  background: rgba(42, 63, 224, 0.05);
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--blue);
}

.btn-ghost:active {
  transform: translate(0px, 0px);
  box-shadow: 3px 3px 0 var(--blue);
}

.btn-sm-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--blue);
  color: #fff;
  border: 3px solid #000;
  border-radius: 10px;
  font-family: var(--ff-d);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 30px;
  text-decoration: none;
  transition: transform .3s var(--spring), box-shadow .3s, background .3s;
  box-shadow: 5px 5px 0 #000;
}

.btn-sm-red:hover {
  transform: translate(-2px, -2px) scale(1.02);
  box-shadow: 7px 7px 0 #000;
  background: #3C4FE6;
}

.btn-sm-red:active {
  transform: translate(0px, 0px);
  box-shadow: 3px 3px 0 #000;
}

/* Form submit buttons */
.fsub {
  padding: 14px 36px;
  border-radius: 10px;
  font-family: var(--ff-b);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  transition: all .3s var(--spring);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.fsub-red {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 5px 0 #001a80;
}

.fsub-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #001a80;
}

.fsub-red:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #001a80;
}

.fsub-dark {
  background: #000;
  color: #fff;
  box-shadow: 0 5px 0 #333;
}

.fsub-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #333;
}

.fsub-dark:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #333;
}

/* ──────────────────────────────────────────
   UTILITIES
────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text3);
  font-weight: 500;
  margin-bottom: 24px;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 26px;
  height: 1px;
  background: var(--text3);
}

.red-eyebrow {
  color: var(--blue);
}

.red-eyebrow::before {
  background: var(--blue);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .95s var(--smooth), transform .95s var(--smooth);
}

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

.d1 {
  transition-delay: .1s;
}

.d2 {
  transition-delay: .2s;
}

.d3 {
  transition-delay: .3s;
}

.d4 {
  transition-delay: .4s;
}

section {
  position: relative;
  z-index: 1;
}

/* ──────────────────────────────────────────
   HERO
────────────────────────────────────────── */
#home {
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 7vw 40px;
  position: relative;
  background: var(--bg);
}

.hero-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
}

.hero-left {
  flex: 1;
  max-width: 550px;
  min-width: 0;
  padding-right: 40px;
}

/* Align text to left */
.hero-sub {
  margin-left: 0;
  margin-right: auto;
}

/* ══════════════════════════════════════════
   HERO H1 — FIXED FOR RIGHT-ALIGNED FILL
══════════════════════════════════════════ */
.hero-h1 em {
  font-family: 'Bebas Neue', sans-serif;

  font-size: clamp(40px, 5vw, 150px);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: #000;

  text-transform: uppercase;
  text-align: left;
  width: 100%;
  display: block;
  white-space: nowrap;
  animation: up 1.1s var(--smooth) .1s both;
}

.hero-h1 {
  font-family: var(--ff-d);
  font-size: clamp(80px, 12vw, 250px);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: #0800ff;
  margin-bottom: 30px;
  text-transform: uppercase;
  text-align: left;
  width: 100%;
  display: block;
  white-space: nowrap;
  animation: up 1.1s var(--smooth) .1s both;
}


.hero-sub {
  font-family: var(--ff-b);
  font-size: clamp(14px, 2vw, 20px);
  color: #000;
  line-height: 1.4;
  max-width: 500px;
  margin-bottom: 50px;
  font-weight: 500;
  animation: up 1.1s var(--smooth) .25s both;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: up 1.1s var(--smooth) .4s both;
}

/* Responsive adjustment for smaller sc100eens */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: left;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-bg-word {
  position: absolute;
  right: -2vw;
  top: 50%;
  transform: translateY(-50%) rotate(-5deg);
  font-family: var(--ff-d);
  font-size: clamp(150px, 30vw, 400px);
  font-weight: 900;
  color: rgba(0, 51, 255, 0.05);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  letter-spacing: -0.05em;
  animation: fade 1.5s ease .4s both;
}

.hero-scroll {
  position: absolute;
  bottom: 60px;
  left: 7vw;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #000;
  animation: up 1.1s var(--smooth) .9s both;
}

.scroll-ln {
  width: 60px;
  height: 2px;
  background: #000;
  transform-origin: left;
  animation: grow 1.4s var(--smooth) 1.6s both;
}

@keyframes grow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ──────────────────────────────────────────
   TICKER
────────────────────────────────────────── */
.ticker-wrap {
  background: var(--blue);
  padding: 20px 0;
  overflow: hidden;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(-1deg) scale(1.05);
  margin: 40px 0;
  z-index: 10;
  position: relative;
}

.ticker {
  display: flex;
  white-space: nowrap;
}

.ticker-in {
  display: flex;
  animation: ticker 30s linear infinite;
}

.ticker span {
  font-family: var(--ff-d);
  font-size: 30px;
  font-weight: 400;
  color: #fff;
  padding: 0 20px;
  text-transform: uppercase;
  line-height: 1;
}

.tdot {
  color: #000 !important;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ──────────────────────────────────────────
   RETRO VECTOR ANIMATION
────────────────────────────────────────── */
.retro-anim-container {
  width: 100%;
  height: 50px;
  overflow: hidden;
  position: relative;
  background: #000;
  margin: 30px 0;
}

.retro-vector {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='100' viewBox='0 0 120 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%232A3FE0' fill='none' stroke-width='2'%3E%3Cpath d='M0 30 Q 30 10, 60 30 T 120 30'/%3E%3Cpath d='M0 70 Q 30 50, 60 70 T 120 70'/%3E%3Ccircle cx='30' cy='50' r='3' fill='%232A3FE0' stroke='none'/%3E%3Ccircle cx='90' cy='50' r='3' fill='%232A3FE0' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 100px;
  animation: scrollVector 12s linear infinite;
}

@keyframes scrollVector {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ──────────────────────────────────────────
   HIRE STRIP
────────────────────────────────────────── */
.hire-strip {
  padding: 30px 7vw;
  border-top: 3px solid #000;
  border-bottom: 3px solid #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: #fff;
  position: relative;
  z-index: 2;
  margin: 0;
}

.hs-text {
  font-family: var(--ff-d);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #000;
}

.hs-text em {
  font-style: normal;
  color: var(--blue);
}

.hs-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ──────────────────────────────────────────
   ABOUT
────────────────────────────────────────── */
#about {
  padding: 20px 7vw 30px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 40px;
}

.ch-lbl {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ch-lbl::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--blue);
}

.about-h2 {
  font-family: var(--ff-d);
  font-size: clamp(50px, 6vw, 100px);
  font-weight: 900;
  line-height: 0.85;
  color: #000;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.about-h2 em {
  font-style: normal;
  color: var(--blue);
}

.ap {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 18px;
}

.ap strong {
  color: var(--text);
  font-weight: 500;
}

.chapters {
  margin-top: 44px;
}

.ch {
  display: flex;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.ch:first-child {
  padding-top: 0;
}

.ch-n {
  font-family: var(--ff-d);
  font-size: 30px;
  font-weight: 700;
  color: rgba(224, 32, 32, 0.18);
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
}

.ch-t {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}

.ch-d {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.75;
}

.about-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ──────────────────────────────────────────
   3D ABOUT CARD
────────────────────────────────────────── */
.parent {
  width: 100%;
  max-width: 400px;
  height: 500px;
  perspective: 1000px;
  margin: 0 auto;
}

.card {
  height: 100%;
  border-radius: 20px;
  background: #fff;
  box-shadow: 10px 10px 0 var(--blue);
  transition: all 0.3s var(--spring);
  position: relative;
  overflow: hidden;
  border: 3px solid #000;
}

.card-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 90% center;
  z-index: 0;
  opacity: 1;
  transition: transform 0.5s var(--spring);
}


.parent:hover .card-bg-img {
  transform: scale(1.05);
}

.card .glass {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(0, 0, 0, 0.1) 100%);
}

.parent:hover .card {
  transform: translate(-5px, -5px);
  box-shadow: 15px 15px 0 var(--blue);
}

.card .content {
  position: absolute;
  bottom: 80px;
  left: 30px;
  right: 30px;
  z-index: 2;
}

.card .content .title {
  display: block;
  font-family: var(--ff-d);
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 8px;
  line-height: 1;
}

.card .content .text {
  display: block;
  font-size: 14px;
  color: #fff;
  line-height: 1.4;
  font-weight: 500;
}



.card .bottom {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
  transform: translateZ(60px);
}

.social-buttons-container {
  display: flex;
  gap: 10px;
}

.social-button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.social-button:hover {
  background: var(--blue);
  transform: translateY(-3px);
}

.social-button .svg {
  width: 16px;
  fill: #fff;
}

.view-more {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.view-more-button {
  background: none;
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.view-more .svg {
  width: 18px;
  stroke: #fff;
  stroke-width: 3;
  transition: transform 0.3s;
}

.view-more:hover .svg {
  transform: translateX(5px);
}

@media (max-width: 900px) {
  .parent {
    margin-top: 40px;
  }
}

/* ──────────────────────────────────────────
   WORK SCROLLER
────────────────────────────────────────── */
#work {
  padding: 60px 0 50px;
  /* Decrease top and bottom padding */
  background: #fff;
  position: relative;
}

/* Add UI line background for connection */
#work::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--blue) 15%,
      var(--blue) 85%,
      transparent 100%);
  opacity: 0.3;
  z-index: 0;
}

.work-hdr {
  padding: 0 7vw;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.work-h2 {
  font-family: var(--ff-d);
  font-size: clamp(45px, 7vw, 85px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.02em;
  color: #000;
  text-transform: uppercase;
}

.work-h2 em {
  font-style: normal;
  color: var(--blue);
}

.work-sub {
  font-family: var(--ff-b);
  font-size: 15px;
  color: #333;
  max-width: 280px;
  text-align: right;
  line-height: 1.5;
  font-weight: 500;
}

.scroller {
  --work-card-gap: 40px;
  --work-scroll-offset: 20px;
  overflow: hidden;
  padding: 20px 0;
  /* Increase space for animation */
  position: relative;
  z-index: 1;
  mask-image: none;
  -webkit-mask-image: none;
}

.s-track {
  display: flex;
  gap: var(--work-card-gap);
  /* Keep card spacing configurable by breakpoint */
  animation: scrollL 45s linear infinite;
  /* Slower for smoother scroll */
  width: max-content;
}

.s-track:hover {
  animation-play-state: paused;
}

@keyframes scrollL {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - var(--work-scroll-offset)));
  }

  /* Match the duplicated track spacing */
}

.wcard {
  width: 220px;
  height: 380px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: transform .3s var(--spring);
  border: 2px solid #000;
  box-shadow: 6px 6px 0 var(--blue);
}

.wcard:hover {
  transform: translate(-4px, -4px) scale(1.02);
  box-shadow: 12px 12px 0 var(--blue);
}

.wcard:hover .wo {
  opacity: 1;
}

.wcard:hover .wi {
  opacity: 1;
  transform: translateY(0);
}

.wbg {
  width: 100%;
  height: 100%;
  position: relative;
}

.wvideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  display: block;
  opacity: 1;
  /* Always visible for autoplay */
  transition: opacity 0.3s ease;
}

.wthumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  display: block;
  background-color: #e0e0e0;
  transition: opacity 0.3s ease;
  opacity: 0;
  /* Hide the static image */
}

.wg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.1'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.wo {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(235, 235, 235, 0.98) 0%, rgba(235, 235, 235, 0.4) 55%, transparent 100%);
  opacity: 0;
  transition: opacity .4s;
}

.wi {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 24px 20px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s, transform .45s var(--spring);
}

.wtag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  background: var(--blue);
  border: 2px solid #000;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 10px;
  font-weight: 700;
}

.wtitle {
  font-family: var(--ff-d);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  color: #000;
  text-transform: uppercase;
}

.wmeta {
  font-family: var(--ff-b);
  font-size: 13px;
  color: #333;
  margin-top: 6px;
  font-weight: 500;
}

.work-footer {
  padding: 0 7vw;
  margin-top: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.wf-text {
  font-size: 13px;
  color: var(--text3);
}

/* ══════════════════════════════════════════
   ORBITAL SERVICES — LIGHTHOUSE BEAM EFFECT
   - Long continuous beam out of frame
   - Same size at all planet positions
   - Lighthouse sweeping motion
══════════════════════════════════════════ */

/* SECTION */
.orbital-services {
  background: var(--blue);
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  padding: 0;
}

.orbital-services .page-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

/* Stars */
.orbital-services .stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.orbital-services .star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle 3s infinite;
}

@keyframes twinkle {

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

  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

/* Concentric orbit circles */
.orbital-services .orbit {
  position: absolute;
  border: 1.5px solid rgba(255, 255, 255, 0.701);
  border-radius: 50%;
  top: 45%;
  left: 7%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}

.orbital-services .orbit-7 {
  width: 2300px;
  height: 2300px;
}

.orbital-services .orbit-1 {
  width: 1900px;
  height: 1900px;
}

.orbital-services .orbit-2 {
  width: 1500px;
  height: 1500px;
}

.orbital-services .orbit-3 {
  width: 1100px;
  height: 1100px;
}

.orbital-services .orbit-4 {
  width: 800px;
  height: 800px;
}

.orbital-services .orbit-5 {
  width: 500px;
  height: 500px;
}

.orbital-services .orbit-6 {
  width: 300px;
  height: 300px;
}

/* ══════════════════════════════════════════
   SUN — Beautiful TEAM RCD Text Display
══════════════════════════════════════════ */
.orbital-services .sun {
  position: absolute;
  top: 45%;
  left: 7%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at 30% 30%, #ffffff, #f0f0f0 50%, #e0e0e0 100%);
  border-radius: 50%;
  box-shadow:
    0 0 30px rgba(255, 255, 255, 0.8),
    0 0 60px rgba(255, 255, 255, 0.4),
    inset 0 0 20px rgba(255, 255, 255, 0.5);
  z-index: 5;
  animation: sunGlow 3s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}

.orbital-services .sun::before {
  content: 'TEAM';
  font-family: var(--ff-d);
  font-size: 13px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
  text-shadow:
    1px 1px 0 rgba(255, 255, 255, 0.9),
    -1px -1px 0 rgba(255, 255, 255, 0.9);
}

.orbital-services .sun::after {
  content: 'RCD';
  font-family: var(--ff-d);
  font-size: 18px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
  text-shadow:
    1px 1px 0 rgba(255, 255, 255, 0.9),
    -1px -1px 0 rgba(255, 255, 255, 0.9);
}

@keyframes sunGlow {

  0%,
  100% {
    box-shadow:
      0 0 30px rgba(255, 255, 255, 0.8),
      0 0 60px rgba(255, 255, 255, 0.4),
      inset 0 0 20px rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    box-shadow:
      0 0 40px rgba(255, 255, 255, 0.9),
      0 0 80px rgba(255, 255, 255, 0.5),
      inset 0 0 30px rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -50%) scale(1.02);
  }
}



/* ══════════════════════════════════════════
   LIGHTHOUSE BEAM — Long cone, same size, sweeping
══════════════════════════════════════════ */
.lighthouse-beam {
  position: absolute;
  top: 45%;
  left: 7%;
  width: 2500px;
  /* LONG - goes way out of frame */
  height: 0;
  pointer-events: none;
  z-index: 4;
  transform-origin: 0 50%;
  transform: translate(0, -50%) rotate(-60deg);
  /* Animation controlled by JavaScript */
  transition: transform 0.8s ease-in-out;
}

/* The actual triangle - SAME SIZE everywhere */
.lighthouse-beam::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 280px;
  /* Fixed height = same size cone everywhere */
  transform: translateY(-50%);
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.85) 15%,
      rgba(255, 255, 255, 0.6) 40%,
      rgba(255, 255, 255, 0.3) 70%,
      rgba(255, 255, 255, 0) 100%);
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  -webkit-clip-path: polygon(0 50%, 100% 0, 100% 100%);
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
}

/* ══════════════════════════════════════════
   PLANET LIGHT CIRCLE — Big glow on planet when beam hits
══════════════════════════════════════════ */
.planet-light-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 7;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.65) 0%,
      rgba(255, 255, 255, 0.35) 25%,
      rgba(255, 255, 255, 0.2) 45%,
      rgba(206, 206, 206, 0.1) 70%,
      transparent 95%);
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.planet-light-circle.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: lightCirclePulse 1.2s ease-in-out infinite;
}

@keyframes lightCirclePulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 0.85;
  }
}



/* ══════════════════════════════════════════
   PLANETS
══════════════════════════════════════════ */
.orbital-services .planet {
  position: absolute;
  border-radius: 70%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 111;
  text-align: center;
  z-index: 6;
  font-family: var(--ff-d);
  border: 3px solid #000;
  box-shadow: 6px 6px 0 #000;
  font-size: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  user-select: none;
  letter-spacing: 1px;
  transition:
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.6s ease,
    filter 0.6s ease;
}

.orbital-services .planet.lit {
  transform: scale(1.2) !important;
  box-shadow:
    10px 10px 0 #000,
    0 0 30px rgba(255, 255, 255, 0.6),
    0 0 50px rgba(255, 235, 0, 0.35);
  filter: brightness(1.2) saturate(1.15);
}

.orbital-services .planet:not(.lit) {
  animation: planetFloat 5s ease-in-out infinite;
}

@keyframes planetFloat {

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

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

/* Planet positions */
.orbital-services .planet-1 {
  width: 80px;
  height: 80px;
  top: 60%;
  left: 82%;
  background: linear-gradient(135deg, #6b7fff, var(--blue));
}

.orbital-services .planet-2 {
  width: 65px;
  height: 65px;
  top: 22%;
  left: 28%;
  background: linear-gradient(135deg, #8fa0ff, var(--blue2));
}

.orbital-services .planet-3 {
  width: 85px;
  height: 85px;
  top: 65%;
  left: 45%;
  background: linear-gradient(135deg, #5a6fff, var(--blue3));
}

.orbital-services .planet-4 {
  width: 72px;
  height: 72px;
  top: 40%;
  left: 62%;
  background: linear-gradient(135deg, #4d5eff, #1E30B0);
}

.orbital-services .planet-5 {
  width: 78px;
  height: 78px;
  top: 15%;
  left: 52%;
  background: linear-gradient(135deg, #5a6bff, var(--blue2));
}

/* Planet label */
.orbital-services .planet-label {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #fff;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #000;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 5px 5px 0 #000;
  border: 3px solid #000;
  pointer-events: none;
  z-index: 20;
  font-family: var(--ff-b);
}

.orbital-services .planet.lit .planet-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Header text */
.orbital-services .header-text {
  position: absolute;
  top: 60px;
  right: 40px;
  text-align: middle;
  z-index: 10;
}

.orbital-services .header-text .services {
  font-family: var(--ff-d);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #000000;
  text-align: right;
  text-transform: uppercase;
}

.orbital-services .header-text .excellence {
  font-family: var(--ff-d);
  font-size: 60px;
  font-weight: 900;
  line-height: 0.8;
  text-align: left;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-transform: uppercase;
}

/* Content section */
.orbital-services .content-section {
  width: 100%;
  padding: 40px 60px;
  background: #ffffff;
}

.orbital-services .content-section h2 {
  font-size: 30px;
  color: #1a1a1a;
  margin-bottom: 8px;
  font-family: var(--ff-d);
}

.orbital-services .content-section h2 span {
  color: var(--blue);
}

.orbital-services .content-section p.subtitle {
  color: #333;
  margin-bottom: 35px;
  font-size: 14px;
  font-family: var(--ff-b);
  font-weight: 500;
}

.orbital-services .services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.orbital-services .service-card {
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 6px 6px 0 var(--blue);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #000;
}

.orbital-services .service-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 var(--blue);
}

.orbital-services .service-icon {
  width: 40px;
  height: 40px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: white;
  font-size: 18px;
  border: 2px solid #000;
  box-shadow: 3px 3px 0 #000;
}

.orbital-services .service-card h3 {
  color: #000;
  margin-bottom: 8px;
  font-size: 15px;
  font-family: var(--ff-d);
  text-transform: uppercase;
}

.orbital-services .service-card p {
  color: #333;
  font-size: 12px;
  line-height: 1.4;
  font-family: var(--ff-b);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .orbital-services .page-container {
    height: 750px;
  }

  .orbital-services .header-text {
    top: 40px;
    right: 0;
    left: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .orbital-services .header-text .services {
    font-size: 16px;
    color: #000;
    margin-bottom: 0;
    font-family: var(--ff-d);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .orbital-services .header-text .excellence {
    font-size: 48px;
    color: #000;
    font-family: var(--ff-d);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.02em;
    text-transform: uppercase;
  }

  .orbital-services .orbit {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: rgba(255, 255, 255, 0.4);
  }

  .orbital-services .orbit-7 {
    width: 800px;
    height: 800px;
  }

  .orbital-services .orbit-1 {
    width: 700px;
    height: 700px;
  }

  .orbital-services .orbit-2 {
    width: 600px;
    height: 600px;
  }

  .orbital-services .orbit-3 {
    width: 500px;
    height: 500px;
  }

  .orbital-services .orbit-4 {
    width: 400px;
    height: 400px;
  }

  .orbital-services .orbit-5 {
    width: 300px;
    height: 300px;
  }

  .orbital-services .orbit-6 {
    width: 200px;
    height: 200px;
  }

  /* Planets in solar system layout (exact match to image) */
  .orbital-services .planet-1 {
    width: 65px;
    height: 65px;
    top: 50%;
    left: 78%;
    font-size: 10px;
  }

  .orbital-services .planet-2 {
    width: 55px;
    height: 55px;
    top: 28%;
    left: 18%;
    font-size: 9px;
  }

  .orbital-services .planet-3 {
    width: 70px;
    height: 70px;
    top: 70%;
    left: 20%;
    font-size: 10px;
  }

  .orbital-services .planet-4 {
    width: 60px;
    height: 60px;
    top: 75%;
    left: 76%;
    font-size: 9px;
  }

  .orbital-services .planet-5 {
    width: 65px;
    height: 65px;
    top: 24%;
    left: 76%;
    font-size: 10px;
  }

  /* Planet labels (white badges with black border) */
  .orbital-services .planet-label {
    position: absolute;
    bottom: auto;
    left: 50%;
    top: calc(100% + 8px);
    transform: translateX(-50%);
    background: #fff;
    color: #000;
    padding: 4px 10px;
    border-radius: 8px;
    border: 2px solid #000;
    font-size: 10px;
    font-family: var(--ff-d);
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: none;
  }

  .orbital-services .planet.lit .planet-label {
    opacity: 1;
  }

  /* Sun in center with TEAM RCD */
  .orbital-services .sun {
    width: 70px;
    height: 70px;
    top: 50%;
    left: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
  }

  .orbital-services .sun::before {
    font-size: 11px;
  }

  .orbital-services .sun::after {
    font-size: 16px;
  }

  /* Lighthouse beam from sun's center */
  .lighthouse-beam {
    width: 1500px;
    height: 0;
    top: 50%;
    bottom: auto;
    left: 50%;
    transform-origin: 0 50%;
    transform: translate(0, -50%) rotate(-60deg);
  }

  .lighthouse-beam::before {
    width: 50%;
    height: 180px;
    top: 0;
    left: 0;
    background: linear-gradient(to right,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.85) 15%,
        rgba(255, 255, 255, 0.6) 40%,
        rgba(255, 255, 255, 0.3) 70%,
        rgba(255, 255, 255, 0) 100%);
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
    -webkit-clip-path: polygon(0 50%, 100% 0, 100% 100%);
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
  }

  .orbital-services .content-section {
    padding: 35px 16px;
  }

  .orbital-services .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .orbital-services .service-card {
    padding: 12px;
  }

  .orbital-services .service-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}


/* ──────────────────────────────────────────
   TESTIMONIAL (Glassmorphic Theme)
────────────────────────────────────────── */
.testi-bg-blobs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}



#testi {
  padding: 30px 4vw 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--blue);
}

.t-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 700px;
  background: #fff;
  border: 2px solid #000;
  border-radius: 18px;
  padding: 36px;
  box-shadow: 8px 8px 0 #000;
  transition: transform 0.3s var(--smooth), box-shadow 0.3s var(--smooth);
}

.t-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 16px 16px 0 #000;
}

.t-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.t-badge {
  font-family: var(--ff-d);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.t-date {
  font-size: 12px;
  color: #666;
  font-weight: 600;
}

.t-card .tquote {
  font-family: var(--ff-b);
  font-size: clamp(15px, 1.5vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  color: #000;
  margin-bottom: 40px;
  font-style: normal;
  text-align: left;
  letter-spacing: 0;
}

.t-card .tquote em {
  color: var(--blue);
  font-style: normal;
}

.tauthor-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.tauthor {
  font-family: var(--ff-d);
  font-size: 24px;
  font-weight: 900;
  color: #000;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.tauthor-sub {
  font-size: 14px;
  color: #666;
  font-weight: 600;
}

.t-card .tdots {
  margin-top: 0;
}

.t-card .tdot-btn {
  width: 12px;
  height: 12px;
  background: #ddd;
  border: 2px solid #000;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.t-card .tdot-btn.on {
  background: var(--blue);
  transform: scale(1.2);
}

.t-card .testi-cta {
  margin-top: 44px;
  text-align: left;
}

@media (max-width: 600px) {
  .t-card {
    padding: 40px 30px;
    border-radius: 35px;
  }

  .t-card .tquote {
    font-size: 22px;
  }

  .tauthor-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* FAQ */
.faq-section {
  padding: 50px 7vw 40px;
  background: var(--bg);
}

.section-heading h2 {
  font-family: var(--ff-d);
  font-size: clamp(35px, 5vw, 70px);
  font-weight: 900;
  line-height: 0.9;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.faq-item {
  background: #fff;
  border: 2px solid #000;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s var(--smooth);
  box-shadow: 5px 5px 0 var(--blue);
}

.faq-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--blue);
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 14px;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  list-style: none;
  /* Remove default arrow */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
}

.faq-item summary::-webkit-details-marker {
  display: none;
  /* Hide default arrow on WebKit */
}

.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 900;
  color: var(--blue);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  /* Change + to x when open */
}

.faq-item[open] {
  box-shadow: 8px 8px 0 var(--blue);
  /* Keep shadow when open */
}

.faq-item p {
  padding: 16px 20px;
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  border-top: 1px solid #e0e0e0;
  background: #f9f9f9;
}

/* ──────────────────────────────────────────
   CONTACT — DUAL FORMS
────────────────────────────────────────── */
#contact {
  padding: 20px 40px 30px;
  background: #fff;
  border-top: 3px solid #000;
}

.contact-intro {
  text-align: center;
  margin-bottom: 20px;
}

.contact-big {
  font-family: var(--ff-d);
  font-size: clamp(28px, 4vw, 55px);
  font-weight: 900;
  line-height: 0.9;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.contact-big em {
  font-style: normal;
  color: var(--blue);
}

.contact-p {
  font-family: var(--ff-b);
  font-size: clamp(12px, 1.5vw, 14px);
  color: #333;
  max-width: 500px;
  margin: 0 auto 16px;
  font-weight: 500;
}

.contact-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Forms Container */
.forms-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.fcard {
  width: 100%;
  max-width: 480px;
  /* Wider max width */
  background: #fff;
  border: 2px solid #000;
  border-radius: 16px;
  padding: 14px 24px;
  /* Even less vertical padding */
  box-shadow: 6px 6px 0 var(--blue);
  transition: all 0.3s ease;
  text-align: left;
}

.fcard:hover {
  transform: translate(-5px, -5px);
  box-shadow: 15px 15px 0 var(--blue);
}

.fcard-icon {
  font-size: 24px;
  margin-bottom: 6px;
  display: inline-block;
  line-height: 1;
}

.fcard-badge {
  font-family: var(--ff-b);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 5px;
}

.fcard-title {
  font-family: var(--ff-d);
  font-size: 18px;
  font-weight: 900;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 6px;
  line-height: 1;
}

.fcard-sub {
  font-family: var(--ff-b);
  font-size: 11px;
  color: #333;
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 10px;
}

.frow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 8px;
}

.fg {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 8px;
}

.frow .fg {
  margin-bottom: 0;
}

.fl {
  font-family: var(--ff-b);
  font-size: 11px;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fi,
.fsel,
.fta {
  background: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  color: #000;
  font-weight: 500;
  font-family: var(--ff-b);
  padding: 10px 14px;
  font-size: 12px;
  transition: all 0.3s ease;
}

.fi:focus,
.fsel:focus,
.fta:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  outline: none;
}

.fsel {
  /* Custom dropdown arrow */
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-color: #ffffff;
  padding-right: 36px;
  /* Make room for the arrow */
  cursor: pointer;
}

.fi::placeholder,
.fsel::placeholder,
.fta::placeholder {
  color: #999;
}

.fsub {
  margin-top: 4px;
  width: 100%;
  padding: 10px 20px;
  font-family: var(--ff-b);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.fsub-red {
  background: var(--blue);
  color: #fff;
  border: 3px solid #000;
  box-shadow: 6px 6px 0 #000;
}

.fsub-red:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 #000;
}

.fsub-dark {
  background: #000;
  color: #fff;
  border: 3px solid #000;
  box-shadow: 6px 6px 0 var(--blue);
}

.fsub-dark:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--blue);
}

.fnote {
  margin-top: 16px;
  font-family: var(--ff-b);
  font-size: 13px;
  color: #666;
  font-weight: 500;
  text-align: left;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .frow {
    grid-template-columns: 1fr;
  }

  .fcard {
    padding: 20px;
  }
}

/* ──────────────────────────────────────────
   VIDEO OVERLAY (Lightbox) - Updated
────────────────────────────────────────── */
.v-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(10, 10, 15, 0.98) 100%);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 110px 0 48px;
}

.v-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.v-back-btn {
  position: absolute;
  top: 30px;
  left: 30px;
  background: #fff;
  color: #000;
  border: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10001;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.v-back-btn:hover {
  transform: scale(1.08) translateX(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.v-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.v-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: start;
}

.v-video-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

#v-player {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  background: #000;
}

.v-text-wrapper {
  color: #fff;
  padding-top: 20px;
}

.v-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--blue);
  color: #fff;
  border-radius: 50px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.v-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 3.5vw, 56px);
  margin-bottom: 8px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.v-meta {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.v-description {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
}

/* ==============================================
   MOBILE RESPONSIVE STYLES (Fix all issues!)
   ============================================== */
@media (max-width: 768px) {

  /* Prevent horizontal overflow */
  html,
  body {
    overflow-x: hidden;
    width: 100%;
  }

  /* Fix navbar for mobile - more comfortable */
  #nav-wrapper {
    left: 50%;
    right: auto;
    width: auto;
    transform: translateX(-50%);
    max-width: calc(100% - 32px);
    top: 12px;
  }

  #pill {
    padding: 8px 12px;
    border-width: 1.5px;
    box-shadow: 4px 4px 0 #000;
    width: auto !important;
    /* Keep pill width fixed on mobile */
  }

  #pill.open {
    width: auto !important;
    /* No width change when open on mobile */
    padding: 8px 12px;
  }

  .i-links {
    display: none !important;
    /* Hide nav links on mobile always */
  }

  .i-logo {
    width: 24px;
    height: 24px;
  }

  .i-logo .loader {
    --size: 0.22;
  }

  .nav-side-btn {
    padding: 8px 12px;
    font-size: 10px;
    display: none;
    /* Hide by default on mobile */
  }

  #nav-wrapper.open .nav-side-btn {
    display: inline-flex !important;
    /* Show only when nav is open on mobile */
    opacity: 1 !important;
    visibility: visible !important;
  }

  .btn-hire-nav,
  .btn-join-nav {
    display: none;
    /* Hide by default on mobile */
  }

  #nav-wrapper.open .btn-hire-nav,
  #nav-wrapper.open .btn-join-nav {
    display: inline-flex !important;
    /* Show only when nav is open on mobile */
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Fix home/hero section - BIGGER TEXT, SMALLER BUTTONS */
  #home {
    padding: 100px 16px 40px;
  }

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

  .hero-left {
    padding: 0;
    max-width: 100%;
  }

  /* BIGGER hero text on mobile */
  .hero-h1 {
    font-size: clamp(56px, 16vw, 96px);
    /* Increase 'impactful stories' size */
    white-space: normal;
    line-height: 0.9;
    margin-bottom: 20px;
  }

  .hero-h1 em {
    font-size: clamp(28px, 9vw, 52px);
    /* Decrease 'Turning ideas into' size even more on mobile */
    white-space: normal;
    display: block;
    margin-top: 5px;
  }

  .hero-sub {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
    max-width: 100%;
  }

  /* Clean & compact buttons on mobile */
  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    justify-content: center;
  }

  .hero-ctas .btn-blue,
  .hero-ctas .btn-ghost {
    padding: 10px 36px;
    font-size: 13px;
    white-space: nowrap;
  }

  .about-left {
    width: 100%;
    max-width: 350px;
  }

  .parent {
    width: 100%;
  }

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

  .about-grid .about-left {
    order: 1;
  }

  .about-grid .about-right {
    order: 2;
  }

  .about-right .ap {
    font-size: 14px;
    line-height: 1.6;
  }

  .about-cta-row {
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
  }

  .about-cta-row a {
    padding: 10px 10px;
    font-size: 13px;
    white-space: nowrap;
  }

  /* Fix contact form sizes for mobile */
  #contact {
    padding: 40px 16px 30px;
  }

  .forms-wrap {
    grid-template-columns: 1fr;
  }

  .fcard {
    max-width: 100%;
    padding: 12px 10px;
  }

  .fcard-badge {
    font-size: 10px;
    padding: 4px 8px;
    margin-bottom: 8px;
  }

  .fcard-title {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .fcard-sub {
    font-size: 9px;
    margin-bottom: 10px;
  }

  .fg {
    margin-bottom: 8px;
  }

  .fl {
    font-size: 10px;
    margin-bottom: 4px;
  }

  .frow {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .fi,
  .fsel,
  .fta {
    font-size: 11px;
    padding: 8px 10px;
  }

  .fta {
    min-height: 60px;
  }

  .fsub {
    padding: 8px 14px;
    font-size: 9px;
  }

  .fnote {
    font-size: 9px;
    margin-top: 8px;
  }

  /* Fix video lightbox for mobile */
  .v-overlay {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 90px 16px 32px;
  }

  .v-container {
    width: 100%;
  }

  .v-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .v-back-btn {
    position: fixed;
    top: 16px;
    left: 16px;
    padding: 10px 16px;
    font-size: 12px;
  }

  .v-title {
    font-size: 28px;
  }

  .v-text-wrapper {
    padding-top: 0;
    padding-bottom: 8px;
  }

  /* Fix work section padding for mobile */
  #work {
    padding: 40px 0;
  }

  .work-hdr {
    flex-direction: column;
    gap: 12px;
    padding: 0 16px;
  }

  .work-sub {
    text-align: left;
  }

  .work-footer {
    padding: 0 16px;
  }

  .scroller {
    --work-card-gap: 24px;
    --work-scroll-offset: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .scroller::-webkit-scrollbar {
    display: none;
  }

  .s-track {
    animation: none !important;
    transform: none !important;
  }

  .wcard {
    width: 188px;
    height: 314px;
  }

  /* Fix about section for mobile */
  .page-container {
    padding: 0 20px;
  }

  .about-wrap {
    flex-direction: column;
    gap: 40px;
  }

  .about-right {
    padding: 0;
  }

  .about-h2 {
    font-size: clamp(36px, 10vw, 48px);
  }

  /* Fix testimonial for mobile */
  .testimonial {
    padding: 40px 20px;
  }


  .orbital-services .content-section {
    padding: 30px 16px;
  }

  /* Fix hire strip for mobile */
  .hire-strip {
    flex-direction: column;
    padding: 24px 20px;
    gap: 16px;
  }

  .hs-text {
    font-size: 20px;
    text-align: center;
  }

  .hs-btns {
    width: 100%;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
  }

  .hs-btns a {
    padding: 10px 10px;
    font-size: 13px;
    white-space: nowrap;
  }

  /* Fix work footer buttons for mobile */
  .work-footer>div {
    text-align: center;
  }

  .work-footer>div .btn-blue,
  .work-footer>div .btn-ghost {
    padding: 10px 36px;
    font-size: 13px;
    white-space: nowrap;
  }

  /* Fix testimonial button for mobile */
  .testi-cta {
    text-align: center;
  }

  .testi-cta .btn-blue {
    padding: 10px 36px;
    font-size: 13px;
    white-space: nowrap;
  }

  /* Fix contact buttons for mobile */
  .contact-btns {
    text-align: center;
  }

  .contact-btns .btn-blue,
  .contact-btns .btn-ghost {
    padding: 10px 36px;
    font-size: 13px;
    white-space: nowrap;
  }

  /* Fix FAQ for mobile */
  .faq-section {
    padding: 40px 16px;
  }

  .faq-item {
    margin: 10px 0;
  }

  .faq-item summary {
    padding: 14px 16px;
    font-size: 12px;
  }

  .faq-item p {
    font-size: 13px;
    padding: 14px 16px;
  }

  /* Fix Footer for mobile - compact, small size */
  .main-footer {
    padding: 30px 0 20px;
  }

  .f-container {
    padding: 0 16px;
  }

  .f-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }

  .f-logo-rcd {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .f-desc {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .f-socials {
    gap: 8px;
  }

  .social-link {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .f-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .f-list li {
    margin-bottom: 8px;
  }

  .f-list a {
    font-size: 12px;
  }

  .f-bottom {
    padding-top: 24px;
    font-size: 11px;
  }

  /* Fix Ticker for mobile */
  .ticker-wrap {
    padding: 12px 0;
    margin: 24px 0;
  }

  .ticker span {
    font-size: 20px;
    padding: 0 12px;
  }

  /* Fix Retro Animation for mobile */
  .retro-anim-container {
    height: 40px;
    margin: 16px 0;
  }

  .retro-vector {
    background-size: 80px 80px;
  }

  /* Fix Footer Quick Links for mobile (clean, simple, precise) */
  .f-links-col {
    padding: 0;
  }

  .f-title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .f-list li {
    margin-bottom: 6px;
  }

  .f-list a {
    font-size: 11px;
  }
}

.v-actions {
  margin-top: 10px;
}

.v-hire-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--blue) 0%, #3b82f6 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.v-hire-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

/* Responsive Video Lightbox */
@media (max-width: 900px) {
  .v-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .v-actions {
    display: flex;
    justify-content: center;
  }

  .v-back-btn {
    top: 20px;
    left: 20px;
    padding: 10px 18px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .v-hire-btn {
    width: 100%;
    min-height: 52px;
    padding: 14px 20px;
    font-size: 13px;
  }
}

/* ──────────────────────────────────────────
   FOOTER
────────────────────────────────────────── */
.main-footer {
  padding: 30px 0 20px;
  background: #000;
  border-top: 3px solid var(--blue);
  position: relative;
  overflow: hidden;
}

.f-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 7vw;
}

.f-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  margin-bottom: 20px;
}

.f-logo-rcd {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--ff-d);
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rcd-text {
  color: var(--blue);
  font-style: normal;
  font-family: var(--ff-d);
}

.f-desc {
  color: rgba(255, 255, 255, 0.7);
  max-width: 420px;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
  font-weight: 500;
}

.f-socials {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  transition: all 0.3s ease;
  box-shadow: 4px 4px 0 var(--blue);
}

.social-link:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--blue);
  color: #000;
}

.f-title {
  font-family: var(--ff-d);
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 14px;
}

.f-list li {
  margin-bottom: 12px;
}

.f-list a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-family: var(--ff-b);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.f-list a:hover {
  color: var(--blue);
  padding-left: 0;
}

.f-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.f-list-grid li {
  margin-bottom: 0;
}

.f-bottom {
  padding-top: 40px;
  border-top: 2px solid var(--blue);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--ff-b);
  font-size: 13px;
  font-weight: 600;
}

.f-founder {
  color: var(--blue);
  font-weight: 700;
}

@media (max-width: 768px) {
  .btn-blue {
    padding: 12px 44px;
    font-size: 15px;
    border-radius: 14px;
  }

  .btn-ghost {
    padding: 12px 44px;
    font-size: 15px;
    border-radius: 14px;
  }

  .btn-sm-red {
    padding: 8px 36px;
    font-size: 13px;
    border-radius: 12px;
  }

  .fsub {
    padding: 16px 40px;
    font-size: 15px;
    border-radius: 12px;
  }

  .main-footer {
    padding: 24px 0 16px;
  }

  .f-container {
    padding: 0 14px;
  }

  .f-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }

  .f-logo-rcd {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .f-desc {
    font-size: 11px;
    margin-bottom: 12px;
  }

  .f-socials {
    gap: 8px;
    margin-bottom: 10px;
  }

  .social-link {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .f-title {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .f-list-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .f-list li {
    margin-bottom: 0;
  }

  .f-list a {
    font-size: 10px;
  }

  .f-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding-top: 16px;
    font-size: 10px;
  }
}

/* ──────────────────────────────────────────
   SCROLLBAR
────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 2px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--blue2);
  border-radius: 2px;
}

/* ──────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────── */
@media (max-width: 900px) {
  .forms-wrap {
    grid-template-columns: 1fr;
  }

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

  .proc-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-right {
    padding-top: 0;
    align-items: flex-start;
  }

  .hero-stats {
    gap: 20px;
  }

  .work-hdr {
    flex-direction: column;
    align-items: flex-start;
  }

  .work-sub {
    text-align: left;
  }

  .s-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .s-sub {
    text-align: left;
  }

  .sright {
    display: none;
  }

  .tinner {
    padding: 40px 28px;
  }

  .hire-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  body {
    cursor: auto;
  }

  #cdot,
  #cring,
  #amb {
    display: none;
  }

  #pill.open {
    width: calc(100vw - 100px);
  }

  .nav-side-btn {
    display: none;
  }

  .i-links a {
    font-size: 11.5px;
    padding: 5px 8px;
  }

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

  .why-item:hover {
    transform: none;
  }

  .soc:hover {
    transform: none;
  }

  /* Clean & simple buttons for mobile */
  .btn-blue,
  .btn-ghost {
    padding: 10px 36px;
    font-size: 13px;
    gap: 6px;
  }

  .hero-ctas {
    gap: 12px;
    flex-wrap: wrap;
  }

  .about-cta-row {
    gap: 10px;
    flex-wrap: wrap;
  }

  .hire-strip .hs-btns {
    gap: 10px;
    flex-wrap: wrap;
  }

  .work-footer>div {
    gap: 10px;
    flex-wrap: wrap;
  }

  .testi-cta {
    width: 100%;
  }

  .contact-btns {
    gap: 10px;
    flex-wrap: wrap;
  }
}

/* LOADING SCREEN & PENCIL */
#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

/* From Uiverse.io by gustavofusco */
.pencil {
  display: block;
  width: 10em;
  height: 10em;
  color: var(--text);
}

.pencil__body1,
.pencil__body2,
.pencil__body3,
.pencil__eraser,
.pencil__eraser-skew,
.pencil__point,
.pencil__rotate,
.pencil__stroke {
  animation-duration: 3s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.pencil__body1,
.pencil__body2,
.pencil__body3 {
  transform: rotate(-90deg);
}

.pencil__body1 {
  animation-name: pencilBody1;
}

.pencil__body2 {
  animation-name: pencilBody2;
}

.pencil__body3 {
  animation-name: pencilBody3;
}

.pencil__eraser {
  animation-name: pencilEraser;
  transform: rotate(-90deg) translate(49px, 0);
}

.pencil__eraser-skew {
  animation-name: pencilEraserSkew;
  animation-timing-function: ease-in-out;
}

.pencil__point {
  animation-name: pencilPoint;
  transform: rotate(-90deg) translate(49px, -30px);
}

.pencil__rotate {
  animation-name: pencilRotate;
}

.pencil__stroke {
  animation-name: pencilStroke;
  transform: translate(100px, 100px) rotate(-113deg);
}

/* Animations */
@keyframes pencilBody1 {

  from,
  to {
    stroke-dashoffset: 351.86;
    transform: rotate(-90deg);
  }

  50% {
    stroke-dashoffset: 150.8;
    transform: rotate(-225deg);
  }
}

@keyframes pencilBody2 {

  from,
  to {
    stroke-dashoffset: 406.84;
    transform: rotate(-90deg);
  }

  50% {
    stroke-dashoffset: 174.36;
    transform: rotate(-225deg);
  }
}

@keyframes pencilBody3 {

  from,
  to {
    stroke-dashoffset: 296.88;
    transform: rotate(-90deg);
  }

  50% {
    stroke-dashoffset: 127.23;
    transform: rotate(-225deg);
  }
}

@keyframes pencilEraser {

  from,
  to {
    transform: rotate(-45deg) translate(49px, 0);
  }

  50% {
    transform: rotate(0deg) translate(49px, 0);
  }
}

@keyframes pencilEraserSkew {

  from,
  32.5%,
  67.5%,
  to {
    transform: skewX(0);
  }

  35%,
  65% {
    transform: skewX(-4deg);
  }

  37.5%,
  62.5% {
    transform: skewX(8deg);
  }

  40%,
  45%,
  50%,
  55%,
  60% {
    transform: skewX(-15deg);
  }

  42.5%,
  47.5%,
  52.5%,
  57.5% {
    transform: skewX(15deg);
  }
}

@keyframes pencilPoint {

  from,
  to {
    transform: rotate(-90deg) translate(49px, -30px);
  }

  50% {
    transform: rotate(-225deg) translate(49px, -30px);
  }
}

@keyframes pencilRotate {
  from {
    transform: translate(100px, 100px) rotate(0);
  }

  to {
    transform: translate(100px, 100px) rotate(720deg);
  }
}

@keyframes pencilStroke {
  from {
    stroke-dashoffset: 439.82;
    transform: translate(100px, 100px) rotate(-113deg);
  }

  50% {
    stroke-dashoffset: 164.93;
    transform: translate(100px, 100px) rotate(-113deg);
  }

  75%,
  to {
    stroke-dashoffset: 439.82;
    transform: translate(100px, 100px) rotate(112deg);
  }
}