/**
 * Opsivra - Modern UI & Animation Enhancements (2026 Remaster)
 * Premium interactive motions, scroll-driven dynamics, glassmorphism & micro-interactions
 */

:root {
  --opsivra-glow-orange: rgba(242, 140, 40, 0.35);
  --opsivra-glow-gold: rgba(214, 183, 122, 0.25);
  --opsivra-glass-bg: rgba(14, 15, 18, 0.72);
  --opsivra-glass-border: rgba(255, 255, 255, 0.1);
  --opsivra-glass-border-hover: rgba(242, 140, 40, 0.5);
  --opsivra-ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --opsivra-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   1. SCROLL PROGRESS BAR (TOP VIEWPORT)
   ========================================================================== */
.ops-scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #f28c28 0%, #ffb16b 50%, #d6b77a 100%);
  box-shadow: 0 0 12px rgba(242, 140, 40, 0.8), 0 0 4px #ffb16b;
  z-index: 99999;
  pointer-events: none;
  transition: width 0.1s ease-out;
  will-change: width;
}

/* ==========================================================================
   2. MODERN GLASSMORPHIC HEADER & NAVIGATION
   ========================================================================== */
.tmp-header.header-default {
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  transition: all 0.35s var(--opsivra-ease-out-expo) !important;
}

.tmp-header.header-default.header-scrolled,
.tmp-header.header-sticky.sticky {
  background: rgba(0, 0, 0, 0.94) !important;
  backdrop-filter: blur(20px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(200%) !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(242, 140, 40, 0.15) !important;
  border-bottom-color: rgba(242, 140, 40, 0.2) !important;
}

.tmp-header.header-scrolled .header_main,
.tmp-header.header-sticky.sticky .header_main {
  height: 76px !important;
  transition: height 0.35s var(--opsivra-ease-out-expo);
}

.header_main {
  transition: height 0.35s var(--opsivra-ease-out-expo);
}

/* Modern Nav Links with Animated Underline / Hover Glow */
.mainmenu-nav .mainmenu > li {
  position: relative;
  margin: 0 4px;
}

.mainmenu-nav .mainmenu > li > a {
  position: relative;
  padding: 10px 16px !important;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.3px;
  color: rgba(245, 247, 250, 0.88) !important;
  border-radius: 8px;
  transition: all 0.25s ease !important;
}

.mainmenu-nav .mainmenu > li > a::before {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: linear-gradient(90deg, #f28c28, #ffb16b);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center right;
  transition: transform 0.3s var(--opsivra-ease-out-expo);
}

.mainmenu-nav .mainmenu > li > a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.04);
}

.mainmenu-nav .mainmenu > li > a:hover::before {
  transform: scaleX(1);
  transform-origin: center left;
}

/* Header Contact Button with Shimmer */
.nav-btn {
  position: relative;
  overflow: hidden;
  border-radius: 9999px !important;
  font-weight: 600 !important;
  background: linear-gradient(135deg, #f28c28 0%, #e07415 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 20px rgba(242, 140, 40, 0.35) !important;
  transition: all 0.3s var(--opsivra-ease-out-expo) !important;
}

.nav-btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  transition: none;
}

.nav-btn:hover::after {
  left: 130%;
  transition: left 0.75s ease-in-out;
}

.nav-btn:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 25px rgba(242, 140, 40, 0.5) !important;
}

/* Mobile Menu Enhancements */
.mobile-menu-wrapper {
  background: rgba(0, 0, 0, 0.96) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-bottom: 1px solid rgba(242, 140, 40, 0.2);
  transition: all 0.4s var(--opsivra-ease-out-expo) !important;
}

.menu-icon {
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.menu-icon:hover {
  background: rgba(242, 140, 40, 0.15);
  border-color: rgba(242, 140, 40, 0.3);
}

/* ==========================================================================
   3. HERO SECTION MODERNIZATION & AMBIENT GLOW
   ========================================================================== */
.slider-area.tmp-slider-style-1 {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4, 8, 12, 0.82) 0%, rgba(4, 8, 12, 0.72) 24%, rgba(4, 8, 12, 0.52) 52%, rgba(4, 8, 12, 0.8) 100%),
    url("../images/hero-logistics-truck.png") center center / cover no-repeat !important;
}

