/* ===== FOOTER UX/UI IMPROVEMENTS ===== */

/* Base Footer Enhancements */
footer {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  overflow: visible !important; /* Changed from hidden to visible */
  z-index: 10 !important; /* Ensure footer is above other elements */
}

/* Animated Background Gradient */
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1) 0%,
    rgba(139, 92, 246, 0.05) 50%,
    rgba(99, 102, 241, 0.1) 100%
  );
  opacity: 0.5;
  animation: gradientShift 15s ease infinite;
  pointer-events: none;
}

@keyframes gradientShift {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(20px);
  }
}

/* Footer Content - Ensure all content is above background */
footer .container {
  position: relative !important;
  z-index: 20 !important; /* Higher z-index */
  pointer-events: none !important; /* Container doesn't block, but children do */
}

footer .container > * {
  pointer-events: auto !important; /* Re-enable for direct children */
}

footer .row,
footer .col-lg-4,
footer .col-md-6,
footer .col-lg-6 {
  position: relative !important;
  z-index: 20 !important;
  pointer-events: auto !important;
}

/* Footer Sections */
footer .row {
  margin-bottom: 2rem;
}

footer .row:last-child {
  margin-bottom: 0;
}

/* Footer Headings */
footer h3,
footer h4,
footer h5,
footer .h3,
footer .h4,
footer .h5 {
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: #ffffff;
  position: relative;
  display: inline-block;
}

footer h3::after,
footer h4::after,
footer h5::after,
footer .h3::after,
footer .h4::after,
footer .h5::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 2px;
}

/* Footer Links - CRITICAL: Ensure links are always clickable AND visible */
footer a {
  color: rgba(255, 255, 255, 0.9) !important; /* Increased opacity for visibility */
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block !important;
  position: relative !important;
  padding: 0.25rem 0;
  z-index: 10000 !important; /* Very high z-index to ensure links are clickable */
  pointer-events: auto !important;
  cursor: pointer !important;
  user-select: none; /* Prevent text selection on click */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  opacity: 1 !important; /* Ensure fully visible */
  visibility: visible !important; /* Ensure visible */
}

/* Ensure links are not disabled */
footer a:not([disabled]):not(.disabled) {
  pointer-events: auto !important;
  cursor: pointer !important;
}

footer a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  transition: width 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

footer a:hover {
  color: #ffffff !important;
  opacity: 1 !important;
  transform: translateX(4px);
}

footer a:focus {
  color: #ffffff !important;
  opacity: 1 !important;
  outline: 2px solid rgba(99, 102, 241, 0.8);
  outline-offset: 2px;
}

footer a:hover::before {
  width: 100%;
}

/* List Styles */
footer .list-unstyled {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative !important;
  z-index: 100 !important;
  pointer-events: auto !important;
}

footer .list-unstyled li {
  margin-bottom: 0.75rem;
  position: relative !important;
  z-index: 100 !important;
  pointer-events: auto !important;
}

footer .list-unstyled li a {
  position: relative !important;
  z-index: 10001 !important; /* Even higher for links */
  pointer-events: auto !important;
  cursor: pointer !important;
  color: rgba(255, 255, 255, 0.9) !important; /* Ensure visible */
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
}

footer .list-unstyled li:last-child {
  margin-bottom: 0;
}

/* Footer Text */
footer p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

footer .text-muted {
  color: rgba(255, 255, 255, 0.7) !important; /* Increased visibility */
}

/* Ensure all footer links are visible - CRITICAL FIX */
footer .list-unstyled a,
footer a[href],
footer a:not([disabled]):not(.disabled) {
  color: rgba(255, 255, 255, 0.9) !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
  z-index: 10000 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Footer Divider */
footer hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
  opacity: 1;
}

/* Social Media Icons (if added) */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.8) !important;
}

.footer-social a:hover {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
  color: #ffffff !important;
}

.footer-social a::before {
  display: none;
}

/* Footer Brand/Logo */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand img:not(.footer-profile-img):not([src*="me-for-website"]) {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: all 0.3s ease;
}

.footer-brand:hover img:not(.footer-profile-img):not([src*="me-for-website"]) {
  opacity: 1;
  transform: scale(1.1) rotate(5deg);
}

