:root {
  --red: #ff0000;
  --red-dark: #cc0000;
  --red-dim: rgba(255, 0, 0, 0.15);
  --red-glow: rgba(255, 0, 0, 0.08);
  --red-border: rgba(255, 0, 0, 0.2);
  --bg: #0a0a0a;
  --bg-2: #0f0f0f;
  --bg-3: #141414;
  --bg-card: #111111;
  --white: #ffffff;
  --grey-1: #bcbcbc;
  --grey-2: #888888;
  --grey-3: #444444;
  --border: rgba(255, 255, 255, 0.06);
  --font: "Poppins", sans-serif;
  --font-display: "Bebas Neue", sans-serif;
  --shadow-red: 0 0 30px rgba(255, 0, 0, 0.25);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
  --radius: 16px;
  --radius-sm: 8px;
  --nav-h: 80px;
  --container: 1240px;
  --pad: 5%;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  border: none;
  background: none;
  cursor: none;
}

.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition:
    transform 0.1s ease,
    width 0.2s ease,
    height 0.2s ease;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255, 0, 0, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition:
    transform 0.12s ease,
    width 0.25s ease,
    height 0.25s ease,
    border-color 0.25s ease;
}

.cursor-dot.hovered {
  width: 12px;
  height: 12px;
  background: var(--white);
}

.cursor-ring.hovered {
  width: 52px;
  height: 52px;
  border-color: var(--red);
  background: rgba(255, 0, 0, 0.06);
}

.global-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--red-glow) 1px, transparent 1px),
    linear-gradient(90deg, var(--red-glow) 1px, transparent 1px);
  background-size: 60px 60px;
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}

.bg-glow--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle,
      rgba(255, 0, 0, 0.12) 0%,
      transparent 70%);
  top: -150px;
  left: -150px;
  animation: glow-drift-a 12s ease-in-out infinite alternate;
}

.bg-glow--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle,
      rgba(255, 0, 0, 0.09) 0%,
      transparent 70%);
  bottom: 20%;
  right: -100px;
  animation: glow-drift-b 15s ease-in-out infinite alternate;
}

.bg-glow--3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle,
      rgba(255, 0, 0, 0.07) 0%,
      transparent 70%);
  top: 50%;
  left: 40%;
  animation: glow-drift-a 18s ease-in-out infinite alternate-reverse;
}

@keyframes glow-drift-a {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(60px, 40px);
  }
}

@keyframes glow-drift-b {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(-50px, -60px);
  }
}

.bars-animation {
  position: fixed;
  inset: 0;
  display: flex;
  z-index: 9999;
  pointer-events: none;
}

.bars-animation div {
  flex: 1;
  height: 100%;
  background: var(--bg);
  transform: translateY(0);
  animation: bars-out 0.6s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}

.bars-animation div:nth-child(1) {
  animation-delay: 0.1s;
}

.bars-animation div:nth-child(2) {
  animation-delay: 0.2s;
}

.bars-animation div:nth-child(3) {
  animation-delay: 0.3s;
}

.bars-animation div:nth-child(4) {
  animation-delay: 0.4s;
}

.bars-animation div:nth-child(5) {
  animation-delay: 0.5s;
}

.bars-animation div:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes bars-out {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-100%);
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  background: rgba(10, 10, 10, 0.116);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  z-index: 1000;
  transform: translateY(0) !important;
  transition:
    height 0.3s ease,
    background 0.3s ease;
}

.navbar.scrolled {
  height: 70px;
  border-bottom-color: var(--red-border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 40px;
  letter-spacing: 2px;
  color: var(--white);
  text-decoration: none;
}

.nav-logo span {
  color: var(--red);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-link {
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link.active {
  color: var(--red);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  width: 100%;
  background: var(--bg-2);
  border-bottom: 1px solid var(--red-border);
  padding: 20px var(--pad);
  z-index: 999;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mob-link {
  font-size: 17px;
  font-weight: 600;
  color: var(--grey-1);
  text-decoration: none;
  transition: color 0.3s;
}

.mob-link:hover {
  color: var(--red);
}

.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--red);
  z-index: 10000;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
  pointer-events: none;
  transition: width 0.1s linear;
}

.section-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.section-label--center {
  justify-content: center;
}

.label-line {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--red);
  flex-shrink: 0;
}

.sec-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: 2px;
  color: var(--white);
}

.sec-title span {
  color: var(--red);
}

.sec-heading {
  margin-bottom: 60px;
}

.sec-heading--center {
  text-align: center;
}

.sec-heading--center .section-label {
  justify-content: center;
}

