/*
Theme Name: Mellidhal Solutions
Theme URI: https://mellidhal.in
Author: Mellidhal Solutions Team
Author URI: https://mellidhal.in
Description: Custom WordPress theme for Mellidhal Solutions - Digital Marketing Agency with bilingual support (English + Tamil), modern animations, and professional design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mellidhal
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme is built for Mellidhal Solutions digital agency website.
*/

/* ============================================
   CSS VARIABLES - COLOR SCHEME
   ============================================ */
:root {
  /* Primary Colors - Professional Digital Agency Palette */
  --color-primary-blue: #1e3a8a;      /* Deep Blue - Trust & Professionalism */
  --color-primary-purple: #7c3aed;    /* Vibrant Purple - Creativity & Innovation */
  --color-accent-teal: #14b8a6;       /* Teal - Growth & Success */
  
  /* Neutral Colors */
  --color-white: #ffffff;
  --color-off-white: #f8fafc;
  --color-light-gray: #e2e8f0;
  --color-medium-gray: #64748b;
  --color-dark-gray: #334155;
  --color-black: #0f172a;
  
  /* Gradient Colors */
  --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 100%);
  --gradient-accent: linear-gradient(135deg, #7c3aed 0%, #14b8a6 100%);
  --gradient-hero: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(124, 58, 237, 0.85) 100%);
  
  /* Typography */
  --font-primary: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Space Grotesk', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Poppins', sans-serif;

  /* Hero colors */
  --hero-bg-start: #0b0a1f;
  --hero-bg-mid: #1b1147;
  --hero-bg-end: #3b1d8a;
  --hero-accent: #a78bfa;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4.5rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.5rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-black);
  margin-bottom: var(--spacing-sm);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--spacing-sm);
  color: var(--color-medium-gray);
}

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

a:hover {
  color: var(--color-primary-blue);
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.section-subtitle {
  line-height: 1.6;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-medium-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition-base);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-md);
  max-width: 1400px;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.site-logo-link:hover {
  opacity: 0.85;
}

.site-logo-img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  transition: height 0.3s ease;
}

/* Header shrinks logo slightly when scrolled */
.site-header.scrolled .site-logo-img {
  height: 46px;
}

@media (max-width: 1024px) {
  .site-logo-img { height: 50px; max-width: 220px; }
  .site-header.scrolled .site-logo-img { height: 44px; }
}

@media (max-width: 768px) {
  .site-logo-img { height: 42px; max-width: 180px; }
  .site-header.scrolled .site-logo-img { height: 38px; }
}

@media (max-width: 480px) {
  .site-logo-img { height: 38px; max-width: 160px; }
  .site-header.scrolled .site-logo-img { height: 34px; }
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
  align-items: center;
}

.main-navigation a {
  color: var(--color-dark-gray);
  font-weight: 600;
  font-size: 0.95rem;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.main-navigation a:hover {
  color: var(--color-primary-purple);
  background: rgba(124, 58, 237, 0.1);
}

.nav-cta {
  background: var(--gradient-primary);
  color: var(--color-white) !important;
  padding: var(--spacing-xs) var(--spacing-md) !important;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.lang-switcher {
  display: flex;
  gap: var(--spacing-xs);
  margin-left: var(--spacing-md);
}

.lang-switcher button {
  padding: var(--spacing-xs) var(--spacing-sm);
  border: 2px solid var(--color-light-gray);
  background: var(--color-white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.lang-switcher button.active,
.lang-switcher button:hover {
  border-color: var(--color-primary-purple);
  color: var(--color-primary-purple);
}

/* ============================================
   HERO SECTION — ANIMATED MESH GRADIENT (GEMINI APPROACH)
   ============================================ */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  background: #f8f9fa;
  color: #1a1a1a;
}

/* ----- Animated mesh gradient background ----- */
.hero-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  inset: 0;
  opacity: 0;
  filter: blur(80px);
  transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  background: #fff;
}

.hero-blob.active {
  opacity: 1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.8;
}

.blob.b1 {
  width: 600px;
  height: 600px;
  top: -10%;
  left: 10%;
  animation: blobMove1 20s infinite alternate;
}

.blob.b2 {
  width: 800px;
  height: 800px;
  bottom: -20%;
  right: 5%;
  animation: blobMove2 25s infinite alternate;
}

.blob.b3 {
  width: 500px;
  height: 500px;
  top: 20%;
  right: 20%;
  animation: blobMove3 15s infinite alternate;
}

@keyframes blobMove1 {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  25% { transform: translate(80px, -40px) scale(1.15) rotate(10deg); }
  50% { transform: translate(-50px, 70px) scale(0.95) rotate(-15deg); }
  75% { transform: translate(60px, 30px) scale(1.1) rotate(5deg); }
  100% { transform: translate(100px, 50px) scale(1.1) rotate(20deg); }
}

@keyframes blobMove2 {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  25% { transform: translate(-70px, 50px) scale(1.1) rotate(-10deg); }
  50% { transform: translate(40px, -60px) scale(0.9) rotate(15deg); }
  75% { transform: translate(-30px, -40px) scale(1.15) rotate(-5deg); }
  100% { transform: translate(-100px, -50px) scale(1.05) rotate(-20deg); }
}

@keyframes blobMove3 {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  25% { transform: translate(50px, 40px) scale(1.2) rotate(20deg); }
  50% { transform: translate(-60px, -30px) scale(0.85) rotate(-10deg); }
  75% { transform: translate(30px, -50px) scale(1.1) rotate(15deg); }
  100% { transform: translate(-40px, 60px) scale(1.15) rotate(-25deg); }
}

.hero-section::before { display: none; }

/* ----- Circuit board / tech grid background ----- */
.hero-circuit {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
}

.circuit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Hexagon animations */
.hex-outer {
  animation: hexPulse 4s ease-in-out infinite;
}
.hex-inner {
  animation: hexPulse 4s ease-in-out infinite 0.5s;
}
.hex-core {
  animation: hexPulse 3s ease-in-out infinite 1s;
}

@keyframes hexPulse {
  0%, 100% {
    stroke-opacity: 0.2;
    filter: drop-shadow(0 0 0px transparent);
  }
  50% {
    stroke-opacity: 0.6;
    filter: drop-shadow(0 0 8px rgba(124, 58, 237, 0.4));
  }
}

/* Glowing nodes */
.cnode {
  fill: rgba(124, 58, 237, 0.4);
  animation: nodeGlow 3s ease-in-out infinite;
}

.cn-1  { animation-delay: 0s; }
.cn-2  { animation-delay: 0.3s; }
.cn-3  { animation-delay: 0.6s; }
.cn-4  { animation-delay: 0.9s; }
.cn-5  { animation-delay: 1.2s; }
.cn-6  { animation-delay: 1.5s; }
.cn-7  { animation-delay: 0.2s; }
.cn-8  { animation-delay: 0.8s; }
.cn-9  { animation-delay: 1.1s; }
.cn-10 { animation-delay: 1.4s; }
.cn-11 { animation-delay: 0.5s; }
.cn-12 { animation-delay: 1.0s; }

.cn-center {
  fill: rgba(124, 58, 237, 0.6);
  animation: nodeCenterGlow 2.5s ease-in-out infinite;
}

@keyframes nodeGlow {
  0%, 100% {
    r: 3;
    fill: rgba(124, 58, 237, 0.3);
    filter: drop-shadow(0 0 0px transparent);
  }
  50% {
    r: 5;
    fill: rgba(124, 58, 237, 0.7);
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.5));
  }
}