.slider-area.tmp-slider-style-1 .inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

/* Modern Ambient Mesh Glows behind hero text */
.ops-hero-ambient-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 35%, rgba(242, 140, 40, 0.24), transparent 32%),
    radial-gradient(circle at 20% 80%, rgba(28, 88, 120, 0.28), transparent 28%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.28));
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

@keyframes opsPulseGlow {
  0% {
    transform: translateX(-50%) scale(0.95);
    opacity: 0.7;
  }
  100% {
    transform: translateX(-50%) scale(1.08);
    opacity: 1;
  }
}

/* Modern High-Tech Grid Overlay */
.ops-hero-grid-pattern {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: opsHeroGridDrift 48s linear infinite;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 45%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 45%, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.ops-hero-grid-pattern::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse at 38% 42%, rgba(242, 140, 40, 0.13), transparent 34%),
    radial-gradient(ellipse at 68% 58%, rgba(214, 183, 122, 0.1), transparent 32%);
  opacity: 0.55;
  transform: translate3d(-2%, -1%, 0) scale(0.98);
  animation: opsHeroLightDrift 22s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes opsHeroGridDrift {
  to {
    background-position: 48px 48px;
  }
}

@keyframes opsHeroLightDrift {
  to {
    opacity: 0.9;
    transform: translate3d(2%, 1%, 0) scale(1.04);
  }
}

/* Modern Live Status Badge */
.ops-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  margin-bottom: 24px;
  background: rgba(6, 10, 14, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f7d7a5;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.ops-status-badge:hover {
  border-color: var(--opsivra-orange);
  background: rgba(242, 140, 40, 0.14);
  transform: translateY(-1px);
}

.ops-status-badge .ops-badge-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f28c28;
}

.ops-status-badge .ops-badge-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: #f28c28;
  opacity: 0.6;
  animation: opsDotPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes opsDotPing {
  75%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* Smooth animated gradient headline */
.header-caption.theme-gradient {
  background: linear-gradient(110deg, #f28c28 0%, #ffb16b 35%, #ffffff 50%, #ffb16b 65%, #f28c28 100%) !important;
  background-size: 250% 100% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: opsGradientShine 14s ease-in-out infinite alternate !important;
}

.ops-image-credit {
  display: block;
  margin-top: 0.5rem;
  color: #a8b2bc;
  font-size: 0.75rem;
  line-height: 1.4;
}

.ops-image-credit a {
  color: #ffb16b;
}

@keyframes opsGradientShine {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* Hero CTA Buttons Overhaul */
.slider-area .button-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.tmp-btn.round {
  border-radius: 9999px !important;
  padding: 14px 34px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s var(--opsivra-ease-out-expo) !important;
}

.tmp-btn:not(.btn-border) {
  background: linear-gradient(135deg, #f28c28 0%, #e87b1c 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 8px 24px rgba(242, 140, 40, 0.35) !important;
}

.tmp-btn:not(.btn-border):hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 16px 36px rgba(242, 140, 40, 0.5) !important;
}

.tmp-btn.btn-border {
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(8px) !important;
  color: #f5f0e6 !important;
}

.tmp-btn.btn-border:hover {
  border-color: rgba(242, 140, 40, 0.6) !important;
  background: rgba(242, 140, 40, 0.08) !important;
  color: #ffffff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35) !important;
}

/* ==========================================================================
   4. TRUST METRICS BAR / HERO STATS ROW
   ========================================================================== */
.ops-hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1080px;
  margin: 44px auto 0;
  padding: 0 10px;
  position: relative;
  z-index: 2;
}

.ops-stat-card {
  background: rgba(8, 11, 14, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 18px 16px;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.35s var(--opsivra-ease-out-expo);
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.ops-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(242, 140, 40, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ops-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 140, 40, 0.35);
  background: rgba(20, 22, 26, 0.85);
  box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(242, 140, 40, 0.15);
}

.ops-stat-card:hover::before {
  opacity: 1;
}

.ops-stat-card .ops-stat-number {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #ffffff 30%, #ffb16b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ops-stat-card .ops-stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--opsivra-muted);
  line-height: 1.3;
}

@media (max-width: 991px) {
  .ops-hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 40px;
  }
}

@media (max-width: 480px) {
  .ops-hero-stats-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==========================================================================
   5. SCROLL-TRIGGERED REVEAL ANIMATIONS (INTERSECTION OBSERVER)
   ========================================================================== */
.ops-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.75s var(--opsivra-ease-out-expo),
              transform 0.75s var(--opsivra-ease-out-expo);
  will-change: opacity, transform;
}

html.ops-motion-ready .ops-reveal:not(.ops-revealed) {
  opacity: 0;
  transform: translateY(28px);
}

.ops-reveal.ops-revealed {
  opacity: 1;
  transform: translateY(0);
}

.ops-reveal-scale {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--opsivra-ease-out-expo),
              transform 0.8s var(--opsivra-ease-out-expo);
  will-change: opacity, transform;
}

html.ops-motion-ready .ops-reveal-scale:not(.ops-revealed) {
  opacity: 0;
  transform: scale(0.94) translateY(20px);
}

.ops-reveal-scale.ops-revealed {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.ops-reveal-left {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--opsivra-ease-out-expo),
              transform 0.8s var(--opsivra-ease-out-expo);
}

html.ops-motion-ready .ops-reveal-left:not(.ops-revealed) {
  opacity: 0;
  transform: translateX(-35px);
}

.ops-reveal-left.ops-revealed {
  opacity: 1;
  transform: translateX(0);
}

.ops-reveal-right {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--opsivra-ease-out-expo),
              transform 0.8s var(--opsivra-ease-out-expo);
}

