/* ====================================
   DOWNTOWN GRAPHICS — GLOBAL STYLES
   Premium Corporate Dark Agency Theme
   ==================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Bebas+Neue&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --bg-primary: #080A0C;
  --bg-secondary: #0D0F12;
  --bg-card: #111418;
  --bg-card-hover: #181C22;
  --accent-purple: #7B4FFF;
  --accent-purple-dim: rgba(123, 79, 255, 0.12);
  --accent-purple-glow: rgba(123, 79, 255, 0.35);
  --accent-secondary: #A47FFF;
  --accent-secondary-dim: rgba(164, 127, 255, 0.12);
  --accent-purple: #7B4FFF;
  --accent-purple-dim: rgba(123, 79, 255, 0.12);
  --accent-purple-glow: rgba(123, 79, 255, 0.35);
  --text-primary: #F0F2F5;
  --text-secondary: #8A9099;
  --text-muted: #4A5060;
  --border-subtle: rgba(255,255,255,0.055);
  --border-purple: rgba(123, 79, 255, 0.22);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-ui: 'Inter', sans-serif;
  --transition-fast: 0.25s ease;
  --transition-mid: 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --shadow-purple: 0 0 24px rgba(123, 79, 255, 0.18), 0 0 56px rgba(123, 79, 255, 0.08);
  --shadow-purple: 0 0 24px rgba(123, 79, 255, 0.18), 0 0 56px rgba(123, 79, 255, 0.08);
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.65);
  --max-width: 1400px;
  --whatsapp-green: #25D366;
  --whatsapp-green-dark: #128C7E;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: auto; /* Default for safety */
}

/* On desktop, hide native cursor for custom one */
@media (min-width: 901px) and (pointer: fine) {
  body {
    cursor: none;
  }
}

/* ── Custom Cursor ── */
#cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--accent-purple);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}

#cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(123, 79, 255, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

body.cursor-hover #cursor-dot {
  width: 14px;
  height: 14px;
  background: var(--accent-purple);
  box-shadow: 0 0 14px rgba(123, 79, 255, 0.7);
}

body.cursor-hover #cursor-ring {
  width: 56px;
  height: 56px;
  border-color: rgba(123, 79, 255, 0.35);
}

/* Hide on Mobile/Touch Devices */
@media (max-width: 900px), (pointer: coarse) {
  #cursor-dot, #cursor-ring {
    display: none !important;
  }
}

/* ── Scroll Progress Bar ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-purple));
  width: 0%;
  z-index: 10000;
  box-shadow: 0 0 8px rgba(123, 79, 255,0.5);
  transition: width 0.1s linear;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  padding: 0 48px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-mid);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.97);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.8);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity var(--transition-fast);
}

.nav-logo:hover {
  opacity: 0.8;
}

.nav-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.footer .nav-logo-img {
  height: 80px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 48px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  transition: all 0.35s ease;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-purple);
  box-shadow: 0 0 10px var(--accent-purple-glow);
  transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--accent-purple);
  padding: 12px 28px;
  border-radius: 8px;
  transition: all var(--transition-mid);
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(123, 79, 255, 0.3);
}

.nav-cta:hover {
  background: #FFFFFF;
  box-shadow: 0 0 35px var(--accent-purple-glow);
  transform: translateY(-2px);
  color: #000000;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 90px;
  left: 0;
  right: 0;
  background: rgba(10,10,10,0.98);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 48px;
  z-index: 8999;
  flex-direction: column;
  gap: 20px;
  backdrop-filter: blur(20px);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav-mobile a:hover { color: var(--accent-purple); }

/* ── Dropdown Menu ── */
.nav-dropdown-wrapper { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 24px); left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: rgba(8, 10, 12, 0.98); border: 1px solid rgba(123, 79, 255, 0.15);
  border-radius: 12px; padding: 16px; min-width: 240px;
  opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(20px); display: flex; flex-direction: column; gap: 8px;
  pointer-events: none; box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}
