/* ========================================
   BAZRA NGYASYUR — Portfolio Redesign
   Design System & Styles
   ======================================== */

/* --- CSS Variables / Design Tokens --- */
:root {
  /* Colors */
  --bg-primary: #0a0a0c;
  --bg-secondary: #111114;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-glass: rgba(255, 255, 255, 0.05);

  --text-primary: #f0ece6;
  --text-secondary: rgba(240, 236, 230, 0.55);
  --text-muted: rgba(240, 236, 230, 0.3);

  --accent: #e8973e;
  --accent-glow: rgba(232, 151, 62, 0.25);
  --accent-soft: rgba(232, 151, 62, 0.08);

  --teal: #3ed4e8;
  --teal-glow: rgba(62, 212, 232, 0.2);

  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;

  /* Spacing */
  --section-padding: clamp(50px, 8vw, 120px);
  --container-max: 1280px;
  --container-padding: clamp(20px, 4vw, 60px);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-primary);
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

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

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

ul { list-style: none; }

/* --- Utility --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* --- Custom Cursor Dot --- */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease-out), opacity 0.3s;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), border-color 0.4s;
  opacity: 0.5;
}
.cursor-ring.hover {
  width: 60px;
  height: 60px;
  border-color: var(--teal);
  opacity: 0.8;
}

/* --- Noise overlay --- */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* =========================
   NAVIGATION
   ========================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover {
  color: var(--text-primary);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  padding: 10px 28px !important;
  border: 1px solid var(--accent) !important;
  border-radius: 100px !important;
  color: var(--accent) !important;
  font-size: 0.8rem !important;
  transition: all 0.3s var(--ease-out) !important;
}
.nav-cta:hover {
  background: var(--accent) !important;
  color: var(--bg-primary) !important;
}
.nav-cta::after {
  display: none !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
  border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =========================
   HERO SECTION
   ========================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(0.8);
}
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 12, 0.3) 0%,
    rgba(10, 10, 12, 0.6) 50%,
    var(--bg-primary) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 100px;
  background: var(--accent-soft);
  border: 1px solid rgba(232, 151, 62, 0.15);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), #f0b86e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease-out) 0.8s both;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeIn 1s var(--ease-out) 1.2s both;
}
.scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-indicator .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s var(--ease-in-out) infinite;
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  opacity: 0.4;
}
.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: 20%;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: var(--teal);
  bottom: 10%;
  left: -80px;
  animation: float 10s ease-in-out infinite reverse;
}

/* =========================
   BUTTONS
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
}
.btn-primary:hover {
  background: #f0a050;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px var(--accent-glow);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-icon {
  font-size: 1.1rem;
  transition: transform 0.3s var(--ease-out);
}
.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* =========================
   MARQUEE / SCROLLING TEXT
   ========================= */
.marquee-section {
  padding: 60px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}
.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  width: fit-content;
}
.marquee-item {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  white-space: nowrap;
  padding: 0 40px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 40px;
}
.marquee-item .sep {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* =========================
   SECTION HEADERS
   ========================= */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-label .line {
  width: 40px;
  height: 1px;
  background: var(--accent);
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.8;
}

/* =========================
   ABOUT SECTION
   ========================= */
.about {
  padding: var(--section-padding) 0;
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.8s var(--ease-out);
}
.about-image:hover img {
  transform: scale(1.05);
}
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  border-radius: inherit;
  pointer-events: none;
}
.about-float-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  z-index: 2;
}
.about-float-card .number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}
.about-float-card .label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}
.about-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 40px;
}
.about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.about-detail-item {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.3s, background 0.3s;
}
.about-detail-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-glass);
}
.about-detail-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.about-detail-value {
  font-weight: 600;
  font-size: 0.95rem;
}

/* =========================
   EXPERIENCE TIMELINE
   ========================= */
.experience {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
  position: relative;
}
.experience::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.timeline {
  position: relative;
  margin-top: 60px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
  transform: translateX(-50%);
}
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 24px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 20px var(--accent-glow);
}
.timeline-date {
  text-align: right;
  padding-right: 40px;
}
.timeline-date span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}
.timeline-content {
  padding-left: 40px;
}
.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.timeline-content .company {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.timeline-item.education .timeline-content h3 {
  color: var(--teal);
}

/* =========================
   SERVICES SECTION
   ========================= */
.services {
  padding: var(--section-padding) 0;
  position: relative;
}
.services-header {
  text-align: center;
  margin-bottom: 80px;
}
.services-header .section-desc {
  margin: 0 auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  padding: 48px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
  cursor: default;
  group: true;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-glass);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 28px;
  transition: background 0.3s;
}
.service-card:hover .service-icon {
  background: var(--accent-glow);
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.service-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.8;
}
.service-number {
  position: absolute;
  top: 24px;
  right: 32px;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
}

/* =========================
   STATS SECTION
   ========================= */
