/* Redesigned for professional corporate style */

/* Cookie Popup */
.cookie-popup {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-width: 420px;
  z-index: 9999;
  animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-popup-content {
  padding: 2rem;
}

@keyframes slideInUp {
  from {
      transform: translateY(100px);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

/* Added floating animation for badges */
@keyframes float {
  0%, 100% {
      transform: translateY(0px);
  }
  50% {
      transform: translateY(-10px);
  }
}

@keyframes float-delayed {
  0%, 100% {
      transform: translateY(0px);
  }
  50% {
      transform: translateY(-15px);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float-delayed 4s ease-in-out infinite;
}

/* Added fade-in animation for sections */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(40px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Added timeline animation */
.timeline-item {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Added flip effect for course cards */
.course-card-back {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: rotateY(-180deg);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 1rem 1rem 0 0;
}

.course-card:hover .course-card-back {
  opacity: 1;
  transform: rotateY(0deg);
}

/* Added expand effect for value cards */
.value-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-card p {
  max-height: 4.5rem;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.value-card.expanded {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Added scale effect for case items */
.case-item {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Smooth transitions */
* {
  transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
  transition-duration: 250ms;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Redesigned custom scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f5f5f4;
}

::-webkit-scrollbar-thumb {
  background: #047857;
  border-radius: 6px;
  border: 2px solid #f5f5f4;
}

::-webkit-scrollbar-thumb:hover {
  background: #065f46;
}

/* Remove default form validation styles */
input:invalid,
textarea:invalid {
  box-shadow: none;
}

/* Redesigned focus styles */
input:focus,
textarea:focus,
button:focus {
  outline: 2px solid #047857;
  outline-offset: 2px;
}

/* Hover effects for images */
img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Added gradient text effect */
.gradient-text {
  background: linear-gradient(135deg, #047857 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Print styles */
@media print {
  header,
  footer,
  #cookiePopup {
      display: none;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cookie-popup {
      left: 16px;
      right: 16px;
      bottom: 16px;
      max-width: none;
  }
  
  .cookie-popup-content {
      padding: 1.5rem;
  }
}

/* Added smooth page load animation */
body {
  animation: pageLoad 0.5s ease-out;
}

@keyframes pageLoad {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

/* Added hover glow effect for buttons */
button:hover,
a.bg-gray-900:hover,
a.bg-lime-400:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Added parallax effect hint */
section {
  position: relative;
  overflow: hidden;
}
