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

:root {
  --primary: #6c5ce7;
  --primary-dark: #5a4bd1;
  --primary-light: #a29bfe;
  --accent-orange: #ff6b35;
  --accent-green: #00b894;
  --accent-pink: #e84393;
  --accent-blue: #0984e3;
  --accent-red: #d63031;
  --accent-teal: #00cec9;
  --bg-dark: #0a0a1a;
  --bg-card: #12122a;
  --bg-card-hover: #1a1a3e;
  --bg-section: #0f0f24;
  --text-primary: #ffffff;
  --text-secondary: #a0a0c0;
  --text-muted: #6c6c8a;
  --border-color: rgba(108, 92, 231, 0.15);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.3);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(108, 92, 231, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== LIGHT MODE ===== */
[data-theme="light"] {
  --bg-dark: #f5f5fa;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f0f8;
  --bg-section: #eeeef6;
  --text-primary: #1a1a2e;
  --text-secondary: #555580;
  --text-muted: #8888aa;
  --border-color: rgba(108, 92, 231, 0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.1);
  --shadow-glow: 0 0 40px rgba(108, 92, 231, 0.08);
}

[data-theme="light"] .hero {
  background: radial-gradient(ellipse at 20% 50%, rgba(108, 92, 231, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(255, 107, 53, 0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 80%, rgba(232, 67, 147, 0.05) 0%, transparent 50%),
              var(--bg-dark);
}

[data-theme="light"] .hero-bg-overlay {
  opacity: 0.3;
}

[data-theme="light"] .slide-overlay {
  background: linear-gradient(
    to bottom,
    rgba(245, 245, 250, 0.45) 0%,
    rgba(245, 245, 250, 0.3) 40%,
    rgba(245, 245, 250, 0.65) 100%
  );
}

[data-theme="light"] .hero-title {
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

[data-theme="light"] .hero-subtitle {
  color: rgba(26,26,46,0.8);
  text-shadow: 0 1px 8px rgba(255,255,255,0.5);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(10, 10, 26, 0.92);
  border-bottom: 1px solid rgba(108, 92, 231, 0.15);
}

[data-theme="light"] .nav-links a {
  color: #a0a0c0;
}

[data-theme="light"] .nav-links a:hover {
  color: #fff;
  background: rgba(108, 92, 231, 0.1);
}

[data-theme="light"] .feature-card:hover,
[data-theme="light"] .service-card:hover,
[data-theme="light"] .industry-card:hover,
[data-theme="light"] .why-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

[data-theme="light"] .service-card::before {
  opacity: 0.6;
}

[data-theme="light"] .contact-form {
  background: var(--bg-card);
  border-color: var(--border-color);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
  background: rgba(0,0,0,0.02);
  border-color: rgba(0,0,0,0.1);
  color: var(--text-primary);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group select:focus,
[data-theme="light"] .form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(108, 92, 231, 0.03);
}

[data-theme="light"] .form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

[data-theme="light"] .file-upload {
  border-color: rgba(0,0,0,0.1);
}

[data-theme="light"] .mobile-toggle span {
  background: #fff;
}

[data-theme="light"] .nav-links.active {
  background: rgba(10, 10, 26, 0.98);
}

[data-theme="light"] .slider-arrow {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.1);
  color: var(--text-primary);
}

[data-theme="light"] .slider-arrow:hover {
  background: var(--primary);
  color: #fff;
}

[data-theme="light"] .slider-dot {
  background: rgba(0,0,0,0.15);
}

[data-theme="light"] .slider-dot:hover {
  background: rgba(0,0,0,0.3);
}

[data-theme="light"] .back-to-top {
  background: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-primary);
}

[data-theme="light"] .scroll-arrow {
  border-color: var(--text-muted);
}

[data-theme="light"] .hero-note {
  color: var(--text-muted);
}

[data-theme="light"] .footer {
  border-top-color: var(--border-color);
}

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.theme-toggle:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: rotate(15deg);
}

.theme-icon-dark,
.theme-icon-light {
  position: absolute;
  font-size: 1.15rem;
  transition: var(--transition);
}

/* Default: dark mode — show moon, hide sun */
.theme-icon-dark {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-icon-light {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

/* Light mode: show sun, hide moon */
[data-theme="light"] .theme-icon-dark {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

[data-theme="light"] .theme-icon-light {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-toggle {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
}

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

body {
  font-family: var(--font-main);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

img { max-width: 100%; }

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--accent-orange), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-main);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.6);
  color: #fff;
}

.btn-secondary {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(255,255,255,0.25);
}

.btn-outline:hover {
  border-color: var(--primary-light);
  background: rgba(108, 92, 231, 0.1);
  color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  box-shadow: 0 4px 20px rgba(225, 48, 108, 0.3);
}

.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(225, 48, 108, 0.5);
  color: #fff;
}

.btn-facebook {
  background: linear-gradient(135deg, #1877f2, #0d5bbd);
  color: #fff;
  box-shadow: 0 4px 20px rgba(24, 119, 242, 0.3);
}

.btn-facebook:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(24, 119, 242, 0.5);
  color: #fff;
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 16px 28px;
  font-size: 1.05rem;
}

.btn-icon { font-size: 1.1em; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo:hover { opacity: 0.9; }

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
  background: #fff;
  border-radius: 8px;
  padding: 4px 10px;
}

.logo:hover .logo-img {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: #fff;
  background: rgba(108, 92, 231, 0.1);
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: #fff !important;
  padding: 10px 20px !important;
  font-weight: 700 !important;
}

.nav-cta:hover {
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.5);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 50%, rgba(108, 92, 231, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 80%, rgba(232, 67, 147, 0.08) 0%, transparent 50%),
              var(--bg-dark);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236c5ce7' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-light);
  border-radius: 50%;
  opacity: 0.3;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

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

.hero-slide[data-slide="0"] .hero-content {
  text-align: center !important;
  max-width: 55% !important;
  margin-left: 5% !important;
  margin-right: auto !important;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 1s;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

/* Slide background image */
.slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease-out;
}

.hero-slide.active .slide-image {
  transform: scale(1.08);
}

/* Dark overlay on images */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 26, 0.55) 0%,
    rgba(10, 10, 26, 0.4) 40%,
    rgba(10, 10, 26, 0.75) 100%
  );
  z-index: 1;
}