.sec-subtitle {
  max-width: 560px;
  margin: 14px auto 0;
  font-size: 15px;
  color: var(--grey-2);
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn--primary {
  background: var(--red);
  color: var(--bg);
}

.btn--primary:hover {
  background: transparent;
  color: var(--red);
  border: 3px solid var(--red-dark);
  box-shadow: var(--shadow-red);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--grey-3);
}

.btn--outline:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

.home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: calc(var(--nav-h) + 60px) var(--pad) 80px;
  max-width: var(--container);
  margin: 0 auto;
}

.home-info {
  flex: 1;
}

.home-name {
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
}

.home-name span {
  color: var(--red);
}

.home-role {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 600;
  height: 46px;
  overflow: hidden;
  margin-bottom: 20px;
  color: var(--grey-1);
}

.home-role span {
  color: var(--red);
  border-right: 2px solid var(--red);
  white-space: nowrap;
}

.home-desc {
  font-size: 15px;
  color: var(--grey-1);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 480px;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.home-socials {
  display: flex;
  gap: 14px;
}

.social-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--grey-3);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  color: var(--grey-1);
  text-decoration: none;
  transition: all 0.3s;
}

.social-icon:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
}

.home-img-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  bottom: 70px;
}

.img-ring-outer {
  width: clamp(280px, 32vw, 420px);
  height: clamp(280px, 32vw, 420px);
  border-radius: 50%;
  padding: 5px;
  position: relative;
}

.img-ring-outer::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(var(--red), var(--bg), var(--red), var(--bg));
  animation: ring-rotate 5s linear infinite;
  z-index: 0;
}

@keyframes ring-rotate {
  to {
    transform: rotate(360deg);
  }
}

.img-ring-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
  background: var(--bg);
  padding: 5px;
}

.img-box {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--red-border);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  white-space: nowrap;
  animation: badge-float 3s ease-in-out infinite alternate;
}

.home-badge i {
  color: var(--red);
  font-size: 18px;
}

.home-badge--1 {
  bottom: 10%;
  left: -8%;
  animation-delay: 0s;
}

.home-badge--2 {
  top: 12%;
  right: -6%;
  animation-delay: 1.5s;
}

@keyframes badge-float {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-10px);
  }
}

.about-section {
  padding: 110px 0;
  position: relative;
}

.about-wrapper {
  display: flex;
  gap: 70px;
  align-items: flex-start;
}

.about-left {
  flex: 0 0 auto;
}

.about-img-frame {
  position: relative;
  width: clamp(240px, 26vw, 360px);
}

.about-img-frame::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 2px solid var(--red-border);
  border-radius: var(--radius);
  z-index: 0;
}

.about-img-frame::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 70%;
  height: 70%;
  background: var(--red-glow);
  border-radius: var(--radius);
  z-index: -1;
  filter: blur(20px);
}

.about-img-inner {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--red-border);
  position: relative;
  z-index: 1;
}

.about-img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-exp-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--red);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  text-align: center;
  z-index: 2;
  box-shadow: var(--shadow-red);
}

.aeb-num {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
}

.aeb-txt {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.4;
  margin-top: 4px;
}

.about-right {
  flex: 1;
}

.about-subtitle {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 18px;
}

.about-p {
  font-size: 15px;
  color: var(--grey-1);
  line-height: 1.9;
  margin-bottom: 14px;
}

.about-stats {
  display: flex;
  gap: 24px;
  margin: 28px 0;
  flex-wrap: wrap;
}

.abt-stat {
  text-align: center;
  padding: 18px 22px;
  border: 1px solid var(--red-border);
  background: var(--bg-2);
  border-radius: var(--radius-sm);
  min-width: 100px;
  transition: all 0.3s;
}

.abt-stat:hover {
  border-color: var(--red);
  background: var(--red-dim);
  transform: translateY(-3px);
}

.abt-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--red);
  line-height: 1;
}

.abt-stat-label {
  display: block;
  font-size: 12px;
  color: var(--grey-2);
  margin-top: 4px;
  font-weight: 500;
}

.about-skills {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  transition: background 0.3s;
}

.skill-card:hover {
  background: var(--bg-3);
}

.skill-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.skill-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
}

.skill-left img {
  width: 32px;
  height: 32px;
}

.skill-pct {
  font-size: 14px;
  font-weight: 700;
  color: var(--grey-1);
}

.skill-bar-bg {
  width: 100%;
  height: 8px;
  background: #1e1e1e;
  border-radius: 20px;
  overflow: hidden;
}

.skill-bar {
  height: 100%;
  border-radius: 20px;
  width: 0;
}

.skill-bar--red {
  background: var(--red);
}

.skill-bar--blue {
  background: #0561ff;
}

