/* Modern Footer Styles */
.modern-footer {
  position: relative;
  background: linear-gradient(290deg, #220a8f, #1565c0, #1b6dbe, #157cd6, #220a8f);
  background-size: 800% 800%;
  color: rgba(255, 255, 255, 0.95);
  overflow: hidden;
  animation: gradientFlow 10s ease-in-out infinite;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.modern-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg,
      rgba(13, 71, 161, 0.4) 0%,
      rgba(25, 118, 210, 0.3) 25%,
      rgba(33, 150, 243, 0.2) 50%,
      rgba(66, 165, 245, 0.3) 75%,
      rgba(13, 71, 161, 0.4) 100%);
  background-size: 200% 200%;
  animation: gradientShimmer 12s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gradientShimmer {

  0%,
  100% {
    background-position: 0% 50%;
    opacity: 0.6;
  }

  50% {
    background-position: 100% 50%;
    opacity: 0.9;
  }
}

.modern-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(66, 165, 245, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(25, 118, 210, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(13, 71, 161, 0.2) 0%, transparent 60%);
  animation: softPulse 15s ease-in-out infinite;
  pointer-events: none;
}

@keyframes softPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1) rotate(0deg);
  }

  33% {
    opacity: 0.7;
    transform: scale(1.05) rotate(2deg);
  }

  66% {
    opacity: 0.6;
    transform: scale(0.98) rotate(-2deg);
  }
}

/* Floating particles */
.modern-footer .floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.modern-footer .particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: radial-gradient(circle, rgba(66, 165, 245, 0.9) 0%, rgba(33, 150, 243, 0.6) 50%, transparent 100%);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(66, 165, 245, 0.8), 0 0 15px rgba(33, 150, 243, 0.4);
  animation: floatParticle 15s linear infinite;
}

.modern-footer .particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.modern-footer .particle:nth-child(2) {
  left: 20%;
  animation-delay: 2s;
  animation-duration: 15s;
}

.modern-footer .particle:nth-child(3) {
  left: 30%;
  animation-delay: 4s;
  animation-duration: 18s;
}

.modern-footer .particle:nth-child(4) {
  left: 40%;
  animation-delay: 1s;
  animation-duration: 14s;
}

.modern-footer .particle:nth-child(5) {
  left: 50%;
  animation-delay: 3s;
  animation-duration: 16s;
}

.modern-footer .particle:nth-child(6) {
  left: 60%;
  animation-delay: 5s;
  animation-duration: 13s;
}

.modern-footer .particle:nth-child(7) {
  left: 70%;
  animation-delay: 2.5s;
  animation-duration: 17s;
}

.modern-footer .particle:nth-child(8) {
  left: 80%;
  animation-delay: 4.5s;
  animation-duration: 15s;
}

.modern-footer .particle:nth-child(9) {
  left: 90%;
  animation-delay: 1.5s;
  animation-duration: 19s;
}

.modern-footer .particle:nth-child(10) {
  left: 15%;
  animation-delay: 6s;
  animation-duration: 14s;
}

@keyframes floatParticle {
  0% {
    bottom: -1px;
    opacity: 0;
    transform: translateX(0) rotate(0deg);
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    bottom: 100%;
    opacity: 0;
    transform: translateX(100px) rotate(360deg);
  }
}

/* Animated border line */
.modern-footer .animated-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg,
      rgba(66, 165, 245, 0.3) 0%,
      rgba(33, 150, 243, 0.6) 25%,
      rgba(25, 118, 210, 0.8) 50%,
      rgba(33, 150, 243, 0.6) 75%,
      rgba(66, 165, 245, 0.3) 100%);
  background-size: 200% 100%;
  animation: borderFlow 6s ease-in-out infinite;
  z-index: 2;
  box-shadow: 0 0 20px rgba(66, 165, 245, 0.4);
}

@keyframes borderFlow {
  0% {
    background-position: -200% 0;
    opacity: 0.6;
  }

  50% {
    background-position: 0% 0;
    opacity: 1;
  }

  100% {
    background-position: 200% 0;
    opacity: 0.6;
  }
}

