/* Modern White Theme Styles */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Typography */
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  /*background-color: #ffffff;*/
  color: #1e293b;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* animated background */
.bg-animated {
  position: relative;
  min-height: 100vh;
}

.bg-animated::before {
  content: '';
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #5400da 0%, #226dec 50%, #ff7474 100%);
  background-size: 200%;
  opacity: 0.15;
  animation: gradientShift 5s ease-in-out infinite;
  z-index: -1;
}

nav a {
  transition: all 0.3s ease;
}

nav a:hover {
  color: #3b82f6;
  font-size: 1.1em;
  font-weight: 800;
}

footer li a {
  color: #475569;
  transition: all 0.3s ease;
  font-weight: 500;
}

footer li a:hover {
  color: #1e40af;
  font-weight: 700;
}

.hero-content {
  opacity: 0;
  animation: slideUpFadeIn 1s ease-out forwards;
  animation-delay: 0.2s;
}

@keyframes slideUpFadeIn {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Add staggered animation for hero children - text content appears first, then video */
.hero-content > div:first-child {
  opacity: 0;
  animation: slideUpFadeIn 0.8s ease-out forwards;
  animation-delay: 0.3s;
}

.hero-content > div:nth-child(2) {
  opacity: 0;
  animation: slideUpFadeIn 0.8s ease-out forwards;
  animation-delay: 0.5s;
}

/* Hero Title Enhancements */
.hero-title {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  letter-spacing: -0.02em;
}

/* Hero Title Split Layout */
.hero-title-split {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* On wide screens, keep two-line layout */
@media (min-width: 768px) {
  .hero-title-split {
    display: flex;
    flex-direction: column;
  }

  .hero-title-line1,
  .hero-title-line2 {
    display: block;
  }
}

/* On narrow screens, allow free wrapping */
@media (max-width: 767px) {
  .hero-title-split {
    display: block;
  }

  .hero-title-line1::after {
    content: ' ';
  }
}

/* Hero Title Rollout Animation - Fade in and roll out from middle */
.hero-title-rollout {
  opacity: 0;
  transform: perspective(1000px) rotateX(-90deg);
  transform-origin: center center;
}

.hero-title-rollout.animate-in {
  animation: rolloutFromMiddle 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes rolloutFromMiddle {
  0% {
    opacity: 0;
    transform: perspective(1000px) rotateX(-90deg) scale(0.8);
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) scale(1);
  }
}

/* Hero Rows - Fade in and slide up with stagger */
.hero-subtitle-row,
.hero-cta-row,
.hero-pills-row,
.hero-trust-row {
  opacity: 0;
  transform: translateY(30px);
}

.hero-subtitle-row.animate-in {
  animation: fadeInSlideUp 0.8s ease-out forwards;
  animation-delay: 0.1s;
}

.hero-cta-row.animate-in {
  animation: fadeInSlideUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

.hero-pills-row.animate-in {
  animation: fadeInSlideUp 0.8s ease-out forwards;
  animation-delay: 0.3s;
}

.hero-trust-row.animate-in {
  animation: fadeInSlideUp 0.8s ease-out forwards;
  animation-delay: 0.4s;
}

@keyframes fadeInSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Image Tilt Effect - Fixed position with perspective tilt */
.hero-image-tilt {
  perspective: 1500px;
  transform-style: preserve-3d;
}

.hero-main-image {
  transition: transform 0.1s ease-out;
  will-change: transform;
}

/* Hero Title Enhancements */

/* Animated Gradient Text */
.text-gradient-animated {
  background: linear-gradient(135deg, #152c6f 0%, #3b82f6 50%, #06b6d4 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

/* Hero Section Bouncing Icons */
.hero-image-container {
  position: relative;
}

.bouncing-icon {
  position: absolute;
  z-index: 5;
  animation: float 2s ease-in-out infinite;
}

.bouncing-icon::before {
  content: '';
  position: absolute;
  top: -25%;
  left: -25%;
  transform: translate(-50%, -50%);
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  z-index: 10;
  animation: pulse 1s ease-in-out infinite;
}

.bouncing-icon img {
  display: block;
  transition: transform 0.3s ease;
}

.bouncing-icon:hover img {
  transform: scale(1.1);
}

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

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.3;
  }
}

/* Media queries for responsive bouncing icons */
@media (max-width: 768px) {
  .bouncing-icon {
    display: none;
  }
}

/* ============================================
   FEATURES SECTION SLIDING ANIMATIONS
   ============================================ */

/* Features grid wrapper - allow overflow for sliding animations */
#features .features-grid-wrapper {
  position: relative;
  overflow: visible !important;
}

/* COMPLETELY override old animations for features section */
#features .feature-card-appear,
#features .feature-card {
  opacity: 0 !important;
  transform: translateY(0) !important;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.8s ease-out !important;
  will-change: transform, opacity;
  position: relative;
}

/* Remove ALL old stagger delays */
#features .feature-card-appear:nth-child(1),
#features .feature-card-appear:nth-child(2),
#features .feature-card-appear:nth-child(3),
#features .feature-card-appear:nth-child(4),
#features .feature-card-appear:nth-child(5),
#features .feature-card-appear:nth-child(6),
#features .feature-card:nth-child(1),
#features .feature-card:nth-child(2),
#features .feature-card:nth-child(3),
#features .feature-card:nth-child(4),
#features .feature-card:nth-child(5),
#features .feature-card:nth-child(6) {
  transition-delay: 0s !important;
}