/* Per-slide animated children */
.hero-slide.active .hero-title {
  animation: slideTitleIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.15s both;
}

.hero-slide.active .hero-subtitle {
  animation: slideSubIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.35s both;
}

@keyframes slideTitleIn {
  from { opacity: 0; transform: translateY(30px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

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

/* Slider Controls */
.hero-slider-controls {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 8px;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.08);
}

.slider-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.slider-dot:hover {
  background: rgba(255,255,255,0.35);
}

.slider-dot.active {
  background: var(--primary);
  box-shadow: 0 0 12px rgba(108, 92, 231, 0.5);
  width: 32px;
  border-radius: 6px;
}

/* Progress bar inside active dot */
.slider-dot.active {
  position: relative;
  overflow: hidden;
}

.slider-dot.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(255,255,255,0.4);
  border-radius: 6px;
  animation: dotProgress 5s linear forwards;
}

@keyframes dotProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

/* Hero bottom (CTAs + Stats always visible) */
.hero-bottom {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-top: 16px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(108, 92, 231, 0.12);
  border: 1px solid rgba(108, 92, 231, 0.25);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-note {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

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

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeInUp 1s ease 1s both;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(8px); }
}

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== SECTION COMMON ===== */
section {
  padding: 100px 0;
}

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

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(108, 92, 231, 0.1);
  border: 1px solid rgba(108, 92, 231, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ===== ABOUT ===== */
.about {
  background: var(--bg-section);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(108, 92, 231, 0.3);
  transform: translateX(4px);
}

.feature-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(108, 92, 231, 0.1);
  border-radius: var(--radius-sm);
}

.feature-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== SERVICES ===== */
.services {
  background: var(--bg-dark);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-orange));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 92, 231, 0.3);
  box-shadow: var(--shadow-glow);
}

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

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.service-icon-wrap.orange { background: rgba(255, 107, 53, 0.12); }
.service-icon-wrap.green { background: rgba(0, 184, 148, 0.12); }
.service-icon-wrap.pink { background: rgba(232, 67, 147, 0.12); }
.service-icon-wrap.blue { background: rgba(9, 132, 227, 0.12); }
.service-icon-wrap.purple { background: rgba(108, 92, 231, 0.12); }
.service-icon-wrap.red { background: rgba(214, 48, 49, 0.12); }
.service-icon-wrap.teal { background: rgba(0, 206, 201, 0.12); }

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.service-list {
  list-style: none;
  margin-bottom: 20px;
}

