/* ==========================================================================
   MENONROCKET AGENCY â€” Design System & Styles
   ========================================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties (Theme Tokens) ---------- */
:root {
  /* Dark theme (default) */
  --bg-primary: #121212;
  /* Slightly lighter than pure black */
  --bg-secondary: #1E1E1E;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.85);
  /* Increased contrast */
  --text-muted: rgba(255, 255, 255, 0.6);
  --accent: #df69ff;
  --accent-hover: #c43fe6;
  /* ... */



  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(215, 161, 255, 0.3);
  --navbar-bg: rgba(10, 10, 10, 0.85);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.06);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-accent: 0 4px 24px rgba(215, 161, 255, 0.15);
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius: 16px;
  --radius-sm: 8px;
}

[data-theme="light"] {
  --bg-primary: #f8f7fa;
  --bg-secondary: #ffffff;
  --bg-card: rgba(0, 0, 0, 0.03);
  --bg-card-hover: rgba(0, 0, 0, 0.06);
  --text-primary: #1a1a2e;
  --text-secondary: rgba(26, 26, 46, 0.65);
  --text-muted: rgba(26, 26, 46, 0.4);
  --accent: #df69ff;
  --accent-hover: #c43fe6;
  --accent-glow: rgba(223, 105, 255, 0.2);
  --accent-subtle: rgba(223, 105, 255, 0.06);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(223, 105, 255, 0.3);
  --navbar-bg: rgba(248, 247, 250, 0.9);
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(0, 0, 0, 0.06);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-accent: 0 4px 24px rgba(223, 105, 255, 0.12);
}

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

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-primary);
  transition: background-color var(--transition);
  overflow-x: hidden;
  /* Prevents horizontal scroll without killing sticky */
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: transparent !important;
  color: var(--text-primary);
  line-height: 1.7;
  /* overflow-x removed from body — keeping it here breaks position: sticky on all children */
  transition: color var(--transition);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  color: var(--text-primary) !important;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.02em;
  /* Tighter letter spacing for impact */
}

::selection {
  background: var(--accent);
  color: var(--bg-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------- Theme Transition ---------- */
body.theme-transitioning,
body.theme-transitioning *,
body.theme-transitioning *::before,
body.theme-transitioning *::after {
  transition: background-color 0.6s ease, color 0.6s ease, border-color 0.6s ease, box-shadow 0.6s ease !important;
}

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

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

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

/* Typing Effect Cursor */
.typing-cursor {
  display: inline-block;
  width: 4px;
  height: 1em;
  background-color: var(--accent);
  animation: blink 1s infinite;
  margin-left: 4px;
  vertical-align: middle;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* ========== Rocket Parallax Transition ========== */
.rocket-parallax-container {
  height: 2800px;
  /* Massive scroll distance for a long flight */
  position: relative;
  overflow: hidden;
  background: transparent;
  /* Ensure canvas stars show through perfectly */
  z-index: 50;
  /* Ensure it stays above the next section during pin */
}

.rocket-scene {
  height: 100vh;
  width: 100%;
  position: relative;
  /* GSAP will pin this full-screen container while we scroll */
}

.parallax-rocket {
  position: absolute;
  top: 50%;
  /* Center vertically fallback */
  left: 0;
  z-index: 60;
  transform-origin: center center;
  pointer-events: none;
  /* Ignore clicks */
}

/* ---------- Section Utilities ---------- */

/* Removed forced transparency to restore original template backgrounds, except for the footer which needs it for the moon landing sequence */
.menonrocket-footer {
  background: transparent !important;
  background-color: transparent !important;
}

.section-padding {
  padding: 140px 0;
  /* Increased from 80-100px for more breathing room */
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

.text-start .section-subtitle {
  margin-left: 0;
  margin-right: 0;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding: 20px 0;
  background: transparent;
  transition: all var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 12px 0;
  background: var(--navbar-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary) !important;
}

.navbar-brand span {
  color: var(--accent);
}

.navbar .nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary) !important;
  padding: 8px 18px !important;
  position: relative;
  transition: color var(--transition);
}



.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--text-primary) !important;
}

.navbar-toggler {
  border: none;
  color: var(--text-primary);
  opacity: 0.8;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 16px;
  position: relative;
  transition: color 0.3s ease;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

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

/* Nav Link Underline Effect */
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 50%;
  background: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link.active::after {
  width: 20px;
}

.home-page .navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Hide default Bootstrap dropdown caret to prevent conflict with custom animated underline */
.navbar-nav .dropdown-toggle::after {
  border: none !important;
  margin: 0;
}

/* Remove dropdown upper border to prevent secondary line color on hover */
.navbar-nav .dropdown-menu {
  border-top: none !important;
}

.theme-toggle {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}

/* Hamburger */
.navbar-toggler {
  border: 1px solid var(--border-color);
  padding: 6px 10px;
}

.navbar-toggler-icon {
  background-image: none;
  position: relative;
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  display: block;
  transition: var(--transition);
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  left: 0;
  transition: var(--transition);
}

.navbar-toggler-icon::before {
  top: -7px;
}

.navbar-toggler-icon::after {
  top: 7px;
}

/* ---------- Hero Section ---------- */
#hero {
  position: relative;
  height: 100vh;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
  background-color: transparent;
  /* Allow WebGL canvas to show */
}

/* WebGL canvas moved to master definition at line 2312 */

.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  /* Let WebGL canvas be the background */
  z-index: 1;
  pointer-events: none;
}

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

.hero-title {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 32px;
  letter-spacing: -2px;
  color: var(--text-primary);
}

