/* ==========================================================================
   DIGITAL ARTES - High Performance Vanilla CSS Design System
   ========================================================================== */

/* --- 1. CSS Custom Properties / Design Tokens --- */
:root {
  /* Vibrant Premium Dark Palette */
  --bg-dark: #0a0e1a;
  --bg-darker: #05070d;
  --bg-card: rgba(18, 24, 40, 0.75);
  --bg-card-hover: rgba(26, 35, 58, 0.9);
  --bg-header: rgba(6, 9, 18, 0.85);

  /* Electric Vivid Neon Accents */
  --neon-cyan: #00f3ff;
  --neon-blue: #0066ff;
  --neon-magenta: #ff007f;
  --neon-purple: #a855f7;
  --neon-yellow: #ffcc00;
  --neon-orange: #ff6600;
  --whatsapp-green: #25d366;

  /* Typography Colors */
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-subtle: rgba(255, 255, 255, 0.1);

  /* Gradients */
  --grad-cyan-magenta: linear-gradient(135deg, #00f3ff 0%, #ff007f 100%);
  --grad-blue-purple: linear-gradient(135deg, #0066ff 0%, #a855f7 100%);
  --grad-yellow-orange: linear-gradient(135deg, #ffcc00 0%, #ff6600 100%);
  --grad-hero-overlay: linear-gradient(180deg, rgba(10, 14, 26, 0.4) 0%, rgba(10, 14, 26, 0.85) 75%, #0a0e1a 100%);

  /* Typography Tokens & Modular Scale */
  --font-heading: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --text-display: clamp(2.35rem, 5vw, 3.8rem);
  --text-h2: clamp(1.75rem, 3.2vw, 2.5rem);
  --text-h3: 1.35rem;
  --text-h4: 1.1rem;
  --text-body: 1rem;
  --text-sm: 0.88rem;
  --text-xs: 0.78rem;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --trans-fast: 0.2s ease;
  --trans-normal: 0.35s ease;
}

/* --- 2. CSS Reset & Themed Browser Surfaces --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::selection {
  background: rgba(0, 243, 255, 0.35);
  color: #ffffff;
  text-shadow: 0 0 8px rgba(0, 243, 255, 0.6);
}

::-moz-selection {
  background: rgba(0, 243, 255, 0.35);
  color: #ffffff;
}

/* Themed Custom Scrollbars */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: rgba(0, 243, 255, 0.25);
  border-radius: 6px;
  border: 2px solid var(--bg-darker);
  transition: background 0.25s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-color: rgba(0, 243, 255, 0.25) #05070d;
  scrollbar-width: thin;
}

/* Themed Focus Ring */
:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 3px;
  box-shadow: 0 0 14px rgba(0, 243, 255, 0.5);
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.68;
  letter-spacing: -0.011em;
  caret-color: var(--neon-cyan);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 243, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 40%, rgba(255, 0, 127, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(168, 85, 247, 0.06) 0%, transparent 50%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
  line-height: 1.68;
}

/* Tabular Numerals for metrics, steps and timers */
.stat-num,
.step-number,
.badge-icon,
.calc-summary strong {
  font-variant-numeric: tabular-nums lining-nums;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

.relative {
  position: relative;
}

section {
  padding: 100px 0;
  position: relative;
  scroll-margin-top: 90px;
}

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

.category-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

/* --- 4. Glassmorphism & UI Panels --- */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  border-radius: 20px;
}

/* Glowing Border Effects */
.gradient-border-cyan {
  border: 1px solid rgba(0, 243, 255, 0.3);
  transition: transform 0.4s var(--ease-smooth), border-color 0.4s ease, box-shadow 0.4s ease;
}

.gradient-border-cyan:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 12px 35px rgba(0, 243, 255, 0.25), inset 0 0 15px rgba(0, 243, 255, 0.1);
  transform: translateY(-6px);
}

.gradient-border-magenta {
  border: 1px solid rgba(255, 0, 127, 0.3);
  transition: transform 0.4s var(--ease-smooth), border-color 0.4s ease, box-shadow 0.4s ease;
}

.gradient-border-magenta:hover {
  border-color: var(--neon-magenta);
  box-shadow: 0 12px 35px rgba(255, 0, 127, 0.25), inset 0 0 15px rgba(255, 0, 127, 0.1);
  transform: translateY(-6px);
}

.gradient-border-purple {
  border: 1px solid rgba(168, 85, 247, 0.3);
  transition: transform 0.4s var(--ease-smooth), border-color 0.4s ease, box-shadow 0.4s ease;
}

.gradient-border-purple:hover {
  border-color: var(--neon-purple);
  box-shadow: 0 12px 35px rgba(168, 85, 247, 0.25), inset 0 0 15px rgba(168, 85, 247, 0.1);
  transform: translateY(-6px);
}

.gradient-border-gold {
  border: 1px solid rgba(255, 204, 0, 0.35);
  transition: transform 0.4s var(--ease-smooth), border-color 0.4s ease, box-shadow 0.4s ease;
}

.gradient-border-gold:hover {
  border-color: var(--neon-yellow);
  box-shadow: 0 12px 35px rgba(255, 204, 0, 0.3), inset 0 0 15px rgba(255, 204, 0, 0.15);
  transform: translateY(-6px);
}

.gradient-border-inox {
  border: 1px solid rgba(203, 213, 225, 0.3);
  transition: transform 0.4s var(--ease-smooth), border-color 0.4s ease, box-shadow 0.4s ease;
}

.gradient-border-inox:hover {
  border-color: #ffffff;
  box-shadow: 0 12px 35px rgba(255, 255, 255, 0.25), inset 0 0 15px rgba(203, 213, 225, 0.15);
  transform: translateY(-6px);
}

/* Text Gradients */
.text-gradient-cyan {
  background: var(--grad-cyan-magenta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: var(--grad-yellow-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- 5. Buttons & Interactivity --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  background: var(--grad-cyan-magenta);
  color: #ffffff;
  border: none;
  border-radius: 40px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 243, 255, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(255, 0, 127, 0.5);
}

.btn-primary:active,
.btn-secondary:active,
.pill-btn:active,
.filter-btn:active,
.card-cta:active,
.btn-submit:active {
  transform: scale(0.96) translateY(0);
  transition: transform 0.08s ease;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: var(--trans-normal);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: translateY(-3px);
}

.animate-pulse-glow {
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(0, 243, 255, 0.35);
  }
  50% {
    box-shadow: 0 12px 35px rgba(255, 0, 127, 0.55), 0 0 15px rgba(0, 243, 255, 0.4);
  }
}

/* --- 6. Header / Navigation --- */
header#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  transition: padding 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}

header#main-header.scrolled {
  padding: 10px 0;
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 243, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-menu ul li a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.nav-menu ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--neon-cyan);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--neon-cyan);
}

