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

:root {
  --bg: #070c1a;
  --bg-2: #0d1527;
  --bg-card: rgba(13, 22, 51, 0.6);
  --blue: #2563eb;
  --blue-mid: #1a4fd6;
  --blue-light: #60a5fa;
  --blue-glow: rgba(37, 99, 235, 0.25);
  --accent: #38bdf8;
  --text: #e2e8f0;
  --text-muted: #8899b4;
  --border: rgba(96, 165, 250, 0.15);
  --radius: 14px;
  --radius-lg: 22px;
  --nav-h: 72px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --trans: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --bg: #f8fafc;
  --bg-2: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.8);
  --blue: #2563eb;
  --blue-mid: #1d4ed8;
  --blue-light: #3b82f6;
  --blue-glow: rgba(37, 99, 235, 0.15);
  --accent: #0ea5e9;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .nav {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(37, 99, 235, 0.15);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow:
    0 16px 60px rgba(0, 0, 0, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .nav__link {
  color: rgba(15, 23, 42, 0.7);
}

[data-theme="light"] .nav__link:hover {
  color: #0f172a;
  background: rgba(37, 99, 235, 0.08);
  text-shadow: none;
}

[data-theme="light"] .nav__link.active {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.12);
}

[data-theme="light"] .nav__logo {
  color: #0f172a;
}

[data-theme="light"] .nav__logo span {
  color: #2563eb;
}

[data-theme="light"] .service-card,
[data-theme="light"] .project-card,
[data-theme="light"] .gear-card,
[data-theme="light"] .my-gear,
[data-theme="light"] .contact__info-card,
[data-theme="light"] #contactForm {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(37, 99, 235, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .service-card:hover,
[data-theme="light"] .project-card:hover,
[data-theme="light"] .gear-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

[data-theme="light"] .gear-card__icon,
[data-theme="light"] .contact__info-icon {
  background: rgba(37, 99, 235, 0.08);
}

[data-theme="light"] .about__img-bg {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.05));
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#globalCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.cursor,
.cursor-follower {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

.cursor {
  width: 8px;
  height: 8px;
  background: var(--blue-light);
}

.cursor-follower {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(96, 165, 250, 0.45);
  transition: transform 0.12s ease, opacity 0.3s;
}

@media (hover: none) {

  .cursor,
  .cursor-follower {
    display: none;
  }
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
}

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

.section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.section-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--blue-light);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  margin-bottom: 16px;
}

.section-title span {
  background: linear-gradient(135deg, var(--blue-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 60px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--trans);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  color: #fff;
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.6);
}

.btn--outline {
  background: transparent;
  color: var(--blue-light);
  border: 1.5px solid var(--blue-light);
}

.btn--outline:hover {
  background: rgba(96, 165, 250, 0.08);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 0.8rem;
}

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

.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 1000;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 980px;
  height: 72px;
  transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s, background 0.4s;
  /* Floating pill base */
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

/* Gloss shine strip across the top */
.nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.25) 30%,
      rgba(255, 255, 255, 0.35) 50%,
      rgba(255, 255, 255, 0.25) 70%,
      transparent);
  border-radius: 20px;
  pointer-events: none;
}

/* Inner gloss reflection */
.nav::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 50%;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.055) 0%,
      transparent 100%);
  border-radius: 20px 20px 0 0;
  pointer-events: none;
}

.nav.scrolled {
  background: rgba(7, 14, 35, 0.72);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border-color: rgba(96, 165, 250, 0.18);
  box-shadow:
    0 16px 60px rgba(0, 0, 0, 0.6),
    0 4px 16px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(37, 99, 235, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  top: 14px;
  width: calc(100% - 64px);
}

.nav__inner {
  max-width: 100%;
  padding: 0 20px 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.03em;
  margin-right: auto;
}

.nav__logo span {
  color: var(--blue-light);
}

.nav__links {
  display: flex;
  gap: 2px;
  list-style: none;
}

.nav__link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.7);
  text-decoration: none;
  padding: 7px 15px;
  border-radius: 12px;
  transition: var(--trans);
  position: relative;
}

.nav__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  text-shadow: 0 0 20px rgba(96, 165, 250, 0.4);
}