.highlight {
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  position: relative;
  display: inline-block;
}

.highlight::before {
  content: attr(data-text);
  /* Requires data-text attr or just duplicating content in animation */
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  color: var(--accent);
  overflow: hidden;
  border-right: 2px solid var(--accent);
  animation: fillText 4s linear infinite alternate;
  -webkit-text-stroke: 0;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.typing-text {
  color: #E0B0FF;
  /* Light Purple as requested */
}


@keyframes fillText {
  0% {
    width: 0;
  }

  50% {
    width: 100%;
  }

  100% {
    width: 0;
  }
}

/* Hide fallback image as we use canvas */
.hero-bg {
  display: none;
}

.hero-gradient {
  display: none;
}

/* ---------- Work Showcase (Horizontal) ---------- */
.work-showcase {
  padding: 120px 0;
  overflow: hidden;
  background: var(--bg-primary);
}

.work-header {
  margin-bottom: 80px;
}

.work-track {
  display: flex;
  gap: 20px;
  padding-left: 10vw;
  /* Start with first item offset */
  width: max-content;
  /* Ensure connection doesn't wrap */
}

.work-item {
  width: min(85vw, calc((100vh - 350px) * 16 / 9));
  aspect-ratio: 16 / 9;
  height: auto;
  flex-shrink: 0;
  position: relative;
}

.work-card {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 4px;
  /* Minimal radius for Agntix sharp look */
  overflow: hidden;
  cursor: pointer;
}

.work-img {
  width: 100%;
  height: 100%;
}

.work-img img {
  width: 130%;
  height: 100%;
  object-fit: cover;
  position: relative;
  left: -15%;
  transition: transform 0.4s ease;
}

.work-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 32px 32px 52px 32px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  color: #fff;
}

.work-info h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.work-info p {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ---------- Horizontal Work Showcase ---------- */
.work-showcase {
  height: calc(100vh - 80px);
  padding: 40px 0;
  /* Will be pinned by GSAP */
  overflow: hidden;
  background-color: var(--bg-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  /* Add padding top to push everything down slightly ? */
}

.work-header {
  padding: 80px 0 40px;
  flex-shrink: 0;
}

.horizontal-scroll-wrapper {
  flex-grow: 1;
  display: flex;
  align-items: center;
  width: 100%;
  padding-left: 5vw;
}

/* ---------- Services Stack (Hero Cards) ---------- */
.services-stack-container {
  position: relative;
  background-color: transparent;
  /* height set dynamically by JS: cardCount * 100vh */
  overflow: hidden;
  /* Clips cards that are still below */
}

.service-card-stack {
  /* Position set to absolute by GSAP on init */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.1);
  transition: transform 0.5s ease-out;
}

.service-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(18, 18, 18, 1) 100%);
  z-index: 1;
}

.service-card-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.service-num {
  display: block;
  font-size: 1.2rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: 2px;
}

.service-title {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.service-desc {
  font-size: 1.25rem;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto 40px;
  line-height: 1.6;
}

.service-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.service-tags li {
  padding: 8px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s;
}

.service-tags li:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: transparent !important;
  /* Changed from gradient to transparent */
  color: #000 !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  /* Establishes stacking context */
}

/* Base background */
.btn-accent::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent) 0%, #a855f7 100%);
  z-index: -2;
  border-radius: inherit;
}

/* Hover background */
.btn-accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #a855f7 0%, var(--accent) 100%);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: -1;
  border-radius: inherit;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(215, 161, 255, 0.35);
  color: #000 !important;
  background: transparent !important;
}

.btn-accent:hover::before {
  opacity: 1;
}

.btn-accent span,
.btn-accent i {
  position: relative;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-accent:hover i {
  transform: translateX(5px);
}

.btn-accent:hover::before {
  opacity: 1;
}

.btn-accent span,
.btn-accent i {
  position: relative;
  z-index: 1;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: transparent;
  color: var(--text-primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

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

/* ---------- Services List (Agntix Style) ---------- */
.services-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: flex;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  position: relative;
  transition: all 0.4s ease;
}

.service-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item:hover {
  padding-left: 20px;
  border-color: var(--accent);
}

.service-num {
  font-family: 'Montserrat', sans-serif;
  /* Use monospace if available, or just standard */
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.4);
  margin-right: 40px;
  font-weight: 500;
}

.service-name {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  transition: color 0.3s;
}

.service-item:hover .service-name {
  color: var(--accent);
}

.service-arrow {
  margin-left: auto;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.4);
  transform: rotate(45deg);
  transition: all 0.4s;
}

.service-item:hover .service-arrow {
  color: var(--accent);
  transform: rotate(0) translateX(10px);
}

.service-hover-img {
  position: absolute;
  top: 50%;
  right: 10%;
  width: 300px;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  transform: translateY(-50%) scale(0.8);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 10;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.service-item:hover .service-hover-img {
  opacity: 1;
  transform: translateY(-50%) scale(1) rotate(-3deg);
}

/* ---------- Testimonials (5.0 Clean) ---------- */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--accent);
  border-radius: 50px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimonials-slider {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  /* Slower, smoother reveal */
}

.testimonial-slide {
  position: absolute;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
  pointer-events: none;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  position: relative;
}

.testimonial-quote {
  font-size: 2.5rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.testimonial-author {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.testimonial-controls button {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  margin: 0 10px;
  transition: all 0.3s;
}

.testimonial-controls button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

#services {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
}

.service-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 44px 32px;
  height: 100%;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #a855f7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--accent-subtle);
  border: 1px solid rgba(215, 161, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 28px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--accent), #a855f7);
  color: #0a0a0a;
  border-color: transparent;
  box-shadow: var(--shadow-accent);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
  transition: gap var(--transition);
}

