/*
Theme Name: CQube Media
Theme URI: https://www.qubetv.com/
Author: CQube Media
Author URI: https://www.qubetv.com/
Description: CQube Media — global multilingual digital media network. A static-first WordPress theme converted from the CQube Media marketing site. Built around the company's 50+ YouTube channel ecosystem, 15M+ subscribers, and 50B+ lifetime views.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cqube-media
Tags: one-page, business, custom-logo, custom-menu, custom-colors, full-width-template
*/

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --accent: #ffffff;
  --accent-dim: #cccccc;
  --accent-glow: rgba(255, 255, 255, 0.08);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.16);
  --font-display: 'Albert Sans', sans-serif;
  --font-body: 'Albert Sans', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-height: 80px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: default;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
  width: 8px; height: 8px;
  background: #ffffff;
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
  transition: transform 0.15s var(--ease-out);
}
.cursor-ring {
  width: 40px; height: 40px;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}
.cursor-ring.hovering {
  width: 60px; height: 60px;
  border-color: rgba(255,255,255,0.4);
}

@media (max-width: 768px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ===== LOADER ===== */
.loader {
  position: fixed; inset: 0;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 20px;
}
.loader-logo {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  opacity: 0;
}
.loader-logo span { color: var(--accent); }
.loader-bar {
  width: 200px; height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: 2px;
}
.loader-percent {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(24px, 4vw, 60px);
  z-index: 1000;
  background: transparent;
  transition: background 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}
.nav-logo span { color: var(--accent); }
.nav-logo-img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}
.nav-links {
  display: flex; gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: #ffffff;
  transition: width 0.4s var(--ease-out);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: #ffffff; }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  padding: 10px 28px;
  border: 1px solid #ffffff;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0a0a0a;
  background: #ffffff;
  transition: all 0.3s var(--ease-out);
  letter-spacing: 0.01em;
}
.nav-cta:hover {
  background: transparent;
  color: #ffffff;
  transform: scale(1.02);
}
.nav-cta::after { display: none; }

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
  padding: 8px;
}
.menu-toggle span {
  width: 28px; height: 2px;
  background: var(--text-primary);
  transition: all 0.4s var(--ease-out);
  transform-origin: center;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.mobile-menu {
  position: fixed; inset: 0;
  background: var(--bg-primary);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-secondary);
  transition: color 0.3s;
}
.mobile-menu a:hover { color: #ffffff; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
}

/* ===== PAGE SECTIONS ===== */
section { position: relative; }
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 60px);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=80') center center / cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.78) 40%,
    rgba(10,10,30,0.7) 70%,
    rgba(0,0,0,0.85) 100%
  );
  z-index: 1;
}
.hero-bg-gradient {
  position: absolute; inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(56,120,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(120,80,255,0.04) 0%, transparent 50%);
}
.hero-grid-lines {
  position: absolute; inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 60% at center, black, transparent);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 40px;
  backdrop-filter: blur(10px);
}
.hero-tag-dot {
  width: 6px; height: 6px;
  background: #ffffff;
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  max-width: 900px;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line-inner {
  display: block;
  transform: translateY(120%);
}
.hero h1 .accent { color: var(--accent); }
.hero h1 .outline {
  -webkit-text-stroke: 1.5px var(--text-primary);
  color: transparent;
}
.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 48px;
  opacity: 0;
}
.hero-actions {
  display: flex; gap: 16px; align-items: center;
  flex-wrap: wrap;
  opacity: 0;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px;
  background: #ffffff;
  color: #0a0a0a;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.35s var(--ease-out);
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  transform: scale(1.04);
  box-shadow: 0 0 50px rgba(255,255,255,0.15);
}
.btn-primary svg {
  width: 18px; height: 18px;
  transition: transform 0.3s var(--ease-out);
}
.btn-primary:hover svg { transform: translateX(4px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px;
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.35s var(--ease-out);
}
.btn-outline:hover {
  border-color: #ffffff;
  color: var(--accent);
}
.hero-stats {
  display: flex; gap: 60px;
  margin-top: 80px;
  opacity: 0;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  opacity: 0;
}
.hero-scroll-indicator span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px; height: 40px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 50%;
  background: #ffffff;
  animation: scroll-down 2s ease infinite;
}
@keyframes scroll-down {
  0% { top: -50%; }
  100% { top: 150%; }
}

