/* Custom Styling & Blur Animations for WBC Software Lab */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --wbc-primary: #106D9A;
  --wbc-primary-dark: #0c5375;
  --wbc-primary-light: #168dc6;
  --wbc-accent: #38bdf8;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #ffffff;
  color: #1e293b;
  overflow-x: clip;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video, canvas, audio, iframe, embed, object {
  max-width: 100%;
}

h1, h2, h3, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Custom Tailwind Color Support */
.bg-wbc {
  background-color: var(--wbc-primary);
}
.bg-wbc-dark {
  background-color: var(--wbc-primary-dark);
}
.text-wbc {
  color: var(--wbc-primary);
}
.text-wbc-light {
  color: var(--wbc-primary-light);
}
.border-wbc {
  border-color: var(--wbc-primary);
}

/* ==========================================================================
   Fixed Floating Navbar & Smooth Dynamic Scroll Transitions
   ========================================================================== */
#navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 50 !important;
  pointer-events: none !important;
  transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#navbar.navbar-scrolled,
#navbar.scrolled {
  padding-top: 0.375rem !important; /* pt-1.5 */
}

@media (min-width: 640px) {
  #navbar.navbar-scrolled,
  #navbar.scrolled {
    padding-top: 0.5rem !important; /* sm:pt-2 */
  }
}

#navbarCapsule {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#navbar.navbar-scrolled #navbarCapsule,
#navbar.scrolled #navbarCapsule {
  background-color: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-color: rgba(203, 213, 225, 0.95) !important; /* slate-300 */
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.08) !important;
}

/* Seamless Hero Carousel Behind Fixed Floating Navbar - Full Viewport Height */
#heroCarousel {
  margin-top: 0 !important;
  padding-top: 0;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
}

@media (min-width: 640px) {
  #heroCarousel {
    margin-top: 0 !important;
    padding-top: 0;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
  }
}

/* Seamless Inner Page Clearance Behind Fixed Floating Navbar */
body > main {
  margin-top: 0 !important;
}

@media (min-width: 640px) {
  body > main {
    margin-top: 0 !important;
  }
}

/* Carousel Slide Blur & Transitions */
.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 10;
}

/* Background Image Blur Transition */
.carousel-slide .slide-bg {
  transform: scale(1.06);
  filter: blur(20px);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, filter;
}

.carousel-slide.active .slide-bg {
  transform: scale(1);
  filter: blur(0px);
}

.carousel-slide.leaving .slide-bg {
  transform: scale(0.98);
  filter: blur(14px);
  transition: transform 0.8s ease-in, filter 0.8s ease-in;
}

/* Content Element Blur & Slide In */
.carousel-slide .slide-content {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(10px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide.active .slide-content {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
  transition-delay: 0.25s;
}

.carousel-slide.active .slide-badge {
  transition-delay: 0.15s;
}
.carousel-slide.active .slide-title {
  transition-delay: 0.3s;
}
.carousel-slide.active .slide-desc {
  transition-delay: 0.45s;
}
.carousel-slide.active .slide-actions {
  transition-delay: 0.6s;
}

/* Bright Glassmorphism Classes */
.glass-panel-light {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px -5px rgba(16, 109, 154, 0.1);
}

.glass-pill-light {
  background: rgba(16, 109, 154, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(16, 109, 154, 0.2);
}

/* Continuous Marquee Ticker Animation */
.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-track {
  display: inline-flex;
  gap: 2rem;
  animation: marqueeScroll 24s linear infinite;
  will-change: transform;
}

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

@keyframes marqueeScroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Indicator Progress animation */
.indicator-bar {
  position: relative;
  overflow: hidden;
}

.indicator-bar .progress-fill {
  width: 0%;
  transition: width 0.1s linear;
}

.indicator-bar.active .progress-fill {
  animation: fillProgress 5.5s linear forwards;
}

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

/* Subtle Floating Glows for Bright Theme */
.glow-orb-light {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
  pointer-events: none;
}

/* About Section Floating & Glow Animations */
@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.5deg);
  }
}

@keyframes floatReverse {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(10px) rotate(-0.5deg);
  }
}

@keyframes glowPulseLight {
  0%, 100% {
    box-shadow: 0 10px 25px -5px rgba(16, 109, 154, 0.15), 0 0 10px rgba(56, 189, 248, 0.1);
  }
  50% {
    box-shadow: 0 20px 35px -5px rgba(16, 109, 154, 0.25), 0 0 20px rgba(56, 189, 248, 0.2);
  }
}

.animate-float-slow {
  animation: floatGentle 6s ease-in-out infinite;
}

