/* Custom CSS for WebAltai Digital Masterpiece Homepage — Slate Dark Theme V2 */

:root {
  /* Colors */
  --bg-dark: #02080f;
  --bg-navy: #061320;
  --bg-card: rgba(8, 25, 42, 0.45);
  --bg-card-hover: rgba(12, 38, 64, 0.65);
  
  --teal: #38bfa7;
  --teal-glow: rgba(56, 191, 167, 0.22);
  --mint: #8bead8;
  --white: #ffffff;
  --text-main: #f0f5fa;
  --text-muted: #849cae;
  
  --border-line: rgba(56, 191, 167, 0.1);
  --border-line-hover: rgba(56, 191, 167, 0.35);
  
  /* Layout & Design */
  --radius: 24px;
  --radius-small: 12px;
  --shell: min(1200px, calc(100% - 48px));
  --font-headers: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions */
  --transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  background: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

/* Hide the native cursor only after JS confirms the custom cursor is active. */
@media (min-width: 960px) and (hover: hover) and (pointer: fine) {
  .has-custom-cursor body {
    cursor: none;
  }
  
  .has-custom-cursor a,
  .has-custom-cursor button,
  .has-custom-cursor input,
  .has-custom-cursor textarea,
  .has-custom-cursor select,
  .has-custom-cursor [role="button"],
  .has-custom-cursor .lang {
    cursor: none !important;
  }
}

/* Ambient Noise for High-End Texture */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Custom Cursor Follower */
.custom-cursor {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid var(--teal);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
  mix-blend-mode: screen;
  display: none;
}

.custom-cursor-dot {
  position: fixed;
  width: 4px;
  height: 4px;
  background: var(--teal);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
  display: none;
}

@media (min-width: 960px) and (hover: hover) and (pointer: fine) {
  .custom-cursor, .custom-cursor-dot {
    display: block;
  }
}

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}

/* Hover state for custom cursor */
.custom-cursor.hovered {
  width: 58px;
  height: 58px;
  background: rgba(56, 191, 167, 0.15);
  border-color: var(--mint);
  box-shadow: 0 0 20px var(--teal-glow);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-navy);
  border: 2px solid var(--bg-dark);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--teal);
}

/* Container shell */
.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--font-headers);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h1 em, h2 em, blockquote em {
  font-style: normal;
  color: var(--teal);
  background: linear-gradient(135deg, var(--mint), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  position: relative;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 99px;
  font-family: var(--font-headers);
  font-size: 13.5px;
  font-weight: 700;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button-small {
  height: 46px;
  padding: 0 24px;
  background: var(--bg-navy);
  color: var(--text-main);
  border: 1px solid var(--border-line);
}

.button-small:hover {
  background: var(--teal);
  color: var(--bg-dark);
  box-shadow: 0 10px 25px var(--teal-glow);
  transform: translateY(-2px);
  border-color: transparent;
}

.button-primary {
  height: 62px;
  padding: 0 8px 0 28px;
  gap: 20px;
  background: var(--teal);
  color: var(--bg-dark);
}

.button-primary b {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--text-main);
  font-size: 18px;
  transition: var(--transition);
}

.button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px var(--teal-glow);
}

.button-primary:hover b {
  transform: rotate(45deg);
  background: var(--white);
  color: var(--bg-dark);
}

.button-submit {
  width: 100%;
  height: 58px;
  background: var(--teal);
  color: var(--bg-dark);
  gap: 12px;
}

.button-submit b {
  font-size: 16px;
}

.button-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px var(--teal-glow);
}

/* Text links */
.text-link {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 2px solid var(--teal);
  padding-bottom: 4px;
  transition: var(--transition);
}

.text-link:hover {
  color: var(--teal);
  border-color: var(--white);
  padding-bottom: 6px;
}