/* ===== MARQUEE ===== */
.marquee-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--text-muted);
  padding: 0 40px;
  display: flex; align-items: center; gap: 40px;
  flex-shrink: 0;
}
.marquee-item .dot {
  width: 8px; height: 8px;
  background: #ffffff;
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 160px 0;
  position: relative;
  background: url('https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?w=1920&q=80') center center / cover no-repeat fixed;
}
.about-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.94) 0%, rgba(10,10,10,0.88) 50%, rgba(10,10,10,0.94) 100%);
  z-index: 0;
}
.about-section > .container {
  position: relative;
  z-index: 1;
}
.about-what-we-do {
  background-image: url('https://images.unsplash.com/photo-1635070041078-e363dbe005cb?w=1920&q=80') !important;
}
.section-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 32px;
}
.section-label::before {
  content: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.about-heading .accent { color: var(--accent); }
.about-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-tertiary);
}
.about-image-wrapper::before {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  z-index: 2;
}
.about-image-inner {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #222222 50%, #1a1a1a 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.about-image-text {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  position: absolute;
  user-select: none;
}
.about-float-card {
  position: absolute;
  bottom: -20px; right: -20px;
  background: #ffffff;
  color: #0a0a0a;
  padding: 24px 32px;
  border-radius: 12px;
  z-index: 3;
}
.about-float-card-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}
.about-float-card-label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { gap: 30px; flex-wrap: wrap; }
}

/* ===== SERVICES ===== */
.services-section {
  padding: 160px 0;
  position: relative;
  background: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?w=1920&q=80') center center / cover no-repeat fixed;
}
.services-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.95) 0%, rgba(10,10,20,0.9) 50%, rgba(17,17,17,0.95) 100%);
  z-index: 0;
}
.services-section > .container {
  position: relative;
  z-index: 1;
}
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
  flex-wrap: wrap;
  gap: 24px;
}
.services-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 600px;
}
.services-header h2 .accent { color: var(--accent); }
.services-header p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 400px;
  line-height: 1.7;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 36px;
  transition: all 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: #ffffff;
  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);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
  transition: background 0.4s;
}
.service-card:hover .service-icon { background: #ffffff; }
.service-icon svg {
  width: 26px; height: 26px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 1.5;
  transition: stroke 0.4s;
}
.service-card:hover .service-icon svg { stroke: #0a0a0a; }
.service-num {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.service-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 24px;
}
.service-tag {
  font-size: 0.75rem;
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  transition: all 0.3s;
}
.service-card:hover .service-tag {
  border-color: rgba(255,255,255,0.4);
  color: #ffffff;
}

/* ===== PROJECTS / PORTFOLIO ===== */
.projects-section {
  padding: 160px 0;
  position: relative;
  background: url('https://images.unsplash.com/photo-1639322537228-f710d846310a?w=1920&q=80') center center / cover no-repeat fixed;
}
.projects-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.94) 0%, rgba(5,5,20,0.88) 50%, rgba(10,10,10,0.94) 100%);
  z-index: 0;
}
.projects-section > .container {
  position: relative;
  z-index: 1;
}
.projects-header {
  text-align: center;
  margin-bottom: 80px;
}
.projects-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.projects-header h2 .accent { color: var(--accent); }
.projects-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-top: 16px;
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.7;
}

.project-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.project-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/11;
  border: 1px solid var(--border);
  transition: all 0.5s var(--ease-out);
  background: var(--bg-secondary);
}
.project-card:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 21/9; }
.project-card-bg {
  position: absolute; inset: 0;
  transition: transform 0.7s var(--ease-out);
}
.project-card:hover .project-card-bg { transform: scale(1.05); }
.project-card:hover { border-color: var(--border-hover); }