.nav__link.active {
  color: var(--blue-light);
  background: rgba(37, 99, 235, 0.15);
}

.nav__cta {
  padding: 10px 24px;
  font-size: 0.92rem;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-radius: 12px;
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px 9px;
  transition: var(--trans);
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 4px;
  transition: var(--trans);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Theme Toggle Button */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.theme-toggle i {
  position: absolute;
  font-size: 1rem;
  transition: var(--trans);
}

.theme-toggle .fa-sun {
  color: #fbbf24;
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}

.theme-toggle .fa-moon {
  color: #60a5fa;
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-toggle .fa-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-toggle .fa-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

[data-theme="light"] .theme-toggle {
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .nav {
    width: calc(100% - 32px);
    top: 14px;
  }

  .nav.scrolled {
    width: calc(100% - 40px);
    top: 10px;
  }

  .hamburger {
    display: flex;
  }

  .nav__cta {
    display: none;
  }

  .nav__links {
    position: fixed;
    top: 90px;
    left: 16px;
    right: 16px;
    background: rgba(7, 14, 35, 0.92);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    flex-direction: column;
    gap: 4px;
    padding: 16px 12px 20px;
    transform: translateY(-20px) scale(0.97);
    opacity: 0;
    transition: var(--trans);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    pointer-events: none;
  }

  .nav__links.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    font-size: 1rem;
    padding: 12px 16px;
    border-radius: 12px;
  }

  .nav__link:hover {
    background: rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 768px) {
  [data-theme="light"] .nav__links {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }

  [data-theme="light"] .nav__link {
    color: rgba(15, 23, 42, 0.7);
  }

  [data-theme="light"] .nav__link:hover {
    background: rgba(37, 99, 235, 0.08);
    color: #0f172a;
  }

  [data-theme="light"] .nav__link.active {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.12);
  }

  [data-theme="light"] .hamburger {
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.1);
  }

  [data-theme="light"] .hamburger:hover {
    background: rgba(0, 0, 0, 0.1);
  }

  [data-theme="light"] .hamburger span {
    background: #0f172a;
  }
}

.hero {
  position: relative;
  min-height: 100svh;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
  background: transparent;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  width: 100%;
}

.hero__left {
  display: flex;
  flex-direction: column;
}

.hero__right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__img-wrapper {
  position: relative;
  width: 380px;
  height: 460px;
  padding: 20px;
}

.hero__img-bg-card {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  z-index: 0;
}

.hero__img-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(56, 189, 248, 0.08));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transform: rotate(3deg);
  z-index: 1;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  position: relative;
  z-index: 2;
  display: block;
}

.hero__interests {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.interest-tag {
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-display);
  padding: 6px 16px;
  border-radius: 50px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: var(--trans);
}

.interest-tag:hover {
  border-color: var(--blue-light);
  color: var(--blue-light);
}

@media (max-width: 900px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__img-wrapper {
    width: 260px;
    height: 320px;
  }

  .hero__interests,
  .hero__actions,
  .hero__stats {
    justify-content: center;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.3);
  color: var(--blue-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
  letter-spacing: 0.08em;
  width: fit-content;
}

.hero__badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero__name {
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero__greeting {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--text);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.hero__name-main {
  position: relative;
  display: inline-block;
  width: fit-content;
}

.hero__name-text {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--accent) 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.3s forwards;
}

.hero__name-cursor {
  position: absolute;
  right: -8px;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--blue-light);
  box-shadow: 0 0 20px var(--blue-light);
  opacity: 0;
  animation: cursorSlide 1.2s ease 1.1s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cursorSlide {
  0% {
    opacity: 1;
    right: -8px;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    right: -8px;
  }
}

.hero__role {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 500;
  position: relative;
}

.hero__role-text {
  position: relative;
  display: inline-block;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.8s forwards;
}

.hero__role-cursor {
  position: absolute;
  right: -4px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--blue-light);
  box-shadow: 0 0 15px var(--blue-light);
  opacity: 0;
  animation: roleSlide 1.2s ease 1.8s forwards;
}

@keyframes roleSlide {
  0% {
    opacity: 1;
    right: -4px;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    right: -4px;
  }
}

.cursor-blink {
  animation: blink 0.8s ease-in-out infinite;
  color: var(--blue-light);
}

