/* ============================================
   SILVONZA GLOBAL - TRONIX THEME UPGRADE
   Inspired by Tronix IT theme screenshots
   ============================================ */

/* =============================================
   TOP INFO BAR (Tronix Style)
   ============================================= */
.tronix-topbar {
  background: #f0f4ff;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0 5%;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(15,23,42,0.1);
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 1200;
}

body.has-tronix-topbar .navbar {
  transform: translateY(38px);
}

body.has-tronix-topbar .navbar.scrolled {
  transform: translateY(0);
}

.tronix-topbar.is-hidden {
  transform: translateY(-100%);
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.tronix-topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tronix-topbar-left svg {
  color: var(--tronix-blue);
  flex-shrink: 0;
}

.tronix-topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.tronix-topbar-right a {
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tronix-topbar-right a:hover {
  color: var(--tronix-blue);
}

/* topbar already light */

/* Push navbar + content down for topbar */
/* removed topbar offset hacks */


/* =============================================
   CSS VARIABLES â€” TRONIX PALETTE
   ============================================= */
:root {
  --tronix-dark: #0d1b2a;
  --tronix-navy: #0f2b4c;
  --tronix-blue: #1565c0;
  --tronix-blue-light: #1e88e5;
  --tronix-blue-vivid: #2196f3;
  --tronix-card-bg: #ffffff;
  --tronix-card-border: #e2e8f0;
  --tronix-card-icon-bg: #eff6ff;
  --tronix-green: #10b981;

  /* Override root fonts with Plus Jakarta Sans */
  --font-display: 'Plus Jakarta Sans', 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
}


/* =============================================
   HERO SECTION â€” TRONIX SPLIT LAYOUT
   Two-column: text left, illustration right
   ============================================= */
.hero.tronix-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 120px 7% 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #f0f4ff 0%,
    #e8f0fe 45%,
    #f5f8ff 100%
  );
}

.hero.tronix-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Geometric grid overlay */
.hero.tronix-hero .hero-grid {
  background-image:
    linear-gradient(rgba(33,150,243,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33,150,243,0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(0,0,0,0.5), transparent 100%);
  animation: grid-shift 20s linear infinite;
}

@keyframes grid-shift {
  from { transform: translate(0, 0); }
  to { transform: translate(48px, 48px); }
}

/* ---- Hero Left Column ---- */
.tronix-hero-left {
  position: relative;
  z-index: 2;
}

.tronix-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 6px;
  background: rgba(33, 150, 243, 0.12);
  border: 1px solid rgba(33, 150, 243, 0.3);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #60a5fa;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInLeft 0.7s ease 0.1s both;
}

.tronix-hero-badge-dot {
  width: 20px;
  height: 20px;
  background: rgba(33, 150, 243, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tronix-hero-badge-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--tronix-blue-vivid);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--tronix-blue-vivid);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); box-shadow: 0 0 8px #2196f3; }
  50% { transform: scale(1.3); box-shadow: 0 0 16px #2196f3, 0 0 32px rgba(33,150,243,0.4); }
}

.tronix-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 22px;
  animation: fadeInLeft 0.7s ease 0.25s both;
}

.tronix-hero-title .tronix-highlight {
  color: var(--tronix-blue-vivid);
  position: relative;
  display: inline-block;
}

.tronix-hero-title .tronix-highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tronix-blue-vivid), transparent);
  border-radius: 2px;
  animation: underline-expand 1s ease 0.8s both;
  transform-origin: left;
}

@keyframes underline-expand {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.tronix-hero-subtitle {
  font-size: 1rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 36px;
  max-width: 520px;
  animation: fadeInLeft 0.7s ease 0.4s both;
}

.tronix-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInLeft 0.7s ease 0.55s both;
}

.tronix-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--tronix-blue-vivid);
  color: white;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(33, 150, 243, 0.4);
  position: relative;
  overflow: hidden;
}

.tronix-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.tronix-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(33, 150, 243, 0.5);
  background: #1976d2;
}