.nav-dropdown-wrapper::after {
  content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: 24px;
}
.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-toggle:focus + .nav-dropdown-menu,
.nav-dropdown-menu:focus-within {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto;
}
.nav-dropdown-item {
  font-family: var(--font-ui); font-size: 13px; color: #A0A0A0; padding: 10px 16px;
  border-radius: 8px; text-decoration: none; transition: all 0.2s ease;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-dropdown-item:hover, .nav-dropdown-item:focus {
  background: rgba(123, 79, 255, 0.1); color: #00E5FF; outline: none;
}
.nav-links a.nav-dropdown-item::after { display: none; }

/* Mobile Accordion */
.mobile-accordion { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.mobile-accordion-btn {
  font-family: var(--font-ui); font-size: 13px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-secondary); background: none;
  border: none; display: flex; justify-content: space-between; align-items: center;
  width: 100%; cursor: pointer; padding: 0; transition: color 0.25s ease;
}
.mobile-accordion-btn:hover { color: var(--accent-purple); }
.mobile-accordion-content {
  display: flex; flex-direction: column; gap: 12px; padding-left: 16px; padding-top: 0;
  border-left: 1px solid var(--border-purple); max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.mobile-accordion-content.open { max-height: 300px; padding-top: 8px; }
.mobile-accordion-content a {
  font-size: 12px; text-transform: none; letter-spacing: 0.5px; color: #A0A0A0; margin-bottom:0;
}
.mobile-accordion-content a:hover { color: #00E5FF; }

/* Breadcrumbs */
.breadcrumb {
  display: flex; align-items: center; gap: 12px; font-family: var(--font-ui);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--accent-purple); }
.breadcrumb span { color: var(--text-primary); }

/* ── Section Labels ── */
.section-label {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-purple);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent-purple);
  box-shadow: 0 0 5px rgba(123, 79, 255,0.6);
}

/* ── Display Typography ── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 90px);
  line-height: 0.95;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-primary);
}

.text-purple { color: var(--accent-purple); text-shadow: 0 0 24px rgba(123, 79, 255,0.4); }
.text-secondary { color: var(--accent-secondary); text-shadow: 0 0 20px rgba(164, 127, 255,0.35); }

/* ── Body Typography ── */
.body-lg {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 520px;
}

.body-md {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  cursor: none;
  transition: all var(--transition-mid);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.btn-whatsapp {
  background: #25D366 !important;
  color: #fff !important;
  border-color: #25D366 !important;
}

.btn-whatsapp:hover {
  background: #128C7E !important;
  border-color: #128C7E !important;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-mid);
  z-index: -1;
}

.btn-primary {
  background: var(--accent-purple);
  color: #08090C;
  border-color: var(--accent-purple);
  font-weight: 700;
}

.btn-primary::before {
  background: #fff;
}

.btn-primary:hover {
  box-shadow: 0 0 28px var(--accent-purple-glow), 0 0 64px rgba(123, 79, 255,0.12), 0 6px 20px rgba(0,0,0,0.4);
  transform: translateY(-3px) scale(1.02);
}

.btn-primary:hover::before {
  transform: scaleX(1);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.18);
}

.btn-outline::before {
  background: rgba(255,255,255,0.04);
}

.btn-outline:hover {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
  box-shadow: 0 0 20px var(--accent-purple-dim), 0 6px 20px rgba(0,0,0,0.4);
  transform: translateY(-3px) scale(1.02);
}

.btn-outline:hover::before {
  transform: scaleX(1);
}

.btn-arrow::after {
  content: '→';
  font-size: 14px;
  transition: transform var(--transition-fast);
}

.btn-arrow:hover::after {
  transform: translateX(5px);
}

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition-mid), transform 0.2s ease;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  cursor: default;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
  opacity: 0;
  transition: opacity var(--transition-mid);
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(123, 79, 255,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-mid);
  pointer-events: none;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-purple);
  transform: translateY(-6px);
  box-shadow: var(--shadow-purple), var(--shadow-card);
}

.card:hover::before { opacity: 1; }
.card:hover::after  { opacity: 1; }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--accent-purple-dim);
  border: 1px solid var(--border-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition-mid);
  flex-shrink: 0;
}

.card:hover .card-icon {
  background: rgba(0,229,255,0.2);
  box-shadow: 0 0 16px var(--accent-purple-glow);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent-purple);
}