.hero__tagline {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 44px;
  max-width: 480px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

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

.stat {
  text-align: center;
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--blue-light), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {

  0%,
  100% {
    opacity: 0;
    transform: scaleY(0) translateY(-10px);
  }

  50% {
    opacity: 1;
    transform: scaleY(1) translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.about {
  background: transparent;
  position: relative;
  z-index: 1;
}

.about__grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  margin-top: 60px;
}

.about__left-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
  transition: var(--trans);
}

.about-card:hover {
  border-color: rgba(96, 165, 250, 0.3);
  transform: translateY(-2px);
}

.about-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.about-card__header h3 {
  font-size: 1.1rem;
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 700;
  flex: 1;
}

.about-card__header i {
  font-size: 1.2rem;
  color: var(--blue-light);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: blink 1.5s ease-in-out infinite;
}

.gear-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gear-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(226, 232, 240, 0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--trans);
}

.gear-item:hover {
  background: rgba(226, 232, 240, 0.12);
  border-color: rgba(96, 165, 250, 0.3);
}

[data-theme="light"] .gear-item {
  background: rgba(241, 245, 249, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.6);
}

[data-theme="light"] .gear-item:hover {
  background: rgba(226, 232, 240, 0.9);
  border-color: rgba(147, 197, 253, 0.5);
}

.gear-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--blue-light);
  flex-shrink: 0;
}

.gear-item__info {
  flex: 1;
  min-width: 0;
}

.gear-item__info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  font-family: var(--font-display);
}

.gear-item__info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.gear-item__os {
  font-size: 0.7rem;
  color: rgba(136, 153, 180, 0.7);
}

.github-activity {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.github-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: rgba(226, 232, 240, 0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

[data-theme="light"] .github-item {
  background: rgba(241, 245, 249, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.6);
}

.github-item i {
  color: var(--blue-light);
  font-size: 1.1rem;
  margin-top: 2px;
}

.github-item p {
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 4px;
}

.github-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.github-time {
  margin-top: 4px;
  opacity: 0.7;
}

.spotify-content {
  text-align: center;
  padding: 30px 20px;
}

.spotify-icon {
  font-size: 3rem;
  color: rgba(136, 153, 180, 0.3);
  margin-bottom: 12px;
  display: block;
}

.spotify-content p {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 6px;
}

.spotify-content span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.about__bio {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.7;
}

.about__bio strong {
  color: var(--text);
}

.highlight {
  color: var(--blue-light);
  font-weight: 600;
}

.highlight-purple {
  color: #a855f7;
  font-weight: 600;
}

.highlight-orange {
  color: #fb923c;
  font-weight: 600;
}

.highlight-cyan {
  color: var(--accent);
  font-weight: 600;
}

.highlight-red {
  color: #ef4444;
  font-weight: 600;
}

.about__skills {
  margin: 32px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.skill-item__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  width: 150px;
  flex-shrink: 0;
}

.skill-bar {
  flex: 1;
  height: 5px;
  background: rgba(96, 165, 250, 0.12);
  border-radius: 50px;
  overflow: hidden;
}

.skill-bar__fill {
  height: 100%;
  width: 0%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-item__pct {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  width: 36px;
  text-align: right;
}

.tech-stack {
  margin-top: 40px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}

.tech-stack h3 {
  font-size: 1.3rem;
  font-family: var(--font-display);
  color: var(--text);
  margin-bottom: 24px;
  font-weight: 700;
}

.tech-categories {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}

.tech-category h4 {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tech-category h4 i {
  color: var(--blue-light);
}

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

.tech-tag {
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-display);
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid var(--border);
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: var(--trans);
}

.tech-tag:hover {
  border-color: var(--blue-light);
  color: var(--blue-light);
}

.view-work-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--blue-light);
  text-decoration: none;
  transition: var(--trans);
}

.view-work-link:hover {
  gap: 12px;
}

.view-work-link i {
  transition: var(--trans);
}

@media (max-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about__left-col {
    order: 2;
  }
  
  .about__text-col {
    order: 1;
  }
}

.gear-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.gear-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(7, 12, 26, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--trans);
  position: relative;
}