.tronix-btn-primary:hover::before {
  opacity: 1;
}

.tronix-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: transparent;
  color: #1e40af;
  border: 1.5px solid rgba(37,99,235,0.3);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tronix-btn-secondary:hover {
  border-color: var(--tronix-blue-vivid);
  color: var(--tronix-blue-vivid);
  background: rgba(33, 150, 243, 0.08);
}

/* Call box */
.tronix-call-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  animation: fadeInLeft 0.7s ease 0.7s both;
}

.tronix-call-icon {
  width: 44px;
  height: 44px;
  background: rgba(33, 150, 243, 0.15);
  border: 1px solid rgba(33, 150, 243, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tronix-blue-vivid);
  font-size: 1.1rem;
  flex-shrink: 0;
  animation: ring-pulse 3s ease-in-out infinite;
}

@keyframes ring-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(33,150,243,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(33,150,243,0); }
}

.tronix-call-text strong {
  display: block;
  color: var(--tronix-blue-vivid);
  font-size: 0.95rem;
  font-weight: 700;
}

.tronix-call-text span {
  font-size: 0.78rem;
  color: #64748b;
}


/* ---- Hero Right Column â€” Illustration ---- */
.tronix-hero-right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInRight 0.9s ease 0.3s both;
}

.tronix-hero-illustration {
  position: relative;
  width: 100%;
  max-width: 580px;
}

/* Blob background for illustration */
.tronix-hero-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  background: radial-gradient(ellipse 70% 60% at 55% 45%,
    rgba(37, 99, 235, 0.12),
    rgba(99, 102, 241, 0.08) 50%,
    transparent 75%
  );
  border-radius: 50%;
  animation: blob-morph 8s ease-in-out infinite;
  z-index: 0;
  will-change: border-radius, transform;
}

@keyframes blob-morph {
  0%, 100% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; transform: translate(-50%, -50%) scale(1); }
  33% { border-radius: 45% 55% 40% 60% / 60% 40% 60% 40%; transform: translate(-50%, -50%) scale(1.04); }
  66% { border-radius: 55% 45% 60% 40% / 40% 60% 40% 60%; transform: translate(-50%, -50%) scale(0.98); }
}

/* Floating tech icons around illustration */
.tronix-float-icon {
  position: absolute;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(15,23,42,0.12);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  z-index: 5;
  animation: float-badge 4s ease-in-out infinite;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  will-change: transform;
}

.tronix-float-icon:nth-child(2) { animation-delay: -1.5s; }
.tronix-float-icon:nth-child(3) { animation-delay: -3s; }

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

.tronix-float-icon-1 { top: 8%; right: -5%; }
.tronix-float-icon-2 { bottom: 18%; left: -8%; }
.tronix-float-icon-3 { top: 40%; right: -12%; }

.tronix-float-icon .fi-dot {
  width: 8px; height: 8px;
  background: var(--tronix-green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--tronix-green);
  flex-shrink: 0;
}

/* The main illustration image container */
.tronix-hero-img-wrap {
  position: relative;
  z-index: 2;
  border-radius: 24px;
  overflow: hidden;
}

.tronix-hero-img-wrap img {
  width: 100%;
  border-radius: 24px;
  display: block;
  position: relative;
  z-index: 1;
}

/* Animated border glow */
.tronix-hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(37, 99, 235, 0.5) 60deg,
    rgba(99, 102, 241, 0.3) 120deg,
    transparent 180deg,
    rgba(37, 99, 235, 0.4) 240deg,
    transparent 360deg
  );
  animation: border-rotate 4s linear infinite;
  z-index: 0;
  will-change: transform;
}

@keyframes border-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Hero stats bar */
.tronix-hero-stats {
  display: flex;
  gap: 0;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(15,23,42,0.1);
  animation: fadeInLeft 0.7s ease 0.85s both;
  grid-column: 1 / -1;
}

.tronix-stat-item {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.tronix-stat-item + .tronix-stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: rgba(255,255,255,0.07);
}

