/* Animation Styles */

/* Neon Text Effect */
.neon-text {
  color: #fff;
  text-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color), 0 0 15px var(--primary-color);
  animation: neon-pulse 1.5s ease-in-out infinite alternate;
}

@keyframes neon-pulse {
  from {
    text-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color);
  }
  to {
    text-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color), 0 0 15px var(--primary-color), 0 0 20px
      var(--primary-color);
  }
}

/* Page Transition */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  z-index: 9998;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.page-transition-overlay.active {
  transform: translateY(0);
}

.page-transition-overlay.fade-out {
  transform: translateY(-100%);
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Animations */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
}

.stagger-item.animated {
  animation: stagger-fade-in 0.5s ease forwards;
}

@keyframes stagger-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Skill Progress Animation */
.skill-level {
  width: 100%;
  height: 0.8rem;
  background-color: var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  margin-bottom: 2rem;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 1rem;
  width: 0;
  position: relative;
  transition: width 1.5s ease;
}

.skill-progress::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: skill-shine 2s infinite;
}

@keyframes skill-shine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Hover Effects */
.hover-float {
  transition: transform 0.3s ease;
}

.hover-float:hover {
  transform: translateY(-10px);
}

.hover-glow {
  transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 15px var(--primary-color);
}

/* Neon Border Effect */
.neon-border {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.neon-border::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color),
    var(--accent-color-1),
    var(--primary-color)
  );
  z-index: -1;
  animation: neon-border-animate 3s linear infinite;
  will-change: background-position;
}

@keyframes neon-border-animate {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 300% 0;
  }
  100% {
    background-position: 0 0;
  }
}

/* Testimonial Card Animation */
.testimonial-card {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Logo Slider Animation */
.logos-track {
  display: flex;
  animation: logo-slide 20s linear infinite;
}

@keyframes logo-slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Journey Timeline Animation */
.journey-item {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.journey-item.animated {
  opacity: 1;
  transform: translateX(0);
}

/* Video Play Button Animation */
.video-play-button {
  width: 6rem;
  height: 6rem;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.video-play-button::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--primary-color);
  opacity: 0.6;
  animation: pulse 2s infinite;
}

.video-play-button i {
  color: white;
  font-size: 2rem;
  margin-left: 0.4rem;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Page Header Animation */
.page-header {
  position: relative;
  padding: 15rem 0 8rem;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.2) 0%, rgba(255, 51, 102, 0.2) 100%);
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(255, 51, 102, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(108, 99, 255, 0.1) 0%, transparent 50%);
  animation: header-bg-animate 10s ease infinite alternate;
}

@keyframes header-bg-animate {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  margin-top: 1rem;
}

.breadcrumbs a {
  color: var(--text-color-light);
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: var(--primary-color);
}

.breadcrumb-separator {
  margin: 0 1rem;
  color: var(--text-color-light);
}

.current-page {
  color: var(--primary-color);
  font-weight: 500;
}

/* About Image Neon Effect */
.about-image-neon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius);
  box-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color), 0 0 30px var(--primary-color);
  opacity: 0;
  z-index: 1;
  transition: opacity 0.5s ease;
}

.about-image-container:hover .about-image-neon {
  opacity: 0.5;
}

/* Footer Social Icons */
.social-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-color-alt);
}

.social-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: attr(data-color);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-icon:hover::before {
  opacity: 1;
}

.social-icon i {
  position: relative;
  z-index: 1;
}

.social-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* CTA Section Animation */
.cta {
  position: relative;
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  animation: cta-bg-animate 10s ease infinite alternate;
}

@keyframes cta-bg-animate {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

.cta-content {
  position: relative;
  text-align: center;
  color: white;
}

.cta-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-text {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
}

.btn-lg {
  padding: 1.5rem 3rem;
  font-size: 1.8rem;
}

.btn-sm {
  padding: 0.8rem 1.6rem;
  font-size: 1.4rem;
}

/* Enhanced Footer */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-info {
  max-width: 30rem;
}

.footer-description {
  font-size: 1.6rem;
  color: var(--text-color-light);
  margin-bottom: 2rem;
}

.footer-links h3,
.footer-contact h3,
.footer-newsletter h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-newsletter h3::after {
  content: "";
  position: absolute;
  bottom: -0.8rem;
  left: 0;
  width: 5rem;
  height: 0.2rem;
  background-color: var(--primary-color);
}

.footer-links ul li {
  margin-bottom: 1rem;
}

.footer-links ul li a {
  font-size: 1.6rem;
  color: var(--text-color-light);
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.footer-links ul li a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-contact ul li {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  color: var(--text-color-light);
}

.footer-contact ul li i {
  width: 3rem;
  color: var(--primary-color);
  margin-right: 1rem;
}

.footer-newsletter p {
  font-size: 1.6rem;
  color: var(--text-color-light);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 1.2rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1.4rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
  border-color: var(--primary-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links li a {
  font-size: 1.4rem;
  color: var(--text-color-light);
  transition: color 0.3s ease;
}

.footer-bottom-links li a:hover {
  color: var(--primary-color);
}

/* Responsive Animations */
@media screen and (max-width: 768px) {
  .neon-text {
    text-shadow: 0 0 3px var(--primary-color), 0 0 7px var(--primary-color);
  }

  @keyframes neon-pulse {
    from {
      text-shadow: 0 0 3px var(--primary-color), 0 0 7px var(--primary-color);
    }
    to {
      text-shadow: 0 0 3px var(--primary-color), 0 0 7px var(--primary-color), 0 0 10px var(--primary-color);
    }
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
  }
}
