/* ── Font Imports ── */
/* Product Sans (body/subtext) via CDN */
@import url('https://fonts.cdnfonts.com/css/product-sans');

/* Radio Grotesk (headings) — self-hosted
   Place your licensed .woff2 / .woff files in assets/fonts/ */
@font-face {
  font-family: 'Radio Grotesk';
  src: url('assets/fonts/RadioGrotesk-Regular.woff2') format('woff2'),
    url('assets/fonts/RadioGrotesk-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Radio Grotesk';
  src: url('assets/fonts/RadioGrotesk-Medium.woff2') format('woff2'),
    url('assets/fonts/RadioGrotesk-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Radio Grotesk';
  src: url('assets/fonts/RadioGrotesk-Bold.woff2') format('woff2'),
    url('assets/fonts/RadioGrotesk-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Radio Grotesk';
  src: url('assets/fonts/RadioGrotesk-Black.woff2') format('woff2'),
    url('assets/fonts/RadioGrotesk-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #FF4B00;
  --orange-glow: rgba(255, 75, 0, 0.4);
  --orange-dim: rgba(255, 75, 0, 0.15);
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: rgba(255, 255, 255, 0.03);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-primary: #f0f0f0;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.35);
  --font-heading: 'Radio Grotesk', 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Product Sans', 'Inter', system-ui, sans-serif;
}

/* ── Light Theme ── */
[data-theme="light"] {
  --bg-primary: #ffffff;
  /* Unified off-white */
  --bg-secondary: #f1efec;
  --bg-card: rgba(0, 0, 0, 0.03);
  --glass: rgba(0, 0, 0, 0.04);
  --glass-border: rgba(0, 0, 0, 0.08);
  --text-primary: #1a1a1a;
  --text-secondary: rgba(0, 0, 0, 0.6);
  --text-muted: rgba(0, 0, 0, 0.35);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}


h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  line-height: 1.1;
}

/* ── Section Separators ── */
section,
footer {
  border-top: 1px solid var(--glass-border);
}

.hero {
  border-top: none !important;
}




/* ── Grid Overlay ── */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 120vw;
  height: 100vh;
  z-index: 5;
  /* Visible over sections but below primary text content */
  /* Behind all content */
  pointer-events: none;
  background-size: 12.5vw 100%;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 35%);
  mask-image: linear-gradient(to bottom, transparent, black 35%);
}

[data-theme="light"] .grid-overlay {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.09) 1px, transparent 1px);
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 3px;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  padding: 0.8rem 4%;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid var(--glass-border);
}

[data-theme="light"] .navbar {
  background: transparent;
  border-bottom: 1px solid transparent;
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-logo img {
  height: 36px;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ── Theme Toggle ── */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(10px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  margin-left: 0.5rem;
}

.theme-toggle:hover {
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: 0 0 20px var(--orange-dim);
  transform: scale(1.08);
}

.theme-icon {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: absolute;
}

.sun-icon {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}

.moon-icon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

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

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

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
  /* so it stays above the slide menu */
  margin-left: 0.5rem;
}

.hamburger span {
  width: 32px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: right center;
}

.hamburger span:nth-child(2) {
  width: 20px;
  align-self: flex-end;
}

/* ── Slide Menu ── */
.slide-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 40%;
  min-width: 320px;
  max-width: 460px;
  height: 100vh;
  background: #0a0a0a;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.slide-menu::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,75,0,0.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.slide-menu.active {
  transform: translateX(0);
}

