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

:root {
  --bg-main: #0a0d17;
  --bg-card: #12162578;
  --bg-card-solid: #131829;
  --border-soft: rgba(255, 255, 255, 0.08);
  --text-white: #ffffff;
  --text-gray: #9aa1b4;
  --accent-orange: #f5821f;
  --accent-orange-light: #ff9d4d;
  --accent-blue: #3b82f6;
  --font-main: "Poppins", "Vazirmatn", sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;

  padding: 0 clamp(16px, 4vw, 24px);
}

.btn-orange {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  background: var(--accent-orange);
  color: #fff;
  border-radius: 40px;
  font-weight: 600;
  font-size: 15px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  isolation: isolate;
}

.btn-orange:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(245, 130, 31, 0.35);
}

.btn-orange::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: skewX(-25deg);
  transition: left 0.6s ease;
  z-index: 1;
}

.btn-orange:hover::before {
  left: 125%;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border: 1px solid var(--border-soft);
  border-radius: 40px;
  color: var(--text-white);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 22px 0;
  background: rgba(10, 13, 23, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);

  animation: headerFadeDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes headerFadeDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 15px;
  color: var(--text-gray);
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a::after {

  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-orange);
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: var(--text-white);
}

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

.nav-links a.active {
  color: var(--text-white);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
}

.hero {
  position: relative;
  padding: 90px 0 40px;
  text-align: center;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.28;
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  background: var(--accent-orange);
  top: -160px;
  left: -120px;
  animation: heroBlobFloat1 13s ease-in-out infinite;
}

.hero::after {
  background: var(--accent-blue);
  top: 20px;
  right: -150px;
  animation: heroBlobFloat2 16s ease-in-out infinite;
}

@keyframes heroBlobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 40px) scale(1.15); }
}

@keyframes heroBlobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 50px) scale(1.1); }
}

@media (max-width: 640px) {
  .hero::before,
  .hero::after {
    width: 280px;
    height: 280px;
    filter: blur(80px);
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.hero-bg img {
  height: 100%;
  object-fit: cover;
  filter: blur(1px) brightness(0.6);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 13, 23, 0.55) 0%,
    rgba(10, 13, 23, 0.8) 65%,
    var(--bg-main) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {

  font-size: clamp(30px, 7vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  color: var(--text-gray);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 30px;
}

.video-wrapper {
  position: relative;
  max-width: 950px;
  margin: 40px auto 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: #000;
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.4s ease;
  will-change: transform;
}

.video-wrapper {
  animation: videoGlowPulse 5s ease-in-out infinite;
}

@keyframes videoGlowPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(245, 130, 31, 0); }
  50% { box-shadow: 0 25px 60px rgba(245, 130, 31, 0.12); }
}

.video-wrapper video {
  width: 100%;
  display: block;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease;
  z-index: 3;
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--accent-orange-light);
}

.video-play-btn::before {
  content: "";
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
  z-index: 1;
}

.video-play-btn::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 130, 31, 0.55);
  animation: playBtnPulseRing 2.4s ease-out infinite;
}

@keyframes playBtnPulseRing {
  0% { transform: scale(0.86); opacity: 0.9; }
  100% { transform: scale(1.4); opacity: 0; }
}

.video-wrapper.is-playing .video-play-btn {
  opacity: 0;
  pointer-events: none;
}

.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: clamp(6px, 2vw, 12px);
  padding: 8px clamp(10px, 3vw, 16px);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  z-index: 3;
}

