/* ==========================================================================
   NEXUS DIGITAL - DIGITAL MARKETING AGENCY
   Color Palette: #1e174c (Base Navy Violet) & #db165b (Neon Magenta Accent)
   ========================================================================== */

/* --- CSS Variables & Root --- */
:root {
  /* Brand Theme Colors */
  --color-primary: #1e174c;
  --color-primary-dark: #120e2f;
  --color-primary-deeper: #0c0920;
  --color-primary-light: #2c226e;
  --color-primary-surface: rgba(30, 23, 76, 0.65);

  --color-accent: #db165b;
  --color-accent-light: #ff2d7b;
  --color-accent-dark: #b00f47;
  --color-accent-glow: rgba(219, 22, 91, 0.38);
  --color-accent-soft: rgba(219, 22, 91, 0.12);

  /* Auxiliary Tones */
  --color-cyan-accent: #00f2fe;
  --color-purple-accent: #7928ca;
  --color-gold: #ffb703;

  /* Typography Colors */
  --text-main: #ffffff;
  --text-muted: #c8c3e8;
  --text-dim: #8b85b5;
  --text-dark: #100d2b;

  /* Glassmorphism & Borders */
  --glass-bg: rgba(30, 23, 76, 0.62);
  --glass-bg-hover: rgba(44, 34, 110, 0.75);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-border-accent: rgba(219, 22, 91, 0.4);
  --glass-shadow: 0 20px 50px rgba(10, 7, 26, 0.6);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-primary-deeper);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  position: relative;
  background: radial-gradient(circle at 15% 15%, #2a1e6a 0%, #1e174c 45%, #0f0b27 100%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-primary-deeper);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-accent), #7928ca);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-light);
}

/* Selection Highlight */
::selection {
  background: var(--color-accent);
  color: #fff;
}

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

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 110px 0;
  position: relative;
  z-index: 2;
}

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

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent), #ff5d9e, #00f2fe);
  z-index: 1001;
  box-shadow: 0 0 12px var(--color-accent);
  transition: width 0.08s ease-out;
}

/* --- Particle Canvas & Ambient Blobs --- */
.particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  animation: floatAmbient 18s ease-in-out infinite alternate;
}

.glow-1 {
  top: -100px;
  right: -50px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
}

.glow-2 {
  bottom: 5%;
  left: -150px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, #44309a 0%, transparent 70%);
  animation-delay: -6s;
}

.glow-3 {
  top: 45%;
  right: 15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(219, 22, 91, 0.45) 0%, transparent 70%);
  animation-delay: -12s;
}

@keyframes floatAmbient {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
  100% { transform: translate(-40px, 80px) scale(0.95); }
}

/* --- Typography Utilities --- */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 15%, #ff7ea9 60%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.accent-text {
  color: var(--color-accent);
}

.sub-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent-light);
  background: var(--color-accent-soft);
  border: 1px solid rgba(219, 22, 91, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}

.section-head {
  max-width: 780px;
  margin: 0 auto 64px auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Glassmorphism Card Style --- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  transition: left 0.7s ease;
  pointer-events: none;
}

.glass-card:hover {
  border-color: var(--glass-border-accent);
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(8, 5, 20, 0.8), 0 0 25px rgba(219, 22, 91, 0.2);
}

