/* css/animations.css */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.marquee-content {
  display: flex;
  animation: marquee 35s linear infinite;
  min-width: 100%;
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  display: flex;
  width: 100%;
}

/* Blobs */
.blob {
  animation: blobBounce 20s infinite alternate;
  filter: blur(80px);
  z-index: -1;
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
}

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

/* Custom Card Hover Effect */
.hover-card-effect {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}
.hover-card-effect:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

/* Loader */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}
.page-loader.hidden {
  opacity: 0;
  pointer-events: none;
}
.loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border-color);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Portfolio overlay */
.portfolio-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}
.portfolio-item img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio-item:hover img {
  transform: scale(1.05);
}

/* FAQ Accordion */
.accordion-content {
  transition: max-height 0.4s ease-out, opacity 0.4s ease-out, padding 0.4s ease-out;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
}
.accordion-content.active {
  max-height: 500px;
  opacity: 1;
  padding-bottom: 1.5rem;
}
.accordion-icon {
  transition: transform 0.3s ease;
}
.accordion-btn[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s ease;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