.video-controls button {
  background: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.video-controls button:hover {
  color: var(--accent-orange-light);
  transform: scale(1.1);
}

.video-controls button svg {
  width: 18px;
  height: 18px;
  display: block;
}

.video-progress {
  position: relative;
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  cursor: pointer;
}

.video-progress-fill {
  position: relative;
  height: 100%;
  width: 0%;
  background: var(--accent-orange);
  border-radius: 4px;
}

.video-progress-fill::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(245, 130, 31, 0.9);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.video-progress:hover .video-progress-fill::after {
  opacity: 1;
}

.video-time {
  font-size: 13px;
  color: #ddd;
  min-width: 40px;
}

.brands-section {
  padding: 40px 0;
  overflow: hidden;
}

.brands-title {
  margin: 0 0 30px;
  color: #f3f3f7;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
}

.brands-track.is-ready {
  animation: scrollBrandsCentered 16s linear infinite;
}

.brands-set {
  display: flex;
  gap: 70px;
  align-items: center;
  flex: 0 0 auto;
  padding: 0 35px;
}

.brands-set span:nth-child(n + 6) {
  display: none;
}

.brands-track-wrapper {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
}

.brands-track {
  display: flex;
  gap: 70px;
  width: max-content;
  align-items: center;
  animation: scrollBrands 22s linear infinite;
}

.brands-track:has(span:hover) {
  animation-play-state: paused;
}

.brands-track.is-paused {
  animation-play-state: paused;
}

.brands-track span {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-gray);
  white-space: nowrap;
  opacity: 0.7;
  display: inline-block;
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.brands-track span:hover {
  opacity: 1;
  color: #fff;
  transform: scale(1.12);
}

@keyframes scrollBrands {
  from {transform: translate(-50%,0)}
  to {transform: translate(0,0)}
}

@keyframes scrollBrandsCentered {
  from { transform: translateX(var(--brands-start)); }
  to { transform: translateX(var(--brands-end)); }
}

.section {
  padding: 90px 0;
}

.section-heading {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.section-heading h2 {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 700;
  margin-bottom: 14px;
}

.section-heading p {
  color: var(--text-gray);
  font-size: 15px;
}

.techstack-heading {
  max-width: 700px;
}

.techstack-heading h2 {
  font-size: clamp(28px, 6vw, 46px);
}

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

.service-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 32px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: rgba(245, 130, 31, 0.4);
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.35);
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-icon {
  transform: scale(1.12) rotate(-6deg);
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-gray);
  font-size: 14px;
}

.center-btn {
  display: flex;
  justify-content: center;
}

.techstack-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 2vw, 18px);
  max-width: 780px;
  margin: 0 auto;
}

.techstack-node {
  width: clamp(44px, 9vw, 64px);
  height: clamp(44px, 9vw, 64px);
  border-radius: 14px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(14px, 3vw, 22px);
  font-weight: 700;
  color: var(--node-color, #fff);
  flex-shrink: 0;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.techstack-node:hover {
  transform: scale(1.12);
  border-color: rgba(245, 130, 31, 0.4);
}

.techstack-connector {
  flex: 1 1 auto;
  height: 1px;
  min-width: 10px;
  max-width: 70px;
  background: linear-gradient(90deg, transparent, rgba(245, 130, 31, 0.55), transparent);
}

.techstack-hub {
  width: clamp(84px, 18vw, 120px);
  height: clamp(84px, 18vw, 120px);
  border-radius: 50%;
  background: var(--accent-orange);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: clamp(9px, 2.3vw, 12px);
  font-weight: 600;
  flex-shrink: 0;
  box-shadow: 0 0 60px rgba(245, 130, 31, 0.35);
  padding: 0 6px;
}

.techstack-hub-sub {
  font-size: 0.92em;
  opacity: 0.8;
}

.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 40px;
}

.content-split-media {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #1c2333, #0e1220);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

.content-split-text h2 {
  font-size: 30px;
  margin-bottom: 16px;
}

.content-split-text p {
  color: var(--text-gray);
  margin-bottom: 24px;
  font-size: 15px;
}

.timeline {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--border-soft);
}

.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 70px;
}

.timeline-step:nth-child(even) .timeline-text {
  order: 1;
}

.timeline-step:nth-child(even) .timeline-media {
  order: 2;
}

.timeline-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  z-index: 2;
}

.timeline-text h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.timeline-text p {
  color: var(--text-gray);
  font-size: 14px;
}

.timeline-media {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #1c2333, #0e1220);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  font-size: 13px;
  text-align: center;
  padding: 0;
}

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

.testimonial-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(245, 130, 31, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-blue));
  flex-shrink: 0;
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
}

.testimonial-role {
  font-size: 12px;
  color: var(--text-gray);
}

.testimonial-stars {
  color: var(--accent-orange);
  font-size: 13px;
  margin-bottom: 10px;
}

.testimonial-card p {
  color: var(--text-gray);
  font-size: 13.5px;
}

.personal-message {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 50px;
  align-items: center;
}

.personal-photo {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #1c2333, #0e1220);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  font-size: 14px;
  text-align: center;
  padding: 0;
}