html.ops-motion-ready .ops-reveal-right:not(.ops-revealed) {
  opacity: 0;
  transform: translateX(35px);
}

.ops-reveal-right.ops-revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger Delays */
.ops-delay-1 { transition-delay: 0.1s !important; }
.ops-delay-2 { transition-delay: 0.2s !important; }
.ops-delay-3 { transition-delay: 0.3s !important; }
.ops-delay-4 { transition-delay: 0.4s !important; }

/* ==========================================================================
   6. 3D CARD HOVER TILT & GLOW EFFECTS
   ========================================================================== */
.tmponhover,
.tmp-card,
.card-style-default {
  transition: transform 0.4s var(--opsivra-ease-out-expo),
              box-shadow 0.4s var(--opsivra-ease-out-expo),
              border-color 0.4s ease !important;
}

.tmponhover:hover,
.tmp-card:hover {
  transform: translateY(-6px) scale(1.008) !important;
  box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.6),
              0 0 25px rgba(242, 140, 40, 0.18) !important;
}

/* ==========================================================================
   7. REMASTERED CLIENT FOCUS CARDS
   ========================================================================== */
.client-focus-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 30px;
}

.client-logo-card {
  display: flex;
  flex: 1 1 290px;
  max-width: 370px;
  min-height: 180px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 32px;
  border-radius: 20px !important;
  /* Luxury illuminated card on dark canvas */
  background: linear-gradient(145deg, #ffffff 0%, #f4f6f8 100%) !important;
  border: 1px solid rgba(214, 183, 122, 0.45) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  transition: all 0.35s var(--opsivra-ease-out-expo) !important;
  position: relative;
  overflow: hidden;
  text-decoration: none !important;
}

.client-logo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f28c28, #d6b77a);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.client-logo-card img {
  display: block;
  width: min(100%, 260px) !important;
  height: 68px !important;
  object-fit: contain !important;
  transition: transform 0.35s var(--opsivra-ease-out-expo);
}

.client-logo-card span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #434f59;
  transition: all 0.3s ease;
}

.client-logo-card span i {
  transition: transform 0.3s var(--opsivra-ease-spring);
}

.client-logo-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  border-color: var(--opsivra-orange) !important;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(242, 140, 40, 0.25) !important;
}

.client-logo-card:hover::before {
  opacity: 1;
}

.client-logo-card:hover img {
  transform: scale(1.05);
}

.client-logo-card:hover span {
  color: #111827;
}

.client-logo-card:hover span i {
  transform: translate(3px, -3px);
  color: #e07415;
}