.animate-float-reverse {
  animation: floatReverse 7s ease-in-out infinite;
}

.animate-pulse-glow-light {
  animation: glowPulseLight 4s ease-in-out infinite;
}

/* Subtle grid line background for Bright Theme */
.bg-grid-pattern-light {
  background-size: 36px 36px;
  background-image: 
    linear-gradient(to right, rgba(16, 109, 154, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 109, 154, 0.05) 1px, transparent 1px);
}

/* Side vertical badge text */
.writing-mode-vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* 3D Animated Service Card Styles - Bright Theme */
.card-3d-wrap {
  perspective: 1200px;
}

.card-3d-inner {
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  will-change: transform, box-shadow;
}

.card-3d-wrap:hover .card-3d-inner {
  box-shadow: 0 25px 50px -12px rgba(16, 109, 154, 0.22), 0 0 25px rgba(56, 189, 248, 0.2);
}

/* 3D Floating Child Elements */
.card-3d-layer-1 {
  transform: translateZ(20px);
}

.card-3d-layer-2 {
  transform: translateZ(40px);
}

.card-3d-layer-3 {
  transform: translateZ(60px);
}

/* Hover Details Reveal on Image - Bright Theme (Clean White Frosted Glass) */
.card-details-overlay {
  opacity: 0;
  transform: translateY(28px);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: linear-gradient(to top, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 65%, rgba(240, 249, 255, 0.88) 100%);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.card-3d-wrap:hover .card-details-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Default Title Glass Badge at base (Bright Theme) */
.card-default-bar {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.card-3d-wrap:hover .card-default-bar {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

/* Card Image Scale and Focus on Hover */
.card-media-img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.card-3d-wrap:hover .card-media-img {
  transform: scale(1.08);
  filter: brightness(0.95);
}

/* Dynamic Glare Reflection */
.card-glare {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.4) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 15;
}

.card-3d-wrap:hover .card-glare {
  opacity: 1;
}

/* Executive Split Testimonial Styles */
.testimonial-spotlight-item {
  transition: opacity 0.35s ease-in-out, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-spotlight-item.hidden {
  display: none !important;
}

.partner-tab {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-tab.active {
  background-color: #ffffff;
  border-color: #106D9A;
  box-shadow: 0 4px 18px -2px rgba(16, 109, 154, 0.18);
  border-left-width: 4px;
}

.partner-tab.active .partner-avatar {
  background: #ffffff;
  border-color: #106D9A;
  box-shadow: 0 2px 10px rgba(16, 109, 154, 0.2);
}

.partner-tab.active .partner-name {
  color: #106D9A;
  font-weight: 700;
}

.partner-tab.active .partner-arrow {
  color: #106D9A;
  transform: translateX(3px);
}

.partner-tab.active .partner-badge {
  background-color: rgba(16, 109, 154, 0.12);
  color: #106D9A;
  font-weight: 600;
}

/* Testimonial Client Logo Styles (Exact Uniform Size Guarantee) */
.testimonial-client-logo-box {
  width: 165px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  padding: 0.375rem 0.875rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.testimonial-client-logo-box:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.testimonial-client-logo {
  max-width: 135px;
  max-height: 38px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: contrast(103%);
  user-select: none;
}

.partner-logo-thumb {
  max-width: 32px;
  max-height: 24px;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
}

/* Custom Scrollbar for Partner Directory */
.partner-list-scroll {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f8fafc;
}

.partner-list-scroll::-webkit-scrollbar {
  width: 5px;
}

.partner-list-scroll::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 9999px;
}

.partner-list-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

.partner-list-scroll::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Testimonial Auto-Slide Progress Bar */
.test-progress-fill {
  width: 0%;
}

.test-progress-fill.running {
  animation: testProgressBar 6s linear forwards;
}

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

/* Scroll Reveal Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* ========================================================
   Interactive Chip Light Glow Effect for Service Cards
   ======================================================== */
.chip-glow-container {
  position: absolute;
  pointer-events: none;
  z-index: 12;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1px;
  height: 1px;
}

/* 1. Core Pulsing Flare on Chip */
.chip-glow-core {
  position: absolute;
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.98) 0%, rgba(56, 189, 248, 0.88) 28%, rgba(16, 109, 154, 0.45) 55%, transparent 75%);
  filter: blur(5px);
  animation: chipCorePulse 3s ease-in-out infinite;
  mix-blend-mode: screen;
  transition: transform 0.5s ease, filter 0.5s ease;
}

/* 2. Volumetric Upward Light Beam from Chip */
.chip-beam-cone {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 190px;
  background: linear-gradient(to top, rgba(56, 189, 248, 0.75) 0%, rgba(0, 242, 254, 0.4) 38%, rgba(16, 109, 154, 0.18) 72%, transparent 100%);
  clip-path: polygon(36% 100%, 64% 100%, 100% 0%, 0% 0%);
  filter: blur(8px);
  opacity: 0.85;
  animation: chipBeamShimmer 3.8s ease-in-out infinite;
  pointer-events: none;
  transition: height 0.6s ease, opacity 0.6s ease;
}

/* 3. Expanding Energy Shockwave Wave Rings */
.chip-wave-ring {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1.5px solid rgba(56, 189, 248, 0.85);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.65), inset 0 0 15px rgba(56, 189, 248, 0.45);
  animation: chipWaveExpand 3s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  pointer-events: none;
}

.chip-wave-ring.delayed {
  animation-delay: 1.5s;
}

/* 4. Ambient Radial Aura */
.chip-aura-wide {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.4) 0%, rgba(16, 109, 154, 0.18) 50%, transparent 70%);
  filter: blur(25px);
  animation: chipAuraBreathe 4.5s ease-in-out infinite alternate;
  pointer-events: none;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