.personal-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.personal-text h2 {
  font-size: 28px;
  margin-bottom: 18px;
}

.personal-text p {
  color: var(--text-gray);
  margin-bottom: 16px;
  font-size: 15px;
}

.signature {
  font-family: cursive;
  font-size: 24px;
  color: var(--accent-orange);
  margin-top: 10px;
}

.faq-list {
  max-width: 750px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--bg-card-solid);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-align: right;
}

.faq-question .faq-icon {
  font-size: 20px;
  color: var(--accent-orange);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-gray);
  font-size: 14px;
  padding: 0 24px;
}

.faq-item.is-open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.final-cta {
  text-align: center;
  padding: 90px 0 40px;
}

.final-cta h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.final-cta p {
  color: var(--text-gray);
  margin-bottom: 30px;
}

.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-socials {
  display: flex;
  gap: 18px;
}

.footer-socials a {
  color: var(--text-gray);
  transition: color 0.25s ease;
}

.footer-socials a:hover {
  color: var(--accent-orange);
}

.reveal {
  opacity: 0;

  transform: translateY(60px) scale(0.94);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.delay-3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

.eyebrow {
  display: inline-block;
  color: var(--accent-blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.eyebrow.orange {
  color: var(--accent-orange);
}

h1 em,
h2 em {
  color: var(--accent-orange);
  font-style: italic;
  font-weight: 600;
}

.accent-divider {
  width: 50px;
  height: 3px;
  background: var(--accent-orange);
  border-radius: 2px;
  margin: 18px 0 20px;
}

.projects-hero {
  padding: 70px 0 40px;
  border-bottom: 1px solid var(--border-soft);
}

.projects-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.projects-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 16px;
}

.projects-hero p {
  color: var(--text-gray);
  max-width: 460px;
  margin-bottom: 22px;
  font-size: 15px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-gray);
}

.hero-stats b {
  color: var(--accent-blue);
  font-size: 16px;
}

.hero-stats .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-gray);
}

.projects-hero-media {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #1c2333, #0e1220);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  font-size: 13px;
  text-align: center;
  padding: 0;
  border: 1px solid var(--border-soft);
}

.projects-hero-media img,
.about-card-media img,
.timeline-media img,
.accordion-media-inner img,
.portfolio-media img,
.content-split-media img,
.projects-hero-media video,
.about-card-media video,
.timeline-media video,
.accordion-media-inner video,
.portfolio-media video,
.content-split-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.browse-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 20px;
}

.browse-label b {
  color: var(--accent-blue);
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.category-grid > .category-card:nth-child(6) {
  display: none;
}

.category-card {
  position: relative;
  display: block;
  min-height: 260px;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  padding: 26px;
  overflow: hidden;

  background: linear-gradient(160deg, #171d33 0%, #0b0e1a 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.category-card:hover {
  transform: scale(1.03);
  border-color: rgba(59, 130, 246, 0.4);
}

.category-icon {
  position: absolute;
  top: 26px;
  left: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.category-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.category-card p {
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 18px;
  max-width: 300px;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.category-link .arrow-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.5);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease;
}

.category-card:hover .arrow-circle {
  transform: translateX(5px);
  background: rgba(59, 130, 246, 0.15);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 40px;
}

.cta-box h2 {
  font-size: clamp(24px, 4vw, 30px);
  margin: 4px 0 10px;
}

.cta-box p {
  color: var(--text-gray);
  font-size: 14px;
  max-width: 420px;
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border: 1px solid var(--border-soft);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.25s ease;
}

.btn-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-dark .arrow-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 18px;
  transition: color 0.25s ease;
}

.back-link:hover {
  color: #fff;
}

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

.portfolio-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: transform 0.3s ease;
}

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

.portfolio-media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #1c2333, #0e1220);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  font-size: 13px;
  text-align: center;
  padding: 16px;
}

.portfolio-media.ratio-9-16 {
  aspect-ratio: 9 / 16;
}

.portfolio-media.ratio-16-9 {
  aspect-ratio: 16 / 9;
}

.portfolio-media.ratio-4-3 {
  aspect-ratio: 4 / 3;
}

.portfolio-media.ratio-1-1 {
  aspect-ratio: 1 / 1;
}

.portfolio-media iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.portfolio-caption {
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  border-top: 1px solid var(--border-soft);
}