/* ==========================================================================
   8. MODERN TIMELINE / PROCESS STEPPER
   ========================================================================== */
.tmp-timeline-area {
  position: relative;
  overflow: hidden;
}

.tmp-timeline-area::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(242, 140, 40, 0.08) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.single-timeline .single-content {
  border-radius: 20px !important;
  background: rgba(14, 15, 18, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(14px) !important;
  transition: all 0.4s var(--opsivra-ease-out-expo) !important;
}

.single-timeline .single-content:hover {
  border-color: rgba(242, 140, 40, 0.4) !important;
  background: rgba(20, 22, 26, 0.85) !important;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(242, 140, 40, 0.15) !important;
}

.timeline-dot .time-line-circle {
  border-color: #f28c28 !important;
  box-shadow: 0 0 16px rgba(242, 140, 40, 0.7);
  animation: opsDotPulse 3s infinite;
}

@keyframes opsDotPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(242, 140, 40, 0.5);
  }
  50% {
    box-shadow: 0 0 22px rgba(242, 140, 40, 0.95);
  }
}

/* ==========================================================================
   9. MARQUEE & VIDEO TICKER ENHANCEMENTS
   ========================================================================== */
.tmp-video-section-start-one .text-split-wrap-video {
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.tmp-video-section-start-one .large-video-playing {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  position: relative;
}

/* ==========================================================================
   10. TESTIMONIAL CARDS
   ========================================================================== */
.card-style-default.testimonial-style-one.variation-2 {
  background: rgba(14, 15, 18, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 20px !important;
  backdrop-filter: blur(14px) !important;
}

.card-style-default.testimonial-style-one.variation-2:hover {
  border-color: rgba(214, 183, 122, 0.4) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(214, 183, 122, 0.12) !important;
}

/* ==========================================================================
   11. BACK TO TOP BUTTON WITH CIRCULAR PROGRESS
   ========================================================================== */
.ops-back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(14, 15, 18, 0.9);
  border: 1px solid rgba(242, 140, 40, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s var(--opsivra-ease-out-expo);
  backdrop-filter: blur(12px);
}

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

.ops-back-to-top:hover {
  background: #f28c28;
  border-color: #ffb16b;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 12px 30px rgba(242, 140, 40, 0.45);
}

.ops-back-to-top svg.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ops-back-to-top svg.progress-ring circle {
  fill: none;
  stroke: #f28c28;
  stroke-width: 2.5;
  stroke-dasharray: 144.5;
  stroke-dashoffset: 144.5;
  transition: stroke-dashoffset 0.15s ease-out;
}

/* ==========================================================================
   12. ACCESSIBILITY & REDUCED MOTION PREFERENCES
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ops-reveal,
  .ops-reveal-scale,
  .ops-reveal-left,
  .ops-reveal-right {
    opacity: 1 !important;
    transform: none !important;
  }
  .single-timeline {
    opacity: 1 !important;
    transform: none !important;
  }
  .ops-scroll-progress-bar {
    display: none !important;
  }
}


/* ==========================================================================
   13. HERO SECTION CONTAINER TUNING & RESPONSIVENESS
   ========================================================================== */
.slider-area.tmp-slider-style-1.height-850 {
  height: auto !important;
  min-height: 880px !important;
  padding-top: 150px !important;
  padding-bottom: 70px !important;
  display: flex !important;
  align-items: center !important;
}

@media (max-width: 768px) {
  .slider-area.tmp-slider-style-1.height-850 {
    min-height: auto !important;
    padding-top: 120px !important;
    padding-bottom: 50px !important;
  }
}

/* ==========================================================================
   14. ABOUT & FEATURE LIST MICRO-INTERACTIONS
   ========================================================================== */
.quote-area-about.bg-card {
  background: rgba(14, 15, 18, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-left: 4px solid var(--opsivra-orange) !important;
  border-radius: 14px !important;
  padding: 24px 28px !important;
  backdrop-filter: blur(12px) !important;
  transition: all 0.35s var(--opsivra-ease-out-expo) !important;
}

.quote-area-about.bg-card:hover {
  background: rgba(20, 22, 26, 0.9) !important;
  border-color: rgba(242, 140, 40, 0.4) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 25px rgba(242, 140, 40, 0.15) !important;
  transform: translateX(4px);
}

.tmp-list-item-half li {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  transition: transform 0.25s ease !important;
  margin-bottom: 12px;
}

.tmp-list-item-half li:hover {
  transform: translateX(6px) !important;
}

.tmp-list-item-half li .icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: rgba(242, 140, 40, 0.12) !important;
  border: 1px solid rgba(242, 140, 40, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--opsivra-orange) !important;
  flex-shrink: 0 !important;
  transition: all 0.3s ease !important;
}

.tmp-list-item-half li:hover .icon {
  background: var(--opsivra-orange) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(242, 140, 40, 0.45) !important;
}

/* ==========================================================================
   15. FOOTER & NAVIGATION LINKS HOVER
   ========================================================================== */
.footer-link li a {
  transition: all 0.25s ease !important;
}

.footer-link li a:hover {
  color: var(--opsivra-orange-soft) !important;
  padding-left: 6px !important;
}

.social-icon.social-default li a {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.social-icon.social-default li a:hover {
  transform: translateY(-4px) scale(1.1) !important;
  background: var(--opsivra-orange) !important;
  border-color: var(--opsivra-orange-soft) !important;
  box-shadow: 0 8px 20px rgba(242, 140, 40, 0.4) !important;
}


/* ==========================================================================
   16. BULLETPROOF HERO DARK MODE & TYPOGRAPHY FIXES
   ========================================================================== */
body {
  background-color: #000000 !important;
  color: #f5f7fa !important;
}

.slider-area.tmp-slider-style-1 {
  background: radial-gradient(circle at 50% 25%, rgba(242, 140, 40, 0.16) 0%, rgba(0, 0, 0, 0.98) 75%), #000000 !important;
  background-image: none !important;
}

.slider-area.tmp-slider-style-1::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.84) 0%,
    rgba(0, 0, 0, 0.76) 50%,
    rgba(0, 0, 0, 0.84) 100%
  ) !important;
  pointer-events: none !important;
}