.service-list li {
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  position: relative;
  padding-left: 80px;
}

.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-size: 0.8rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-light);
  transition: var(--transition);
}

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

/* ===== INDUSTRIES ===== */
.industries {
  background: var(--bg-section);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.industry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 92, 231, 0.3);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
}

.industry-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.industry-card h4 {
  font-size: 1rem;
  font-weight: 700;
}

/* ===== WHY CHOOSE US ===== */
.why-choose {
  background: var(--bg-dark);
}

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

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 92, 231, 0.3);
  box-shadow: var(--shadow-glow);
}

.why-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.why-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== PORTFOLIO ===== */
.portfolio {
  background: var(--bg-section);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.portfolio-card.large {
  grid-column: span 2;
}

.portfolio-placeholder {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.portfolio-card.large .portfolio-placeholder {
  height: 280px;
}

.portfolio-emoji {
  font-size: 4rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
  transition: var(--transition);
}

.portfolio-card:hover .portfolio-emoji {
  transform: scale(1.15);
}

.portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

.portfolio-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.portfolio-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Portfolio Slideshow Effect */
.portfolio-slideshow .slide-img:nth-child(1) {
  opacity: 1 !important;
}

.portfolio-card:hover .portfolio-slideshow .slide-img:nth-child(1) {
  opacity: 0 !important;
}

.portfolio-card:hover .portfolio-slideshow .slide-img:nth-child(2) {
  opacity: 1 !important;
  transition-delay: 0s !important;
}

.portfolio-card:hover .portfolio-slideshow .slide-img:nth-child(2) {
  animation: slideFadeInOut 3s ease-in-out infinite;
}

.portfolio-card:hover .portfolio-slideshow .slide-img:nth-child(3) {
  animation: slideFadeInOut 3s ease-in-out 1.5s infinite;
}

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

/* ===== PROCESS ===== */
.process {
  background: var(--bg-dark);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
  padding: 32px 20px;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4);
}

.step-connector {
  position: absolute;
  top: 63px;
  right: -24px;
  width: calc(100% - 64px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), rgba(108, 92, 231, 0.2));
  z-index: 1;
}

.process-step:last-child .step-connector {
  display: none;
}

.step-content h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--bg-section);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

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