/* Card Hover Light Surge */
.card-3d-wrap:hover .chip-glow-core {
  transform: scale(1.35);
  filter: blur(3px);
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(56, 189, 248, 0.98) 30%, rgba(0, 242, 254, 0.65) 60%, transparent 80%);
}

.card-3d-wrap:hover .chip-beam-cone {
  height: 240px;
  opacity: 1;
  filter: blur(6px);
}

.card-3d-wrap:hover .chip-aura-wide {
  transform: scale(1.3);
  opacity: 0.9;
}

@keyframes chipCorePulse {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@keyframes chipBeamShimmer {
  0%, 100% {
    opacity: 0.7;
    transform: translateX(-50%) scaleX(0.94);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1.1);
  }
}

@keyframes chipWaveExpand {
  0% {
    transform: scale(0.5);
    opacity: 0.95;
  }
  65% {
    opacity: 0.45;
  }
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

@keyframes chipAuraBreathe {
  0% {
    transform: scale(0.9);
    opacity: 0.45;
  }
  100% {
    transform: scale(1.2);
    opacity: 0.75;
  }
}

/* Floating Social Media Dock & Animated Guide Character */
#floatingSocialWidget {
  transition: transform 0.3s ease;
}

.social-loop-btn {
  box-shadow: 0 10px 25px -4px rgba(16, 109, 154, 0.4), 0 0 15px rgba(56, 189, 248, 0.25);
  animation: socialGlowBreathe 2.4s ease-in-out infinite alternate;
}

@keyframes socialGlowBreathe {
  0% {
    filter: drop-shadow(0 4px 10px rgba(16, 109, 154, 0.3));
  }
  100% {
    filter: drop-shadow(0 8px 20px rgba(56, 189, 248, 0.5));
  }
}

.social-expanded-dock {
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.22), 0 0 20px rgba(16, 109, 154, 0.15);
}

/* ==========================================================================
   WBC Blog & Article Styling & Advanced Hover Animations
   ========================================================================== */

/* Reading Progress Bar (Top of Blog Details Page) */
#readingProgressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #106D9A, #0284c7, #38bdf8);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
}

/* Interactive Blog Cards */
.blog-card {
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: #ffffff;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px -8px rgba(16, 109, 154, 0.15), 0 10px 20px -5px rgba(15, 23, 42, 0.08);
  border-color: rgba(16, 109, 154, 0.4);
}

/* Image Zoom & Sheen Animation */
.blog-img-container {
  overflow: hidden;
  position: relative;
}

.blog-img-container img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-img-container img {
  transform: scale(1.08);
}

.blog-img-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: none;
  pointer-events: none;
}

.blog-card:hover .blog-img-container::after {
  left: 150%;
  transition: 0.75s ease-in-out;
}

/* Category Filter Tabs Active State */
.blog-filter-btn {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-filter-btn.active {
  background-color: #106D9A;
  color: #ffffff;
  border-color: #106D9A;
  box-shadow: 0 4px 14px -2px rgba(16, 109, 154, 0.35);
}

/* Table of Contents Sticky Item */
.toc-link {
  transition: all 0.2s ease;
  position: relative;
}

.toc-link:hover,
.toc-link.active {
  color: #106D9A;
  font-weight: 700;
  transform: translateX(4px);
}

.toc-link.active::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background-color: #106D9A;
  box-shadow: 0 0 8px rgba(16, 109, 154, 0.6);
}