.portfolio-grid.portfolio-grid-flow {
  display: block;
  column-count: 3;
  column-gap: 22px;
}

.portfolio-grid-flow .portfolio-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 22px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

.service-accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.accordion-item {
  border-radius: 20px;
  border: 1px solid rgba(245, 130, 31, 0.3);
  background: var(--bg-card-solid);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.accordion-item:hover {
  border-color: rgba(245, 130, 31, 0.55);
  box-shadow: 0 0 35px rgba(245, 130, 31, 0.08);
}

.service-accordion > .accordion-item:nth-child(6) {
  display: none;
}

.accordion-header {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: 100%;
  background: none;
  color: inherit;
  text-align: left;
}

.accordion-header-content {
  flex: 1;
  padding: 32px 8px 32px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.accordion-number {
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
}

.accordion-header-content h3 {
  font-size: clamp(20px, 3vw, 24px);
  margin-bottom: 8px;
}

.accordion-header-content p {
  color: var(--text-gray);
  font-size: 14px;
  max-width: 420px;
}

.accordion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  align-self: flex-start;
}

.accordion-toggle .icon-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.accordion-item.is-open .accordion-toggle .icon-circle {
  transform: rotate(45deg);
  background: rgba(245, 130, 31, 0.15);
  border-color: rgba(245, 130, 31, 0.5);
}

.accordion-media {
  width: 38%;
  min-width: 200px;
  position: relative;
  overflow: hidden;
}

.accordion-media-inner {
  position: absolute;
  inset: 0;

  background: linear-gradient(135deg, #1c2333, #0e1220);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  font-size: 12px;
  text-align: center;
  padding: 14px;
  transition: transform 0.5s ease;
}

.accordion-item:hover .accordion-media-inner {
  transform: scale(1.05);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}

.accordion-item.is-open .accordion-body {
  max-height: 500px;
}

.accordion-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 40px;
  padding: 22px 34px 30px;
  border-top: 1px solid var(--border-soft);
}

.accordion-columns li {
  position: relative;
  padding: 8px 0 8px 18px;
  color: var(--text-gray);
  font-size: 14px;
}

.accordion-columns li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-orange);
}

.category-icon svg,
.stat-icon svg,
.info-icon svg,
.about-card-icon svg,
.process-icon svg {
  width: 52%;
  height: 52%;
  stroke: currentColor;
  flex-shrink: 0;
}

.text-accent-blue {
  color: var(--accent-blue);
}

.accent-divider.blue {
  background: var(--accent-blue);
}

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

.stats-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.08);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.stat-text b {
  display: block;
  font-size: 22px;
  line-height: 1.2;
}

.stat-text span {
  color: var(--text-gray);
  font-size: 12.5px;
}

.stat-divider {
  width: 1px;
  height: 34px;
  background: var(--border-soft);
}

.about-card {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 34px;
  align-items: center;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 40px;
  margin-top: 60px;
}

.about-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.08);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.about-card-text h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.about-card-text p {
  color: var(--text-gray);
  font-size: 14px;
}

.about-card-media {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;

  background: linear-gradient(135deg, #1c2333, #0e1220);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  font-size: 12px;
  text-align: center;
  padding: 0;
}

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

.info-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 36px;
}

.info-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.info-card-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.08);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.info-content strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.info-content .info-link {
  color: var(--accent-blue);
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
}

.info-content p {
  color: var(--text-gray);
  font-size: 14px;
}

.journey-title {
  text-align: center;
  font-size: clamp(22px, 4vw, 28px);
  margin: 80px 0 55px;
}

.journey-timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
}

.journey-timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-soft);
}

.journey-item {
  position: relative;
  flex: 1;
  text-align: center;
  padding: 0 10px;
}

.journey-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-blue);
  margin: 0 auto 22px;
  position: relative;
  z-index: 1;

  box-shadow: 0 0 0 5px var(--bg-main);
}

.journey-year {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}

.journey-item p {
  color: var(--text-gray);
  font-size: 13px;
}

.page-hero {
  padding: 70px 0 50px;
  text-align: center;
  border-bottom: 1px solid var(--border-soft);
}

.page-hero h1 {
  font-size: 42px;
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-gray);
}