/* Staggered item animations — all children start hidden */
.slide-menu-header,
.slide-nav-item,
.slide-menu-bottom {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-menu.active .slide-menu-header {
  opacity: 1; transform: translateY(0);
  transition-delay: 0.15s;
}

.slide-menu.active .slide-nav-item {
  opacity: 1; transform: translateY(0);
  transition-delay: calc(0.2s + var(--i) * 0.07s);
}

.slide-menu.active .slide-menu-bottom {
  opacity: 1; transform: translateY(0);
  transition-delay: 0.55s;
}

/* Decorative ghost "MENU" label */
.slide-menu-bg-label {
  position: absolute;
  bottom: -30px;
  right: -20px;
  font-size: 11rem;
  font-weight: 900;
  color: rgba(255,255,255,0.025);
  letter-spacing: -6px;
  user-select: none;
  pointer-events: none;
  line-height: 1;
}

/* Content wrapper */
.slide-menu-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 3.5rem 3rem 2.5rem;
}

[data-theme="light"] .slide-menu {
  background: #f8f8f8;
}

[data-theme="light"] .slide-menu-bg-label {
  color: rgba(0,0,0,0.04);
}

/* Nav */
.slide-nav { flex: 1; }

.slide-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.slide-nav-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 1.1rem 0;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  overflow: hidden;
}

[data-theme="light"] .slide-nav-item {
  border-bottom-color: rgba(0,0,0,0.07);
}

.slide-nav-num {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 1px;
  min-width: 22px;
  opacity: 0.8;
}

.slide-nav-link {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  letter-spacing: -1.5px;
  line-height: 1;
  position: relative;
  transition: color 0.3s, letter-spacing 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

[data-theme="light"] .slide-nav-link {
  color: rgba(0,0,0,0.8);
}

.slide-nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-nav-item:hover .slide-nav-link {
  color: var(--orange);
  letter-spacing: -0.5px;
}

.slide-nav-item:hover .slide-nav-link::after {
  width: 100%;
}

.slide-nav-item:hover .slide-nav-num {
  opacity: 1;
}

/* Bottom bar */
.slide-menu-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 2rem;
}

[data-theme="light"] .slide-menu-bottom {
  border-top-color: rgba(0,0,0,0.08);
}

/* Social links */
.slide-social {
  display: flex;
  gap: 1rem;
}

.slide-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}

[data-theme="light"] .slide-social-link {
  border-color: rgba(0,0,0,0.1);
  color: rgba(0,0,0,0.45);
}

.slide-social-link:hover {
  color: var(--orange);
  border-color: var(--orange);
  background: rgba(255,75,0,0.08);
}

/* Portfolio button */
.slide-portfolio-btn {
  font-size: 0.85rem;
  padding: 0.75rem 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 768px) {
  .slide-menu {
    width: 100%;
    max-width: 100%;
  }
  .slide-menu-content {
    padding: 2rem 2rem;
  }
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0 4%;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  background: var(--orange-dim);
  border: 1px solid rgba(255, 75, 0, 0.3);
  font-size: 0.40rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 2rem;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

@keyframes hero-float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  33% {
    transform: translateY(-15px) rotate(0.5deg);
  }

  66% {
    transform: translateY(5px) rotate(-0.5deg);
  }
}

.huge-title {
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.05em;
  margin-bottom: 4rem;
  text-transform: uppercase;
  transition: transform 0.09s ease-out;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 50%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Initial state for animation */
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  animation: hero-float 8s ease-in-out infinite;
  animation-delay: 1.2s;
  /* Start after entrance transition */
}