.glass-card:hover::before {
  left: 100%;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff2d7b 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px var(--color-accent-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(219, 22, 91, 0.6);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-accent-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-nav {
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff2d7b 100%);
  color: #fff;
  padding: 10px 22px;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px var(--color-accent-glow);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(219, 22, 91, 0.55);
}

/* --- Header & Navbar --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 22px 0;
  transition: padding var(--transition-normal), background var(--transition-normal), border var(--transition-normal), box-shadow var(--transition-normal);
}

.site-header.scrolled {
  padding: 14px 0;
  background: rgba(18, 14, 47, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(219, 22, 91, 0.2);
  box-shadow: 0 10px 30px rgba(7, 5, 20, 0.7);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-symbol {
  position: relative;
  overflow: hidden;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--color-accent), #ff2d7b);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.25rem;
  box-shadow: 0 0 18px var(--color-accent-glow);
  transition: transform var(--transition-normal);
}

.logo-symbol img {
  position: absolute;
  width: 165px;
  max-width: none;
  height: auto;
  left: -100px;
  top: -60px;
}

.brand-logo-image {
  position: relative;
  display: block;
  width: 190px;
  height: 86px;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.brand-logo-image img {
  position: absolute;
  width: 240px;
  max-width: none;
  height: auto;
  left: -25px;
  top: -69px;
}

.brand-logo:hover .brand-logo-image {
  transform: rotate(8deg) scale(1.04);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-normal);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--color-accent);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger-btn {
  display: none;
  background: transparent;
  width: 32px;
  height: 24px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

.hamburger-btn .bar {
  width: 100%;
  height: 3px;
  background: #ffffff;
  border-radius: 3px;
  transition: var(--transition-normal);
}

.hamburger-btn.open .bar-1 {
  transform: translateY(10.5px) rotate(45deg);
  background: var(--color-accent);
}
.hamburger-btn.open .bar-2 {
  opacity: 0;
  transform: translateX(-15px);
}
.hamburger-btn.open .bar-3 {
  transform: translateY(-10.5px) rotate(-45deg);
  background: var(--color-accent);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 180px;
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(219, 22, 91, 0.14);
  border: 1px solid rgba(219, 22, 91, 0.35);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent-light);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-accent-light);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.badge-text {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: #ff91ba;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   DEZMANGO MALAYALAM CREATIVE HERO BANNER
   ========================================================================== */
.hero-headline-wrap {
  display: flex;
  flex-direction: column;
  margin-bottom: 34px;
  font-family: 'Anek Malayalam', 'Manjari', sans-serif;
  user-select: none;
}

.headline-row-1 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 2px;
}

.headline-row-1 .malayalam-lead {
  color: #ffffff;
}

.strike-wrap {
  position: relative;
  display: inline-block;
}

.strike-text {
  color: rgba(255, 255, 255, 0.95);
  display: inline-block;
}

.strike-bar {
  position: absolute;
  left: -4%;
  top: 52%;
  width: 108%;
  height: 4.5px;
  background: #ffe600;
  transform: rotate(-2.5deg);
  border-radius: 4px;
  box-shadow: 0 0 14px rgba(255, 230, 0, 0.85);
  pointer-events: none;
}

.headline-row-2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1.1;
  margin-bottom: 2px;
}

.malayalam-lead-sm {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: #ffffff;
}

.malayalam-mango-highlight {
  font-size: clamp(3.2rem, 6.5vw, 5rem);
  font-weight: 800;
  color: #db165b;
  letter-spacing: -1px;
  text-shadow: 0 0 35px rgba(219, 22, 91, 0.45);
  display: inline-block;
}

.headline-row-3 {
  text-align: right;
  max-width: 520px;
}

.brand-subname {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  display: inline-block;
  margin-right: 14px;
}

/* --- Hero Chat Bubbles Sequence --- */
.hero-chat-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  max-width: 560px;
}

.chat-bubble {
  display: inline-flex;
  align-items: center;
  padding: 15px 28px;
  border-radius: 30px;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  font-weight: 500;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  width: fit-content;
}

.chat-bubble:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(219, 22, 91, 0.35);
}