.project-detail-hero {
  min-height: 330px;
  padding: 78px 0 72px;
  text-align: left;
  border-bottom: 1px solid rgba(96, 165, 250, 0.22);
  background-image:
    linear-gradient(90deg, rgba(7, 10, 20, 0.98) 0%, rgba(7, 10, 20, 0.72) 46%, rgba(7, 10, 20, 0.2) 100%),
    linear-gradient(180deg, rgba(11, 15, 29, 0.05), rgba(11, 15, 29, 0.76)),
    url("assets/project-hero-abstract.png");
  background-position: center;
  background-size: cover;
}

.project-detail-hero .container {
  max-width: 1180px;
}

.project-detail-hero .back-link,
.project-detail-hero .eyebrow,
.project-detail-hero h1,
.project-detail-hero p {
  margin-right: auto;
  max-width: 620px;
}

.project-detail-hero .back-link {
  justify-content: flex-start;
  margin-bottom: 30px;
}

.project-detail-hero .eyebrow {
  display: flex;
  justify-content: flex-start;
}

.project-detail-hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  margin-top: 10px;
  margin-bottom: 16px;
}

.project-detail-hero p {
  color: #c7cede;
  font-size: 16px;
  line-height: 1.75;
}

.placeholder-box {
  max-width: 700px;
  margin: 60px auto;
  padding: 60px 30px;
  text-align: center;
  border: 1px dashed var(--border-soft);
  border-radius: 20px;
  color: var(--text-gray);
}

.contact-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 50px;
  overflow: hidden;

     background: linear-gradient(90deg, rgba(10,13,23,.95), rgba(10,13,23,.35)), url("Pics/Contact.webp");
     background-size: cover;
     background-position: center;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.contact-hero h1 {
  font-size: clamp(32px, 6vw, 50px);
  line-height: 1.15;
  margin: 14px 0 18px;
}

.contact-hero h1 em {
  color: var(--accent-orange);
  font-style: italic;
  font-weight: 600;
}

.contact-hero p {
  color: var(--text-gray);
  font-size: 15px;
  max-width: 420px;
}

.process-steps {
  position: relative;
  display: flex;
  justify-content: center;
  gap: clamp(24px, 6vw, 70px);
  padding: 50px 0 10px;
  flex-wrap: wrap;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 78px;
  left: 8%;
  right: 8%;
  border-top: 2px dotted rgba(245, 130, 31, 0.35);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 130px;
}

.process-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(245, 130, 31, 0.4);
  background: var(--bg-main);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 12px;
}

.process-number {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.process-step p {
  color: var(--text-gray);
  font-size: 13.5px;
}

.form-box {
  max-width: 900px;
  margin: 50px auto 0;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-main);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 13px 16px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  width: 100%;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-orange);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' stroke='%239aa1b4' stroke-width='2' fill='none' fill-rule='evenodd'/></svg>");
  background-repeat: no-repeat;
  background-position: left 16px center;
  padding-left: 38px;
}

.form-group select:invalid {
  color: var(--text-gray);
}

.file-drop-zone {
  border: 1px dashed var(--border-soft);
  border-radius: 12px;
  padding: 26px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
  color: var(--text-gray);
  font-size: 13.5px;
}

.file-drop-zone svg,
.file-drop-zone .drop-icon {
  margin-bottom: 8px;
  font-size: 20px;
}

.file-drop-zone.is-dragover {
  border-color: var(--accent-orange);
  background: rgba(245, 130, 31, 0.06);
}

.file-drop-zone small {
  display: block;
  margin-top: 4px;
  opacity: 0.7;
}

.file-list {
  margin-top: 10px;
  font-size: 13px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.file-list span {
  background: var(--bg-main);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 7px 12px;
}

.file-error {
  color: #ff6b6b;
  font-size: 13px;
  margin-top: 8px;
  display: none;
}

.file-error.is-visible {
  display: block;
}

.form-submit-note {
  text-align: center;
  color: var(--text-gray);
  font-size: 13px;
  margin-top: 16px;
}

.form-alert {
  max-width: 900px;
  margin: 0 auto 20px;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.35);
  color: #ff9b9b;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 14px;
  text-align: center;
}

.thank-you-box {
  max-width: 560px;
  margin: 100px auto;
  text-align: center;
}

.thank-you-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(245, 130, 31, 0.15);
  color: var(--accent-orange);
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.thank-you-box h1 {
  font-size: 30px;
  margin-bottom: 14px;
}