.project-card-bg.p1 { background: linear-gradient(135deg, #1a1a1a 0%, #222222 50%, #2a2a2a 100%); }
.project-card-bg.p2 { background: linear-gradient(135deg, #181818 0%, #252525 50%, #181818 100%); }
.project-card-bg.p3 { background: linear-gradient(135deg, #161616 0%, #222222 50%, #161616 100%); }
.project-card-bg.p4 { background: linear-gradient(135deg, #1c1c1c 0%, #282828 50%, #1c1c1c 100%); }
.project-card-bg.p5 { background: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?w=800&q=80') center center / cover no-repeat; }

.project-card-mockup {
  position: absolute;
  inset: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.mockup-bar {
  height: 32px;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mockup-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }
.mockup-body {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mockup-line {
  height: 8px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
}
.mockup-line:nth-child(1) { width: 60%; }
.mockup-line:nth-child(2) { width: 80%; }
.mockup-line:nth-child(3) { width: 45%; }
.mockup-line:nth-child(4) { width: 70%; height: 40px; }
.mockup-line:nth-child(5) { width: 55%; }

.project-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,5,10,1) 0%, rgba(5,5,10,0.85) 40%, rgba(5,5,10,0.5) 70%, rgba(5,5,10,0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  opacity: 1;
  transition: opacity 0.4s;
}
.project-card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 8px;
  opacity: 0.7;
  letter-spacing: 0.12em;
}
.project-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 8px;
}
.project-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.project-card-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  transition: gap 0.3s;
}
.project-card-link:hover { gap: 14px; }
.project-card-link svg {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none;
  stroke-width: 2;
}

@media (max-width: 768px) {
  .project-showcase { grid-template-columns: 1fr; }
  .project-card:nth-child(1) { aspect-ratio: 16/11; }
  .project-card-overlay { opacity: 1; }
}

/* ===== PROCESS SECTION ===== */
.process-section {
  padding: 160px 0;
  position: relative;
  background: url('https://images.unsplash.com/photo-1506748686214-e9df14d4d9d0?w=1920&q=80') center center / cover no-repeat fixed;
}
.process-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.95) 0%, rgba(10,10,25,0.9) 50%, rgba(17,17,17,0.95) 100%);
  z-index: 0;
}
.process-section > .container {
  position: relative;
  z-index: 1;
}
.process-header {
  text-align: center;
  margin-bottom: 80px;
}
.process-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.process-header h2 .accent { color: var(--accent); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 1px;
  background: var(--border);
}
.process-step {
  text-align: center;
  position: relative;
}
.process-step-num {
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--bg-secondary);
  position: relative;
  z-index: 2;
  transition: all 0.5s var(--ease-out);
}
.process-step:hover .process-step-num {
  background: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
  transform: scale(1.1);
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.process-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
}
@media (max-width: 500px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: 160px 0;
  overflow: hidden;
  position: relative;
  background: url('https://images.unsplash.com/photo-1462331940025-496dfbfc7564?w=1920&q=80') center center / cover no-repeat fixed;
}
.testimonials-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.93) 0%, rgba(10,10,30,0.87) 50%, rgba(10,10,10,0.93) 100%);
  z-index: 0;
}
.testimonials-section > .container {
  position: relative;
  z-index: 1;
}
.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}
.testimonials-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.testimonials-header h2 .accent { color: var(--accent); }
.testimonials-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
}
.testimonials-carousel::-webkit-scrollbar { display: none; }
.testimonial-card {
  min-width: 420px;
  max-width: 420px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  flex-shrink: 0;
  scroll-snap-align: start;
  transition: all 0.4s var(--ease-out);
}
.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.testimonial-stars {
  display: flex; gap: 4px;
  margin-bottom: 20px;
}
.testimonial-stars svg {
  width: 16px; height: 16px;
  fill: #ffffff;
}
.testimonial-card blockquote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex; align-items: center; gap: 14px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: #ffffff;
}
.testimonial-info h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
}
.testimonial-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 500px) {
  .testimonial-card { min-width: 300px; max-width: 300px; padding: 28px; }
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 160px 0;
  position: relative;
  overflow: hidden;
  background: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?w=1920&q=80') center center / cover no-repeat fixed;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.94) 0%, rgba(10,10,30,0.85) 50%, rgba(17,17,17,0.94) 100%);
  z-index: 0;
}
.cta-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 20rem);
  font-weight: 800;
  color: rgba(255,255,255,0.03);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}