@keyframes nodeCenterGlow {
  0%, 100% {
    r: 5;
    fill: rgba(124, 58, 237, 0.5);
    filter: drop-shadow(0 0 2px rgba(124, 58, 237, 0.3));
  }
  50% {
    r: 8;
    fill: rgba(124, 58, 237, 0.9);
    filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.7))
           drop-shadow(0 0 40px rgba(124, 58, 237, 0.3));
  }
}

/* Electricity pulses — glowing dots moving along paths */
.pulse {
  fill: #a78bfa;
  filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.8))
         drop-shadow(0 0 12px rgba(124, 58, 237, 0.5));
}

.pulse-1 { fill: #7c3aed; filter: drop-shadow(0 0 8px rgba(124,58,237,0.9)) drop-shadow(0 0 16px rgba(124,58,237,0.4)); }
.pulse-2 { fill: #06b6d4; filter: drop-shadow(0 0 8px rgba(6,182,212,0.9)) drop-shadow(0 0 16px rgba(6,182,212,0.4)); }
.pulse-3 { fill: #a78bfa; filter: drop-shadow(0 0 6px rgba(167,139,250,0.8)); }
.pulse-4 { fill: #059669; filter: drop-shadow(0 0 8px rgba(5,150,105,0.9)) drop-shadow(0 0 16px rgba(5,150,105,0.4)); }
.pulse-5 { fill: #ec4899; filter: drop-shadow(0 0 6px rgba(236,72,153,0.8)); }
.pulse-6 { fill: #7c3aed; filter: drop-shadow(0 0 10px rgba(124,58,237,0.9)) drop-shadow(0 0 20px rgba(124,58,237,0.5)); }
.pulse-7 { fill: #06b6d4; filter: drop-shadow(0 0 6px rgba(6,182,212,0.8)); }
.pulse-8 { fill: #f59e0b; filter: drop-shadow(0 0 6px rgba(245,158,11,0.8)); }

/* Circuit line glow animation */
.circuit-lines line,
.circuit-lines polyline {
  animation: lineFlicker 6s ease-in-out infinite;
}

.circuit-lines line:nth-child(odd) { animation-delay: 0s; }
.circuit-lines line:nth-child(even) { animation-delay: 3s; }
.circuit-lines polyline:nth-child(odd) { animation-delay: 1.5s; }
.circuit-lines polyline:nth-child(even) { animation-delay: 4.5s; }

@keyframes lineFlicker {
  0%, 100% { stroke-opacity: 0.1; }
  30% { stroke-opacity: 0.25; }
  50% { stroke-opacity: 0.15; }
  70% { stroke-opacity: 0.3; }
}

/* ----- Scattered shapes (chaos → order animation) ----- */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hshape {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: shapeScatter 3s ease-out forwards, shapeFloat 8s ease-in-out infinite 3s;
}

.hshape svg {
  width: 100%;
  height: 100%;
}

/* Each shape starts at a random scattered position and drifts to its home */
.hs-1  { width: 28px; top: 12%; left: 8%;  color: rgba(124,58,237,0.25); animation-delay: 0s, 3s; }
.hs-2  { width: 22px; top: 25%; left: 4%;  color: rgba(5,150,105,0.2);   animation-delay: 0.15s, 3.15s; }
.hs-3  { width: 20px; top: 40%; left: 12%; color: rgba(217,119,6,0.2);   animation-delay: 0.3s, 3.3s; }
.hs-4  { width: 26px; top: 55%; left: 5%;  color: rgba(124,58,237,0.2);  animation-delay: 0.45s, 3.45s; }
.hs-5  { width: 24px; top: 70%; left: 10%; color: rgba(6,182,212,0.25);  animation-delay: 0.6s, 3.6s; }
.hs-6  { width: 30px; top: 18%; left: 18%; color: rgba(236,72,153,0.2);  animation-delay: 0.75s, 3.75s; }
.hs-7  { width: 22px; top: 80%; right: 8%; color: rgba(124,58,237,0.15); animation-delay: 0.9s, 3.9s; }
.hs-8  { width: 26px; top: 15%; right: 5%; color: rgba(5,150,105,0.2);   animation-delay: 1.05s, 4.05s; }
.hs-9  { width: 20px; top: 60%; right: 12%;color: rgba(217,119,6,0.18);  animation-delay: 1.2s, 4.2s; }
.hs-10 { width: 24px; top: 35%; right: 6%; color: rgba(6,182,212,0.2);   animation-delay: 1.35s, 4.35s; }
.hs-11 { width: 28px; top: 85%; left: 20%; color: rgba(236,72,153,0.15); animation-delay: 1.5s, 4.5s; }
.hs-12 { width: 22px; top: 45%; right: 18%;color: rgba(124,58,237,0.2);  animation-delay: 1.65s, 4.65s; }

/* Entrance: scattered → organized */
@keyframes shapeScatter {
  0% {
    opacity: 0;
    transform: translate(calc((var(--x, 50) - 50) * 3px), calc((var(--y, 50) - 50) * 3px))
               rotate(calc(var(--r, 0) * 1deg))
               scale(0.3);
  }
  60% {
    opacity: 0.7;
    transform: translate(0, 0) rotate(0deg) scale(1.15);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
}

/* Gentle float after settling */
@keyframes shapeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(3deg); }
  50% { transform: translateY(4px) rotate(-2deg); }
  75% { transform: translateY(-6px) rotate(1deg); }
}

/* Give each shape a unique scatter origin via CSS custom properties */
.hs-1  { --x: 120; --y: -80;  --r: 145; }
.hs-2  { --x: -90;  --y: 130; --r: -200; }
.hs-3  { --x: 80;   --y: 110; --r: 90; }
.hs-4  { --x: -120; --y: -60; --r: -150; }
.hs-5  { --x: 100;  --y: 90;  --r: 180; }
.hs-6  { --x: -70;  --y: -100;--r: -120; }
.hs-7  { --x: 90;   --y: 70;  --r: 200; }
.hs-8  { --x: -110; --y: 80;  --r: -90; }
.hs-9  { --x: 60;   --y: -120;--r: 160; }
.hs-10 { --x: -80;  --y: 100; --r: -170; }
.hs-11 { --x: 110;  --y: -70; --r: 130; }
.hs-12 { --x: -100; --y: -90; --r: -140; }

/* ----- Slides (center) ----- */
.hero-slides {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  padding: 10rem 2rem 8rem;
  min-height: 70vh;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-slide-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -3px;
  color: #1a1a1a;
  margin: 0 0 1.25rem 0;
}

.hero-slide-desc {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.55);
  max-width: 440px;
  margin: 0 auto 2rem;
}

/* CTA inside each slide */
.hero-slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: #7c3aed;
  color: #ffffff;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-slide-cta:hover {
  background: #6d28d9;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.5);
}

.hero-slide-cta svg {
  transition: transform 0.3s ease;
}

.hero-slide-cta:hover svg {
  transform: translateX(4px);
}

/* ----- Service tabs (bottom) ----- */
.hero-tabs {
  position: absolute;
  bottom: 3.5rem;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1.25rem 2rem 0;
}

.hero-tab {
  position: relative;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(0, 0, 0, 0.4);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}

.hero-tab:hover {
  color: rgba(0, 0, 0, 0.7);
}

.hero-tab.active {
  color: #000000;
  border-bottom-color: #000000;
}

.hero-tab::after { display: none; }

/* Old floating CTA removed — now inside each slide */
.hero-cta-float { display: none !important; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Old hero elements hidden */
.hero-eyebrow, .hero-trust-chip, .hero-stars, .hero-split,
.hero-proof, .hero-proof-item, .hero-proof-divider,
.hero-elements, .hero-ui-cards, .ui-card, .ui-card-label,
.ui-card-status, .ui-card-kpi, .kpi-header, .kpi-icon,
.kpi-label, .kpi-value, .kpi-bar, .kpi-bar-fill,
.hero-bubble, .hero-secondary-btn,
.section-path, .globe, .globe-wrapper,
.dots-loader, .dot-circle, .dot-shadow,
.shape-loader, .truck-loader, .truck-road, .truck-lampPost {
  display: none !important;
}

/* Hero responsive */
@media (max-width: 1024px) {
  .hero-tab { padding: 0.5rem 1rem; font-size: 0.8rem; }
  .blob.b1 { width: 400px; height: 400px; }
  .blob.b2 { width: 500px; height: 500px; }
  .blob.b3 { width: 350px; height: 350px; }
  .hshape { opacity: 0.6; }
}

@media (max-width: 768px) {
  .hero-slides { padding: 8rem 1.5rem 7rem; }
  .hero-slide-title { font-size: clamp(2.5rem, 12vw, 4.5rem); letter-spacing: -1px; }
  .hero-tabs {
    bottom: 4rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.75rem 1rem 0;
  }
  .hero-tab { padding: 0.4rem 0.75rem; font-size: 0.72rem; }
  .hero-shapes { display: none; }
  .hero-circuit { opacity: 0.3; }
  .blob.b1 { width: 300px; height: 300px; }
  .blob.b2 { width: 400px; height: 400px; }
  .blob.b3 { width: 250px; height: 250px; }
  .hero-slide-cta { padding: 0.75rem 1.5rem; font-size: 0.85rem; }
}

@media (max-width: 480px) {
  .hero-section { height: 100svh; }
  .hero-slides { padding: 7rem 1rem 8rem; min-height: 60vh; }
  .hero-slide-title { font-size: clamp(2rem, 14vw, 3.5rem); }
  .hero-tab { font-size: 0.65rem; padding: 0.35rem 0.55rem; }
  .blob.b1 { width: 250px; height: 250px; }
  .blob.b2 { width: 300px; height: 300px; }
  .blob.b3 { width: 200px; height: 200px; }
  .hero-slide-cta { padding: 0.7rem 1.25rem; font-size: 0.8rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-blob, .hero-slide { transition: none !important; }
  .blob, .hshape, .cnode, .cn-center, .hex-outer, .hex-inner, .hex-core,
  .circuit-lines line, .circuit-lines polyline { animation: none !important; }
  .pulse { display: none; }
  .hshape { opacity: 1 !important; transform: none !important; }
}

.hero-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem 0.5rem 0.6rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 500;
  color: #475569;
}

.hero-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 4px 8px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 9999px;
}

.hero-stars svg {
  display: block;
}

.hero-trust-chip span {
  white-space: nowrap;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  line-height: 1.08;
  color: #0f172a;
}

.hero-title-accent {
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

.hero-title-accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
  border-radius: 4px;
  opacity: 0.6;
}

.hero-subtitle {
  font-family: var(--font-primary);
  font-size: 1.0625rem;
  font-weight: 400;
  margin-bottom: 2rem;
  line-height: 1.7;
  color: #64748b;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-section .btn-secondary {
  background: #fff;
  color: #7c3aed;
  border: 2px solid #e2e8f0;
  box-shadow: none;
}
.hero-section .btn-secondary:hover {
  border-color: #7c3aed;
  background: #faf5ff;
}

.hero-secondary-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 24px !important;
  border-radius: 12px !important;
  font-weight: 600;
  transition: all 0.25s ease-out;
}

.hero-secondary-btn svg {
  transition: transform 0.25s ease-out;
}

.hero-secondary-btn:hover svg {
  transform: translateX(4px);
}

/* Proof bar */
.hero-proof {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid #e2e8f0;
  flex-wrap: wrap;
}

.hero-proof-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  font-family: var(--font-primary);
}

.hero-proof-item strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.hero-proof-item span {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}

.hero-proof-divider {
  width: 1px;
  height: 28px;
  background: #e2e8f0;
}

/* ---- Sparkle Button (adapted from UIverse) ---- */
.hero-sparkle-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: #7c3aed;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  border: 3px solid #7c3aed;
  border-radius: 12px;
  box-shadow: 0 0 0 rgba(124, 58, 237, 0.5);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-primary);
}
.hero-sparkle-btn .fil0 { fill: #fff; }
.hero-sparkle-btn .star-1,.hero-sparkle-btn .star-2,.hero-sparkle-btn .star-3,
.hero-sparkle-btn .star-4,.hero-sparkle-btn .star-5,.hero-sparkle-btn .star-6 {
  position: absolute;
  filter: drop-shadow(0 0 0 #fffdef);
  z-index: -5;
  transition: all 1s cubic-bezier(0.05, 0.83, 0.43, 0.96);
}
.hero-sparkle-btn .star-1 { top: 20%; left: 20%; width: 25px; }
.hero-sparkle-btn .star-2 { top: 45%; left: 45%; width: 15px; }
.hero-sparkle-btn .star-3 { top: 40%; left: 40%; width: 5px; }
.hero-sparkle-btn .star-4 { top: 20%; left: 40%; width: 8px; transition-duration: 0.8s; }
.hero-sparkle-btn .star-5 { top: 25%; left: 45%; width: 15px; transition-duration: 0.6s; }
.hero-sparkle-btn .star-6 { top: 5%; left: 50%; width: 5px; transition-duration: 0.8s; }

.hero-sparkle-btn:hover {
  background: transparent;
  color: #7c3aed;
  box-shadow: 0 0 25px rgba(124, 58, 237, 0.5);
}
.hero-sparkle-btn:hover .fil0 { fill: #7c3aed; }
.hero-sparkle-btn:hover .star-1 { top: -80%; left: -30%; filter: drop-shadow(0 0 10px #c4b5fd); z-index: 2; }
.hero-sparkle-btn:hover .star-2 { top: -25%; left: 10%; filter: drop-shadow(0 0 10px #c4b5fd); z-index: 2; }
.hero-sparkle-btn:hover .star-3 { top: 55%; left: 25%; filter: drop-shadow(0 0 10px #c4b5fd); z-index: 2; }
.hero-sparkle-btn:hover .star-4 { top: 30%; left: 80%; filter: drop-shadow(0 0 10px #c4b5fd); z-index: 2; }
.hero-sparkle-btn:hover .star-5 { top: 25%; left: 115%; filter: drop-shadow(0 0 10px #c4b5fd); z-index: 2; }
.hero-sparkle-btn:hover .star-6 { top: 5%; left: 60%; filter: drop-shadow(0 0 10px #c4b5fd); z-index: 2; }

/* ---- Right Side: Animated Elements ---- */
.hero-elements {
  position: relative;
  min-height: 480px;
  animation: fadeInUp 1.2s ease-out 0.3s both;
}

.hero-ui-cards {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
}

/* Floating UI cards */
.ui-card {
  position: absolute;
  background: #ffffff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: cardFloat 6s ease-in-out infinite;
}

.ui-card:hover {
  transform: translateY(-8px) scale(1.03) !important;
  box-shadow: 0 16px 48px rgba(124, 58, 237, 0.15);
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.ui-card-1 { top: 5%; right: 8%; z-index: 3; animation-delay: 0s; padding: 1.25rem; }
.ui-card-2 { top: 32%; left: 0; z-index: 2; animation-delay: -1.5s; padding: 1rem 1.25rem; }
.ui-card-3 { bottom: 18%; right: 5%; z-index: 4; animation-delay: -3s; display: flex; gap: 1rem; align-items: center; padding: 1.25rem; }
.ui-card-4 { bottom: 0; left: 4%; z-index: 1; animation-delay: -4.5s; padding: 1.25rem 1.5rem; min-width: 200px; }

.ui-card-label {
  font-family: var(--font-primary);
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ui-card-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

/* Status card: now booking */
.ui-card-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ui-card-status .status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: pulseDot 2s ease-in-out infinite;
}

.ui-card-status .status-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ui-card-status .status-text strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.ui-card-status .status-text span {
  font-size: 0.75rem;
  color: #64748b;
}

/* KPI card */
.ui-card-kpi {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.kpi-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.kpi-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.kpi-label {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.kpi-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  line-height: 1;
}

.kpi-bar {
  width: 100%;
  height: 5px;
  background: #f1f5f9;
  border-radius: 9999px;
  overflow: hidden;
}

.kpi-bar-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
  border-radius: 9999px;
  animation: kpiFill 2.5s ease-out 0.5s both, kpiPulse 4s ease-in-out 3s infinite;
}

@keyframes kpiFill {
  to { width: 82%; }
}

@keyframes kpiPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ---- Globe Toggle (UIverse JkHuger) ---- */
.section-path {
  position: relative;
  width: 180px;
  height: 58px;
  border-radius: 30px;
  background-color: #e6e6e6;
  box-shadow: inset -2px 15px 8px 0 rgba(0,0,0,.05);
  border: 2px groove rgba(225,225,225,0.1);
  overflow: hidden;
}

.globe {
  position: relative;
  width: 50px;
  height: 50px;
  margin-top: 2px;
  margin-left: 2px;
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  animation: heroGlobeMove 4s ease infinite;
  overflow: hidden;
}

@keyframes heroGlobeMove {
  0% { transform: translateX(0); }
  50% { transform: translateX(122px); }
  100% { transform: translateX(0); }
}

.globe::after {
  position: absolute; width: 4px; height: 10px; background: rgba(255,255,255,0.1);
  content: ''; left: 30px; top: 12px; border-radius: 50%; z-index: 2;
  box-shadow: 0 0 12px 6px rgba(255,255,255,0.1);
}
.globe::before {
  position: absolute; width: 100%; height: 100%; content: ''; left: 0; top: 0;
  border-radius: 50%; z-index: 1; box-shadow: inset 0 0 12px #1a252f; opacity: 0.4;
}

.globe-wrapper {
  position: absolute; width: 400px; height: 400px; top: 0; left: -350px;
  animation: heroGlobeWrap 4s ease infinite;
}

@keyframes heroGlobeWrap {
  0% { left: -350px; }
  50% { left: 0; }
  100% { left: -350px; }
}

.globe-wrapper span {
  position: absolute; width: 25px; height: 400px; top: 0; background: #7c3aed;
  box-shadow: inset 0 0 20px #5c487c;
}
.globe-wrapper span:nth-child(2n) { background: #6d28d9; }
.globe-wrapper span:nth-child(1) { left: 0; }
.globe-wrapper span:nth-child(2) { left: 25px; }
.globe-wrapper span:nth-child(3) { left: 50px; }
.globe-wrapper span:nth-child(4) { left: 75px; }
.globe-wrapper span:nth-child(5) { left: 100px; }
.globe-wrapper span:nth-child(6) { left: 125px; }
.globe-wrapper span:nth-child(7) { left: 150px; }
.globe-wrapper span:nth-child(8) { left: 175px; }
.globe-wrapper span:nth-child(9) { left: 200px; }
.globe-wrapper span:nth-child(10) { left: 225px; }
.globe-wrapper span:nth-child(11) { left: 250px; }
.globe-wrapper span:nth-child(12) { left: 275px; }
.globe-wrapper span:nth-child(13) { left: 300px; }
.globe-wrapper span:nth-child(14) { left: 325px; }
.globe-wrapper span:nth-child(15) { left: 350px; }
.globe-wrapper span:nth-child(16) { left: 375px; }

/* ---- Bouncing Dots (UIverse mobinkakei) ---- */
.dots-loader {
  width: 120px; height: 50px; position: relative;
}
.dot-circle {
  width: 16px; height: 16px; position: absolute; border-radius: 50%;
  background: #7c3aed; left: 15%;
  animation: dotBounce .5s alternate infinite ease;
}
.dot-circle:nth-child(2) { left: 45%; animation-delay: .2s; }
.dot-circle:nth-child(3) { left: auto; right: 15%; animation-delay: .3s; }

@keyframes dotBounce {
  0% { top: 40px; height: 4px; border-radius: 50px 50px 25px 25px; transform: scaleX(1.7); }
  40% { height: 16px; border-radius: 50%; transform: scaleX(1); }
  100% { top: 0%; }
}

.dot-shadow {
  width: 16px; height: 3px; border-radius: 50%;
  background: rgba(0,0,0,0.15); position: absolute;
  top: 46px; left: 15%; filter: blur(1px);
  animation: dotShadow .5s alternate infinite ease;
}
.dot-shadow:nth-child(5) { left: 45%; animation-delay: .2s; }
.dot-shadow:nth-child(6) { left: auto; right: 15%; animation-delay: .3s; }

@keyframes dotShadow {
  0% { transform: scaleX(1.5); }
  40% { transform: scaleX(1); opacity: .7; }
  100% { transform: scaleX(.2); opacity: .4; }
}

/* ---- Shape Tracers (UIverse mobinkakei) ---- */
.shape-loader {
  --path: #c4b5fd;
  --dot: #7c3aed;
  --duration: 3s;
  width: 36px; height: 36px; position: relative; display: inline-block;
}
.shape-loader:before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  position: absolute; display: block; background: var(--dot);
  top: 30px; left: 15px; transform: translate(-14px, -14px);
  animation: dotRect var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}
.shape-loader svg { display: block; width: 100%; height: 100%; }
.shape-loader svg rect, .shape-loader svg polygon, .shape-loader svg circle {
  fill: none; stroke: var(--path); stroke-width: 10px;
  stroke-linejoin: round; stroke-linecap: round;
}
.shape-loader svg rect {
  stroke-dasharray: 192 64 192 64; stroke-dashoffset: 0;
  animation: pathRect 3s cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}
.shape-loader svg polygon {
  stroke-dasharray: 145 76 145 76; stroke-dashoffset: 0;
  animation: pathTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}
.shape-loader svg circle {
  stroke-dasharray: 150 50 150 50; stroke-dashoffset: 75;
  animation: pathCircle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}
.shape-loader.triangle { width: 40px; }
.shape-loader.triangle:before {
  left: 17px; transform: translate(-8px, -14px);
  animation: dotTriangle var(--duration) cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}
@keyframes pathTriangle { 33% { stroke-dashoffset: 74; } 66% { stroke-dashoffset: 147; } 100% { stroke-dashoffset: 221; } }
@keyframes dotTriangle { 33% { transform: translate(0, 0); } 66% { transform: translate(8px, -14px); } 100% { transform: translate(-8px, -14px); } }
@keyframes pathRect { 25% { stroke-dashoffset: 64; } 50% { stroke-dashoffset: 128; } 75% { stroke-dashoffset: 192; } 100% { stroke-dashoffset: 256; } }
@keyframes dotRect { 25% { transform: translate(0, 0); } 50% { transform: translate(14px, -14px); } 75% { transform: translate(0, -28px); } 100% { transform: translate(-14px, -14px); } }
@keyframes pathCircle { 25% { stroke-dashoffset: 125; } 50% { stroke-dashoffset: 175; } 75% { stroke-dashoffset: 225; } 100% { stroke-dashoffset: 275; } }

/* ---- Truck (UIverse vinodjangid07) ---- */
.truck-loader { display: flex; align-items: center; justify-content: center; }
.truck-loader .truckWrapper {
  width: 160px; height: 80px; display: flex; flex-direction: column;
  position: relative; align-items: center; justify-content: flex-end; overflow-x: hidden;
}
.truck-loader .truckBody { width: 110px; margin-bottom: 5px; animation: truckMotion 1s linear infinite; }
.truck-loader .truckBody svg { width: 100%; height: auto; }
@keyframes truckMotion { 0% { transform: translateY(0); } 50% { transform: translateY(2px); } 100% { transform: translateY(0); } }
.truck-loader .truckTires {
  width: 110px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 8px 0 12px; position: absolute; bottom: 0;
}
.truck-loader .truckTires svg { width: 20px; }
.truck-road { width: 100%; height: 1.5px; background: #c4b5fd; position: relative; bottom: 0; align-self: flex-end; border-radius: 3px; }
.truck-road::before {
  content: ""; position: absolute; width: 16px; height: 100%; background: #c4b5fd;
  right: -50%; border-radius: 3px; animation: truckRoad 1.4s linear infinite; border-left: 8px solid #f8f9fc;
}
.truck-road::after {
  content: ""; position: absolute; width: 8px; height: 100%; background: #c4b5fd;
  right: -65%; border-radius: 3px; animation: truckRoad 1.4s linear infinite; border-left: 3px solid #f8f9fc;
}
.truck-lampPost { position: absolute; bottom: 0; right: -90%; height: 70px; animation: truckRoad 1.4s linear infinite; }
.truck-lampPost svg { width: 100%; height: 100%; }
@keyframes truckRoad { 0% { transform: translateX(0); } 100% { transform: translateX(-280px); } }

/* ---- Floating Bubbles (UIverse Dennyhml) ---- */
.hero-bubble {
  position: absolute;
  width: 80px; height: 80px; border-radius: 50%;
  animation: bubbleFloat 8s ease-in-out infinite;
  pointer-events: none;
}
.hero-bubble-1 { top: 10%; right: 60%; opacity: 0.5; animation-delay: -2s; }
.hero-bubble-2 { bottom: 20%; right: 0; opacity: 0.4; zoom: 0.6; animation-delay: -5s; }

@keyframes bubbleFloat {
  0%, 100% { transform: translateY(-15px); }
  50% { transform: translateY(15px); }
}

.hero-bubble::before {
  content: ''; position: absolute; top: 20px; left: 18px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff; z-index: 10; filter: blur(2px);
}
.hero-bubble::after {
  content: ''; position: absolute; top: 32px; left: 32px; width: 8px; height: 8px;
  border-radius: 50%; background: #fff; z-index: 10; filter: blur(2px);
}
.hero-bubble span { position: absolute; border-radius: 50%; }
.hero-bubble span:nth-child(1) { inset: 5px; border-left: 8px solid #7c3aed; filter: blur(5px); }
.hero-bubble span:nth-child(2) { inset: 5px; border-right: 8px solid #ec4899; filter: blur(5px); }
.hero-bubble span:nth-child(3) { inset: 5px; border-top: 8px solid #fbbf24; filter: blur(5px); }
.hero-bubble span:nth-child(4) { inset: 15px; border-left: 8px solid #a78bfa; filter: blur(8px); }
.hero-bubble span:nth-child(5) { inset: 5px; border-bottom: 6px solid #fff; filter: blur(5px); transform: rotate(330deg); }

/* ---- Hero Responsive ---- */
@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .hero-split { gap: 2rem; }
  .hero-ui-cards { min-height: 420px; }
  .ui-card-1 { right: 4%; }
  .ui-card-3 { right: 2%; }
  .ui-card-4 { left: 0; }
}

@media (max-width: 768px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content { text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-trust-chip { margin-left: auto; margin-right: auto; }
  .hero-proof { justify-content: center; }
  .hero-proof-item { align-items: center; }
  .hero-elements { display: none; }
  .hero-title { font-size: 2.5rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-section { padding-top: 7rem; min-height: auto; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-sparkle-btn, .hero-buttons .btn { width: 100%; justify-content: center; text-align: center; }
  .hero-trust-chip { font-size: 0.78rem; padding: 0.4rem 0.85rem 0.4rem 0.5rem; }
  .hero-trust-chip span { white-space: normal; }
  .hero-proof { gap: 0.85rem; }
  .hero-proof-item strong { font-size: 0.95rem; }
  .hero-proof-item span { font-size: 0.72rem; }
}

/* ---- Reduced motion guard (accessibility) ---- */
@media (prefers-reduced-motion: reduce) {
  .hero-shape,
  .ui-card,
  .hero-bubble,
  .globe,
  .globe-wrapper,
  .dot-circle,
  .dot-shadow,
  .shape-loader:before,
  .shape-loader svg rect,
  .shape-loader svg polygon,
  .shape-loader svg circle,
  .truck-loader .truckBody,
  .truck-road::before,
  .truck-road::after,
  .truck-lampPost,
  .ui-card-label::before,
  .status-dot,
  .kpi-bar-fill,
  .hero-content {
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary-purple);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
  background: #6d28d9;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-primary-purple);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary-purple);
  border: 2px solid var(--color-primary-purple);
}

.btn-outline:hover {
  background: var(--color-primary-purple);
  color: var(--color-white);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  background: var(--color-off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 0;
}

.service-card {
  background: var(--color-white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  border: 1px solid var(--color-light-gray);
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.service-card.has-badge {
  padding-top: calc(var(--spacing-lg) + 1rem);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: var(--transition-base);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

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

.service-icon {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-sm);
  display: inline-block;
  animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
  color: var(--color-primary-blue);
}

.service-card p {
  color: var(--color-medium-gray);
  line-height: 1.7;
}

.service-badge {
  position: absolute;
  top: -14px;
  left: 24px;
  display: inline-block;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35);
  white-space: nowrap;
  z-index: 2;
}

.service-card-btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.75rem 2rem;
  font-size: 0.9rem;
}

.service-card h3 + p {
  flex: 1;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
  background: var(--color-white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

.pricing-card {
  background: var(--color-white);
  border: 2px solid var(--color-light-gray);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
  transition: var(--transition-base);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card.popular {
  border-color: var(--color-primary-purple);
  box-shadow: var(--shadow-xl);
  transform: scale(1.05);
}

.pricing-card.popular::before {
  content: 'Most Popular';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: var(--color-white);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
}

.pricing-card:hover {
  border-color: var(--color-primary-purple);
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-header {
  margin-bottom: var(--spacing-md);
}

.pricing-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-blue);
  margin-bottom: var(--spacing-xs);
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-period {
  color: var(--color-medium-gray);
  font-size: 1rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--spacing-lg);
  text-align: left;
  flex: 1;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

.pricing-features li {
  padding: var(--spacing-xs) 0;
  color: var(--color-dark-gray);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.pricing-features li::before {
  content: '✓';
  color: var(--color-accent-teal);
  font-weight: 700;
  font-size: 1.25rem;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-section {
  background: var(--color-off-white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 0;
}

.portfolio-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  cursor: pointer;
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.portfolio-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition-base);
}

.portfolio-item:hover .portfolio-image {
  transform: scale(1.05);
}

.portfolio-content {
  padding: var(--spacing-lg);
}

.portfolio-category {
  color: var(--color-primary-purple);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: var(--spacing-xs);
}

.portfolio-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
  color: var(--color-primary-blue);
}

.portfolio-excerpt {
  color: var(--color-medium-gray);
  line-height: 1.7;
}

/* ============================================
   PROJECT SLIDESHOW — DEVICE MOCKUP CARDS
   ============================================ */
.project-slideshow {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.slideshow-track {
  position: relative;
  width: 100%;
}

.slideshow-slide {
  display: none;
  animation: slideFadeIn 0.55s ease;
}

.slideshow-slide.active {
  display: block;
}

@keyframes slideFadeIn {
  from { opacity: 0; transform: scale(0.97) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* -- The dark card -- */
.slide-card {
  background: #1a1a2e;
  border-radius: 1.5rem;
  padding: 3rem 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.slide-card::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* -- Device layout -- */
.slide-devices {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 380px;
  padding-left: 15%;
}

/* -- Laptop Mockup -- */
.device-laptop {
  position: relative;
  width: 88%;
  z-index: 1;
}

.laptop-screen {
  background: #0f172a;
  border-radius: 10px 10px 0 0;
  border: 3px solid #3a3a5c;
  border-bottom: none;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  position: relative;
}

.laptop-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.laptop-base {
  height: 14px;
  background: linear-gradient(180deg, #3a3a5c 0%, #2a2a44 100%);
  border-radius: 0 0 6px 6px;
  position: relative;
}

.laptop-base::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #4a4a6a;
  border-radius: 4px;
}

/* -- Phone Mockup -- */
.device-phone {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 20%;
  z-index: 2;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.phone-screen {
  background: #0f172a;
  border-radius: 18px;
  border: 3px solid #4a4a6a;
  overflow: hidden;
  aspect-ratio: 9 / 18;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 12px;
  background: #1a1a2e;
  border-radius: 0 0 10px 10px;
  z-index: 3;
}

.phone-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}


/* -- Visit Button -- */
.slide-visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.85rem 2rem;
  background: rgba(124, 58, 237, 0.15);
  border: 1.5px solid rgba(124, 58, 237, 0.35);
  color: #c4b5fd;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.slide-visit-btn:hover {
  background: #7c3aed;
  color: #fff;
  border-color: #7c3aed;
  transform: translateY(-2px);
}

.slide-visit-btn svg {
  transition: transform 0.3s ease;
}

.slide-visit-btn:hover svg {
  transform: translateX(4px);
}

/* -- Slideshow Arrows -- */
.slideshow-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #c4b5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  z-index: 5;
}

.slideshow-arrow:hover {
  background: #7c3aed;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.slideshow-prev {
  left: -24px;
}

.slideshow-next {
  right: -24px;
}

/* -- Footer: project name + dots -- */
.slideshow-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding: 0 0.5rem;
}

.slideshow-project-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-primary-blue);
}

.slideshow-dots {
  display: flex;
  gap: 0.5rem;
}

.slideshow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--color-light-gray);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.slideshow-dot:hover {
  border-color: var(--color-primary-purple);
}

.slideshow-dot.active {
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  border-color: #7c3aed;
  transform: scale(1.3);
}

/* -- Slideshow responsive -- */
@media (max-width: 1024px) {
  .slideshow-prev { left: 0; }
  .slideshow-next { right: 0; }
}

@media (max-width: 768px) {
  .slide-card {
    padding: 2rem 1.5rem 1.25rem;
    border-radius: 1rem;
  }

  /* Hide laptop, show only phone centered */
  .device-laptop { display: none; }

  .slide-devices {
    min-height: auto;
    justify-content: center;
    padding-left: 0;
  }

  .device-phone {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 55%;
    max-width: 240px;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
  }

  .phone-screen {
    border-radius: 22px;
    border-width: 3px;
  }

  .phone-notch {
    height: 16px;
    width: 35%;
  }

  .slideshow-arrow {
    width: 40px;
    height: 40px;
    top: 40%;
  }
  .slideshow-prev { left: 0.5rem; }
  .slideshow-next { right: 0.5rem; }

  .slide-visit-btn {
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
  }

  .slideshow-footer {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .slide-card {
    padding: 1.5rem 1rem 1rem;
  }

  .device-phone {
    width: 60%;
    max-width: 200px;
  }

  .phone-screen {
    border-radius: 18px;
    border-width: 2px;
  }

  .slideshow-arrow {
    width: 34px;
    height: 34px;
  }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  background: #ffffff;
}

.testimonials-section .section-title {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Grid */
.testimonial-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 40px;
  max-width: 900px;
  margin: 2rem auto 0;
}

/* Card */
.testimonial-card {
  position: relative;
  background-color: #f4f5f8;
  border-radius: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 85px 30px 35px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

/* Blue Ribbon */
.ribbon {
  position: absolute;
  top: 0;
  left: -15px;
  background-color: #345ba0;
  color: #ffffff;
  padding: 18px 30px;
  border-radius: 20px 40px 40px 0;
  width: 72%;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.ribbon::before {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 0;
  height: 0;
  border-top: 12px solid #1a3565;
  border-left: 12px solid transparent;
}

.ribbon-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}

.ribbon-designation {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.85;
}

/* Initials Circle (replaces photo) */
.profile-pic {
  position: absolute;
  top: -30px;
  right: -15px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 5px solid #ffffff;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  z-index: 3;
  background: linear-gradient(145deg, #c7d2e0 0%, #94a3b8 100%);
  color: #1e3a5f;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 1px;
}

/* Content: left border + stars + text */
.content-inner {
  border-left: 2px solid #345ba0;
  padding-left: 18px;
  margin-top: 5px;
}

.stars {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.stars .star {
  display: inline-block;
  font-style: normal;
  font-size: 26px;
  line-height: 1;
}

.star.active {
  color: #e8a318;
}

.star.inactive {
  color: #b0b0b0;
}

.quote {
  margin: 0;
  color: #333333;
  font-size: 15px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 800px) {
  .testimonial-container {
    grid-template-columns: 1fr;
    gap: 70px 0;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    padding: 75px 20px 25px;
  }

  .ribbon {
    width: 68%;
    padding: 14px 20px;
    left: -10px;
  }

  .ribbon-name {
    font-size: 15px;
  }

  .ribbon-designation {
    font-size: 11px;
  }

  .profile-pic {
    width: 75px;
    height: 75px;
    font-size: 1.3rem;
    top: -24px;
    right: -8px;
  }

  .content-inner {
    padding-left: 14px;
  }

  .stars {
    font-size: 18px;
  }

  .quote {
    font-size: 14px;
  }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  background: var(--color-white);
}

.faq-list {
  max-width: 800px;
  margin: 2rem auto 0;
}

.faq-item {
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid var(--color-light-gray);
}

.faq-question {
  padding: var(--spacing-lg);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary-blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
}

.faq-question:hover {
  background: rgba(124, 58, 237, 0.05);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-primary-purple);
  transition: var(--transition-fast);
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 var(--spacing-lg);
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-base);
}

.faq-item.active .faq-answer {
  padding: 0 var(--spacing-lg) var(--spacing-lg);
  max-height: 500px;
}

.faq-answer p {
  color: var(--color-dark-gray);
  line-height: 1.8;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: var(--color-off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 0;
}

.contact-info {
  background: var(--gradient-primary);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  color: var(--color-white);
}

.contact-info h3 {
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
}

.contact-details {
  margin-bottom: var(--spacing-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.contact-icon {
  font-size: 1.5rem;
}

.contact-text {
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
}

.contact-text a {
  color: var(--color-white);
  text-decoration: underline;
}

.contact-form-wrapper {
  background: var(--color-white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--color-dark-gray);
  margin-bottom: var(--spacing-xs);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--spacing-sm);
  border: 2px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary-purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

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

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: linear-gradient(180deg, #0f172a 0%, #0b0a1f 100%);
  color: #ffffff;
  padding: 3.5rem 0 1.5rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #7c3aed 0%, #14b8a6 50%, #ec4899 100%);
}

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

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  transition: opacity 0.25s ease;
}

.footer-logo-link:hover {
  opacity: 0.85;
}

.footer-logo-img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  /* Logo has navy text — invert brightness to make it visible on dark footer */
  filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
  .footer-logo-img { height: 44px; }
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #ffffff;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-icon:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  border-color: transparent;
  color: #ffffff;
}

.footer-links h4,
.footer-contact h4 {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
  border-radius: 2px;
}

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

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #a78bfa;
  padding-left: 4px;
}

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

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(124, 58, 237, 0.18);
  border-radius: 8px;
  color: #a78bfa;
  margin-top: 2px;
}

.footer-contact-icon svg {
  width: 16px;
  height: 16px;
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-list a:hover {
  color: #a78bfa;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--spacing-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  font-size: 0.875rem;
}

.footer-bottom p {
  color: inherit;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #a78bfa;
}

/* ============================================
   MAP SECTION
   ============================================ */
.map-section {
  background: var(--color-off-white);
}

.map-container {
  position: relative;
  max-width: 1100px;
  margin: var(--spacing-md) auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: #fff;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

.map-directions-btn {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.45);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-directions-btn:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 14px 36px rgba(124, 58, 237, 0.55);
  color: #ffffff;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .services-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .container {
    padding: 0 1.5rem;
  }
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  .section { padding: 3.5rem 0; }
  .section-header { margin-bottom: 2.5rem; }
}

@media (max-width: 768px) {
  :root {
    font-size: 15px;
  }

  .navbar {
    padding: 0.75rem 1rem;
  }

  .main-navigation {
    order: 99;
    width: 100%;
  }

  .lang-switcher {
    margin-left: auto;
  }

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

  .pricing-card.popular {
    transform: none;
  }
  .pricing-card.popular:hover {
    transform: translateY(-5px);
  }

  .services-grid,
  .portfolio-grid,
  .testimonials-grid,
  .testimonial-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial-container {
    gap: 3.5rem;
  }

  .section { padding: 3rem 0; }
  .section-header { margin-bottom: 2rem; padding: 0 0.5rem; }
  .section-title { font-size: 1.75rem; }
  .section-subtitle { font-size: 0.95rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.35rem; }

  .container { padding: 0 1.25rem; }

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

  .map-container iframe {
    height: 320px;
  }

  .map-directions-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }

  .contact-form-wrapper,
  .contact-info {
    padding: 1.5rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .faq-question {
    padding: 1.25rem;
    font-size: 1.05rem;
  }
  .faq-item.active .faq-answer {
    padding: 0 1.25rem 1.25rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  :root {
    font-size: 14px;
  }

  .container {
    padding: 0 1rem;
  }

  .section { padding: 2.5rem 0; }
  .section-header { margin-bottom: 1.75rem; }

  .hero-section {
    padding: 6rem 0 3rem;
    min-height: auto;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .map-container iframe {
    height: 280px;
  }

  .footer-bottom-links {
    font-size: 0.8rem;
  }

  .social-icons {
    justify-content: flex-start;
  }

  .pricing-amount {
    font-size: 2.5rem;
  }

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

  .lead-magnet-content h2 {
    font-size: 1.5rem;
  }

  .lead-magnet-form {
    flex-direction: column;
  }

  .lead-magnet-form input,
  .lead-magnet-form button {
    width: 100%;
  }

  .ba-handle-circle {
    width: 36px;
    height: 36px;
  }

  .portfolio-filter {
    gap: 0.5rem;
  }
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .back-to-top {
    width: 44px;
    height: 44px;
    bottom: 80px;
    right: 16px;
    border-radius: 12px;
  }

  .whatsapp-float {
    width: 44px;
    height: 44px;
    bottom: 20px;
    right: 16px;
    border-radius: 12px;
  }
  .whatsapp-float svg {
    width: 22px;
    height: 22px;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

.hidden { display: none; }
.visible { display: block; }

/* Animation Utilities */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-up {
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   WORDPRESS CORE STYLES
   ============================================ */

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  padding: var(--spacing-lg) 0;
}

/* Post Card */
.post-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.post-thumbnail {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-base);
}

.post-card:hover .post-thumbnail img {
  transform: scale(1.05);
}

.post-thumbnail-link {
  display: block;
}

.entry-header {
  padding: var(--spacing-md);
}

.entry-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.entry-title a {
  color: var(--color-black);
  text-decoration: none;
}

.entry-title a:hover {
  color: var(--color-primary-purple);
}

.entry-meta {
  font-size: 0.875rem;
  color: var(--color-medium-gray);
  margin-bottom: 1rem;
}

.entry-summary {
  padding: 0 var(--spacing-md) var(--spacing-md);
  color: var(--color-medium-gray);
  line-height: 1.8;
}

.entry-content {
  padding: var(--spacing-md);
  line-height: 1.8;
}

.entry-content p {
  margin-bottom: 1rem;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.entry-footer {
  padding: var(--spacing-md);
  border-top: 1px solid var(--color-light-gray);
}

/* Page Header */
.page-header {
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-lg);
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.archive-description {
  color: var(--color-medium-gray);
  font-size: 1.125rem;
  max-width: 800px;
}

/* Comments */
.comments-area {
  max-width: 800px;
  margin: var(--spacing-lg) auto;
  padding: 0 var(--spacing-md);
}

.comments-title {
  font-size: 1.75rem;
  margin-bottom: var(--spacing-md);
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment-list > li {
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--color-off-white);
  border-radius: var(--radius-md);
}

.comment-author {
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 0.5rem;
}

.comment-meta {
  font-size: 0.875rem;
  color: var(--color-medium-gray);
  margin-bottom: 1rem;
}

.comment-body {
  line-height: 1.6;
  color: var(--color-dark-gray);
}

.comment-form {
  margin-top: var(--spacing-lg);
}

.comment-form p {
  margin-bottom: 1rem;
}

.comment-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 1rem;
}

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

/* Pagination */
.pagination,
.post-navigation,
.comments-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: var(--spacing-lg) 0;
}

.pagination .nav-previous,
.pagination .nav-next,
.post-navigation .nav-previous,
.post-navigation .nav-next {
  padding: 0.75rem 1.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  color: var(--color-primary-blue);
  transition: var(--transition-base);
}

.pagination .nav-previous:hover,
.pagination .nav-next:hover,
.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover {
  background: var(--color-primary-blue);
  color: var(--color-white);
  border-color: var(--color-primary-blue);
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  color: var(--color-dark-gray);
  text-decoration: none;
  transition: var(--transition-base);
}

.page-numbers:hover,
.page-numbers.current {
  background: var(--gradient-primary);
  color: var(--color-white);
  border-color: transparent;
}

/* 404 Page */
.error-404 {
  text-align: center;
  padding: var(--spacing-xl) 0;
}

.error-404 .section-title {
  font-size: 8rem;
  line-height: 1;
  margin-bottom: 1rem;
}

.error-404 h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Skip Link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 2.5rem;
  z-index: 999999;
  padding: 1rem 1.5rem;
  background: var(--color-primary-blue);
  color: var(--color-white);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-md);
}

.skip-link:focus {
  left: 50%;
  transform: translateX(-50%);
}

/* Screen Reader Text */
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Alignment */
.alignleft {
  float: left;
  margin: 0.5rem 1rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0.5rem 0 1rem 1rem;
}

.aligncenter {
  display: block;
  margin: 1rem auto;
  clear: both;
}

/* Captions */
.wp-caption {
  max-width: 100%;
  margin-bottom: 1.5rem;
}

.wp-caption img {
  display: block;
  margin: 0 auto;
}

.wp-caption-text {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-medium-gray);
  margin-top: 0.5rem;
}

/* Galleries */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: var(--spacing-md) 0;
}

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

.gallery-caption {
  font-size: 0.875rem;
  color: var(--color-medium-gray);
  margin-top: 0.5rem;
}

/* Blockquotes */
blockquote {
  padding: var(--spacing-md);
  margin: var(--spacing-md) 0;
  border-left: 4px solid var(--color-primary-blue);
  background: var(--color-off-white);
  font-style: italic;
}

blockquote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--color-medium-gray);
  font-style: normal;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition-base);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary-blue);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--spacing-md) 0;
}

th,
td {
  padding: 0.75rem;
  border: 1px solid var(--color-light-gray);
  text-align: left;
}

th {
  background: var(--color-off-white);
  font-weight: 600;
}

/* Pre and Code */
pre {
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  line-height: 1.6;
}

code {
  background: var(--color-off-white);
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
  position: fixed;
  inset: 0;
  background: #0b0a1f;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease;
}

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

.preloader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(167, 139, 250, 0.2);
  border-top-color: #a78bfa;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ============================================
   MOBILE MENU TOGGLE
   ============================================ */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--color-primary-blue);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }
  .main-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-navigation.active {
    max-height: 500px;
  }
  .main-navigation ul {
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
  }
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 50px;
  height: 50px;
  background: #ffffff;
  color: #7c3aed;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
  z-index: 998;
  border: 1px solid #e2e8f0;
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

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

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
  background: #7c3aed;
  color: #ffffff;
  border-color: #7c3aed;
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 28px;
  width: 50px;
  height: 50px;
  background: #25D366;
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: waPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.6); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ============================================
   PORTFOLIO ENHANCEMENTS
   ============================================ */
.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-lg);
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  background: #fff;
  color: var(--color-dark-gray);
  border: 2px solid var(--color-light-gray);
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--color-primary-purple);
  color: var(--color-primary-purple);
}

.filter-btn.active {
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35);
}

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

.portfolio-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.portfolio-link:hover {
  color: inherit;
}

.portfolio-image-wrapper {
  position: relative;
  overflow: hidden;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.85) 0%, rgba(30, 58, 138, 0.85) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.portfolio-url {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary-purple);
}

/* ============================================
   TRANSFORMATION SHOWCASE (Before / After)
   ============================================ */
.transformation-showcase {
  margin-top: calc(var(--spacing-xl) + 1rem);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--color-light-gray);
}

.before-after-container {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.before-after-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  user-select: none;
  background: #000;
}

.before-after-slider .ba-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.before-after-slider .ba-after {
  z-index: 1;
}

.before-after-slider .ba-before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--ba-pos, 50%)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--ba-pos, 50%)) 0 0);
}

.before-after-slider .ba-handle {
  position: absolute;
  top: 0;
  left: var(--ba-pos, 50%);
  width: 4px;
  height: 100%;
  background: #fff;
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 3;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.5);
}

.before-after-slider .ba-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-purple);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.before-after-slider .ba-handle-circle svg {
  display: block;
}

.before-after-slider .ba-label {
  position: absolute;
  bottom: 1rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 9999px;
  z-index: 3;
  pointer-events: none;
}

.ba-label-before {
  left: 1rem;
}

.ba-label-after {
  right: 1rem;
}

.before-after-slider.dragging {
  cursor: ew-resize;
}

/* ============================================
   PAYMENT METHODS
   ============================================ */
.payment-methods {
  text-align: center;
  margin-top: var(--spacing-xl);
  padding: var(--spacing-lg) var(--spacing-md);
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.payment-methods h4 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-primary-blue);
}

.payment-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-sm);
}

.payment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 72px;
}

.payment-icon:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.payment-icon svg {
  display: block;
  height: 32px;
  width: auto;
}

.payment-note {
  color: var(--color-medium-gray);
  font-size: 0.875rem;
  margin: 0;
}

/* ============================================
   ADDITIONAL SECTIONS (Stats, Client Logos, Video, Certs, Lead Magnet, Guarantee)
   ============================================ */
.stats-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 100%);
  padding: 4rem 0;
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  text-align: center;
}

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

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.05em;
}