.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: translateY(-50%);
  color: #f8fafc;
  z-index: 2;
}

.footer-wave svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
  animation: waveMotion 8s ease-in-out infinite;
  filter: drop-shadow(0 -2px 10px rgba(255, 255, 255, 0.2));
}

@keyframes waveMotion {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-20px);
  }
}

.footer-content {
  padding: 120px 0 60px;
  position: relative;
  z-index: 3;
}

.footer-brand-name {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-left: 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-brand-desc {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 24px;
  font-size: 15px;
  animation: fadeInUp 1s ease 0.2s backwards;
}

.footer-social {
  display: flex;
  gap: 12px;
  animation: fadeInUp 1s ease 0.4s backwards;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.social-link:hover::before {
  width: 100px;
  height: 100px;
}

.social-link:hover {
  background: white;
  color: #1976d2;
  transform: translateY(-6px) scale(1.1);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.3);
  border-color: white;
}

.social-link svg {
  position: relative;
  z-index: 1;
}

.footer-heading {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}



.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
  animation: fadeInLeft 0.6s ease backwards;
}

.footer-links li:nth-child(1) {
  animation-delay: 0.1s;
}

.footer-links li:nth-child(2) {
  animation-delay: 0.2s;
}

.footer-links li:nth-child(3) {
  animation-delay: 0.3s;
}

.footer-links li:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 15px;
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: white;
  transform: translateX(8px);
  padding-left: 20px;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-newsletter-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.footer-newsletter {
  display: flex;
  gap: 8px;
}

.footer-newsletter input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  color: white;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-newsletter input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.25);
  border-color: white;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter button {
  width: 48px;
  height: 48px;
  background: white;
  border: none;
  border-radius: 12px;
  color: #1976d2;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.footer-newsletter button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(33, 150, 243, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.footer-newsletter button:hover::before {
  width: 100px;
  height: 100px;
}

.footer-newsletter button:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.footer-newsletter button svg {
  position: relative;
  z-index: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 28px 0;
  position: relative;
  z-index: 3;
  backdrop-filter: blur(5px);
  background: rgba(13, 71, 161, 0.2);
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.footer-payment {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-payment-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* Kaze Design Signature */
.kaze-design {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  margin-left: auto;
  /* Push to right on desktop */
}

.kaze-design:hover {
  background: rgba(255, 255, 255, 0.05);
}

.kaze-logo {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  display: block;
}

.kaze-design:hover .kaze-logo {
  opacity: 1;
  transform: scale(1.05);
}

.kaze-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  opacity: 0;
  transform: translateX(10px) translateY(-50%);
  transition: all 0.3s ease;
  white-space: nowrap;
  position: absolute;
  right: 100%;
  top: 50%;
  padding-right: 10px;
  pointer-events: none;
}

.kaze-design:hover .kaze-text {
  opacity: 1;
  transform: translateX(0) translateY(-50%);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .footer-content {
    padding: 60px 0 40px;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
    margin-bottom: 15px;
  }

  .footer-brand-desc {
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
  }

  .footer-social {
    justify-content: center;
    margin-bottom: 30px;
  }

  .footer-heading {
    margin-bottom: 20px;
  }

  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-links a {
    padding-left: 0;
    display: inline-block;
  }

  .footer-links a:hover {
    padding-left: 10px;
    /* Reduced movement on mobile */
    transform: translateX(5px);
  }

  .footer-links a::before {
    display: none;
    /* Hide arrow on mobile for cleaner look */
  }

  .footer-wave svg {
    height: 30px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-copyright {
    order: 1;
    width: 100%;
  }

  .kaze-design {
    order: 2;
    margin: 0 auto;
    /* Center on mobile */
    width: fit-content;
    justify-content: center;
  }

  /* On mobile, show text below or static */
  .kaze-text {
    position: static;
    transform: none;
    opacity: 0.7;
    padding-right: 0;
    display: block;
    margin-right: 8px;
  }

  .kaze-design:hover .kaze-text {
    transform: none;
    opacity: 1;
  }

  .col-6 {
    margin-bottom: 30px;
  }

  .modern-footer .particle {
    display: none;
  }
}