.slider-area.tmp-slider-style-1 > .container {
  position: relative !important;
  z-index: 2 !important;
}

/* Eliminate awkward corner cutouts */
.shape-left-top,
.shape-right-bottom,
.banner-svg,
.banner-svg-right {
  display: none !important;
}

/* Watermark logo icon behind text */
.bg_icon_logo_banner img {
  position: absolute !important;
  opacity: 0.045 !important;
  pointer-events: none !important;
  z-index: 0 !important;
  filter: drop-shadow(0 0 50px rgba(242, 140, 40, 0.25)) !important;
}

/* Ensure hero text is always crisp, high-contrast, and visible */
.slider-area.tmp-slider-style-1 h1.title {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  margin-top: 15px !important;
  margin-bottom: 20px !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: #ffffff !important;
}

.slider-area.tmp-slider-style-1 .header-caption.theme-gradient {
  background: linear-gradient(110deg, #f28c28 0%, #ffb16b 35%, #ffffff 50%, #ffb16b 65%, #f28c28 100%) !important;
  background-size: 250% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #f28c28 !important;
  display: inline-block !important;
  animation: opsGradientShine 14s ease-in-out infinite alternate !important;
}

.slider-area.tmp-slider-style-1 .description.b1 {
  color: #e1e5eb !important;
  font-size: 1.12rem !important;
  line-height: 1.65 !important;
  max-width: 760px !important;
  margin: 0 auto 28px !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8) !important;
}


/* ==========================================================================
   17. SCROLL-DRIVEN TRANSITIONS & PARALLAX ENGINE
   ========================================================================== */

/* 1. Dynamic Glowing Timeline Line Filled on Scroll */
.tmp-timeline-wrapper .timeline-line {
  background: rgba(255, 255, 255, 0.08) !important;
  width: 4px !important;
  position: absolute !important;
  top: 30px !important;
  bottom: 30px !important;
  left: 30px !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  z-index: 1 !important;
}