.footer-brand span {
  font-weight: 900;
  font-size: 1.25rem;
  background: linear-gradient(135deg, #ffffff, #e0e7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Copyright Section */
footer .text-center {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
}

footer .text-center p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Footer Columns */
footer .col-lg-6,
footer .col-md-6,
footer .col-sm-6 {
  margin-bottom: 2rem;
}

footer .col-lg-6:last-child,
footer .col-md-6:last-child,
footer .col-sm-6:last-child {
  margin-bottom: 0;
}

/* Enhanced Footer Layout */
.footer-enhanced {
  padding: 4rem 0 2rem;
}

.footer-enhanced .container {
  max-width: 1200px;
}

/* Footer Grid Layout */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

/* Footer Section Titles */
.footer-section-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

/* Footer Newsletter (if added) */
.footer-newsletter {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin-top: 2rem;
}

.footer-newsletter input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 0.5rem;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* Back to Top Integration */
footer + .back-to-top {
  bottom: 2rem;
  right: 2rem;
}

/* Mobile Optimizations */
@media (max-width: 767px) {
  .footer-cta-section {
    padding: 3rem 0;
  }
  
  .footer-cta-title {
    font-size: 1.5rem;
  }
  
  .footer-cta-text {
    font-size: 1rem;
  }
  
  .footer-cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .footer-cta-btn {
    width: 100%;
  }
  
  .footer-trust-indicators {
    gap: 1rem;
    padding: 2rem 0;
    margin-bottom: 3rem;
  }
  
  .trust-badge {
    min-width: 120px;
    padding: 1.5rem 1.5rem;
    flex: 1;
    max-width: 180px;
  }
  
  .trust-icon-wrapper {
    width: 56px;
    height: 56px;
  }
  
  .trust-badge i {
    font-size: 2rem;
  }
  
  .trust-number {
    font-size: 2rem;
  }
  
  .trust-label {
    font-size: 0.7rem;
  }
  
  footer {
    padding: 3rem 0 2rem !important;
  }
  
  footer .row {
    margin-bottom: 2rem;
  }
  
  footer h3,
  footer h4,
  footer h5 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }
  
  footer .col-lg-6,
  footer .col-md-6 {
    margin-bottom: 2rem;
  }
  
  footer .col-lg-6:last-child,
  footer .col-md-6:last-child {
    margin-bottom: 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-social {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  footer .text-center {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
  }
  
  footer a:hover {
    transform: none;
  }
  
  .footer-column .footer-links {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .footer-section-toggle[aria-expanded="true"] ~ .footer-links {
    max-height: 1000px;
  }
  
  /* Desktop: always show links */
  @media (min-width: 768px) {
    .footer-column .footer-links {
      max-height: none !important;
      overflow: visible;
    }
  }
  
  .footer-newsletter {
    padding: 1.5rem;
    margin: 2rem 0 1.5rem;
  }
  
  .input-group {
    flex-direction: column;
  }
  
  .newsletter-submit {
    width: 100%;
  }
  
  .footer-scroll-indicator {
    bottom: 0.5rem;
    right: 0.5rem;
    width: 40px;
    height: 40px;
  }
  
  .footer-scroll-indicator i {
    font-size: 1.25rem;
  }
}

/* Tablet Optimizations */
@media (min-width: 768px) and (max-width: 991px) {
  footer {
    padding: 3.5rem 0 2rem !important;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* Dark Mode Support */
[data-bs-theme="dark"] footer {
  background: linear-gradient(135deg, #0a0e1a 0%, #151923 50%, #0a0e1a 100%) !important;
}

[data-bs-theme="dark"] footer::before {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.15) 0%,
    rgba(139, 92, 246, 0.08) 50%,
    rgba(99, 102, 241, 0.15) 100%
  );
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  footer::before {
    animation: none;
  }
  
  footer a,
  .footer-social a,
  .footer-brand img {
    transition: none;
  }
  
  footer a:hover {
    transform: none;
  }
}

/* Print Styles */
@media print {
  footer {
    background: #ffffff !important;
    color: #000000 !important;
    border-top: 2px solid #000000;
  }
  
  footer a {
    color: #000000 !important;
  }
  
  footer::before {
    display: none;
  }
}

/* Accessibility */
footer a:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Footer Badge/Status Indicator */
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.2);
  border-radius: 999px;
  font-size: 0.875rem;
  margin-top: 1rem;
}

.footer-status::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

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

/* Footer CTA Section (Above Footer) */
.footer-cta-section {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 5rem 0;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.footer-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  pointer-events: none;
  animation: ctaGlow 8s ease infinite;
}

@keyframes ctaGlow {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.footer-cta-title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.footer-cta-text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.footer-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.footer-cta-btn {
  min-width: 180px;
  padding: 0.875rem 2rem;
  font-weight: 700;
  border-radius: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.footer-cta-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.footer-cta-btn:hover::before {
  width: 300px;
  height: 300px;
}

.footer-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
}

.footer-cta-btn:active {
  transform: translateY(-1px);
}

/* Trust Indicators */
.footer-trust-indicators {
  display: flex !important;
  justify-content: center !important;
  gap: 1.5rem !important;
  margin-bottom: 4rem !important;
  padding: 3rem 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  flex-wrap: wrap !important;
}

.trust-badge {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 2rem 2.5rem !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-radius: 1.25rem !important;
  border: 2px solid rgba(255, 255, 255, 0.15) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  min-width: 160px !important;
  position: relative !important;
  overflow: hidden !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
}

.trust-badge::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent) !important;
  transition: left 0.6s ease !important;
}

.trust-badge:hover::before {
  left: 100% !important;
}

.trust-badge:hover {
  transform: translateY(-6px) scale(1.02) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(99, 102, 241, 0.6) !important;
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.3) !important;
}

.trust-icon-wrapper {
  width: 64px !important;
  height: 64px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2)) !important;
  border-radius: 50% !important;
  border: 2px solid rgba(99, 102, 241, 0.4) !important;
  margin-bottom: 0.5rem !important;
  transition: all 0.4s ease !important;
}