/* Bubble 1: Left aligned pink-to-navy */
.bubble-1 {
  align-self: flex-start;
  background: linear-gradient(90deg, #e11d68 0%, #a21a72 45%, #2a1848 100%);
}

/* Bubble 2: Offset rightward navy-to-pink */
.bubble-2 {
  align-self: flex-end;
  margin-right: 20px;
  background: linear-gradient(90deg, #241645 0%, #871966 50%, #e11d68 100%);
}

/* Bubble 3: Left aligned pink-to-navy */
.bubble-3 {
  align-self: flex-start;
  background: linear-gradient(90deg, #e11d68 0%, #a21a72 45%, #2a1848 100%);
}

/* Bubble 4: Typing Indicator */
.bubble-typing {
  align-self: flex-start;
  width: 82px;
  height: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(90deg, #e11d68 0%, #3a164b 100%);
}

.typing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-block;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.bubble-typing .typing-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.bubble-typing .typing-dot:nth-child(2) {
  animation-delay: -0.16s;
}

.bubble-typing .typing-dot:nth-child(3) {
  animation-delay: 0s;
}

@keyframes typingBounce {
  0%, 80%, 100% {
    transform: scale(0.65);
    opacity: 0.4;
  }
  40% {
    transform: scale(1.15);
    opacity: 1;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  }
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

/* --- Hero Visual Card & 3D Floating Elements --- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  perspective: 1000px;
}

.mango-hero-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 520px);
  height: 540px;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.42));
}

.mango-hero-image {
  width: min(100%, 430px);
  height: auto;
  display: block;
  animation: mangoBob 4.5s ease-in-out infinite alternate;
  user-select: none;
  -webkit-user-drag: none;
}

@keyframes mangoBob {
  0% { transform: translateY(0) rotate(-1.5deg); }
  100% { transform: translateY(-12px) rotate(1.5deg); }
}

@media (max-width: 900px) {
  .hero-visual {
    min-height: 440px;
  }

  .mango-hero-wrap {
    transform: scale(0.88);
  }
}

@media (max-width: 640px) {
  .mango-hero-wrap {
    transform: scale(0.72);
  }
}

.visual-card-main {
  background: linear-gradient(145deg, rgba(38, 29, 97, 0.8), rgba(20, 15, 52, 0.9));
  border: 1px solid rgba(219, 22, 91, 0.28);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 30px 60px rgba(7, 5, 20, 0.8), 0 0 30px rgba(219, 22, 91, 0.18);
  backdrop-filter: blur(20px);
  position: relative;
  transform: rotateY(-6deg) rotateX(4deg);
  transition: transform 0.5s ease;
}

.visual-card-main:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.visual-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.pulse-ring {
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 1.8s infinite;
}

.tag-pill {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(219, 22, 91, 0.25);
  color: #ff7da9;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(219, 22, 91, 0.35);
}

.chart-metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  height: 140px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 24px;
}

.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  gap: 8px;
}

.bar-col span {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.bar-fill {
  width: 100%;
  max-width: 24px;
  height: var(--h, 50%);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px 6px 2px 2px;
  transition: height 1.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
  position: relative;
}

.bar-col:hover .bar-fill,
.bar-fill.active {
  background: linear-gradient(180deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
  box-shadow: 0 0 16px var(--color-accent-glow);
}

.visual-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-stat .sub {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer-stat .val {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-gold);
  background: rgba(255, 183, 3, 0.1);
  border: 1px solid rgba(255, 183, 3, 0.25);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

/* Floating 3D Cards */
.float-card {
  position: absolute;
  background: rgba(24, 18, 62, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
  pointer-events: none;
}

.float-card-1 {
  top: -25px;
  right: -30px;
  animation: floatSlow1 6s ease-in-out infinite alternate;
}

.float-card-2 {
  bottom: -20px;
  left: -35px;
  animation: floatSlow2 7s ease-in-out infinite alternate;
}

.float-card-3 {
  top: 50%;
  right: -45px;
  transform: translateY(-50%);
  animation: floatSlow1 8s ease-in-out infinite alternate-reverse;
}

@keyframes floatSlow1 {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-16px) rotate(2deg); }
}

@keyframes floatSlow2 {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(18px) rotate(-2deg); }
}

.float-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.float-icon.pink-glow {
  background: rgba(219, 22, 91, 0.2);
  color: var(--color-accent-light);
  border: 1px solid rgba(219, 22, 91, 0.4);
}

.float-icon.blue-glow {
  background: rgba(0, 242, 254, 0.15);
  color: #00f2fe;
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.float-icon.purple-glow {
  background: rgba(121, 40, 202, 0.2);
  color: #a768f7;
  border: 1px solid rgba(121, 40, 202, 0.4);
}

.float-title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.float-desc {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* --- Brand Marquee --- */
.marquee-wrapper {
  margin-top: 40px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
}

.marquee-label {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--text-dim);
  font-weight: 700;
  margin-bottom: 16px;
}

.marquee-track {
  display: flex;
  width: max-content;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: marqueeScroll 25s linear infinite;
  padding-right: 48px;
}

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

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

.partner-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.3s ease;
  white-space: nowrap;
}

.partner-item i {
  font-size: 1.4rem;
}

.partner-item:hover {
  color: #ffffff;
}

/* ==========================================================================
   SCROLLING IMAGES CAMPAIGN BANNER SECTION
   ========================================================================== */
.image-banner-section {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 50%, rgba(38, 29, 98, 0.45) 0%, rgba(12, 9, 32, 0.7) 100%);
  border-top: 1px solid rgba(219, 22, 91, 0.2);
  border-bottom: 1px solid rgba(219, 22, 91, 0.2);
}

.portfolio-section {
  display: none;
}

.banner-header-container {
  margin-bottom: 48px;
}

.scrolling-image-banner {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 24px;
  perspective: 1200px;
}

/* Side Gradients for Seamless Infinity Fade */
.banner-side-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 160px;
  z-index: 10;
  pointer-events: none;
}

.fade-left {
  left: 0;
  background: linear-gradient(90deg, var(--color-primary-deeper) 0%, rgba(12, 9, 32, 0.85) 40%, transparent 100%);
}

.fade-right {
  right: 0;
  background: linear-gradient(-90deg, var(--color-primary-deeper) 0%, rgba(12, 9, 32, 0.85) 40%, transparent 100%);
}

/* Scrolling Tracks */
.banner-scroll-track {
  display: flex;
  width: max-content;
  overflow: hidden;
  user-select: none;
  will-change: transform;
}

.banner-track-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
  flex-shrink: 0;
}