/* Social Share Button Hover Effects */
.blog-share-btn {
  transition: all 0.25s ease;
}

.blog-share-btn:hover {
  transform: translateY(-3px) scale(1.08);
}

/* Article Prose Typography Styling */
.article-body h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f1f5f9;
  scroll-margin-top: 100px;
}

.article-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  line-height: 1.35;
  scroll-margin-top: 100px;
}

.article-body p {
  color: #334155;
  font-size: 1.0625rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.article-body ul, .article-body ol {
  color: #334155;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-body li {
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.article-body blockquote {
  border-left: 4px solid #106D9A;
  padding-left: 1.25rem;
  margin: 1.75rem 0;
  font-style: italic;
  color: #0f4c6e;
  background-color: #f0f9ff;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-radius: 0 0.75rem 0.75rem 0;
}

/* Static Background Parallax Effect */
.static-parallax-bg {
  background-attachment: fixed !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

/* Service Card Hover Micro-interactions */
.service-card-premium {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card-premium:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(16, 109, 154, 0.18), 0 0 20px rgba(56, 189, 248, 0.12);
  border-color: rgba(16, 109, 154, 0.35);
}

/* Animated Data Flow Pulse */
@keyframes dataPacketPulse {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}
.animate-data-flow {
  animation: dataPacketPulse 2.5s ease-in-out infinite;
}

/* Code Architecture Tree Styles */
.code-tree-trunk {
  position: relative;
}
.code-tree-trunk::before {
  content: '';
  position: absolute;
  top: 2rem;
  bottom: 1.5rem;
  left: 1.25rem;
  width: 2px;
  background: linear-gradient(to bottom, #106D9A 0%, rgba(16, 109, 154, 0.4) 70%, transparent 100%);
  border-radius: 9999px;
}
@media (max-width: 640px) {
  .code-tree-trunk::before {
    left: 0.85rem;
  }
}
.code-tree-node {
  position: relative;
}
.code-tree-node::before {
  content: '';
  position: absolute;
  top: 1.75rem;
  left: -1.75rem;
  width: 1.5rem;
  height: 2px;
  background-color: rgba(16, 109, 154, 0.45);
}
.code-tree-node::after {
  content: '';
  position: absolute;
  top: 1.55rem;
  left: -2.05rem;
  width: 0.5rem;
  height: 0.5rem;
  background-color: #106D9A;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 109, 154, 0.2);
}
@media (max-width: 640px) {
  .code-tree-node::before {
    left: -1.25rem;
    width: 1.1rem;
  }
  .code-tree-node::after {
    left: -1.5rem;
  }
}

/* ========================================================
   Premium Enterprise Breadcrumb Component with Visual Thumbnail
   ======================================================== */
.breadcrumb-premium-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.45rem 0.85rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 15px -3px rgba(16, 109, 154, 0.05), 0 2px 6px -2px rgba(0, 0, 0, 0.02);
  margin-bottom: 1.75rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.breadcrumb-premium-bar:hover {
  border-color: rgba(16, 109, 154, 0.28);
  box-shadow: 0 8px 24px -4px rgba(16, 109, 154, 0.09);
  transform: translateY(-1px);
}

.breadcrumb-trail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
}

.breadcrumb-item-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  border-radius: 0.5rem;
  color: #475569;
  transition: all 0.2s ease;
}

.breadcrumb-item-link:hover {
  color: #106D9A;
  background-color: rgba(16, 109, 154, 0.08);
}

.breadcrumb-separator {
  font-size: 0.55rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  user-select: none;
}

.breadcrumb-item-active {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, rgba(16, 109, 154, 0.1) 0%, rgba(2, 132, 199, 0.08) 100%);
  border: 1px solid rgba(16, 109, 154, 0.2);
  color: #106D9A;
  font-weight: 700;
}

.breadcrumb-thumb-img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.625rem;
  object-fit: cover;
  border: 1px solid rgba(16, 109, 154, 0.2);
  box-shadow: 0 2px 5px rgba(16, 109, 154, 0.1);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.breadcrumb-premium-bar:hover .breadcrumb-thumb-img {
  transform: scale(1.05);
}

/* Specialized Service Breadcrumb Container */
.service-breadcrumb-container {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 18px -3px rgba(16, 109, 154, 0.06), 0 2px 6px -2px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-breadcrumb-container:hover {
  border-color: rgba(16, 109, 154, 0.28);
  box-shadow: 0 8px 25px -4px rgba(16, 109, 154, 0.1);
}

.service-landscape-thumb {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.service-landscape-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(16, 109, 154, 0.22);
}

/* ==========================================================================
   WBC ENTERPRISE IT PRELOADER ENGINE (LIGHT THEME)
   ========================================================================== */
#wbc-preloader.wbc-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 35%, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

#wbc-preloader.preloader-dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.04);
}

.preloader-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(16, 109, 154, 0.14) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  pointer-events: none;
  opacity: 0.75;
}

