﻿:root {
  --color-primary: #FF6B00;
  --color-primary-dark: #E85D00;
  --color-primary-light: #FF8534;
  --color-secondary: #2a2a72;
  --color-secondary-light: #3d3d9e;
  --color-accent: #00D4AA;
  --color-white: #ffffff;
  --color-text: #1a1a1a;
  --color-text-light: #4a4a4a;
  --color-bg: #f0f2f5;
  --color-bg-dark: #0a0a0f;
  --color-surface: #ffffff;
  --color-surface-dark: #1a1a2e;
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  --font-family: 'Inter', 'Noto Sans', sans-serif;
  --border-radius: 16px;
  --border-radius-lg: 24px;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Premium gradients */
  --gradient-primary: linear-gradient(135deg, #FF6B00 0%, #FF8534 100%);
  --gradient-secondary: linear-gradient(135deg, #2a2a72 0%, #3d3d9e 100%);
  --gradient-accent: linear-gradient(135deg, #00D4AA 0%, #00B894 100%);
  --gradient-text: linear-gradient(135deg, #FF6B00 0%, #2a2a72 100%);
  --gradient-hero: linear-gradient(135deg, rgba(255, 107, 0, 0.1) 0%, rgba(42, 42, 114, 0.1) 100%);
  --gradient-mesh: radial-gradient(at 40% 20%, hsla(28, 100%, 74%, 0.15) 0px, transparent 50%),
    radial-gradient(at 80% 0%, hsla(189, 100%, 56%, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 50%, hsla(355, 100%, 93%, 0.1) 0px, transparent 50%),
    radial-gradient(at 80% 50%, hsla(340, 100%, 76%, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, hsla(22, 100%, 77%, 0.15) 0px, transparent 50%),
    radial-gradient(at 80% 100%, hsla(242, 100%, 70%, 0.1) 0px, transparent 50%);

  /* Glow effects */
  --glow-primary: 0 0 20px rgba(255, 107, 0, 0.4), 0 0 40px rgba(255, 107, 0, 0.2);
  --glow-secondary: 0 0 20px rgba(42, 42, 114, 0.4), 0 0 40px rgba(42, 42, 114, 0.2);
  --glow-neon: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #FF6B00, 0 0 40px #FF6B00;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --color-bg: #0a0a0f;
  --color-text: #f0f0f5;
  --color-text-light: #a0a0b0;
  --color-surface: #1a1a2e;
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: var(--glow-primary);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 30px rgba(255, 107, 0, 0.5);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  fill: white;
}

/* Dark Mode Toggle */
.theme-toggle {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: var(--color-surface);
  border: 2px solid var(--glass-border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  font-size: 1.4rem;
}

.theme-toggle:hover {
  transform: rotate(15deg) scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .theme-toggle {
  background: var(--color-surface-dark);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Custom Cursor */
.custom-cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
  transform: translate(-50%, -50%);
}

.custom-cursor.active {
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(255, 107, 0, 0.3);
}

.custom-cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-text);
  animation: pulseLogo 1.5s ease-in-out infinite;
}

.preloader-logo span {
  color: var(--color-primary);
}

@keyframes pulseLogo {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.preloader-bar {
  position: absolute;
  bottom: 40%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.preloader-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 40%;
  background: var(--gradient-primary);
  border-radius: 3px;
  animation: loading 1s ease-in-out infinite;
}

@keyframes loading {
  0% {
    left: -40%;
  }

  100% {
    left: 100%;
  }
}

/* Counter Animation */
.counter {
  display: inline-block;
}

/* Animated Gradient Text */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.animated-gradient-text {
  background: linear-gradient(90deg, #FF6B00, #2a2a72, #00D4AA, #FF6B00);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 4s ease infinite;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Neon Glow Text Effect */
.neon-text {
  text-shadow: var(--glow-neon);
  animation: neonFlicker 3s ease-in-out infinite;
}

@keyframes neonFlicker {

  0%,
  100% {
    opacity: 1;
  }

  92% {
    opacity: 1;
  }

  93% {
    opacity: 0.8;
  }

  94% {
    opacity: 1;
  }

  96% {
    opacity: 0.9;
  }

  97% {
    opacity: 1;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  line-height: 1.7;
  background-color: var(--color-bg);
  font-size: 16px;
  letter-spacing: 0.01em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Glass Effects */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--border-radius);
}

.glass-input {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.glass-input:focus {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 6px 25px rgba(255, 107, 0, 0.4);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(255, 107, 0, 0.5);
}

.btn--glow {
  position: relative;
  overflow: hidden;
}

.btn--glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
  transform: scale(0);
  transition: transform 0.6s;
}

.btn--glow:hover::after {
  transform: scale(1);
}

.btn--outline {
  background: transparent;
  border: 1px solid #ddd;
  color: var(--color-text);
}

.btn--outline:hover {
  border-color: var(--color-text);
  background: #f8f9fa;
}

/* Header */
.header {
  padding: 1rem 2rem;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  z-index: 1000;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  transition: all 0.4s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  top: 10px;
  padding: 0.8rem 2rem;
}

.header.scrolled .logo,
.header.scrolled .nav__list a,
.header.scrolled .mobile-menu-btn span {
  color: var(--color-text);
}

.header.scrolled .nav__list a::after {
  background-color: var(--color-primary);
}

.header.scrolled .lang-btn {
  border-color: var(--color-primary);
  color: var(--color-text);
}

.header.scrolled .lang-btn.active {
  background: var(--color-primary);
  color: white;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
  text-shadow: none;
}

.logo-accent {
  color: var(--color-primary);
}

.nav__list {
  display: flex;
  gap: 2.5rem;
}

.nav__list a {
  font-weight: 600;
  color: #111947;
  text-shadow: none;
  position: relative;
  padding: 0.5rem 0;
}

.nav__list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-white);
  transition: width 0.3s;
}

.nav__list a:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  gap: 1rem;
}

.lang-switcher {
  display: flex;
  gap: 0.5rem;
}

.lang-btn {
  background: rgba(17, 25, 71, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  transition: all 0.3s;
  backdrop-filter: blur(5px);
}

.lang-btn:hover {
  background: rgba(255, 107, 0, 0.8);
  border-color: var(--color-primary);
}

.lang-btn.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--color-white);
  transition: all 0.3s;
}

/* Sections */
.section {
  padding: 8rem 0;
}

/* Hero - Parallax Sticky Effect */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 4rem;
  /* Professional background with gradient overlay */
  background:
    linear-gradient(135deg,
      rgba(26, 26, 46, 0.92) 0%,
      rgba(42, 42, 114, 0.85) 50%,
      rgba(26, 26, 46, 0.90) 100%),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Sticky positioning */
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1;
  overflow: hidden;
}

/* Sections slide over hero */
.services,
.features,
.portfolio,
.process,
.testimonials,
.contact,
.footer {
  position: relative;
  z-index: 10;
  /* Ensure background covers the hero */
  background-color: var(--color-bg);
  box-shadow: 0 -30px 60px rgba(17, 25, 71, 0.1);
}

/* Restore service margin since we are using sticky now, not fixed */
.services {
  margin-top: 0;
  border-radius: 40px 40px 0 0;
}

.hero__container {
  width: 100%;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.hero__text {
  text-align: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  width: 100%;
}

.hello-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hello-badge::after {
  content: '';
  position: absolute;
  top: -15px;
  right: -10px;
  font-size: 1.2rem;
  background: transparent;
}

.hero__title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -1px;
  text-transform: none;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.text-highlight {
  color: var(--color-primary);
}

.hero__subtitle {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  text-shadow: none;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.hero__image-wrapper {
  display: none !important;
}

.hero__blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--color-primary);
  border-radius: 50%;
  z-index: 1;
}

.hero__image {
  position: relative;
  z-index: 2;
  width: 400px;
  height: 550px;
  border-radius: 0 0 200px 200px;
  overflow: hidden;
}

.person-placeholder {
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1565372195458-9de0b320ef04?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover;
}

.hero__floating-stat {
  position: absolute;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 3;
  display: flex;
  flex-direction: column;
  min-width: 140px;
}

.stat-right {
  top: 20%;
  right: 0;
  text-align: right;
}

.stat-left {
  bottom: 20%;
  left: 0;
}

.stars {
  color: var(--color-primary);
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
}

.stat-big {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
}

.stat-small {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.hero__stats-mobile {
  display: none;
}

/* Services - Dark Theme */
.services {
  background: #1a1a1a;
  color: white;
  padding: 6rem 0;
  border-radius: 30px;
  margin: 4rem 1rem 2rem 1rem;
}

.section-header-left {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.section__title-dark {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin: 0;
}

.section__desc-dark {
  color: rgba(255, 255, 255, 0.6);
  max-width: 400px;
  text-align: right;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 0 1rem;
}

.service-card-dark {
  background: #2a2a2a;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: background 0.4s ease, transform 0.05s linear;
  cursor: default;
}

.service-card-dark.active,
.service-card-dark:hover {
  background: var(--color-primary);
}

.service-img-wrapper {
  height: 250px;
  background: #333;
  position: relative;
  overflow: hidden;
}

.service-placeholder {
  display: none;
  /* Hide placeholder text */
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #444, #555);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.2);
  font-weight: 700;
  font-size: 1.2rem;
}

.service-content {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-card-dark h3 {
  font-size: 1.2rem;
  color: white;
  margin: 0;
}

.arrow-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.service-card-dark:hover .arrow-btn {
  background: white;
  color: var(--color-primary);
  transform: rotate(45deg);
}

/* Features Section */
.features {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: white;
  border-radius: 16px;
  transition: all 0.4s;
  cursor: pointer;
}

.feature-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  transition: transform 0.4s;
}

.feature-item:hover .feature-icon {
  transform: scale(1.2) rotate(10deg);
}

.feature-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.feature-item p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.feature-stat {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.feature-stat .stat-counter {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.feature-stat .stat-label {
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-weight: 500;
}

/* Portfolio Section - Premium Light Design */
.portfolio {
  background: linear-gradient(180deg, #fafafa 0%, #f0f0f0 100%);
  color: var(--color-text);
  position: relative;
  overflow: hidden;
  padding: 8rem 0 10rem;
}

/* Elegant geometric pattern background */
.portfolio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255, 107, 0, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(42, 42, 114, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.portfolio .container {
  position: relative;
  z-index: 1;
}

.portfolio .section__title {
  color: var(--color-text);
}

.portfolio .section__title::after {
  background: var(--gradient-primary);
}

.portfolio .section__subtitle {
  color: var(--color-text-light);
}

.portfolio .subtitle-badge {
  background: rgba(255, 107, 0, 0.1);
  color: var(--color-primary);
}

/* Premium Masonry Grid */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: 2rem;
  perspective: 1000px;
}

/* Masonry Layout */
.portfolio-item:nth-child(1) {
  grid-column: span 8;
  grid-row: span 2;
}

.portfolio-item:nth-child(2) {
  grid-column: span 4;
  grid-row: span 2;
}

.portfolio-item:nth-child(3) {
  grid-column: span 6;
  grid-row: span 2;
}

.portfolio-item:nth-child(4) {
  grid-column: span 6;
  grid-row: span 2;
}

/* Card Base Styling */
.portfolio-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 12px 24px rgba(0, 0, 0, 0.04);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  transform-style: preserve-3d;
}

/* 3D Lift Effect on Hover */
.portfolio-item:hover {
  transform: translateY(-20px) rotateX(5deg);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.12),
    0 10px 20px rgba(0, 0, 0, 0.08);
}

/* Animated Border Gradient */
.portfolio-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  padding: 3px;
  background: linear-gradient(135deg, #FF6B00, #FF8534, #2a2a72, #00D4AA, #FF6B00);
  background-size: 400% 400%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  animation: borderFlow 4s linear infinite paused;
}

.portfolio-item:hover::before {
  opacity: 1;
  animation-play-state: running;
}

@keyframes borderFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Shine sweep effect */
.portfolio-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  transition: left 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 10;
}

.portfolio-item:hover::after {
  left: 150%;
}

/* Image Container */
.portfolio-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Individual card gradients */
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 2rem;
  position: relative;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.portfolio-item:hover .img-placeholder {
  transform: scale(1.1);
}

.portfolio-item:nth-child(1) .img-placeholder {
  background: linear-gradient(135deg, #FF6B00 0%, #FF8534 50%, #2a2a72 100%);
}

.portfolio-item:nth-child(2) .img-placeholder {
  background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.portfolio-item:nth-child(3) .img-placeholder {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.portfolio-item:nth-child(4) .img-placeholder {
  background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%);
}

/* Project Number Badge */
.img-placeholder::before {
  content: '01';
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
}

.portfolio-item:nth-child(2) .img-placeholder::before {
  content: '02';
}

.portfolio-item:nth-child(3) .img-placeholder::before {
  content: '03';
}

.portfolio-item:nth-child(4) .img-placeholder::before {
  content: '04';
}

/* Premium Glass Overlay */
.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
  transform: translateY(60%);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

/* Service Tag */
.portfolio-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--color-primary);
  color: white;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.portfolio-overlay h3 {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s 0.1s cubic-bezier(0.23, 1, 0.32, 1);
}

.portfolio-item:hover .portfolio-overlay h3 {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-overlay p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.portfolio-item:hover .portfolio-overlay p {
  transform: translateY(0);
  opacity: 1;
}

/* View Button */
.portfolio-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.5rem;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.portfolio-view-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: white;
  transition: left 0.3s;
  z-index: -1;
}

.portfolio-view-btn:hover {
  color: var(--color-text);
  border-color: white;
}

.portfolio-view-btn:hover::before {
  left: 0;
}

.portfolio-item:hover .portfolio-view-btn {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .portfolio__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 300px;
  }

  .portfolio-item:nth-child(1),
  .portfolio-item:nth-child(2),
  .portfolio-item:nth-child(3),
  .portfolio-item:nth-child(4) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .portfolio-item:nth-child(1) {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .portfolio__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 350px;
    gap: 1.5rem;
  }

  .portfolio-item,
  .portfolio-item:nth-child(1),
  .portfolio-item:nth-child(2),
  .portfolio-item:nth-child(3),
  .portfolio-item:nth-child(4) {
    grid-column: span 1;
  }
}

/* Dark mode */
[data-theme="dark"] .portfolio {
  background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
}

[data-theme="dark"] .portfolio .section__title,
[data-theme="dark"] .portfolio .section__subtitle {
  color: white;
}

[data-theme="dark"] .portfolio-item {
  background: #1a1a2e;
}

/* Process Timeline - Vertical Split */
.process {
  background: white;
  padding: 6rem 0;
}

.process-timeline {
  max-width: 900px;
  margin: 0 auto;
}

.process-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.process-left {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.process-role {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 0.2rem;
}

.process-date {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.process-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.process-dot {
  width: 16px;
  height: 16px;
  background: var(--color-primary);
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--color-primary);
  z-index: 2;
}

.process-line {
  width: 2px;
  background: #e0e0e0;
  flex-grow: 1;
  margin-top: 5px;
  min-height: 80px;
}

.process-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.process-right h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.process-right p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* Testimonials */
.testimonials {
  background: #f8f9fa;
  padding: 6rem 0;
}

.section-header-center {
  text-align: center;
  margin-bottom: 4rem;
}

.subtitle-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(42, 42, 114, 0.1);
  color: #2a2a72;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.testimonials-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--color-text);
  margin: 0;
  text-align: center;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #2a2a72;
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.testimonial-profile {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.profile-img {
  width: 50px;
  height: 50px;
  background: #eee;
  border-radius: 50%;
}

.profile-info h4 {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 0.2rem;
}

.profile-info p {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.quote-icon {
  font-size: 2rem;
  color: #2a2a72;
  opacity: 0.2;
  line-height: 1;
}

.testimonial-card .stars {
  color: #FFD700;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.testimonial-text {
  color: var(--color-text-light);
  font-style: italic;
  line-height: 1.6;
}

.testimonials-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  background: #ddd;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: #37cc37;
  /* Green as per reference */
  transform: scale(1.2);
}

/* Contact */
.contact__content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact__form {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1.5rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-light);
}

.contact__form input,
.contact__form select,
.contact__form textarea {
  padding: 1rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
}

.contact__form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact__info-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact__info-header {
  padding: 2rem 2rem 1rem;
}

.contact__info-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact__details {
  padding: 0 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item .icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 107, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-primary);
}

.contact-item .label {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.contact-item .value {
  font-weight: 600;
  color: var(--color-text);
}

.contact__footer {
  margin-top: 1.5rem;
  background: transparent !important;
  padding: 1.5rem 0 0 0;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.contact__footer p {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.social-icons {
  display: flex;
  gap: 0.8rem;
}

.social-icon {
  width: 42px;
  height: 42px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--color-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.social-icon:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.2);
}

/* Footer */
.footer {
  padding: 2rem 0;
  text-align: center;
  margin-top: 4rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* Responsive */
@media (max-width: 968px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__text {
    order: 2;
  }

  .hero__image-wrapper {
    order: 1;
    height: 400px;
  }

  .hero__image {
    width: 300px;
    height: 400px;
  }

  .hero__blob {
    width: 400px;
    height: 400px;
  }

  .hero__title {
    font-size: 3rem;
  }

  .hero__subtitle {
    margin: 0 auto 2rem;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__floating-stat {
    display: none;
    /* Hide floating stats on mobile */
  }

  .hero__stats-mobile {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
  }

  .stat-box {
    text-align: center;
  }

  .stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
  }

  .stat-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
  }

  .contact__content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav.active {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .nav__list a {
    color: var(--color-text);
    font-size: 1.2rem;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
  }

  .process-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: left;
    padding-left: 2rem;
    border-left: 2px solid #e0e0e0;
    position: relative;
  }

  .process-left {
    text-align: left;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
  }

  .process-center {
    position: absolute;
    left: -9px;
    top: 0;
    height: 100%;
    width: auto;
    display: block;
  }

  .process-line {
    display: none;
  }

  .process-dot {
    margin-top: 5px;
  }
}

/* Fixes and Improvements */
.hero__text {
  z-index: 10 !important;
  position: relative;
}

.hello-badge {
  border-color: rgba(255, 107, 0, 0.3);
  background: rgba(255, 107, 0, 0.05);
  color: var(--color-primary);
  font-weight: 600;
  backdrop-filter: blur(5px);
}

.service-card-dark {
  transition: background 0.4s ease, transform 0.1s linear;
}

.service-card-dark:nth-child(even) {
  transform: translateY(var(--scroll-offset, 0));
}

/* Portfolio Image Placeholders */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3a3a3a 0%, #2d3748 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays */
.reveal-on-scroll:nth-child(1) {
  transition-delay: 0.1s;
}

.reveal-on-scroll:nth-child(2) {
  transition-delay: 0.2s;
}

.reveal-on-scroll:nth-child(3) {
  transition-delay: 0.3s;
}

.reveal-on-scroll:nth-child(4) {
  transition-delay: 0.4s;
}

/* Floating Animation for Hero Stats */
@keyframes floatStat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.hero__floating-stat {
  animation: floatStat 3s ease-in-out infinite;
}

.hero__floating-stat.stat-right {
  animation-delay: 0s;
}

.hero__floating-stat.stat-left {
  animation-delay: 1.5s;
}

/* Enhanced Portfolio Hover */
.portfolio-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.1) 0%, rgba(42, 42, 114, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.4s;
}

.portfolio-item:hover::after {
  opacity: 1;
}

/* Feature Card Gradient Border on Hover */
.feature-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-item {
  position: relative;
}

.feature-item:hover::before {
  opacity: 1;
}

/* Testimonial Card Hover Lift */
.testimonial-card {
  transition: transform 0.4s, box-shadow 0.4s;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Process Timeline Animation */
.process-dot {
  transition: transform 0.3s, box-shadow 0.3s;
}

.process-item:hover .process-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 8px rgba(255, 107, 0, 0.2);
}

/* Button Ripple Effect */
.btn--primary {
  position: relative;
  overflow: hidden;
}

.btn--primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn--primary:hover::before {
  width: 300px;
  height: 300px;
}

/* Services section parallax transition */
.services {
  transition: transform 0.05s linear;
}

/* ============================================
   ENHANCED DESIGN IMPROVEMENTS
   ============================================ */

/* 3D Card Tilt Effect */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.tilt-card:hover {
  transform: perspective(1000px) rotateX(var(--rotateX, 0deg)) rotateY(var(--rotateY, 0deg));
}

.tilt-card .tilt-content {
  transform: translateZ(30px);
}

/* Enhanced Service Cards with 3D Effect */
.service-card-dark {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.service-card-dark::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--color-primary), transparent, var(--color-secondary));
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
}

.service-card-dark:hover::before {
  opacity: 1;
}

/* Enhanced Feature Icons - Replace Emojis */
.feature-icon-svg {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 20px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon-svg::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 23px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-item:hover .feature-icon-svg::before {
  opacity: 1;
}

.feature-icon-svg svg {
  width: 40px;
  height: 40px;
  fill: white;
  transition: transform 0.4s;
}

.feature-item:hover .feature-icon-svg {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--glow-primary);
}

.feature-item:hover .feature-icon-svg svg {
  transform: scale(1.1);
}

/* Animated Counter Numbers */
.stat-counter {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* Enhanced Hero Blob with Gradient Mesh */
.hero__blob {
  background: var(--gradient-mesh), var(--color-primary);
  animation: morphBlob 8s ease-in-out infinite, rotateBlob 20s linear infinite;
}

@keyframes morphBlob {

  0%,
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }

  25% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }

  50% {
    border-radius: 50% 60% 30% 60% / 30% 40% 70% 60%;
  }

  75% {
    border-radius: 60% 40% 60% 30% / 70% 50% 40% 60%;
  }
}

@keyframes rotateBlob {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Pulsing Hello Badge */
.hello-badge {
  animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }
}

/* Enhanced Portfolio Grid - Bento Layout */
.portfolio__grid--bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: 1.5rem;
}

.portfolio__grid--bento .portfolio-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.portfolio__grid--bento .portfolio-item:nth-child(2) {
  grid-column: span 2;
}

.portfolio__grid--bento .portfolio-item:nth-child(3),
.portfolio__grid--bento .portfolio-item:nth-child(4) {
  grid-column: span 1;
}

/* Portfolio Item Shine Effect */
.portfolio-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
  z-index: 2;
}

.portfolio-item:hover::before {
  left: 100%;
}

/* Floating Elements Animation */
@keyframes floatElement {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-15px) rotate(2deg);
  }

  75% {
    transform: translateY(10px) rotate(-2deg);
  }
}