.cta-content {
  text-align: center;
  position: relative; z-index: 2;
}
.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.cta-content h2 .accent { color: var(--accent); }
.cta-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 160px 0;
  position: relative;
  background: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?w=1920&q=80') center center / cover no-repeat fixed;
}
.contact-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.95) 0%, rgba(10,10,20,0.9) 50%, rgba(10,10,10,0.95) 100%);
  z-index: 0;
}
.contact-section > .container {
  position: relative;
  z-index: 1;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.1;
}
.contact-info h2 .accent { color: var(--accent); }
.contact-info > p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact-details {
  display: flex; flex-direction: column; gap: 24px;
}
.contact-detail {
  display: flex; align-items: center; gap: 16px;
}
.contact-detail-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg {
  width: 20px; height: 20px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 1.5;
}
.contact-detail-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-detail-text p {
  font-size: 1rem;
  color: var(--text-primary);
  margin-top: 4px;
}
.contact-form {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #ffffff;
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a5a6e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-submit {
  width: 100%;
  padding: 16px;
  background: #ffffff;
  color: #0a0a0a;
  border: none;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 32px; }
}

/* ===== FOOTER ===== */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}
.footer-socials {
  display: flex; gap: 12px;
  margin-top: 24px;
}
.footer-social {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.footer-social:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.06);
}
.footer-social svg {
  width: 18px; height: 18px;
  fill: var(--text-secondary);
  transition: fill 0.3s;
}
.footer-social:hover svg { fill: #ffffff; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color 0.3s;
}
.footer-col a:hover { color: #ffffff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ===== REVEAL ANIMATIONS (GSAP classes) ===== */
.reveal-up {
  opacity: 0;
  transform: translateY(60px);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
}
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
}