.preloader-glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.preloader-glow-primary {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(16, 109, 154, 0.12) 0%, rgba(56, 189, 248, 0.08) 45%, transparent 70%);
  filter: blur(65px);
  animation: pulseGlow 4s ease-in-out infinite;
}

.preloader-glow-accent {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, transparent 70%);
  filter: blur(50px);
  animation: pulseGlow 3s ease-in-out infinite reverse;
}

.preloader-core-container {
  max-width: 480px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 10;
}

/* Concentric Orbital Rings */
.preloader-rings-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.tech-ring {
  position: absolute;
  border-radius: 50%;
}

.ring-outer {
  display: none !important;
}

.ring-middle {
  width: 130px;
  height: 130px;
  border: 2px solid transparent;
  border-left-color: #106D9A;
  border-right-color: #0284c7;
  animation: cyberRotateRev 8s linear infinite;
}

.ring-inner {
  width: 108px;
  height: 108px;
  border: 1.5px dotted rgba(16, 109, 154, 0.3);
  animation: cyberRotate 18s linear infinite;
}

.tech-core-pod {
  width: 86px;
  height: 86px;
  border-radius: 1.25rem;
  background: #ffffff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(16, 109, 154, 0.25);
  box-shadow: 0 12px 30px -5px rgba(16, 109, 154, 0.18), 0 4px 12px rgba(16, 109, 154, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.corner-marker {
  position: absolute;
  width: 7px;
  height: 7px;
  border-color: #106D9A;
  border-style: solid;
}

.corner-tl {
  top: 5px;
  left: 5px;
  border-width: 1.5px 0 0 1.5px;
}

.corner-tr {
  top: 5px;
  right: 5px;
  border-width: 1.5px 1.5px 0 0;
}

.corner-bl {
  bottom: 5px;
  left: 5px;
  border-width: 0 0 1.5px 1.5px;
}

.corner-br {
  bottom: 5px;
  right: 5px;
  border-width: 0 1.5px 1.5px 0;
}

.tech-core-logo {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.tech-core-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(16, 109, 154, 0.22));
}

.core-radar-sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(16, 109, 154, 0.14) 50%, transparent 100%);
  animation: radarSweep 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

/* Brand Meta */
.preloader-brand-meta {
  margin-bottom: 1.25rem;
}

.preloader-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.04em;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 0.3rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.preloader-title span,
.preloader-title-highlight {
  color: #106D9A !important;
}

.preloader-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: monospace;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #106D9A;
  box-shadow: 0 0 8px rgba(16, 109, 154, 0.6);
  animation: pulseDot 1.4s ease-in-out infinite;
}

/* Terminal Console (Bright IT Glassmorphism) */
.preloader-terminal-box {
  display: none !important;
  width: 100%;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(16, 109, 154, 0.22);
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: 0 14px 35px -8px rgba(16, 109, 154, 0.14), 0 4px 10px rgba(0, 0, 0, 0.03);
  text-align: left;
}

.terminal-bar {
  background: rgba(240, 249, 255, 0.95);
  padding: 0.4rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(16, 109, 154, 0.15);
}

.terminal-dots {
  display: flex;
  gap: 5px;
}

.terminal-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.625rem;
  color: #475569;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.terminal-output {
  padding: 0.65rem 0.85rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  background: #ffffff;
}

.term-prefix {
  color: #106D9A;
  font-weight: bold;
}

.term-msg {
  color: #0f172a;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.term-cursor {
  color: #106D9A;
  font-weight: bold;
  animation: blinkCursor 0.9s infinite;
}

/* Progress Area */
.preloader-progress-area {
  width: 100%;
  max-width: 380px;
  margin-bottom: 1.25rem;
}

.preloader-progress-track {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border: 1px solid rgba(16, 109, 154, 0.2);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.preloader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #106D9A 0%, #0284c7 70%, #38bdf8 100%);
  border-radius: 9999px;
  position: relative;
  transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(16, 109, 154, 0.4);
}

.progress-glow-head {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: #ffffff;
  filter: blur(1.5px);
  border-radius: 9999px;
}

.preloader-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  color: #64748b;
  font-weight: 600;
  margin-top: 0.4rem;
}