.float-animate {
  animation: floatElement 6s ease-in-out infinite;
}

/* Testimonial Avatar Glow */
.profile-img {
  position: relative;
  overflow: hidden;
}

.profile-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 20px rgba(42, 42, 114, 0.2);
}

/* Enhanced Process Timeline */
.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
  transform: translateX(-50%);
  z-index: 0;
}

.process-dot {
  position: relative;
  z-index: 2;
}

.process-dot::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.2) 0%, transparent 70%);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}

/* Enhanced Form Inputs with Floating Labels */
.form-group-enhanced {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group-enhanced input,
.form-group-enhanced textarea,
.form-group-enhanced select {
  width: 100%;
  padding: 1.4rem 1.2rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1.1rem;
  background: white;
  color: #333;
  transition: all 0.3s;
}

.form-group-enhanced label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-light);
  pointer-events: none;
  transition: all 0.3s;
  background: white;
  padding: 0 0.5rem;
}

.form-group-enhanced input:focus,
.form-group-enhanced textarea:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
}

.form-group-enhanced input:focus+label,
.form-group-enhanced input:not(:placeholder-shown)+label,
.form-group-enhanced textarea:focus+label,
.form-group-enhanced textarea:not(:placeholder-shown)+label {
  top: 0;
  font-size: 0.8rem;
  color: var(--color-primary);
}

/* Quick Contact Buttons - Redesigned */
/* Quick Contact - Pill Buttons */
.quick-contact-pills {
  padding: 1.25rem 2rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: auto;
}

.qc-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.qc-pills-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.qc-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.25s ease;
  border: 1.5px solid transparent;
}

.qc-pill svg {
  flex-shrink: 0;
}

.qc-pill--whatsapp {
  background: #25D366;
  color: white;
}

.qc-pill--whatsapp:hover {
  background: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.qc-pill--telegram {
  background: #0088cc;
  color: white;
}

.qc-pill--telegram:hover {
  background: #0077b5;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 136, 204, 0.35);
}

/* Response Time Badge */
.response-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 212, 170, 0.1);
  color: #00B894;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.response-badge::before {
  content: '';
  margin-right: 0.5rem;
}

/* Dark Mode Enhancements */
[data-theme="dark"] body {
  background-color: var(--color-bg);
  color: var(--color-text);
}

[data-theme="dark"] .hero {
  background: var(--color-bg);
}

[data-theme="dark"] .hero__title,
[data-theme="dark"] .section__title {
  color: var(--color-text);
}

[data-theme="dark"] .features {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

[data-theme="dark"] .feature-item {
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .feature-item h3 {
  color: var(--color-text);
}

[data-theme="dark"] .process {
  background: var(--color-bg);
}

[data-theme="dark"] .process-right h3,

/* Expand Modal Styles */
.popup-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.popup-modal.active {
  display: flex;
  animation: fadeIn 0.3s forwards;
}

.popup-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  cursor: pointer;
}

.popup-content {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100vh;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  overflow: hidden;
}

.popup-modal.active .popup-content {
  transform: scale(1);
  opacity: 1;
}

.popup-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10002;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.popup-close:hover {
  background: rgba(239, 68, 68, 0.8);
  border-color: rgba(239, 68, 68, 0.9);
  transform: rotate(90deg) scale(1.1);
}

/* Lightbox Slider */
.lightbox-slider {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 60px 80px 90px;
}

.lb-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
  user-select: none;
  -webkit-user-drag: none;
}

/* Navigation Arrows */
.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: white;
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.lb-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.lb-prev {
  left: 24px;
}

.lb-next {
  right: 24px;
}

/* Bottom Bar */
.lb-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  z-index: 10001;
}

.lb-title {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.lb-counter {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* Dot Indicators */
.lb-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.lb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.lb-dot.active {
  background: white;
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.lb-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.6);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .lb-stage {
    padding: 50px 16px 80px;
  }

  .lb-nav {
    width: 40px;
    height: 40px;
  }

  .lb-prev {
    left: 10px;
  }

  .lb-next {
    right: 10px;
  }

  .lb-bottom {
    padding: 12px 16px;
  }

  .lb-title {
    font-size: 0.85rem;
  }

  .popup-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
}

[data-theme="dark"] .testimonials {
  background: var(--color-surface);
}

[data-theme="dark"] .testimonial-card {
  background: var(--color-bg);
  border-color: var(--color-secondary);
}

[data-theme="dark"] .contact {
  background: var(--color-bg);
}

[data-theme="dark"] .contact__form,
[data-theme="dark"] .contact__info-card {
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .glass-input {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--color-text);
}

[data-theme="dark"] .footer {
  background: var(--color-surface);
}

/* Magnetic Button Effect */
.magnetic-btn {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth Page Transitions */
main {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Divider */
.section-divider {
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--color-bg));
}

/* Glowing Border Animation */
@keyframes glowingBorder {
  0% {
    box-shadow: 0 0 5px var(--color-primary), 0 0 10px var(--color-primary);
  }

  50% {
    box-shadow: 0 0 20px var(--color-primary), 0 0 40px var(--color-primary);
  }

  100% {
    box-shadow: 0 0 5px var(--color-primary), 0 0 10px var(--color-primary);
  }
}

.glow-border {
  animation: glowingBorder 2s ease-in-out infinite;
}

/* Typing Animation for Hero */
.typing-text {
  overflow: hidden;
  border-right: 3px solid var(--color-primary);
  white-space: nowrap;
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes blink-caret {

  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: var(--color-primary);
  }
}

/* Particle Effect Container */
.particles-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: particleFloat 10s linear infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.3;
  }

  90% {
    opacity: 0.3;
  }

  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Glass Card Enhancement */