.gear-card:hover {
  background: rgba(7, 12, 26, 0.6);
  border-color: rgba(96, 165, 250, 0.3);
  transform: translateY(-2px);
}

.gear-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--blue-light);
  flex-shrink: 0;
}

.gear-card__info {
  flex: 1;
}

.gear-card__info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  font-family: var(--font-display);
}

.gear-card__info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.gear-card__os {
  font-size: 0.75rem;
  color: rgba(136, 153, 180, 0.7);
}

.gear-badge {
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 50px;
  flex-shrink: 0;
}

.gear-badge--green {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.gear-badge--orange {
  background: rgba(251, 146, 60, 0.15);
  color: #fb923c;
  border: 1px solid rgba(251, 146, 60, 0.3);
}

.gear-badge--pink {
  background: rgba(236, 72, 153, 0.15);
  color: #ec4899;
  border: 1px solid rgba(236, 72, 153, 0.3);
}

.gear-badge--purple {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.services {
  background: transparent;
  position: relative;
  z-index: 1;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: var(--trans);
  backdrop-filter: blur(12px);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: var(--trans);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(96, 165, 250, 0.1);
}

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

.service-card--featured {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(13, 27, 62, 0.9));
  border-color: rgba(96, 165, 250, 0.3);
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.2);
}

.service-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-family: var(--font-display);
  background: linear-gradient(135deg, var(--blue), var(--accent));
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(56, 189, 248, 0.1));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--blue-light);
  margin-bottom: 24px;
  transition: var(--trans);
}

.service-card:hover .service-card__icon {
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-card__list {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card__list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}

.service-card__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue-light);
  font-size: 0.8rem;
}

.service-card__price {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-light);
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.portfolio {
  background: transparent;
  position: relative;
  z-index: 1;
}

.portfolio__filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--trans);
}

.filter-btn:hover {
  border-color: rgba(96, 165, 250, 0.4);
  color: var(--text);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--trans);
  backdrop-filter: blur(12px);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, 0.3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.project-card.hidden {
  display: none;
}

.project-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.project-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card__img-wrap img {
  transform: scale(1.05);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 12, 26, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: var(--trans);
}

.project-card:hover .project-card__overlay {
  opacity: 1;
}

.project-card__info {
  padding: 24px;
}

.project-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.project-card__tags span {
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-display);
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid var(--border);
  color: var(--blue-light);
}

.project-card__tags .tag--public {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.project-card__tags .tag--private {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.btn--disabled {
  background: rgba(136, 153, 180, 0.1) !important;
  border-color: rgba(136, 153, 180, 0.3) !important;
  color: var(--text-muted) !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.project-card__info h3 {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 8px;
}

.project-card__info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.booking {
  background: transparent;
  position: relative;
  z-index: 1;
}

.booking__wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  margin-top: 16px;
}

.booking__info h3 {
  font-size: 1.3rem;
  margin-bottom: 32px;
}

.booking__step {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  align-items: flex-start;
  position: relative;
  padding: 24px;
  background: rgba(37, 99, 235, 0.04);
  border: 1px solid rgba(96, 165, 250, 0.1);
  border-radius: var(--radius);
  transition: var(--trans);
}

.booking__step:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(96, 165, 250, 0.2);
  transform: translateY(-2px);
}

.booking__step-num {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-light);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(56, 189, 248, 0.1));
  border: 2px solid rgba(96, 165, 250, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.booking__step-num::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--blue-light), var(--accent));
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: var(--trans);
}

.booking__step:hover .booking__step-num::before {
  opacity: 0.2;
}

.booking__step-content {
  flex: 1;
  padding-top: 4px;
}

.booking__step strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.booking__step p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.booking__contact-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 36px;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 10px 18px;
  color: var(--text-muted);
  font-size: 0.88rem;
  text-decoration: none;
  transition: var(--trans);
}

.contact-pill:hover {
  border-color: rgba(96, 165, 250, 0.4);
  color: var(--text);
}

.contact-pill i {
  color: var(--blue-light);
}

.booking__separator {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.booking__contact-text {
  margin-top: 0;
}

.booking__contact-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.booking__contact-text p:last-child {
  margin-bottom: 0;
}

.booking__form,
#contactForm {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(12px);
}