.tronix-stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--tronix-blue-vivid);
  line-height: 1;
  margin-bottom: 4px;
  display: block;
}

.tronix-stat-label {
  font-size: 0.78rem;
  color: #475569;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* =============================================
   SERVICE CARDS â€” TRONIX WHITE CARD STYLE
   ============================================= */
.tronix-services-section {
  background: #f8fafc;
  padding: 100px 7%;
}

html[data-theme="dark"] .tronix-services-section {
  background: var(--bg-secondary);
}

.tronix-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

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

@media (max-width: 640px) {
  .tronix-service-grid { grid-template-columns: 1fr; }
}

.tronix-service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

html[data-theme="dark"] .tronix-service-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

.tronix-service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tronix-blue-vivid), #60a5fa);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.tronix-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(33, 150, 243, 0.15), 0 4px 16px rgba(0,0,0,0.08);
  border-color: rgba(33, 150, 243, 0.3);
}

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

.tronix-service-icon-wrap {
  width: 68px;
  height: 68px;
  background: #eff6ff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background-color 0.4s ease, transform 0.4s ease;
}

html[data-theme="dark"] .tronix-service-icon-wrap {
  background: rgba(33, 150, 243, 0.12);
}

.tronix-service-card:hover .tronix-service-icon-wrap {
  background: var(--tronix-blue-vivid);
  transform: rotate(-5deg) scale(1.05);
}

.tronix-service-card:hover .tronix-service-icon-wrap svg,
.tronix-service-card:hover .tronix-service-icon-wrap .tsi {
  color: white !important;
  filter: brightness(10);
}

.tronix-service-icon-wrap svg,
.tronix-service-icon-wrap .tsi {
  width: 32px;
  height: 32px;
  color: var(--tronix-blue-vivid);
  transition: color 0.4s ease, filter 0.4s ease, transform 0.4s ease;
}

.tronix-service-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.3;
}

html[data-theme="dark"] .tronix-service-title {
  color: #f1f5f9;
}

.tronix-service-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.75;
}

html[data-theme="dark"] .tronix-service-desc {
  color: #94a3b8;
}

.tronix-service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tronix-blue-vivid);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.tronix-service-link:hover {
  gap: 10px;
}

/* Diamond arrow icon */
.tronix-diamond {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  transform: rotate(45deg);
  display: inline-block;
  flex-shrink: 0;
}


/* =============================================
   SECTION TITLE â€” TRONIX STYLE
   ============================================= */
.tronix-section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tronix-blue-vivid);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tronix-section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 3px;
  background: var(--tronix-blue-vivid);
  border-radius: 2px;
}

.tronix-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #0f172a;
  margin-bottom: 16px;
}

html[data-theme="dark"] .tronix-section-title {
  color: #f1f5f9;
}

.tronix-section-title .accent {
  color: var(--tronix-blue-vivid);
}


/* =============================================
   ANIMATED COUNTERS â€” TRONIX STATS SECTION
   ============================================= */
.tronix-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 60px;
}

html[data-theme="dark"] .tronix-stats-row {
  background: rgba(255,255,255,0.06);
}

.tronix-stat-block {
  background: #ffffff;
  padding: 48px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

html[data-theme="dark"] .tronix-stat-block {
  background: var(--bg-secondary);
}

.tronix-stat-block:hover {
  background: #f0f9ff;
}

html[data-theme="dark"] .tronix-stat-block:hover {
  background: rgba(33, 150, 243, 0.08);
}

.tronix-stat-block-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--tronix-blue-vivid);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.tronix-stat-block-label {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}


/* =============================================
   TRONIX PROCESS STEPS â€” NUMBERED STEPS
   ============================================= */
.tronix-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

@media (max-width: 900px) {
  .tronix-steps-grid { grid-template-columns: 1fr; }
}

.tronix-step-card {
  position: relative;
  padding: 36px 28px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  transition: all 0.4s ease;
}

html[data-theme="dark"] .tronix-step-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