.glass-card-premium {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  border-radius: var(--border-radius-lg);
}

[data-theme="dark"] .glass-card-premium {
  background: rgba(26, 26, 46, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {

  .custom-cursor,
  .custom-cursor-dot {
    display: none;
  }

  .portfolio__grid--bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .portfolio__grid--bento .portfolio-item {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .theme-toggle,
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
  }

  .theme-toggle {
    left: 20px;
  }

  .back-to-top {
    right: 20px;
  }
}

/* ============================================
   HERO LOGO DISPLAY STYLES
   ============================================ */
.hero__visual {
  position: relative;
  z-index: 2;
  width: 450px;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-display {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-container {
  position: relative;
  text-align: center;
  z-index: 2;
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(255, 107, 0, 0.3) 0%, transparent 70%);
  filter: blur(40px);
  animation: logoPulseGlow 3s ease-in-out infinite;
}

@keyframes logoPulseGlow {

  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

.logo-main {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -2px;
  position: relative;
  margin-bottom: 0.5rem;
}

.logo-belgi {
  color: white !important;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.logo-led {
  color: white !important;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.5),
    0 0 20px rgba(255, 255, 255, 0.3),
    0 0 40px rgba(255, 107, 0, 0.3);
  animation: logoNeonPulse 2s ease-in-out infinite;
}

@keyframes logoNeonPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.85;
  }
}

.logo-group {
  font-size: 2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85) !important;
  letter-spacing: 8px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.logo-tagline {
  font-size: 0.9rem;
  font-weight: 500;
  color: white;
  background: var(--gradient-primary);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  display: inline-block;
  letter-spacing: 1px;
}

.decorative-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.deco-ring {
  position: absolute;
  border: 2px solid rgba(255, 107, 0, 0.2);
  border-radius: 50%;
}

.ring-1 {
  width: 350px;
  height: 350px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotateRing 20s linear infinite;
}

.ring-2 {
  width: 420px;
  height: 420px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-style: dashed;
  border-color: rgba(42, 42, 114, 0.15);
  animation: rotateRing 30s linear infinite reverse;
}

@keyframes rotateRing {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.deco-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: floatDecoDot 4s ease-in-out infinite;
}

.dot-1 {
  top: 15%;
  right: 20%;
  animation-delay: 0s;
}

.dot-2 {
  bottom: 20%;
  left: 15%;
  animation-delay: 1s;
  background: var(--color-secondary);
}

.dot-3 {
  top: 50%;
  right: 5%;
  animation-delay: 2s;
  width: 8px;
  height: 8px;
}

@keyframes floatDecoDot {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.6;
  }

  50% {
    transform: translateY(-15px);
    opacity: 1;
  }
}

/* Dark mode adjustments for logo */
[data-theme="dark"] .logo-belgi {
  color: white;
}

[data-theme="dark"] .logo-group {
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   ???? MAJOR DESIGN IMPROVEMENTS - PREMIUM POLISH
   ============================================ */

/* ===========================================
   1. HERO SECTION - COMPLETE REDESIGN
   =========================================== */

/* Add subtle gradient background for better contrast */
.hero {
  background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 50%, #f4f6fc 100%) !important;
  position: relative;
}

/* Add decorative mesh gradient overlay */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 107, 0, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(17, 25, 71, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero__container {
  position: relative;
  z-index: 1;
}

/* Fix Hero Title visibility with brand colors */
.hero__title {
  color: var(--color-secondary) !important;
  /* #111947 - Dark text */
  font-size: 3.8rem !important;
}

.hero__title .text-highlight {
  color: var(--color-primary) !important;
  position: relative;
}

/* Add animated underline to highlight */
.hero__title .text-highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-primary);
  border-radius: 2px;
  animation: pulseWidth 2s ease-in-out infinite;
}

@keyframes pulseWidth {

  0%,
  100% {
    transform: scaleX(1);
  }

  50% {
    transform: scaleX(0.8);
  }
}

/* Hero subtitle styling */
.hero__subtitle {
  color: var(--color-text-light) !important;
  font-size: 1.15rem;
  max-width: 450px;
}

/* Hello badge premium styling */
.hello-badge {
  background: rgba(255, 107, 0, 0.08);
  border: 1px solid rgba(255, 107, 0, 0.2) !important;
  color: var(--color-primary) !important;
  font-weight: 600;
}

/* Hero Buttons Enhancement */
.hero__actions .btn--primary {
  background: linear-gradient(135deg, #FF6B00 0%, #FF8534 100%);
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.hero__actions .btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.hero__actions .btn--primary:hover::before {
  left: 100%;
}

.hero__actions .btn--outline {
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero__actions .btn--outline:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-secondary);
  border-color: #ffffff;
}

/* Hero floating stats visibility */
.hero__floating-stat {
  background: white;
  border: 1px solid rgba(17, 25, 71, 0.1);
  box-shadow: 0 10px 40px rgba(17, 25, 71, 0.12);
  padding: 1.2rem 1.5rem;
  border-radius: 16px;
}

.hero__floating-stat .stat-big {
  color: var(--color-secondary) !important;
  font-weight: 800;
}

.hero__floating-stat .stat-small {
  color: var(--color-text-light);
}

.hero__floating-stat .stars {
  color: #FFB800;
}

/* ===========================================
   2. SERVICE CARDS - PREMIUM GLASS EFFECT
   =========================================== */

.service-card-dark {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated gradient border on hover */
.service-card-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, transparent, rgba(255, 107, 0, 0.5), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s;
}

.service-card-dark:hover::before {
  opacity: 1;
}

.service-card-dark:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.service-card-dark .service-content {
  padding: 1.5rem;
}

.service-card-dark h3 {
  font-size: 1.3rem !important;
  font-weight: 700;
}

.service-card-dark .arrow-btn {
  width: 45px;
  height: 45px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  transition: all 0.3s;
}

.service-card-dark:hover .arrow-btn {
  transform: rotate(45deg) scale(1.1);
  box-shadow: 0 5px 20px rgba(255, 107, 0, 0.5);
}

/* ===========================================
   3. FEATURE CARDS - MODERN ICONS
   =========================================== */

.feature-item {
  background: white !important;
  border: 1px solid #eef0f5 !important;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Decorative gradient blob */
.feature-item::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.05) 0%, transparent 70%);
  transition: transform 0.5s;
}

.feature-item:hover::before {
  transform: scale(2);
}

.feature-item:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary) !important;
  box-shadow: 0 20px 40px rgba(17, 25, 71, 0.1);
}

/* Icon container premium styling */
.feature-icon-svg {
  width: 70px !important;
  height: 70px !important;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #1a235e 100%) !important;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  box-shadow: 0 8px 25px rgba(17, 25, 71, 0.25);
}

.feature-icon-svg svg {
  width: 32px;
  height: 32px;
}