.skill-bar--orange {
  background: #ffc400;
}

.projects-section {
  padding: 110px 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.35s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px var(--red-border);
}

.project-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.07);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay a {
  width: 46px;
  height: 46px;
  border: 2px solid var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s;
}

.project-overlay a:hover {
  background: var(--red);
  border-color: var(--red);
}

.project-content {
  padding: 20px 22px 22px;
}

.project-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.project-content p {
  font-size: 13px;
  color: var(--grey-1);
  line-height: 1.7;
  margin-bottom: 14px;
}

.tech {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.tech span {
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--grey-1);
  font-weight: 500;
}

.links {
  display: flex;
  gap: 20px;
}

.links a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-1);
  text-decoration: none;
  transition: color 0.3s;
}

.links a:hover {
  color: var(--red);
}

.services-section {
  padding: 110px 0;
}

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 30px;
  flex-wrap: wrap;
}

.services-header-left {
  max-width: 520px;
}

.services-header-right {
  max-width: 320px;
}

.services-header-right p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--grey-2);
}

.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--red-border);
  border: 1px solid var(--red-border);
}

.srv-card {
  background: var(--bg-2);
  padding: 40px 34px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background 0.35s;
}

.srv-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.5s ease;
}

.srv-card:hover {
  background: var(--bg-3);
}

.srv-card:hover::after {
  width: 100%;
}

.srv-card--featured {
  background: var(--red);
}

.srv-card--featured:hover {
  background: var(--red-dark);
}

.srv-card--featured::after {
  background: var(--white);
}

.srv-card--featured .srv-num,
.srv-card--featured .srv-title,
.srv-card--featured .srv-desc {
  color: var(--white);
}

.srv-card--featured .srv-tags span {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.srv-card--featured .srv-icon {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.srv-card--featured .srv-link {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.srv-card--featured .srv-link:hover {
  background: rgba(255, 255, 255, 0.15);
}

.srv-card--wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 48px;
}

.srv-wide-left {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.srv-wide-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.srv-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.srv-icon {
  width: 50px;
  height: 50px;
  border: 1px solid var(--red-border);
  background: var(--red-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--red);
  transition: all 0.3s;
}

.srv-card:hover .srv-icon {
  background: var(--red-dim);
  border-color: var(--red);
}

.srv-num {
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255, 0, 0, 0.5);
}

.srv-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.srv-desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--grey-2);
  margin-bottom: 20px;
  flex: 1;
}

.srv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}

.srv-tags span {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey-2);
  border: 1px solid var(--border);
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s;
}

.srv-card:hover .srv-tags span {
  border-color: var(--red-border);
  color: var(--grey-1);
}

.srv-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  border: 1px solid var(--red-border);
  padding: 9px 18px;
  width: fit-content;
  margin-top: auto;
  transition: all 0.3s;
}

.srv-link i {
  transition: transform 0.3s;
}

.srv-card:hover .srv-link {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.srv-card:hover .srv-link i {
  transform: translateX(4px);
}

.srv-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--red-border);
  background: var(--red-glow);
  transition: all 0.3s;
}

.srv-card--wide:hover .srv-stat {
  border-color: rgba(255, 0, 0, 0.35);
  background: var(--red-dim);
}

.srv-stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--red);
  min-width: 64px;
}

.srv-stat-label {
  font-size: 12px;
  color: var(--grey-2);
  line-height: 1.5;
}

.srv-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 60px 0 50px;
}

.srv-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      var(--red-border),
      transparent);
}

.srv-divider-text {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 0, 0, 0.5);
  white-space: nowrap;
}

.srv-process {
  display: flex;
  border: 1px solid var(--red-border);
  overflow: hidden;
}

.srv-step {
  flex: 1;
  padding: 32px 24px;
  background: var(--bg-2);
  position: relative;
  transition: background 0.3s;
}

.srv-step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--red-border);
}

.srv-step:hover {
  background: var(--bg-3);
}

.srv-step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  color: rgba(255, 0, 0, 0.1);
  line-height: 1;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.srv-step:hover .srv-step-num {
  color: rgba(255, 0, 0, 0.22);
}

.srv-step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.srv-step-desc {
  font-size: 13px;
  color: var(--grey-2);
  line-height: 1.7;
}

.contact-section {
  padding: 110px 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  background: var(--bg-card);
  border: 1px solid var(--red-border);
  border-radius: var(--radius);
  padding: 44px 36px;
  position: sticky;
  top: 90px;
}

.contact-info-header {
  margin-bottom: 36px;
}

.contact-info-header h3 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 10px;
}