.stats {
  padding: 80px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-item {
  padding: 40px 20px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 50%;
  width: 1px;
  background: var(--border);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =========================
   WORKS / PORTFOLIO
   ========================= */
.works {
  padding: var(--section-padding) 0;
  position: relative;
}
.works-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}
.works-filters {
  display: flex;
  gap: 8px;
}
.filter-btn {
  padding: 10px 24px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.3s;
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.work-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  group: true;
}
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.6s;
}
.work-card:hover img {
  transform: scale(1.1);
  filter: brightness(0.5);
}
.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 12, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  opacity: 0;
  transition: opacity 0.4s;
}
.work-card:hover .work-overlay {
  opacity: 1;
}
.work-overlay h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  transform: translateY(20px);
  transition: transform 0.4s var(--ease-out);
}
.work-card:hover .work-overlay h4 {
  transform: translateY(0);
}
.work-overlay .tag {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateY(20px);
  transition: transform 0.4s var(--ease-out) 0.05s;
}
.work-card:hover .work-overlay .tag {
  transform: translateY(0);
}

/* Video Facade Cards */
.pb-video-card {
  position: relative;
  cursor: pointer;
  background: #000;
}
.pb-video-card .video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s, transform 0.6s var(--ease-out);
  opacity: 0.8;
}
.pb-video-card:hover .video-thumb {
  opacity: 0.5;
  transform: scale(1.05);
}
.pb-video-card.playing .video-thumb,
.pb-video-card.playing .play-button-overlay {
  display: none;
}
.play-button-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}
.play-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: transform 0.3s var(--ease-out), background 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.pb-video-card:hover .play-icon {
  transform: scale(1.1);
  background: rgba(232, 151, 62, 0.85);
  border-color: var(--accent);
  box-shadow: 0 8px 30px var(--accent-glow);
}

/* =========================
   CTA / LET'S WORK TOGETHER
   ========================= */
.cta {
  padding: var(--section-padding) 0;
  text-align: center;
  position: relative;
}
.cta-content {
  position: relative;
  z-index: 2;
}
.cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 1.1;
}
.cta p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 48px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  animation: float 8s ease-in-out infinite;
}

/* =========================
   CONTACT SECTION
   ========================= */
.contact {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.3s;
}
.contact-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-glass);
  transform: translateX(8px);
}
.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-card-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-card-value {
  font-weight: 600;
  font-size: 0.95rem;
}
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}
.social-link {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s;
}
.social-link:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  transform: translateY(-4px);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}
.form-group {
  position: relative;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 18px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--bg-glass);
}
.form-group textarea {
  resize: none;
  min-height: 140px;
}

/* =========================
   FOOTER
   ========================= */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-text {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--accent);
}

/* =========================
   ANIMATIONS
   ========================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(15px, -25px); }
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .about-image {
    max-width: 500px;
    margin: 0 auto;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 50px;
  }
  .timeline-item::before {
    left: 20px;
  }
  .timeline-date {
    text-align: left;
    padding-right: 0;
    margin-bottom: 8px;
  }
  .timeline-content {
    padding-left: 0;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .marquee-item {
    font-size: clamp(1.1rem, 4vw, 1.6rem);
    padding: 0 20px;
    gap: 20px;
  }
  .marquee-section {
    padding: 32px 0;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: rgba(17, 17, 20, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 28px;
    transition: right 0.5s var(--ease-out);
    border-left: 1px solid var(--border);
  }
  .nav-links.open {
    right: 0;
  }
  .nav-toggle {
    display: flex;
  }
  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }
  .works-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .works-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stat-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 30px 20px;
  }
  .stat-item:not(:last-child)::after {
    display: none;
  }
  .about-image {
    max-width: 100%;
    aspect-ratio: 1/1;
    border-radius: var(--radius-md);
  }
  .btn {
    padding: 16px 28px;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }
  .filter-btn {
    padding: 12px 20px;
    font-size: 0.85rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .footer .container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .cursor-dot, .cursor-ring {
    display: none;
  }
  .about-details {
    grid-template-columns: 1fr;
  }
  .works-filters {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =========================
   LIGHTBOX GALLERY
   ========================= */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 12, 0.98);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.4s;
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
  z-index: 2;
}
.lightbox-close:hover, .lightbox-nav:hover {
  background: var(--accent);
  transform: scale(1.1);
}
.lightbox-close {
  top: 30px;
  right: 30px;
}
.lightbox-prev {
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next {
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-prev:hover, .lightbox-next:hover {
  transform: translateY(-50%) scale(1.1);
}
.lightbox-counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}
@media (max-width: 768px) {
  .lightbox-prev { left: 10px; width: 40px; height: 40px; font-size: 1.2rem; }
  .lightbox-next { right: 10px; width: 40px; height: 40px; font-size: 1.2rem; }
  .lightbox-close { top: 15px; right: 15px; width: 40px; height: 40px; }
}