.thank-you-box p {
  color: var(--text-gray);
  margin-bottom: 26px;
}

@media (max-width: 900px) {

  .services-grid,
  .testimonials-grid,
  .category-grid,
  .portfolio-grid,
  .form-grid,
  .accordion-columns,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid.portfolio-grid-flow {
    column-count: 2;
  }

  .about-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px;
  }

  .about-card-icon {
    margin: 0 auto;
  }

  .stats-row {
    gap: 16px;
  }

  .journey-timeline {
    flex-direction: column;
    gap: 34px;
    align-items: flex-start;
    padding-left: 26px;
  }

  .journey-timeline::before {
    top: 0;
    bottom: 0;
    left: 5px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .journey-item {
    text-align: left;
    padding: 0;
    width: 100%;
  }

  .journey-dot {
    position: absolute;
    left: -26px;
    top: 4px;
    margin: 0;
  }

  .accordion-header {
    flex-direction: column;
  }

  .accordion-media {
    width: 100%;
    height: 160px;
  }

  .accordion-header-content {
    padding: 24px 20px 16px;
  }

  .accordion-columns {
    padding: 18px 20px 24px;
  }

  .contact-hero {
    min-height: 320px;
    padding-bottom: 30px;
  }

  .form-box {
    padding: 26px 20px;
  }

  .process-steps {
    gap: 30px;
    row-gap: 40px;
  }

  .process-steps::before {
    display: none;
  }

  .projects-hero-inner {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
  }

  .section {
    padding: 56px 0;
  }

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

  .final-cta {
    padding: 60px 0 30px;
  }

  .final-cta h2 {
    font-size: clamp(26px, 7vw, 36px);
  }

  .page-hero {
    padding: 50px 0 36px;
  }

  .page-hero h1 {
    font-size: clamp(28px, 8vw, 42px);
  }

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

  .techstack-row {
    max-width: 480px;
    gap: 4px;
  }

  .content-split,
  .personal-message,
  .timeline-step {
    grid-template-columns: 1fr;
  }

  .timeline-step:nth-child(even) .timeline-text {
    order: 0;
  }

  .timeline-step:nth-child(even) .timeline-media {
    order: 0;
  }

  .timeline::before {
    left: 24px;
  }

  .timeline-number {
    left: 24px;
    top: -30px;
    transform: translate(-50%, 0);
  }

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

  .nav-links {
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    background: var(--bg-main);
    flex-direction: column;
    align-items: center;
    padding: 24px 0;
    gap: 20px;
    border-bottom: 1px solid var(--border-soft);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 90;
  }

  .nav-links.is-open {
    transform: translateY(0);
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 480px) {

  .techstack-row {
    flex-direction: column;
    max-width: 200px;
  }

  .techstack-connector {
    width: 1px;
    height: 22px;
    min-width: 0;
    max-width: none;
    background: linear-gradient(180deg, transparent, rgba(245, 130, 31, 0.55), transparent);
  }

  .portfolio-grid.portfolio-grid-flow {
    column-count: 1;
  }

  .project-detail-hero {
    min-height: 0;
    padding: 54px 0 48px;
    background-position: 35% center;
  }

  .project-detail-hero .back-link {
    margin-bottom: 24px;
  }

  .project-detail-hero h1 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .logo {
    font-size: 16px;
  }

  .hero p {
    font-size: 14.5px;
  }

  .btn-orange,
  .btn-outline {
    padding: 12px 22px;
    font-size: 14px;
  }

  .video-controls {
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .video-play-btn {
    width: 56px;
    height: 56px;
  }

  .service-card,
  .testimonial-card {
    padding: 24px 20px;
  }

  .content-split,
  .content-split-media {
    padding: 20px;
  }

  .personal-photo {
    padding: 0;
  }

  .content-split {
    padding: 24px;
    border-radius: 18px;
  }

  .content-split-text h2 {
    font-size: 24px;
  }

  .personal-text h2 {
    font-size: 22px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 18px;
    font-size: 13.5px;
  }

  .faq-item.is-open .faq-answer {
    padding: 0 18px 16px;
  }

  .timeline-step {
    gap: 26px;
    margin-bottom: 50px;
  }

  .timeline-text h3 {
    font-size: 19px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-socials {
    flex-wrap: wrap;
    justify-content: center;
  }
}