.card-title {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.card-text {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ── Layout Utilities ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  perspective: 1200px;
}

.split-layout.left-heavy {
  grid-template-columns: 1.1fr 0.9fr;
}

.split-layout.right-heavy {
  grid-template-columns: 0.85fr 1.15fr;
}

.section {
  padding: 120px 0;
}

.section-sm {
  padding: 80px 0;
}

/* ── Dividers ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
  margin: 0;
}

/* ── Three.js Canvas Containers ── */
.threejs-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  background: rgba(123, 79, 255,0.025);
  border: 1px solid var(--border-purple);
}

.threejs-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(123, 79, 255,0.1) 0%, transparent 70%);
  pointer-events: none;
  border-radius: inherit;
  z-index: -1;
}

/* ── Glow effects ── */
.glow-text {
  text-shadow: 0 0 28px rgba(123, 79, 255,0.35), 0 0 56px rgba(123, 79, 255,0.15);
}

.glow-box {
  box-shadow: 0 0 28px rgba(123, 79, 255,0.18);
}

/* ── Background Extras ── */
.bg-grid {
  background-image: 
    linear-gradient(rgba(123, 79, 255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 79, 255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.bg-noise {
  position: relative;
}

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

/* ── Animated Background Rays ── */
.bg-rays {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bg-ray {
  position: absolute;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(123, 79, 255,0.06), transparent);
  animation: ray-drift 10s ease-in-out infinite;
}

.bg-ray:nth-child(1) { left: 15%; height: 60%; top: 20%; animation-delay: 0s; }
.bg-ray:nth-child(2) { left: 35%; height: 40%; top: 10%; animation-delay: 2s; }
.bg-ray:nth-child(3) { left: 55%; height: 70%; top: 5%; animation-delay: 4s; }
.bg-ray:nth-child(4) { left: 75%; height: 50%; top: 15%; animation-delay: 1s; }
.bg-ray:nth-child(5) { left: 90%; height: 35%; top: 25%; animation-delay: 3s; }

@keyframes ray-drift {
  0%, 100% { opacity: 0; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(20px); }
}

/* ── Counters ── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  color: var(--accent-purple);
  text-shadow: 0 0 20px rgba(123, 79, 255,0.25);
  margin-bottom: 4px;
}

.stat-label {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Features List ── */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
}

.feature-item::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-purple);
  box-shadow: 0 0 6px rgba(123, 79, 255,0.6);
  flex-shrink: 0;
  margin-top: 7px;
}

/* ── Offering Grid Items ── */
.offering-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.offering-item:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

.offering-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-purple);
  box-shadow: 0 0 8px var(--accent-purple-glow);
  flex-shrink: 0;
}

/* ── Scroll Reveal Animations ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="left"] {
  transform: translateX(-48px);
  opacity: 0;
}

[data-reveal="left"].revealed {
  transform: translateX(0);
  opacity: 1;
}

[data-reveal="right"] {
  transform: translateX(48px);
  opacity: 0;
}

[data-reveal="right"].revealed {
  transform: translateX(0);
  opacity: 1;
}

/* Line-by-line text reveal */
.line-reveal {
  overflow: hidden;
  display: block;
}

.line-reveal span {
  display: block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.9s ease;
}

.line-reveal.revealed span {
  transform: translateY(0);
  opacity: 1;
}

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.22s; }
[data-delay="3"] { transition-delay: 0.38s; }
[data-delay="4"] { transition-delay: 0.55s; }
[data-delay="5"] { transition-delay: 0.72s; }
[data-delay="6"] { transition-delay: 0.9s; }

/* ── Tags / Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border-purple);
  color: var(--accent-purple);
  background: var(--accent-purple-dim);
}

.badge-pulse::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-purple);
  box-shadow: 0 0 6px rgba(123, 79, 255,0.7);
  animation: pulse-dot 2.4s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ── Page Header ── */