.feature-item h3 {
  color: var(--color-secondary);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.feature-item p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Stats counter styling */
.feature-stat {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eef0f5;
}

.feature-stat .stat-counter {
  font-size: 2.5rem !important;
  font-weight: 800;
  color: var(--color-primary);
  display: block;
}

.feature-stat .stat-label {
  color: var(--color-text-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===========================================
   4. PORTFOLIO - SMOOTH HOVER EFFECTS
   =========================================== */

.portfolio-item {
  border-radius: 24px !important;
  overflow: hidden;
}

.portfolio-item .img-placeholder {
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .img-placeholder {
  transform: scale(1.1);
}

.portfolio-overlay {
  background: linear-gradient(to top,
      rgba(17, 25, 71, 0.95) 0%,
      rgba(17, 25, 71, 0.7) 40%,
      transparent 100%) !important;
  opacity: 1;
  transition: all 0.5s;
}

.portfolio-overlay h3 {
  font-size: 1.4rem;
  font-weight: 700;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s 0.1s;
}

.portfolio-overlay p {
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s 0.2s;
}

.portfolio-view-btn {
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s 0.3s;
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p,
.portfolio-item:hover .portfolio-view-btn {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-view-btn:hover {
  background: var(--color-primary) !important;
  color: white !important;
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.4);
}

/* ===========================================
   5. PROCESS TIMELINE - ANIMATED
   =========================================== */

.process {
  background: #f8f9fc !important;
}

.process .section__title {
  color: var(--color-secondary);
  text-align: center;
  margin-bottom: 4rem;
}

.process-item {
  position: relative;
  padding: 2rem 0;
}

.process-dot {
  width: 20px !important;
  height: 20px !important;
  background: var(--color-primary) !important;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px rgba(255, 107, 0, 0.2);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    box-shadow: 0 0 0 6px rgba(255, 107, 0, 0.2);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(255, 107, 0, 0.1);
  }
}

.process-line {
  width: 3px !important;
  background: linear-gradient(to bottom, var(--color-primary), rgba(255, 107, 0, 0.2)) !important;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
}

.process-role {
  background: rgba(255, 107, 0, 0.1);
  color: var(--color-primary);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.process-date {
  color: var(--color-text-light);
  font-size: 0.85rem;
}

.process-right h3 {
  color: var(--color-secondary);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-right p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ===========================================
   6. TESTIMONIALS - PREMIUM CARDS
   =========================================== */

.testimonials {
  background: linear-gradient(180deg, #f4f6fc 0%, #ffffff 100%) !important;
}

.testimonial-card {
  background: white !important;
  border: 1px solid #eef0f5;
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  transition: all 0.4s;
}

/* Large quote mark */
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 5rem;
  color: rgba(255, 107, 0, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(17, 25, 71, 0.1);
  border-color: rgba(255, 107, 0, 0.2);
}

.testimonial-avatar {
  width: 55px !important;
  height: 55px !important;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #1a235e 100%) !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
}

.testimonial-info h4 {
  color: var(--color-secondary);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.testimonial-info span {
  color: var(--color-text-light);
  font-size: 0.85rem;
}

.testimonial-card>p {
  color: var(--color-text);
  font-style: italic;
  line-height: 1.7;
  margin: 1.5rem 0;
}

.testimonial-rating {
  color: #FFB800 !important;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

/* ===========================================
   7. CONTACT FORM - PREMIUM INPUTS
   =========================================== */

.contact {
  position: relative;
}

/* Decorative background element */
.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(255, 107, 0, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.contact__form input,
.contact__form textarea {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  color: white !important;
  font-size: 1rem;
  transition: all 0.3s;
}

.contact__form input:focus,
.contact__form textarea:focus {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
  outline: none;
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

.contact__form .btn--primary {
  width: 100%;
  padding: 1.2rem;
  font-size: 1rem;
  margin-top: 1rem;
}

/* Contact info card premium */
.contact-info-card {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 24px;
  padding: 2rem;
}

.response-badge {
  background: rgba(255, 107, 0, 0.15);
  color: var(--color-primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.quick-btn.whatsapp {
  background: #25D366;
  color: white;
}

.quick-btn.telegram {
  background: #0088cc;
  color: white;
}

.quick-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.quick-btn svg {
  width: 20px;
  height: 20px;
}

/* ===========================================
   8. FOOTER - CLEAN & MINIMAL
   =========================================== */

.footer {
  padding: 3rem 0 !important;
}

.footer__logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.footer__logo span {
  color: var(--color-primary);
}

/* ===========================================
   9. GLOBAL MICRO-ANIMATIONS
   =========================================== */

/* Smooth section reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children animation */
.reveal-on-scroll.visible>*:nth-child(1) {
  transition-delay: 0.1s;
}

.reveal-on-scroll.visible>*:nth-child(2) {
  transition-delay: 0.2s;
}

.reveal-on-scroll.visible>*:nth-child(3) {
  transition-delay: 0.3s;
}

.reveal-on-scroll.visible>*:nth-child(4) {
  transition-delay: 0.4s;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-dark);
}

/* Selection color */
::selection {
  background: var(--color-primary);
  color: white;
}

/* ===========================================
   10. SECTION HEADERS - CONSISTENT STYLING
   =========================================== */

.section-header-center {
  text-align: center;
  margin-bottom: 4rem;
}

.subtitle-badge {
  display: inline-block;
  background: rgba(255, 107, 0, 0.1);
  color: var(--color-primary);
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section__title {
  font-size: 2.8rem !important;
  font-weight: 800;
  color: var(--color-secondary);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ===========================================
   11. FOOTER
   =========================================== */
.footer {
  position: relative;
  background-color: #0a0a0f;
  color: #fff;
  padding: 5rem 0 0;
  /* Top padding for grid, 0 bottom for copyright bar */
  overflow: hidden;
  margin-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bg-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(42, 42, 114, 0.15) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.footer__container {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 3rem;
  position: relative;
  z-index: 2;
  margin-bottom: 4rem;
}

.footer__col {
  display: flex;
  flex-direction: column;
}

.footer__logo {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.footer__desc {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__links a {
  color: var(--color-text-light);
  transition: all 0.3s;
  width: fit-content;
}

.footer__links a:hover {
  color: var(--color-primary);
  transform: translateX(5px);
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer__contact-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-text-light);
}

.footer__contact-list .icon {
  font-size: 1.2rem;
}

.footer__contact-list a {
  transition: color 0.3s;
}

.footer__contact-list a:hover {
  color: var(--color-primary);
}

.footer__social-icons {
  display: flex;
  gap: 1rem;
}

.footer__social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.footer__social-icons a:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.footer__bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

/* Responsive Footer */
@media (max-width: 900px) {
  .footer__container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer__container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer {
    text-align: center;
  }

  .footer__desc {
    margin: 0 auto;
  }

  .footer__links a,
  .footer__contact-list li,
  .footer__social-icons {
    justify-content: center;
  }

  .footer__links a:hover {
    transform: translateX(0) scale(1.05);
  }
}

/* ===========================================
   12. CALCULATOR WIZARD
   =========================================== */
.calculator {
  background: var(--color-bg);
}

.calculator__wizard {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
  overflow: hidden;
  position: relative;
}

/* Progress Bar */
.calc-progress {
  margin-bottom: 3rem;
  position: relative;
  padding: 0 2rem;
}

.progress-track {
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  left: 0;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 4px;
  transition: width 0.4s ease;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.step {
  width: 40px;
  height: 40px;
  background: var(--color-bg);
  border: 2px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-text-light);
  transition: all 0.3s ease;
}

.step.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.4);
}

.step.completed {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

/* Wizard Content */
.wizard-step {
  display: none;
  animation: fadeIn 0.5s ease;
}

.wizard-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wizard-step h3 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: var(--color-secondary);
}

/* Type Grid */
.type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.type-card {
  cursor: pointer;
  position: relative;
}

.type-card input {
  position: absolute;
  opacity: 0;
}

.type-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid transparent;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.type-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.type-name {
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
}

.type-card:hover .type-content {
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-5px);
}

.type-card input:checked+.type-content {
  border-color: var(--color-primary);
  background: rgba(255, 107, 0, 0.05);
  box-shadow: 0 10px 20px rgba(255, 107, 0, 0.1);
}

/* Calc Form */
.calc-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Upload Area */
.upload-area {
  border: 2px dashed #ddd;
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
  cursor: pointer;
  margin-bottom: 1.5rem;
}

.upload-area:hover,
.upload-area.dragover {
  border-color: var(--color-primary);
  background: rgba(255, 107, 0, 0.05);
}

.upload-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.file-name {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* Custom Checkbox */
.no-design-check {
  display: flex;
  justify-content: center;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
}

.checkmark {
  height: 24px;
  width: 24px;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid #ddd;
  border-radius: 4px;
  position: relative;
  transition: all 0.2s;
}

.checkbox-container:hover .checkmark {
  background-color: #f0f0f0;
}

.checkbox-container input:checked~.checkmark {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 8px;
  top: 4px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.checkbox-container input:checked~.checkmark::after {
  display: block;
}


/* Final Result */
.final-result {
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  /* WhatsApp Green */
  margin-top: 1.5rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:hover {
  background: #20BA5C;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Wizard Actions */
.wizard-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 2rem;
}

/* ===========================================
   13. SECTION VISUALS & DIVIDERS
   =========================================== */

/* Global Background Mesh */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background:
    radial-gradient(circle at 15% 50%, rgba(255, 107, 0, 0.08) 0%, transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(10, 10, 15, 0.95) 0%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}

/* SVG Dividers */
.section-divider {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
}

.divider-bottom {
  bottom: -1px;
}

.divider-top {
  top: -1px;
  transform: rotate(180deg);
}

.section-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
  /* Base height */
}

@media (min-width: 768px) {
  .section-divider svg {
    height: 120px;
    /* Larger waves on desktop */
  }
}

/* Fill Colors - Match Section Backgrounds */
.fill-bg {
  fill: var(--color-bg);
}

.fill-dark {
  fill: #0a0a0f;
}

/* Darker contrast sections */

/* Page Connector Line */
.page-connector-container {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
}

.page-connector-line {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      transparent,
      var(--color-primary),
      transparent);
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

/* Adjust Sections for continuous flow */
.section {
  position: relative;
  /* Ensure z-index is higher than connector but allows dividers to blend */
  z-index: 1;
}

/* Specific Section Tweaks */
.services {
  padding-bottom: 8rem;
}

.calculator {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.features {
  padding-top: 8rem;
}


/* ===========================================
   13. SECTION VISUALS & DIVIDERS
   =========================================== */

/* Global Background Mesh */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--gradient-mesh);
  opacity: 0.4;
  z-index: -1;
  pointer-events: none;
}

/* SVG Dividers */
.section-divider {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
}

.divider-top {
  top: 0;
  transform: translateY(-99%);
}

.divider-bottom {
  bottom: 0;
  transform: translateY(99%);
}

.section-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

/* Specific Divider Fills */
.fill-dark {
  fill: #1a1a1a;
}

.fill-light {
  fill: var(--color-bg);
}

/* Connecting Line */
.page-connector {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(255, 107, 0, 0.2) 20%,
      rgba(255, 107, 0, 0.2) 80%,
      transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.connector-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--color-primary);
  z-index: 1;
}

/* Refine Calculator Section Visuals */
.calculator {
  padding-top: 10rem;
  /* Space for wave */
  position: relative;
  background: transparent !important;
  /* Use global mesh */
}

/* Refine Features Section Visuals */
.features {
  position: relative;
  background: transparent !important;
}

/* Modify Services for smoother transition */
.services {
  padding-bottom: 8rem;
  margin-bottom: 0;
  /* Remove gap, handle with padding */
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ===========================================
   14. HERO PHOTO TICKER (Premium 2025)
   =========================================== */

/* ---- Wrapper: tilted glass strip ---- */
.hero-ticker {
  position: absolute;
  bottom: 80px;
  left: -3%;
  width: 106%;
  padding: 0.8rem 0 1rem;
  z-index: 25;
  overflow: hidden !important;
  transform: rotate(0deg);
  transform-origin: center bottom;

  /* Deep frosted glass */
  background: linear-gradient(180deg,
      rgba(8, 8, 18, 0.55) 0%,
      rgba(8, 8, 18, 0.88) 45%,
      rgba(8, 8, 18, 0.92) 100%);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);

  /* Top accent: animated gradient border */
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 107, 0, 0.6) 30%,
      rgba(255, 160, 50, 0.8) 50%,
      rgba(255, 107, 0, 0.6) 70%,
      transparent 100%) 1;
  box-shadow:
    0 -4px 30px rgba(255, 107, 0, 0.08),
    0 12px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* ---- Shimmer light sweep across the bar ---- */
.hero-ticker .ticker-track::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.04),
      rgba(255, 200, 120, 0.03),
      transparent);
  animation: ticker-shimmer 8s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes ticker-shimmer {

  0%,
  100% {
    left: -100%;
  }

  50% {
    left: 100%;
  }
}

/* ---- Edge fade masks (wider for premium feel) ---- */
.hero-ticker::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 180px;
  height: 100%;
  background: linear-gradient(90deg, rgba(8, 8, 18, 0.98) 0%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

.hero-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 100%;
  background: linear-gradient(-90deg, rgba(8, 8, 18, 0.98) 0%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

/* ---- Track ---- */
.ticker-track {
  overflow: hidden !important;
  position: relative;
  z-index: 1;
}

/* ---- Content row ---- */
.ticker-content {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 1rem;
  width: max-content !important;
  animation: ticker-slide 120s linear infinite;
}

.ticker-content:hover {
  animation-play-state: paused;
}

/* Minimal photo/image styles (Renamed to force cache update) */
.ticker-image-only {
  flex-shrink: 0 !important;
  width: auto !important;
  /* Natural width */
  height: 85px !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  overflow: visible !important;
  position: relative;
  transition: transform 0.3s ease;
  cursor: pointer;
  margin-right: 15px;
  /* Spacing */
  display: flex;
  align-items: center;
}

.ticker-image-only img {
  height: 100% !important;
  width: auto !important;
  max-width: 400px;
  /* Allow wider logos */
  object-fit: contain !important;
  display: block !important;
  border-radius: 0 !important;
  transition: transform 0.3s ease;
}

.ticker-image-only:hover img {
  transform: scale(1.05);
}

/* Ensure no pseudo elements interfere */
.ticker-image-only::before,
.ticker-image-only::after {
  display: none !important;
}

/* ---- Label overlay with category badge ---- */
.ticker-photo-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 10px;
  background: linear-gradient(0deg,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.55) 55%,
      transparent 100%);
  pointer-events: none;
  min-height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
}

.ticker-photo-label span {
  font-family: 'Inter', 'Noto Sans', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* Category tag (small orange text above label) */
.ticker-photo-label .ticker-category {
  font-size: 0.48rem;
  font-weight: 800;
  color: #FF6B00;
  letter-spacing: 1.5px;
  text-shadow: none;
  margin-bottom: 1px;
}

/* ---- Animated accent line at top of track ---- */
.hero-ticker .ticker-track::after {
  content: '';
  position: absolute;
  top: -1.6rem;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 107, 0, 0.4) 30%,
      rgba(255, 160, 50, 0.6) 50%,
      rgba(255, 107, 0, 0.4) 70%,
      transparent 100%);
  pointer-events: none;
}

/* ---- Animation ---- */
@keyframes ticker-slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ---- Mobile Responsive ---- */
@media (max-width: 768px) {
  .hero-ticker {
    padding: 0.9rem 0 1rem;
    transform: none;
    left: 0;
    width: 100%;
    bottom: 0;
  }

  .ticker-photo-card {
    width: 150px !important;
    height: 90px !important;
    border-radius: 8px;
  }

  .ticker-content {
    gap: 0.9rem;
  }

  .ticker-photo-label span {
    font-size: 0.6rem;
  }

  .ticker-photo-label .ticker-category {
    font-size: 0.5rem;
  }

  .hero-ticker::before,
  .hero-ticker::after {
    width: 60px;
  }
}

/* ===========================================
   15. ENHANCED CALCULATOR STYLES
   =========================================== */

/* Design Toggle */
.design-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-option {
  flex: 1;
  position: relative;
  cursor: pointer;
}

.toggle-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.toggle-btn {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  color: var(--color-text-muted);
}

.toggle-option input:checked~.toggle-btn {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

/* Sections Logic */
.design-section {
  display: none;
  animation: fadeIn 0.4s ease;
}

.design-section.active-section {
  display: block;
}

/* Samples Grid */
.samples-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.sample-card {
  position: relative;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.sample-card input {
  position: absolute;
  opacity: 0;
}

.sample-img {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.2);
}

.sample-card span {
  display: block;
  text-align: center;
  padding: 0.8rem;
  background: rgba(0, 0, 0, 0.4);
  font-size: 0.9rem;
  font-weight: 500;
}

.sample-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 0, 0.3);
}

.sample-card input:checked~.sample-img {
  opacity: 0.8;
}

.sample-card input:checked~span {
  background: var(--color-primary);
  color: #fff;
}

.sample-card input:checked~.sample-img::after {
  content: '??�';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .samples-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   FINAL POLISHED MOBILE RESPONSIVE FIXES
   ============================================ */

/* 1. PREMIUM MOBILE MENU (Glassmorphism) */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    /* Comfortably wide but not full screen */
    height: 100vh;
    background: rgba(10, 10, 15, 0.85) !important;
    /* Dark glass */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 100px 30px 40px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  }

  .nav.active {
    right: 0;
  }

  /* Clean List Layout */
  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    /* Removing gap, using border instead */
    width: 100%;
    padding-top: 0;
  }

  .nav__list li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav__list a {
    display: block;
    padding: 16px 0;
    color: rgba(255, 255, 255, 0.9) !important;
    font-family: 'Inter', 'Noto Sans', sans-serif;
    font-size: 16px !important;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s;
    border: none;
    /* Reset */
  }

  .nav__list a:hover {
    color: var(--color-primary) !important;
    transform: translateX(5px);
  }

  /* Bright Highlight for CTA */
  .nav__cta-btn {
    margin-top: 30px;
    width: 100%;
    text-align: center;
    background: var(--color-primary);
    color: white !important;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
  }

  /* Fix Hamburger Position/Color */
  .mobile-menu-btn {
    position: relative;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 8px;
    /* Slightly larger touch target */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .mobile-menu-btn span {
    background: white !important;
    /* Force white lines */
    height: 2px;
    width: 24px;
    margin: 2px 0;
  }
}


/* 2. STRICT COMPACT & CLEAN LAYOUT (Mobile < 480px) */
@media (max-width: 480px) {

  /* --- Typography Reset --- */
  html {
    font-size: 14px;
    /* Base scale down */
  }

  h1,
  .hero__title {
    font-size: 28px !important;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
  }

  h2,
  .section__title {
    font-size: 24px !important;
    margin-bottom: 8px;
  }

  h3 {
    font-size: 18px !important;
    line-height: 1.3;
    margin-bottom: 6px;
  }

  p,
  .hero__subtitle,
  .section__subtitle {
    font-size: 14px !important;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
  }

  /* --- Container & Spacing --- */
  .container {
    padding: 0 16px !important;
  }

  section {
    padding: 40px 0 !important;
    /* Standard condensed spacing */
  }

  /* --- Component Fixes --- */

  /* Hero */
  .hero {
    padding-top: 100px !important;
    /* Space for nav */
    padding-bottom: 40px !important;
    min-height: auto !important;
    text-align: center;
  }

  .hero__content {
    align-items: center;
  }

  .hero__buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero__buttons .btn {
    width: 100%;
    justify-content: center;
    height: 48px;
    /* Comfortable touch target */
  }

  /* Cards */
  .service-card-dark,
  .feature-item,
  .testimonial-card,
  .portfolio-item,
  .contact__info-card,
  .contact__form {
    padding: 20px !important;
    border-radius: 16px !important;
  }

  .service-card-dark .icon-box,
  .feature-item .icon-box {
    margin-bottom: 16px;
  }

  /* Grids to Single Column */
  .services__grid,
  .features__grid,
  .portfolio__grid,
  .testimonials__grid,
  .contact__container {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Portfolio Specific */
  .portfolio-item {
    height: 220px !important;
  }

  /* Contact Form */
  .contact__form-grid {
    grid-template-columns: 1fr !important;
  }

  input,
  select,
  textarea {
    font-size: 16px !important;
    /* Prevents auto-zoom on iOS */
    padding: 12px 16px !important;
  }

  /* Remove Decorative Clutter */
  .hero__visual,
  .hero-ticker,
  .process-center,
  .page-connector {
    display: none !important;
  }

  /* Process Timeline Vertical Fix */
  .process-item {
    padding-left: 20px !important;
    border-left: 2px solid rgba(255, 107, 0, 0.4);
    margin-bottom: 24px;
    grid-template-columns: 1fr !important;
  }

  .process-step {
    font-size: 11px;
    padding: 4px 8px;
    margin-bottom: 8px;
    display: inline-block;
  }

  /* Footer */
  .footer__container {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 30px !important;
  }

  .footer__links {
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 10px;
  }
}

/* ============================================
   FINAL POLISHED MOBILE RESPONSIVE FIXES (V3 - FORCED APPEND)
   ============================================ */

/* 1. PREMIUM MOBILE MENU (Glassmorphism) */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(15, 15, 20, 0.7) !important;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 90px 24px 40px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
  }

  .nav.active {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    padding-top: 10px;
  }

  .nav__list li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  }

  .nav__list a {
    display: block;
    padding: 14px 0;
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: 'Inter', 'Noto Sans', sans-serif;
    font-size: 15px !important;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s;
    border: none;
  }

  .nav__list a:hover {
    color: var(--color-primary) !important;
    padding-left: 5px;
    background: transparent;
  }

  .nav__cta-btn {
    margin-top: 24px;
    width: 100%;
    text-align: center;
    background: var(--color-primary);
    color: white !important;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25);
  }
}


/* 2. STRICT COMPACT & CLEAN LAYOUT (Mobile < 480px) */
@media (max-width: 480px) {

  html {
    font-size: 14px;
  }

  h1,
  .hero__title {
    font-size: 26px !important;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
  }

  h2,
  .section__title {
    font-size: 22px !important;
    margin-bottom: 6px;
  }

  h3 {
    font-size: 17px !important;
    line-height: 1.3;
    margin-bottom: 4px;
  }

  p,
  .hero__subtitle,
  .section__subtitle {
    font-size: 13px !important;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
  }

  .container {
    padding: 0 16px !important;
  }

  section {
    padding: 40px 0 !important;
  }

  .hero {
    padding-top: 90px !important;
    padding-bottom: 30px !important;
    min-height: auto !important;
    text-align: center;
    overflow: hidden;
  }

  .hero__visual {
    display: block !important;
    width: 80% !important;
    max-width: 280px !important;
    height: auto !important;
    margin: 0 auto 20px auto;
    position: relative;
    top: auto;
    right: auto;
    transform: none;
  }

  .hero__content {
    align-items: center;
    margin-top: 0;
  }

  .hero__buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero__buttons .btn {
    width: 100%;
    justify-content: center;
    height: 44px;
    font-size: 14px;
  }

  .process-center,
  .process-line {
    display: none !important;
  }

  .process-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .process-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border-left: 2px solid var(--color-primary);
    border-radius: 0 12px 12px 0;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 0;
    text-align: left;
    width: 100%;
    grid-template-columns: 1fr !important;
  }

  .process-step {
    font-size: 10px;
    padding: 3px 8px;
    margin-bottom: 4px;
    display: inline-block;
    width: fit-content;
  }

  .process-left,
  .process-right {
    position: static;
    width: 100%;
    text-align: left;
  }

  .services__grid,
  .features__grid,
  .portfolio__grid,
  .testimonials__grid,
  .contact__container {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .service-card-dark,
  .feature-item,
  .testimonial-card,
  .portfolio-item,
  .contact__info-card,
  .contact__form {
    padding: 16px !important;
    border-radius: 12px !important;
  }

  .portfolio-item {
    height: 200px !important;
  }

  .hero-ticker,
  .page-connector {
    display: none !important;
  }

  .footer__container {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 30px !important;
  }
}


/* ========================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   Clean, Professional, Compact Design
   ======================================== */

@media screen and (max-width: 768px) {

  /* === GLOBAL RESETS === */
  * {
    -webkit-tap-highlight-color: transparent;
  }

  html {
    font-size: 14px !important;
  }

  body {
    overflow-x: hidden !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 18px !important;
  }

  section {
    padding: 35px 0 !important;
  }

  /* === TYPOGRAPHY === */
  h1,
  .hero__title {
    font-size: 24px !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
  }

  h2,
  .section__title {
    font-size: 20px !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
  }

  h3 {
    font-size: 16px !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
  }

  p,
  .hero__subtitle,
  .section__subtitle {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
  }

  /* === HEADER === */
  .header {
    padding: 10px 16px !important;
    width: calc(100% - 20px) !important;
    left: 10px !important;
    top: 10px !important;
    border-radius: 14px !important;
  }

  .logo {
    font-size: 15px !important;
  }

  .lang-switcher {
    gap: 6px !important;
  }

  .lang-btn {
    padding: 5px 10px !important;
    font-size: 11px !important;
    min-width: 32px !important;
    height: 28px !important;
  }

  .mobile-menu-btn {
    width: 36px !important;
    height: 36px !important;
    padding: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border-radius: 8px !important;
    z-index: 1001 !important;
  }

  .mobile-menu-btn span {
    width: 20px !important;
    height: 2px !important;
    background: white !important;
    margin: 2px 0 !important;
    border-radius: 2px !important;
    transition: all 0.3s !important;
  }

  /* === MOBILE NAVIGATION === */
  .nav {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 260px !important;
    height: 100vh !important;
    background: rgba(10, 10, 15, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 70px 20px 30px !important;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 1000 !important;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .nav.active {
    right: 0 !important;
  }

  .nav__list {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    width: 100% !important;
  }

  .nav__list li {
    width: 100% !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  }

  .nav__list a {
    display: block !important;
    padding: 14px 0 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s !important;
  }

  .nav__list a:hover {
    color: #FF6B00 !important;
    padding-left: 8px !important;
  }

  /* === HERO SECTION === */
  .hero {
    padding-top: 85px !important;
    padding-bottom: 30px !important;
    min-height: auto !important;
    text-align: center !important;
  }

  .hero__container {
    flex-direction: column !important;
    gap: 20px !important;
  }

  .hero__content {
    order: 2 !important;
    align-items: center !important;
    text-align: center !important;
  }

  .hero__visual,
  .hero__blob,
  .hero__image-wrapper {
    order: 1 !important;
    width: 180px !important;
    max-width: 180px !important;
    height: 180px !important;
    margin: 0 auto 16px !important;
  }

  .hero-logo-display {
    transform: scale(0.55) !important;
  }

  .hero__floating-stat {
    display: none !important;
  }

  .hello-badge {
    font-size: 11px !important;
    padding: 5px 12px !important;
    margin-bottom: 10px !important;
  }

  .hero__actions,
  .hero__buttons {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
    margin-top: 16px !important;
  }

  .hero__actions .btn,
  .hero__buttons .btn,
  .btn {
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    height: auto !important;
    min-height: 44px !important;
    border-radius: 10px !important;
  }

  .hero__stats-mobile {
    margin-top: 20px !important;
  }

  .hero__stats-mobile .stat-num {
    font-size: 22px !important;
  }

  .hero__stats-mobile .stat-desc {
    font-size: 11px !important;
  }

  /* === SECTION HEADERS === */
  .section-header-center,
  .section__header {
    margin-bottom: 20px !important;
    text-align: center !important;
  }

  .subtitle-badge {
    font-size: 11px !important;
    padding: 5px 12px !important;
    margin-bottom: 8px !important;
  }

  /* === SERVICES SECTION === */
  .services__grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .service-card-dark {
    padding: 18px !important;
    border-radius: 12px !important;
  }

  .service-card-dark .icon-box {
    width: 40px !important;
    height: 40px !important;
    font-size: 20px !important;
    margin-bottom: 12px !important;
  }

  .service-card-dark h3 {
    font-size: 16px !important;
    margin-bottom: 6px !important;
  }

  .service-card-dark p {
    font-size: 13px !important;
  }

  /* === FEATURES SECTION === */
  .features__grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .feature-item {
    padding: 18px !important;
    border-radius: 12px !important;
  }

  .feature-icon-svg {
    width: 36px !important;
    height: 36px !important;
    margin-bottom: 12px !important;
  }

  .feature-item h3 {
    font-size: 16px !important;
  }

  .feature-item p {
    font-size: 13px !important;
  }

  .feature-stat {
    margin-top: 10px !important;
  }

  .stat-counter {
    font-size: 22px !important;
  }

  .stat-label {
    font-size: 11px !important;
  }

  /* === PORTFOLIO SECTION === */
  .portfolio__grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .portfolio-item {
    height: 190px !important;
    border-radius: 12px !important;
  }

  .portfolio-item__content {
    padding: 14px !important;
  }

  .portfolio-item__content h3 {
    font-size: 15px !important;
  }

  .portfolio-item__content p {
    font-size: 12px !important;
  }

  /* === PROCESS SECTION === */
  .process-timeline {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  .process-item {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: unset !important;
    padding: 16px !important;
    border-left: 3px solid #FF6B00 !important;
    border-radius: 0 12px 12px 0 !important;
    background: rgba(255, 255, 255, 0.02) !important;
    gap: 8px !important;
  }

  .process-center,
  .process-line,
  .process-dot {
    display: none !important;
  }

  .process-left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 6px !important;
  }

  .process-role {
    font-size: 10px !important;
    padding: 3px 8px !important;
    background: #FF6B00 !important;
    color: white !important;
    border-radius: 5px !important;
  }

  .process-date {
    font-size: 10px !important;
    color: rgba(255, 255, 255, 0.5) !important;
  }

  .process-right h3 {
    font-size: 16px !important;
    margin-bottom: 4px !important;
  }

  .process-right p {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  /* === TESTIMONIALS SECTION === */
  .testimonials__grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .testimonial-card {
    padding: 18px !important;
    border-radius: 12px !important;
  }

  .testimonial-card p {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .testimonial__author h4 {
    font-size: 14px !important;
  }

  .testimonial__author span {
    font-size: 11px !important;
  }

  /* === CONTACT SECTION === */
  .contact__container {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
  }

  .contact__form {
    padding: 20px !important;
    border-radius: 12px !important;
    order: 2 !important;
  }

  .contact__info-card {
    padding: 20px !important;
    border-radius: 12px !important;
    order: 1 !important;
  }

  .contact__info-title {
    font-size: 18px !important;
    margin-bottom: 14px !important;
  }

  .contact-item {
    padding: 10px 0 !important;
  }

  .contact-item .icon {
    width: 36px !important;
    height: 36px !important;
  }

  .contact-item .label {
    font-size: 11px !important;
  }

  .contact-item .value {
    font-size: 14px !important;
  }

  .quick-contact-btn {
    padding: 10px 16px !important;
    font-size: 13px !important;
    min-height: 42px !important;
  }

  .form-row {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .form-group {
    margin-bottom: 12px !important;
  }

  .form-group label {
    font-size: 13px !important;
    margin-bottom: 6px !important;
  }

  .form-group input,
  .form-group textarea,
  .glass-input {
    padding: 12px 14px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
  }

  .contact__form button[type='submit'],
  .btn--submit {
    width: 100% !important;
    padding: 14px !important;
    font-size: 15px !important;
    min-height: 48px !important;
  }

  /* === FOOTER === */
  .footer {
    padding: 30px 0 !important;
  }

  .footer__container {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    text-align: center !important;
  }

  .footer__logo {
    font-size: 18px !important;
    margin-bottom: 10px !important;
  }

  .footer__desc {
    font-size: 13px !important;
  }

  .footer__title {
    font-size: 15px !important;
    margin-bottom: 12px !important;
  }

  .footer__links {
    justify-content: center !important;
  }

  .footer__links li a {
    font-size: 13px !important;
  }

  .footer__social {
    justify-content: center !important;
    gap: 14px !important;
  }

  .footer__social a {
    width: 36px !important;
    height: 36px !important;
  }

  .footer__bottom {
    padding: 16px 0 !important;
    font-size: 12px !important;
  }

  /* === HIDE DECORATIVE ELEMENTS === */
  .page-connector,
  .page-connector-container,
  .hero__glow,
  .hero-ticker,
  .decorative-elements,
  .deco-ring,
  .deco-dot,
  .shape,
  .custom-cursor,
  .custom-cursor-dot {
    display: none !important;
  }

  /* === DIVIDERS === */
  .section-divider {
    height: 35px !important;
  }

  .section-divider svg {
    height: 35px !important;
  }
}

/* === EXTRA SMALL SCREENS === */
@media screen and (max-width: 375px) {
  .container {
    padding: 0 14px !important;
  }

  h1,
  .hero__title {
    font-size: 22px !important;
  }

  h2,
  .section__title {
    font-size: 18px !important;
  }

  .hero__visual,
  .hero__blob,
  .hero__image-wrapper {
    width: 160px !important;
    height: 160px !important;
  }

  .hero-logo-display {
    transform: scale(0.5) !important;
  }
}

/* ============================================================================
   MASTER MOBILE RESPONSIVE FIX - FINAL OVERRIDE
   This block MUST stay at the VERY END of the file to override all conflicts
   ============================================================================ */

@media screen and (max-width: 768px) {

  /* ===================== GLOBAL FIXES ===================== */

  html,
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  section {
    padding: 50px 0 !important;
    overflow-x: hidden !important;
  }

  /* ===================== HEADER ===================== */

  .header {
    position: fixed !important;
    width: calc(100% - 24px) !important;
    left: 12px !important;
    right: 12px !important;
    top: 10px !important;
    transform: none !important;
    padding: 10px 14px !important;
    border-radius: 14px !important;
    z-index: 999 !important;
  }

  .header.scrolled {
    transform: none !important;
  }

  .logo {
    font-size: 14px !important;
  }

  .lang-switcher {
    gap: 4px !important;
  }

  .lang-btn {
    padding: 4px 8px !important;
    font-size: 10px !important;
  }

  /* SHOW the hero ticker on mobile - ABSOLUTE BOTTOM positioning */
  .hero-ticker {
    display: block !important;
    visibility: visible !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    background: rgba(10, 10, 15, 0.95) !important;
    padding: 8px 0 !important;
    /* Reduced padding */
    border-radius: 0 !important;
    transform: none !important;
    z-index: 10 !important;
  }

  /* Mobile Ticker Sizing Overrides */
  .hero-ticker .ticker-text-card {
    height: 75px !important;
    width: 130px !important;
    padding: 6px !important;
    border-radius: 6px !important;
  }

  .hero-ticker .ticker-text-card h3 {
    font-size: 0.65rem !important;
    line-height: 1.1 !important;
  }

  .hero-ticker .ticker-text-card .icon {
    font-size: 1rem !important;
    /* Smaller icon */
    margin-bottom: 2px !important;
  }

  .hero-ticker .ticker-text-card span {
    font-size: 0.5rem !important;
    margin-top: 2px !important;
    padding: 1px 4px !important;
  }

  .hero-ticker .ticker-image-only {
    height: 55px !important;
    margin-right: 8px !important;
  }

  .ticker-track {
    width: 100% !important;
  }

  .ticker-item {
    font-size: 11px !important;
    white-space: nowrap !important;
  }

  .ticker-dot {
    margin: 0 0.8rem !important;
    font-size: 8px !important;
  }

  .mobile-menu-btn {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 36px !important;
    height: 36px !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border-radius: 8px !important;
    border: none !important;
    gap: 4px !important;
    z-index: 1001 !important;
  }

  .mobile-menu-btn span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    background: white !important;
    border-radius: 2px !important;
  }

  /* Mobile Navigation Menu */
  .nav {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 75% !important;
    max-width: 280px !important;
    height: 100vh !important;
    background: rgba(10, 10, 15, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    padding: 80px 20px 40px !important;
    z-index: 1000 !important;
    transition: right 0.3s ease !important;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5) !important;
  }

  .nav.active {
    right: 0 !important;
  }

  .nav__list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  .nav__list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .nav__list a {
    display: block !important;
    padding: 14px 0 !important;
    font-size: 15px !important;
    color: white !important;
  }

  /* ===================== HERO SECTION ===================== */

  .hero {
    padding: 90px 16px 40px !important;
    min-height: auto !important;
    overflow: hidden !important;
  }

  .hero__container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 0 !important;
  }

  .hero__content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    order: 2 !important;
  }

  .hero__text {
    text-align: center !important;
    width: 100% !important;
  }

  /* HIDE THE MASSIVE BLOB/LOGO on mobile */
  .hero__image-wrapper,
  .hero__blob,
  .hero__visual,
  .hero-logo-display,
  .logo-container,
  .logo-glow,
  .decorative-elements,
  .deco-ring,
  .deco-dot,
  .hero__floating-stat,
  .hero__bg-shapes,
  .shape {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
  }

  .hello-badge {
    font-size: 12px !important;
    padding: 6px 12px !important;
    margin-bottom: 12px !important;
  }

  .hero__title {
    font-size: 26px !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  .hero__subtitle {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
    max-width: 100% !important;
    word-wrap: break-word !important;
    padding: 0 !important;
  }

  .hero__actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .hero__actions .btn {
    width: 100% !important;
    padding: 10px 16px !important;
    font-size: 12px !important;
    text-align: center !important;
    justify-content: center !important;
    height: auto !important;
    min-height: 40px !important;
  }

  .hero__stats-mobile {
    display: flex !important;
    justify-content: center !important;
    margin-top: 20px !important;
  }

  .hero-ticker {
    /* Ensure visible on mobile */
    display: block !important;
  }

  /* ===================== SERVICES SECTION ===================== */

  .services {
    padding: 50px 16px !important;
    margin: 0 !important;
    border-radius: 20px 20px 0 0 !important;
  }

  .section-header-left {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
    padding: 0 !important;
  }

  .section__title-dark {
    font-size: 22px !important;
  }

  .section__desc-dark {
    text-align: left !important;
    font-size: 13px !important;
  }

  .services__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 0 !important;
  }

  .service-card-dark {
    padding: 16px !important;
    border-radius: 12px !important;
  }

  .service-card-dark h3 {
    font-size: 16px !important;
  }

  .service-img-wrapper {
    height: 140px !important;
  }

  /* ===================== CALCULATOR SECTION ===================== */

  .calculator {
    padding: 50px 16px !important;
  }

  .section-header-center {
    text-align: center !important;
    margin-bottom: 20px !important;
  }

  .section__title {
    font-size: 22px !important;
  }

  .section__subtitle {
    font-size: 13px !important;
  }

  .subtitle-badge {
    font-size: 11px !important;
    padding: 4px 10px !important;
  }

  .calculator__wizard {
    padding: 16px !important;
    border-radius: 16px !important;
  }

  .calc-progress {
    margin-bottom: 20px !important;
  }

  .progress-steps {
    gap: 8px !important;
  }

  .progress-steps .step {
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
  }

  .wizard-step h3 {
    font-size: 18px !important;
    margin-bottom: 16px !important;
  }

  .type-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .type-card .type-content {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px !important;
    justify-content: flex-start !important;
  }

  .type-icon {
    font-size: 24px !important;
    margin: 0 !important;
  }

  .type-name {
    font-size: 14px !important;
    text-align: left !important;
  }

  .form-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .form-group input,
  .form-group textarea,
  .glass-input {
    padding: 16px !important;
    font-size: 16px !important;
    background: white !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
  }

  .wizard-actions {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .wizard-actions .btn {
    width: 100% !important;
  }

  .design-toggle {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .samples-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .sample-card .sample-img {
    height: 60px !important;
    font-size: 20px !important;
  }

  /* ===================== FEATURES SECTION ===================== */

  .features {
    padding: 50px 16px !important;
  }

  .features__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .feature-item {
    padding: 18px !important;
    border-radius: 14px !important;
  }

  .feature-icon-svg {
    width: 36px !important;
    height: 36px !important;
  }

  .feature-item h3 {
    font-size: 16px !important;
  }

  .feature-item p {
    font-size: 13px !important;
  }

  .feature-stat {
    margin-top: 12px !important;
  }

  .stat-counter {
    font-size: 24px !important;
  }

  /* ===================== PORTFOLIO SECTION ===================== */

  .portfolio {
    padding: 50px 16px !important;
  }

  .portfolio__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .portfolio-item {
    height: 200px !important;
    border-radius: 12px !important;
    grid-column: span 1 !important;
  }

  .portfolio-overlay {
    padding: 16px !important;
  }

  .portfolio-overlay h3 {
    font-size: 16px !important;
  }

  .portfolio-overlay p {
    font-size: 12px !important;
  }

  /* ===================== PROCESS SECTION ===================== */

  .process {
    padding: 50px 16px !important;
  }

  .process .section__title {
    text-align: center !important;
    margin-bottom: 30px !important;
  }

  .process-timeline {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding: 0 !important;
  }

  .process-timeline::before {
    display: none !important;
  }

  .process-item {
    display: block !important;
    width: 100% !important;
    padding: 20px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    margin: 0 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .process-item::before {
    display: none !important;
  }

  .process-center,
  .process-line,
  .process-dot {
    display: none !important;
  }

  .process-left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 12px !important;
    text-align: left !important;
    width: 100% !important;
  }

  .process-role {
    font-size: 11px !important;
    padding: 4px 10px !important;
    background: var(--color-primary) !important;
    color: white !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
  }

  .process-date {
    font-size: 12px !important;
    opacity: 0.5 !important;
  }

  .process-right {
    text-align: left !important;
    padding: 0 !important;
  }

  .process-right h3 {
    font-size: 18px !important;
    margin-bottom: 8px !important;
    color: var(--color-text) !important;
  }

  .process-right p {
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: var(--color-text-light) !important;
    margin: 0 !important;
  }

  /* ===================== TESTIMONIALS SECTION ===================== */

  .testimonials {
    padding: 50px 16px !important;
  }

  .testimonials__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .testimonial-card {
    padding: 18px !important;
    border-radius: 14px !important;
  }

  .testimonial-header {
    margin-bottom: 12px !important;
  }

  .profile-img {
    width: 40px !important;
    height: 40px !important;
  }

  .profile-info h4 {
    font-size: 14px !important;
  }

  .profile-info p {
    font-size: 11px !important;
  }

  .testimonial-text {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .stars {
    font-size: 12px !important;
  }

  /* ===================== CONTACT SECTION ===================== */

  .contact {
    padding: 50px 16px !important;
  }

  .contact__content {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  .contact__form {
    order: 2 !important;
    padding: 18px !important;
    border-radius: 14px !important;
  }

  .contact__info-card {
    order: 1 !important;
    padding: 18px !important;
    border-radius: 14px !important;
  }

  .contact__info-header h3 {
    font-size: 18px !important;
  }

  .contact-item {
    padding: 10px 0 !important;
  }

  .contact-item .icon {
    width: 32px !important;
    height: 32px !important;
  }

  .contact-item .label {
    font-size: 11px !important;
  }

  .contact-item .value {
    font-size: 13px !important;
  }

  .quick-contact {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .quick-contact-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px !important;
  }

  .contact__form button[type="submit"],
  .contact__form .btn {
    width: 100% !important;
  }

  /* ===================== FOOTER ===================== */

  .footer {
    padding: 40px 16px 20px !important;
  }

  .footer__container {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    text-align: center !important;
  }

  .footer__logo {
    font-size: 18px !important;
  }

  .footer__desc {
    font-size: 13px !important;
    max-width: 100% !important;
  }

  .footer__title {
    font-size: 15px !important;
    margin-bottom: 12px !important;
  }

  .footer__links {
    align-items: center !important;
  }

  .footer__links a {
    font-size: 13px !important;
  }

  .footer__social {
    justify-content: center !important;
  }

  .footer__social a {
    width: 36px !important;
    height: 36px !important;
  }

  .footer__bottom {
    flex-direction: column !important;
    gap: 10px !important;
    padding-top: 20px !important;
    font-size: 11px !important;
  }

  /* ===================== UTILITIES ===================== */

  .section-divider {
    height: 30px !important;
  }

  .section-divider svg {
    height: 30px !important;
  }

  .page-connector-container,
  .custom-cursor,
  .custom-cursor-dot,
  .theme-toggle,
  .back-to-top {
    display: none !important;
  }

  /* Fix any remaining text overflow */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  span,
  a {
    max-width: 100% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
}

/* Extra small devices (under 380px) */
@media screen and (max-width: 380px) {
  .hero__title {
    font-size: 22px !important;
  }

  .hero__subtitle {
    font-size: 13px !important;
  }

  .section__title,
  .section__title-dark {
    font-size: 20px !important;
  }

  .samples-grid {
    grid-template-columns: 1fr !important;
  }

  .type-card .type-content {
    padding: 12px !important;
  }
}

/* ============================================================================
   FINAL LAYOUT REFINEMENTS
   ============================================================================ */
@media screen and (max-width: 768px) {

  /* 1. Hero Spacing */
  .hero__actions {
    margin-top: 15px !important;
    gap: 16px !important;
  }

  .hero__title {
    margin-bottom: 24px !important;
  }

  /* 2. Service Card Alignment */
  .service-card-dark {
    display: flex !important;
    flex-direction: column !important;
    min-height: 200px !important;
    /* Ensure consistent height */
  }

  .service-content {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  .service-card-dark h3 {
    margin: 0 !important;
    font-size: 16px !important;
    max-width: 80% !important;
  }

  .arrow-btn {
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0 !important;
  }

  /* 3. Calculator Spacing */
  .calculator__wizard {
    padding: 24px 16px !important;
    /* More top/bottom padding */
  }

  .wizard-step h3 {
    margin-bottom: 24px !important;
  }

  .type-grid {
    gap: 12px !important;
  }

  .wizard-actions {
    margin-top: 32px !important;
  }

  /* 4. Process Timeline Polish */
  .process-timeline {
    padding-left: 24px !important;
  }

  .process-timeline::before {
    left: 8px !important;
    /* Align line with dots */
  }

  .process-item::before {
    left: -21px !important;
    /* Stick dot to line */
    width: 10px !important;
    height: 10px !important;
    top: 22px !important;
    /* Vertically center with title */
  }

  /* 5. Contact Form Spacing */
  .contact__form.glass-card {
    padding: 24px !important;
  }

  .form-group label {
    margin-bottom: 8px !important;
  }
}

/* ============================================================================
   ROBUST MENU FIXES (User Requested)
   ============================================================================ */
@media screen and (max-width: 768px) {

  /* 1. Header & Opener Stacking */
  .header {
    z-index: 1100 !important;
    /* High enough to be above menu */
    background: rgba(5, 10, 30, 0.6) !important;
    /* Deep Midnight Blue - More Transparent for Glass */
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2) !important;
  }

  .mobile-menu-btn {
    display: flex !important;
    z-index: 1101 !important;
    /* Above header */
    background: rgba(255, 255, 255, 0.15) !important;
    /* Visible background */
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
  }

  .mobile-menu-btn span {
    background: white !important;
    height: 2px !important;
    width: 20px !important;
  }

  /* 2. Menu Slide BEHIND Header - Starts Below Header */
  .nav {
    position: fixed !important;
    top: 70px !important;
    /* Start BELOW header */

    /* Match Header Width (Floating Pill) */
    left: 12px !important;
    right: 12px !important;
    width: auto !important;

    /* 3. Limited Height (Auto) */
    height: auto !important;
    max-height: 70vh !important;
    overflow-y: auto !important;

    /* Padding for content */
    padding: 20px !important;

    /* 4. Glass Transparent Dark */
    background: rgba(15, 15, 25, 0.92) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;

    /* Silver Glass Border */
    border: 1px solid rgba(192, 192, 210, 0.35) !important;

    border-radius: 20px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5) !important;

    /* Animation - Slide down from above */
    transform: translateY(-30px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 999 !important;
    /* Behind header (1100) */
  }

  .nav.active {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Polish Menu Items */
  .nav__list {
    background: transparent !important;
  }

  .nav__list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  }

  .nav__list a {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    padding: 18px 0 !important;
  }
}

/* ============================================================================
   REMOVE INDIVIDUAL SECTION SCROLLING
   ============================================================================ */
@media screen and (max-width: 768px) {

  /* Remove ALL scroll containers from sections */
  section,
  .hero,
  .services,
  .calculator,
  .features,
  .portfolio,
  .process,
  .testimonials,
  .contact,
  .footer,
  .services__grid,
  .features__grid,
  .portfolio__grid,
  .testimonials__grid,
  .process-timeline {
    overflow: visible !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    max-height: none !important;
    height: auto !important;
    scroll-snap-type: none !important;
    -webkit-overflow-scrolling: auto !important;
  }

  /* Make testimonials HORIZONTAL SLIDER with auto-slide */
  .testimonials__grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 10px 16px 20px !important;
    scrollbar-width: none !important;
  }

  .testimonials__grid::-webkit-scrollbar {
    display: none !important;
  }

  .testimonial-card {
    flex: 0 0 85% !important;
    min-width: 85% !important;
    width: 85% !important;
    scroll-snap-align: center !important;
  }

  /* Ensure smooth full-page scroll */
  html,
  body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scroll-behavior: smooth !important;
    scroll-snap-type: none !important;
  }

  /* ============ CONTACT FORM FIX ============ */
  .contact {
    padding: 50px 16px !important;
  }

  .contact__content {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  .contact__form {
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
  }

  .form-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .form-group {
    width: 100% !important;
    margin-bottom: 16px !important;
  }

  .form-group label {
    display: block !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
  }

  .form-group input,
  .form-group select,
  .form-group textarea,
  .glass-input {
    width: 100% !important;
    padding: 14px 16px !important;
    font-size: 15px !important;
    border: 2px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 1) !important;
    box-sizing: border-box !important;
    color: #333 !important;
  }

  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus,
  .glass-input:focus {
    border-color: var(--color-primary) !important;
    outline: none !important;
  }

  .form-group textarea {
    min-height: 120px !important;
    resize: vertical !important;
  }

  .contact__form .btn,
  .contact__form button[type="submit"] {
    width: 100% !important;
    padding: 16px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    margin-top: 8px !important;
  }

  /* ============ FOOTER REDESIGN - CLEAN & COMPACT ============ */
  .footer {
    padding: 40px 20px 30px !important;
    background: linear-gradient(180deg, #0a0a12 0%, #0f0f18 100%) !important;
  }

  .footer__grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
    text-align: center !important;
  }

  .footer__brand {
    order: 1 !important;
  }

  .footer__logo {
    font-size: 20px !important;
    margin-bottom: 10px !important;
  }

  .footer__desc {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    max-width: 280px !important;
    margin: 0 auto !important;
    line-height: 1.5 !important;
  }

  /* Hide Menu Column on Mobile - Use Header Menu Instead */
  .footer__col:nth-child(2) {
    display: none !important;
  }

  /* Contacts - Compact Horizontal */
  .footer__col:nth-child(3) {
    order: 2 !important;
  }

  .footer__title {
    font-size: 14px !important;
    margin-bottom: 12px !important;
    color: rgba(255, 255, 255, 0.7) !important;
  }

  .footer__contacts {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .footer__contacts li,
  .footer__contacts a {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.6) !important;
  }

  /* Social - Compact Row */
  .footer__col:nth-child(4) {
    order: 3 !important;
  }

  .footer__social {
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
  }

  .footer__social a {
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    transition: all 0.2s !important;
  }

  .footer__social a:hover {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
  }

  /* Bottom Bar */
  .footer__bottom {
    padding: 16px 0 0 !important;
    margin-top: 24px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  }

  .footer__bottom p {
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.3) !important;
  }
}

/* ============================================
   CREATIVE BENTO PORTFOLIO GRID
   ============================================ */

.portfolio__grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  grid-auto-rows: 250px !important;
  gap: 24px !important;
  padding: 0 10px;
}

.portfolio-item {
  position: relative;
  background: #000;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  isolation: isolate;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

/* Grid layout assignments */
.item-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.item-vertical {
  grid-column: span 1;
  grid-row: span 2;
}

.item-standard {
  grid-column: span 1;
  grid-row: span 1;
}

.item-wide {
  grid-column: span 2;
  grid-row: span 1;
}

/* Image Handling */
.portfolio-img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.05);
}

.img-placeholder {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* Tag style */
.item-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

/* Content Overlay - Modern Clean Style */
.portfolio-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  z-index: 2;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  pointer-events: none;
  /* Let clicks pass through if needed, but we have button */
}

.content-inner {
  transform: translateY(10px);
  transition: transform 0.4s ease;
  pointer-events: auto;
}

.portfolio-item:hover .content-inner {
  transform: translateY(0);
}

.project-category {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.portfolio-content h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.portfolio-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin: 0 0 1.2rem 0;
  opacity: 0.8;
  max-width: 90%;
}

/* Buttons */
.btn-text {
  display: inline-flex;
  align-items: center;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
  transition: all 0.3s;
}

.btn-text:hover {
  border-color: white;
  padding-right: 5px;
}

.btn-text .arrow {
  margin-left: 6px;
  transition: transform 0.3s;
}

.btn-text:hover .arrow {
  transform: translate(3px, -3px);
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}

.btn-icon:hover {
  background: white;
  color: black;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 250px !important;
  }

  .item-featured {
    grid-column: span 2;
    grid-row: span 2;
  }

  .item-vertical {
    grid-column: span 1;
    grid-row: span 2;
  }

  .item-standard {
    grid-column: span 1;
    grid-row: span 1;
  }

  .item-wide {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 576px) {
  .portfolio__grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  .portfolio-item {
    height: 350px !important;
    width: 100% !important;
  }

  .item-featured {
    height: 400px !important;
  }
}

/* ============================================
   HORIZONTAL INFINITE MARQUEE SLIDER
   ============================================ */

.portfolio-marquee {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  /* Break out of container to full width */
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
  background: transparent;
}

.portfolio-marquee::before,
.portfolio-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.portfolio-marquee::before {
  left: 0;
  background: linear-gradient(to right, #f8f9fa, transparent);
  /* Matches section bg */
}

.portfolio-marquee::after {
  right: 0;
  background: linear-gradient(to left, #f8f9fa, transparent);
}

[data-theme="dark"] .portfolio-marquee::before {
  background: linear-gradient(to right, #0f0f1a, transparent);
}

[data-theme="dark"] .portfolio-marquee::after {
  background: linear-gradient(to left, #0f0f1a, transparent);
}

.marquee-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scroll 40s linear infinite;
  padding-left: 30px;
  /* Initial offset */
}

.portfolio-marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.portfolio-card {
  position: relative;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.card-wide {
  width: 500px;
  flex: 0 0 500px;
}

.card-standard {
  width: 350px;
  flex: 0 0 350px;
}

.portfolio-card:hover {
  transform: translateY(-5px) scale(1.02);
  z-index: 5;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Internal Styles (Reusing logic but ensuring specificity) */
.portfolio-card .portfolio-img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.1);
}

.portfolio-card .item-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.portfolio-card .portfolio-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 10%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 50%;
  opacity: 1;
  /* Always visible for slider */
  transition: opacity 0.3s;
}

.portfolio-card .project-category {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.portfolio-card h3 {
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.8rem 0;
  line-height: 1.2;
}

.btn-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  backdrop-filter: blur(4px);
  transition: all 0.2s;
  align-self: flex-start;
}

.btn-arrow:hover {
  background: white;
  color: black;
  transform: rotate(45deg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .portfolio-marquee {
    padding: 1rem 0;
  }

  .portfolio-card {
    height: 350px;
  }

  .card-wide {
    width: 350px;
    flex: 0 0 350px;
  }

  .card-standard {
    width: 280px;
    flex: 0 0 280px;
  }

  .portfolio-card h3 {
    font-size: 1.2rem;
  }
}

/* ============================================================================
   MOBILE SECTION SPACING FIX
   ============================================================================ */
@media screen and (max-width: 768px) {

  /* Add spacing between Hero and Services */
  .services {
    margin-top: 70px !important;
    padding-top: 50px !important;
  }

  /* Add spacing between Services and Calculator */
  .calculator {
    margin-top: 80px !important;
    padding-top: 50px !important;
  }

  /* Add some bottom padding to Hero */
  .hero {
    padding-bottom: 30px !important;
  }

  /* Hero buttons - smaller and more comfortable on mobile */
  .hero__actions {
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
  }

  .hero__actions .btn,
  .hero__actions .btn--primary,
  .hero__actions .btn--outline {
    padding: 8px 28px !important;
    font-size: 11px !important;
    letter-spacing: 1px !important;
    width: auto !important;
    text-align: center !important;
    min-height: 36px !important;
    min-width: 160px !important;
  }

  /* FINAL HERO TICKER FIX */
  .hero {
    display: block !important;
    position: relative !important;
    padding-top: 100px !important;
    padding-bottom: 90px !important;
    /* Space for ticker */
    height: auto !important;
    min-height: auto !important;
  }

  .hero-ticker {
    display: block !important;
    visibility: visible !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    background: rgba(10, 10, 15, 0.95) !important;
    padding: 6px 0 !important;
    z-index: 50 !important;
    border-radius: 0 !important;
    transform: none !important;
  }

  /* Smaller ticker cards on mobile */
  .hero-ticker .ticker-text-card {
    height: 65px !important;
    width: 110px !important;
    padding: 4px !important;
    border-radius: 5px !important;
  }

  .hero-ticker .ticker-text-card h3 {
    font-size: 0.55rem !important;
    line-height: 1.1 !important;
  }

  .hero-ticker .ticker-text-card .icon {
    font-size: 0.85rem !important;
    margin-bottom: 1px !important;
  }

  .hero-ticker .ticker-text-card span {
    font-size: 0.45rem !important;
    margin-top: 1px !important;
    padding: 1px 3px !important;
  }

  .hero-ticker .ticker-image-only {
    height: 45px !important;
    margin-right: 6px !important;
  }
}

/* ===========================================
   PORTFOLIO LIGHTBOX
   =========================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox-content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
  height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  z-index: 2001;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--color-primary);
  text-decoration: none;
  cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgba(0, 0, 0, 0.3);
}

.lightbox-next {
  right: 16px;
  border-radius: 3px 0 0 3px;
}

.lightbox-prev {
  left: 16px;
  border-radius: 3px 0 0 3px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: var(--color-primary);
}


/* ===========================================
   13. NEW PREMIUM LIGHTBOX
   =========================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: none;
  /* Changed from flex to none */
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px;
}

.lightbox-modal.active {
  display: flex;
  /* Changed from just visibility/opacity */
  opacity: 1;
  visibility: visible;
  /* Keep for transition if needed, though display usually kills it */
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.lightbox-content {
  position: relative;
  width: 100%;
  max-width: 1000px;
  background: rgba(25, 25, 35, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  transform: scale(0.95);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
}

.lightbox-close:hover {
  background: var(--color-primary);
  transform: rotate(90deg);
}

.lightbox-body {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .lightbox-body {
    flex-direction: row;
    height: 500px;
  }
}

.lightbox-image-container {
  flex: 1.5;
  background: #000;
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

.lightbox-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-details {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.lightbox-category {
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.lightbox-title {
  color: white;
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 700;
}

.lightbox-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.lightbox-meta {
  display: flex;
  gap: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.meta-label {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.meta-value {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .lightbox-title {
    font-size: 1.8rem;
  }

  .lightbox-details {
    padding: 25px;
  }
}

/* ===========================================
   14. MOBILE OPTIMIZATIONS & FIXES
   =========================================== */

/* Process Section - Mobile Vertical Layout */
@media (max-width: 768px) {
  .process-timeline {
    padding-left: 20px;
    position: relative;
  }

  .process-timeline::before {
    content: '';
    position: absolute;
    left: 29px;
    /* Align with dots */
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 107, 0, 0.1);
    z-index: 0;
  }

  .process-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding-left: 30px;
    gap: 15px;
    margin-bottom: 40px;
  }

  .process-center {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 100%;
    display: flex;
    justify-content: center;
  }

  .process-line {
    display: none !important;
    /* Hide original center line */
  }

  .process-dot {
    margin-top: 5px;
    /* Align with title */
  }

  .process-left {
    order: 2;
    width: 100%;
    text-align: left;
    display: flex;
    gap: 15px;
    align-items: center;
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }

  .process-right {
    order: 1;
    width: 100%;
    text-align: left;
  }

  .process-role {
    font-size: 0.75rem;
  }
}

/* Social Icons Fix in Contact Section */
.contact__footer .social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.contact__footer .social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact__footer .social-icon:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

/* Footer Overflow Fix */
.footer {
  overflow: hidden;
  width: 100%;
}

/* ==========================================================================
   FORCE OVERRIDES FOR HERO SECTION - FIXED BY ANTIGRAVITY
   ========================================================================== */
.hero {
  background:
    linear-gradient(135deg,
      rgba(26, 26, 46, 0.92) 0%,
      rgba(42, 42, 114, 0.85) 50%,
      rgba(26, 26, 46, 0.90) 100%),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') !important;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed !important;
}

.hero__content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  gap: 2rem !important;
}

.hero__image-wrapper,
.hero__blob,
.hero__visual,
.hero__floating-stat,
.hero-logo-display {
  display: none !important;
}

.hero__text {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 800px !important;
  margin: 0 auto !important;
}

.hero__title {
  color: #ffffff !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5) !important;
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.9) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}

.hero__actions {
  display: flex !important;
  justify-content: center !important;
  gap: 1.5rem !important;
}

.hello-badge {
  color: white !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.hero__actions .btn--outline {
  border: 2px solid rgba(255, 255, 255, 0.6) !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
}

.hero__actions .btn--outline:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--color-secondary) !important;
  border-color: #ffffff !important;
}


/* Force Header Text White */
.nav__list a {
  color: #ffffff !important;
}

.header .logo {
  color: #ffffff !important;
}

/* Ensure mobile menu icon is white */
.mobile-menu-btn span {
  background-color: #ffffff !important;
}


/* FORCE ALL HEADER TEXT WHITE */
.header .nav__list a,
.header .logo,
.header .lang-btn,
.header .logo-accent {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.header .lang-btn {
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.header .lang-btn.active {
  background-color: #ffffff !important;
  color: #000000 !important;
  /* Active lang button black text on white */
  border-color: #ffffff !important;
}


/* Restore Group Color to Orange */
.header .logo .logo-accent {
  color: #FF6B00 !important;
  /* Brand Orange */
  text-shadow: none !important;
}


/* Header Scrolled State - Dark Text for White Background */
.header.scrolled .nav__list a,
.header.scrolled .logo {
  color: #1a1a2e !important;
  text-shadow: none !important;
}

.header.scrolled .logo .logo-accent {
  color: #FF6B00 !important;
}

.header.scrolled .lang-btn {
  color: #1a1a2e !important;
  border-color: rgba(0, 0, 0, 0.3) !important;
  background: transparent !important;
  text-shadow: none !important;
}

.header.scrolled .lang-btn.active {
  background-color: #FF6B00 !important;
  color: #ffffff !important;
  border-color: #FF6B00 !important;
}

.header.scrolled .mobile-menu-btn span {
  background-color: #1a1a2e !important;
}


/* ==========================================================================
   HEADER STATES - TOP (White) vs SCROLLED (Dark)
   ========================================================================== */

/* TOP OF PAGE - Header on dark hero - WHITE TEXT */
.header:not(.scrolled) .nav__list a {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

.header:not(.scrolled) .logo {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

.header:not(.scrolled) .logo .logo-accent {
  color: #FF6B00 !important;
  text-shadow: none !important;
}

.header:not(.scrolled) .lang-btn {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  text-shadow: none !important;
}

.header:not(.scrolled) .lang-btn.active {
  background-color: #FF6B00 !important;
  color: #ffffff !important;
  border-color: #FF6B00 !important;
}

.header:not(.scrolled) .mobile-menu-btn span {
  background-color: #ffffff !important;
}


/* ==========================================================================
   CALCULATOR SAMPLE CARDS - 5 COLUMN GRID WITH IMAGES
   ========================================================================== */
.samples-grid-5 {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 1rem !important;
}

.samples-grid-5 .sample-card {
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
}

.samples-grid-5 .sample-img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  background: #f0f0f0;
}

.samples-grid-5 .sample-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.samples-grid-5 .sample-card span {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.3;
  padding: 0 0.25rem;
}

.samples-grid-5 .sample-card input[type='radio']:checked+.sample-img {
  border-color: var(--color-primary) !important;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.samples-grid-5 .sample-card:hover .sample-img {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Mobile responsive for 5 cards */
@media (max-width: 992px) {
  .samples-grid-5 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 576px) {
  .samples-grid-5 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .samples-grid-5 .sample-card span {
    font-size: 0.65rem;
  }
}


/* ============================================
   PREMIUM SAMPLE CARD OVERRIDES (Home Page)
   ============================================ */

.sample-card {
  position: relative;
  cursor: pointer;
  border: 2px solid transparent !important;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, rgba(30, 30, 35, 0.9), rgba(20, 20, 25, 0.95)) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sample-card:hover {
  border-color: rgba(255, 107, 0, 0.6) !important;
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 12px 30px rgba(255, 107, 0, 0.15), 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

.sample-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.sample-card:has(input:checked) {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 2px var(--color-primary), 0 8px 25px rgba(255, 107, 0, 0.25) !important;
}

.sample-card:has(input:checked)::before {
  content: "??�";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  color: white;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.4);
}

.sample-img {
  width: 100%;
  height: 140px !important;
  background: linear-gradient(180deg, #1a1a1f 0%, #0d0d10 100%) !important;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sample-img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  pointer-events: none;
}

.sample-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.sample-card:hover .sample-img img {
  transform: scale(1.08);
}

.sample-card span {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 14px 12px !important;
  text-align: center;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  color: #e8e8e8 !important;
  background: linear-gradient(180deg, rgba(35, 35, 40, 0.95) 0%, rgba(25, 25, 30, 1) 100%) !important;
  text-transform: uppercase;
  line-height: 1.4;
  flex-grow: 1;
  min-height: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.sample-card span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 0, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sample-card:hover span::before {
  opacity: 1;
}

.sample-card:hover span {
  color: #ffffff !important;
}

.sample-card input:checked~span {
  background: linear-gradient(180deg, var(--color-primary) 0%, #cc5500 100%) !important;
  color: #ffffff !important;
}

.sample-card input:checked~.sample-img {
  opacity: 1;
}

.sample-card input:checked~.sample-img::after {
  display: none;
}

/* ============================================
   INDUSTRIES SECTION - LIGHT THEME
   ============================================ */
.industries-section {
  padding: 100px 0;
  background: var(--color-bg);
  /* Light background matching other sections */
  position: relative;
  overflow: hidden;
}

/* Background Ambient Glow for Industries */
.industries-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 107, 0, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.industries-header {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
  z-index: 1;
}

.industries-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 107, 0, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(255, 107, 0, 0.2);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  backdrop-filter: blur(5px);
}

.industries-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.industries-title .highlight {
  background: linear-gradient(135deg, #FF6B00 0%, #FF8534 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-top: 5px;
  filter: drop-shadow(0 0 20px rgba(255, 107, 0, 0.3));
}

.industries-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

@media (max-width: 1200px) {
  .industries-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .industries-section {
    padding: 60px 0;
  }
}

.industry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  /* Light glass card */
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Hover Effect: Card Lift */
.industry-card:hover {
  transform: translateY(-8px);
  background: #ffffff;
  border-color: rgba(255, 107, 0, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1), 0 0 20px rgba(255, 107, 0, 0.08);
}

.industry-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 107, 0, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 107, 0, 0.1);
}

.industry-icon svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 0 5px rgba(255, 107, 0, 0.5));
}

.industry-card:hover .industry-icon {
  background: var(--color-primary);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(255, 107, 0, 0.6);
  /* Intense glow on hover */
  border-color: transparent;
}

.industry-card:hover .industry-icon svg {
  transform: rotate(-10deg) scale(1.1);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

.industry-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  line-height: 1.4;
  transition: color 0.3s;
}

.industry-card:hover .industry-name {
  color: var(--color-primary);
}

.industries-cta {
  text-align: center;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.industries-cta p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.industries-link {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 107, 0, 0.3);
  transition: all 0.3s ease;
}

.industries-link:hover {
  color: #ff8534;
  border-bottom-color: var(--color-primary);
  text-shadow: 0 0 15px rgba(255, 107, 0, 0.6);
}

/* ============================================
   TABLET / iPad RESPONSIVE FIXES (769px - 1024px)
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {

  /* === GLOBAL === */
  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 24px;
  }

  /* === HEADER === */
  .header {
    padding: 0.8rem 1.2rem;
    width: 95%;
    max-width: none;
  }

  .header__container {
    gap: 0.5rem;
  }

  .logo {
    font-size: 1.15rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .nav__list {
    gap: 1rem;
  }

  .nav__list a {
    font-size: 0.82rem;
    padding: 0.4rem 0;
    white-space: nowrap;
  }

  .header__actions {
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .lang-switcher {
    gap: 4px;
  }

  .lang-btn {
    padding: 0.35rem 0.7rem;
    font-size: 0.7rem;
    min-width: auto;
  }

  /* === HERO === */
  .hero {
    min-height: 100vh;
    padding: 7rem 0 4rem;
  }

  .hero__title {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .hero__subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hello-badge::after {
    font-size: 1rem;
    top: -12px;
    right: -8px;
  }

  .hero__stats-mobile {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
  }

  .hero__actions .btn {
    padding: 1rem 2rem;
    font-size: 0.8rem;
  }

  /* === HERO TICKER === */
  .hero-ticker {
    bottom: 6rem;
  }

  /* === SERVICES SECTION === */
  .services {
    margin: 2rem 0.5rem 1rem;
    padding: 4rem 0;
    border-radius: 24px;
  }

  .section-header-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .section__title-dark {
    font-size: 2rem;
  }

  .section__desc-dark {
    text-align: left;
    max-width: 100%;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem;
  }

  .service-img-wrapper {
    height: 180px;
  }

  /* === CALCULATOR === */
  .calculator {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .type-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* === INDUSTRIES === */
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  /* === FEATURES / ADVANTAGES === */
  .features {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
  }

  .feature-item {
    padding: 2rem 1.2rem;
  }

  .feature-item h3 {
    font-size: 1.1rem;
  }

  .feature-stat .stat-counter {
    font-size: 2rem;
  }

  /* === PORTFOLIO === */
  .portfolio {
    padding: 5rem 0 6rem;
  }

  /* === PROCESS TIMELINE === */
  .process-timeline {
    max-width: 700px;
    padding: 0 1rem;
  }

  .process-item {
    grid-template-columns: 1fr 50px 1fr;
    gap: 1rem;
  }

  .process-role {
    font-size: 0.95rem;
  }

  .process-right h3 {
    font-size: 1rem;
  }

  .process-right p {
    font-size: 0.85rem;
  }

  /* === TESTIMONIALS === */
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.2rem;
  }

  .testimonials__grid .testimonial-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }

  /* === CONTACT SECTION === */
  .contact__content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact__form {
    padding: 2rem;
  }

  .form-row {
    gap: 1rem;
  }

  /* === FLOATING BUTTONS === */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }

  .theme-toggle {
    bottom: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  /* === SECTION HEADERS === */
  .section-header-center {
    margin-bottom: 3rem;
  }

  .section__title {
    font-size: 2rem;
  }

  .section__subtitle {
    font-size: 0.95rem;
  }

  /* === SECTIONS PADDING === */
  .section {
    padding: 5rem 0;
  }

  /* === PAGE CONNECTOR === */
  .page-connector-container {
    opacity: 0.15;
  }
}

/* ========== TICKER TEXT CARD — Neon Centered ========== */
.ticker-text-card {
  flex-shrink: 0 !important;
  width: 140px !important;
  height: 85px !important;
  border-radius: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* CENTER ALIGNMENT */
  text-align: center;
  /* CENTER TEXT */
  padding: 8px 10px;
  overflow: hidden;
  user-select: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 15, 0.85);
  /* Deep dark background */
}

/* ---- Variant: ORANGE (Neon) ---- */
.ticker-text-card.v-orange {
  border-color: rgba(255, 107, 0, 0.6);
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.15), inset 0 0 10px rgba(255, 107, 0, 0.05);
}

.ticker-text-card.v-orange h3 {
  color: #FF8C38;
  text-shadow: 0 0 8px rgba(255, 107, 0, 0.6);
}

.ticker-text-card.v-orange span {
  color: #fff;
  background: rgba(255, 107, 0, 0.8);
}

/* ---- Variant: WHITE (Cool Blue/White Neon) ---- */
.ticker-text-card.v-white {
  border-color: rgba(200, 220, 255, 0.6);
  box-shadow: 0 0 15px rgba(200, 220, 255, 0.15), inset 0 0 10px rgba(200, 220, 255, 0.05);
}

.ticker-text-card.v-white h3 {
  color: #E0EFFF;
  text-shadow: 0 0 8px rgba(200, 220, 255, 0.6);
}

.ticker-text-card.v-white span {
  color: #000;
  background: rgba(200, 220, 255, 0.9);
}

/* ---- Variant: DARK (Ultraviolet) ---- */
.ticker-text-card.v-dark {
  border-color: rgba(120, 50, 255, 0.6);
  box-shadow: 0 0 15px rgba(120, 50, 255, 0.2), inset 0 0 10px rgba(120, 50, 255, 0.1);
}

.ticker-text-card.v-dark h3 {
  color: #B088FF;
  text-shadow: 0 0 8px rgba(120, 50, 255, 0.6);
}

.ticker-text-card.v-dark span {
  color: #fff;
  background: rgba(120, 50, 255, 0.8);
}

/* ---- Variant: GREEN (Cyber) ---- */
.ticker-text-card.v-green {
  border-color: rgba(0, 255, 170, 0.5);
  box-shadow: 0 0 15px rgba(0, 255, 170, 0.15), inset 0 0 10px rgba(0, 255, 170, 0.05);
}

.ticker-text-card.v-green h3 {
  color: #5AFFC5;
  text-shadow: 0 0 8px rgba(0, 255, 170, 0.5);
}

.ticker-text-card.v-green span {
  color: #003322;
  background: rgba(0, 255, 170, 0.9);
}

/* Hover Glow */
.ticker-text-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.15), inset 0 0 20px rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.8);
  z-index: 10;
}

/* Typography */
.ticker-text-card h3 {
  font-family: 'Inter', 'Noto Sans', sans-serif;
  font-size: 0.8rem;
  /* Slightly larger */
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 6px 0;
  width: 100%;
  /* No clamp - centered fits better */
  white-space: normal;
}

/* Sub-badge (Pill) */
.ticker-text-card span {
  font-family: 'Inter', 'Noto Sans', sans-serif;
  font-size: 0.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border-radius: 10px;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Remove old decorative elements */
.ticker-text-card::before,
.ticker-text-card::after {
  display: none;
}