.progress-val {
  color: #106D9A;
  font-weight: 800;
}

/* Micro Badges */
.preloader-tech-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.tech-micro-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.625rem;
  font-weight: 700;
  color: #334155;
  background: #ffffff;
  border: 1px solid rgba(16, 109, 154, 0.22);
  padding: 0.22rem 0.6rem;
  border-radius: 0.375rem;
  letter-spacing: 0.05em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  box-shadow: 0 2px 5px rgba(16, 109, 154, 0.06);
  transition: all 0.2s ease;
}

.tech-micro-badge i {
  color: #106D9A;
  font-size: 0.65rem;
}

/* Animations */
@keyframes cyberRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

@keyframes radarSweep {
  0% { transform: translateY(-100%); opacity: 0; }
  50% { opacity: 0.6; }
  100% { transform: translateY(100%); opacity: 0; }
}

@keyframes pulseGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.35; }
}

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

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

/* ========================================================
   Meet Our Team - Premium Interactive Styles & Hover Effects
   ======================================================== */
.team-section-bg {
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(16, 109, 154, 0.05) 0%, transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(56, 189, 248, 0.06) 0%, transparent 50%),
              #ffffff;
}

.team-member-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.94) 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1.75rem;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.07),
              0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  will-change: transform, box-shadow;
}

/* Glass shine light-sweep effect on hover */
.team-member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 30%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0.05) 70%,
    transparent 100%
  );
  transform: skewX(-25deg);
  transition: left 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 10;
}

.team-member-card:hover::before {
  left: 170%;
}

.team-member-card:hover {
  transform: translateY(-8px);
  border-color: rgba(16, 109, 154, 0.35);
  box-shadow: 0 25px 50px -12px rgba(16, 109, 154, 0.18),
              0 0 25px -5px rgba(56, 189, 248, 0.15),
              0 0 0 1px rgba(16, 109, 154, 0.1) inset;
}

/* Ambient Backlight Glow */
.team-avatar-aura {
  position: absolute;
  inset: -12px;
  border-radius: 2.25rem;
  background: radial-gradient(circle, rgba(16, 109, 154, 0.3) 0%, rgba(56, 189, 248, 0.2) 45%, transparent 70%);
  filter: blur(16px);
  opacity: 0.35;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 0;
}

.team-member-card:hover .team-avatar-aura {
  opacity: 0.9;
  transform: scale(1.1);
  filter: blur(20px);
}

/* Avatar Ring Frame */
.team-avatar-frame {
  position: relative;
  width: 170px;
  height: 170px;
  margin: 0 auto;
  padding: 4px;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(16, 109, 154, 0.7), rgba(56, 189, 248, 0.9), rgba(99, 102, 241, 0.6));
  box-shadow: 0 8px 24px -4px rgba(16, 109, 154, 0.2);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

@media (min-width: 640px) {
  .team-avatar-frame {
    width: 190px;
    height: 190px;
  }
}

.team-member-card:hover .team-avatar-frame {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 32px -4px rgba(16, 109, 154, 0.3);
  background: linear-gradient(135deg, #106D9A, #38bdf8, #0284c7);
}

.team-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: calc(2rem - 4px);
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

.team-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.team-member-card:hover .team-avatar-img {
  transform: scale(1.07);
}

/* Floating status pill on avatar */
.team-avatar-badge {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  white-space: nowrap;
  z-index: 2;
  transition: all 0.3s ease;
}

.team-member-card:hover .team-avatar-badge {
  border-color: rgba(16, 109, 154, 0.3);
  box-shadow: 0 6px 16px rgba(16, 109, 154, 0.15);
}

/* Social Connect Action Icons */
.team-social-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.team-social-btn .social-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #0f172a;
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.25rem 0.6rem;
  border-radius: 0.375rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 20;
}

.team-social-btn .social-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px;
  border-style: solid;
  border-color: #0f172a transparent transparent transparent;
}

.team-social-btn:hover .social-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Individual Social Brands Hover Styling */
.team-social-wa:hover {
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
  transform: translateY(-4px) scale(1.12);
  box-shadow: 0 10px 20px -3px rgba(37, 211, 102, 0.45);
}

.team-social-li:hover {
  background: #0A66C2;
  border-color: #0A66C2;
  color: #ffffff;
  transform: translateY(-4px) scale(1.12);
  box-shadow: 0 10px 20px -3px rgba(10, 102, 194, 0.45);
}

.team-social-ig:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-4px) scale(1.12);
  box-shadow: 0 10px 20px -3px rgba(220, 39, 67, 0.45);
}