.service-link:hover {
  gap: 12px;
  color: var(--accent-hover);
}

/* ---------- NEW Services Story Layout ---------- */
.services-story {
  margin-top: 60px;
}

.service-story-item {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 120px;
  opacity: 0;
  transform: translateY(50px);
}

.service-visual {
  flex: 0 0 auto;
  width: 180px;
}

.service-icon-xl {
  width: 128px;
  height: 128px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--accent-subtle), rgba(168, 85, 247, 0.08));
  border: 2px solid rgba(215, 161, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--accent);
  transition: all 0.4s ease;
  box-shadow: 0 8px 32px rgba(215, 161, 255, 0.15);
}

.service-story-item:hover .service-icon-xl {
  background: linear-gradient(135deg, var(--accent), #a855f7);
  color: #0a0a0a;
  border-color: var(--accent);
  box-shadow: 0 12px 48px rgba(215, 161, 255, 0.4);
  transform: scale(1.05) rotate(5deg);
}

.service-narrative {
  flex: 1;
}

.service-narrative h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.service-narrative .lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}

.service-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-benefits li {
  padding: 10px 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-benefits li i {
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}


/* ---------- Portfolio Section ---------- */
#portfolio {
  background-color: var(--bg-secondary);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  background: transparent;
  color: var(--text-secondary);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0a0a;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 24px;
}

.portfolio-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10, 10, 10, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  opacity: 0;
  transition: opacity var(--transition);
}

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

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

.portfolio-overlay .category {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.portfolio-overlay h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.portfolio-overlay p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- About Section ---------- */
#about {
  background-color: var(--bg-primary);
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.about-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-image-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 20px 28px;
  text-align: center;
}

.about-image-badge .number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.about-image-badge .label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 4px;
}

.about-content .section-label {
  text-align: left;
}

.about-content .section-title {
  text-align: left;
}

.about-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 36px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

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

/* ---------- Contact Section ---------- */
#contact {
  background-color: transparent !important;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px;
  height: 100%;
}

.contact-info-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-info-card>p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-detail .icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: var(--accent-subtle);
  border: 1px solid rgba(215, 161, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent);
}

.contact-detail .info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-detail .info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0a0a;
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent);
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px;
  height: 100%;
}

.form-floating {
  margin-bottom: 20px;
}

.form-floating .form-control,
.form-floating .form-select {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  padding: 1rem 1rem;
  height: auto;
  min-height: 56px;
}

.form-floating textarea.form-control {
  min-height: 140px;
}

.form-floating .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--bg-primary);
}

.form-floating label {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.form-floating .form-control:focus~label,
.form-floating .form-control:not(:placeholder-shown)~label {
  color: var(--accent);
}

.btn-submit {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--accent) 0%, #a855f7 100%);
  color: #0a0a0a;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(215, 161, 255, 0.35);
}

/* ---------- Footer ---------- */
.site-footer {
  background: transparent !important;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-brand span {
  color: var(--accent);
}

.footer-text {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.8;
  max-width: 360px;
}

.footer-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 28px;
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--accent);
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
  border: none;
  box-shadow: var(--shadow-accent);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(215, 161, 255, 0.4);
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease;
}

.preloader.loaded {
  opacity: 0;
  pointer-events: none;
}

.preloader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- NEW Process Timeline Layout ---------- */
.process-timeline {
  position: relative;
  max-width: 1000px;
  margin: 80px auto 0;
  padding: 40px 0;
}

.timeline-spine {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(215, 161, 255, 0.3) 100%);
  transform: translateX(-50%);
}

.timeline-step {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 80px;
  gap: 40px;
}

.timeline-content {
  flex: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.timeline-content:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.timeline-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.timeline-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.timeline-marker {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}

.marker-dot {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid var(--bg-primary);
  box-shadow: 0 0 0 4px rgba(215, 161, 255, 0.2);
  transition: all 0.3s ease;
}

.timeline-step:hover .marker-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 8px rgba(215, 161, 255, 0.3);
}

.timeline-spacer {
  flex: 1;
}

/* Step Left: Content on left */
.step-left {
  justify-content: flex-end;
}

.step-left .timeline-content {
  text-align: right;
}

/* Step Right: Content on right */
.step-right {
  justify-content: flex-start;
}

.step-right .timeline-content {
  text-align: left;
}

/* ---------- GSAP Animation Helpers ---------- */
.reveal-up {
  opacity: 0;
  transform: translateY(60px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
}

/* ---------- Process Section ---------- */
#process {
  background: transparent;
  /* Changed from linear-gradient to allow WebGL */
  position: relative;
}

.process-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px 32px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.process-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

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

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

.process-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #a855f7);
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  box-shadow: var(--shadow-accent);
}

.process-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.process-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
}

/* ---------- Testimonials Section ---------- */
#testimonials {
  background: transparent;
  /* Changed from var(--bg-secondary) to allow WebGL */
  position: relative;
  overflow: hidden;
}

#testimonials::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

.testimonial-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px 36px;
  height: 100%;
  position: relative;
  transition: all var(--transition);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 5rem;
  font-weight: 900;
  color: var(--accent-subtle);
  line-height: 1;
  opacity: 0.5;
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.testimonial-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  object-fit: cover;
}