.tronix-step-card:hover {
  border-color: var(--tronix-blue-vivid);
  box-shadow: 0 16px 48px rgba(33, 150, 243, 0.12);
  transform: translateY(-4px);
}

.tronix-step-number {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  color: rgba(33, 150, 243, 0.08);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: color 0.4s ease;
}

.tronix-step-card:hover .tronix-step-number {
  color: rgba(33, 150, 243, 0.15);
}

.tronix-step-icon {
  width: 52px;
  height: 52px;
  background: #eff6ff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.tronix-step-card:hover .tronix-step-icon {
  background: var(--tronix-blue-vivid);
  transform: scale(1.1);
}

.tronix-step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

html[data-theme="dark"] .tronix-step-title {
  color: #f1f5f9;
}

.tronix-step-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.7;
}


/* =============================================
   LOADING ANIMATIONS â€” ENTRY ANIMATIONS
   ============================================= */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

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

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

/* Stagger animation classes */
.tronix-anim { opacity: 0; }
.tronix-anim.is-visible {
  animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.tronix-anim[data-delay="1"] { animation-delay: 0.1s; }
.tronix-anim[data-delay="2"] { animation-delay: 0.2s; }
.tronix-anim[data-delay="3"] { animation-delay: 0.3s; }
.tronix-anim[data-delay="4"] { animation-delay: 0.4s; }


/* =============================================
   TRONIX NAVBAR ENHANCEMENT
   ============================================= */
.navbar.tronix-nav {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.1) !important;
}

/* Navbar blue accent line */
.navbar.tronix-nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(33, 150, 243, 0.5),
    rgba(33, 150, 243, 0.8),
    rgba(33, 150, 243, 0.5),
    transparent
  );
  display: block !important;
}


/* =============================================
   TECH PARTICLE ANIMATION
   ============================================= */
.tronix-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.tronix-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(37, 99, 235, 0.35);
  border-radius: 50%;
  animation: particle-drift var(--duration, 8s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes particle-drift {
  0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  33% { transform: translate(var(--dx1, 20px), var(--dy1, -30px)) scale(1.2); opacity: 1; }
  66% { transform: translate(var(--dx2, -15px), var(--dy2, -60px)) scale(0.8); opacity: 0.4; }
  100% { transform: translate(0, -100px) scale(0); opacity: 0; }
}


/* =============================================
   TRONIX CTA SECTION
   ============================================= */
.tronix-cta {
  background: linear-gradient(135deg, #1e3a6e, #1565c0, #1e3a6e);
  padding: 100px 7%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.tronix-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(33, 150, 243, 0.15), transparent 60%);
  pointer-events: none;
  animation: cta-pulse 6s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; }
  50% { transform: translateX(-50%) scale(1.2); opacity: 0.7; }
}

.tronix-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.tronix-cta-subtitle {
  font-size: 1rem;
  color: #94a3b8;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero.tronix-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 100px 6% 60px;
  }

  .tronix-hero-right {
    display: none;
  }

  .tronix-hero-title,
  .tronix-hero-subtitle,
  .tronix-hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .tronix-hero-actions {
    justify-content: center;
  }

  .tronix-call-box {
    justify-content: center;
  }

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

  .tronix-hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .tronix-stat-item {
    flex: 0 0 45%;
  }
}

@media (max-width: 768px) {
  .tronix-topbar {
    height: 34px;
  }

  .tronix-topbar-right {
    gap: 16px;
  }

  .tronix-topbar-right .topbar-email {
    display: none;
  }

  .tronix-service-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .tronix-topbar-right {
    display: none;
  }
}


/* =============================================
   TECH INFINITE SCROLL SLIDER
   ============================================= */
.section.tech-slider-section {
  padding-left: 0;
  padding-right: 0;
}

.tech-slider-section {
  background: #f8fafc;
  padding: 90px 0;
  overflow: hidden;
}

.tech-slider-section .section-header {
  padding: 0 5%;
  margin-bottom: 52px;
}

.tech-track-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  /* Fade edges */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.tech-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