.team-social-fb:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #ffffff;
  transform: translateY(-4px) scale(1.12);
  box-shadow: 0 10px 20px -3px rgba(24, 119, 242, 0.45);
}

/* Quick Direct Connect Button */
.team-quick-connect-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 0.875rem;
  background: rgba(16, 109, 154, 0.06);
  border: 1px solid rgba(16, 109, 154, 0.2);
  color: #106D9A;
  font-weight: 700;
  font-size: 0.8125rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-quick-connect-btn:hover {
  background: #106D9A;
  border-color: #106D9A;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(16, 109, 154, 0.35);
}

.team-quick-connect-btn i.fa-whatsapp {
  color: #10b981;
  transition: color 0.2s ease;
}

.team-quick-connect-btn:hover i.fa-whatsapp {
  color: #ffffff;
}

.team-quick-connect-btn i.fa-arrow-right {
  transition: transform 0.2s ease;
}

.team-quick-connect-btn:hover i.fa-arrow-right {
  transform: translateX(3px);
}

/* ==========================================================================
   WBC Responsive UI/UX Optimization System
   (Tailored for Small Laptops 1024-1366px, Tablets 768-1024px, and Mobiles <640px)
   ========================================================================== */

/* 1. Global Touch & Tap Targets (Mobile & Tablet) */
input, select, textarea, button, a {
  touch-action: manipulation;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* 2. Touch Device Interactivity for 3D Service Cards */
@media (hover: none) and (pointer: coarse) {
  .card-3d-wrap:active .card-details-overlay,
  .card-3d-wrap:focus-within .card-details-overlay,
  .card-3d-wrap.active-touch .card-details-overlay {
    opacity: 1;
    transform: translateY(0);
  }
  .card-3d-wrap:active .card-default-bar,
  .card-3d-wrap:focus-within .card-default-bar,
  .card-3d-wrap.active-touch .card-default-bar {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
  }
}

/* 3. Small Laptop Screens (1024px - 1366px width, or height <= 820px) */
@media (min-width: 1024px) and (max-height: 820px) {
  #heroCarousel {
    min-height: 580px;
  }
  .carousel-slide .slide-content {
    padding-top: 1rem;
    padding-bottom: 2rem;
  }
  .carousel-slide .slide-title {
    font-size: 2.75rem !important;
    line-height: 1.15 !important;
    margin-bottom: 1rem !important;
  }
  .carousel-slide .slide-desc {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.25rem !important;
  }
  .carousel-slide .slide-actions {
    margin-top: 0.5rem;
  }
}

/* 4. Tablets & Medium Screens (640px - 1023px) */
@media (max-width: 1023px) {
  #spotlightContentArea {
    min-height: auto !important;
  }
  .testimonial-spotlight-item {
    min-height: auto !important;
  }
  #partnerListContainer {
    max-height: 380px !important;
  }
  .policy-sidebar {
    position: static !important;
    margin-bottom: 2rem;
  }
  #policyTocNav, #termsTocNav {
    max-height: 32vh !important;
  }
}

/* 5. Mobile Devices (< 640px, especially 360px - 430px) */
@media (max-width: 639px) {
  /* Hero Carousel Mobile Flow */
  #heroCarousel {
    min-height: 100vh;
    min-height: 100dvh;
  }
  
  .carousel-slide .slide-title {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
  }

  .carousel-slide .slide-desc {
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.25rem !important;
  }

  .carousel-slide .slide-badge {
    margin-bottom: 1rem !important;
    font-size: 0.6875rem !important;
    padding: 0.25rem 0.65rem !important;
  }

  .carousel-slide .slide-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.65rem !important;
  }

  .carousel-slide .slide-actions a {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem !important;
    font-size: 0.875rem !important;
  }

  /* Compact Hero Carousel Indicators */
  .indicator-bar {
    width: 2rem !important;
    height: 4px !important;
  }

  /* Preloader Box Fluid Width */
  .preloader-terminal-box {
    max-width: 92vw;
    padding: 0.65rem;
  }

  .terminal-output {
    font-size: 0.75rem;
  }

  .preloader-title {
    font-size: 1.35rem;
  }

  /* Breadcrumbs on Mobile */
  .breadcrumb-premium-bar {
    padding: 0.35rem 0.65rem;
  }

  .breadcrumb-trail {
    font-size: 0.75rem;
    gap: 0.35rem;
  }

  /* Testimonials spotlight quote on small mobile */
  .testimonial-client-logo-box {
    width: 3.5rem;
    height: 2.75rem;
  }

  /* Form & Modal inputs */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    font-size: 16px !important; /* Prevents unwanted iOS auto-zoom */
  }
}