.trust-badge:hover .trust-icon-wrapper {
  transform: scale(1.1) rotate(5deg) !important;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(139, 92, 246, 0.4)) !important;
  border-color: rgba(99, 102, 241, 0.8) !important;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4) !important;
}

.trust-badge i {
  font-size: 2.5rem !important;
  color: #6366f1 !important;
  filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.3)) !important;
}

.trust-number {
  font-size: 2.5rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  line-height: 1 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  letter-spacing: -0.02em !important;
}

.trust-label {
  font-size: 0.75rem !important;
  color: rgba(255, 255, 255, 0.85) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  font-weight: 700 !important;
  margin-top: 0.25rem !important;
}

/* Enhanced Social Media Icons */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social .social-link {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: rgba(255, 255, 255, 0.95) !important;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.footer-social .social-link::before {
  display: none;
}

.footer-social .social-link::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.4);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.footer-social .social-link:hover::after {
  width: 120px;
  height: 120px;
}

.footer-social .social-link:hover {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  transform: translateY(-6px) scale(1.15) rotate(8deg);
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.5);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.4);
}

.footer-social .social-link:active {
  transform: translateY(-3px) scale(1.1);
}

.footer-social .social-link i {
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Footer Links with Icons */
.footer-links li a {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.footer-links li a i {
  font-size: 1.125rem;
  opacity: 0.7;
  transition: all 0.3s ease;
  width: 20px;
  flex-shrink: 0;
}

.footer-links li a:hover i {
  opacity: 1;
  transform: translateX(4px);
  color: #6366f1;
}

.footer-links li a:hover {
  padding-left: 4px;
}

/* Footer Section Toggle (Mobile Accordion) */
.footer-section-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-section-toggle:hover {
  color: #6366f1;
}

.footer-section-toggle i {
  transition: transform 0.3s ease;
}

.footer-section-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.footer-column {
  margin-bottom: 2rem;
}

/* Newsletter Section */
.footer-newsletter {
  background: rgba(255, 255, 255, 0.08);
  padding: 3rem 2.5rem;
  border-radius: 1.5rem;
  margin: 4rem 0 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.footer-newsletter::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  animation: newsletterGlow 10s ease infinite;
  pointer-events: none;
}

.footer-newsletter::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  pointer-events: none;
  border-radius: 1.5rem;
}

@keyframes newsletterGlow {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-15%, -15%) rotate(180deg);
  }
}

.newsletter-form {
  position: relative;
  z-index: 1;
}

.input-group {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  padding: 1rem 1.5rem !important;
  border-radius: 0.75rem !important;
  font-size: 1rem;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

.newsletter-input:focus {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.25), 0 8px 24px rgba(99, 102, 241, 0.2) !important;
  outline: none;
  transform: translateY(-2px);
}

.newsletter-submit {
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  padding: 1rem 2rem !important;
  border-radius: 0.75rem !important;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
  position: relative;
  overflow: hidden;
}

.newsletter-submit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.newsletter-submit:hover::before {
  width: 300px;
  height: 300px;
}

.newsletter-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
  border-color: rgba(255, 255, 255, 0.4);
}

.newsletter-submit:active {
  transform: translateY(-1px);
}

.newsletter-submit i {
  margin-right: 0.5rem;
  font-size: 1.125rem;
}

.newsletter-message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  text-align: center;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-message.success {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.newsletter-message.error {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.newsletter-privacy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Scroll Indicator */
.footer-scroll-indicator {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: rgba(99, 102, 241, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  border: 2px solid rgba(99, 102, 241, 0.3);
}

.footer-scroll-indicator.visible {
  opacity: 1;
  visibility: visible;
}

.footer-scroll-indicator:hover {
  background: rgba(99, 102, 241, 0.4);
  transform: translateY(-4px) scale(1.1);
  border-color: #6366f1;
}

.footer-scroll-indicator i {
  font-size: 1.5rem;
  color: #6366f1;
}

.footer-scroll-indicator:active {
  transform: translateY(-2px) scale(1.05);
}

/* Enhanced Visual Hierarchy */
.footer-enhanced {
  padding: 4rem 0 2rem;
}

.footer-grid {
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-section-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.footer-column {
  margin-bottom: 2.5rem;
}

.footer-column p {
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Enhanced Micro-interactions - Ripple Effect */
footer a,
.footer-social a,
.footer-cta-btn,
.newsletter-submit {
  position: relative;
  overflow: hidden;
}

footer a:active,
.footer-social a:active {
  transform: scale(0.98);
}

/* Sticky Footer (only on short pages) */
body:has(.footer-enhanced) {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.footer-enhanced.sticky-footer {
  margin-top: auto;
}

/* Enhanced Link Hover Effects */
footer a {
  position: relative;
}

footer a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

footer a:hover::after {
  width: 100%;
}

/* Footer CTA Button */
.footer-cta {
  margin-top: 1.5rem;
}

.footer-cta .btn {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none;
  color: #ffffff;
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.footer-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