/* Track 1: Scroll Left */
.track-left .banner-track-inner {
  animation: bannerScrollLeft 36s linear infinite;
}

/* Track 2: Scroll Right (Reverse Direction) */
.track-right .banner-track-inner {
  animation: bannerScrollRight 38s linear infinite;
}

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

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

/* Pause On Hover */
.scrolling-image-banner:hover .banner-track-inner {
  animation-play-state: paused;
}

/* Banner Card Styling */
.banner-card {
  width: 320px;
  height: 270px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(26, 20, 68, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
  cursor: pointer;
  position: relative;
}

.banner-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: var(--color-accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(219, 22, 91, 0.35);
  z-index: 5;
}

.banner-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  filter: brightness(0.92) contrast(1.05);
}

.banner-card:hover .banner-img {
  transform: scale(1.12);
  filter: brightness(1.05) contrast(1.1);
}

.banner-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff2d7b 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(219, 22, 91, 0.6);
  letter-spacing: 0.3px;
  z-index: 2;
}

.banner-card-meta {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  background: linear-gradient(180deg, rgba(22, 16, 56, 0.6) 0%, rgba(16, 12, 42, 0.95) 100%);
}

.banner-card-meta h4 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
  transition: color 0.2s ease;
}

.banner-card:hover .banner-card-meta h4 {
  color: #ff8cb5;
}