.nav-menu ul li a:hover {
  color: var(--neon-cyan);
}

.nav-menu ul li a:hover::after {
  width: 100%;
}

.nav-menu ul li a.nav-link-external {
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 243, 255, 0.35);
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(0, 243, 255, 0.05);
  font-size: 0.88rem;
  transition: all 0.3s ease;
}

.nav-menu ul li a.nav-link-external::after {
  display: none;
}

.nav-menu ul li a.nav-link-external:hover {
  background: var(--neon-cyan);
  color: #000000;
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
  transform: translateY(-2px);
}

.btn-header {
  padding: 10px 22px;
  font-size: 0.82rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-toggle .bar {
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* --- 7. Hero Section --- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  background-image: url('../images/hero_facade.jpg');
  background-size: cover;
  background-position: center;
  z-index: -2;
  will-change: transform;
}

.hero-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--grad-hero-overlay);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid rgba(0, 243, 255, 0.3);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neon-cyan);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: pulseDot 1.8s infinite;
}

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

.main-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 22px;
}

.subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 35px;
  line-height: 1.7;
}

.subtitle strong {
  color: #ffffff;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 24px 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
}

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

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

/* --- 8. Visual Services Cards --- */
.services-section {
  background-color: var(--bg-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.service-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.service-card:hover .card-image-wrapper img {
  transform: scale(1.08);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(18, 24, 40, 0.95) 100%);
}

.card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-subtitle {
  font-size: 0.8rem;
  color: var(--neon-cyan);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.tag-item {
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--neon-cyan);
  transition: gap 0.2s ease, color 0.2s ease;
}

.card-cta:hover {
  color: #ffffff;
  gap: 10px;
}

/* --- 9. Process Steps --- */
.process-section {
  background-color: var(--bg-darker);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.step-card {
  padding: 32px 24px;
  position: relative;
  text-align: left;
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.step-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 0.75rem;
  color: var(--neon-cyan);
  font-weight: 600;
}

/* --- 10. Calculator / Budget Simulator --- */
.calculator-section {
  background-color: var(--bg-dark);
}

.calculator-card {
  padding: 40px;
  max-width: 960px;
  margin: 0 auto;
}

.calc-step {
  margin-bottom: 30px;
}

.calc-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.option-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.25s ease;
}

.pill-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: var(--neon-cyan);
}