.contact-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  background: rgba(108, 92, 231, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-item a:hover {
  color: var(--primary-light);
}

.contact-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.map-container {
  margin-top: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

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

.contact-form h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 28px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.required {
  color: var(--accent-orange);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(108, 92, 231, 0.05);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a0a0c0' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

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

.file-upload {
  position: relative;
  border: 2px dashed rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.file-upload:hover {
  border-color: var(--primary);
  background: rgba(108, 92, 231, 0.05);
}

.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 8px;
}

.file-upload p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.upload-link {
  color: var(--primary-light);
  font-weight: 600;
}

.file-upload small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

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

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

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

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-contact p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.footer-contact a {
  color: var(--text-secondary);
}

.footer-contact a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  text-align: center;
}

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

/* ===== SOCIAL FLOATING BUTTONS ===== */
.social-floats {
  position: fixed;
  bottom: 100px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.social-float {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition);
  color: #fff;
  text-decoration: none;
}

.social-float:hover {
  transform: scale(1.12);
  color: #fff;
}

.social-float.whatsapp {
  background: transparent;
  box-shadow: 0 4px 20px rgba(42, 79, 55, 0.782);
}

.social-float.whatsapp:hover {
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.social-float.instagram {
  background: transparent;
  box-shadow: 0 4px 20px rgba(225, 48, 108, 0.35);
}

.social-float.instagram:hover {
  box-shadow: 0 6px 30px rgba(225, 48, 108, 0.55);
}

.social-float.facebook {
  background: transparent;
  box-shadow: 0 4px 20px rgba(24, 119, 242, 0.35);
}

.social-float.facebook:hover {
  box-shadow: 0 6px 30px rgba(24, 119, 242, 0.55);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 998;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* ===== GALLERY MODAL ===== */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-modal.active {
  display: flex;
  opacity: 1;
}

.gallery-wrapper {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  width: 100%;
  height: 100%;
  gap: 0;
}

/* Thumbnails Grid */
.gallery-thumbnails {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 15px 20px;
  max-height: 130px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.3);
  width: 100%;
}

.gallery-thumbnails img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid transparent;
  opacity: 0.6;
  flex-shrink: 0;
}

.gallery-thumbnails img:hover {
  opacity: 1;
  transform: scale(1.05);
  border-color: var(--primary-light);
}

.gallery-thumbnails img.active {
  opacity: 1;
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(108, 92, 231, 0.6);
}

.gallery-content {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
}

.gallery-content img {
  max-width: 90%;
  max-height: calc(100vh - 160px);
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
  transition: opacity 0.3s ease;
}

/* Close Button - Top Right */
.gallery-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  line-height: 1;
}

.gallery-close:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.5);
}

/* Navigation Arrows - Sides of Image */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1.8rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}

.gallery-nav:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.5);
}

.gallery-prev {
  left: 30px;
}

.gallery-next {
  right: 30px;
}

/* Remove counter */
.gallery-counter {
  display: none;
}

/* ===== SERVICE IMAGE MODAL ===== */
.service-image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10002;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-image-modal.active {
  display: flex;
  opacity: 1;
}

.service-image-modal img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.7);
  animation: zoomIn 0.3s ease;
}

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

.service-image-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 10003;
}

.service-image-close:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.5);
}

.service-list li {
  transition: all 0.3s ease;
}

.service-list li:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

/* ===== ANIMATIONS (scroll reveal) ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .step-connector {
    display: none;
  }

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

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

@media (max-width: 768px) {
  .logo-img {
    height: 34px;
    padding: 3px 8px;
  }

  .hero-slide[data-slide="0"] .hero-content {
    text-align: center !important;
    max-width: 95% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 15px !important;
  }

  .hero-title {
    font-size: clamp(1.5rem, 7vw, 2.5rem);
    padding: 0 10px;
  }

  .hero-subtitle {
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    padding: 0 10px;
  }

  .hero-content {
    max-width: 95% !important;
    padding: 0 15px !important;
  }

  .slide-image {
    object-fit: cover;
    object-position: center;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 8px;
    transition: var(--transition);
    border-left: 1px solid var(--border-color);
  }

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

  .nav-links a {
    font-size: 1rem;
    padding: 12px 16px;
    width: 100%;
  }

  .mobile-toggle {
    display: flex;
    z-index: 1001;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

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

  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero-stats {
    gap: 24px;
  }

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

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

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

  .portfolio-card.large {
    grid-column: span 2;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  section {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card.large {
    grid-column: span 1;
  }

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

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

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }
}