/* ==========================
   PHOTO HERO
========================== */

.photo-hero {
  padding: 180px 4% 100px;
  max-width: 1400px;
  margin: auto;
}

/* ==========================
   HERO TOP
========================== */

.photo-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: rgba(0, 0, 0, 0.55);
}

/* ==========================
   HERO CONTENT
========================== */

.photo-hero-content {
  padding-top: 70px;
  max-width: 900px;
}

.photo-hero h1 {
  margin: 0;
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: 0.88;
  letter-spacing: -0.06em;
  font-weight: 500;
  color: #111111;
}

.photo-hero h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
}

.photo-hero p {
  max-width: 460px;
  margin-top: 45px;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.8;
}

/* ==========================
   PHOTO GALLERY
========================== */

.photo-gallery {
  max-width: 1400px;
  margin: auto;
  padding: 20px 4% 150px;
}

/* ==========================
   PHOTO GRID
========================== */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  align-items: start;
}

/* ==========================
   PHOTO ITEM
========================== */

.photo-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  width: 100%;
}

/* ==========================
   RANDOM VISUAL SIZE
========================== */

.photo-item.photo-small {
  grid-column: span 3;
  margin-left: 7%;
}

.photo-item.photo-medium {
  grid-column: span 4;
  margin-left: 3%;
}

.photo-item.photo-large {
  grid-column: span 6;
  margin-left: 0;
}

/* ==========================
   IMAGE
========================== */

.photo-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ==========================
   HOVER
========================== */

.photo-item:hover img {
  transform: scale(1.035);
}

/* ==========================
   PHOTO LOAD
========================== */

.photo-load {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 70px;
}

.photo-load .btn {
  min-width: 170px;
  justify-content: center;
}

#photoCount {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgba(0, 0, 0, 0.45);
}

/* ==========================
   LIGHTBOX
========================== */

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.photo-lightbox.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ==========================
   LIGHTBOX CONTENT
========================== */

.lightbox-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================
   LIGHTBOX IMAGE
========================== */

#lightbox-image {
  display: block;
  max-width: 90vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.15s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ==========================
   LIGHTBOX BUTTON
========================== */

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.04);
  color: #111111;
  border-radius: 50%;
  cursor: pointer;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
  z-index: 2;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.2);
}

/* ==========================
   CLOSE
========================== */

.lightbox-close {
  top: 30px;
  right: 30px;
}

.lightbox-close:hover {
  transform: rotate(90deg);
}

/* ==========================
   PREVIOUS
========================== */

.lightbox-prev {
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover {
  transform: translateY(-50%) translateX(-3px);
}

/* ==========================
   NEXT
========================== */

.lightbox-next {
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next:hover {
  transform: translateY(-50%) translateX(3px);
}

/* ==========================
   LIGHTBOX SVG
========================== */

.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg {
  width: 20px;
  height: 20px;
  display: block;
  stroke: currentColor;
  fill: currentColor;
}

/* ==========================
   IMAGE ERROR
========================== */

.photo-item.image-error {
  display: none;
}

/* ==========================
   MOBILE
========================== */

@media (max-width: 768px) {
  .photo-hero {
    padding: 140px 20px 70px;
  }

  .photo-hero-top {
    padding-bottom: 20px;
  }

  .photo-hero-content {
    padding-top: 50px;
  }

  .photo-hero h1 {
    font-size: clamp(3.5rem, 17vw, 6rem);
  }

  .photo-hero p {
    margin-top: 30px;
    font-size: 0.85rem;
    line-height: 1.7;
  }

  .photo-gallery {
    padding: 20px 20px 100px;
  }

  .photo-grid {
    display: block;
    columns: 2 0;
    column-gap: 10px;
  }

  .photo-item {
    margin-bottom: 10px;
    break-inside: avoid;
  }

  .photo-item.photo-small,
  .photo-item.photo-medium,
  .photo-item.photo-large {
    width: 100%;
    margin-left: 0;
  }

  .photo-item img {
    transition: transform 0.5s ease;
  }

  .photo-load {
    padding-top: 50px;
  }

  .photo-lightbox {
    padding: 15px;
  }

  #lightbox-image {
    max-width: 94vw;
    max-height: 82vh;
  }

  .lightbox-close {
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 38px;
    height: 38px;
  }

  .lightbox-prev {
    left: 12px;
  }

  .lightbox-next {
    right: 12px;
  }

  .lightbox-close svg,
  .lightbox-prev svg,
  .lightbox-next svg {
    width: 17px;
    height: 17px;
  }
}

/* ==========================
   SMALL MOBILE
========================== */

@media (max-width: 480px) {
  .photo-hero {
    padding-top: 125px;
  }

  .photo-hero h1 {
    font-size: clamp(3rem, 18vw, 5rem);
  }

  .photo-grid {
    column-gap: 8px;
  }

  .photo-item {
    margin-bottom: 8px;
  }

  .photo-lightbox {
    padding: 10px;
  }

  #lightbox-image {
    max-width: 96vw;
    max-height: 78vh;
  }
}