.testimonial-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.testimonial-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .section-padding {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 50px;
  }

  .hero-title {
    font-size: clamp(2.2rem, 6vw, 3.6rem);
  }

  .navbar-collapse {
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 16px;
  }

  .about-image-wrapper {
    margin-bottom: 40px;
  }

  .about-image-wrapper img {
    height: 350px;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  /* Services Story Responsive */
  .service-story-item {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
  }

  .service-visual {
    width: auto;
  }

  .service-icon-xl {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
  }

  .service-narrative {
    text-align: center;
  }

  /* Process Timeline Responsive */
  .process-timeline {
    margin-top: 40px;
    padding-left: 40px;
  }

  .timeline-spine {
    left: 10px;
    transform: none;
  }

  .timeline-step {
    flex-direction: row !important;
    gap: 20px;
  }

  .step-left .timeline-content,
  .step-right .timeline-content {
    text-align: left;
  }

  .timeline-spacer {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 60px 0;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }

  .hero-content {
    padding-left: 10%;
    padding-right: 10%;
  }

  .hero-cta .btn-accent,
  .hero-cta .btn-outline {
    width: auto;
    min-width: 200px;
    padding: 12px 24px;
    font-size: 0.75rem;
    justify-content: center;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio-item img {
    height: 240px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

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

  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .about-stats {
    grid-template-columns: 1fr;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 24px;
  }
}

/* ---------- Testimonials (High Impact) ---------- */
.testimonials-impact {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.impact-bg-decoration {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

.testimonial-visual-wrapper {
  position: relative;
  z-index: 1;
}

.visual-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.client-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.client-image.active {
  opacity: 1;
  transform: scale(1);
}

.quote-mark-large {
  position: absolute;
  top: -20px;
  left: -20px;
  font-family: 'Times New Roman', serif;
  font-size: 10rem;
  line-height: 1;
  color: #fff;
  opacity: 0.1;
  pointer-events: none;
}

.visual-decoration-circle {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
}

.testimonial-content-wrapper {
  position: relative;
  z-index: 2;
}

.impact-slider {
  position: relative;
  min-height: 400px;
  /* Reserve space */
}

.impact-slide {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.impact-slide.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInSlide 0.8s ease forwards;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.impact-quote {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

.client-meta {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
}

.client-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.client-role {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.impact-controls {
  display: flex;
  gap: 16px;
}

.impact-btn {
  width: 60px;
  height: 60px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: transparent;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.impact-btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  transform: scale(1.1);
}

/* ---------- Light Mode Fixes ---------- */
.timeline-content h3 {
  color: var(--text-primary);
}

.timeline-content p {
  color: var(--text-secondary);
}

.section-title {
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--text-secondary);
}

/* ---------- WebGL Background Canvas ---------- */
#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  /* Explicitly put IT IN FRONT of the HTML/Body background */
  pointer-events: none;
}

/* We must wrap all page content in a higher z-index relative container so the canvas can sit between the root background and the text */
body::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ---------- MENONROCKET Brand Styling ---------- */
.brand-on {
  color: var(--accent);
}

/* ---------- Menonrocket Footer Redesign ---------- */
.menonrocket-footer {
  background: transparent !important;
  /* Dark background as in image */
  color: #fff;
  padding: 100px 0 40px;
  position: relative;
  border-top: none;
}

.footer-headline {
  font-size: 4rem;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -2px;
  color: #fff;
  /* Always white on dark footer */
  margin-bottom: 24px;
}

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

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s;
}

.social-icon:hover {
  background: #fff;
  color: #000;
}

.footer-section-header {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.red-dot {
  width: 6px;
  height: 6px;
  background-color: #ff4d4d;
  /* Agntix Red */
  border-radius: 50%;
  display: inline-block;
}

.footer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-pill {
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  color: #ccc;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  text-decoration: none;
}

.footer-pill:hover {
  background: #fff;
  color: #000;
}

.footer-contact-info p {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #ccc;
}

.footer-contact-info a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact-info a:hover {
  color: #fff;
}

.address {
  margin-top: 16px;
  line-height: 1.6;
}

.footer-brand-massive {
  font-size: 7vw;
  /* Reduced from 16vw */
  /* Massive responsive size */
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #E0B0FF;
  /* Light Purple */
  text-align: center;
  margin-top: 60px;
  margin-bottom: 20px;
  user-select: none;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 0.85rem;
  color: #888;
}

.legal-links {
  display: flex;
  gap: 32px;
}

.legal-links a {
  color: #888;
  text-decoration: none;
  transition: color 0.3s;
}

.legal-links a:hover {
  color: #fff;
}

.scroll-top-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s;
}

.scroll-top-btn:hover {
  transform: translateY(-5px);
}

@media (max-width: 991px) {
  .footer-headline {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .footer-bottom-bar {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .legal-links {
    gap: 20px;
  }
}

/* ---------- Process Cards ---------- */
.process-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.process-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
  transform: translateY(-5px);
}

.process-step-num {
  position: absolute;
  top: -10px;
  right: -5px;
  font-size: 5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
}

.process-card h3 {
  color: #fff;
}

.process-card p.text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* ---------- Navbar Dropdowns ---------- */
.custom-dropdown {
  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-top: 0;
  /* No margin gap to preserve hover state */
  top: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.custom-dropdown .dropdown-item {
  color: var(--text-secondary);
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 500;
  font-size: 0.75rem;
  /* Reduced font size ~ 2pt smaller than standard */
  transition: all 0.2s ease;
  background: transparent;
}

.custom-dropdown .dropdown-item:hover,
.custom-dropdown .dropdown-item:focus {
  background: rgba(215, 161, 255, 0.1);
  color: var(--accent);
}

/* Hover to open dropdown (modern desktop feel) */
@media (min-width: 992px) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeDropdown 0.3s ease forwards;
  }
}

@keyframes fadeDropdown {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Hero CTA Button Arrow ---------- */
.hero-cta-btn .cta-arrow {
  display: inline-block;
  -webkit-text-stroke: 1px currentColor;
  margin-left: 8px;
}

@media (hover: hover) and (pointer: fine) {
  .hero-cta-btn:hover .cta-arrow {
    animation: rotateArrow 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }
}

@keyframes rotateArrow {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Navbar specific tweaks requested */
.navbar .nav-link {
  font-size: 14px !important;
}

/* Layered Pill Button */
.btn-layered-pill {
  position: relative;
  border-radius: 50px;
  padding: 11px 29px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0.6px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-layered-pill-dark {
  background-color: #000;
  color: #fff;
}

.btn-layered-pill-light {
  background-color: #fff;
  color: #000;
}

/* Glow Streak */
.btn-layered-pill::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 6px;
  background: rgba(255, 255, 255, 0.9);
  filter: blur(4px);
  border-radius: 50%;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.btn-layered-pill:hover::after {
  width: 80%;
  opacity: 1;
}

.btn-layered-pill-light::after {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.btn-layered-pill:hover {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

/* CASES ECOSYSTEM REFACTOR */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 400px;
  gap: 24px;
}

.bento-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.bento-item:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: transform 0.8s ease, opacity 0.5s ease;
}

.bento-item:hover img {
  opacity: 0.9;
  transform: scale(1.05);
}

.bento-item-large-1 {
  grid-column: span 2;
  grid-row: span 2;
}

/* Project 1 */
.bento-item-large-2 {
  grid-column: span 2;
  grid-row: span 1;
}

/* Project 2 */
.bento-item-small-1 {
  grid-column: span 1;
  grid-row: span 1;
}

/* Project 3 */
.bento-item-small-2 {
  grid-column: span 1;
  grid-row: span 1;
}

/* Project 4 */
.bento-item-wide {
  grid-column: span 4;
  grid-row: span 1;
  height: 350px;
}

/* Project 5 */

.bento-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.bento-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #D7A1FF;
  margin-bottom: 8px;
  display: block;
}

.hero-archive {
  padding: 180px 0 100px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-pills {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.filter-pill {
  padding: 8px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
}

.filter-pill:hover,
.filter-pill.active {
  background: #fff;
  color: #000;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.project-card {
  text-decoration: none;
  color: #fff;
  display: block;
  position: relative;
}

.project-card-img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 20px;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card-img {
  transform: scale(1.02);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
}

.showcase-hero {
  height: 48vh;
  min-height: 392px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 30px;
  width: 100%;
  overflow: hidden;
}

.showcase-hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
  z-index: 1;
}

.showcase-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #000 0%, transparent 60%);
  z-index: 2;
}

.showcase-title-box {
  position: relative;
  z-index: 3;
}

.meta-sidebar {
  position: sticky;
  top: 120px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
}

.meta-item {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 15px;
}

.meta-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.meta-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #D7A1FF;
  margin-bottom: 5px;
}

.meta-value {
  font-size: 18px;
  font-weight: 600;
}

.gallery-masonry {
  column-count: 2;
  column-gap: 20px;
  margin-top: 80px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-item img {
  width: 100%;
  display: block;
}

/* -----------------------------------------
   NEW ASYMMETRIC TECH GRID FOR PROCESS SECTION
   ----------------------------------------- */
.tech-grid-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

/* SVG Background connections */
.tech-connections {
  position: absolute;
  top: 5%;
  left: 0;
  width: 100%;
  height: 90%;
  pointer-events: none;
  z-index: 1;
}

.tech-path {
  stroke: rgba(223, 105, 255, 0.4);
  stroke-width: 2px;
  fill: none;
  stroke-dasharray: 15 15;
  filter: drop-shadow(0 0 5px rgba(223, 105, 255, 0.5));
  animation: dashMove 15s linear infinite;
}

@keyframes dashMove {
  from {
    stroke-dashoffset: 1000;
  }

  to {
    stroke-dashoffset: 0;
  }
}

/* The floating cards */
.tech-card {
  background: rgba(15, 15, 15, 0.8);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(223, 105, 255, 0.3);
  border-radius: 20px;
  padding: 40px;
  max-width: 450px;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: all 0.5s ease;
}

.tech-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.tech-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(223, 105, 255, 0.15);
}

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

/* Positioning the cards asymmetrically */
.tc-1 {
  margin-left: 0;
  margin-bottom: -50px;
}

.tc-2 {
  margin-left: auto;
  margin-right: 5%;
  margin-bottom: -30px;
}

.tc-3 {
  margin-left: 10%;
  margin-bottom: -50px;
}

.tc-4 {
  margin-left: auto;
  margin-right: 0;
}

.tc-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.tc-num {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(223, 105, 255, 0.6);
  -webkit-text-stroke: 0;
  transition: color 0.3s ease;
}

.tech-card:hover .tc-num {
  color: var(--accent);
}

p.desc-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
  line-height: 1.6;
}

@media (max-width: 991px) {

  .tc-2,
  .tc-3,
  .tc-4 {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .tc-1 {
    margin-bottom: 20px;
  }

  .tech-connections {
    display: none;
  }
}

/* ==========================================================================
   MAVERICK AI CONCIERGE STYLES
   ========================================================================== */

#maverick-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10000;
  /* Above everything */
  font-family: 'Montserrat', sans-serif;
}

/* The Pulsing Orb */
.maverick-orb {
  width: 65px;
  height: 65px;
  background: radial-gradient(circle at 30% 30%, var(--accent), var(--accent-hover));
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(223, 105, 255, 0.4),
    inset 0 0 15px rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.maverick-orb::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
  animation: maverick-pulse 2s infinite;
}

.maverick-orb i {
  font-size: 24px;
  color: white;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.maverick-orb:hover {
  transform: scale(1.1);
  box-shadow: 0 0 35px rgba(223, 105, 255, 0.7);
}

@keyframes maverick-pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* The Terminal Panel */
.maverick-terminal {
  position: fixed;
  right: -420px;
  /* Hidden by default */
  bottom: 110px;
  width: 380px;
  height: 550px;
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: right 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.maverick-terminal.active {
  right: 30px;
}

.maverick-header {
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.maverick-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
}

.maverick-status-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: blink 1.5s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

.maverick-content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
  overscroll-behavior: contain;
}

/* Custom Scrollbar for Maverick */
.maverick-content::-webkit-scrollbar {
  width: 4px;
}

.maverick-content::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

.maverick-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.maverick-msg.ai {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-bottom-left-radius: 4px;
}

.maverick-msg.user {
  align-self: flex-end;
  background: var(--accent);
  color: white;
  border-bottom-right-radius: 4px;
}

.maverick-input-container {
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 10px;
}

.maverick-input {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  font-size: 0.9rem;
  outline: none !important;
}

.maverick-send {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s;
}

.maverick-send:hover {
  transform: scale(1.1);
}

@media (max-width: 480px) {
  .maverick-terminal {
    width: calc(100vw - 40px);
    height: 70vh;
    right: -110% !important;
  }

  .maverick-terminal.active {
    right: 20px !important;
  }
}

.maverick-msg.ai.thinking-state {
  opacity: 0.6;
  font-style: italic;
  letter-spacing: 2px;
  animation: pulse-text 1.5s infinite;
}

@keyframes pulse-text {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.7;
  }
}




/* ==========================================
   EXTRACTED INLINE STYLES FOR SPA COMPATIBILITY
   ========================================== */

/* From 404.html */

.error-container {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 15% 20px 10%;
}

.error-code {
  font-size: 8rem;
  font-weight: 900;
  background: linear-gradient(45deg, #D7A1FF, #ff007f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0;
  line-height: 1;
}

.error-message {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 800px;
}

/* From index.html */

/* Layered Pill Button */
.btn-layered-pill {
  position: relative;
  border-radius: 50px;
  padding: 11px 29px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0.6px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-layered-pill-dark {
  background-color: #000;
  color: #fff;
}

.btn-layered-pill-light {
  background-color: #fff;
  color: #000;
}

/* Glow Streak */
.btn-layered-pill::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 6px;
  background: rgba(255, 255, 255, 0.9);
  filter: blur(4px);
  border-radius: 50%;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.btn-layered-pill:hover::after {
  width: 80%;
  opacity: 1;
}

.btn-layered-pill-light::after {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.btn-layered-pill:hover {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  z-index: -2;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.navbar .nav-link {
  font-size: 14px !important;
}

/* From our-team.html */

.team-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #050505;
  padding-top: 100px;
}

.team-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-10px);
  border-color: rgba(215, 161, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(215, 161, 255, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.team-card:hover .member-photo {
  transform: scale(1.1) grayscale(0%);
}

.member-photo-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%;
  /* Strict 1:1 Aspect Ratio */
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 25px;
  background: #111;
}

.member-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: grayscale(20%) contrast(1.1);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.strength-icon {
  width: 45px;
  height: 45px;
  background: rgba(215, 161, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D7A1FF;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.stat-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

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

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

.floating-element {
  animation: float 6s infinite ease-in-out;
}

.rocket-purple-btn {
  background: linear-gradient(45deg, #8a2be2, #ff007f);
  border: none;
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.rocket-purple-btn:hover {
  box-shadow: 0 0 30px rgba(138, 43, 226, 0.8);
  transform: translateY(-2px);
  color: white !important;
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* From projects.html */

.inner-page-header {
  padding: 150px 0 80px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.inner-page-title {
  font-size: 4rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.inner-page-content {
  padding: 60px 0 100px;
  position: relative;
  z-index: 2;
}

.service-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 40px;
}

.feature-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.web-projects-hero {
  position: relative;
}

.glowing-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(138, 43, 226, 0.8) !important;
  opacity: 0.9;
}

.solution-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.solution-card:hover .card-glow {
  opacity: 1 !important;
}

.solution-card:hover i {
  transform: scale(1.1);
}

/* From projects.html */

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
  }

  50% {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.7);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
  }
}

.animated-glowing-btn {
  animation: pulseGlow 3s infinite ease-in-out;
}

.animated-delay {
  animation-delay: 1.5s;
}

/* From projects.html */

.typed-cursor {
  color: #00d2ff !important;
  font-weight: 300 !important;
  font-size: 0.55em !important;
}

.hover-rocket-card:hover .hover-rocket-icon {
  transform: translate(5px, -15px);
  opacity: 1 !important;
}

/* From service-ai-solutions.html */

.inner-page-header {
  padding: 150px 0 80px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.inner-page-title {
  font-size: 4rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.inner-page-content {
  padding: 60px 0 100px;
  position: relative;
  z-index: 2;
}

.service-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 40px;
}

.feature-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.web-projects-hero {
  position: relative;
}

.glowing-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(138, 43, 226, 0.8) !important;
  opacity: 0.9;
}

.solution-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.solution-card:hover .card-glow {
  opacity: 1 !important;
}

.solution-card:hover i {
  transform: scale(1.1);
}

/* From service-ai-solutions.html */

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
  }

  50% {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.7);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
  }
}

.animated-glowing-btn {
  animation: pulseGlow 3s infinite ease-in-out;
}

.animated-delay {
  animation-delay: 1.5s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

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

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

/* From service-ai-solutions.html */

.typed-cursor {
  color: #00d2ff !important;
  font-weight: 300 !important;
  font-size: 0.55em !important;
}

.hover-rocket-card:hover .hover-rocket-icon {
  transform: translate(5px, -15px);
  opacity: 1 !important;
}

/* From service-app-development.html */

.inner-page-header {
  padding: 150px 0 80px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.inner-page-title {
  font-size: 4rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.inner-page-content {
  padding: 60px 0 100px;
  position: relative;
  z-index: 2;
}

.service-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 40px;
}

.feature-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.web-projects-hero {
  position: relative;
}

.glowing-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(138, 43, 226, 0.8) !important;
  opacity: 0.9;
}

.solution-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.solution-card:hover .card-glow {
  opacity: 1 !important;
}

.solution-card:hover i {
  transform: scale(1.1);
}

/* From service-app-development.html */

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
  }

  50% {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.7);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
  }
}

.animated-glowing-btn {
  animation: pulseGlow 3s infinite ease-in-out;
}

.animated-delay {
  animation-delay: 1.5s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

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

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

/* From service-app-development.html */

.typed-cursor {
  color: #00d2ff !important;
  font-weight: 300 !important;
  font-size: 0.55em !important;
}

.hover-rocket-card:hover .hover-rocket-icon {
  transform: translate(5px, -15px);
  opacity: 1 !important;
}

/* From service-branding-ui.html */

.inner-page-header {
  padding: 150px 0 80px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.inner-page-title {
  font-size: 4rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.inner-page-content {
  padding: 60px 0 100px;
  position: relative;
  z-index: 2;
}

.service-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 40px;
}

.feature-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.web-projects-hero {
  position: relative;
}

.glowing-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(138, 43, 226, 0.8) !important;
  opacity: 0.9;
}

.solution-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.solution-card:hover .card-glow {
  opacity: 1 !important;
}

.solution-card:hover i {
  transform: scale(1.1);
}

/* From service-branding-ui.html */

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
  }

  50% {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.7);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
  }
}

.animated-glowing-btn {
  animation: pulseGlow 3s infinite ease-in-out;
}

.animated-delay {
  animation-delay: 1.5s;
}

@keyframes pulse-orange {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }

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

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

.brand-monogram-pulse {
  animation: pulse-orange 8s infinite ease-in-out;
}

.glowing-orange-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(255, 69, 0, 0.6) !important;
  color: white !important;
}

/* From service-branding-ui.html */

.typed-cursor {
  color: #FF8C00 !important;
  font-weight: 300 !important;
  font-size: 0.55em !important;
}

.hover-rocket-card:hover .hover-rocket-icon {
  transform: translate(5px, -15px);
  opacity: 1 !important;
}

/* From service-creative-services.html */

.inner-page-header {
  padding: 150px 0 80px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.inner-page-title {
  font-size: 4rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.inner-page-content {
  padding: 60px 0 100px;
  position: relative;
  z-index: 2;
}

.service-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 40px;
}

.feature-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.web-projects-hero {
  position: relative;
}

.glowing-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(138, 43, 226, 0.8) !important;
  opacity: 0.9;
}

.solution-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.solution-card:hover .card-glow {
  opacity: 1 !important;
}

.solution-card:hover i {
  transform: scale(1.1);
}

/* From service-creative-services.html */

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
  }

  50% {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.7);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
  }
}

