:root {
  --warm-orange: #FF7A00;
  --warm-background: #FFF4E6;
  --text-gray: #4A5568;
  --orange-light: #FFE5CC;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */
* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

section {
  position: relative;
  z-index: 1;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-link {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--warm-orange), transparent);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: var(--warm-orange);
}

.nav-link:hover::after {
  width: 100%;
}

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

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  z-index: 100;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 122, 0, 0.1);
  overflow: hidden;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--warm-orange), #ff9a3c, var(--warm-orange));
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

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

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

.dropdown-menu a {
  transition: all 0.3s ease;
}

.dropdown-menu a:hover {
  background: linear-gradient(90deg, rgba(255, 122, 0, 0.1), rgba(255, 122, 0, 0.05));
  padding-left: 1.5rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.apple-button,
.dark-button {
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  border-radius: 14px;
  padding: 1rem 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.apple-button {
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 122, 0, 0.2);
}

.apple-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.3), transparent);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.apple-button:hover::before {
  width: 300px;
  height: 300px;
}

.apple-button:hover {
  background-color: rgba(255, 255, 255, 1);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 122, 0, 0.2);
  border-color: var(--warm-orange);
}

.dark-button {
  background-color: rgba(29, 29, 31, 0.95);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--warm-orange), #ff9a3c);
  opacity: 0;
  transition: opacity 0.4s;
}

.dark-button:hover::before {
  opacity: 0.1;
}

.dark-button:hover {
  background-color: rgb(29, 29, 31);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--warm-orange);
}

/* ============================================
   GLASS CARDS - ENHANCED
   ============================================ */
.glass-card {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 2px solid rgba(255, 122, 0, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 0, 0.08), transparent);
  transition: left 0.7s ease;
  pointer-events: none;
}

.glass-card:hover::before {
  left: 100%;
}

.glass-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  background: linear-gradient(45deg, var(--warm-orange), #ff9a3c, var(--warm-orange));
  background-size: 200% 200%;
  opacity: 0;
  transition: opacity 0.5s;
  z-index: -1;
  animation: borderGlow 3s ease infinite;
}

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

.glass-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(255, 122, 0, 0.2);
  border-color: var(--warm-orange);
}

.glass-card:hover::after {
  opacity: 0.3;
}

/* ============================================
   REVEAL SECTIONS
   ============================================ */
.reveal-section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-section.active {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   PARALLAX EFFECTS
   ============================================ */
.parallax-image {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* ============================================
   ZOOM SECTION
   ============================================ */
.zoom-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.zoom-content {
  position: relative;
  z-index: 10;
}

.zoom-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: center;
  transition: transform 1s ease-out;
  background: linear-gradient(135deg, var(--warm-background) 0%, rgba(255, 244, 230, 0.5) 100%);
}

/* ============================================
   TIMELINE - ENHANCED
   ============================================ */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, 
    var(--warm-orange) 0%, 
    #FFD299 50%, 
    var(--warm-orange) 100%);
  transform: translateX(-50%);
  z-index: 0;
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  margin-bottom: 120px;
  display: flex;
  justify-content: flex-end;
  z-index: 1;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-item.active {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
}

.timeline-content {
  width: 45%;
  position: relative;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 2px solid rgba(255, 122, 0, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 2;
  overflow: hidden;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--warm-orange));
  transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: 100%;
  right: auto;
  background: linear-gradient(90deg, var(--warm-orange), transparent);
}

.timeline-content:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 60px rgba(255, 122, 0, 0.2);
  border-color: var(--warm-orange);
}

.timeline-dot {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--warm-orange), #ff9a3c);
  z-index: 10;
  border: 4px solid white;
  box-shadow: 0 4px 15px rgba(255, 122, 0, 0.4);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
  transform: translateX(-50%) scale(1.3);
  box-shadow: 0 6px 20px rgba(255, 122, 0, 0.6);
}

.timeline-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, var(--warm-orange), #ff9a3c, var(--warm-orange));
  opacity: 0;
  animation: rotate 4s linear infinite;
  z-index: -1;
}

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

.timeline-item:hover .timeline-dot::after {
  opacity: 0.5;
}

/* Timeline responsive */
@media (max-width: 768px) {
  .timeline::before {
    left: 31px;
  }
  
  .timeline-item {
    justify-content: flex-start;
    margin-left: 60px;
  }
  
  .timeline-item:nth-child(even) {
    justify-content: flex-start;
  }
  
  .timeline-content {
    width: calc(100% - 60px);
  }
  
  .timeline-content::before {
    display: none;
  }
  
  .timeline-dot {
    left: 31px;
  }
}

/* ============================================
   3D TILT CARDS
   ============================================ */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  perspective: 1000px;
}