.page-hero {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 50%, rgba(0,229,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Footer ── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col-title {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--accent-purple); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-ui);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-link:hover {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
  box-shadow: 0 0 10px var(--accent-purple-dim);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

/* ── Form Inputs ── */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-fast);
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 2px var(--accent-purple-dim), 0 0 16px rgba(0,229,255,0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

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

/* ── Portfolio Grid ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: none;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: grayscale(20%) brightness(0.8);
}

.portfolio-item:hover img {
  transform: scale(1.06);
  filter: grayscale(0%) brightness(1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,0.95) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition-mid);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item-title {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--text-primary);
}

.portfolio-item-cat {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-purple);
}

/* ── Filter Tabs ── */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-tab {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-muted);
  cursor: none;
  transition: all var(--transition-fast);
}

.filter-tab:hover,
.filter-tab.active {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
  background: var(--accent-purple-dim);
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 99000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-mid);
  backdrop-filter: blur(8px);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  position: relative;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
}

.lightbox-inner img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: contain;
  max-height: 80vh;
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  background: none;
  color: #fff;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
}

/* ── Stack Grids ── */
.stack-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.stack-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .stack-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .stack-grid-2,
  .stack-grid-3 {
    grid-template-columns: 1fr !important;
  }
}

/* ── Hero Stat Grid Responsive ── */
.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 48px;
  width: fit-content;
  margin-top: 32px;
}

@media (max-width: 900px) {
  .hero-stat-grid {
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .hero-stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
  }
  
  .scroll-indicator {
    display: none !important; /* Hide on small mobile to avoid clash with stats */
  }
}

@media (max-width: 480px) {
  .hero-stat-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .container { padding: 0 32px; }
  .nav { padding: 0 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Mobile Responsive Improvements ── */
@media (max-width: 900px) {
  .split-layout,
  .split-layout.left-heavy,
  .split-layout.right-heavy {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: 80px 0; }
  
  /* Already handled above or kept for larger mobile */
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .nav { padding: 0 20px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-mobile { padding: 24px 20px; }
  
  /* Already handled above or kept for larger mobile */
}

/* ── Premium Animations ── */
@keyframes float-y {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(123, 79, 255,0.15); }
  50% { box-shadow: 0 0 40px rgba(123, 79, 255,0.35), 0 0 70px rgba(123, 79, 255,0.12); }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Misc ── */
::selection {
  background: var(--accent-purple);
  color: var(--bg-primary);
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-purple);
  border-radius: 2px;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.text-center { text-align: center; }
.w-full { width: 100%; }

/* ── Cinematic full-width section ── */
.cinematic-section {
  position: relative;
  padding: 140px 0;
  background: linear-gradient(135deg, #080A0C 0%, #0C1018 50%, #080A0C 100%);
  overflow: hidden;
}

.cinematic-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(ellipse 60% 50% at 10% 50%, rgba(123, 79, 255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 50%, rgba(200,168,75,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.cinematic-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── Why Choose Us — Corporate Grid ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 22px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-mid);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-secondary));
  opacity: 0;
  transition: opacity var(--transition-mid);
}

.why-card::after {
  content: attr(data-number);
  position: absolute;
  bottom: -8px;
  right: 14px;
  font-family: var(--font-display);
  font-size: 88px;
  color: rgba(123, 79, 255,0.035);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.why-card:hover {
  border-color: var(--border-purple);
  transform: translateY(-6px);
  box-shadow: var(--shadow-purple), var(--shadow-card);
}

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

.why-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-purple-dim);
  border: 1px solid var(--border-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all var(--transition-mid);
  flex-shrink: 0;
}

.why-card:hover .why-icon-wrap {
  background: rgba(123, 79, 255,0.18);
  box-shadow: 0 0 16px rgba(123, 79, 255,0.3);
}

.why-icon-wrap svg {
  width: 22px;
  height: 22px;
  color: var(--accent-purple);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.why-icon {
  font-size: 26px;
  margin-bottom: 16px;
  display: block;
}

.why-title {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
  color: var(--text-primary);
  line-height: 1.4;
}

.why-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.75;
}

@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Services Detail page */
.service-block {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  transition: all var(--transition-mid);
  position: relative;
  overflow: hidden;
}

.service-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--accent-purple), var(--accent-magenta));
  border-radius: 2px 0 0 2px;
  transition: height var(--transition-slow);
}