.animated-glowing-btn {
  animation: pulseGlow 3s infinite ease-in-out;
}

.animated-delay {
  animation-delay: 1.5s;
}

/* From service-creative-services.html */

.typed-cursor {
  color: #ff00ff !important;
  font-weight: 300 !important;
  font-size: 0.55em !important;
}

.hover-rocket-card:hover .hover-rocket-icon {
  transform: translate(5px, -15px);
  opacity: 1 !important;
}

/* From service-creative.html */

.inner-page-header {
  padding: 150px 0 80px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.inner-page-title {
  font-size: 4rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.inner-page-content {
  padding: 60px 0 100px;
  position: relative;
  z-index: 2;
}

.service-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 40px;
}

.feature-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.web-projects-hero {
  position: relative;
}

.glowing-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(138, 43, 226, 0.8) !important;
  opacity: 0.9;
}

.solution-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.solution-card:hover .card-glow {
  opacity: 1 !important;
}

.solution-card:hover i {
  transform: scale(1.1);
}

/* From service-creative.html */

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
  }

  50% {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.7);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
  }
}

.animated-glowing-btn {
  animation: pulseGlow 3s infinite ease-in-out;
}

.animated-delay {
  animation-delay: 1.5s;
}

/* From service-creative.html */

.typed-cursor {
  color: #00d2ff !important;
  font-weight: 300 !important;
  font-size: 0.55em !important;
}