/* 6. Ultra-Small Mobile Screens (<= 380px) */
@media (max-width: 380px) {
  .carousel-slide .slide-title {
    font-size: 1.75rem !important;
  }
  .indicator-bar {
    width: 1.5rem !important;
  }
}

/* ==========================================================================
   7. 3D Project Portfolio & Interactive Showcase Animations
   ========================================================================== */

/* 3D Perspective Containers */
.perspective-1000 {
  perspective: 1000px;
  -webkit-perspective: 1000px;
}

.perspective-1200 {
  perspective: 1200px;
  -webkit-perspective: 1200px;
}

.perspective-1600 {
  perspective: 1600px;
  -webkit-perspective: 1600px;
}

.preserve-3d {
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

.backface-hidden {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Depth Layers */
.translate-z-10 {
  transform: translateZ(10px);
}
.translate-z-20 {
  transform: translateZ(20px);
}
.translate-z-30 {
  transform: translateZ(30px);
}
.translate-z-40 {
  transform: translateZ(40px);
}
.translate-z-50 {
  transform: translateZ(50px);
}

/* 3D Interactive Project Card */
.project-card-3d {
  position: relative;
  border-radius: 1.5rem;
  background: #ffffff;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: flat !important;
}

@media (hover: hover) {
  .project-card-3d:hover {
    box-shadow: 0 20px 40px -10px rgba(16, 109, 154, 0.2), 0 10px 20px -8px rgba(2, 132, 199, 0.12);
    border-color: rgba(16, 109, 154, 0.4) !important;
  }
}

@media (hover: none) {
  .project-card-3d:active {
    transform: scale(0.985);
  }
}

.project-card-inner {
  border-radius: inherit;
  width: 100%;
  height: 100%;
  transform-style: flat !important;
}

/* Floating 3D Phone Mockup Showcase */
.mockup-3d-stage {
  perspective: 1400px;
  transform-style: preserve-3d;
}

.mockup-phone-body {
  transform-style: preserve-3d;
  transform: rotateY(-18deg) rotateX(10deg) rotateZ(3deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
  box-shadow: 
    -20px 25px 50px -10px rgba(15, 23, 42, 0.35),
    -10px 15px 30px -5px rgba(16, 109, 154, 0.25),
    inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.mockup-3d-stage:hover .mockup-phone-body {
  transform: rotateY(-6deg) rotateX(4deg) rotateZ(1deg) translateY(-8px);
  box-shadow: 
    -25px 35px 65px -12px rgba(15, 23, 42, 0.45),
    -15px 20px 40px -8px rgba(16, 109, 154, 0.35),
    inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

/* Keyframe Animations */
@keyframes float3D {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(1.5deg);
  }
}

@keyframes float3DReverse {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(12px) rotate(-1.5deg);
  }
}

@keyframes orbit3D {
  0% {
    transform: rotate3d(1, 1, 1, 0deg);
  }
  100% {
    transform: rotate3d(1, 1, 1, 360deg);
  }
}

@keyframes holographicPulse {
  0%, 100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.08);
  }
}

@keyframes lightBeamPass {
  0% {
    transform: translateX(-150%) skewX(-25deg);
  }
  100% {
    transform: translateX(250%) skewX(-25deg);
  }
}

.animate-float-3d {
  animation: float3D 6s ease-in-out infinite;
}

.animate-float-3d-rev {
  animation: float3DReverse 7s ease-in-out infinite;
}

.animate-holo-pulse {
  animation: holographicPulse 4s ease-in-out infinite;
}

.animate-beam {
  animation: lightBeamPass 5s ease-in-out infinite;
}

/* Glassmorphism Dark & Light Badges */
.glass-badge-dark {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-badge-light {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Core Operating Focus Parallax Fixed Section */
.core-focus-parallax-section {
  background-image: url('../images/core_focus_bg.jpg');
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 640px) {
  .core-focus-parallax-section {
    background-attachment: scroll;
  }
}

/* Project Vision Consultation CTA Parallax Fixed Section */
.project-cta-parallax-section {
  background-image: url('../images/project_vision_cta_bg.jpg');
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 640px) {
  .project-cta-parallax-section {
    background-attachment: scroll;
  }
}

/* Culture Preview Office Workspace Parallax Fixed Section */
.culture-parallax-section {
  background-image: url('../images/wbc_office_workspace_bg.jpg') !important;
  background-attachment: fixed !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  -webkit-background-size: cover !important;
}