/* ========================================
   DITYA PORTFOLIO - LIGHT THEME
   Version : 2.0
======================================== */

:root {
  --bg: #e0e0e0;
  --surface: rgba(0, 0, 0, 0.03);
  --surface-hover: rgba(0, 0, 0, 0.06);
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --text: #121214;
  --muted: #64646e;
  --radius: 28px;
  --transition: 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  --max-width: 1400px;
}

/* ========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Sembunyikan kursor standar bawaan browser */
body,
a,
button,
input {
  cursor: none !important;
}

/* Canvas Kursor Melayang */
#fluidCursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99999;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

body h2,
h3,
a {
  font-family: "Space Grotesk", sans-serif;
}

img {
  width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

section {
  width: min(92%, var(--max-width));
  margin: auto;
  padding: 120px 0;
}

/* ========================= */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.03), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(0, 0, 0, 0.02), transparent 30%),
    radial-gradient(circle at 50% 90%, rgba(0, 0, 0, 0.025), transparent 30%);
  z-index: -2;
}

.glass {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  border-radius: 28px;
}

.navbar {
  position: fixed;
  height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 28px;
  z-index: 200;
  left: 50%;
  top: 25px;
  transform: translateX(-50%);
  width: min(1200px, 92%);
  border-radius: 999px;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  color: var(--text);
}

.logo img {
  height: 32px;
  width: auto;
  display: block;
  transition: 0.35s ease;
}

.logo:hover img {
  transform: scale(1.05);
  opacity: 0.85;
}

nav {
  display: flex;
  gap: 40px;
}

nav a {
  color: var(--muted);
  font-weight: 500;
  transition: var(--transition);
}

nav a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: none;
  background: none;
  color: var(--text);
  justify-content: center;
  align-items: center;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  position: absolute;
  transition: 0.35s ease;
}

.icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.8);
}

.menu-toggle.active .icon-menu {
  opacity: 0;
  transform: rotate(90deg) scale(0.8);
}

.menu-toggle.active .icon-close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* =========================================
   HERO FULLSCREEN
========================================= */

.minimalist-hero {
  height: 100vh;
  width: 100%;
  position: relative;
  background: #f0f0f4;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  width: 100%;
  height: 100%;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.hero-overlay-text {
  position: absolute;
  font-size: clamp(8rem, 20vw, 20rem);
  font-weight: 900;
  color: #ffffff;
  mix-blend-mode: overlay;
  pointer-events: none;
  letter-spacing: -6px;
  z-index: 2;
}

.hero-footer-actions {
  position: absolute;
  bottom: 50px;
  width: min(92%, 1400px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  z-index: 3;
}

.hero-footer-actions a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Glass CTA buttons */
.glass-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  overflow: hidden;
}

.glass-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0) 60%
  );
  pointer-events: none;
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.glass-btn-primary {
  background: rgba(255, 91, 31, 0.9);
  border-color: transparent;
  color: #fff;
}

.glass-btn-primary:hover {
  background: #ff5b1f;
  color: #fff;
  box-shadow: 0 12px 32px rgba(255, 91, 31, 0.3);
}

.glass-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.glass-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.glass-icon:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.25);
  transform: translateY(-3px);
}

.social-links {
  display: flex;
  gap: 12px;
}

.hero-side-group {
  display: flex;
  align-items: flex-end;
  gap: 22px;
}

.hero-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border);
}

.hero-qr img {
  width: 64px;
  height: 64px;
  display: block;
  border-radius: 6px;
}

.hero-qr span {
  font-size: 9px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.btn-primary-neon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ff3366;
  color: #fff;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(255, 51, 102, 0.3);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.btn-primary-neon:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(255, 51, 102, 0.45);
}