.banner-card-meta p {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* ==========================================================================
   GLOBAL SCROLL-DRIVEN IMAGE ANIMATIONS
   ========================================================================== */
.card-thumb img,
.member-img,
.visual-card-main {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

/* Parallax Dynamic Velocity Effect Class */
.parallax-velocity {
  transition: transform 0.15s ease-out !important;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  margin-bottom: 60px;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-box {
  display: flex;
  gap: 24px;
  padding: 28px;
  align-items: flex-start;
}

.feature-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(219, 22, 91, 0.15);
  color: var(--color-accent-light);
  border: 1px solid rgba(219, 22, 91, 0.3);
}

.feature-icon.purple-glow {
  background: rgba(121, 40, 202, 0.15);
  color: #bb86fc;
  border-color: rgba(121, 40, 202, 0.3);
}

.feature-icon.blue-glow {
  background: rgba(0, 242, 254, 0.15);
  color: #00f2fe;
  border-color: rgba(0, 242, 254, 0.3);
}

.feature-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

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

.about-showcase {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(160deg, rgba(35, 27, 88, 0.8), rgba(18, 14, 46, 0.9));
  border: 1px solid rgba(219, 22, 91, 0.3);
}

.showcase-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.year-highlight {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 900;
  color: var(--color-accent-light);
  line-height: 1;
  text-shadow: 0 0 20px var(--color-accent-glow);
}

.showcase-badge span:last-child {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  max-width: 180px;
  line-height: 1.3;
}

.showcase-inner-content h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.showcase-inner-content p {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.65;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #ffffff;
}

.check-item i {
  color: var(--color-accent-light);
  font-size: 1.1rem;
}

/* --- Animated Statistics Banner --- */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 40px 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(90deg, rgba(28, 21, 71, 0.9) 0%, rgba(38, 28, 98, 0.8) 100%);
  border: 1px solid rgba(219, 22, 91, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.stat-item {
  text-align: center;
  padding: 10px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-num .prefix,
.stat-num .suffix {
  color: var(--color-accent-light);
  font-size: 2.4rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
/* ==========================================================================
   WHAT WE ACTUALLY DO — CHAMFERED SERVICE BOXES
   ========================================================================== */
.services-header-wrap {
  margin-bottom: 40px;
}

.services-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 800;
  color: #db165b;
  margin-bottom: 16px;
  letter-spacing: -0.8px;
  text-shadow: 0 0 35px rgba(219, 22, 91, 0.4);
}

.services-subheadline {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.3rem, 2.4vw, 2.1rem);
  font-weight: 300;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 44px;
}

.services-subheadline .sub-line-1,
.services-subheadline .sub-line-2 {
  margin: 0;
}

.services-pill-container {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 36px;
}

.services-tag-pill {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(90deg, #d8165b 0%, #a21a72 40%, #1e1546 100%);
  padding: 12px 30px;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: 1.12rem;
  font-weight: 500;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* --- 7 Chamfered Service Boxes Grid --- */
.service-boxes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 28px;
  margin-bottom: 40px;
}

.service-box-card {
  position: relative;
  display: flex;
  align-items: stretch;
  background: #140f35;
  border: 1px solid rgba(255, 255, 255, 0.12);
  /* Top-right & bottom-left chamfered cut corners */
  clip-path: polygon(
    0 0,
    calc(100% - 28px) 0,
    100% 28px,
    100% 100%,
    28px 100%,
    0 calc(100% - 28px)
  );
  cursor: pointer;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.32s ease, border-color 0.3s ease;
  min-height: 82px;
  user-select: none;
}

.service-box-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 25px rgba(219, 22, 91, 0.25);
}

.service-box-card:active {
  transform: translateY(-1px) scale(0.99);
}

.service-box-icon {
  width: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  color: #ffffff;
  flex-shrink: 0;
  /* Matching bottom-left chamfer cut */
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    28px 100%,
    0 calc(100% - 28px)
  );
  transition: filter 0.3s ease;
}

.service-box-card:hover .service-box-icon {
  filter: brightness(1.15);
}

.service-box-icon.icon-pink   { background: #d8165b; }
.service-box-icon.icon-yellow { background: #eab308; }
.service-box-icon.icon-purple { background: #7928ca; }
.service-box-icon.icon-red    { background: #dc2626; }
.service-box-icon.icon-green  { background: #10b981; }
.service-box-icon.icon-orange { background: #ea580c; }
.service-box-icon.icon-cyan   { background: #0284c7; }

.service-box-label {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 16px 22px;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.2px;
  line-height: 1.3;
}

/* Card 7: Centered in 3rd row */
.service-box-centered {
  grid-column: 2;
}

/* --- Service Modal (Description pop-up on click) --- */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.service-modal.active {
  opacity: 1;
  visibility: visible;
}

.service-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 7, 26, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.service-modal-wrapper {
  position: relative;
  z-index: 2;
  width: min(640px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  padding: 10px;
}

.service-modal-card {
  position: relative;
  background: linear-gradient(165deg, rgba(32, 24, 75, 0.95) 0%, rgba(16, 12, 42, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px var(--modal-accent-glow, rgba(219, 22, 91, 0.3));
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-modal.active .service-modal-card {
  transform: scale(1) translateY(0);
}

.service-modal-close {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
}

.service-modal-close:hover {
  background: #db165b;
  border-color: #db165b;
  transform: rotate(90deg) scale(1.08);
}

/* Inner Modal Layout */
.modal-service-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-service-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.modal-service-titles {
  flex: 1;
}

.modal-service-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--modal-accent, #ff2d7b);
  margin-bottom: 6px;
}

.modal-service-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.modal-section-box {
  margin-bottom: 22px;
}

.modal-section-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.modal-problem-text {
  font-size: 1.05rem;
  color: #ffe0eb;
  background: rgba(219, 22, 91, 0.1);
  border-left: 3.5px solid var(--modal-accent, #db165b);
  padding: 12px 18px;
  border-radius: 0 12px 12px 0;
  line-height: 1.5;
  margin: 0;
}

.modal-desc-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.modal-deliverables-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.modal-deliverables-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 16px;
  border-radius: 12px;
}

.modal-deliverables-list li i {
  color: var(--modal-accent, #10b981);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  gap: 16px;
}

.modal-actions .btn-modal-cta {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--modal-accent, #db165b), #ff2d7b);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(219, 22, 91, 0.4);
  transition: all 0.25s ease;
}

.modal-actions .btn-modal-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(219, 22, 91, 0.6);
}

/* ==========================================================================
   TEAM SECTION & ADVANCED SCROLL ANIMATIONS
   ========================================================================== */
.team-section {
  position: relative;
  overflow: hidden;
  perspective: 1200px;
}

/* Ambient Floating Badges (Scroll Parallax) */
.team-float-badge {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(30, 23, 76, 0.75);
  border: 1px solid rgba(219, 22, 91, 0.35);
  backdrop-filter: blur(14px);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ff9ec2;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(219, 22, 91, 0.2);
  pointer-events: none;
  transition: transform 0.2s ease-out;
}

.team-float-badge .badge-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--color-accent), #ff2d7b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  box-shadow: 0 0 10px var(--color-accent-glow);
}

.team-badge-left {
  top: 140px;
  left: 4%;
  animation: floatSlow1 7s ease-in-out infinite alternate;
}

.team-badge-right {
  top: 180px;
  right: 4%;
  animation: floatSlow2 8s ease-in-out infinite alternate;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  position: relative;
  z-index: 2;
  perspective: 1200px;
}

/* Advanced 3D Scroll Reveal Entrance */
.team-card-reveal {
  opacity: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding-bottom: 24px;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
  will-change: transform, opacity;
  position: relative;
}

/* Directional 3D Pre-Scroll States */
.team-card-reveal[data-team-index="1"] {
  transform: translateX(-70px) rotateY(18deg) scale(0.9);
}

.team-card-reveal[data-team-index="2"] {
  transform: translateY(70px) rotateX(16deg) scale(0.92);
}

.team-card-reveal[data-team-index="3"] {
  transform: translateY(70px) rotateX(-16deg) scale(0.92);
}

.team-card-reveal[data-team-index="4"] {
  transform: translateX(70px) rotateY(-18deg) scale(0.9);
}

/* Post-Scroll Triggered State (Active in View) */
.team-card-reveal.in-view {
  opacity: 1;
  transform: translateX(0) translateY(0) rotateX(0deg) rotateY(0deg) scale(1);
}

/* Staggered transition delays */
.team-card-reveal[data-team-index="1"].in-view {
  transition-delay: 0.05s;
}
.team-card-reveal[data-team-index="2"].in-view {
  transition-delay: 0.2s;
}
.team-card-reveal[data-team-index="3"].in-view {
  transition-delay: 0.35s;
}
.team-card-reveal[data-team-index="4"].in-view {
  transition-delay: 0.5s;
}

/* Sweeping Light Ray Effect on Scroll Entry */
.card-shine {
  position: absolute;
  top: 0;
  left: -140%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 30%,
    rgba(219, 22, 91, 0.25) 50%,
    rgba(255, 255, 255, 0.08) 60%,
    transparent 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 5;
}

.team-card-reveal.in-view .card-shine {
  animation: lightRaySweep 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

@keyframes lightRaySweep {
  0% { left: -140%; }
  100% { left: 220%; }
}

/* Animated Performance Metric Pill */
.member-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(219, 22, 91, 0.12);
  border: 1px solid rgba(219, 22, 91, 0.35);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: #ff9ec2;
  margin-bottom: 12px;
  transform: translateY(10px) scale(0.9);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
}

.member-stat-pill i {
  color: var(--color-accent-light);
  font-size: 0.8rem;
}

.member-stat-pill strong {
  color: #ffffff;
  font-weight: 700;
}

.team-card-reveal.in-view .member-stat-pill {
  transform: translateY(0) scale(1);
  opacity: 1;
  transition-delay: 0.6s;
}

/* Image & Overlay */
.member-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  overflow: hidden;
}

.member-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(18, 14, 47, 0.9);
  transition: transform 0.6s ease;
}

.team-card:hover .member-img {
  transform: scale(1.08);
}

.member-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(18, 14, 46, 0.95) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover .member-overlay {
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 12px;
  transform: translateY(15px);
  transition: transform 0.3s ease;
}

.team-card:hover .social-links {
  transform: translateY(0);
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(219, 22, 91, 0.25);
  border: 1px solid rgba(219, 22, 91, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.social-links a:hover {
  background: var(--color-accent);
  transform: scale(1.15);
  box-shadow: 0 0 12px var(--color-accent);
}

.badge-role {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ff9ec2;
  background: rgba(22, 17, 54, 0.88);
  border: 1px solid rgba(219, 22, 91, 0.38);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  text-align: center;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.member-info {
  padding: 16px 20px 18px;
}

.team-card .member-stat-pill,
.team-card .member-tagline,
.team-card .member-skills,
.team-card .badge-role,
.team-card .member-overlay {
  display: none;
}

.team-card .member-name {
  margin: 0;
  text-align: center;
}

.member-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;
}

.member-tagline {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

/* Skill Tags Staggered Bounce Animation on Scroll */
.member-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.member-skills span {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-card-reveal.in-view .member-skills span {
  opacity: 1;
  transform: scale(1);
}

.team-card-reveal.in-view .member-skills span:nth-child(1) {
  transition-delay: 0.55s;
}
.team-card-reveal.in-view .member-skills span:nth-child(2) {
  transition-delay: 0.68s;
}
.team-card-reveal.in-view .member-skills span:nth-child(3) {
  transition-delay: 0.8s;
}

/* 3D Tilt Hover Effects on Team Cards */
.team-card.tilt-active {
  transition: transform 0.1s ease-out, box-shadow 0.25s ease, border-color 0.25s ease !important;
  border-color: var(--glass-border-accent) !important;
  box-shadow: 0 20px 45px rgba(8, 5, 20, 0.8), 0 0 25px rgba(219, 22, 91, 0.3) !important;
}

/* ==========================================================================
   PORTFOLIO SECTION
   ========================================================================== */
.filter-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  transition: all 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff2d7b 100%);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  box-shadow: 0 4px 16px var(--color-accent-glow);
  transform: translateY(-2px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 48px;
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-card.hidden {
  display: none;
}

.card-thumb {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.thumb-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(20, 15, 52, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
}

.card-kpi-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff2d7b 100%);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(219, 22, 91, 0.6);
}

.card-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.client-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-accent-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
  color: #ffffff;
}

.card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.metric-tags {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.metric-tags span {
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: #ff9ec2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-case-study {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 18px;
  background: rgba(219, 22, 91, 0.1);
  border: 1px solid rgba(219, 22, 91, 0.25);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-case-study:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 4px 15px var(--color-accent-glow);
  transform: translateY(-2px);
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonial-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: var(--color-gold);
  font-size: 0.9rem;
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.review-quote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #f1f0fa;
  font-style: italic;
  margin-bottom: 28px;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
}

.reviewer-meta img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent);
}

.reviewer-meta strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #ffffff;
}

.reviewer-meta span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}

.contact-info {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 16px;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.audit-perks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.94rem;
  color: #ffffff;
}

.perk-item i {
  color: var(--color-accent-light);
  font-size: 1.1rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 26px;
  margin-bottom: 24px;
}

.detail-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(219, 22, 91, 0.15);
  border: 1px solid rgba(219, 22, 91, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-light);
  font-size: 1.1rem;
}

.detail-label {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dim);
}

.detail-value {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.detail-value:hover {
  color: var(--color-accent-light);
}

.response-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: #6ee7b7;
}

.response-badge i {
  color: #10b981;
}

/* Consultation Form */
.contact-form-card {
  padding: 44px;
}

.form-header {
  margin-bottom: 30px;
}

.form-header h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
}

.form-header p {
  font-size: 0.94rem;
  color: var(--text-muted);
}

.audit-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: #e4e0fa;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap i {
  position: absolute;
  left: 16px;
  color: var(--text-dim);
  font-size: 0.95rem;
  pointer-events: none;
  transition: color 0.2s ease;
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  width: 100%;
  background: rgba(16, 12, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 14px 16px 14px 44px;
  color: #ffffff;
  font-size: 0.92rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.input-wrap textarea {
  padding: 14px 16px;
  resize: vertical;
}

.input-wrap select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23db165b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

.input-wrap select option {
  background: #18123f;
  color: #ffffff;
}

.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 15px rgba(219, 22, 91, 0.35);
}

.input-wrap input:focus + i,
.input-wrap:focus-within i {
  color: var(--color-accent-light);
}

.error-msg {
  display: none;
  font-size: 0.75rem;
  color: #ff4d6d;
  margin-top: 2px;
}

.form-group.has-error .error-msg {
  display: block;
}

.form-group.has-error input {
  border-color: #ff4d6d;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  margin-top: 10px;
}

.btn-submit .btn-loading {
  display: none;
}

.btn-submit.loading .btn-text,
.btn-submit.loading .icon-arrow {
  display: none;
}

.btn-submit.loading .btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--color-primary-deeper);
  border-top: 1px solid rgba(219, 22, 91, 0.2);
  padding: 80px 0 30px 0;
  position: relative;
  z-index: 2;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-bio {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 18px 0 24px 0;
  max-width: 320px;
}

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

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.25s ease;
}

.footer-socials a:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px var(--color-accent-glow);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 22px;
  color: #ffffff;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

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

.newsletter-col p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.newsletter-form {
  margin-bottom: 14px;
}

.newsletter-input-box {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 4px;
  transition: border-color 0.25s ease;
}

.newsletter-input-box:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 14px rgba(219, 22, 91, 0.3);
}

.newsletter-input-box input {
  background: transparent;
  padding: 10px 18px;
  flex-grow: 1;
  color: #fff;
  font-size: 0.88rem;
}

.newsletter-input-box button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.newsletter-input-box button:hover {
  transform: scale(1.08);
}

.no-spam-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 28px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

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

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

/* ==========================================================================
   CASE STUDY MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(12, 9, 32, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(26, 20, 68, 0.95);
  border: 1px solid rgba(219, 22, 91, 0.4);
  padding: 40px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(219, 22, 91, 0.25);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--color-accent);
  transform: rotate(90deg);
}

.modal-header-img {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin-bottom: 24px;
}

.modal-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.modal-kpi-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(219, 22, 91, 0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.modal-kpi-val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-accent-light);
}

.modal-kpi-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(24, 18, 62, 0.95);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(219, 22, 91, 0.4);
  backdrop-filter: blur(12px);
  z-index: 3000;
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.show {
  transform: translateY(0);
}

.toast-icon {
  font-size: 1.6rem;
  color: #10b981;
}

.toast-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.toast-message {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.toast-close {
  background: transparent;
  color: var(--text-dim);
  font-size: 1.2rem;
  margin-left: 10px;
}

.toast-close:hover {
  color: #fff;
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(30, 23, 76, 0.85);
  border: 1px solid rgba(219, 22, 91, 0.4);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

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

.back-to-top:hover {
  background: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 0 20px var(--color-accent-glow);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal-elem {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-elem.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .site-header {
    padding-top: 18px;
  }

  .nav-list {
    gap: 18px;
  }

  .nav-link {
    font-size: 0.8rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-proof {
    justify-content: center;
  }

  .hero-visual {
    width: min(100%, 480px);
    margin: 0 auto;
  }

  .mango-hero-wrap {
    width: 100%;
    max-width: 420px;
    height: auto;
  }

  .mango-hero-image {
    width: 100%;
    max-width: 420px;
  }

  .visual-card-main {
    transform: none;
  }

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

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

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

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

  .testimonial-cards-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-badge {
    max-width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .hero-proof {
    flex-direction: column;
    align-items: center;
  }

  .hamburger-btn {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 380px;
    height: 100vh;
    background: rgba(18, 14, 47, 0.97);
    backdrop-filter: blur(25px);
    border-left: 1px solid rgba(219, 22, 91, 0.3);
    padding: 100px 40px;
    flex-direction: column;
    justify-content: flex-start;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }

  .nav-menu.open {
    display: flex;
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
  }

  .nav-link {
    font-size: 1.25rem;
  }

  .nav-actions .btn-nav {
    display: none;
  }

  .stats-banner {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .stat-divider {
    display: none;
  }

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

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .float-card-1 {
    top: -15px;
    right: -10px;
  }

  .float-card-2 {
    bottom: -15px;
    left: -10px;
  }

  .float-card-3 {
    display: none;
  }

  .banner-card {
    width: 270px;
    height: 235px;
  }

  .banner-img-wrap {
    height: 150px;
  }

  .banner-side-fade {
    width: 70px;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding-top: 14px;
  }

  .brand-logo {
    gap: 8px;
  }

  .logo-symbol {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .logo-symbol img {
    width: 126px;
    left: -76px;
    top: -46px;
  }

  .brand-logo-image {
    width: 155px;
    height: 70px;
  }

  .brand-logo-image img {
    width: 196px;
    left: -20px;
    top: -57px;
  }

  .logo-text {
    font-size: 1.25rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-badge {
    padding: 8px 14px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-section {
    padding-top: 140px;
  }

  .headline-row-3 {
    text-align: left;
  }

  .bubble-2 {
    margin-right: 0;
  }

  .chat-bubble {
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .mango-hero-wrap {
    max-width: 300px;
  }

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

  .stats-banner {
    grid-template-columns: 1fr;
  }

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

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

/* ==========================================================================
   FULLSCREEN INTRO ANIMATION
   ========================================================================== */
.site-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25163f;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease;
  overflow: hidden;
  user-select: none;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

.site-preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
}