.service-block:hover::before {
  height: 100%;
}

.service-block:hover {
  border-color: var(--border-purple);
  box-shadow: var(--shadow-purple);
  transform: translateY(-4px);
}

.service-num {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: rgba(0,229,255,0.1);
  margin-bottom: 8px;
}

.service-title-lg {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.service-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Contact info block */
.contact-info-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-purple-dim);
  border: 1px solid var(--border-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}


.contact-info-label {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

@media (max-width: 600px) {
  .whatsapp-card {
    padding: 40px 24px !important;
    min-height: auto !important;
  }
  .contact-info-grid.no-stack {
    grid-template-columns: 1fr !important;
  }
}

.contact-info-value {
  font-size: 14px;
  color: var(--text-primary);
}

/* About Timeline */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent-purple), transparent);
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-purple);
  box-shadow: 0 0 10px var(--accent-purple);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--accent-purple);
  opacity: 0.5;
  margin-bottom: 4px;
}

.timeline-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Hero Specific Upgrades ── */
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-purple), #5027D1);
  color: #FFFFFF;
  box-shadow: 0 0 32px var(--accent-purple-glow);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 0 50px var(--accent-purple-glow), 0 8px 30px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #8B62FF, #5B2FDF);
}

.hero-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.35s ease;
  backdrop-filter: blur(10px);
}

.hero-btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-purple);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 20px var(--accent-purple-dim);
}

@keyframes pulse-dot {
  0%   { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(184, 158, 255, 0.7); }
  70%  { transform: scale(1); opacity: 1; box-shadow: 0 0 0 10px rgba(184, 158, 255, 0); }
  100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(184, 158, 255, 0); }
}

/* ── Bento Grid (What We Do) ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.bento-card {
  background: rgba(17, 20, 24, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent 50%, rgba(123, 79, 255, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}

.bento-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 100%, rgba(123, 79, 255, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.6), 0 0 40px rgba(123, 79, 255, 0.15);
  background: rgba(22, 26, 32, 0.6);
}

.bento-card:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(123, 79, 255, 0.4));
}

.bento-card:hover::after {
  opacity: 1;
}

.bento-card-large {
  grid-column: span 2;
  min-height: 320px;
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(123, 79, 255, 0.1);
  border: 1px solid rgba(123, 79, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  transition: transform 0.4s ease, background 0.4s ease;
}

.bento-card:hover .bento-icon {
  transform: scale(1.1) rotate(-5deg);
  background: rgba(123, 79, 255, 0.2);
  box-shadow: 0 0 20px rgba(123, 79, 255, 0.3);
}

.bento-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.bento-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: var(--text-primary);
  transition: color 0.4s ease;
  line-height:1;
}

.bento-card:hover .bento-title {
  color: var(--accent-purple);
  text-shadow: 0 0 16px rgba(123, 79, 255, 0.4);
}

.bento-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bento-learn {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-top: 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bento-card:hover .bento-learn {
  opacity: 1;
  transform: translateY(0);
}

.bento-bg-texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  z-index: -1;
  pointer-events: none;
}

.bento-bg-mesh {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(123, 79, 255, 0.15), transparent 60%);
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Advantage cards mobile optimization */
  #why-choose-us .split-layout {
    gap: 32px;
  }
  
  /* Feature cards mobile grid */
  .right-feature-cards {
    height: auto !important;
    padding: 20px 0;
  }
  
  .feature-cards-grid {
    max-width: 100% !important;
    gap: 16px !important;
  }
  
  /* Reduce card padding on mobile */
  .feature-cards-grid > div {
    padding: 16px !important;
  }
  
  .feature-cards-grid > div > div:first-child {
    margin: 0 auto 10px !important;
  }
}

@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
  .bento-card-large {
    grid-column: span 1;
  }
  
  /* Feature cards single column on mobile */
  .feature-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  
  /* Further reduce padding on small mobile */
  .feature-cards-grid > div {
    padding: 14px !important;
  }
}

/* ── Parallax Section ── */
.parallax-section {
  position: relative;
  background-image: url('images/hero_bg.png');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.parallax-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 10, 12, 0.88), rgba(12, 14, 20, 0.96));
  z-index: 0;
}