.hover-rocket-card:hover .hover-rocket-icon {
  transform: translate(5px, -15px);
  opacity: 1 !important;
}

/* From service-digital-media-presence.html */

.inner-page-header {
  padding: 150px 0 80px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.inner-page-title {
  font-size: 4rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.inner-page-content {
  padding: 60px 0 100px;
  position: relative;
  z-index: 2;
}

.service-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 40px;
}

.feature-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.web-projects-hero {
  position: relative;
}

.glowing-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(138, 43, 226, 0.8) !important;
  opacity: 0.9;
}

.solution-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.solution-card:hover .card-glow {
  opacity: 1 !important;
}

.solution-card:hover i {
  transform: scale(1.1);
}

/* From service-digital-media-presence.html */

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
  }

  50% {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.7);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
  }
}

.animated-glowing-btn {
  animation: pulseGlow 3s infinite ease-in-out;
}

.animated-delay {
  animation-delay: 1.5s;
}

/* From service-digital-media-presence.html */

.typed-cursor {
  color: #00d2ff !important;
  font-weight: 300 !important;
  font-size: 0.55em !important;
}

.hover-rocket-card:hover .hover-rocket-icon {
  transform: translate(5px, -15px);
  opacity: 1 !important;
}

/* From service-marketing-strategy.html */