.pill-btn.active {
  background: var(--grad-cyan-magenta);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(0, 243, 255, 0.35);
  font-weight: 600;
}

.calc-summary {
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
}

.summary-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.summary-details {
  display: flex;
  align-items: center;
  gap: 14px;
}

.summary-details .icon {
  font-size: 1.8rem;
}

.summary-details strong {
  color: var(--neon-cyan);
}

/* --- 11. Portfolio / Gallery Section --- */
.gallery-section {
  background-color: var(--bg-darker);
}

.filter-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .filter-group {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 6px 12px 16px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .filter-group::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  padding: 10px 22px;
  border-radius: 30px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--neon-magenta);
  color: var(--neon-magenta);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.gallery-item .image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-item .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}

.gallery-item:hover .image-wrapper img {
  transform: scale(1.1);
}

.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 8, 16, 0.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  padding: 20px;
  text-align: center;
  transition: opacity 0.3s ease;
  border: 2px solid transparent;
  border-radius: 14px;
}

.gallery-item:hover .overlay {
  opacity: 1;
  border-color: var(--neon-magenta);
}

.gallery-item .overlay .icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.gallery-item .overlay h4 {
  color: var(--neon-magenta);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.gallery-item .overlay p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  padding: 12px;
  background: var(--bg-dark);
  border: 1px solid var(--neon-magenta);
  box-shadow: 0 0 35px rgba(255, 0, 127, 0.35);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox .close-btn {
  position: absolute;
  top: 15px;
  right: 18px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s ease;
}

.lightbox .close-btn:hover {
  color: var(--neon-magenta);
}

.lightbox img {
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox-caption {
  padding: 16px;
  text-align: center;
}

.lightbox-caption h3 {
  color: var(--neon-magenta);
  font-size: 1.2rem;
}

/* --- 12. Tech & Digital Services --- */
.tech-section {
  background-color: var(--bg-dark);
  overflow: hidden;
}

.cyber-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(168, 85, 247, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.digital-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}

.digital-card {
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tech-icon {
  font-size: 2.8rem;
  margin-bottom: 18px;
}

.digital-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.digital-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.tech-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.feature .check {
  color: var(--neon-cyan);
  font-weight: 800;
}

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

/* --- 12b. Bridge Section (Visual to Web) --- */
.bridge-section {
  background-color: var(--bg-dark);
  padding: 60px 0;
}

.bridge-card {
  padding: 48px 36px;
  border-radius: 20px;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  background: radial-gradient(circle at 50% 0%, rgba(0, 243, 255, 0.1) 0%, rgba(10, 14, 26, 0.9) 70%);
}

.bridge-title {
  font-size: 1.85rem;
  margin: 14px 0 16px;
}

.bridge-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.footer-link-highlight {
  color: var(--neon-cyan) !important;
  font-weight: 600;
  text-decoration: underline;
}

/* --- 13. About Section --- */
.about-section {
  background-color: var(--bg-darker);
}

.about-card {
  padding: 50px 40px;
}

.about-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 50px;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-top: 18px;
}

.about-text strong {
  color: #ffffff;
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.strength-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 16px;
  transition: transform 0.3s ease;
}

.strength-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 243, 255, 0.25);
}