/* Ambient Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.15;
  z-index: 0;
}

.orb-hero-1 {
  width: 450px;
  height: 450px;
  right: -5%;
  top: 5%;
  background: radial-gradient(circle, var(--teal) 0%, rgba(0,0,0,0) 70%);
  opacity: 0.28;
}

.orb-hero-2 {
  width: 300px;
  height: 300px;
  left: 10%;
  bottom: 10%;
  background: radial-gradient(circle, #2496ed 0%, rgba(0,0,0,0) 70%);
  opacity: 0.18;
}

.orb-portfolio {
  width: 500px;
  height: 500px;
  left: -15%;
  top: 30%;
  background: radial-gradient(circle, var(--teal) 0%, rgba(0,0,0,0) 70%);
  opacity: 0.15;
}

.orb-contact {
  width: 400px;
  height: 400px;
  right: -10%;
  bottom: 5%;
  background: radial-gradient(circle, var(--mint) 0%, rgba(0,0,0,0) 70%);
  opacity: 0.2;
}

/* Header styling */
.site-header {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--shell);
  margin: auto;
  border-bottom: 1px solid var(--border-line);
  position: relative;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.1s ease;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  width: auto;
  height: auto;
  max-height: 42px;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 0 10px rgba(56, 191, 167, 0.4));
}

.logo-svg {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 0 10px rgba(56, 191, 167, 0.4));
}

.brand-name {
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.04em;
}

.brand-name span {
  color: var(--teal);
}

.desktop-nav {
  display: flex;
  gap: 36px;
  background: rgba(8, 25, 42, 0.35);
  border: 1px solid var(--border-line);
  padding: 8px 24px;
  border-radius: 99px;
  backdrop-filter: blur(12px);
}

.desktop-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: var(--transition);
  transform: translateX(-50%);
}

.desktop-nav a:hover {
  color: var(--text-main);
}

.desktop-nav a:hover::after {
  width: 100%;
}

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

/* Language Dropdown switcher */
.language-dropdown {
  display: flex;
  background: var(--bg-navy);
  border: 1px solid var(--border-line);
  border-radius: 99px;
  padding: 4px;
}

.lang {
  border: none;
  background: none;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 99px;
  transition: var(--transition);
}

.lang.active {
  color: var(--bg-dark);
  background: var(--teal);
}

.lang:hover:not(.active) {
  color: var(--text-main);
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  background: var(--bg-navy);
  border: 1px solid var(--border-line);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition);
}

/* Open Mobile Menu State */
.site-header.open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.site-header.open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 9, 16, 0.98);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(24px);
  transition: 0.3s ease-in-out;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-nav a {
  color: var(--text-main);
  text-decoration: none;
  font-family: var(--font-headers);
  font-size: 24px;
  font-weight: 700;
}

.mobile-nav a:hover {
  color: var(--teal);
}

/* Hero Section */
.hero {
  min-height: 850px;
  padding: 120px 0 60px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--teal);
  margin-bottom: 24px;
}

.eyebrow > span:first-child {
  width: 24px;
  height: 2px;
  background: var(--teal);
}

.location-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #27c93f;
  border-radius: 50%;
  box-shadow: 0 0 10px #27c93f;
  animation: pulse 1.8s infinite;
}

h1 {
  font-size: clamp(48px, 6vw, 78px);
  line-height: 1.02;
  color: var(--text-main);
  margin-bottom: 28px;
  letter-spacing: -0.04em;
}

.hero-text {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 530px;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Interactive Control Hub Dashboard (10K+ aesthetics) */
.hero-hub {
  position: relative;
  height: 520px;
  width: 100%;
  perspective: 1500px;
}

.hub-grid-bg {
  position: absolute;
  inset: -10% -10% -10% -10%;
  opacity: 0.08;
  background-image: 
    linear-gradient(var(--teal) 1px, transparent 1px),
    linear-gradient(90deg, var(--teal) 1px, transparent 1px);
  background-size: 44px 44px;
  transform: rotateX(55deg) rotateZ(-15deg) translateZ(-40px);
  mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}

.hub-card {
  position: absolute;
  background: rgba(4, 12, 22, 0.75);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-small);
  backdrop-filter: blur(20px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.55), 0 0 30px rgba(56, 191, 167, 0.03);
  overflow: hidden;
  transition: var(--transition);
}