/* Odd row items - start from left (HIGHEST SPECIFICITY) */
#features .features-grid-wrapper .feature-card[data-row="odd"] {
  transform: translateX(-100%) !important;
  opacity: 0 !important;
}

/* Even row items - start from right (HIGHEST SPECIFICITY) */
#features .features-grid-wrapper .feature-card[data-row="even"] {
  transform: translateX(100%) !important;
  opacity: 0 !important;
}

/* Animated state - slide to center (HIGHEST SPECIFICITY) */
#features .features-grid-wrapper .feature-card.slide-in {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Stagger delays for items in same row */
#features .features-grid-wrapper .feature-card.slide-in[data-col="0"] {
  transition-delay: 0s !important;
}

#features .features-grid-wrapper .feature-card.slide-in[data-col="1"] {
  transition-delay: 0.15s !important;
}

#features .features-grid-wrapper .feature-card.slide-in[data-col="2"] {
  transition-delay: 0.3s !important;
}

/* Responsive: On mobile (1 column), alternate left/right */
@media (max-width: 767px) {
  #features .feature-card[data-feature-index="0"],
  #features .feature-card[data-feature-index="2"],
  #features .feature-card[data-feature-index="4"] {
    transform: translateX(-100%) !important;
    opacity: 0 !important;
  }

  #features .feature-card[data-feature-index="1"],
  #features .feature-card[data-feature-index="3"],
  #features .feature-card[data-feature-index="5"] {
    transform: translateX(100%) !important;
    opacity: 0 !important;
  }

  #features .feature-card.slide-in {
    transform: translateX(0) !important;
    opacity: 1 !important;
  }
}

/* Media queries for responsive bouncing icons */

/* Hero Badge Animation */
.hero-badge {
  animation: slideDown 0.6s ease-out forwards;
  animation-delay: 0.1s;
  opacity: 0;
  box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.1);
}

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

.h-60px {
  height: 60px !important;
  max-height: 60px !important;
  min-height: 60px !important;
}

/* Customer Slider Logos - Remove grayscale and make bigger */
#customers-slider-container img {
  filter: none;
  opacity: 0.9;
  transition: all 0.3s ease;
}

#customers-slider-container img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Make customer slider logos bigger */
#customers-slider-track .h-60px {
  height: 50px !important;
  max-height: 50px !important;
  min-height: 50px !important;
}

/* Override inline styles for specific logos */
#customers-slider-track img[style*="height: 40px"] {
  height: 45px !important;
}

#customers-slider-track img[style*="height: 48px"] {
  height: 52px !important;
}