/* ===== NOISE OVERLAY ===== */
.noise-overlay {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9998;
  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='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* ===== SMOOTH SECTIONS ===== */
.section-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

/* ===== COLORFUL SERVICE CARDS ===== */

/* Card 1 - Blue/Indigo */
.card-1 { background: linear-gradient(135deg, #0f0f1a 0%, #1a1a35 100%); border-color: rgba(99,102,241,0.35); }
.card-1 .service-icon { background: rgba(99,102,241,0.15); }
.card-1 .service-icon svg { stroke: #818cf8; }
.card-1::before { background: linear-gradient(90deg, #6366f1, #818cf8); }
.card-1:hover { border-color: rgba(99,102,241,0.7); box-shadow: 0 24px 60px rgba(99,102,241,0.2); }
.card-1:hover .service-icon { background: #6366f1; }
.card-1:hover .service-icon svg { stroke: #ffffff; }
.card-1 .service-tag { border-color: rgba(99,102,241,0.3); }
.card-1:hover .service-tag { border-color: rgba(99,102,241,0.7); color: #a5b4fc; }

/* Card 2 - Orange/Red */
.card-2 { background: linear-gradient(135deg, #1a0f0a 0%, #2d1a10 100%); border-color: rgba(234,88,12,0.35); }
.card-2 .service-icon { background: rgba(234,88,12,0.15); }
.card-2 .service-icon svg { stroke: #fb923c; }
.card-2::before { background: linear-gradient(90deg, #ea580c, #fb923c); }
.card-2:hover { border-color: rgba(234,88,12,0.7); box-shadow: 0 24px 60px rgba(234,88,12,0.2); }
.card-2:hover .service-icon { background: #ea580c; }
.card-2:hover .service-icon svg { stroke: #ffffff; }
.card-2 .service-tag { border-color: rgba(234,88,12,0.3); }
.card-2:hover .service-tag { border-color: rgba(234,88,12,0.7); color: #fdba74; }

/* Card 3 - Emerald/Green */
.card-3 { background: linear-gradient(135deg, #0a1a12 0%, #102d1e 100%); border-color: rgba(5,150,105,0.35); }
.card-3 .service-icon { background: rgba(5,150,105,0.15); }
.card-3 .service-icon svg { stroke: #34d399; }
.card-3::before { background: linear-gradient(90deg, #059669, #34d399); }
.card-3:hover { border-color: rgba(5,150,105,0.7); box-shadow: 0 24px 60px rgba(5,150,105,0.2); }
.card-3:hover .service-icon { background: #059669; }
.card-3:hover .service-icon svg { stroke: #ffffff; }
.card-3 .service-tag { border-color: rgba(5,150,105,0.3); }
.card-3:hover .service-tag { border-color: rgba(5,150,105,0.7); color: #6ee7b7; }

/* Card 4 - Amber/Yellow */
.card-4 { background: linear-gradient(135deg, #1a1500 0%, #2d2200 100%); border-color: rgba(217,119,6,0.35); }
.card-4 .service-icon { background: rgba(217,119,6,0.15); }
.card-4 .service-icon svg { stroke: #fbbf24; }
.card-4::before { background: linear-gradient(90deg, #d97706, #fbbf24); }
.card-4:hover { border-color: rgba(217,119,6,0.7); box-shadow: 0 24px 60px rgba(217,119,6,0.2); }
.card-4:hover .service-icon { background: #d97706; }
.card-4:hover .service-icon svg { stroke: #ffffff; }
.card-4 .service-tag { border-color: rgba(217,119,6,0.3); }
.card-4:hover .service-tag { border-color: rgba(217,119,6,0.7); color: #fde68a; }

/* Card 5 - Pink/Magenta */
.card-5 { background: linear-gradient(135deg, #1a0a14 0%, #2d1020 100%); border-color: rgba(219,39,119,0.35); }
.card-5 .service-icon { background: rgba(219,39,119,0.15); }
.card-5 .service-icon svg { stroke: #f472b6; }
.card-5::before { background: linear-gradient(90deg, #db2777, #f472b6); }
.card-5:hover { border-color: rgba(219,39,119,0.7); box-shadow: 0 24px 60px rgba(219,39,119,0.2); }
.card-5:hover .service-icon { background: #db2777; }
.card-5:hover .service-icon svg { stroke: #ffffff; }
.card-5 .service-tag { border-color: rgba(219,39,119,0.3); }
.card-5:hover .service-tag { border-color: rgba(219,39,119,0.7); color: #fbcfe8; }

/* Card 6 - Cyan/Teal */
.card-6 { background: linear-gradient(135deg, #001a1f 0%, #002d35 100%); border-color: rgba(8,145,178,0.35); }
.card-6 .service-icon { background: rgba(8,145,178,0.15); }
.card-6 .service-icon svg { stroke: #22d3ee; }
.card-6::before { background: linear-gradient(90deg, #0891b2, #22d3ee); }
.card-6:hover { border-color: rgba(8,145,178,0.7); box-shadow: 0 24px 60px rgba(8,145,178,0.2); }
.card-6:hover .service-icon { background: #0891b2; }
.card-6:hover .service-icon svg { stroke: #ffffff; }
.card-6 .service-tag { border-color: rgba(8,145,178,0.3); }
.card-6:hover .service-tag { border-color: rgba(8,145,178,0.7); color: #a5f3fc; }








.project-card:hover 


/* 5-card grid fix */

@media (max-width: 768px) {
  
}

.project-card-bg.p5 {
  background: linear-gradient(135deg, #0a0a1a 0%, #15152a 50%, #0a0a1a 100%);
}


/* About section two-column layout */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
}
.about-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.85) saturate(0.9);
  transition: transform 0.6s var(--ease-out), filter 0.4s;
}
.about-image-wrap:hover img {
  transform: scale(1.04);
  filter: brightness(0.95) saturate(1);
}
.about-image-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.3) 0%, transparent 60%);
  pointer-events: none;
}
.about-images-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-images-stack .about-image-wrap {
  aspect-ratio: 16/9;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-wrap { aspect-ratio: 16/9; }
}


/* Founder photo card */
.founder-photo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 3/4;
  background: var(--bg-tertiary);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.founder-photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(0.92) saturate(0.95);
  transition: transform 0.7s ease, filter 0.4s;
}
.founder-photo-card:hover img {
  transform: scale(1.04);
  filter: brightness(1) saturate(1);
}
.founder-photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}
.founder-photo-card .about-float-card {
  z-index: 2;
}


/* About section slideshow */
.about-slideshow {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.about-slides {
  width: 100%; height: 100%;
  position: relative;
}
.about-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.about-slide.active {
  opacity: 1;
}
.about-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.88) saturate(0.9);
}
.about-slide-dots {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 10;
}
.about-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.about-dot.active {
  background: #fff;
  transform: scale(1.3);
}
.about-slide-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}
.about-slide-btn:hover { background: rgba(0,0,0,0.75); }
.about-slide-btn.prev { left: 12px; }
.about-slide-btn.next { right: 12px; }


/* ===== SCROLL CARD STACK (about section) ===== */
.about-stack-wrap {
  position: relative;
  height: 340px;
}
.about-stack {
  position: relative;
  width: 100%;
  height: 100%;
}
.stack-card {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
  transform: translateY(30px) scale(0.94);
  opacity: 0;
  transition: none;
  will-change: transform, opacity;
}
.stack-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.75) saturate(0.9);
}
.stack-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  color: #fff;
}
.stack-card-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}
.stack-card-label strong {
  font-size: 1rem;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}
.stack-card-label p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
  line-height: 1.5;
}
.stack-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: transform 0.65s cubic-bezier(0.34,1.56,0.64,1), opacity 0.5s ease;
}
/* Stagger offset so cards look stacked */
.stack-card[data-index="0"] { z-index: 1; }
.stack-card[data-index="1"] { z-index: 2; transform: translateY(26px) scale(0.94); }
.stack-card[data-index="2"] { z-index: 3; transform: translateY(13px) scale(0.97); }
.stack-card[data-index="3"] { z-index: 4; transform: translateY(0)  scale(1); }

/* When all are visible, only top card shows fully, rest peek */
.about-stack .stack-card.peeking {
  transform: translateY(calc(var(--peek-offset) * 1px)) scale(var(--peek-scale));
  opacity: 1;
  transition: transform 0.5s ease, opacity 0.4s ease;
}


/* ===== CQ SLIDESHOW ===== */
.cq-slideshow {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  background: #111;
}
.cq-slides { width:100%; height:100%; position:relative; }
.cq-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}
.cq-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.cq-slide img {
  width:100%; height:100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.82) saturate(0.9);
}
.cq-slide-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 22px;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, transparent 100%);
  color: #fff;
}
.cq-slide-num {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 4px;
}
.cq-slide-label strong { display:block; font-size:1rem; margin-bottom:3px; }
.cq-slide-label p { font-size:0.8rem; color:rgba(255,255,255,0.72); margin:0; line-height:1.5; }
.cq-dots {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 7px;
  z-index: 10;
}
.cq-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.cq-dot.active { background:#fff; transform:scale(1.35); }
.cq-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(4px);
  transition: background 0.2s, transform 0.2s;
}
.cq-btn:hover { background: rgba(0,0,0,0.8); transform: translateY(-50%) scale(1.08); }
.cq-prev { left: 12px; }
.cq-next { right: 12px; }


/* Hide custom cursor inside slideshow */
.cq-slideshow * { cursor: default !important; }
.cq-slideshow .cursor-dot,
.cq-slideshow .cursor-ring { display: none !important; }
/* Also prevent cursor elements from rendering over slideshow */
.cursor-dot, .cursor-ring { mix-blend-mode: difference; pointer-events: none; }