.hub-card-header {
  height: 38px;
  background: rgba(8, 25, 42, 0.5);
  border-bottom: 1px solid var(--border-line);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.hub-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.hub-status-dot.green { background: #27c93f; box-shadow: 0 0 8px #27c93f; }
.hub-status-dot.pink { background: #ff5f56; box-shadow: 0 0 8px #ff5f56; }

.hub-card-title {
  color: var(--text-main);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-headers);
}

.hub-card-tag {
  color: var(--text-muted);
  font-size: 9px;
  font-family: monospace;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Card 1: DevOps Monitor */
.devops-card {
  width: 350px;
  height: 280px;
  left: 2%;
  top: 8%;
  transform: rotateY(-18deg) rotateX(12deg) rotateZ(-4deg) translateZ(40px);
  z-index: 3;
  animation: hubFloat 7s ease-in-out infinite alternate;
}

.devops-metrics {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.devops-metric span, .devops-submetric span {
  display: block;
  font-size: 9.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.devops-metric strong {
  display: block;
  font-size: 18px;
  color: var(--text-main);
  font-family: var(--font-headers);
}

.progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--mint);
  border-radius: 2px;
  transition: width 1s ease-in-out;
}

.devops-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 4px;
}

.devops-submetric strong {
  font-size: 13.5px;
}

.green-text { color: #27c93f; }
.teal-text { color: var(--teal); }

.devops-chart {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 38px;
  overflow: hidden;
}

.live-chart {
  width: 100%;
  height: 100%;
}

/* Card 2: SMM Canvas */
.smm-card {
  width: 320px;
  height: 270px;
  right: 2%;
  bottom: 10%;
  transform: rotateY(14deg) rotateX(10deg) rotateZ(3deg) translateZ(80px);
  z-index: 4;
  animation: hubFloat 7s ease-in-out infinite alternate-reverse 1.5s;
}

.smm-post-preview {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.smm-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 10px;
}

.smm-post-preview strong {
  display: block;
  font-size: 12px;
}

.smm-post-preview small {
  display: block;
  font-size: 9px;
  color: var(--text-muted);
}

.smm-graph-bars {
  padding: 16px 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 110px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.smm-bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 25px;
}

.smm-bar-fill {
  width: 6px;
  background: var(--bg-navy);
  border: 1px solid var(--border-line);
  border-radius: 3px;
  height: 0;
  transition: height 1s;
}

.smm-bar-group span {
  font-size: 8.5px;
  color: var(--text-muted);
}

.smm-bar-group.text-glow {
  width: 100px;
  align-items: flex-end;
  text-align: right;
  gap: 2px;
}

.smm-bar-group.text-glow strong {
  font-size: 20px;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(39, 201, 63, 0.2);
}

.smm-stats-grid {
  padding: 10px 20px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
}

.smm-stats-grid span {
  display: block;
  font-size: 8.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.smm-stats-grid strong {
  display: block;
  font-size: 13.5px;
}

/* Card hover scaling */
.hero-hub:hover .hub-card {
  border-color: var(--border-line-hover);
  box-shadow: 0 45px 90px rgba(0, 0, 0, 0.65), 0 0 40px rgba(56, 191, 167, 0.08);
}

/* Stats Row */
.hero-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border-line);
  padding-top: 36px;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 160px) 1fr;
  gap: 24px;
}

.hero-bottom div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.hero-bottom strong {
  font-size: 32px;
  color: var(--teal);
  font-family: var(--font-headers);
}

.hero-bottom span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-bottom p {
  text-align: right;
  font-size: 12.5px;
  color: var(--text-muted);
  align-self: center;
}

/* Section Headings Styling */
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.section-number {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  display: block;
}

.section-heading h2 {
  font-size: clamp(38px, 4.8vw, 58px);
  line-height: 1.08;
  max-width: 720px;
}

.section-heading > p {
  max-width: 380px;
  color: var(--text-muted);
  font-size: 15px;
}

/* Services Grid Section */
.services {
  padding: 120px 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  min-height: 310px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, background-color 0.3s, transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(56, 191, 167, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

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

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-line-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Featured Service */
.service-card.featured {
  background: linear-gradient(135deg, rgba(8, 25, 42, 0.85) 0%, rgba(12, 45, 74, 0.85) 100%);
  border-color: rgba(56, 191, 167, 0.25);
}

.service-card.featured:hover {
  border-color: var(--teal);
}

.service-card.dark {
  background: #03080d;
}

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--bg-navy);
  border: 1px solid var(--border-line);
  color: var(--teal);
  display: grid;
  place-items: center;
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.demand {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border: 1px solid var(--teal);
  color: var(--teal);
  border-radius: 99px;
  background: rgba(56, 191, 167, 0.05);
}

.service-card h3 {
  font-size: 26px;
  margin: 32px 0 12px;
  color: var(--text-main);
}

.service-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 26px;
  line-height: 1.6;
}

.service-card ul {
  display: flex;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
}

.service-card li {
  font-size: 10px;
  font-weight: 600;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 99px;
  color: var(--text-muted);
}

.service-link {
  position: absolute;
  right: 36px;
  bottom: 36px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 24px;
  transition: var(--transition);
}

.service-card:hover .service-link {
  color: var(--teal);
  transform: translate(3px, -3px);
}

.service-strip {
  margin-top: 60px;
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  padding: 24px 0;
  display: flex;
  gap: 32px;
  align-items: center;
}

.service-strip span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--teal);
}