.badge-icon {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.strength-info h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.strength-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --- 14. FAQ Accordion --- */
.faq-section {
  background-color: var(--bg-dark);
}

.faq-accordion {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.open {
  border-color: rgba(255, 0, 127, 0.4);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  gap: 16px;
}

.faq-question h3 {
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-body);
}

.toggle-icon {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--neon-magenta);
  line-height: 1;
  min-width: 20px;
  text-align: center;
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* --- 15. Contact Section --- */
.contact-section {
  background-color: var(--bg-darker);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  padding: 26px;
  border-radius: 16px;
}

.info-card .icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.info-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.info-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.info-card a:hover {
  color: var(--neon-cyan);
}

.contact-form-wrapper {
  padding: 36px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: #ffffff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.form-group select option {
  background: var(--bg-dark);
  color: #ffffff;
}

.field-error {
  display: none;
  color: #ff4d6d;
  font-size: 0.8rem;
  font-weight: 500;
}

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

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

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

.form-feedback.success {
  padding: 14px;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid var(--whatsapp-green);
  border-radius: 10px;
  color: var(--whatsapp-green);
  font-weight: 600;
  text-align: center;
  font-size: 0.92rem;
}

/* --- 16. Footer --- */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 50px 0 30px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--neon-cyan);
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.82rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  width: 100%;
}

/* --- 17. Floating WhatsApp Button --- */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: var(--whatsapp-green);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
}

/* --- 18. Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

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

/* --- 19. Responsive Media Queries --- */
@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 380px;
    height: 100vh;
    background: var(--bg-darker);
    flex-direction: column;
    justify-content: center;
    padding: 40px 24px;
    transition: right 0.4s var(--ease-smooth);
    border-left: 1px solid rgba(0, 243, 255, 0.15);
    box-shadow: -15px 0 35px rgba(0, 0, 0, 0.85);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 22px;
    margin-bottom: 30px;
  }

  .nav-menu ul li a {
    font-size: 1.15rem;
  }

  .mobile-toggle {
    display: flex;
  }

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

@media (max-width: 768px) {
  section {
    padding: 75px 0;
  }

  .hero-section {
    padding: 130px 0 70px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 60%;
    height: 1px;
  }

  .calculator-card {
    padding: 24px 18px;
  }

  .summary-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .summary-box .btn-primary {
    width: 100%;
  }

  .about-card {
    padding: 30px 20px;
  }

  .contact-form-wrapper {
    padding: 24px 18px;
  }
}

/* ==========================================================================
   16. OVERDRIVE: Lenticular 3D & Metallic Specular Engine
   ========================================================================== */
.overdrive-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

.service-card,
.gallery-item,
.digital-card,
.step-card {
  position: relative;
  transform-style: preserve-3d;
}

.service-card:hover,
.gallery-item:hover,
.digital-card:hover,
.step-card:hover {
  will-change: transform;
}

.card-specular-sheen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    550px circle at var(--card-mouse-x, 50%) var(--card-mouse-y, 50%),
    rgba(0, 243, 255, 0.18),
    rgba(255, 0, 127, 0.08) 40%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: screen;
  z-index: 3;
}

.service-card:hover .card-specular-sheen,
.gallery-item:hover .card-specular-sheen,
.digital-card:hover .card-specular-sheen,
.step-card:hover .card-specular-sheen {
  opacity: 1;
}

/* Lenticular 3D Holographic Card */
.lenticular-card .card-image-wrapper {
  position: relative;
  overflow: hidden;
}

.lenticular-lens-overlay {
  position: absolute;
  top: 0;
  left: -20%;
  width: 140%;
  height: 100%;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.09) 0px,
    rgba(255, 255, 255, 0.09) 2px,
    rgba(0, 0, 0, 0.14) 2px,
    rgba(0, 0, 0, 0.14) 4px
  );
  mix-blend-mode: overlay;
  transform: translateX(var(--lenticular-phase, 0px));
  transition: transform 0.08s linear;
  filter: hue-rotate(var(--lenticular-hue, 0deg));
  z-index: 2;
}

.lenticular-card:hover .card-image-wrapper img {
  transform: scale(1.1) translateX(calc(var(--lenticular-phase, 0px) * -0.4));
  filter: contrast(1.12) brightness(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .overdrive-canvas,
  .card-specular-sheen,
  .lenticular-lens-overlay {
    display: none !important;
  }
}