.contact-info-header p {
  font-size: 14px;
  color: var(--grey-1);
  line-height: 1.8;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  border-radius: var(--radius-sm);
  transition: all 0.3s;
}

.contact-item:hover {
  border-color: var(--red-border);
  background: var(--red-glow);
  transform: translateX(4px);
}

.ci-icon {
  width: 46px;
  height: 46px;
  background: var(--red-glow);
  border: 1px solid var(--red-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--red);
  flex-shrink: 0;
}

.ci-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ci-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey-2);
}

.ci-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.contact-socials {
  margin-top: 4px;
}

.cs-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--grey-2);
  display: block;
  margin-bottom: 14px;
}

.cs-icons {
  display: flex;
  gap: 10px;
}

.cs-icon {
  width: 42px;
  height: 42px;
  border: 1px solid var(--grey-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--grey-1);
  text-decoration: none;
  transition: all 0.3s;
}

.cs-icon:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-3px);
}

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--red-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.form-top-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}

.form-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.form-dot--r {
  background: var(--red);
}

.form-dot--y {
  background: #ffc400;
}

.form-dot--g {
  background: #00c853;
}

.form-bar-label {
  font-size: 12px;
  color: var(--grey-2);
  margin-left: 6px;
  font-weight: 500;
  letter-spacing: 1px;
}

.contact-form {
  padding: 32px 36px 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey-2);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--grey-3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.08);
}

.form-group select {
  appearance: none;
}

.form-group select option {
  background: var(--bg-2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
  font-size: 16px;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: none;
}

.footer {
  position: relative;
  background: var(--bg-2);
  border-top: 1px solid var(--red-border);
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse,
      rgba(255, 0, 0, 0.08) 0%,
      transparent 70%);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.footer-top {
  padding: 80px 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 50px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 38px;
  letter-spacing: 2px;
  color: var(--white);
  display: block;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-logo span {
  color: var(--red);
}

.footer-bio {
  font-size: 14px;
  color: var(--grey-2);
  line-height: 1.8;
  margin-bottom: 28px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.fs-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--grey-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--grey-2);
  text-decoration: none;
  transition: all 0.3s;
}

.fs-icon:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-3px);
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--red);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--grey-2);
  text-decoration: none;
  transition:
    color 0.3s,
    gap 0.3s;
}

.footer-links a i {
  color: var(--red);
  font-size: 16px;
}

.footer-links a:hover {
  color: var(--white);
  gap: 10px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--grey-2);
}

.footer-contact-list i {
  color: var(--red);
  font-size: 16px;
}

.footer-available {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #00c853;
}

.avail-dot {
  width: 8px;
  height: 8px;
  background: #00c853;
  border-radius: 50%;
  box-shadow: 0 0 8px #00c853;
  animation: avail-pulse 1.5s ease-in-out infinite;
}

@keyframes avail-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--grey-2);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom-inner span {
  color: var(--red);
  font-weight: 600;
}

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 50;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s;
  box-shadow: var(--shadow-red);
  text-decoration: none;
}

.scroll-top.show {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
}

@media (max-width: 1024px) {
  .home {
    flex-direction: column;
    text-align: center;
    min-height: auto;
    padding-top: calc(var(--nav-h) + 80px);
  }

  .home-desc {
    margin: 0 auto 30px;
  }

  .btn-group {
    justify-content: center;
  }

  .home-socials {
    justify-content: center;
  }

  .home-badge--1 {
    bottom: 5%;
    left: 0;
  }

  .home-badge--2 {
    top: 5%;
    right: 0;
  }

  .about-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .about-img-frame {
    width: 280px;
  }

  .about-right {
    width: 100%;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .srv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .srv-card--wide {
    grid-column: span 2;
    flex-direction: column;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --pad: 6%;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .sec-title {
    font-size: clamp(38px, 9vw, 56px);
  }

  .home {
    padding-top: calc(var(--nav-h) + 50px);
  }

  .img-ring-outer {
    width: 250px;
    height: 250px;
  }

  .home-badge--1,
  .home-badge--2 {
    display: none;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .srv-grid {
    grid-template-columns: 1fr;
  }

  .srv-card--featured,
  .srv-card--wide {
    grid-column: span 1;
  }

  .srv-card--wide {
    flex-direction: column;
  }

  .srv-process {
    flex-direction: column;
  }

  .srv-step::after {
    display: none;
  }

  .services-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px 22px 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

@media (max-width: 480px) {
  .home-name {
    font-size: 32px;
  }

  .about-stats {
    gap: 12px;
  }

  .abt-stat {
    padding: 14px 14px;
    min-width: 80px;
  }

  .scroll-top {
    bottom: 18px;
    right: 18px;
  }
}