.service-strip p {
  font-size: 14.5px;
  color: var(--text-muted);
}

/* Tech Stack Section (Modern modular hexagonal style wrapper) */
.tech-section {
  padding: 60px 0;
}

.tech-grid-wrapper {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.tech-hex-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 960px;
}

.tech-hex-cell {
  width: 210px;
  height: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hex-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.tech-hex-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(130px circle at 50% 50%, var(--hex-accent), transparent 70%);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.tech-hex-cell:hover::after {
  opacity: 0.16;
}

.tech-hex-cell:hover {
  border-color: var(--hex-accent);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 20px rgba(255,255,255,0.02);
}

.hex-logo {
  font-family: var(--font-headers);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: var(--transition);
}

.tech-hex-cell:hover .hex-logo {
  color: var(--white);
  transform: scale(1.1);
  text-shadow: 0 0 12px var(--hex-accent);
}

.hex-inner h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.hex-inner span {
  font-size: 11px;
  color: var(--text-muted);
}

/* Portfolio Work Section (Editorial column-based parallax styling) */
.work {
  padding: 120px 0;
  position: relative;
}

.projects-editorial-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 50px;
}

.editorial-project {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
  background: rgba(8, 25, 42, 0.25);
  border: 1px solid var(--border-line);
  border-radius: var(--radius);
  padding: 44px;
  transition: var(--transition);
}

.editorial-project.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.editorial-project.reverse .editorial-project-image {
  order: 2;
}

.editorial-project-image {
  position: relative;
  border-radius: var(--radius-small);
  overflow: hidden;
  height: 380px;
  border: 1px solid var(--border-line);
}

.editorial-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 13, 22, 0.5) 100%);
  pointer-events: none;
}

.editorial-project-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.project-tag {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--teal);
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 12px;
}

.editorial-project-content h3 {
  font-size: 36px;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.project-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.project-stats-badge {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 30px;
}

.project-stats-badge strong {
  font-size: 32px;
  color: var(--teal);
  font-family: var(--font-headers);
}

.project-stats-badge span {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.project-action-btn {
  font-family: var(--font-headers);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  border: 1px solid var(--border-line);
  background: var(--bg-navy);
  padding: 12px 24px;
  border-radius: 99px;
  transition: var(--transition);
}

.project-action-btn:hover {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--bg-dark);
  box-shadow: 0 10px 20px var(--teal-glow);
}

/* Parallax zoom triggers */
.editorial-project:hover {
  border-color: var(--border-line-hover);
  background: rgba(8, 25, 42, 0.45);
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.editorial-project:hover .editorial-project-image img {
  transform: scale(1.04);
}

/* Testimonials Section Styles */
.testimonials-section {
  padding: 100px 0;
}

.reviews-heading-side {
  width: min(100%, 420px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.reviews-heading-side > p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.google-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  color: var(--text-main);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
  transition: var(--transition);
}

.google-trust-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
}

.google-g {
  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 25% 45%, #fbbc05 45% 66%, #ea4335 66% 82%, #4285f4 82% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.google-badge-copy strong {
  color: #1f2937;
  font-size: 13px;
}

.google-badge-copy small {
  color: #64748b;
  font-size: 11px;
  margin-top: 4px;
}

.google-stars {
  color: #fbbc04;
  letter-spacing: 1px;
  margin-left: 5px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  backdrop-filter: blur(16px);
}

.testimonial-card:hover {
  border-color: var(--border-line-hover);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.testimonial-rating {
  color: var(--teal);
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-main);
  margin-bottom: 26px;
  font-style: italic;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-line);
  padding-top: 16px;
  margin-top: auto;
}

.user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-navy);
  border: 1px solid var(--border-line);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-headers);
}

.user-name {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
}