.tech-track-ltr {
  animation: slide-ltr 35s linear infinite;
}

.tech-track-rtl {
  animation: slide-rtl 32s linear infinite;
}

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

@keyframes slide-ltr {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes slide-rtl {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.tech-slide-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 24px;
  min-width: 110px;
  cursor: default;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(15,23,42,0.05);
}

.tech-slide-item:hover {
  border-color: rgba(37,99,235,0.3);
  box-shadow: 0 8px 24px rgba(37,99,235,0.12);
  transform: translateY(-4px);
}

.tech-slide-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-slide-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.tech-slide-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  text-align: center;
}


/* =============================================
   HOMEPAGE FONT & VISUAL IMPROVEMENTS
   ============================================= */

/* Better section headers */
.tronix-section-title {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  letter-spacing: -0.035em;
}

/* Improve hero title line height */
.tronix-hero-title {
  letter-spacing: -0.035em;
  line-height: 1.08;
}

/* Service cards polish */
.tronix-service-card {
  box-shadow: 0 2px 12px rgba(15,23,42,0.06);
}

/* Stats block clean border */
.tronix-stats-row {
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(15,23,42,0.07);
}

/* CTA section polish */
.tronix-cta-title {
  letter-spacing: -0.03em;
}

/* Step cards */
.tronix-step-card {
  box-shadow: 0 2px 12px rgba(15,23,42,0.05);
}

/* Services section bg */
.tronix-services-section {
  background: #f0f4ff;
}



/* =============================================
   HOMEPAGE SECTION DIVIDERS & SPACING
   ============================================= */

/* Hero bottom wave - light background */
.wave-divider svg path {
  fill: #f0f4ff !important;
}

/* Tighter hero padding on medium screens */
@media (max-width: 768px) {
  .tech-slide-item {
    min-width: 96px;
    padding: 16px 18px;
  }
  .tech-slide-icon img {
    width: 40px;
    height: 40px;
  }
  .tech-slide-name {
    font-size: 0.72rem;
  }
  .section.tech-slider-section {
  padding-left: 0;
  padding-right: 0;
}

.tech-slider-section {
    padding: 60px 0;
  }
}

/* Better section label on homepage */
.tech-slider-section .tronix-section-label,
.tech-slider-section .tronix-section-title,
.tech-slider-section .section-subtitle {
  text-align: center;
}



/* =============================================
   HERO â€” SIMPLIFIED CLEAN VERSION
   ============================================= */

/* Lighter font weight for hero title */
.tronix-hero-title {
  font-weight: 700 !important;
  font-size: clamp(2rem, 3.6vw, 3.4rem) !important;
  line-height: 1.12 !important;
  color: #0f172a !important;
}

.tronix-hero-subtitle {
  font-size: 1.05rem !important;
  color: #475569 !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
}

/* Mini stats pills below buttons */
.hero-mini-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 36px;
  padding: 14px 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(15,23,42,0.06);
  width: fit-content;
}

.hero-mini-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
  gap: 2px;
}

.hero-mini-stat strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #1565c0;
  line-height: 1;
}

.hero-mini-stat span {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-mini-divider {
  width: 1px;
  height: 32px;
  background: #e2e8f0;
  flex-shrink: 0;
}

/* Remove old call box if present */
.tronix-call-box {
  display: none !important;
}

/* Hero section bg â€” slightly cleaner */
.hero.tronix-hero {
  background: linear-gradient(
    135deg,
    #f5f8ff 0%,
    #eef4ff 45%,
    #f8f9ff 100%
  ) !important;
}

@media (max-width: 768px) {
  .hero-mini-stats {
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    justify-content: center;
  }
  .hero-mini-divider { display: none; }
  .hero-mini-stat { padding: 0 12px; }
}


/* =============================================
   PORTFOLIO â€” CLEAN LIGHT CARDS
   ============================================= */

.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

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

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

.pf-card {
  background: #ffffff;
  border: 1px solid #e8edf4;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 12px rgba(15,23,42,0.05);
  cursor: pointer;
}

.pf-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(15,23,42,0.12);
  border-color: rgba(37,99,235,0.2);
}