.tilt-card-inner {
  transform: translateZ(20px);
  transition: transform 0.3s ease;
}

.tilt-card:hover .tilt-card-inner {
  transform: translateZ(40px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-600 {
  animation-delay: 0.6s;
}

.delay-800 {
  animation-delay: 0.8s;
}

/* ============================================
   HERO SECTION ENHANCEMENTS
   ============================================ */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 122, 0, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 154, 60, 0.06) 0%, transparent 50%);
  animation: gradientShift 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gradientShift {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(1.1) rotate(5deg);
    opacity: 0.8;
  }
}

/* Floating badges enhancement */
.hero-section [class*="absolute"] {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(3deg);
  }
  50% {
    transform: translateY(-15px) rotate(3deg);
  }
}

.hero-section [class*="-rotate-3"] {
  animation: floatReverse 4s ease-in-out infinite;
}

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

/* ============================================
   TESTIMONIAL ENHANCEMENTS
   ============================================ */
#testimonial-slider {
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

#prev-testimonial,
#next-testimonial {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 122, 0, 0.2);
}

#prev-testimonial:hover,
#next-testimonial:hover {
  /* background: linear-gradient(135deg, var(--warm-orange), #ff9a3c); */
  color: white;
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.3);
}

#prev-testimonial:active,
#next-testimonial:active {
transform: scale(0.95);
}

/* Pagination dots enhancement */
.flex.justify-center.mt-8 span {
  transition: all 0.3s ease;
  cursor: pointer;
}

.flex.justify-center.mt-8 span:hover {
  transform: scale(1.3);
}

/* ============================================
   PROCESS SECTION ENHANCEMENTS
   ============================================ */
.relative .absolute.left-1\/2 {
  background: linear-gradient(180deg, 
    var(--warm-orange) 0%, 
    #FFD299 50%, 
    var(--warm-orange) 100%);
}

.relative .absolute.left-1\/2.w-12.h-12 {
  box-shadow: 0 4px 15px rgba(255, 122, 0, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.relative .absolute.left-1\/2.w-12.h-12::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, var(--warm-orange), #ff9a3c, var(--warm-orange));
  opacity: 0;
  animation: rotate 4s linear infinite;
  z-index: -1;
}

.relative:hover .absolute.left-1\/2.w-12.h-12 {
  transform: translateX(-50%) scale(1.2);
}

.relative:hover .absolute.left-1\/2.w-12.h-12::before {
  opacity: 0.5;
}

/* ============================================
   VALUES SECTION ICONS
   ============================================ */
.glass-card .w-16.h-16 {
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
}

.glass-card .w-16.h-16::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 1rem;
  background: conic-gradient(from 180deg, var(--warm-orange), #ff9a3c, var(--warm-orange));
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
  animation: rotate 4s linear infinite;
}

.glass-card:hover .w-16.h-16 {
  transform: scale(1.15) rotate(5deg);
  background: linear-gradient(135deg, #FFE8CC, #FFD299);
}

.glass-card:hover .w-16.h-16::before {
  opacity: 0.4;
}

/* ============================================
   AWARDS SECTION
   ============================================ */
.glass-card .w-20.h-20 {
  transition: all 0.4s ease;
}

.glass-card:hover .w-20.h-20 {
  transform: scale(1.2) rotate(10deg);
}

.glass-card:hover .w-20.h-20 i {
  animation: iconPulse 1s ease-in-out infinite;
}

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

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 100;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}

.mobile-menu.open {
  transform: translateX(-100%);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.rounded-button {
  border-radius: 0.875rem;
}

.bg-warm-50 {
  background-color: #fefaf8;
}

.bg-warm-100 {
  background-color: #fef3ed;
}

.bg-warm-200 {
  background-color: #FFD299;
}

.bg-warm-600 {
  background-color: var(--warm-orange);
}

.text-warm-500 {
  color: #ff9a3c;
}

.text-warm-600 {
  color: var(--warm-orange);
}

/* ============================================
   SMOOTH SCROLL
   ============================================ */
html {
  scroll-behavior: smooth;
}

/* ============================================
   LOADED STATE
   ============================================ */
body.loaded .reveal-section {
  transition-delay: 0.1s;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
  .glass-card {
    padding: 1.5rem;
  }
  
  .tilt-card {
    transform: none !important;
  }
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }

  /* Only move halfway because Set 2 is identical */
}

.animate-marquee {
  display: flex;
  width: max-content;
  /* Critical: allows the track to be as wide as its content */
  animation: marquee 40s linear infinite;
}

/* Pause when the user hovers to read a specific testimonial */
.group:hover .animate-marquee {
  animation-play-state: paused;
}