.parallax-section > .container {
  position: relative;
  z-index: 2;
}

/* ── Brand Marquee ── */
.brand-marquee-section {
  position: relative;
  padding: 120px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.marquee-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 250px;
  z-index: 5;
  pointer-events: none;
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary) 20%, transparent 100%);
}

.marquee-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary) 20%, transparent 100%);
}

.marquee-content {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  gap: 100px;
  padding-right: 100px;
  animation: scroll-marquee 40s linear infinite;
  align-items: center;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.brand-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
}

.brand-logo img {
  height: 64px;
  width: auto;
  max-width: 160px;
  filter: grayscale(1) brightness(1.8) contrast(0.8) opacity(0.4);
  mix-blend-mode: lighten;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-logo:hover {
  transform: scale(1.05) translateY(-2px);
}

.brand-logo:hover img {
  filter: grayscale(0) opacity(1);
  mix-blend-mode: normal;
}

.brand-logo.brand-1:hover { color: #3B82F6; text-shadow: 0 0 16px rgba(59, 130, 246, 0.4); } /* Blue */
.brand-logo.brand-2:hover { color: #10B981; text-shadow: 0 0 16px rgba(16, 185, 129, 0.4); } /* Green */
.brand-logo.brand-3:hover { color: #F59E0B; text-shadow: 0 0 16px rgba(245, 158, 11, 0.4); } /* Orange */
.brand-logo.brand-4:hover { color: #EF4444; text-shadow: 0 0 16px rgba(239, 68, 68, 0.4); } /* Red */
.brand-logo.brand-5:hover { color: #8B5CF6; text-shadow: 0 0 16px rgba(139, 92, 246, 0.4); } /* Purple */
.brand-logo.brand-6:hover { color: #EC4899; text-shadow: 0 0 16px rgba(236, 72, 153, 0.4); } /* Pink */

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

@media (max-width: 900px) {
  .brand-marquee-section { padding: 60px 0; }
  .marquee-track { gap: 60px; padding-right: 60px; }
  .brand-logo { height: 64px; }
  .brand-logo img { height: 56px; }
  .marquee-fade { width: 80px; }
}

@media (max-width: 600px) {
  .brand-logo { height: 56px; }
  .brand-logo img { height: 48px; }
  .marquee-track { gap: 40px; padding-right: 40px; }
  .marquee-fade { width: 40px; }
}

/* ── Glow Elements ── */
.glow-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-purple-dim) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  animation: float-orb 10s ease-in-out infinite alternate;
}

.orb-1 { top: 10%; right: -5%; background: radial-gradient(circle, rgba(123, 79, 255, 0.15) 0%, transparent 70%); }
.orb-2 { bottom: 10%; left: -5%; background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, transparent 70%); }

@keyframes float-orb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -40px) scale(1.1); }
}

/* ── Brand Logo Marquee Section ── */
.brand-marquee-section {
  position: relative;
  padding: 120px 0;
  background: var(--bg-primary);
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
}

/* ── Instagram Reels Section ── */
.instagram-section {
  position: relative;
  padding: 120px 0;
  background: var(--bg-primary);
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
}

.instagram-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(123, 79, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.instagram-container {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 32px;
  padding: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              box-shadow 0.6s ease, 
              border-color 0.6s ease;
}

.instagram-container:hover {
  transform: translateY(-8px);
  border-color: var(--accent-purple-glow);
  box-shadow: 0 60px 120px rgba(123, 79, 255, 0.12), 0 0 40px rgba(123, 79, 255, 0.05);
}

.instagram-header {
  text-align: center;
  margin-bottom: 56px;
}

.instagram-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.instagram-icon {
  color: var(--accent-purple);
  filter: drop-shadow(0 0 10px rgba(123, 79, 255, 0.4));
}

.instagram-section [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.instagram-section [data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .instagram-section {
    padding: 80px 0;
  }
  .instagram-container {
    padding: 16px;
    border-radius: 20px;
  }
}

/* ── Testimonials ── */
.testimonials-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.testimonials-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: scroll-testimonials 60s linear infinite;
  padding: 20px 0;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  width: 420px;
  flex-shrink: 0;
  background: linear-gradient(145deg, #111418 0%, #0D0F12 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 40px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 24px rgba(123, 79, 255, 0.1);
}

.quote-icon {
  position: absolute;
  top: -12px;
  right: 40px;
  width: 48px;
  height: 48px;
  background: var(--bg-primary);
  border: 1px solid var(--border-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  box-shadow: 0 0 15px rgba(123, 79, 255, 0.15);
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 24px;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

.testimonial-author {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.testimonial-meta {
  font-family: var(--font-ui);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

@keyframes scroll-testimonials {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 16px)); }
}

@media (max-width: 768px) {
  .testimonial-card {
    width: 320px;
    padding: 32px;
  }
  .testimonials-track {
    animation-duration: 40s;
  }
}

/* ═══════════════════════════════════════════════════
   CATALOGUE SECTION — Premium Service Page Component
   ═══════════════════════════════════════════════════ */

.catalogue-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, #0A0812 50%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
}

.catalogue-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse, rgba(123, 79, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.catalogue-header {
  text-align: center;
  margin-bottom: 64px;
}

.catalogue-header .section-label {
  justify-content: center;
}

.catalogue-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 16px;
}

.catalogue-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Filter Tabs ── */
.catalogue-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.cat-filter-btn {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
}

.cat-filter-btn:hover,
.cat-filter-btn.active {
  background: rgba(123, 79, 255, 0.15);
  border-color: var(--accent-purple);
  color: var(--text-primary);
}

/* ── Grid ── */
.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 1024px) {
  .catalogue-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .catalogue-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ── Catalogue Card ── */
.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(123, 79, 255, 0.2);
  border-color: var(--border-purple);
}

.cat-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0D1218;
}

.cat-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.85) saturate(0.9);
}