.inner-page-header {
  padding: 150px 0 80px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.inner-page-title {
  font-size: 4rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.inner-page-content {
  padding: 60px 0 100px;
  position: relative;
  z-index: 2;
}

.service-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 40px;
}

.feature-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.web-projects-hero {
  position: relative;
}

.glowing-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(138, 43, 226, 0.8) !important;
  opacity: 0.9;
}

.solution-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.solution-card:hover .card-glow {
  opacity: 1 !important;
}

.solution-card:hover i {
  transform: scale(1.1);
}

/* From service-marketing-strategy.html */

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
  }

  50% {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.7);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
  }
}

.animated-glowing-btn {
  animation: pulseGlow 3s infinite ease-in-out;
}

.animated-delay {
  animation-delay: 1.5s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

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

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

/* From service-marketing-strategy.html */

.typed-cursor {
  color: #00d2ff !important;
  font-weight: 300 !important;
  font-size: 0.55em !important;
}

.hover-rocket-card:hover .hover-rocket-icon {
  transform: translate(5px, -15px);
  opacity: 1 !important;
}

/* From service-web-projects.html */

.inner-page-header {
  padding: 150px 0 80px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.inner-page-title {
  font-size: 4rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.inner-page-content {
  padding: 60px 0 100px;
  position: relative;
  z-index: 2;
}

.service-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 40px;
}

.feature-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.web-projects-hero {
  position: relative;
}

.glowing-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(138, 43, 226, 0.8) !important;
  opacity: 0.9;
}

.solution-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.solution-card:hover .card-glow {
  opacity: 1 !important;
}

.solution-card:hover i {
  transform: scale(1.1);
}

/* From service-web-projects.html */

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
  }

  50% {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.7);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
  }
}