/* Client Logos */
.client-logos {
  padding: 4rem 0;
  background: #ffffff;
  overflow: hidden;
}

.logos-track-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: var(--spacing-md);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.logos-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: logoScroll 30s linear infinite;
  padding: 1rem 0;
}

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

.logo-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--color-off-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  flex-shrink: 0;
  min-width: 180px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-purple);
}

.logo-initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed 0%, #14b8a6 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.logo-name {
  font-weight: 600;
  color: var(--color-dark-gray);
  font-size: 0.95rem;
  white-space: nowrap;
}

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

/* Video section removed */

/* Certifications */
.certifications {
  padding: 4rem 0;
  background: #ffffff;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

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

.cert-item {
  padding: var(--spacing-md);
  text-align: center;
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.cert-badge {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.cert-item h4 {
  color: var(--color-primary-blue);
  margin-bottom: 0.5rem;
}

.cert-item p {
  color: var(--color-medium-gray);
  font-size: 0.875rem;
  margin: 0;
}

/* Lead Magnet */
.lead-magnet {
  padding: 4rem 0;
  background: linear-gradient(135deg, #7c3aed 0%, #1e3a8a 100%);
  color: #fff;
}

.lead-magnet-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--spacing-md);
}

.lead-magnet-content h2 {
  color: #fff;
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.lead-magnet-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
}

.lead-magnet-form {
  display: flex;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.lead-magnet-form input {
  flex: 1;
  min-width: 220px;
  padding: 0.9rem 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1rem;
  backdrop-filter: blur(10px);
}

.lead-magnet-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.lead-magnet-form input:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.25);
}

.lead-magnet-form button {
  padding: 0.9rem 2rem;
  background: #fff;
  color: var(--color-primary-purple);
  border: none;
  border-radius: 9999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.lead-magnet-form button:hover {
  transform: translateY(-2px);
}

.lead-magnet-success {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  color: #ffffff;
  backdrop-filter: blur(8px);
  animation: fadeIn 0.4s ease;
}

.lead-magnet-success strong {
  font-size: 1.1rem;
  font-weight: 700;
}

.lead-magnet-success span {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Guarantee */
.guarantee-section {
  padding: 4rem 0;
  background: var(--color-off-white);
}

.guarantee-badge {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: var(--spacing-lg);
  background: #fff;
  border-radius: var(--radius-lg);
  border: 2px dashed var(--color-primary-purple);
}

.guarantee-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.guarantee-badge h3 {
  color: var(--color-primary-blue);
  margin-bottom: 1rem;
}

.guarantee-badge p {
  line-height: 1.8;
  color: var(--color-medium-gray);
}

/* ============================================
   NOTIFICATION
   ============================================ */
.notification {
  font-family: var(--font-primary);
}

/* ============================================
   COOKIE CONSENT
   ============================================ */
.cookie-consent {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: #0f172a;
  color: #fff;
  padding: 1rem;
  z-index: 9999;
  transition: bottom 0.4s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-consent.show {
  bottom: 0;
}

.cookie-consent .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-consent p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  flex: 1;
  min-width: 260px;
  font-size: 0.9rem;
}

.cookie-consent a {
  color: #a78bfa;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.cookie-btn {
  padding: 0.6rem 1.25rem;
  border: none;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}

.cookie-accept {
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  color: #fff;
}

.cookie-decline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ============================================
   HERO RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .hero-eyebrow {
    font-size: 0.75rem;
  }
  .back-to-top {
    bottom: 80px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .whatsapp-float {
    bottom: 20px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .logo-item {
    min-width: 150px;
    padding: 0.75rem 1rem;
  }
  .ba-handle-circle {
    width: 40px;
    height: 40px;
  }
  .service-card {
    padding: 1.5rem;
  }
  .service-card.has-badge {
    padding-top: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .payment-icons {
    gap: 0.5rem;
  }
  .payment-icon svg {
    height: 26px;
  }
}