.cat-card:hover .cat-card-img-wrap img {
  transform: scale(1.08);
  filter: brightness(0.95) saturate(1.1);
}

/* Image overlay gradient */
.cat-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(8, 10, 18, 0.7) 100%);
  pointer-events: none;
}

/* Badge on image */
.cat-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(123, 79, 255, 0.9);
  color: #fff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
}

.cat-card-badge.popular {
  background: rgba(0, 229, 255, 0.85);
  color: #000;
}

.cat-card-badge.new {
  background: rgba(37, 211, 102, 0.9);
  color: #000;
}

/* Card Content */
.cat-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cat-card-name {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  line-height: 1.3;
}

.cat-card-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

/* Tags */
.cat-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.cat-tag {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
}

/* Card CTA */
.cat-card-footer {
  padding: 0 24px 24px;
}

.cat-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  background: rgba(123, 79, 255, 0.1);
  border: 1px solid rgba(123, 79, 255, 0.25);
  color: var(--accent-purple);
  transition: all 0.3s ease;
  cursor: pointer;
}

.cat-card-cta:hover {
  background: rgba(123, 79, 255, 0.22);
  border-color: var(--accent-purple);
  color: #fff;
  box-shadow: 0 0 20px rgba(123, 79, 255, 0.25);
}

.cat-card-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.cat-card-cta:hover svg {
  transform: translateX(3px);
}

.cat-card-cta.whatsapp-cta {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.25);
  color: #25D366;
}

.cat-card-cta.whatsapp-cta:hover {
  background: rgba(37, 211, 102, 0.18);
  border-color: #25D366;
  color: #fff;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.2);
}