.animated-glowing-btn {
  animation: pulseGlow 3s infinite ease-in-out;
}

.animated-delay {
  animation-delay: 1.5s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

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

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

/* From service-web-projects.html */

.typed-cursor {
  color: #D7A1FF !important;
  font-weight: 300 !important;
  font-size: 0.55em !important;
}

/* From showcase.html */

.inner-page-header {
  padding: 150px 0 80px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.inner-page-title {
  font-size: 4rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.inner-page-content {
  padding: 60px 0 100px;
  position: relative;
  z-index: 2;
}

.service-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 40px;
}

.feature-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.web-projects-hero {
  position: relative;
}

.glowing-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(138, 43, 226, 0.8) !important;
  opacity: 0.9;
}

.solution-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.solution-card:hover .card-glow {
  opacity: 1 !important;
}

.solution-card:hover i {
  transform: scale(1.1);
}

/* From showcase.html */

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
  }

  50% {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.7);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
  }
}

.animated-glowing-btn {
  animation: pulseGlow 3s infinite ease-in-out;
}

.animated-delay {
  animation-delay: 1.5s;
}

/* From showcase.html */

.typed-cursor {
  color: #00d2ff !important;
  font-weight: 300 !important;
  font-size: 0.55em !important;
}

.hover-rocket-card:hover .hover-rocket-icon {
  transform: translate(5px, -15px);
  opacity: 1 !important;
}

/* From success.html */

.success-container {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 15% 20px 10%;
}

.success-code {
  font-size: 5rem;
  font-weight: 900;
  background: linear-gradient(45deg, #D7A1FF, #ff007f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
  line-height: 1.1;
  text-transform: uppercase;
}

.success-message {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 800px;
}


.hero-video-bg {
  width: 100%;
  height: 100vh;
  min-height: 800px;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}



#process {
  padding-top: 0 !important;
}


/* Global Mobile Layout Hardening */
html,
body {
  overflow-x: hidden !important;
  width: 100%;
}
/* ==========================================================================
   MOBILE GLOBAL RESPONSIVENESS OVERHAUL
   ========================================================================== */

/* Typography & Hero Fixes */
@media (max-width: 768px) {
  .display-2 {
    font-size: 2.5rem !important;
  }
  .inner-page-title {
    font-size: 2.5rem !important;
  }
  .service-hero-img {
    height: 250px !important;
  }
  .showcase-hero {
    height: 60vh !important;
    min-height: 400px !important;
  }
}

/* Grids Reflow (Bento & Project) */
@media (max-width: 991px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 300px !important;
  }
  .bento-item-large-1, .bento-item-large-2, .bento-item-small-1, .bento-item-small-2, .bento-item-wide {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr !important;
    grid-auto-rows: 250px !important;
  }
  .bento-item-wide {
     min-height: 250px !important;
  }
  
  .project-grid {
    grid-template-columns: 1fr !important;
  }
  .project-card-img {
    height: 300px !important;
  }
  
  /* Showcase specific fixes */
  .meta-sidebar {
    position: relative !important;
    top: 0 !important;
    margin-bottom: 30px !important;
  }
  .gallery-masonry {
    column-count: 1 !important;
    margin-top: 40px !important;
  }
  
  /* Tech Guide */
  .tech-card {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 20px !important;
  }
}