.tmp-timeline-wrapper .timeline-line::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: var(--timeline-progress, 0%) !important;
  background: linear-gradient(180deg, #f28c28 0%, #ffb16b 60%, #d6b77a 100%) !important;
  box-shadow: 0 0 16px rgba(242, 140, 40, 0.95), 0 0 6px #ffb16b !important;
  border-radius: 4px !important;
  transition: height 0.12s ease-out !important;
}

.tmp-timeline-wrapper .timeline-line::after {
  display: none !important;
}

/* Timeline Steps Staggered Scroll Reveal & Active Pulse */
.single-timeline {
  transition: opacity 0.7s var(--opsivra-ease-out-expo),
              transform 0.7s var(--opsivra-ease-out-expo) !important;
  opacity: 1;
  transform: none;
}

html.ops-motion-ready .single-timeline:not(.ops-revealed) {
  opacity: 1 !important;
  transform: translateY(30px) !important;
}

.single-timeline.ops-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.single-timeline.step-active .timeline-dot .time-line-circle {
  background: #f28c28 !important;
  border-color: #ffffff !important;
  box-shadow: 0 0 25px rgba(242, 140, 40, 1), 0 0 10px #ffffff !important;
  transform: scale(1.3) !important;
  transition: all 0.4s var(--opsivra-ease-spring) !important;
}

.single-timeline.step-active .single-content {
  border-color: rgba(242, 140, 40, 0.5) !important;
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.75), 0 0 30px rgba(242, 140, 40, 0.22) !important;
}

/* 2. Apple-Style Cinematic Video Scale on Scroll */
.large-video-playing.grow-thumbnail-1 {
  transform: scale(var(--video-scale, 0.94));
  border-radius: calc(32px - (var(--video-scale, 0.94) - 0.94) * 160px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 35px rgba(242, 140, 40, 0.14);
  transition: transform 0.08s ease-out, border-radius 0.08s ease-out;
  will-change: transform;
}

/* 3. Section Separator Expanding Lines on Scroll */
.pres-line-separator-wrapper .line-separator {
  transform: scaleX(0);
  transition: transform 0.85s var(--opsivra-ease-out-expo) !important;
}

.ops-revealed .pres-line-separator-wrapper .line-separator,
.pres-line-separator-wrapper.ops-revealed .line-separator {
  transform: scaleX(1);
}

.pres-line-separator-wrapper .line-left {
  transform-origin: right center !important;
}

.pres-line-separator-wrapper .line-right {
  transform-origin: left center !important;
}

/* 4. Service Cards & Feature Grid Scroll Transitions */
.tmp-service-area .tmp-card,
.tmp-card.card-list-view,
.client-logo-card {
  opacity: 0;
  transform: translateY(32px) scale(0.97);
  transition: opacity 0.8s var(--opsivra-ease-out-expo),
              transform 0.8s var(--opsivra-ease-out-expo),
              box-shadow 0.4s ease,
              border-color 0.4s ease !important;
  will-change: opacity, transform;
}

.tmp-service-area .tmp-card.ops-revealed,
.tmp-card.card-list-view.ops-revealed,
.client-logo-card.ops-revealed {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

/* 5. Parallax Depth Elements */
.ops-parallax-slow {
  transform: translateY(var(--parallax-slow, 0px));
  will-change: transform;
}

.ops-parallax-fast {
  transform: translateY(var(--parallax-fast, 0px));
  will-change: transform;
}

/* 6. Native Scroll-Driven Animations where supported */
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  @media (prefers-reduced-motion: no-preference) {
    .thumbnail-about-8 .large-image img {
      animation: opsAboutLargeParallax linear both;
      animation-timeline: view();
      animation-range: entry 10% exit 90%;
    }
    @keyframes opsAboutLargeParallax {
      from {
        transform: translateY(28px) scale(0.98);
      }
      to {
        transform: translateY(-28px) scale(1.02);
      }
    }

    .thumbnail-about-8 .small-iamge-area img {
      animation: opsAboutSmallParallax linear both;
      animation-timeline: view();
      animation-range: entry 10% exit 90%;
    }
    @keyframes opsAboutSmallParallax {
      from {
        transform: translateY(-25px);
      }
      to {
        transform: translateY(25px);
      }
    }
  }
}


/* ==========================================================================
   18. ULTRA-VIVID MOTION & CONTINUOUS AMBIENT ANIMATIONS
   ========================================================================== */

/* 1. Visible Top Scroll Progress Bar */
.ops-scroll-progress-bar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 0% !important;
  height: 4px !important;
  background: linear-gradient(90deg, #f28c28 0%, #ffb16b 50%, #d6b77a 100%) !important;
  box-shadow: 0 0 16px rgba(242, 140, 40, 0.95), 0 0 6px #ffb16b !important;
  z-index: 999999 !important;
  pointer-events: none !important;
  transition: width 0.08s ease-out !important;
  will-change: width !important;
}

/* 2. Primary CTA Continuous Light-Sweep Shimmer */
.tmp-btn:not(.btn-border) {
  position: relative !important;
  overflow: hidden !important;
}

.tmp-btn:not(.btn-border)::before {
  content: "" !important;
  position: absolute !important;
  top: -60% !important;
  left: -120% !important;
  width: 60% !important;
  height: 220% !important;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.32) 50%, transparent 100%) !important;
  transform: rotate(25deg) !important;
  animation: opsBtnSweep 4s ease-in-out infinite !important;
  pointer-events: none !important;
}