.hero-animate .hero h1 {
  opacity: 1;
  transform: translateY(0);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  /* Initial state */
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.hero-animate .hero p {
  opacity: 1;
  transform: translateY(0);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 2.5rem;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  /* Initial state */
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s, background 0.3s ease;
}

.hero-animate .hero-cta {
  opacity: 1;
  transform: translateY(0);
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: opacity 2s ease 0.2s;
}

.hero-animate #hero-canvas {
  opacity: 1;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 2.5rem;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.hero-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.hero-cta:hover::before {
  left: 100%;
}

.hero-cta:hover {
  box-shadow: 0 0 40px var(--orange-glow), 0 10px 30px rgba(255, 75, 0, 0.3);
  transform: translateY(-3px);
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
  opacity: 0.15;
  filter: blur(80px);
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {

  0%,
  100% {
    opacity: 0.15;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 0.25;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* ── Section Common ── */
section {
  padding: 8rem 4%;
  position: relative;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--orange);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.howwe {
  font-size: clamp(3rem, 10vw, 10rem);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -7px;
  font-weight: 900;
  margin-bottom: 2rem;
  transition: transform 0.1s ease-out;
}

.wordsmatter {
  font-size: clamp(3rem, 10vw, 10rem);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -7px;
  font-weight: 900;
  margin-bottom: 2rem;
  transition: transform 0.1s ease-out;
}

@media (max-width: 768px) {
  .howwe,
  .wordsmatter {
    font-size: clamp(3.5rem, 18vw, 6rem);
    letter-spacing: -3px;
  }
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 4rem;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.break {
  font-size: clamp(4rem, 10vw, 10rem);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -20px;
  font-weight: 900;
}

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

/* ── About ── */
.about {
  background: var(--bg-primary);
  padding: 10rem 6%;
}

.about-container {
  max-width: 1200px;
  margin: 0rem;
}

.about-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem 1rem;
  border-radius: 4px;

}

[data-theme="light"] .about-label {
  background: rgba(0, 0, 0, 0.05);
}

.about-label .uare {
  width: 8px;
  height: 8px;
  background: var(--orange);
  display: block;
}

.about-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
  align-items: center;
}

.about-headline h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
}

.reveal-word {
  color: rgba(255, 255, 255, 0.15);
  transition: color 0.3s ease;
  display: inline-block;
}

.reveal-word.active {
  color: #fff;
}

.reveal-word.reveal-orange.active {
  color: var(--orange);
}

[data-theme="light"] .reveal-word {
  color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .reveal-word.active {
  color: #1a1a1a;
}

[data-theme="light"] .reveal-word.reveal-orange.active {
  color: var(--orange);
}


.about-headline .highlight {
  background: var(--orange);
  color: var(--bg-primary);
  padding: 0 0.5rem;
  display: inline-block;
  line-height: 1.2;
}

[data-theme="light"] .about-headline .highlight {
  color: #fff;
}

/* ── Hover Logo inside Text ── */
.logo-hover-wrap {
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
  cursor: pointer;
  transition: background 0.3s ease;
}

.logo-hover-wrap .text-layer {
  display: inline-block;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-hover-wrap .logo-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-hover-wrap:hover {
  background: transparent;
}

.logo-hover-wrap:hover .text-layer {
  opacity: 0;
  transform: scale(0.95);
}

.logo-hover-wrap:hover .logo-layer {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.about-desc p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.about-desc .text-highlight {
  color: var(--orange);
  font-weight: 600;
}

.text-highlight .kerlytix-color {
  color: #00C663;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.text-highlight .kerlytix-color:hover {
  opacity: 0.8;
}

.about-btn {
  display: inline-flex;
  filter: drop-shadow(5px -5px 0.5px #ffffff);
  align-items: center;
  gap: 12px;
  padding: 1rem 1.5rem;
  background: var(--orange);
  color: var(--bg-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s;
}

[data-theme="light"] .about-btn {
  background: var(--orange);
  filter: drop-shadow(5px -5px 0.5px #000000);
}

.about-btn:hover {

  background: #b23a19;

}

[data-theme="light"] .about-btn:hover {
  background: #b23a19;
}

.about-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding-top: 3rem;
}

.about-feature {
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
}

.about-feature:hover {
  transform: translateY(-8px);
}

.giphy-container {
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%) translateY(20px) scale(0.8);
  width: 200px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--orange);
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exciting-feature .giphy-container {
  height: 128px;
}

.match-feature .giphy-container {
  height: 124px;
}

.human-feature .giphy-container {
  height: 135px;
}

.exciting-feature:hover .giphy-container,
.match-feature:hover .giphy-container,
.human-feature:hover .giphy-container {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.giphy-container iframe {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
  transition: background 0.4s, transform 0.4s;
}

.about-feature:hover .feature-header {
  background: rgba(255, 75, 0, 0.1);
  transform: translateX(10px);
}

[data-theme="light"] .feature-header {
  background: rgba(167, 165, 165, 0.4);
  backdrop-filter: blur(10px);
}

[data-theme="light"] .about-feature:hover .feature-header {
  background: rgba(255, 75, 0, 0.1);
}

.feature-icon {
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes featureIconLoop {
  0% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-4px) scale(1.15);
    filter: drop-shadow(0 0 8px rgba(255, 75, 0, 0.6));
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

.about-feature:hover .feature-icon svg {
  animation: featureIconLoop 1.5s ease-in-out infinite;
}

.feature-header h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--orange);
}

.about-feature p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ── Services Modern ── */
.services-modern {
  padding: 8rem 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--glass-border);
}

.services-hero {
  padding: 0 4%;
  margin-bottom: 2rem;
}

.huge-title {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 12vw, 12rem);
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 0.9;
  display: flex;
  align-items: flex-start;
  color: rgba(255, 75, 0);
}

.huge-title .superscript {
  font-size: clamp(1.2rem, 3vw, 2.5rem);
  font-weight: 400;
  margin-left: 0.5rem;
  margin-top: 0.5rem;
}

.services-ticker {
  background: var(--text-primary);
  color: var(--bg-primary);
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 4%;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 6rem;
  color: rgba(255, 75, 0);
}

.services-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 0 4%;
  gap: 4rem;
  position: relative;
}

.services-left {
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.service-preview-container {
  width: 80%;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(var(--preview-y, 0)) scale(0.95);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: flex;
}

.service-preview-container.active {
  opacity: 1;
  transform: translateY(var(--preview-y, 0)) scale(1);
}

.service-video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.services-right {
  display: flex;
  flex-direction: column;
}

.service-row {
  display: grid;
  grid-template-columns: 50px 1fr 1.5fr 40px;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.3s;
}

[data-theme="light"] .service-row {
  border-top: 1px solid rgba(0, 0, 0, 0.5);
}

.service-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .service-row:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

.service-row:hover {
  background: rgba(255, 75, 0, 0.05);
}

[data-theme="light"] .service-row:hover {
  background: rgba(255, 75, 0, 0.05);
}

.service-row:hover .sr-num,
.service-row:hover .sr-title,
.service-row:hover .sr-desc {
  transform: translateX(15px);
}

.sr-num {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  opacity: 0.6;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s;
}

[data-theme="light"] .sr-num {
  color: #000;
}

.sr-title {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 500;
  color: #fff;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s;
}

[data-theme="light"] .sr-title {
  color: #000;
}

.sr-desc {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sr-desc p {
  color: #fff;
  opacity: 0.8;
  font-size: 0.95rem;
  line-height: 1.6;
  transition: color 0.3s;
}

[data-theme="light"] .sr-desc p {
  color: #000;
}

.sr-link {
  color: #fff;
  display: flex;
  justify-content: flex-end;
  transition: color 0.3s, transform 0.3s;
}

[data-theme="light"] .sr-link {
  color: #000;
}

.service-row:hover .sr-link {
  color: var(--orange);
  transform: translateX(5px);
}

@media (max-width: 1024px) {
  .service-row {
    grid-template-columns: 40px 1fr 1fr 30px;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .services-modern {
    padding: 4rem 0;
  }

  .services-hero {
    margin-bottom: 1rem;
  }

  .services-container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .services-ticker {
    display: none;
  }

  /* Hide the video preview panel entirely on mobile — no content, no space */
  .services-left {
    display: none;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.75rem 0;
  }

  .sr-num {
    margin-bottom: 0.25rem;
  }

  .sr-link {
    justify-content: flex-start;
  }
}

/* ── Clients Infinite Carousel ── */
.clients {
  background: #000;
  padding: 1rem 0;
  overflow: hidden;
  position: relative;
}

.ticker-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right,
      transparent,
      black 10%,
      black 90%,
      transparent);
}

.ticker-scroll {
  display: flex;
  white-space: nowrap;
  animation: scroll-ticker 15s linear infinite;
  gap: 4rem;
  padding-right: 4rem;
  /* Match gap for seamless loop */
}

@keyframes scroll-ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.ticker-logo-wrapper {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticker-logo-wrapper img,
.ticker-logo-wrapper svg {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  /* Force white icons */
  opacity: 0.8;
}

.ticker-item span {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Light Theme Override - Keep it dark or match? User asked for Dark Background specifically */
[data-theme="light"] .clients {
  background: #050505;
  /* Keep it dark as requested for this section specifically */
}



[data-theme="light"] .client-box:hover .client-logo-img {
  filter: brightness(0);
}

/* Specific Logo Typography Styles */
.client-text-logo.cairo {
  font-family: serif;
  font-weight: 900;
  letter-spacing: -1px;
}

.client-text-logo.aloft {
  font-family: sans-serif;
  font-weight: 700;
  letter-spacing: -1px;
  color: #4CAF50;
}

[data-theme="light"] .client-text-logo.aloft {
  color: #2E7D32;
}

.client-text-logo.oslo {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: lowercase;
  letter-spacing: -1px;
}

.client-text-logo.chain {
  font-family: sans-serif;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.client-text-logo.manila {
  font-family: sans-serif;
  font-weight: 800;
  letter-spacing: -1px;
}

.client-text-logo.mows {
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: 4px;
}

.client-text-logo.ther {
  font-family: cursive, serif;
  font-style: italic;
  font-size: 2.5rem;
  font-weight: 400;
}

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

  .client-empty:nth-child(even) {
    display: none;
  }
}

@media (max-width: 768px) {
  .clients-grid-staggered {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    border: none;
  }

  .client-empty {
    display: none;
  }

  .client-box {
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

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

/* ── Case Studies ── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.case-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 75, 0, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.case-header {
  padding: 2rem;
  background: linear-gradient(135deg, var(--orange-dim), transparent);
  border-bottom: 1px solid var(--glass-border);
}

.case-client {
  font-size: 0.75rem;
  color: var(--orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.case-header h3 {
  font-size: 1.3rem;
}

.case-body {
  padding: 2rem;
}

.case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.case-metric {
  text-align: center;
}

.case-metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.case-metric-before {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.case-metric-after {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--orange);
}

.case-metric-arrow {
  color: var(--orange);
  font-size: 1.2rem;
  margin: 0.3rem 0;
}

/* ── Process ── */
.process {
  background: var(--bg-primary);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  position: relative;
  max-width: 1100px;
  margin: 4rem auto 0;
}

@keyframes process-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.process-step {
  position: relative;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-step-inner {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4rem;
  border-radius: 30px;
  text-align: left;
  position: relative;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  animation: process-float 3s ease-in-out infinite;
}

.process-step:nth-child(even) .process-step-inner {
  animation-delay: -4s;
}

/* Glass Shine Effect */
.process-step-inner::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s;
  pointer-events: none;
}

.process-step:hover .process-step-inner::after {
  opacity: 1;
}

/* Misarranged / Staggered Layout */
.process-step:nth-child(even) {
  margin-top: 8rem;
}

.process-step:hover .process-step-inner {
  transform: translateY(-15px) scale(1.02);
  border-color: rgba(255, 75, 0, 0.4);
  background: rgba(255, 75, 0, 0.02);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  animation-play-state: paused;
}

.step-number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--orange);
  opacity: 1;
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  line-height: 1;
  transition: all 0.4s;
}

.process-step:hover .step-number {
  opacity: 0.15;
  transform: scale(1.1);
  color: var(--orange);
}

.process-step h3 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.process-step p {
  color: var(--text-secondary);
  font-size: 1.25rem;
  line-height: 1.7;
  max-width: 90%;
}

@media (max-width: 900px) {
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .process-step:nth-child(even) {
    margin-top: 0;
  }
}

/* ── Testimonials ── */
/* ── Testimonials Carousel ── */
.testimonial-carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 4%;
  max-width: 1300px;
  margin: 0 auto;
}

.testimonial-carousel {
  position: relative;
  width: 100%;
  max-width: 1000px;
  min-height: 550px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 10rem 1%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.94);
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0.8s;
}

.testimonial-slide.exit {
  opacity: 0;
  visibility: visible;
  transform: scale(1.06);
  pointer-events: none;
  transition:
    opacity 0.5s cubic-bezier(0.4, 0, 1, 1),
    transform 0.5s cubic-bezier(0.4, 0, 1, 1);
}

.testimonial-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.quote-text {
  font-size: clamp(1.2rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 4rem;
  letter-spacing: -2px;
  color: #fff;
}

.author-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.author-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--orange);
  background: var(--bg-secondary);
  box-shadow: 0 10px 30px rgba(255, 75, 0, 0.2);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-details {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.author-name {
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
}

.author-role {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 600;
}

.carousel-nav {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  backdrop-filter: blur(10px);
}

.carousel-nav:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.1);
  box-shadow: 0 0 30px var(--orange-glow);
}

@media (max-width: 900px) {
  .testimonial-carousel-container {
    flex-direction: column;
    padding: 2rem 4%;
  }

  .testimonial-carousel {
    min-height: 600px;
    padding: 3rem 1rem;
  }

  .carousel-nav {
    display: none;
  }

  .quote-text {
    font-size: 1.8rem;
    margin-bottom: 3rem;
  }
}

/* ── Final CTA ── */
.final-cta {
  text-align: center;
  padding: 10rem 4%;
  background: radial-gradient(ellipse at center, rgba(255, 75, 0, 0.08) 0%, transparent 70%);
  position: relative;
}



.final-cta h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  color: #fff;
}

[data-theme="light"] .final-cta h2 {
  color: #000;
}

.final-cta h2 .orange-text {
  color: var(--orange);
}

.final-cta p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  filter: drop-shadow(5px -5px 0.5px #ffffff);
  gap: 12px;
  padding: 1.2rem 3rem;
  background: var(--orange);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}

.cta-button:hover {
  box-shadow: 0 0 60px var(--orange-glow), 0 0 120px rgba(255, 75, 0, 0.2);
  transform: translateY(-4px) scale(1.02);
}

[data-theme="light"] .cta-button {
  filter: drop-shadow(5px -5px 0.5px #000000);
}

.cta-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--orange-glow), transparent);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
}