.user-role {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

/* Process Section */
.process {
  padding: 120px 0;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  margin-top: 40px;
}

.process-list article {
  padding: 40px 24px;
  border-right: 1px solid var(--border-line);
  transition: var(--transition);
}

.process-list article:last-child {
  border-right: none;
}

.process-list article > span {
  font-size: 11px;
  font-weight: 800;
  color: var(--teal);
  display: block;
  margin-bottom: 16px;
}

.process-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-navy);
  border: 1px solid var(--border-line);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}

.process-icon svg {
  width: 20px;
  height: 20px;
}

.process-list h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.process-list p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.process-list article:hover {
  background: rgba(56, 191, 167, 0.03);
}

/* FAQ Section (2 Column Accordion Layout) */
.faq-section {
  padding: 100px 0;
}

.faq-accordion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 50px;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border-line);
  border-radius: var(--radius-small);
  background: var(--bg-card);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-line-hover);
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-headers);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
}

.faq-toggle-icon {
  font-size: 20px;
  color: var(--teal);
  font-weight: 300;
  transition: transform 0.3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  padding-bottom: 24px;
  padding-top: 4px;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

/* About Quote Section */
.about {
  background: linear-gradient(135deg, rgba(8, 25, 42, 0.5) 0%, rgba(5, 18, 30, 0.5) 100%);
  border: 1px solid var(--border-line);
  border-radius: var(--radius);
  padding: 80px max(24px, calc((100% - 1000px)/2));
  text-align: center;
  position: relative;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 80px;
  color: var(--teal);
  line-height: 1;
  height: 40px;
  margin-bottom: 20px;
  opacity: 0.3;
}

.about blockquote {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}

.about-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-line);
  padding-top: 24px;
  max-width: 600px;
  margin-inline: auto;
}

.founder {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.founder > span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--bg-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.founder strong {
  display: block;
  font-size: 13px;
}

.founder small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.about-foot p {
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
  line-height: 1.4;
}

/* Contact Section & Form */
.contact {
  padding: 120px 0 60px;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: flex-start;
  margin-top: 40px;
}

.contact-grid h2 {
  font-size: clamp(38px, 4.8vw, 58px);
  line-height: 1.1;
  margin-bottom: 24px;
}

.contact-grid p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 420px;
  margin-bottom: 30px;
}

/* Quick Messaging Portal */
.quick-messaging-portal {
  margin-bottom: 36px;
}

.portal-heading {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--teal);
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.portal-links {
  display: flex;
  gap: 12px;
}