/* Glass Effect Cards (White Theme) */
.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Glass Effect with Theme Gradient */
.glass-effect-gradient {
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

/* Hero Contact Button - Glass effect when not hovered, gradient on hover */
.hero-contact-btn {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s ease-in-out;
}

.hero-contact-btn:hover {
  background: linear-gradient(135deg, #152c6f 0%, #3b82f6 100%);
  color: #1e293b;
  border-color: transparent;
  box-shadow: 0 8px 24px 0 rgba(59, 130, 246, 0.35);
}

.hero-contact-btn:hover i {
  color: white;
}

/* Gradient Text */
.text-gradient {
  background: linear-gradient(135deg, #152c6f 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Modern Button Styles */
.btn-gradient {
  background: linear-gradient(135deg, #152c6f 0%, #3b82f6 100%);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.25);
}

.btn-gradient:hover {
  box-shadow: 0 8px 24px 0 rgba(59, 130, 246, 0.35);
}

.btn-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-gradient:hover::before {
  left: 100%;
}

.btn-outline-gradient {
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-gradient:hover {
  background: white;
}


/* Product Card Animations */
.product-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

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

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

/* Feature Card Styles */
.feature-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(226, 232, 240, 0.6);
  background: linear-gradient(to bottom right, #ffffff, #f8fafc);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.08);
  border-color: rgba(59, 130, 246, 0.2);
}

/* Testimonial Card Animations */
.testimonial-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.6);
}

.testimonial-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

/* Media Card Animations */
.media-card-appear {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(to bottom, #ffffff, #f9fafb);
}

.media-card-appear:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* USP Info Slide Animations */
.slide-in-from-left,
.slide-in-from-right {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-from-left {
  transform: translateX(-50px);
}

.slide-in-from-right {
  transform: translateX(50px);
}

.slide-in-from-left.animate-in,
.slide-in-from-right.animate-in {
  opacity: 1;
  transform: translateX(0);
}

/* Partner Card Animations */
.partner-card-appear {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-card-appear.animate-in {
  opacity: 1;
  transform: scale(1);
}

/* Counter Animation */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.counter {
  animation: countUp 0.8s ease-out;
    margin-right: -10px;
}

/* Floating Animation for Icons */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* Blob Animation */
@keyframes blob {
  0%, 100% {
    transform: translate(0px, 0px) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.animate-blob {
  animation: blob 7s infinite;
}

.animation-delay-2000 {
  animation-delay: 2s;
}

.animation-delay-4000 {
  animation-delay: 4s;
}

/* Gradient Background Overlays */
.gradient-overlay {
  position: relative;
  overflow: hidden;
}

.gradient-overlay::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* Modern Shadow Utilities */
.shadow-modern {
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.05),
  0 2px 4px -1px rgba(0, 0, 0, 0.06),
  0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.shadow-modern-lg {
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.05),
  0 10px 15px -3px rgba(0, 0, 0, 0.08),
  0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

/* Scroll Animations */
.feature-card-appear,
.product-card-appear,
.testimonial-card-appear,
.section-appear {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card-appear.animate-in,
.product-card-appear.animate-in,
.testimonial-card-appear.animate-in,
.section-appear.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Animation Delays */
.feature-card-appear:nth-child(1) {
  transition-delay: 0.1s;
}

.feature-card-appear:nth-child(2) {
  transition-delay: 0.2s;
}

.feature-card-appear:nth-child(3) {
  transition-delay: 0.3s;
}

.feature-card-appear:nth-child(4) {
  transition-delay: 0.4s;
}

.feature-card-appear:nth-child(5) {
  transition-delay: 0.5s;
}

.feature-card-appear:nth-child(6) {
  transition-delay: 0.6s;
}

/* Slider Animation */
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

.animate-slide {
  animation: slide 22s linear infinite;
}

.animate-slide-right {
  animation: slideRight 15s linear infinite;
}

/* Icon Container Styles */
.icon-container {
  position: relative;
  overflow: hidden;
}

.icon-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(59, 130, 246, 0.1) 100%);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.icon-container:hover::before {
  transform: translateX(0);
}

/* Form Styles */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Focus Visible Styles */
*:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.75rem;
    line-height: 1.3;
  }
}

/* Loading States */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Backdrop Blur Utilities */
.backdrop-blur-custom {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Modern Pricing Card */
.pricing-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(to bottom right, #ffffff, #f8fafc);
  border: 1px solid rgba(226, 232, 240, 0.6);
}

.pricing-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
}

/*  position: relative;*/
/*  display: inline-block;*/
/*  width: 16px;*/
/*  height: 16px;*/
/*  border-radius: 4px;*/
/*  border: 2px solid #3b82f6;*/
/*  background-color: white;*/
/*  transition: all 0.2s ease;*/
/*}*/

.custom-checkbox.checked {
  background-color: #3b82f6;
}

.custom-checkbox.checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Gradient Utilities */
.gradient-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
}

.gradient-secondary {
  background: linear-gradient(135deg, #4a90e2 0%, #2563eb 100%);
}

.gradient-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 25%, #cbd5e1 100%);
}

.gradient-feature {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.gradient-card-hover:hover {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.text-gradient {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-gradient {
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
  opacity: 0.9;
}

.gradient-border {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box, linear-gradient(135deg, #3b82f6, #1e40af) border-box;
}

/* USP Slide-in Animations */
.slide-in-from-left,
.slide-in-from-right {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-from-left {
  transform: translateX(-60px);
}

.slide-in-from-right {
  transform: translateX(60px);
}

.usp-info-animate {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* USP Items - Simple styling without scroll effects */
.usp-item {
  position: relative;
  opacity: 1;
  transform: none;
}

/* USP Header */
#usp-header {
  padding: 2rem 0;
  margin-bottom: 2rem;
}

/* USP Items Container */
#usp-items-container {
  position: relative;
}

/* Staggered slide-in animations for USP content */
.usp-item .usp-icon-wrapper {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
  transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.usp-slide-left {
  transform: translateX(-60px);
}

.usp-slide-right {
  transform: translateX(60px);
}

.usp-item .usp-title {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
  transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.usp-item .usp-description {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
  transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated state - slide in from left or right when visible */
.usp-item.usp-info-animate .usp-icon-wrapper {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.2s;
}

.usp-item.usp-info-animate .usp-title {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.4s;
}

.usp-item.usp-info-animate .usp-description {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.6s;
}


/* Partner Logo Styles */
.partner-logo {
  transition: all 0.3s ease;
}

.partner-logo.focused {
  transform: scale(1.15);
  z-index: 10;
}

/* Back to Top Button */
#backToTopBtn,
#liveSupportBtn,
#callBtn,
#zaloBtn,
#messengerBtn {
  position: fixed;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1000;
  font-size: 24px;
  outline: none;
  visibility: visible;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
}

#backToTopBtn.show,
#liveSupportBtn.show,
#callBtn.show,
#zaloBtn.show,
#messengerBtn.show {
  visibility: visible;
  pointer-events: auto;
  opacity: 0.9;
  transition: all 0.2s ease;
}

#backToTopBtn:hover,
#liveSupportBtn:hover,
#callBtn:hover,
#zaloBtn:hover,
#messengerBtn:hover {
  opacity: 1;
  transform: scale(1.1);
}

#backToTopBtn {
  bottom: 2rem;
  background: #222;
  color: #fff;
}

#liveSupportBtn {
  bottom: 5.5rem;
  background: #222;
  color: #fff;
}

#callBtn {
  bottom: 9rem;
  background: #4CAF50;
  color: #fff;
}

#zaloBtn {
  bottom: 12.5rem;
  background: #0068FF;
  color: #fff;
}

#messengerBtn {
  bottom: 16rem;
  background: #006AFF;
  color: #fff;
}

/* Product Card Transition */
.product-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card.product-card-appear {
  opacity: 1;
  transform: translateY(0);
}

/* Partner Card Transition */
.partner-card-appear {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-card-appear.partner-card-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Feature Card Transition */
.feature-card-appear {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card-appear.feature-card-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Testimonial Card Transition */
.testimonial-card-appear {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card-appear.testimonial-card-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Media Card Transition */
.media-card-appear {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.media-card-appear.media-card-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 50;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 12px 16px;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
  border-bottom: 1px solid #f3f4f6;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background-color: #f8fafc;
  color: #152c6f;
  padding-left: 20px;
}

.dropdown-item:first-child {
  border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child {
  border-radius: 0 0 8px 8px;
}

/* Arrow indicator */
.dropdown-arrow {
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Language Selector Styles */
.lang-selector {
  padding: 8px;
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10001;
}

.lang-selector:hover {
  color: #152c6f;
}

.lang-selector-menu {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 180px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 10002;
  border-radius: 8px;
  overflow: hidden;
  right: 0;
  top: 100%;
  margin-top: 0.5rem;
  border: 1px solid #e5e7eb;
  animation: slideDown 0.2s ease-out;
  pointer-events: auto;
}

.lang-selector-menu[style*="display: block"] {
  display: block !important;
}

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

.lang-selector-menu a {
  color: #4b5563;
  padding: 0.875rem 1.25rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f3f4f6;
}

.lang-selector-menu a:last-child {
  border-bottom: none;
}

.lang-selector-menu a:hover {
  background-color: #f9fafb;
  color: #152c6f;
  padding-left: 1.5rem;
}

.lang-selector-menu a.active {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #152c6f;
  font-weight: 600;
  border-left: 3px solid #3b82f6;
}

.lang-selector-menu a.active i {
  color: #3b82f6;
}

/* Mobile Menu Animation */
#mobile-menu {
  transition: all 0.3s ease-in-out;
}

/* Common highlight animation for all sections */

.section-highlight {
  animation: highlight-section 1.5s ease-out;
}

@keyframes highlight-section {
  0% {
    background-color: rgba(219, 234, 254, 0.7);
    transform: scale(0.98);
  }
  70% {
    background-color: rgba(219, 234, 254, 0.3);
  }
  100% {
    background-color: transparent;
    transform: scale(1);
  }
}

/* Product cards entrance animation */
.product-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.product-card.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Partner cards entrance animation */
.partner-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.partner-card.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile App Section Items Animation */
.mobile-app-item {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.mobile-app-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Testimonial cards entrance animation */
.testimonial-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.testimonial-card.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Media says cards entrance animation */
.media-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.media-card.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Products Carousel Styles - Simple and Clean */
.products-carousel-wrapper {
  position: relative;
  padding: 2rem 0;
  overflow-x: hidden;
  width: 100%;
}

#products-carousel {
  overflow-x: hidden;
  width: 100%;
}

.products-carousel-track {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.5s ease;
  width: 100%;
  overflow-x: hidden;
}

.product-carousel-item {
  flex: 0 0 100%;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* Carousel Navigation Buttons */
#carousel-prev,
#carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

/* Products Carousel - New Implementation */
.products-carousel-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.products-carousel {
  position: relative;
  width: 100%;
  /*max-width: 80%;*/
  height: 960px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-carousel-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  width: 60vw;
  max-width: 800px;
  min-width: 600px;
  height: 700px !important;
  padding: 1.5rem;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: all 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Active card - center, full opacity, no tilt, 1.2x bigger */
.product-carousel-card.active {
  opacity: 1;
  transform: translateX(0) translateZ(0) rotateY(0deg) scale(1.2);
  z-index: 3;
  filter: blur(0);
}

/* Left card - tilted right, blurred, covered 50% */
.product-carousel-card.left {
  opacity: 0.7;
  transform: translateX(-40%) translateZ(-100px) rotateY(15deg) scale(0.85);
  z-index: 1;
  filter: blur(2px);
}

/* Right card - tilted left, blurred, covered 50% */
.product-carousel-card.right {
  opacity: 0.7;
  transform: translateX(40%) translateZ(-100px) rotateY(-15deg) scale(0.85);
  z-index: 2;
  filter: blur(2px);
}

/* Hidden card - off-screen */
.product-carousel-card.hidden {
  opacity: 0;
  transform: translateX(150%) translateZ(-200px) rotateY(-30deg) scale(0.7);
  z-index: 0;
  pointer-events: none;
  filter: blur(4px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .product-carousel-card {
    width: 60vw;
    max-width: 550px;
    min-width: 400px;
  }

  .product-carousel-card.left {
    transform: translateX(-45%) translateZ(-80px) rotateY(12deg) scale(0.85);
  }

  .product-carousel-card.right {
    transform: translateX(45%) translateZ(-80px) rotateY(-12deg) scale(0.85);
  }
}

@media (max-width: 768px) {
  .products-carousel {
    height: 650px;
  }

  .product-carousel-card {
    width: 85vw;
    max-width: 450px;
    min-width: 300px;
    padding: 2rem;
  }

  .product-carousel-card.left,
  .product-carousel-card.right {
    opacity: 0.3;
    transform: translateX(0) translateZ(-150px) scale(0.7);
    filter: blur(3px);
  }

  .product-carousel-card.left {
    transform: translateX(-70%) translateZ(-150px) rotateY(20deg) scale(0.7);
  }

  .product-carousel-card.right {
    transform: translateX(70%) translateZ(-150px) rotateY(-20deg) scale(0.7);
  }
}

#carousel-prev:hover,
#carousel-next:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

#carousel-prev:active,
#carousel-next:active {
  transform: translateY(-50%) scale(0.95);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .product-carousel-item {
    max-width: 100%;
  }

  #carousel-prev {
    left: 0.5rem;
  }

  #carousel-next {
    right: 0.5rem;
  }
}

.product-card-image {
  height: 450px;
  max-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===== Timeline USP Section ===== */
.timeline-container {
  position: relative;
  padding: 2rem 0;
}

/* Central Timeline Axis - stays fixed */
.timeline-axis {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent, #cbd5e1 10%, #cbd5e1 90%, transparent);
  transform: translateX(-50%);
  z-index: 1;
}

/* Timeline progress indicator - blue portion */
.timeline-axis::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, transparent, #3b82f6 10%, #3b82f6);
  transition: height 0.3s ease-out;
}

/* Timeline Milestones */
.timeline-milestone {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0.5rem 0;
  opacity: 0.3;
  transform: scale(0.95);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-milestone.active {
  opacity: 1;
  transform: scale(1);
}

.timeline-milestone.visited {
  opacity: 0.6;
}

.timeline-milestone.visited.active {
  opacity: 1;
}

/* Left Milestones (1, 3, 5) - right aligned */
.timeline-milestone.left {
  justify-content: flex-end;
  padding-right: calc(50% + 2.5rem);
}

/* Right Milestones (2, 4) - left aligned */
.timeline-milestone.right {
  justify-content: flex-start;
  padding-left: calc(50% + 2.5rem);
}

/* Milestone Dot - gray by default, no !important */
.milestone-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: #d1d5db;
  border: 3px solid #9ca3af;
  border-radius: 50%;
  transition: all 0.8s ease;
  z-index: 2;
}

/* Active milestone dot - blue with pulse */
.timeline-milestone.active .milestone-dot {
  background: #3b82f6;
  border-color: #3b82f6;
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.2);
  width: 18px;
  height: 18px;
}

/* Visited milestone dots - blue */
.timeline-milestone.visited .milestone-dot {
  background: #3b82f6;
  border-color: #3b82f6;
}

/* Milestone Content Card - using Features Section styling with bigger width */
.milestone-content {
  max-width: 600px;
  padding: 1rem 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #f3f4f6;
  transition: all 0.8s ease;
}

.timeline-milestone.left .milestone-content {
  text-align: right;
}

.timeline-milestone.right .milestone-content {
  text-align: left;
}

.timeline-milestone.active .milestone-content {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #f3f4f6;
}


/* Milestone Title - more compact */
.milestone-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

/* Milestone Description - more compact */
.milestone-description {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .timeline-axis {
    left: 2rem;
  }

  .timeline-milestone.left,
  .timeline-milestone.right {
    justify-content: flex-start;
    padding-left: 4.5rem;
    padding-right: 1rem;
  }

  .timeline-milestone.left .milestone-content,
  .timeline-milestone.right .milestone-content {
    text-align: left;
  }

  .milestone-dot {
    left: 2rem;
  }

  .timeline-milestone {
    margin: 0.75rem 0;
  }

  .milestone-content {
    max-width: 100%;
    padding: 1.25rem 1.5rem;
  }

  .milestone-title {
    font-size: 1.25rem;
  }

  .milestone-description {
    font-size: 0.9rem;
  }
}

.timeline-milestone {
    /*padding-bottom: 3rem;*/
}


/* ===== Promotion Popup Styles ===== */
.promotion-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 1rem;
}

.promotion-popup-overlay.show {
  opacity: 1;
  visibility: visible;
  animation: fadeInOverlay 0.4s ease forwards;
}

@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.promotion-popup-container {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 24px;
  max-width: 540px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.promotion-popup-overlay.show .promotion-popup-container {
  transform: scale(1);
  opacity: 1;
  animation: fadeInScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

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

.promotion-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.promotion-popup-close:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  transform: rotate(90deg);
}

.promotion-popup-close i {
  font-size: 20px;
  color: #6b7280;
}

.promotion-popup-close:hover i {
  color: #dc2626;
}

.promotion-popup-content {
  padding: 2.5rem 2rem 2rem;
}

.promotion-popup-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: pulse 2s ease-in-out infinite;
}

.promotion-popup-badge i {
  font-size: 18px;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.promotion-popup-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.promotion-popup-title .highlight {
  background: linear-gradient(135deg, #dc2626 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.promotion-popup-description {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.promotion-popup-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.promotion-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #1e293b;
  font-weight: 500;
}

.promotion-feature-item i {
  font-size: 20px;
  color: #22c55e;
}

.promotion-popup-form {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 1rem;
}

.promotion-input {
  padding: 0.875rem 1.125rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.2s ease;
  /*font-family: 'Inter', sans-serif;*/
}

.promotion-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.promotion-submit-btn {
  background: linear-gradient(135deg, #152c6f 0%, #3b82f6 100%);
  color: white;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.25);
}

.promotion-submit-btn:hover {
  box-shadow: 0 8px 24px 0 rgba(59, 130, 246, 0.35);
  transform: translateY(-2px);
}

.promotion-popup-disclaimer {
  font-size: 0.8125rem;
  color: #9ca3af;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.promotion-popup-disclaimer i {
  font-size: 14px;
}

/* Responsive */
@media (max-width: 640px) {
  .promotion-popup-content {
    padding: 2rem 1.5rem 1.5rem;
  }

  .promotion-popup-title {
    font-size: 1.625rem;
  }

  .promotion-popup-description {
    font-size: 0.9375rem;
  }
}

/* Stats Cards Animation Styles */
.stats-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  /*position: relative;*/
  width: 100%;
}

@media (min-width: 768px) {
  .stats-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }
}

.stat-card {
  /*background: rgba(255, 255, 255, 0.7);*/
  /*backdrop-filter: blur(10px);*/
  /*border-radius: 20px;*/
  padding: 0.5rem;
  /*box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);*/
  /*border: 1px solid rgba(255, 255, 255, 0.18);*/
  width: 33%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Initial positions - all cards stacked at center */
.stat-card-1,
.stat-card-2,
.stat-card-3 {
  opacity: 0;
}

@media (min-width: 768px) {
  .stats-container {
    position: relative;
  }

  .stat-card-1 {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 1;
  }

  .stat-card-2 {
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }

  .stat-card-3 {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 3;
  }
}

/* Animated state when scrolled into view */
.stat-card-1.animate {
  opacity: 1;
  animation: slideToLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.stat-card-2 {
  opacity: 0;
  animation: fadeInZoom 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.2s;
}

.stat-card-3.animate {
  opacity: 1;
  animation: slideToRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Mobile animations - simple fade in */
@keyframes fadeInZoom {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideToLeft {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideToRight {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Desktop animations - slide from center to sides */
@media (min-width: 768px) {
  @keyframes slideToLeft {
    0% {
      opacity: 0;
      position: absolute;
      left: 50%;
      top: 0;
      transform: translateX(-50%);
      z-index: 1;
    }
    100% {
      opacity: 1;
      position: absolute;
      left: 0;
      top: 0;
      transform: translateX(0);
      z-index: 1;
    }
  }

  @keyframes slideToRight {
    0% {
      opacity: 0;
      position: absolute;
      left: 50%;
      top: 0;
      transform: translateX(-50%);
      z-index: 3;
    }
    100% {
      opacity: 1;
      position: absolute;
      right: 0;
      left: auto;
      top: 0;
      transform: translateX(0);
      z-index: 3;
    }
  }
}

/* Contact Form Input Transitions */
#contact-form input,
#contact-form textarea {
  transition: all 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Notification Popup Styles */
.notification-popup {
  position: fixed;
  top: 20px;
  right: 20px;
  min-width: 320px;
  max-width: 400px;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 9999;
  animation: slideInRight 0.4s ease-out;
  backdrop-filter: blur(10px);
}

.notification-popup.success {
  background: rgba(34, 197, 94, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.notification-popup.error {
  background: rgba(239, 68, 68, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.notification-popup i {
  font-size: 24px;
  flex-shrink: 0;
}

.notification-popup-content {
  flex: 1;
}

.notification-popup-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.notification-popup-message {
  font-size: 0.875rem;
  opacity: 0.95;
}

.notification-popup.hiding {
  animation: slideOutRight 0.4s ease-in forwards;
}

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

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

@media (max-width: 640px) {
  .notification-popup {
    right: 10px;
    left: 10px;
    min-width: auto;
    max-width: none;
  }

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

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

/* Loading Spinner Animation */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

