/* ============================================
   MARSYL LABS - PORTFOLIO WEBSITE
   CSS STYLESHEET
   Theme: Deep Space / Mars - Black, Orange, Red
   ============================================ */

/* ---------- CSS VARIABLES (kept for JS access) ---------- */
:root {
  --black:       #000000;
  --deep:        #060608;
  --dark:        #0c0c10;
  --dark-2:      #111118;
  --dark-3:      #1a1a24;
  --border:      rgba(232, 93, 4, 0.18);
  --border-soft: rgba(255,255,255,0.06);
  --orange:      #e85d04;
  --orange-2:    #f77f00;
  --orange-3:    #fcbf49;
  --red:         #d62828;
  --white:       #ffffff;
  --gray:        #8a8a9a;
  --gray-light:  #c0c0d0;
  --gradient:    linear-gradient(135deg, #e85d04 0%, #f77f00 50%, #fcbf49 100%);
  --font-head:   'Orbitron', 'Exo 2', sans-serif;
  --font-body:   'Exo 2', sans-serif;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 8px 40px rgba(232, 93, 4, 0.12);
  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- RESET & BASE ---------- */
html, body, div, span, h1, h2, h3, h4, h5, h6,
p, a, ul, li, nav, section, article, aside,
header, footer, main, form, input, select,
textarea, button, label, figure, img {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Exo 2', sans-serif;
  background: #000000;
  color: #ffffff;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0c0c10; }
::-webkit-scrollbar-thumb { background: #e85d04; border-radius: 3px; }

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

.gradient-text {
  background: linear-gradient(135deg, #e85d04 0%, #f77f00 50%, #fcbf49 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #e85d04;
  padding: 6px 16px;
  border: 1px solid rgba(232, 93, 4, 0.18);
  border-radius: 99px;
  background: rgba(232, 93, 4, 0.08);
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-subtitle {
  color: #8a8a9a;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 12px;
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #e85d04 0%, #f77f00 50%, #fcbf49 100%);
  color: #ffffff;
  box-shadow: 0 4px 24px rgba(232, 93, 4, 0.4);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0);
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(232, 93, 4, 0.6);
}
.btn-primary:hover::after { background: rgba(255,255,255,0.08); }

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(232, 93, 4, 0.18);
}
.btn-secondary:hover {
  background: rgba(232, 93, 4, 0.1);
  border-color: #e85d04;
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  height: 52px;
}
#navbar.scrolled {
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 32px;
  height: 52px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #c0c0d0;
  padding: 8px 14px;
  border-radius: 8px;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px; height: 2px;
  background: #e85d04;
  border-radius: 1px;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover { color: #ffffff; }
.nav-link:hover::after,
.nav-link.active::after { transform: translateX(-50%) scaleX(1); }
.nav-link.active { color: #ffffff; }

.nav-cta {
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #ffffff;
  background: linear-gradient(135deg, #e85d04 0%, #f77f00 50%, #fcbf49 100%);
  padding: 10px 24px;
  border-radius: 12px;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 16px rgba(232,93,4,0.3);
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(232,93,4,0.5); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #ffffff;
  border-radius: 1px;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
#hero {
  position: relative;
  background: #000000;
  display: block;
  padding-top: 52px;
}

.hero-bg-img {
  position: relative;
  width: 75%;
  margin-left: auto;
  margin-right: auto;
  display: block;
  overflow: hidden;
  background: #000000;
  line-height: 0;
}

.hero-bg-photo {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 0;
}

.hero-bg-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.0)  0%,
    rgba(0,0,0,0.0) 65%,
    rgba(0,0,0,0.85) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content--bottom {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 48px 24px 72px;
  background: #000000;
  display: block;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #fcbf49;
  border: 1px solid rgba(252, 191, 73, 0.3);
  background: rgba(252, 191, 73, 0.07);
  padding: 8px 20px;
  border-radius: 99px;
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease both;
}

.badge-dot {
  width: 6px; height: 6px;
  background: #fcbf49;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(252,191,73,0.7); }
  50%       { box-shadow: 0 0 0 6px rgba(252,191,73,0); }
}

.hero-title {
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.9s ease 0.15s both;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #8a8a9a;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: fadeInUp 0.9s ease 0.3s both;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeInUp 0.9s ease 0.45s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s ease 0.6s both;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 24px 32px;
  -webkit-backdrop-filter: blur(10px);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}
.stat-number {
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #e85d04 0%, #f77f00 50%, #fcbf49 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-suffix {
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #e85d04 0%, #f77f00 50%, #fcbf49 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 2px;
  vertical-align: super;
}
.stat-label {
  font-size: 0.72rem;
  color: #8a8a9a;
  letter-spacing: 0.06em;
  margin-top: 4px;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.06);
  flex-shrink: 0;
}

/* ============================================
   ABOUT
   ============================================ */
#about {
  padding: 120px 0;
  background: linear-gradient(180deg, #000000 0%, #0c0c10 100%);
  position: relative;
  overflow: hidden;
}
#about::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,93,4,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-grid--single {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}
.about-grid--single .about-content { padding-left: 0; }

.about-visual {
  position: relative;
  width: 420px;
  max-width: 100%;
}

.about-static-logo {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}

.about-content { padding-left: 16px; }

.about-text {
  color: #8a8a9a;
  margin-bottom: 16px;
  font-size: 1.02rem;
  line-height: 1.8;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.pillar:hover {
  border-color: rgba(232, 93, 4, 0.18);
  background: rgba(232,93,4,0.05);
}
.pillar-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(232,93,4,0.12);
  border: 1px solid rgba(232, 93, 4, 0.18);
  display: flex; align-items: center; justify-content: center;
  color: #e85d04;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.pillar h4 { font-family: 'Orbitron', 'Exo 2', sans-serif; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 4px; }
.pillar p { font-size: 0.88rem; color: #8a8a9a; }

/* ============================================
   PORTFOLIO
   ============================================ */
#portfolio {
  padding: 120px 0;
  background: linear-gradient(180deg, #0c0c10 0%, #000000 100%);
}

.portfolio-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #8a8a9a;
  padding: 8px 20px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.filter-btn:hover,
.filter-btn.active {
  color: #ffffff;
  background: linear-gradient(135deg, #e85d04 0%, #f77f00 50%, #fcbf49 100%);
  border-color: transparent;
  box-shadow: 0 2px 16px rgba(232,93,4,0.3);
}

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

.portfolio-card {
  border-radius: 20px;
  overflow: hidden;
  background: #111118;
  border: 1px solid rgba(255,255,255,0.06);
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio-card:hover {
  border-color: rgba(232, 93, 4, 0.18);
  transform: translateY(-6px);
  box-shadow: 0 8px 40px rgba(232, 93, 4, 0.12);
}
.portfolio-card.hidden { display: none; }

.portfolio-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.portfolio-img-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 30%, hsl(22,80%,18%) 0%, hsl(22,60%,7%) 60%, #050505 100%);
}
.portfolio-icon {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.15);
  z-index: 1;
}
.portfolio-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  -webkit-backdrop-filter: blur(4px);
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-links { display: flex; gap: 12px; }
.port-link {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(232,93,4,0.2);
  border: 1px solid rgba(232, 93, 4, 0.18);
  display: flex; align-items: center; justify-content: center;
  color: #ffffff;
  font-size: 0.95rem;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.port-link:hover { background: #e85d04; border-color: #e85d04; }

.portfolio-info { padding: 24px; }
.port-tag {
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #e85d04;
  text-transform: uppercase;
}
.portfolio-info h3 {
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 8px 0 10px;
}
.portfolio-info p {
  color: #8a8a9a;
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 16px;
}
.port-techs { display: flex; gap: 6px; flex-wrap: wrap; }
.port-techs span {
  font-size: 0.72rem;
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  color: #c0c0d0;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
}

/* ============================================
   PROCESS
   ============================================ */
#process {
  padding: 120px 0;
  background: #0c0c10;
}

.process-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  counter-reset: step;
}

.process-line {
  position: absolute;
  left: 28px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #e85d04, rgba(232,93,4,0.1));
}

.process-step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 0 0 48px 0;
  position: relative;
  counter-increment: step;
}
.process-step:last-child { padding-bottom: 0; }

.process-dot {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #1a1a24;
  border: 2px solid rgba(232, 93, 4, 0.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.process-dot::before {
  content: counter(step, decimal-leading-zero);
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: #e85d04;
}
.process-step:hover .process-dot {
  background: linear-gradient(135deg, #e85d04 0%, #f77f00 50%, #fcbf49 100%);
  border-color: transparent;
  box-shadow: 0 0 24px rgba(232,93,4,0.5);
}

.process-card {
  background: #111118;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 28px 32px;
  flex: 1;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.process-step:hover .process-card {
  border-color: rgba(232, 93, 4, 0.18);
  background: rgba(232,93,4,0.04);
}

.process-icon {
  font-size: 1.4rem;
  color: #e85d04;
  margin-bottom: 12px;
}
.process-card h3 {
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.process-card p { color: #8a8a9a; font-size: 0.9rem; line-height: 1.7; }

/* ============================================
   TEAM
   ============================================ */
#team {
  padding: 120px 0;
  background: linear-gradient(180deg, #0c0c10 0%, #111118 100%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-grid--two {
  grid-template-columns: repeat(2, 360px);
  justify-content: center;
}

.team-card {
  background: #1a1a24;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.team-card:hover {
  border-color: rgba(232, 93, 4, 0.18);
  transform: translateY(-6px);
  box-shadow: 0 8px 40px rgba(232, 93, 4, 0.12);
}

.team-avatar {
  width: 80px; height: 80px;
  box-sizing: border-box;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  border: 2px solid #e85d04;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #e85d04;
  margin: 0 auto 16px;
  position: relative;
  box-shadow: 0 0 20px rgba(232,93,4,0.15);
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.team-card:hover .team-avatar { box-shadow: 0 0 30px rgba(232,93,4,0.4); }

.team-avatar-ring {
  position: absolute;
  top: -6px; left: -6px; right: -6px; bottom: -6px;
  border-radius: 50%;
  border: 1px solid rgba(232,93,4,0.2);
  animation: avatarPulse 3s ease-in-out infinite;
}
@keyframes avatarPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%       { transform: scale(1.05); opacity: 1; }
}

.team-info h3 {
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.team-role {
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #e85d04;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.team-info p {
  color: #8a8a9a;
  font-size: 0.84rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
#testimonials {
  padding: 120px 0;
  background: #000000;
  overflow: hidden;
}

.testimonials-track { position: relative; overflow: hidden; }
.testimonials-slider {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-card {
  background: #111118;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 36px;
  min-width: calc(100% - 24px);
  flex-shrink: 0;
  margin: 0 12px;
  transition: border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}
.testimonial-card:hover { border-color: rgba(232, 93, 4, 0.18); }

.testi-stars { color: #fcbf49; margin-bottom: 16px; letter-spacing: 3px; }
.testimonial-card p {
  color: #c0c0d0;
  font-size: 0.95rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle, hsl(22,70%,20%) 0%, hsl(22,50%,8%) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.testi-author span { font-size: 0.78rem; color: #8a8a9a; }

.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}
.testi-controls button {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #111118;
  border: 1px solid rgba(255,255,255,0.06);
  color: #8a8a9a;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.testi-controls button:hover {
  background: #e85d04;
  border-color: #e85d04;
  color: #ffffff;
}
.testi-dots { display: flex; gap: 8px; }
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 99px;
  background: #1a1a24;
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.testi-dot.active {
  width: 24px;
  background: #e85d04;
  border-color: #e85d04;
}

/* ============================================
   CONTACT
   ============================================ */
#contact {
  padding: 120px 0;
  background: linear-gradient(180deg, #000000 0%, #111118 100%);
  position: relative;
}
#contact::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(232, 93, 4, 0.18), transparent);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

.contact-info p {
  color: #8a8a9a;
  margin-bottom: 40px;
  line-height: 1.8;
}

.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.contact-item { display: flex; align-items: center; gap: 16px; }
.contact-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(232,93,4,0.1);
  border: 1px solid rgba(232, 93, 4, 0.18);
  display: flex; align-items: center; justify-content: center;
  color: #e85d04;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 0.82rem; font-family: 'Orbitron', 'Exo 2', sans-serif; letter-spacing: 0.06em; margin-bottom: 3px; }
.contact-item span { color: #8a8a9a; font-size: 0.9rem; }

/* Form */
.contact-form-wrap {
  background: #1a1a24;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 40px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group label {
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #c0c0d0;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 13px 16px;
  color: #ffffff;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.92rem;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #e85d04;
  background: rgba(232,93,4,0.06);
  box-shadow: 0 0 0 3px rgba(232,93,4,0.12);
}
.form-group select option { background: #111118; color: #ffffff; }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(100, 200, 100, 0.08);
  border: 1px solid rgba(100, 200, 100, 0.2);
  border-radius: 12px;
  color: #7bc67a;
  font-size: 0.9rem;
  margin-top: 16px;
}
.form-success[hidden] { display: none; }

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: #000000;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px 0 20px;
}

.footer-grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.footer-brand {
  flex: 0 0 auto;
  text-align: center;
}

/* Footer orbit animation */
.footer-orbit {
  position: relative;
  width: 210px;
  height: 210px;
  margin: 0 auto 6px;
}

/* ---- orbit rings: centred with negative margin, animate rotation only ---- */
.footer-orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(232, 93, 4, 0.18);
  top: 50%; left: 50%;
}
.fo-ring-1 {
  width: 168px; height: 168px;
  margin-top: -84px; margin-left: -84px;
  animation: foRing1 15s linear infinite;
}
.fo-ring-2 {
  width: 210px; height: 210px;
  margin-top: -105px; margin-left: -105px;
  border-color: rgba(247,127,0,0.15);
  animation: foRing2 25s linear infinite;
}
.fo-ring-3 {
  width: 130px; height: 130px;
  margin-top: -65px; margin-left: -65px;
  border-color: rgba(252,191,73,0.12);
  animation: foRing3 10s linear infinite;
}
@keyframes foRing1 { from { transform: rotate(0deg);   } to { transform: rotate(360deg);  } }
@keyframes foRing2 { from { transform: rotate(360deg); } to { transform: rotate(0deg);   } }
@keyframes foRing3 { from { transform: rotate(0deg);   } to { transform: rotate(360deg);  } }

.footer-orbit-core {
  position: absolute;
  width: 110px; height: 110px;
  top: 50%; left: 50%;
  margin-top: -55px; margin-left: -55px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 35% 35%, #3d0e00 0%, #1a0500 50%, #0a0200 100%);
  box-shadow: 0 0 30px rgba(232,93,4,0.3), 0 0 60px rgba(232,93,4,0.1);
}

/* ---- orbit dots: anchor at centre, orbit via rotate+translateX ---- */
.footer-orbit-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  top: 50%; left: 50%;
  margin-top: -4px; margin-left: -4px;
}
.fo-dot-1 { background: #e85d04; box-shadow: 0 0 10px #e85d04; animation: foOrbit1 15s linear infinite; }
.fo-dot-2 { background: #fcbf49; box-shadow: 0 0 10px #fcbf49; animation: foOrbit2 25s linear infinite; }
.fo-dot-3 { background: #d62828; box-shadow: 0 0 10px #d62828; animation: foOrbit3 10s linear infinite; }

@keyframes foOrbit1 {
  from { transform: rotate(0deg)   translateX(84px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(84px) rotate(-360deg); }
}
@keyframes foOrbit2 {
  from { transform: rotate(60deg)  translateX(105px) rotate(-60deg); }
  to   { transform: rotate(420deg) translateX(105px) rotate(-420deg); }
}
@keyframes foOrbit3 {
  from { transform: rotate(120deg) translateX(65px) rotate(-120deg); }
  to   { transform: rotate(480deg) translateX(65px) rotate(-480deg); }
}

.footer-orbit-logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  z-index: 2;
  border-radius: 50%;
  overflow: hidden;
}

.footer-tagline {
  color: #8a8a9a;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 0;
  text-align: center;
  white-space: nowrap;
}
.footer-tagline span {
  display: block;
  color: #8a8a9a;
}

.footer-links {
  flex: 0 0 auto;
  min-width: 0;
}
.footer-links h4 {
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 10px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 6px; }
.footer-links li a { color: #8a8a9a; font-size: 0.92rem; transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.footer-links li a:hover { color: #e85d04; padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { color: #8a8a9a; font-size: 0.82rem; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp   { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn     { from { opacity: 0; } to { opacity: 1; } }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .portfolio-grid   { grid-template-columns: repeat(2, 1fr); }
  .team-grid        { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .about-grid       { grid-template-columns: 1fr; }
  .about-visual     { margin: 0 auto 40px; }
  .about-content    { padding-left: 0; }
  .portfolio-grid   { grid-template-columns: repeat(2, 1fr); }
  .contact-wrapper  { grid-template-columns: 1fr; }
  .team-grid--two   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 52px; left: 0; right: 0;
    background: rgba(0,0,0,0.96);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px 32px 32px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    animation: fadeInDown 0.3s ease;
    z-index: 999;
  }
  .nav-links.open .nav-link { padding: 14px 0; font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links.open .nav-cta-mobile {
    display: flex;
    margin-top: 16px;
    font-family: 'Orbitron', 'Exo 2', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #ffffff;
    background: linear-gradient(135deg, #e85d04 0%, #f77f00 50%, #fcbf49 100%);
    padding: 12px 24px;
    border-radius: 12px;
    justify-content: center;
  }

  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { width: 100%; height: 1px; }

  .portfolio-grid { grid-template-columns: 1fr; }
  .team-grid      { grid-template-columns: 1fr 1fr; }
  .team-grid--two { grid-template-columns: 1fr; }
  .footer-grid    { flex-wrap: wrap; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .form-row       { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }

  #about, #portfolio, #process, #team, #testimonials, #contact { padding: 80px 0; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-tagline { white-space: normal; }
}