.portal-btn {
  font-family: var(--font-headers);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 99px;
  border: 1px solid var(--border-line);
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.portal-btn.tg { background: rgba(36, 161, 222, 0.08); border-color: rgba(36, 161, 222, 0.2); }
.portal-btn.wa { background: rgba(37, 211, 102, 0.08); border-color: rgba(37, 211, 102, 0.2); }

.portal-btn.tg:hover { border-color: #36a1de; background: #36a1de; color: var(--bg-dark); box-shadow: 0 10px 20px rgba(36, 161, 222, 0.2); }
.portal-btn.wa:hover { border-color: #25d366; background: #25d366; color: var(--bg-dark); box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2); }

/* Partnerships */
.partnership-box {
  border-top: 1px dashed var(--border-line);
  padding-top: 24px;
  max-width: 400px;
}

.partnership-label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.partners-logos {
  display: flex;
  gap: 24px;
  align-items: center;
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 11px;
  color: var(--text-muted);
}

.contact-form-container {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius);
  padding: 44px;
  backdrop-filter: blur(20px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 16px;
  background: var(--bg-navy);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-small);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 13.5px;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 12px rgba(56, 191, 167, 0.12);
}

/* Floating Label Animation */
.form-group label {
  position: absolute;
  left: 16px;
  top: 16px;
  font-size: 13.5px;
  color: var(--text-muted);
  pointer-events: none;
  transition: 0.2s ease all;
}

/* When input is focused or not empty, slide label up */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -8px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  background: var(--bg-navy);
  padding: 0 6px;
  color: var(--teal);
  border-radius: 4px;
}

.form-status {
  font-size: 12.5px;
  text-align: center;
  margin-top: 8px;
}

.form-honeypot {
  position: fixed;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status.success {
  color: var(--teal);
}

.form-status.error {
  color: #ff5f56;
}

.form-status a {
  color: inherit;
  font-weight: 700;
  text-underline-offset: 3px;
}

.button-submit:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

/* Contact Details Footer Row */
.contact-details {
  display: flex;
  gap: 48px;
  border-top: 1px solid var(--border-line);
  margin-top: 60px;
  padding-top: 30px;
}

.contact-details a, .contact-details span {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  transition: var(--transition);
}

.contact-details a:hover {
  color: var(--teal);
}

/* Footer styling */
.site-footer {
  border-top: 1px solid var(--border-line);
  padding: 40px 0 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  transform: scale(0.9);
  transform-origin: left;
}

.site-footer p {
  font-size: 11px;
  color: var(--text-muted);
}

.footer-legal-copy {
  line-height: 1.7;
}

.footer-company {
  display: block;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--teal);
}

/* Floating Animations */
@keyframes floatCard {
  0% {
    transform: rotateY(-15deg) rotateX(10deg) rotateZ(-3deg) translateZ(30px) translateY(0px);
  }
  100% {
    transform: rotateY(-15deg) rotateX(10deg) rotateZ(-3deg) translateZ(30px) translateY(-15px);
  }
}

@keyframes hubFloat {
  0% {
    transform: rotateY(-18deg) rotateX(12deg) rotateZ(-4deg) translateZ(40px) translateY(0px);
  }
  100% {
    transform: rotateY(-18deg) rotateX(12deg) rotateZ(-4deg) translateZ(40px) translateY(-15px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(39, 201, 99, 0.5);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(39, 201, 99, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(39, 201, 99, 0);
  }
}

/* Scroll Reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Responsive Styles */
@media (max-width: 960px) {
  :root {
    --shell: calc(100% - 36px);
  }
  
  .desktop-nav {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
    flex: 0 0 46px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-actions > .button-small {
    display: none;
  }
  
  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
    min-height: auto;
  }
  
  .hero-hub {
    height: 480px;
    margin-top: 40px;
  }
  
  .devops-card {
    width: 290px;
    left: 2%;
    top: 5%;
  }
  
  .smm-card {
    width: 270px;
    right: 2%;
  }
  
  .hero-bottom {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-bottom p {
    display: none;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-hex-grid {
    max-width: 500px;
  }
  
  .editorial-project {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
  }
  
  .editorial-project.reverse {
    grid-template-columns: 1fr;
  }
  
  .editorial-project.reverse .editorial-project-image {
    order: 0;
  }
  
  .editorial-project-image {
    height: 300px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-accordion-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-list article:nth-child(2) {
    border-right: none;
  }
  
  .process-list article:nth-child(-n+2) {
    border-bottom: 1px solid var(--border-line);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .glow-orb {
    width: 100%;
    max-width: 100%;
  }

  .orb-hero-1, .orb-contact {
    right: 0;
  }

  .orb-portfolio, .orb-hero-2 {
    left: 0;
  }

  .hero-hub {
    overflow: hidden;
    border-radius: var(--radius);
  }

  .site-header {
    height: 86px;
  }

  .reviews-heading-side {
    width: 100%;
  }

  .google-trust-badge {
    width: 100%;
  }

  .site-header .logo-img {
    max-height: 32px;
    max-width: 138px;
  }

  .header-actions {
    gap: 8px;
  }

  .language-dropdown {
    padding: 3px;
  }

  .lang {
    padding: 5px 8px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .hero {
    padding-top: 40px;
  }
  
  h1 {
    font-size: 38px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  
  .button-primary {
    width: 100%;
    justify-content: space-between;
  }
  
  .hero-hub {
    height: 380px;
  }
  
  .devops-card {
    width: 250px;
    left: 0;
  }
  
  .smm-card {
    width: 240px;
    right: 0;
  }
  
  .hero-bottom {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-bottom div:nth-child(3) {
    display: none;
  }
  
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .tech-hex-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-hex-cell {
    width: 100%;
    height: 140px;
    padding: 20px;
  }
  
  .hex-inner {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 20px;
  }
  
  .hex-inner h4 {
    margin-bottom: 2px;
  }
  
  .hex-logo {
    margin-bottom: 0;
    font-size: 24px;
    width: 50px;
  }
  
  .editorial-project-image {
    height: 220px;
  }
  
  .editorial-project-content h3 {
    font-size: 28px;
  }
  
  .process-list {
    grid-template-columns: 1fr;
  }
  
  .process-list article {
    border-right: none !important;
    border-bottom: 1px solid var(--border-line) !important;
  }
  
  .process-list article:last-child {
    border-bottom: none !important;
  }
  
  .about-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .about-foot p {
    text-align: left;
  }
  
  .contact-form-container {
    padding: 24px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .portal-links {
    flex-direction: column;
  }
  
  .contact-details {
    flex-direction: column;
    gap: 12px;
  }
  
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .custom-cursor, .custom-cursor-dot {
    display: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Subpage Expansion Styles */

.about-hero-section, .services-hero-section, .portfolio-hero-section, .process-hero-section, .contact-page-section {
  padding: 140px 0 60px;
  position: relative;
}

.about-lead-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 800px;
  margin-top: 24px;
}

/* About Values */
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--border-line-hover);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
}

.value-num {
  font-family: var(--font-headers);
  font-size: 32px;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Team Section */
.team-section {
  padding: 80px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  gap: 28px;
  align-items: center;
  transition: var(--transition);
}

.team-card:hover {
  border-color: var(--border-line-hover);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-navy);
  border: 1px solid var(--border-line);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font-headers);
  flex-shrink: 0;
}

.team-meta h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.team-meta span {
  display: block;
  font-size: 12px;
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.team-meta p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.about-quote-container {
  max-width: 900px;
  margin: 100px auto;
  text-align: center;
}

.office-coords {
  margin-top: 30px;
  border-top: 1px dashed var(--border-line);
  padding-top: 24px;
}

.office-coords strong {
  display: block;
  font-size: 15px;
}

.office-coords span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Portfolio Filters */
.portfolio-filters {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-headers);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid var(--border-line);
  background: var(--bg-card);
  padding: 10px 22px;
  border-radius: 99px;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  border-color: var(--teal);
  color: var(--bg-dark);
  background: var(--teal);
  box-shadow: 0 10px 20px var(--teal-glow);
}

/* Timeline Flow */
.timeline-flow {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 50px;
  position: relative;
}

.timeline-flow::before {
  content: "";
  position: absolute;
  left: 36px;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: var(--border-line);
  z-index: 0;
}

.timeline-step {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius);
  padding: 36px;
  transition: var(--transition);
}

.timeline-step:hover {
  border-color: var(--border-line-hover);
  background: var(--bg-card-hover);
  transform: translateX(8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.step-badge {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-small);
  background: var(--bg-navy);
  border: 1px solid var(--border-line);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-family: var(--font-headers);
  font-size: 28px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: var(--transition);
}

.timeline-step:hover .step-badge {
  background: var(--teal);
  color: var(--bg-dark);
  border-color: transparent;
  box-shadow: 0 8px 20px var(--teal-glow);
}

.step-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.step-content p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 850px;
}

.step-duration {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--teal);
  letter-spacing: 0.5px;
}

/* Services Expanded Detailed Cards */
.services-detail-list {
  padding: 40px 0 100px;
}

.services-expanded-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 20px;
}

.service-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius);
  padding: 44px;
  position: relative;
  transition: var(--transition);
}

.service-detail-card:hover {
  border-color: var(--border-line-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.detail-badge {
  position: absolute;
  right: 44px;
  top: 44px;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 12px;
  border: 1px solid var(--teal);
  color: var(--teal);
  border-radius: 99px;
  background: rgba(56, 191, 167, 0.05);
}

.detail-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 20px;
}

.detail-header h2 {
  font-size: 32px;
}

.detail-price {
  font-size: 14.5px;
  color: var(--teal);
  font-weight: 700;
}

.detail-desc {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 800px;
  margin-bottom: 36px;
}

.detail-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  border-top: 1px solid var(--border-line);
  padding-top: 36px;
}

.detail-features-grid strong {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.detail-features-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-features-grid li {
  font-size: 13.5px;
  color: var(--text-muted);
  position: relative;
  padding-left: 20px;
}

.detail-features-grid li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tags span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border-line);
  padding: 8px 16px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.01);
}

/* Media Queries for Subpages */
@media (max-width: 960px) {
  .about-values-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .detail-features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .service-detail-card {
    padding: 24px;
  }
  .detail-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 24px;
  }
  .detail-badge {
    left: 24px;
    right: auto;
    top: 20px;
  }
  .team-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .timeline-flow::before {
    left: 24px;
  }
  .timeline-step {
    padding: 24px;
    gap: 20px;
  }
  .step-badge {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
}