@keyframes opsBtnSweep {
  0%, 65% {
    left: -120%;
  }
  100% {
    left: 220%;
  }
}

/* 3. Hero Ambient Glow Pulsing */
.ops-hero-ambient-glow {
  animation: opsPulseGlow 6s ease-in-out infinite alternate !important;
}

@keyframes opsPulseGlow {
  0% {
    transform: translateX(-50%) scale(0.92);
    opacity: 0.6;
  }
  50% {
    transform: translateX(-50%) scale(1.12);
    opacity: 0.95;
  }
  100% {
    transform: translateX(-50%) scale(0.92);
    opacity: 0.6;
  }
}

/* 4. Live Pulsing Beacon Dot */
.ops-status-badge .ops-badge-dot::after {
  content: "" !important;
  position: absolute !important;
  inset: -4px !important;
  border-radius: 50% !important;
  background: #f28c28 !important;
  opacity: 0.75 !important;
  animation: opsDotPing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite !important;
}

/* 5. Stat Metric Cards Entrance & Hover Flare */
.ops-hero-stats-row .ops-stat-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease !important;
}

.ops-hero-stats-row .ops-stat-card:hover {
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(242, 140, 40, 0.28) !important;
  border-color: rgba(242, 140, 40, 0.6) !important;
}

/* 6. Prominent Scroll Reveal Slide-Up */
.ops-reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform;
}

.ops-reveal.ops-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}


/* ==========================================================================
   19. PURE PITCH BLACK (#000000) SITEWIDE FOUNDATION
   ========================================================================== */
html,
body,
.page-wrapper,
.slider-area.tmp-slider-style-1,
.about-area,
.tmp-timeline-area,
.tmp-testimonial-area,
.tmp-service-area,
.tmp-video-section-start-one,
.tmp-get-in-touch-area,
.tmp-brand-area,
.tmp-blog-area,
footer.footer-area,
.copyright-area {
  background-color: #000000 !important;
  color: #f5f7fa;
}

/* Background image overrides for pure black canvas */
.slider-area.tmp-slider-style-1 {
  background-color: #000000 !important;
  background-image: none !important;
}

/* Header on pure black with glass blur */
.tmp-header.header-default {
  background: rgba(0, 0, 0, 0.88) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.tmp-header.header-default.header-scrolled,
.tmp-header.header-sticky.sticky {
  background: rgba(0, 0, 0, 0.96) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(242, 140, 40, 0.2) !important;
}

/* Mobile drawer on pure black */
.mobile-menu-wrapper {
  background: rgba(0, 0, 0, 0.98) !important;
}

/* Cards on pure black canvas */
.ops-stat-card {
  background: rgba(14, 15, 18, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
}

.single-timeline .single-content,
.tmp-service-area .tmp-card,
.card-style-default.testimonial-style-one.variation-2,
.quote-area-about.bg-card,
.tmp-card.card-list-view {
  background: rgba(14, 15, 18, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.ops-back-to-top {
  background: rgba(14, 15, 18, 0.92) !important;
}