/* ── Shimmer Loader ── */
.cat-shimmer {
  background: linear-gradient(90deg,
    var(--bg-card) 0%,
    rgba(255,255,255,0.04) 50%,
    var(--bg-card) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
  border-radius: 16px;
  height: 360px;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ── Load More Button ── */
.catalogue-load-more {
  text-align: center;
  margin-top: 56px;
}

.catalogue-load-more-btn {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 40px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.catalogue-load-more-btn:hover {
  border-color: var(--accent-purple);
  color: var(--text-primary);
  background: rgba(123, 79, 255, 0.08);
}

/* ── Quick-view Modal ── */
.cat-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(8px);
}

.cat-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cat-modal {
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  border-radius: 20px;
  max-width: 680px;
  width: 100%;
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.cat-modal-overlay.open .cat-modal {
  transform: scale(1) translateY(0);
}

.cat-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.2s ease;
  z-index: 2;
}

.cat-modal-close:hover {
  background: rgba(255, 0, 100, 0.15);
  color: #fff;
}

.cat-modal-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  filter: brightness(0.9);
}

.cat-modal-body {
  padding: 32px;
}

.cat-modal-body h3 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.cat-modal-body p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.cat-modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ====================================================
   PROCESS SECTION (HOW WE WORK)
   ==================================================== */
.process-section {
  padding: 100px 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  position: relative;
  margin-top: 60px;
}

/* Connecting Line (Desktop) */
.process-grid::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 5%;
  width: 90%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-purple), transparent);
  opacity: 0.3;
  z-index: 1;
  transform: translateY(-50px); /* Adjust to center vertically with icon row */
}

.step-card {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-purple);
  box-shadow: 0 15px 30px rgba(123, 79, 255, 0.15);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--accent-purple);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 0 15px rgba(123, 79, 255, 0.5);
  border: 4px solid var(--bg-primary);
}

.step-icon {
  font-size: 44px;
  margin-bottom: 20px;
  display: inline-block;
  filter: drop-shadow(0 0 10px rgba(123, 79, 255, 0.3));
}

.step-title {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Feature Grid for 'Why Choose Us' */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-align: left;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--border-purple);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(123, 79, 255, 0.05) 100%);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--accent-purple);
}

/* Responsiveness for Process */
@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .process-grid::before {
    display: none;
  }
}

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


/* ── Enhanced Portfolio Items ── */
.portfolio-item-masonry {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition-mid), box-shadow var(--transition-mid), border-color var(--transition-mid);
  cursor: pointer; /* Use pointer as we might remove custom cursor or just for better UX */
}

.portfolio-item-masonry:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-purple);
  border-color: var(--accent-purple);
  z-index: 10;
}

.portfolio-img-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 75%; /* 4:3 Aspect Ratio default, masonry handles height */
  overflow: hidden;
}

/* For masonry we actually want natural height */
.portfolio-item-masonry img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item-masonry:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 10, 12, 0.9) 0%, rgba(8, 10, 12, 0.4) 50%, rgba(8, 10, 12, 0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-item-masonry:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay-content {
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item-masonry:hover .portfolio-overlay-content {
  transform: translateY(0);
}

.portfolio-item-tag {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 8px;
  display: inline-block;
}

.portfolio-featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent-purple);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(123, 79, 255, 0.4);
}

.portfolio-item-title {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}

.portfolio-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.portfolio-view-btn:hover {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
}

/* ── Floating WhatsApp ── */
.floating-whatsapp {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: var(--whatsapp-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(5deg);
  background: var(--whatsapp-green-dark);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
}

.pulse-animation {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--whatsapp-green);
  z-index: -1;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ── Enhanced Hero CTAs ── */
.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

/* ── Responsive Masonry Fixes ── */
@media (max-width: 900px) {
  .portfolio-grid-masonry { columns: 2; }
  .floating-whatsapp { bottom: 20px; right: 20px; width: 50px; height: 50px; }
  .floating-whatsapp svg { width: 26px; height: 26px; }
}

@media (max-width: 600px) {
  .portfolio-grid-masonry { columns: 1; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* ── Lightbox Enhancement ── */
.lightbox {
  background: rgba(8, 10, 12, 0.95);
  backdrop-filter: blur(10px);
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  position: relative;
}

.lightbox-info {
  margin-top: 20px;
  text-align: center;
}

.lightbox-title {
  font-family: var(--font-display);
  font-size: 32px;
  color: #fff;
  margin-bottom: 8px;
}

.lightbox-cat {
  font-family: var(--font-ui);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-purple);
}

/* ── Floating WhatsApp ── */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp-green);
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  text-decoration: none;
  animation: pulse-wa 2s infinite;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s;
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(5deg);
  background-color: var(--whatsapp-green-dark);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