.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 label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.form-group label span {
  color: var(--blue-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(7, 12, 26, 0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--trans);
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238899b4' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(136, 153, 180, 0.5);
}

.form-error {
  font-size: 0.75rem;
  color: #f87171;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: rgba(248, 113, 113, 0.5);
}

.form-group input[type="date"] {
  color-scheme: dark;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success i {
  font-size: 3rem;
  color: #4ade80;
  margin-bottom: 20px;
  display: block;
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.form-success p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.testimonials {
  background: transparent;
  position: relative;
  z-index: 1;
}

.testimonials__slider-wrapper {
  position: relative;
  margin-top: 48px;
}

.testimonialSwiper {
  padding-bottom: 60px !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  height: auto;
  backdrop-filter: blur(12px);
}

.testimonial-card__stars {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.testimonial-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card__author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.testimonial-card__author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
  font-family: var(--font-display);
}

.testimonial-card__author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.swiper-pagination-bullet {
  background: var(--text-muted) !important;
}

.swiper-pagination-bullet-active {
  background: var(--blue-light) !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--blue-light) !important;
  width: 50px !important;
  height: 50px !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 50% !important;
  backdrop-filter: blur(12px) !important;
  transition: var(--trans) !important;
  top: 40% !important;
  transform: translateY(-50%) !important;
  margin-top: 0 !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(37, 99, 235, 0.1) !important;
  border-color: rgba(96, 165, 250, 0.4) !important;
  transform: translateY(-50%) scale(1.1) !important;
}

.swiper-button-prev {
  left: -90px !important;
}

.swiper-button-next {
  right: -90px !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px !important;
  font-weight: 600 !important;
}

@media (max-width: 1024px) {
  .swiper-button-prev {
    left: -60px !important;
  }

  .swiper-button-next {
    right: -60px !important;
  }
}

@media (max-width: 768px) {
  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }
}

.contact {
  background: transparent;
  position: relative;
  z-index: 1;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  margin-top: 16px;
}

.contact__info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__info-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(56, 189, 248, 0.1));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.contact__info-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
  margin-bottom: 2px;
}

.contact__info-item a,
.contact__info-item span {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--trans);
}

.contact__info-item a:hover {
  color: var(--blue-light);
}

.contact__socials {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.social-btn {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  text-decoration: none;
  transition: var(--trans);
}

.social-btn:hover {
  border-color: rgba(96, 165, 250, 0.4);
  color: var(--blue-light);
  transform: translateY(-3px);
  background: rgba(37, 99, 235, 0.1);
}

.contact__availability {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  animation: blink 1.5s ease-in-out infinite;
}

.footer {
  background: transparent;
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
  position: relative;
  z-index: 1;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 16px 0 24px;
  max-width: 260px;
  line-height: 1.7;
}

.footer__socials {
  display: flex;
  gap: 10px;
}

.footer__socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--trans);
}

.footer__socials a:hover {
  border-color: rgba(96, 165, 250, 0.4);
  color: var(--blue-light);
  transform: translateY(-2px);
}

.footer__links-group h4 {
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  color: var(--text);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer__links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links-group a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--trans);
}

.footer__links-group a:hover {
  color: var(--blue-light);
}

.footer__bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer__bottom .fa-heart {
  color: #f87171;
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--trans);
}

.footer__legal a:hover {
  color: var(--blue-light);
}

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: var(--trans);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-3px) scale(1.05);
}

@media (max-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__image-col {
    max-width: 380px;
  }

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

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

  .booking__info {
    order: 2;
  }

  .booking__form {
    order: 1;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .hero__stats {
    gap: 20px;
  }

  .hero__actions {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
  }

  .hero__actions .btn {
    width: fit-content;
  }

  .hero__scroll-hint {
    display: none;
  }

  /* Fix portfolio cards touch interaction on mobile */
  .project-card {
    cursor: pointer;
  }

  .project-card__overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .project-card__overlay .btn {
    pointer-events: auto;
    touch-action: manipulation;
  }

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

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

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

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about__image-col {
    max-width: 100%;
  }

  .booking__form,
  #contactForm {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .footer__top {
    grid-template-columns: 1fr;
  }

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

  .hero__name {
    font-size: 3rem;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
  }
}