.hero-right-visual {
  position: relative;
  width: 100%;
}

.hero-media-wrapper {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.hero-media-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.5) 0%,
    transparent 50%
  );
}

.hero-floating-card {
  position: absolute;
  bottom: -20px;
  left: -30px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  padding: 24px 28px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  max-width: 240px;
}

.hero-floating-card span {
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: #ff3366;
  font-weight: 700;
}

.hero-floating-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 6px 0 4px 0;
}

.hero-floating-card p {
  font-size: 0.85rem;
  color: var(--muted);
}

.btn-secondary {
  padding: 16px 32px;
  border: 1px solid var(--border-strong);
  border-radius: 50px;
  color: var(--text);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.05);
}

.hero-socials {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.hero-socials a {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

.hero-socials a:hover {
  color: #ff3366;
}

.btn {
  padding: 18px 36px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  transition: 0.35s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.btn:hover {
  transform: translateY(-3px);
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* ===========================
   CATEGORY ACCORDION
=========================== */

.categories h2 {
  font-size: 3rem;
  margin-top: 10px;
}

.category-accordion {
  display: flex;
  flex-direction: row;
  height: 600px;
  gap: 16px;
  width: 100%;
  margin-top: 40px;
}

.category-accordion .category-card {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  transition:
    flex 0.6s cubic-bezier(0.25, 1, 0.5, 1),
    filter 0.6s ease;
  text-decoration: none;
  display: block;
  filter: grayscale(40%) brightness(0.85);
  border: 1px solid var(--border);
}

.category-accordion:hover .category-card {
  filter: grayscale(80%) brightness(0.7);
}

.category-accordion .category-card:hover {
  flex: 4;
  filter: grayscale(0%) brightness(1);
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.category-accordion .card-bg,
.category-accordion .card-bg img,
.category-accordion .card-bg video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-accordion .category-card:hover .card-bg img,
.category-accordion .category-card:hover .card-bg video {
  transform: scale(1.05);
}

.category-accordion .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 30px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    transparent 100%
  ); /* Teks accordion tetap putih agar terbaca jelas di atas gambar */
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.5s ease 0.2s,
    transform 0.5s ease 0.2s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-accordion .category-card:hover .card-content {
  opacity: 1;
  transform: translateY(0);
}

.category-accordion .card-content span {
  font-family: "Space Grotesk", sans-serif;
  color: #ff5b1f;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

.category-accordion .card-content h3 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

/* ===========================
   FEATURED & GALLERY
=========================== */

.featured {
  padding: 160px 0;
}

.section-header {
  margin-bottom: 50px;
}

.section-header span {
  letter-spacing: 3px;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.section-header h2 {
  font-size: 3rem;
  margin-top: 10px;
  color: var(--text);
}

.gallery-preview {
  padding: 180px 0;
}

.masonry {
  column-count: 3;
  column-gap: 20px;
}

.item {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 24px;
  cursor: pointer;
  position: relative;
  background: #eaeaea;
  border: 1px solid var(--border);
}

.item img {
  width: 100%;
  display: block;
  transition: 0.6s;
}

.item:hover img {
  transform: scale(1.06);
}

.gallery-button {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

/* ==========================
   POPUP GALLERY / LIGHTBOX
========================== */

.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px;
  background: rgba(250, 250, 252, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: 0.35s ease;
  z-index: 999;
}

.lightbox.show {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: min(1100px, 90vw);
  max-height: 85vh;
  transform: scale(0.9);
  transition: 0.35s ease;
}

.lightbox.show .lightbox-content {
  transform: scale(1);
}

.lightbox img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ==========================
   PROJECT HERO
========================== */

.project-hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  padding: 20px;
}

.hero-text span {
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-text h1 {
  font-size: 7rem;
  margin: 25px 0;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-text p {
  max-width: 650px;
  margin: auto;
  font-size: 1.2rem;
  color: #eee;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.7)
  );
}

.project-title {
  position: relative;
  z-index: 2;
  text-align: center;
}

.project-title span {
  letter-spacing: 5px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  color: #fff;
}

.project-title h1 {
  font-size: 7rem;
  margin-top: 20px;
  font-weight: 700;
  color: #fff;
}

/* ==========================
   PROJECT INFO & OVERVIEW
========================== */

.project-info {
  width: min(1200px, 90%);
  margin: auto;
  padding: 140px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.project-info span {
  color: var(--muted);
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 600;
}

.project-info h3 {
  margin-top: 15px;
  font-size: 1.6rem;
  color: var(--text);
}

.overview {
  width: min(1200px, 90%);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-bottom: 160px;
}

.overview h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 3rem;
  line-height: 1.15;
  color: var(--text);
}

.overview p {
  line-height: 1.9;
  color: var(--muted);
}

.final-result {
  width: min(1400px, 92%);
  margin: auto;
  padding-bottom: 180px;
}

.final-result .video-player {
  padding: 18px;
  border-radius: 30px;
  margin-top: 40px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border);
}

.final-result .video-player video {
  width: 100%;
  border-radius: 20px;
  display: block;
}

.next-project {
  padding: 180px 20px;
  text-align: center;
}

.next-project span {
  letter-spacing: 4px;
  color: var(--muted);
  font-weight: 600;
}

.next-project h2 {
  font-size: 5rem;
  margin: 20px 0;
  color: var(--text);
}

.next-project a {
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--text);
}

/* ==========================
   WHAT I DO / SERVICES
========================== */

.services {
  padding: 180px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  padding: 35px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  background: #ffffff;
  border-color: var(--border-strong);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
}

.service-icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
  margin-bottom: 28px;
}

.service-icon svg {
  width: 30px;
  height: 30px;
  color: var(--text);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: var(--text);
}

.service-card p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 340px;
}

/* =============================
   ABOUT
============================= */

.about {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 90px;
  align-items: center;
  padding: 180px 0;
}

.about-image {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: 0.7s;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-content > span {
  color: var(--muted);
  letter-spacing: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.about-content h2 {
  margin: 20px 0;
  font-size: 4rem;
  line-height: 1;
  color: var(--text);
}

.about-content p {
  max-width: 650px;
  color: var(--muted);
  line-height: 2;
}

.about-info {
  display: flex;
  gap: 70px;
  margin: 60px 0;
}

.about-info h3 {
  font-size: 2.4rem;
  margin-bottom: 8px;
  color: var(--text);
}

.about-info span {
  color: var(--muted);
}

.about-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
}

.status {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-weight: 500;
}

.status .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 12px #10b981;
}

.about-bottom a svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  color: var(--text);
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.7;
  flex-shrink: 0;
  transition: 0.35s;
  padding-left: 6px;
}

.about-bottom a:hover svg {
  transform: translateY(-2px);
  color: #ff3366;
  opacity: 1;
}

/* =========================
   CREATIVE TOOLKIT
========================= */

.tools {
  position: relative;
  padding: 150px 0;
  overflow: hidden;
}

.tools .section-header {
  text-align: center;
  margin-bottom: 70px;
}

.tools .section-header span {
  letter-spacing: 4px;
  color: var(--muted);
}

.tools .section-header h2 {
  font-size: 3rem;
  margin-top: 12px;
  color: var(--text);
}

.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 25px 0;
  padding: 10px 0;
  mask-image: linear-gradient(
    to right,
    transparent,
    white 8%,
    white 92%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    white 8%,
    white 92%,
    transparent
  );
}

.track {
  display: flex;
  align-items: center;
  gap: 70px;
  width: max-content;
  will-change: transform;
  animation: leftMove 56s linear infinite;
}

.reverse .track {
  animation: rightMove 56s linear infinite;
}

.tool {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  white-space: nowrap;
  opacity: 0.75;
  color: var(--text);
  transition: 0.35s ease;
}

.tool:hover {
  opacity: 1;
  transform: translateY(-4px);
}

.tool img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.tool span {
  font-size: 1.05rem;
  font-weight: 500;
}

@keyframes leftMove {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes rightMove {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

.tools::before {
  content: "TOOLKIT";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(7rem, 18vw, 16rem);
  font-weight: 800;
  letter-spacing: 12px;
  color: rgba(0, 0, 0, 0.025);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: -1;
}

/* ==================================
   FOOTER
================================== */

.footer {
  width: min(92%, 1400px);
  margin: 180px auto 60px;
}

.footer-line {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 70px;
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 70px;
}

.footer-logo img {
  height: 55px;
  width: auto;
  opacity: 0.9;
  transition: 0.4s;
}

.footer-logo img:hover {
  transform: scale(1.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  margin-bottom: 80px;
}

.footer-grid span {
  display: block;
  margin-bottom: 18px;
  font-size: 0.75rem;
  letter-spacing: 4px;
  color: var(--muted);
  font-weight: 600;
}

.footer-grid p,
.footer-grid a {
  color: var(--text);
  font-size: 1rem;
  transition: 0.3s;
}

.footer-grid a:hover {
  opacity: 0.6;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-social a {
  transition: 0.35s;
}

.footer-social a:hover {
  transform: translateX(6px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--muted);
}

.back-top {
  transition: 0.3s;
}

.back-top:hover {
  transform: translateY(-4px);
}

.footer-item p,
.footer-item a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-item svg,
.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  color: var(--text);
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.7;
  flex-shrink: 0;
  transition: 0.35s;
}

.footer-item a:hover svg,
.footer-social a:hover svg {
  transform: translateY(-2px);
  color: #ff7738;
  opacity: 1;
}

/* ==========================
   CHAT WINDOW
========================== */

.chat-toggle {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 64px;
  height: 64px;
  border: none;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 500;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
}

.chat-toggle svg {
  width: 26px;
}

.chat-toggle:hover {
  transform: scale(1.08);
}

.chat-window {
  position: fixed;
  right: 30px;
  bottom: 110px;
  width: 360px;
  height: 560px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: 0.35s;
  z-index: 500;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.chat-window.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.chat-header {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.chat-header h3 {
  font-size: 1rem;
  color: var(--text);
}

.chat-header span {
  color: var(--muted);
  font-size: 0.85rem;
}

.chat-close {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  border-radius: 50%;
  transition: 0.3s ease;
}

.chat-close svg {
  width: 18px;
  height: 18px;
}

.chat-close:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.05);
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.bot {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text);
  padding: 16px;
  border-radius: 18px;
  max-width: 85%;
}

.user {
  margin-left: auto;
  background: var(--text);
  color: #fff;
  padding: 16px;
  border-radius: 18px;
  max-width: 85%;
}

.chat-input {
  display: flex;
  padding: 18px;
  gap: 10px;
  border-top: 1px solid var(--border);
}

.chat-input input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 16px;
}

.chat-input button {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.chat-input svg {
  width: 20px;
}

.typing {
  display: none;
  align-self: flex-start;
  background: rgba(0, 0, 0, 0.05);
  padding: 14px 18px;
  border-radius: 18px;
  gap: 6px;
}

.typing.show {
  display: flex;
}

.typing span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing 1s infinite;
}

.typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

.bot,
.user {
  animation: message 0.35s ease;
}

@keyframes message {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ==========================
   BACKGROUND MUSIC
========================== */

.music-toggle {
  position: fixed;
  left: 30px;
  bottom: 30px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  color: var(--text);
  border-radius: 50%;
  cursor: pointer;
  z-index: 500;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

.music-toggle:hover {
  background: #ffffff;
  border-color: var(--border-strong);
}

.music-icon {
  font-size: 18px;
  line-height: 1;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.music-toggle.playing .music-icon {
  animation: musicPulse 1.2s ease-in-out infinite;
}

@keyframes musicPulse {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1.12);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* ==========================
   SCROLL REVEAL
========================== */

.reveal {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(80px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    filter 0.8s ease;
  will-change: opacity, transform, filter;
}

.reveal.show {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.reveal.hide-up {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(-50px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    filter 0.6s ease;
}

/* ==========================
   FAQ STYLING
========================== */

.faq {
  padding: 160px 0;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.faq-item:hover {
  background: #ffffff;
  border-color: var(--border-strong);
}

.faq-question {
  width: 100%;
  padding: 28px 32px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  color: var(--muted);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--text);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    padding 0.4s ease;
  padding: 0 32px;
}

.faq-answer p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
  padding-bottom: 28px;
}

/* ==========================
   RESUME PAGE STYLING
========================== */

.resume-page {
  width: min(92%, 1200px);
  margin: auto;
  padding: 180px 0 100px;
}

.resume-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.resume-header span {
  letter-spacing: 4px;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 600;
}

.resume-header h1 {
  font-size: 3.5rem;
  margin: 15px 0 10px;
  color: var(--text);
}

.resume-header p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.resume-actions {
  margin-top: 35px;
}

.btn-back {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.btn-back:hover {
  color: var(--text);
}

.resume-summary {
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: 28px;
}

.resume-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.resume-column h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--text);
}

.resume-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.resume-card {
  padding: 35px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.resume-card:hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: var(--border-strong);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.resume-card .year {
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: #059669;
  font-weight: 700;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.resume-card h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
  color: var(--text);
}

.resume-card .company {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.resume-card .desc {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skills-tags span {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

/* ==========================================
   MASONRY DESIGN GRID
========================================== */

.design-bento-grid {
  display: block;
  columns: 3 300px;
  column-gap: 24px;
  padding-bottom: 80px;
}

.design-card {
  break-inside: avoid;
  margin-bottom: 24px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
}

.design-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.design-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.design-tag {
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: #34d399;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  transform: translateY(10px);
  transition: transform 0.35s ease;
}

.design-overlay h3 {
  font-size: 1.3rem;
  color: #fff;
  font-weight: 600;
  transform: translateY(10px);
  transition: transform 0.35s ease 0.05s;
}

.design-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}

.design-card:hover img {
  transform: scale(1.03);
}

.design-card:hover .design-overlay {
  opacity: 1;
}

.design-card:hover .design-tag,
.design-card:hover .design-overlay h3 {
  transform: translateY(0);
}

/* Modal Popup Styles */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.project-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(240, 240, 245, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.modal-container {
  position: relative;
  width: min(90%, 1000px);
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 50px;
  z-index: 2;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-modal.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.modal-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.modal-image-wrapper img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  max-height: 500px;
}

.modal-info h2 {
  font-size: 2rem;
  margin: 10px 0 20px;
  color: var(--text);
}

.modal-info p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 20px;
}

.btn-load {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.btn-load:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.design-card.hidden {
  display: none !important;
}

/* ==========================================
   DYNAMIC SMOOTH MARQUEE
========================================== */

.video-marquee-section {
  padding: 140px 0;
  overflow: hidden;
  width: 100%;
}

.video-marquee-section .section-header {
  width: min(92%, var(--max-width));
  margin: 0 auto 60px auto;
}

.video-marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 40px 0;
  mask-image: linear-gradient(
    to right,
    transparent,
    white 8%,
    white 92%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    white 8%,
    white 92%,
    transparent
  );
}

.video-marquee-track {
  display: flex;
  align-items: center;
  gap: 35px;
  width: max-content;
  will-change: transform;
  animation: smoothMarquee 40s linear infinite;
}

@keyframes smoothMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.marquee-video-card {
  width: 300px;
  flex-shrink: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
}

.marquee-video-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--border-strong);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.marquee-video-card.item-up {
  transform: translateY(-40px);
}

.marquee-video-card.item-down {
  transform: translateY(40px);
}

.marquee-video-card.item-up:hover {
  transform: translateY(-48px) scale(1.02);
}

.marquee-video-card.item-down:hover {
  transform: translateY(32px) scale(1.02);
}

.marquee-video-card video {
  width: 100%;
  height: auto !important;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

.marquee-info {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
}

.marquee-info span {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 2px;
}

.marquee-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

/* =========================================================
   DESIGN HERO & CAPABILITIES
========================================================= */

.design-hero {
  padding: 160px 0 80px;
  width: min(90%, 1100px);
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 51, 102, 0.08);
  border: 1px solid rgba(255, 51, 102, 0.25);
  border-radius: 50px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: #ff3366;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge .pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #ff3366;
  border-radius: 50%;
  box-shadow: 0 0 10px #ff3366;
}

.design-hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 20px;
}

.design-hero h1 span {
  background: linear-gradient(135deg, #111111 40%, rgba(17, 17, 17, 0.45));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.design-hero p {
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  width: fit-content;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.capabilities-section {
  width: min(90%, 1100px);
  margin: 120px auto;
  padding-top: 80px;
  border-top: 1px solid var(--border);
}

.section-header-left {
  margin-bottom: 50px;
}

.section-header-left span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: #ff3366;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.section-header-left h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cap-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition:
    transform 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.cap-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.cap-card.large {
  grid-column: span 2;
}

.cap-icon {
  width: 42px;
  height: 42px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--text);
}

.cap-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.cap-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
========================================== */

@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .services-grid,
  .resume-grid,
  .overview,
  .modal-content-grid,
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  .cap-card.large {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  nav {
    display: none;
  }
}