.cta-button:hover .cta-glow {
  opacity: 0.5;
}

/* ── Footer ── */
.footer {
  padding: 8rem 6% 0;
  /* Bottom padding 0 for giant text */
  background: var(--secondary-primary);
  position: relative;
  overflow: hidden;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.f-info-section h2 {
  font-size: 3.5rem;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}

.f-info-section p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1;
  max-width: 450px;
  margin-bottom: 3rem;
}

.f-contact-social {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.f-email-minimal {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s;
}

.f-email-minimal:hover {
  color: var(--orange);
}

.f-social-icons {
  display: flex;
  gap: 1.5rem;
  color: var(--text-muted);
}

.f-social-icons a {
  color: inherit;
  transition: color 0.3s, transform 0.3s;
}

.f-social-icons a:hover {
  color: var(--text-primary);
  transform: translateY(-3px);
}

.f-links-section {
  display: flex;
  gap: 5rem;
  justify-content: flex-end;
}

.f-col h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.f-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.f-col a:hover {
  color: var(--text-primary);
}

/* Massive Gradient Text */
.footer-giant-name {
  width: 100%;
  font-size: clamp(12rem, 35vw, 13rem);
  font-weight: 900;
  text-align: center;
  background: linear-gradient(to bottom, var(--orange) 10%, transparent 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: -2rem;
  box-sizing: border-box;
  user-select: none;
  pointer-events: none;
}

[data-theme="light"] .footer-giant-name {
  background: linear-gradient(to bottom, var(--orange) 10%, transparent 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 900px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .f-links-section {
    justify-content: flex-start;
    gap: 3rem;
  }

  .footer-giant-name {
    font-size: clamp(3rem, 15vw, 7rem);
    margin-bottom: -1rem;
    padding: 1 0%;
  }
}

@media (max-width: 480px) {
  .f-links-section {
    flex-direction: column;
    gap: 3rem;
  }
}


/* ── Responsive ── */
@media (max-width: 1024px) {
  .about-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-bottom {
    grid-template-columns: 1fr;
    gap: 2rem;
  }



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

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline::before {
    display: none;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }



  .hero h1 {
    font-size: 2.5rem;
    letter-spacing: -1px;
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }

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



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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ── Particles ── */
.particle-field {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0.3;
  animation: drift linear infinite;
}

@keyframes drift {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 0.3;
  }

  90% {
    opacity: 0.3;
  }

  100% {
    transform: translateY(-100vh) translateX(50px);
    opacity: 0;
  }
}

/* ── Counter animation ── */
.counter {
  display: inline-block;
}

/* ── Light Theme Overrides ── */
body {
  transition: background 0.5s ease, color 0.5s ease;
}

[data-theme="light"] .hero h1 {
  background: linear-gradient(135deg, #1a1a1a 0%, rgba(30, 30, 30, 0.8) 50%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .hero-glow {
  opacity: 0.06;
}

[data-theme="light"] .process-step-inner {
  background: rgba(167, 165, 165, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .process-step:hover .process-step-inner {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
  border-color: var(--orange);
}

[data-theme="light"] .process-step .step-number {
  opacity: 1;
  color: var(--orange);
}

[data-theme="light"] .process-step:hover .step-number {
  opacity: 9;
  color: var(--orange);
}

/* Light Theme Carousel Overrides */
[data-theme="light"] .testimonial-carousel {
  background: rgba(167, 165, 165, 0.4);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .quote-text,
[data-theme="light"] .author-name {
  color: #1a1a1a;
}

[data-theme="light"] .carousel-nav {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: #1a1a1a;
}

[data-theme="light"] .carousel-nav:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}



[data-theme="light"] .nav-logo img {
  filter: brightness(0) saturate(100%);
}

[data-theme="light"] .footer-brand img {
  filter: brightness(0) saturate(100%);
}

/* ── Contact Modal ── */
.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.contact-modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.modal-content {
  position: relative;
  background: #0a0a0a;
  border: 1px solid var(--glass-border);
  padding: 3.5rem;
  width: 90%;
  max-width: 700px;
  border-radius: 30px;
  transform: translateY(30px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  max-height: 90vh;
  overflow-y: auto;
}

.contact-modal.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.modal-close:hover {
  opacity: 1;
}

.modal-header {
  margin-bottom: 2.5rem;
}

.modal-header h2 {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 1.2rem;
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255, 75, 0, 0.05);
}

.submit-button {
  width: 100%;
  margin-top: 1rem;
  padding: 1.5rem;
  font-size: 1.1rem;
  justify-content: center;
}

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

  .modal-content {
    padding: 2rem;
    width: 95%;
  }

  .modal-header h2 {
    font-size: 2.2rem;
  }
}

[data-theme="light"] .modal-content {
  background: #fdfdfd;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
  background: rgba(0, 0, 0, 0.03);
  color: #000;
}

[data-theme="light"] .modal-header p {
  color: #666;
}

[data-theme="light"] .modal-close {
  color: #000;
}

/* ── Toast Notification ── */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10000;
  padding: 1.2rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--orange);
  border-radius: 4px;
  color: #fff;
  font-weight: 500;
  transform: translateX(120%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.toast-notification.visible {
  transform: translateX(0);
}

.toast-notification.error {
  border-left-color: #ff4b4b;
}

[data-theme="light"] .toast-notification {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.05);
  color: #1a1a1a;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}