/* Image area */
.pf-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0f172a;
}

.pf-logo-art {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.pf-card:hover .pf-logo-art {
  transform: scale(1.03);
}

/* Card info area */
.pf-info {
  padding: 22px 24px 20px;
}

.pf-tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid;
  border-radius: 6px;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.pf-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.3;
}

.pf-tech {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 16px;
  font-weight: 500;
}

.pf-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.pf-timeline {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 500;
}

.pf-detail-btn {
  font-size: 0.82rem;
  font-weight: 700;
  color: #2563eb;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: gap 0.2s;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.pf-detail-btn:hover {
  color: #1d4ed8;
}

/* Filter buttons â€” light style */
.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 99px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.filter-btn.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}




/* =============================================
   PROJECT DETAILS PAGE
   ============================================= */
.project-case-body {
  padding-top: 12px;
  padding-bottom: 12px;
}

.project-case-head {
  display: grid;
  grid-template-columns: minmax(320px, 46%) 1fr;
  gap: 24px;
  padding: 20px;
}

.project-case-head-logo {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #dbe4f0;
  background: #0f172a;
}

.project-case-head-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.project-case-head-meta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: #0f172a;
  margin: 10px 0 10px;
}

.project-case-head-meta p {
  color: #475569;
  line-height: 1.9;
}

.project-case-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid;
  border-radius: 8px;
  padding: 5px 11px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-case-mini-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.project-case-mini-grid div {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  padding: 12px;
}

.project-case-mini-grid strong {
  display: block;
  font-size: 0.74rem;
  color: #1e40af;
  margin-bottom: 5px;
}

.project-case-mini-grid span {
  color: #334155;
  line-height: 1.6;
  font-size: 0.8rem;
}

.project-case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.project-case-grid-single {
  grid-template-columns: 1fr;
}

.project-case-panel {
  padding: 22px;
}

.project-case-panel h3 {
  font-family: var(--font-display);
  color: #0f172a;
  margin-bottom: 10px;
}

.project-case-panel p {
  color: #475569;
  line-height: 1.85;
}

.project-case-stack-pills {
  margin-top: 14px;
}

.project-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.project-tech-card {
  padding: 20px;
}

.project-tech-card h4 {
  font-family: var(--font-display);
  color: #0f172a;
  margin-bottom: 8px;
}

.project-tech-card p {
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.78;
  margin-bottom: 9px;
}

.project-tech-card p strong {
  color: #0f172a;
}

.project-case-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-case-list li {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 10px;
  padding: 12px 14px;
  color: #334155;
  line-height: 1.75;
  font-size: 0.86rem;
}

.project-case-list li strong {
  color: #0f172a;
}

.project-case-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.project-case-link-list a {
  border: 1px solid #dbe4f0;
  border-radius: 999px;
  padding: 8px 14px;
  color: #1e40af;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .project-case-head {
    grid-template-columns: 1fr;
  }

  .project-case-grid,
  .project-tech-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .project-case-mini-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   PROJECT MODAL â€” LIGHT THEME OVERRIDE
   ============================================= */
.project-modal-dialog {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 24px 60px rgba(15,23,42,0.18) !important;
}

.project-modal-top h3,
.project-modal-overview,
.project-modal-meta h4 {
  color: #0f172a !important;
}

.project-modal-kicker {
  color: #2563eb !important;
}

.project-modal-timeline {
  background: #f0f7ff !important;
  color: #1e40af !important;
  border-color: #bfdbfe !important;
}

.project-pill-wrap span {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border-color: #e2e8f0 !important;
}

.project-modal-close {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.project-modal-close:hover {
  background: #fee2e2 !important;
  color: #dc2626 !important;
  border-color: #fecaca !important;
}

.project-modal-backdrop {
  background: rgba(15, 23, 42, 0.5) !important;
  backdrop-filter: blur(4px) !important;
}

