/* =========================================== */
/* JFSN PORTFOLIO - SHARED COMPONENTS BUNDLE (Navbar, Footer, Social Icons) */
/* Generated: 2025-12-03T16:50:04.183Z */
/* Combines 13 CSS files into one optimized bundle */
/* =========================================== */


/* =========================================== */
/* components/navbar/css/navbar-improvements.css */
/* =========================================== */

/* ===== NAVBAR UX/UI IMPROVEMENTS ===== */

/* Base Navbar Enhancements - EXCLUDE editorial navbar */
.navbar:not(.editorial-navbar) {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-dark {
  background: rgba(15, 23, 42, 0.95) !important;
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .navbar-dark {
  background: rgba(11, 15, 25, 0.98) !important;
}

/* Navbar Brand Enhancements - EXCLUDE editorial navbar */
.navbar:not(.editorial-navbar) .navbar-brand,
.navbar-brand:not(.editorial-navbar-brand):not(.editorial-nav-overlay-brand) {
  display: flex !important;
  align-items: center;
  gap: 0.625rem;
  font-weight: 900;
  font-size: 1.25rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.5rem 0;
  position: relative;
}

.navbar-brand::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  transition: width 0.3s ease;
}

.navbar-brand:hover::after {
  width: 100%;
}

.navbar-brand img {
  height: 36px;
  width: auto;
  display: block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0) invert(1);
}

.navbar-brand:hover img {
  transform: scale(1.15) rotate(8deg);
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(99, 102, 241, 0.5));
}

.navbar-brand span {
  display: inline-block;
  background: linear-gradient(135deg, #ffffff, #e0e7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.navbar-brand:hover span {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation Links - Enhanced */
.navbar-nav {
  gap: 0.25rem;
}

.nav-link {
  position: relative;
  padding: 0.75rem 1.25rem !important;
  font-weight: 600;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9) !important;
  border-radius: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  text-decoration: none;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav-link:hover {
  color: #ffffff !important;
  background: rgba(99, 102, 241, 0.15);
  transform: translateY(-2px);
}

.nav-link:hover::after {
  width: 60%;
}

/* Active State */
.nav-link.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  position: relative;
}

.nav-link.active::after {
  width: 80%;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}

.nav-link.active::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Focus States */
.nav-link:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

/* Navbar Toggler Improvements */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.navbar-toggler:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  transition: transform 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  transform: rotate(90deg);
}

/* Action Buttons (Theme Toggle, Menu Toggle) */
.navbar .btn-link {
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar .btn-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.navbar .btn-link:hover {
  color: #ffffff !important;
  background: rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

.navbar .btn-link:hover::before {
  opacity: 1;
}

.navbar .btn-link:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.navbar .btn-link i {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.navbar .btn-link:hover i {
  transform: scale(1.15);
}

/* Mobile Menu Improvements */
@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideDown 0.3s ease-out;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .navbar-nav {
    gap: 0.5rem;
  }
  
  .nav-link {
    padding: 1rem 1.25rem !important;
    border-radius: 0.75rem;
    margin-bottom: 0.25rem;
  }
  
  .nav-link:hover {
    transform: translateX(4px);
  }
  
  .navbar .btn-link {
    margin-top: 0.5rem;
    width: 100%;
    justify-content: flex-start;
    padding-left: 1.25rem;
  }
}

/* Scroll-Based Navbar Effects */
.navbar-scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15) !important;
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
}

.navbar-compact {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.navbar-compact .navbar-brand img {
  height: 28px;
}

.navbar-compact .navbar-brand {
  font-size: 1.125rem;
}

/* Sticky Navbar Enhancement */
.navbar.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1030;
}

/* Smooth Transitions */
.navbar,
.navbar-brand,
.nav-link,
.navbar-toggler,
.navbar .btn-link {
  will-change: transform, background-color, box-shadow;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .navbar,
  .navbar-brand,
  .nav-link,
  .navbar-toggler,
  .navbar .btn-link,
  .navbar-collapse {
    transition: none !important;
    animation: none !important;
  }
  
  .nav-link:hover {
    transform: none;
  }
  
  .navbar-brand:hover img {
    transform: none;
  }
}

/* Dark Mode Specific */
[data-bs-theme="dark"] .navbar-dark {
  background: rgba(11, 15, 25, 0.98) !important;
}

[data-bs-theme="dark"] .nav-link {
  color: rgba(229, 231, 235, 0.9) !important;
}

[data-bs-theme="dark"] .nav-link:hover {
  background: rgba(99, 102, 241, 0.2);
}

[data-bs-theme="dark"] .nav-link.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(139, 92, 246, 0.4));
}

/* Tablet Optimizations */
@media (min-width: 768px) and (max-width: 991.98px) {
  .nav-link {
    padding: 0.625rem 1rem !important;
    font-size: 0.875rem;
  }
  
  .navbar-brand {
    font-size: 1.125rem;
  }
  
  .navbar-brand img {
    height: 32px;
  }
}

/* Desktop Enhancements */
@media (min-width: 992px) {
  .navbar-nav {
    gap: 0.5rem;
  }
  
  .nav-link {
    padding: 0.75rem 1.5rem !important;
  }
  
  /* Hover ripple effect */
  .nav-link {
    position: relative;
    overflow: hidden;
  }
  
  .nav-link::after {
    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, height 0.6s;
  }
  
  .nav-link:hover::after {
    width: 300px;
    height: 300px;
  }
}

/* Accessibility Improvements */
.navbar:focus-within {
  outline: 2px solid #6366f1;
  outline-offset: -2px;
}

/* Print Styles */
@media print {
  .navbar {
    display: none;
  }
}

/* =========================================== */
/* HIDE ALL READING TIME INDICATORS */
/* User requested removal - all reading time displays hidden */
/* =========================================== */

.reading-time,
.reading-time-badge,
.reading-time-inline,
.scroll-reading-time,
.reading-time-progress-label,
.section-reading-time,
.reading-time-summary,
.reading-time-tooltip,
.reading-time-tooltip-content,
[class*="reading-time"],
[class*="reading-time"] * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  pointer-events: none !important;
}



/* =========================================== */
/* components/navbar/css/navbar.css */
/* =========================================== */

/* =========================================== */
/* JFSN UNIFIED NAVBAR - BEST-IN-CLASS UX/UI */
/* Works on all pages: Editorial & Bootstrap */
/* =========================================== */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Safe area insets for mobile */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  
  /* Navbar dimensions */
  --navbar-height: 80px;
  --navbar-height-compact: 72px;
  --navbar-height-mobile: 65px;
  --announcement-height: 48px;
  
  /* Colors - Light theme */
  --navbar-bg: rgba(255, 255, 255, 0.7) !important;
  --navbar-bg-scrolled: rgba(255, 255, 255, 0.95) !important;
  --navbar-bg-dark: rgba(0, 0, 0, 0.7) !important;
  --navbar-bg-dark-scrolled: rgba(0, 0, 0, 0.95) !important;
  --navbar-border: rgba(255, 255, 255, 0.2);
  --navbar-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  --navbar-shadow-scrolled: 0 8px 32px rgba(0, 0, 0, 0.15);
  
  /* Brand colors */
  --brand-color: #6366f1;
  --brand-color-hover: #818cf8;
  --brand-gradient: linear-gradient(135deg, #6366f1, #8b5cf6);
  
  /* Link colors */
  --nav-link-color: rgba(255, 255, 255, 0.9);
  --nav-link-color-hover: #ffffff;
  --nav-link-active: #6366f1;
  
  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Backdrop blur */
  --backdrop-blur: blur(20px) saturate(180%);
  --backdrop-blur-scrolled: blur(24px) saturate(200%);
}

[data-bs-theme="dark"] {
  --navbar-bg: rgba(0, 0, 0, 0.7);
  --navbar-bg-scrolled: rgba(0, 0, 0, 0.95);
  --navbar-border: rgba(255, 255, 255, 0.1);
  --navbar-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  --navbar-shadow-scrolled: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ===== BASE NAVBAR STYLES ===== */
.editorial-navbar,
.navbar-enhanced,
.header.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 10000 !important;
  height: var(--navbar-height);
  background: var(--navbar-bg) !important;
  backdrop-filter: var(--backdrop-blur) !important;
  -webkit-backdrop-filter: var(--backdrop-blur) !important;
  border-bottom: 1px solid var(--navbar-border) !important;
  box-shadow: var(--navbar-shadow) !important;
  transition: all var(--transition-normal);
  transform: translateY(0);
  animation: navbarSlideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, background, box-shadow;
  contain: layout style paint;
}

/* Position navbar below announcement bar when it exists */
.navbar-announcement:not(.hidden) ~ .editorial-navbar,
.navbar-announcement:not(.hidden) ~ header.editorial-navbar,
body:has(.navbar-announcement:not(.hidden)) .editorial-navbar,
body:has(.navbar-announcement:not(.hidden)) .navbar-enhanced,
body:has(.navbar-announcement:not(.hidden)) .header.navbar,
body.has-announcement .editorial-navbar,
body.has-announcement .navbar-enhanced,
body.has-announcement .header.navbar {
  top: var(--announcement-height) !important;
}

/* Body padding when announcement is visible */
body.has-announcement {
  padding-top: calc(var(--navbar-height) + var(--announcement-height)) !important;
}

/* Navbar slide-in animation */
@keyframes navbarSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Scrolled state */
.editorial-navbar.scrolled,
.navbar-enhanced.scrolled,
.header.navbar.scrolled {
  height: var(--navbar-height-compact);
  background: var(--navbar-bg-scrolled);
  box-shadow: var(--navbar-shadow-scrolled);
  backdrop-filter: var(--backdrop-blur-scrolled);
  -webkit-backdrop-filter: var(--backdrop-blur-scrolled);
}

/* Hidden state (scroll down) */
.editorial-navbar.hidden,
.navbar-enhanced.hidden,
.header.navbar.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

/* ===== NAVBAR CONTENT ===== */
.editorial-navbar-content,
.navbar-enhanced .container,
.header.navbar .container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  height: 100% !important;
  padding: 0 1.5rem !important;
  width: 100% !important;
  max-width: 100% !important;
  gap: 0.75rem !important;
  flex-wrap: nowrap !important;
  overflow: visible !important;
  position: relative !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

/* Brand - allow shrinking but maintain minimum */
.editorial-navbar-brand,
.navbar-brand {
  flex-shrink: 1 !important;
  min-width: 0 !important;
  margin-right: auto !important;
  max-width: calc(100% - 200px) !important; /* Reserve space for buttons */
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  position: relative !important;
  z-index: 1 !important;
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Brand image - prevent overlap */
.editorial-navbar-brand img,
.navbar-brand img {
  display: block !important;
  max-width: 32px !important;
  max-height: 32px !important;
  width: auto !important;
  height: 32px !important;
  object-fit: contain !important;
  margin: 0 !important;
}

/* Quick actions container - hide on smaller screens */
.navbar-quick-actions {
  flex-shrink: 0 !important;
  margin-right: 0.5rem !important;
  min-width: 0 !important;
}

/* Search toggle */
.navbar-search-toggle {
  flex-shrink: 0 !important;
  margin-right: 0.5rem !important;
  min-width: 44px !important;
}

/* Ensure hamburger is always visible and on the right - HIGHEST PRIORITY */
.editorial-navbar-content .editorial-navbar-toggle,
.editorial-navbar-content .navbar-toggler,
.header.navbar .editorial-navbar-toggle,
.header.navbar .navbar-toggler {
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  order: 999 !important;
  position: relative !important;
  z-index: 1001 !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ===== BRAND STYLES ===== */
.editorial-navbar-brand,
.navbar-brand {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
  color: #1a202c !important; /* Dark color for visibility on white navbar background */
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  transition: all var(--transition-normal);
  position: relative;
  z-index: 1001;
  padding: 0.5rem 0;
}

.editorial-navbar-brand:hover,
.navbar-brand:hover {
  color: #6366f1 !important; /* Purple on hover */
  opacity: 1;
  transform: translateY(-1px);
}

.editorial-navbar-brand img,
.navbar-brand img {
  height: 32px !important;
  max-height: 32px !important;
  width: auto !important;
  max-width: 32px !important;
  display: block !important;
  transition: all var(--transition-normal);
  filter: brightness(0) !important; /* Black logo on white background */
  object-fit: contain !important;
}

.editorial-navbar-brand:hover img,
.navbar-brand:hover img {
  transform: scale(1.1) rotate(5deg);
  filter: brightness(0) drop-shadow(0 0 8px rgba(99, 102, 241, 0.5)) !important; /* Black logo with purple glow */
}

.editorial-navbar-brand span,
.navbar-brand span {
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  transition: all var(--transition-normal);
  color: inherit !important; /* Inherit dark color from parent */
}

/* Override white color on hover for JFSN text (first span) - MUST be purple */
.editorial-navbar-brand:hover > span:first-of-type,
.editorial-navbar-brand:focus > span:first-of-type,
.navbar-brand:hover > span:first-of-type,
.navbar-brand:focus > span:first-of-type {
  color: #6366f1 !important; /* Purple, not white - MUST override white */
  -webkit-text-fill-color: #6366f1 !important; /* Override gradient text fill */
  background: none !important; /* Remove background gradient */
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
}

/* Override white color on hover for navbar-name - MUST be purple */
/* This MUST come after the brand hover rule and have higher specificity */
.editorial-navbar-brand:hover .navbar-name,
.editorial-navbar-brand:focus .navbar-name,
.navbar-brand:hover .navbar-name,
.navbar-brand:focus .navbar-name {
  color: #6366f1 !important; /* Purple, not white - MUST override white */
  -webkit-text-fill-color: #6366f1 !important; /* Override gradient text fill */
  background: none !important; /* Remove background gradient */
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  opacity: 1 !important; /* Ensure visibility */
}

/* Brand underline animation - REMOVED to fix purple rectangle issue */
/* The ::after pseudo-element was creating an unwanted rectangle/underline */
.editorial-navbar-brand::after,
.navbar-brand::after {
  content: none !important; /* Remove the purple rectangle/underline */
  display: none !important;
}

.editorial-navbar-brand:hover::after,
.navbar-brand:hover::after {
  content: none !important;
  display: none !important;
}

/* ===== NAVBAR TOGGLE BUTTON ===== */
.editorial-navbar-toggle,
.navbar-toggler {
  background: rgba(255, 255, 255, 0.1) !important;
  border: none !important;
  padding: 0.5rem !important;
  cursor: pointer;
  z-index: 1001;
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.editorial-navbar-toggle:hover,
.navbar-toggler:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  transform: scale(1.05);
}

.editorial-navbar-toggle:active,
.navbar-toggler:active {
  transform: scale(0.95);
}

.editorial-navbar-toggle:focus,
.navbar-toggler:focus {
  outline: 2px solid var(--brand-color);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

/* Toggle icon */
.editorial-navbar-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  height: 18px;
}

.editorial-navbar-toggle-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  border-radius: 2px;
}

.editorial-navbar-toggle.active .editorial-navbar-toggle-icon span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.editorial-navbar-toggle.active .editorial-navbar-toggle-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.editorial-navbar-toggle.active .editorial-navbar-toggle-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Bootstrap toggler icon */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  transition: transform var(--transition-normal);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  transform: rotate(90deg);
}

/* ===== FULL-SCREEN OVERLAY ===== */
.editorial-nav-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.98) !important;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 99999 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), 
              visibility var(--transition-slow);
  overflow-y: hidden;
  overflow-x: hidden;
  pointer-events: none;
  -webkit-overflow-scrolling: touch;
  display: block !important;
}

.editorial-nav-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  overflow-y: auto;
}

/* Ensure overlay is hidden by default */
.editorial-nav-overlay:not(.active) {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

/* Overlay content */
.editorial-nav-overlay-content {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  padding: 3rem;
  max-width: 100%;
  box-sizing: border-box;
  gap: 0;
  animation: overlayContentSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

.editorial-nav-overlay:not(.active) .editorial-nav-overlay-content {
  animation: none;
}

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

/* Desktop: Enhanced grid layout */
@media (min-width: 1025px) {
  .editorial-nav-overlay-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 3rem;
  }
}

/* Overlay header */
.editorial-nav-overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
  width: 100%;
}

.editorial-nav-overlay-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: white !important;
  text-decoration: none;
  font-weight: 700;
  position: relative;
  z-index: 10;
}

.editorial-nav-overlay-brand img {
  filter: brightness(0) invert(1);
  height: 48px;
  width: auto;
}

.editorial-nav-overlay-brand-name {
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}

.editorial-nav-overlay-brand-name-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.editorial-nav-overlay-brand-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.editorial-nav-overlay-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white !important;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: all var(--transition-normal);
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  min-width: 44px;
  min-height: 44px;
}

.editorial-nav-overlay-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg) scale(1.1);
}

.editorial-nav-overlay-close:focus {
  outline: 2px solid var(--brand-color);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

/* Overlay menu */
.editorial-nav-overlay-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
  width: 100%;
}

.editorial-nav-overlay-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.editorial-nav-link {
  display: block !important;
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  font-family: var(--font-headline, 'Playfair Display', serif);
  font-size: clamp(2rem, 6vw, 5rem);
}

/* Override parent link color for badge - MUST be white */
.editorial-nav-link .art-count-badge,
.editorial-nav-link .art-count-badge *,
.editorial-nav-link .art-count-badge span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
}
  font-weight: 700;
  padding: 1rem 0;
  transition: all var(--transition-normal);
  border-bottom: 2px solid transparent;
  position: relative;
  z-index: 3;
  line-height: 1.2;
}

.editorial-nav-link:hover,
.editorial-nav-link.active {
  color: white !important;
  border-bottom-color: var(--brand-color);
  transform: translateX(20px);
}

/* Ensure timeline icon color is preserved on hover */
.editorial-nav-link:hover .timeline-icon,
.editorial-nav-link.active .timeline-icon {
  color: #6366f1 !important;
}

.editorial-nav-link:focus {
  outline: 2px solid var(--brand-color);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Overlay footer */
.editorial-nav-overlay-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== SCROLL PROGRESS INDICATOR ===== */
.navbar-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px !important; /* Reduced from 3px for thinner appearance */
  z-index: 10001;
  pointer-events: none;
  background: transparent;
}

.navbar-scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--brand-gradient);
  opacity: 0.7 !important; /* Reduced opacity for less prominence */
  transform-origin: left center;
  transition: width 0.08s linear;
  box-shadow: 0 0 4px rgba(99, 102, 241, 0.3) !important; /* Reduced glow effect */
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
  :root {
    --navbar-height: 65px;
    --navbar-height-compact: 60px;
  }
  
  .editorial-navbar,
  .navbar-enhanced,
  .header.navbar {
    height: var(--navbar-height);
  }
  
  .editorial-navbar.scrolled,
  .navbar-enhanced.scrolled,
  .header.navbar.scrolled {
    height: var(--navbar-height-compact);
  }
  
  .editorial-navbar-content,
  .navbar-enhanced .container,
  .header.navbar .container {
    padding: 0 1rem;
    gap: 0.5rem;
  }
  
  .editorial-navbar-brand,
  .navbar-brand {
    font-size: 1rem;
    flex-shrink: 1;
    min-width: 0;
  }
  
  .editorial-navbar-brand img,
  .navbar-brand img {
    height: 28px;
  }
  
  /* Hide full name on mobile */
  .navbar-name {
    display: none !important;
  }
  
  .editorial-nav-overlay-content {
    padding: 2rem 1.5rem;
  }
  
  .editorial-nav-link {
    font-size: clamp(1.5rem, 8vw, 3rem);
  }
  
  /* Ensure hamburger is always visible on mobile */
  .editorial-navbar-toggle {
    flex-shrink: 0 !important;
    margin-left: 0.5rem !important;
    order: 999 !important;
  }
  
  /* Mobile touch feedback */
  .editorial-navbar-toggle:active,
  .navbar-toggler:active {
    transform: scale(0.9);
    background: rgba(255, 255, 255, 0.3) !important;
  }
  
  /* Mobile brand tap feedback */
  .editorial-navbar-brand:active {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

/* ===== ACCESSIBILITY ===== */
/* Skip link */
/* Skip Link - REMOVED per user request */
.skip-link {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.skip-link:focus {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Focus visible styles */
.editorial-navbar-toggle:focus-visible,
.navbar-toggler:focus-visible,
.editorial-nav-overlay-close:focus-visible,
.editorial-nav-link:focus-visible {
  outline: 2px solid var(--brand-color);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .editorial-navbar-toggle:focus,
  .navbar-toggler:focus,
  .editorial-nav-overlay-close:focus,
  .editorial-nav-link:focus {
    outline: 3px solid;
    outline-offset: 1px;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .editorial-navbar,
  .navbar-enhanced,
  .header.navbar,
  .editorial-nav-overlay,
  .editorial-nav-link,
  .editorial-navbar-toggle,
  .navbar-toggler {
    transition: none !important;
    animation: none !important;
  }
  
  .editorial-nav-link:hover {
    transform: none;
  }
  
  .editorial-navbar-brand:hover,
  .navbar-brand:hover {
    transform: none;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .editorial-navbar,
  .navbar-enhanced,
  .header.navbar,
  .editorial-nav-overlay,
  .navbar-scroll-progress {
    display: none !important;
  }
}

/* ===== BODY PADDING ADJUSTMENT ===== */
body:has(.editorial-navbar),
body:has(.navbar-enhanced),
body:has(.header.navbar) {
  padding-top: var(--navbar-height) !important;
}

@media (max-width: 768px) {
  body:has(.editorial-navbar),
  body:has(.navbar-enhanced),
  body:has(.header.navbar) {
    padding-top: var(--navbar-height) !important;
  }
}

/* ===== ANNOUNCEMENT BAR ===== */
.navbar-announcement {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  background: var(--brand-gradient);
  color: white;
  padding: 0.75rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  transition: transform var(--transition-normal), opacity var(--transition-normal);
  opacity: 1;
  max-height: 60px;
  overflow: hidden;
}

.navbar-announcement.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.navbar-announcement-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  max-width: 100%;
  height: 100%;
  min-height: 48px;
  box-sizing: border-box;
}

.navbar-announcement-text {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.navbar-announcement-icon {
  font-size: 1rem;
}

.navbar-announcement-link {
  color: white;
  text-decoration: underline;
  font-weight: 700;
  transition: opacity var(--transition-fast);
}

.navbar-announcement-link:hover {
  opacity: 0.8;
  color: white;
}

.navbar-announcement-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all var(--transition-fast);
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
}

.navbar-announcement-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.navbar-announcement-close:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

/* Adjust navbar position when announcement is visible */
body:has(.navbar-announcement:not(.hidden)) .editorial-navbar,
body:has(.navbar-announcement:not(.hidden)) .navbar-enhanced,
body:has(.navbar-announcement:not(.hidden)) .header.navbar {
  top: var(--announcement-height) !important;
  margin-top: 0 !important;
}

/* Ensure body padding accounts for announcement bar */
body:has(.navbar-announcement:not(.hidden)) {
  padding-top: calc(var(--navbar-height) + var(--announcement-height)) !important;
}

@media (max-width: 768px) {
  .navbar-announcement-content {
    padding: 0 1rem;
  }
  
  .navbar-announcement-text {
    font-size: 0.75rem;
  }
}

/* ===== QUICK ACTIONS ===== */
.navbar-quick-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: 1rem;
}

.navbar-quick-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  min-height: 40px;
  border: none;
  cursor: pointer;
}

.navbar-quick-action-primary {
  background: var(--brand-gradient);
  color: #ffffff !important; /* Force white text */
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.navbar-quick-action-primary i,
.navbar-quick-action-primary span {
  color: #ffffff !important; /* Force white text and icons */
}

.navbar-quick-action-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
  color: #ffffff !important; /* Force white text on hover */
}

.navbar-quick-action-primary:hover i,
.navbar-quick-action-primary:hover span {
  color: #ffffff !important; /* Force white text and icons on hover */
}

.navbar-quick-action-secondary {
  background: rgba(255, 255, 255, 0.9) !important; /* More opaque white background */
  color: #1e293b !important; /* Dark, readable text */
  border: 1px solid rgba(99, 102, 241, 0.2) !important;
  backdrop-filter: blur(10px);
}

.navbar-quick-action-secondary:hover {
  background: #ffffff !important; /* Solid white on hover */
  transform: translateY(-2px);
  color: #0f172a !important; /* Darker text on hover */
  border-color: rgba(99, 102, 241, 0.3) !important;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15) !important;
}

.navbar-quick-action-secondary i,
.navbar-quick-action-secondary span {
  color: #1e293b !important; /* Dark text for icons and spans */
}

.navbar-quick-action-secondary:hover i,
.navbar-quick-action-secondary:hover span {
  color: #0f172a !important; /* Darker on hover */
}

.navbar-quick-action-btn i {
  font-size: 1rem;
  color: inherit; /* Inherit from parent */
}

.navbar-quick-action-btn span {
  color: inherit; /* Inherit from parent */
}

.navbar-quick-action-btn:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

/* Mobile quick actions in overlay */
.editorial-nav-overlay-quick-actions {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.editorial-nav-quick-action-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important; /* Force white text */
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.editorial-nav-quick-action-btn i,
.editorial-nav-quick-action-btn span {
  color: #ffffff !important; /* Force white text and icons */
}

.editorial-nav-quick-action-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(10px);
  color: #ffffff !important; /* Force white text on hover */
}

.editorial-nav-quick-action-btn:hover i,
.editorial-nav-quick-action-btn:hover span {
  color: #ffffff !important; /* Force white text and icons on hover */
}

.editorial-nav-quick-action-btn i {
  font-size: 1.25rem;
  color: inherit; /* Inherit from parent */
}

.editorial-nav-quick-action-btn span {
  color: inherit; /* Inherit from parent */
}

/* ===== SEARCH FUNCTIONALITY ===== */
.navbar-search-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
}

.navbar-search-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.navbar-search-toggle:focus {
  outline: 2px solid var(--brand-color);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

/* Search Overlay */
.navbar-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
  pointer-events: none;
  overflow-y: auto;
  display: block !important;
}

.navbar-search-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Ensure search overlay is hidden by default */
.navbar-search-overlay:not(.active) {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

.navbar-search-overlay-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.navbar-search-overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.navbar-search-overlay-title {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.navbar-search-overlay-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-search-overlay-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.navbar-search-form {
  flex: 1;
}

.navbar-search-input-wrapper {
  position: relative;
  margin-bottom: 2rem;
}

.navbar-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.25rem;
  pointer-events: none;
}

.navbar-search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3.5rem;
  font-size: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: white;
  transition: all var(--transition-normal);
}

/* If search input has white/solid background, use dark text */
.navbar-search-input[style*="background: white"],
.navbar-search-input[style*="background-color: white"],
.navbar-search-input[style*="background: #fff"],
.navbar-search-input[style*="background-color: #fff"],
.navbar-search-overlay:not([style*="background"]) .navbar-search-input,
.navbar-search-overlay[style*="background: white"] .navbar-search-input,
.navbar-search-overlay[style*="background-color: white"] .navbar-search-input {
  color: #1e293b !important; /* Dark, readable text */
  background: #ffffff !important; /* Ensure white background */
}

.navbar-search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Dark placeholder for white backgrounds */
.navbar-search-input[style*="background: white"]::placeholder,
.navbar-search-input[style*="background-color: white"]::placeholder,
.navbar-search-overlay[style*="background: white"] .navbar-search-input::placeholder {
  color: #64748b !important; /* Medium gray for placeholder */
}

.navbar-search-input:focus {
  outline: none;
  border-color: var(--brand-color);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

/* Dark text on focus for white backgrounds */
.navbar-search-input[style*="background: white"]:focus,
.navbar-search-input[style*="background-color: white"]:focus,
.navbar-search-overlay[style*="background: white"] .navbar-search-input:focus {
  color: #1e293b !important; /* Dark, readable text */
  background: #ffffff !important; /* Ensure white background */
}

.navbar-search-clear {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all var(--transition-fast);
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-search-clear:hover {
  background: rgba(255, 255, 255, 0.2);
}

.navbar-search-results {
  min-height: 200px;
}

.navbar-search-suggestions {
  margin-top: 2rem;
}

.navbar-search-suggestions-title {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.navbar-search-suggestions-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.navbar-search-suggestion {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.navbar-search-suggestion:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
  color: white;
}

.navbar-search-suggestion i {
  font-size: 1.25rem;
  color: var(--brand-color);
}

@media (max-width: 768px) {
  .navbar-search-overlay-content {
    padding: 2rem 1rem;
  }
  
  .navbar-search-input {
    font-size: 1rem;
    padding: 0.875rem 0.875rem 0.875rem 3rem;
  }
  
  .navbar-search-suggestions-list {
    grid-template-columns: 1fr;
  }
}

/* ===== TIMELINE ICON STYLING ===== */
.timeline-icon {
  color: rgba(255, 255, 255, 0.8) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.8) !important;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), -webkit-text-fill-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
}

.editorial-nav-link:hover .timeline-icon,
.editorial-nav-link:focus .timeline-icon,
.editorial-nav-link.active .timeline-icon,
.navbar-search-suggestion:hover .timeline-icon,
.navbar-search-suggestion:focus .timeline-icon {
  color: #6366f1 !important;
  -webkit-text-fill-color: #6366f1 !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
}

/* Ensure icon is visible in all states - override gradient text effect */
a.editorial-nav-link .timeline-icon,
a.navbar-search-suggestion .timeline-icon {
  color: rgba(255, 255, 255, 0.8) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.8) !important;
  background: none !important;
}

a.editorial-nav-link:hover .timeline-icon,
a.editorial-nav-link:focus .timeline-icon,
a.editorial-nav-link.active .timeline-icon,
a.navbar-search-suggestion:hover .timeline-icon,
a.navbar-search-suggestion:focus .timeline-icon {
  color: #6366f1 !important;
  -webkit-text-fill-color: #6366f1 !important;
  background: none !important;
}

/* ===== UTILITY CLASSES ===== */
.navbar-fade-in {
  animation: navbarSlideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-smooth-scroll {
  scroll-behavior: smooth;
}



/* =========================================== */
/* components/navbar/css/navbar-copy-url.css */
/* =========================================== */
/* =========================================== */
/* COPY URL TO CLIPBOARD */
/* Button and toast notification styles */
/* =========================================== */

/* Copy URL Button */
.navbar-copy-url {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
}

.navbar-copy-url:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.navbar-copy-url:focus {
  outline: 2px solid var(--brand-color);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.navbar-copy-url:active {
  transform: scale(0.95);
}

/* Toast Notification */
.navbar-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 100000;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  max-width: 400px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.navbar-toast-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.navbar-toast-success .navbar-toast-icon {
  color: #10b981;
}

.navbar-toast-error .navbar-toast-icon {
  color: #ef4444;
}

.navbar-toast-message {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Mobile adjustments */
@media (max-width: 991px) {
  .navbar-toast {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .navbar-toast {
    transition: opacity 0.1s ease;
  }
  
  .navbar-copy-url {
    transition: background 0.1s ease;
  }
}

/* =========================================== */
/* components/navbar/css/navbar-focus-indicators.css */
/* =========================================== */
/* =========================================== */
/* ENHANCED FOCUS INDICATORS */
/* WCAG AAA compliant focus visibility for keyboard navigation */
/* =========================================== */

/* Base focus styles - only show when keyboard navigating */
*:focus-visible {
  outline: 3px solid var(--brand-color, #6366f1);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.2);
  border-radius: 4px;
}

/* Remove default focus outline for mouse clicks */
*:focus:not(:focus-visible) {
  outline: none;
}

/* Enhanced focus for interactive elements */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--brand-color, #6366f1);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.2);
  position: relative;
  z-index: 1;
}

/* Navbar specific focus styles */
.editorial-navbar button:focus-visible,
.editorial-navbar a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.2);
}

/* Search toggle focus */
.navbar-search-toggle:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.25);
}

/* Copy URL button focus */
.navbar-copy-url:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.25);
}

/* Navigation toggle focus */
.editorial-navbar-toggle:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.3);
}

/* Navbar brand focus */
.editorial-navbar-brand:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

/* Quick action buttons focus */
.navbar-quick-action-btn:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.3);
}

/* Navigation overlay links focus */
.editorial-nav-link:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

/* Search input focus */
.navbar-search-input:focus-visible {
  outline: 3px solid var(--brand-color, #6366f1);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.2);
}

/* Search suggestions focus */
.navbar-search-suggestion:focus-visible {
  outline: 3px solid var(--brand-color, #6366f1);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
  background: rgba(99, 102, 241, 0.1);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  *:focus-visible {
    outline: 4px solid;
    outline-offset: 4px;
    box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.5);
  }
  
  .editorial-navbar button:focus-visible,
  .editorial-navbar a:focus-visible {
    outline: 4px solid #ffffff;
    outline-offset: 4px;
    box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.8);
  }
}

/* Reduced motion - simpler focus */
@media (prefers-reduced-motion: reduce) {
  *:focus-visible {
    transition: none;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.3);
  }
}

/* Focus-visible polyfill support (for older browsers) */
.js-focus-visible *:focus:not(.focus-visible) {
  outline: none;
}

.js-focus-visible .focus-visible {
  outline: 3px solid var(--brand-color, #6366f1);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.2);
}

/* =========================================== */
/* components/navbar/css/navbar-micro-animations.css */
/* =========================================== */

/* =========================================== */
/* NAVBAR MICRO ANIMATIONS & MOBILE UX/UI */
/* Enhanced interactions, micro-animations, hover effects */
/* =========================================== */

/* ===== MICRO ANIMATIONS - BUTTONS ===== */

/* Hamburger menu micro-animation */
.editorial-navbar-toggle {
  position: relative;
  overflow: hidden;
}

.editorial-navbar-toggle::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.4s ease, height 0.4s ease;
  pointer-events: none;
}

.editorial-navbar-toggle:hover::before,
.editorial-navbar-toggle:focus::before {
  width: 100px;
  height: 100px;
}

.editorial-navbar-toggle:active::before {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.3);
}

/* Toggle icon micro-animation */
.editorial-navbar-toggle-icon span {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.editorial-navbar-toggle:hover .editorial-navbar-toggle-icon span {
  transform: scaleX(1.1);
}

.editorial-navbar-toggle:active .editorial-navbar-toggle-icon span {
  transform: scaleX(0.9);
}

/* Active state animation */
.editorial-navbar-toggle.active .editorial-navbar-toggle-icon span {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== BRAND MICRO ANIMATIONS ===== */

.editorial-navbar-brand {
  position: relative;
  overflow: visible;
}

/* Logo pulse on hover */
.editorial-navbar-brand:hover img {
  animation: logoPulse 0.6s ease-in-out;
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1.15) rotate(8deg);
  }
  50% {
    transform: scale(1.25) rotate(12deg);
  }
}

/* Brand text shimmer effect */
.editorial-navbar-brand span {
  position: relative;
  background: linear-gradient(
    90deg,
    currentColor 0%,
    currentColor 50%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.5) 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 0.5s ease;
}

.editorial-navbar-brand:hover span {
  background-position: -100% 0;
}

/* ===== QUICK ACTION BUTTONS MICRO ANIMATIONS ===== */

.navbar-quick-action-btn {
  position: relative;
  overflow: hidden;
}

/* Ripple effect on click */
.navbar-quick-action-btn::after {
  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 ease, height 0.6s ease, opacity 0.6s ease;
  pointer-events: none;
  opacity: 0;
}

.navbar-quick-action-btn:hover::after {
  width: 200px;
  height: 200px;
  opacity: 1;
}

.navbar-quick-action-btn:active::after {
  width: 250px;
  height: 250px;
  opacity: 0.8;
}

/* Icon bounce on hover */
.navbar-quick-action-btn i {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.navbar-quick-action-btn:hover i {
  transform: scale(1.2) rotate(5deg);
}

.navbar-quick-action-btn:active i {
  transform: scale(0.9) rotate(-5deg);
}

/* Text slide animation */
.navbar-quick-action-btn span {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-quick-action-btn:hover span {
  transform: translateX(2px);
  color: #ffffff !important; /* Ensure white text on hover */
}

.navbar-quick-action-btn:hover i {
  color: #ffffff !important; /* Ensure white icons on hover */
}

/* Primary button glow effect */
.navbar-quick-action-primary {
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.navbar-quick-action-primary:hover {
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5), 
              0 0 30px rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

.navbar-quick-action-primary:active {
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
  transform: translateY(0);
}

/* ===== SEARCH TOGGLE MICRO ANIMATIONS ===== */

.navbar-search-toggle {
  position: relative;
  overflow: hidden;
}

/* Search icon rotation on hover */
.navbar-search-toggle i {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

.navbar-search-toggle:hover i {
  transform: rotate(90deg) scale(1.1);
}

.navbar-search-toggle:active i {
  transform: rotate(90deg) scale(0.9);
}

/* Circular ripple on click */
.navbar-search-toggle::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.5s ease, height 0.5s ease, opacity 0.5s ease;
  pointer-events: none;
  opacity: 0;
}

.navbar-search-toggle:hover::before {
  width: 80px;
  height: 80px;
  opacity: 1;
}

.navbar-search-toggle:active::before {
  width: 100px;
  height: 100px;
  opacity: 0.8;
}

/* ===== NAVIGATION LINKS MICRO ANIMATIONS ===== */

.editorial-nav-link {
  position: relative;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Underline animation */
.editorial-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--brand-gradient, linear-gradient(90deg, #6366f1, #8b5cf6));
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.editorial-nav-link:hover::after,
.editorial-nav-link.active::after {
  width: 100%;
}

/* Text slide on hover */
.editorial-nav-link:hover {
  transform: translateX(10px);
}

/* Active link pulse */
.editorial-nav-link.active {
  animation: activeLinkPulse 2s ease-in-out infinite;
}

@keyframes activeLinkPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.9;
  }
}

/* ===== MOBILE TOUCH ENHANCEMENTS ===== */

@media (max-width: 768px) {
  /* Larger touch targets */
  .editorial-navbar-toggle,
  .navbar-toggler {
    min-width: 48px;
    min-height: 48px;
    padding: 0.75rem !important;
  }
  
  /* Touch ripple effect */
  .editorial-navbar-toggle:active,
  .navbar-toggler:active {
    animation: touchRipple 0.4s ease;
  }
  
  @keyframes touchRipple {
    0% {
      box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    100% {
      box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
  }
  
  /* Brand tap feedback */
  .editorial-navbar-brand:active {
    animation: brandTap 0.3s ease;
  }
  
  @keyframes brandTap {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(0.95);
    }
  }
  
  /* Overlay menu items - enhanced touch */
  .editorial-nav-link {
    padding: 1.25rem 0 !important;
    min-height: 60px;
    display: flex;
    align-items: center;
  }
  
  .editorial-nav-link:active {
    transform: translateX(15px) scale(0.98);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding-left: 1rem !important;
  }
  
  /* Quick action buttons in overlay - mobile */
  .editorial-nav-quick-action-btn {
    min-height: 56px;
    padding: 1.25rem 1.5rem !important;
  }
  
  .editorial-nav-quick-action-btn:active {
    transform: translateX(10px) scale(0.97);
    background: rgba(255, 255, 255, 0.15) !important;
  }
  
  /* Close button - mobile */
  .editorial-nav-overlay-close:active {
    transform: rotate(90deg) scale(0.9);
    background: rgba(255, 255, 255, 0.25) !important;
  }
}

/* ===== HOVER EFFECTS (Desktop) ===== */

@media (hover: hover) and (pointer: fine) {
  /* Smooth hover transitions */
  .editorial-navbar-toggle:hover {
    transform: scale(1.08) translateY(-1px);
  }
  
  .navbar-search-toggle:hover {
    transform: scale(1.1) translateY(-1px);
  }
  
  .navbar-quick-action-btn:hover {
    transform: translateY(-3px);
  }
  
  /* Brand hover lift */
  .editorial-navbar-brand:hover {
    transform: translateY(-2px);
  }
  
  /* Link hover effects */
  .editorial-nav-link:hover {
    transform: translateX(20px) scale(1.02);
  }
}

/* ===== LOADING STATES ===== */

.editorial-navbar-toggle.loading .editorial-navbar-toggle-icon span {
  animation: loadingPulse 1s ease-in-out infinite;
}

@keyframes loadingPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ===== FOCUS ENHANCEMENTS ===== */

.editorial-navbar-toggle:focus-visible,
.navbar-search-toggle:focus-visible,
.navbar-quick-action-btn:focus-visible {
  outline: 2px solid var(--brand-color, #6366f1);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.2);
  animation: focusPulse 2s ease-in-out infinite;
}

@keyframes focusPulse {
  0%, 100% {
    box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.2);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(99, 102, 241, 0.3);
  }
}

/* ===== SMOOTH SCROLL INDICATOR ===== */

.navbar-scroll-progress-bar {
  position: relative;
  overflow: hidden;
  opacity: 0.7 !important; /* Reduced opacity for less prominence */
  box-shadow: 0 0 4px rgba(99, 102, 241, 0.3) !important; /* Reduced glow effect */
}

.navbar-scroll-progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: progressShimmer 2s ease-in-out infinite;
}

@keyframes progressShimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* ===== ANNOUNCEMENT BAR ANIMATIONS ===== */

.navbar-announcement {
  position: relative;
  overflow: hidden;
}

.navbar-announcement::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  animation: announcementShimmer 3s ease-in-out infinite;
}

@keyframes announcementShimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.navbar-announcement-close:hover {
  animation: closeButtonSpin 0.5s ease;
}

@keyframes closeButtonSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(90deg);
  }
}

/* ===== REDUCED MOTION SUPPORT ===== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  
  .editorial-navbar-toggle:hover,
  .navbar-search-toggle:hover,
  .navbar-quick-action-btn:hover,
  .editorial-nav-link:hover {
    transform: none !important;
  }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */

.editorial-navbar-toggle,
.navbar-search-toggle,
.navbar-quick-action-btn,
.editorial-nav-link {
  will-change: transform;
}

/* Use GPU acceleration for smooth animations */
.editorial-navbar-toggle:hover,
.navbar-search-toggle:hover,
.navbar-quick-action-btn:hover {
  transform: translateZ(0);
}



/* =========================================== */
/* assets/css/art-gallery-featured.css */
/* =========================================== */

/* =========================================== */
/* ART GALLERY - FEATURED NAVIGATION STYLING */
/* Makes Art Gallery stand out as most important */
/* =========================================== */

/* ===== ART GALLERY FEATURED LINK ===== */
.art-gallery-featured {
  position: relative;
  /* Don't override font-size - let it inherit from .editorial-nav-link */
  font-weight: 700 !important; /* Match other nav links */
  font-family: var(--font-headline, 'Playfair Display', serif) !important; /* Match serif font */
  padding: 1rem 0 !important; /* Match other nav links */
  margin: 0 !important;
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
}

/* ===== ART GALLERY ICON - GRADIENT & ANIMATED ===== */
.art-gallery-icon {
  font-size: 1.2em !important; /* Proportional to large text */
  margin-right: 0.75rem;
  vertical-align: middle;
  display: inline-block;
  background: linear-gradient(135deg, #6366f1, #ec4899) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.5));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: palettePaint 3s ease-in-out infinite;
  position: relative;
  flex-shrink: 0;
}

@keyframes palettePaint {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.5));
    transform: scale(1) rotate(0deg);
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.8));
    transform: scale(1.05) rotate(5deg);
  }
}

/* Hover state - enhanced animation */
.art-gallery-featured:hover .art-gallery-icon {
  animation: paintBrush 0.6s ease, palettePaint 3s ease-in-out infinite;
  transform: rotate(15deg) scale(1.2);
  filter: drop-shadow(0 0 16px rgba(99, 102, 241, 0.9));
}

@keyframes paintBrush {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(20deg) scale(1.25);
  }
  100% {
    transform: rotate(15deg) scale(1.2);
  }
}

/* ===== ART COUNT BADGE ===== */
.art-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.85rem;
  font-size: 0.4em; /* Proportional to large nav link text */
  font-weight: 700;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  color: #ffffff !important; /* Force white text - override parent link color */
  border-radius: 999px;
  margin-left: 0.75rem;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
  animation: badgePulse 2s ease-in-out infinite;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
  -webkit-text-fill-color: #ffffff !important; /* Override any gradient text fill */
  background-clip: border-box !important; /* Prevent gradient text fill */
  -webkit-background-clip: border-box !important;
}

/* Ensure badge text is always white - override all parent styles */
.art-count-badge,
.art-count-badge *,
.art-count-badge span,
.art-gallery-featured .art-count-badge,
.art-gallery-featured .art-count-badge *,
.art-gallery-featured .art-count-badge span,
.art-gallery-featured:hover .art-count-badge,
.art-gallery-featured:hover .art-count-badge *,
.art-gallery-featured:hover .art-count-badge span,
.editorial-nav-link .art-count-badge,
.editorial-nav-link .art-count-badge *,
.editorial-nav-link .art-count-badge span,
.editorial-nav-link:hover .art-count-badge,
.editorial-nav-link:hover .art-count-badge *,
.editorial-nav-link:hover .art-count-badge span,
.editorial-nav-overlay-menu .art-count-badge,
.editorial-nav-overlay-menu .art-count-badge *,
.editorial-nav-overlay-menu .art-count-badge span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  opacity: 1 !important;
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
    transform: scale(1.05);
  }
}

/* Badge glow effect */
.art-count-badge::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  opacity: 0.3;
  filter: blur(8px);
  z-index: -1;
  animation: badgeGlow 2s ease-in-out infinite;
}

@keyframes badgeGlow {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.1);
  }
}

/* Hover state - badge */
.art-gallery-featured:hover .art-count-badge {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.6);
  animation: badgePulse 1s ease-in-out infinite;
  color: #ffffff !important; /* Ensure white text on hover */
  -webkit-text-fill-color: #ffffff !important; /* Override any gradient text fill */
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
}

/* ===== ENHANCED HOVER EFFECTS ===== */
.art-gallery-featured:hover {
  transform: translateX(25px) scale(1.02) !important;
  filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.8));
}

/* Stronger glow on hover */
.art-gallery-featured:hover::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
  filter: blur(12px);
  z-index: -1;
  opacity: 0;
  animation: hoverGlow 0.4s ease forwards;
}

@keyframes hoverGlow {
  to {
    opacity: 1;
  }
}

/* ===== SEARCH SUGGESTION STYLING ===== */
.art-gallery-featured-search {
  position: relative;
  background: rgba(99, 102, 241, 0.1) !important;
  border: 1px solid rgba(99, 102, 241, 0.3) !important;
}

.art-gallery-featured-search:hover {
  background: rgba(99, 102, 241, 0.15) !important;
  border-color: rgba(99, 102, 241, 0.5) !important;
  transform: translateX(8px) scale(1.03);
}

.art-count-badge-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.5rem;
  font-size: 0.7em;
  font-weight: 700;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  color: #ffffff !important; /* Force white text - override parent link color */
  border-radius: 999px;
  margin-left: auto;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
  -webkit-text-fill-color: #ffffff !important; /* Override any gradient text fill */
  background-clip: border-box !important; /* Prevent gradient text fill */
  -webkit-background-clip: border-box !important;
}

/* Ensure small badge text is always white */
.art-count-badge-small,
.art-count-badge-small *,
.art-count-badge-small span,
.art-gallery-featured-search .art-count-badge-small,
.art-gallery-featured-search .art-count-badge-small *,
.art-gallery-featured-search .art-count-badge-small span,
.art-gallery-featured-search:hover .art-count-badge-small,
.art-gallery-featured-search:hover .art-count-badge-small *,
.art-gallery-featured-search:hover .art-count-badge-small span,
.navbar-search-suggestion .art-count-badge-small,
.navbar-search-suggestion .art-count-badge-small *,
.navbar-search-suggestion .art-count-badge-small span,
.navbar-search-suggestion:hover .art-count-badge-small,
.navbar-search-suggestion:hover .art-count-badge-small *,
.navbar-search-suggestion:hover .art-count-badge-small span,
.navbar-search-overlay .art-count-badge-small,
.navbar-search-overlay .art-count-badge-small *,
.navbar-search-overlay .art-count-badge-small span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  opacity: 1 !important;
}

/* ===== OVERRIDE GRADIENT TEXT EFFECT FOR ICON ===== */
/* Ensure icon stays visible even when link has gradient text */
.art-gallery-featured .art-gallery-icon {
  background: linear-gradient(135deg, #6366f1, #ec4899) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

.art-gallery-featured:hover .art-gallery-icon,
.art-gallery-featured.active .art-gallery-icon {
  background: linear-gradient(135deg, #818cf8, #f472b6) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
  .art-gallery-featured {
    font-size: clamp(1.5rem, 8vw, 3rem) !important; /* Match mobile nav link size */
    padding: 1rem 0 !important;
    margin: 0 !important;
  }
  
  .art-gallery-icon {
    font-size: 1.2em !important;
  }
  
  .art-count-badge {
    font-size: 0.7em;
    padding: 0.2rem 0.6rem;
  }
  
  .art-count-badge-small {
    font-size: 0.65em;
    padding: 0.15rem 0.4rem;
  }
}

/* ===== ACCESSIBILITY ===== */
.art-gallery-featured:focus-visible {
  outline: 3px solid #6366f1;
  outline-offset: 4px;
  border-radius: 8px;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .art-gallery-icon,
  .art-count-badge {
    animation: none !important;
  }
  
  .art-gallery-featured:hover {
    transform: translateX(20px) !important;
  }
  
  .art-gallery-featured:hover .art-gallery-icon {
    transform: scale(1.1) !important;
  }
}

/* =========================================== */
/* HIDE ALL READING TIME INDICATORS */
/* User requested removal - all reading time displays hidden */
/* =========================================== */

.reading-time,
.reading-time-badge,
.reading-time-inline,
.scroll-reading-time,
.reading-time-progress-label,
.section-reading-time,
.reading-time-summary,
.reading-time-tooltip,
.reading-time-tooltip-content,
[class*="reading-time"],
[class*="reading-time"] * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  pointer-events: none !important;
}



/* =========================================== */
/* assets/css/footer/index-footer.css */
/* =========================================== */

/* ===========================================
   FOOTER SECTION - INDEX PAGE
   =========================================== */

/* ===========================================
   FOOTER - COMPREHENSIVE UX/UI ENHANCEMENTS
   =========================================== */

/* ===========================================
   FOOTER BASE STYLES - CONSOLIDATED
   =========================================== */

/* Footer Base - Consolidated from multiple definitions */
footer.footer-enhanced,
.footer-enhanced {
  background: #0f172a url('/images/hero-bg-pattern.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: visible;
  z-index: var(--footer-z-base, 1);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  isolation: isolate;
  margin-bottom: 0;
  padding-bottom: 0;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

footer.footer-enhanced.py-5 {
  padding-bottom: 0;
}


/* Animated gradient overlay - Enhanced */
.footer-enhanced::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.08) 0%,
    rgba(139, 92, 246, 0.05) 50%,
    rgba(99, 102, 241, 0.08) 100%
  );
  background-size: 200% 200%;
  opacity: 0.6;
  pointer-events: none;
  z-index: var(--footer-z-overlay, 0);
  animation: footerGradientShift 20s ease infinite;
}

@keyframes footerGradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* 2. Footer Brand Enhancement - Improved UX/UI */
.footer-brand {
  transition: all var(--footer-transition-slow, 0.4s cubic-bezier(0.4, 0, 0.2, 1));
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--footer-spacing-sm, 0.5rem);
  margin: calc(var(--footer-spacing-sm, 0.5rem) * -1) auto var(--footer-spacing-md, 1rem) auto;
  border-radius: 12px;
  position: relative;
  z-index: var(--footer-z-brand, 100);
  width: 100%;
}

.footer-brand:hover {
  transform: scale(1.02);
}

.footer-brand img {
  filter: brightness(0) invert(1);
  transition: all var(--footer-transition-slow, 0.4s cubic-bezier(0.34, 1.56, 0.64, 1));
  position: relative;
  z-index: var(--footer-z-brand-img, 101);
  height: 40px;
  width: auto;
}

.footer-brand:hover img {
  filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(99, 102, 241, 0.8));
  transform: rotate(-8deg) scale(1.1);
}

.footer-brand span {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 700;
}

.footer-brand:hover span {
  color: #a5b4fc;
  text-shadow: 0 0 8px rgba(165, 180, 252, 0.5);
}

/* 3. Enhanced Status Badge - Improved UX/UI */
.footer-enhanced .badge.bg-success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.4), rgba(5, 150, 105, 0.4));
  background-color: transparent;
  border: 2px solid rgba(16, 185, 129, 0.6);
  color: #6ee7b7;
  font-weight: 600;
  font-size: 0.875rem;
  padding: var(--footer-spacing-sm, 0.5rem) var(--footer-spacing-md, 1rem);
  transition: all var(--footer-transition-slow, 0.4s cubic-bezier(0.34, 1.56, 0.64, 1));
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  overflow: visible !important; /* Prevent cutoff */
  margin-left: 0 !important; /* Ensure no negative margin cutting off */
}
  opacity: 1;
  position: relative;
  overflow: visible;
  animation: badgePulse 3s ease-in-out infinite;
}

.footer-enhanced .badge.bg-success:hover {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: #10b981;
}

.footer-enhanced .badge.bg-success .spinner-grow {
  animation: pulse 1.5s ease-in-out infinite;
  color: #ffffff !important; /* White spinner for visibility */
  background-color: rgba(255, 255, 255, 0.9) !important; /* White background for spinner */
}

/* Badge pulse animation defined above */

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 2px 12px rgba(16, 185, 129, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 2px 16px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
  }
}

/* Reduced motion styles consolidated at end of file */

/* Badge + Social Icons Container Spacing */
.footer-enhanced .d-flex.align-items-center.gap-4,
.footer-enhanced .mb-4.d-flex.align-items-center.gap-4,
.footer-enhanced .col-lg-4 .mb-4.d-flex.align-items-center.gap-4 {
  gap: var(--footer-spacing-lg, 1.5rem);
  flex-wrap: nowrap;
  min-width: 0;
  overflow: visible !important; /* Prevent cutoff */
  padding-left: 0.5rem !important; /* Add padding to prevent left side cutoff */
}

.footer-enhanced .d-flex.align-items-center.gap-4 > .badge,
.footer-enhanced .mb-4.d-flex.align-items-center.gap-4 > .badge,
.footer-enhanced .col-lg-4 .mb-4.d-flex.align-items-center.gap-4 > .badge {
  margin-right: 0;
  flex-shrink: 0;
}

.footer-enhanced .d-flex.align-items-center.gap-4 > .d-flex,
.footer-enhanced .mb-4.d-flex.align-items-center.gap-4 > .d-flex,
.footer-enhanced .col-lg-4 .mb-4.d-flex.align-items-center.gap-4 > .d-flex {
  margin-left: 0;
  flex-shrink: 0;
}

/* 4. Social Button Enhancements - Enhanced UX/UI */

/* Individual social colors on hover - Enhanced */
.footer-enhanced .social-btn:nth-child(1):hover {
  background: linear-gradient(135deg, rgba(0, 119, 181, 0.3), rgba(0, 119, 181, 0.2));
  border-color: rgba(0, 119, 181, 0.7);
  box-shadow: 0 8px 24px rgba(0, 119, 181, 0.5), 0 4px 12px rgba(0, 119, 181, 0.3);
}

.footer-enhanced .social-btn:nth-child(2):hover {
  background: linear-gradient(135deg, rgba(29, 161, 242, 0.3), rgba(29, 161, 242, 0.2));
  border-color: rgba(29, 161, 242, 0.7);
  box-shadow: 0 8px 24px rgba(29, 161, 242, 0.5), 0 4px 12px rgba(29, 161, 242, 0.3);
}

.footer-enhanced .social-btn:nth-child(3):hover {
  background: linear-gradient(135deg, rgba(228, 64, 95, 0.3), rgba(228, 64, 95, 0.2));
  border-color: rgba(228, 64, 95, 0.7);
  box-shadow: 0 8px 24px rgba(228, 64, 95, 0.5), 0 4px 12px rgba(228, 64, 95, 0.3);
}

.footer-enhanced .social-btn:nth-child(4):hover {
  background: linear-gradient(135deg, rgba(234, 76, 137, 0.3), rgba(234, 76, 137, 0.2));
  border-color: rgba(234, 76, 137, 0.7);
  box-shadow: 0 8px 24px rgba(234, 76, 137, 0.5), 0 4px 12px rgba(234, 76, 137, 0.3);
}

.footer-enhanced .social-btn:nth-child(5):hover {
  background: linear-gradient(135deg, rgba(23, 105, 255, 0.3), rgba(23, 105, 255, 0.2));
  border-color: rgba(23, 105, 255, 0.7);
  box-shadow: 0 8px 24px rgba(23, 105, 255, 0.5), 0 4px 12px rgba(23, 105, 255, 0.3);
}

/* 5. Footer Links Enhancement - Enhanced UX/UI */
.footer-link {
  transition: all var(--footer-transition-slow, 0.4s cubic-bezier(0.4, 0, 0.2, 1));
  padding: 0.625rem var(--footer-spacing-md, 1rem);
  margin: 0 calc(var(--footer-spacing-md, 1rem) * -1);
  border-radius: 10px;
  position: relative;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  min-height: 44px;
  width: 100%;
  max-width: fit-content;
}

.footer-link::before {
  content: '';
  position: absolute;
  left: 1rem;
  bottom: 0.625rem;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #a78bfa);
  border-radius: 3px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

.footer-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.footer-link:hover {
  color: #ffffff;
  background: rgba(99, 102, 241, 0.15);
  transform: translateX(12px) scale(1.02);
  padding-left: 1.25rem;
  box-shadow: var(--footer-shadow-md, 0 4px 12px rgba(99, 102, 241, 0.2));
}

.footer-link:hover::before {
  width: calc(100% - 2.25rem);
}

.footer-link:hover::after {
  opacity: 1;
}

.footer-link:focus {
  outline: var(--footer-focus-ring-width, 3px) solid var(--footer-focus-ring-color, rgba(99, 102, 241, 0.6));
  outline-offset: var(--footer-focus-ring-offset, 3px);
  border-radius: 10px;
  color: #ffffff;
  background: rgba(99, 102, 241, 0.2);
}

.footer-link:focus-visible {
  color: #ffffff;
}

.footer-link:active {
  transform: translateX(8px) scale(0.98);
  transition: all 0.15s ease;
}

.footer-link i {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: rgba(99, 102, 241, 0.9);
  margin-right: 0.75rem;
  font-size: 1.15rem;
  position: relative;
  z-index: 1;
}

.footer-link:hover i {
  color: #a5b4fc;
  transform: scale(1.2) rotate(-8deg);
  filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.4));
}

/* 6. Footer Section Headings - Improved UX/UI */
.footer-enhanced h4 {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: var(--footer-spacing-md, 1rem);
  margin-bottom: var(--footer-spacing-lg, 1.5rem);
  background: transparent;
  border: none;
  box-shadow: none;
  transition: color var(--footer-transition-base, 0.3s cubic-bezier(0.4, 0, 0.2, 1));
  cursor: default;
}

.footer-enhanced h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #a78bfa);
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

.footer-enhanced h4:hover {
  color: #a5b4fc;
  transform: translateX(4px);
}

.footer-enhanced h4:hover::after {
  width: 60px;
  transition: width var(--footer-transition-base, 0.3s ease);
}

/* 7. Accordion Enhancements (Mobile) - Improved UX/UI */
.footer-enhanced .accordion-button {
  transition: all var(--footer-transition-base, 0.35s cubic-bezier(0.4, 0, 0.2, 1));
  background-color: transparent;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: var(--footer-spacing-md, 0.75rem) 0;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.footer-enhanced .accordion-button:not(.collapsed) {
  background: transparent;
  background-color: transparent;
  color: #a5b4fc;
  box-shadow: none;
}

.footer-enhanced .accordion-button:hover {
  background: transparent;
  background-color: transparent;
  color: #ffffff;
}

.footer-enhanced .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
  outline: var(--footer-focus-ring-width, 2px) solid var(--footer-focus-ring-color, rgba(99, 102, 241, 0.5));
  outline-offset: var(--footer-spacing-sm, 4px);
}

.footer-enhanced .accordion-item {
  background-color: transparent;
  background: transparent;
  border: none;
}

.footer-enhanced .accordion-body {
  background-color: transparent;
  background: transparent;
  padding-top: var(--footer-spacing-sm, 0.5rem);
}

/* 8. Footer Bottom Bar Enhancement - Improved UX/UI */
.footer-enhanced .border-top,
.footer-enhanced hr {
  border-color: rgba(255, 255, 255, 0.12);
  border-width: 1px;
  position: relative;
  margin: 2rem 0 1.5rem 0;
}

.footer-enhanced hr::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, transparent);
  transform: translateY(-50%);
  border-radius: 2px;
}

/* Copyright text - Improved UX/UI */
.footer-enhanced .text-muted.small {
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.footer-enhanced .text-muted.small:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Bottom links enhancement - Improved UX/UI */
.footer-enhanced .col-md-6.text-md-end .footer-link {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.625rem 1rem;
  border-radius: 10px;
  background: transparent;
  border: 1.5px solid transparent;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.footer-enhanced .col-md-6.text-md-end .footer-link:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  color: #ffffff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

.footer-enhanced .col-md-6.text-md-end .footer-link:focus {
  background: transparent;
  border-color: transparent;
  outline: 2px solid rgba(99, 102, 241, 0.5);
  outline-offset: 2px;
}

.footer-enhanced .col-md-6.text-md-end .footer-link i {
  font-size: 1rem;
  margin-right: 0.5rem;
  color: rgba(99, 102, 241, 0.6);
  transition: all 0.35s ease;
}

.footer-enhanced .col-md-6.text-md-end .footer-link:hover i {
  color: #a5b4fc;
  transform: scale(1.15);
}

/* 9. Quick Links Column Positioning */
.footer-enhanced .col-lg-4:nth-of-type(2) {
  position: relative;
  left: 100px;
}

/* Media queries consolidated at end of file */

/* Scroll-Triggered Animations - Moved to base styles above */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================================
   FOOTER LAYOUT IMPROVEMENTS
   =========================================== */

/* Footer Layout - Consolidated */
body > footer:last-child {
  margin-bottom: 0;
}

html, body {
  margin-bottom: 0;
  padding-bottom: 0;
}

main {
  margin-bottom: 0;
  padding-bottom: 0;
}

footer ~ *:not(.taco-hover-image):not(.toast-container):not(script):not(.back-to-top) {
  display: none;
}

footer {
  padding: 5rem 0 0;
}

footer.py-5 {
  padding-bottom: 0;
}

footer .row {
  margin-bottom: 0;
  overflow: visible !important;
}

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

footer hr {
  margin-bottom: 0;
  margin-top: var(--footer-spacing-md, 1rem);
}

footer .container-fluid {
  margin-bottom: 0;
  padding-bottom: 0;
  overflow: visible !important;
}

footer .col-md-6,
footer .col-lg-4 {
  margin-bottom: 0;
  overflow: visible !important;
}

.footer-enhanced .container-fluid {
  max-width: 1400px;
  padding-left: 2rem;
  padding-right: 2rem;
  overflow: visible !important;
}

/* Mobile styles consolidated below */

/* Footer spacing improvements */
.footer-enhanced .row {
  margin-bottom: 0;
  overflow: visible !important;
}

.footer-enhanced .row > [class*="col-"] {
  margin-bottom: 2rem;
}

/* Desktop styles consolidated below */

/* ===========================================
   FOOTER PROFILE & CHARACTER
   =========================================== */

.footer-profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1rem;
  margin: -1rem -1rem 1.5rem -1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-align: center;
  overflow: visible;
}

.footer-character-container {
  align-self: center;
  margin-bottom: 0.5rem;
}

.footer-profile-text {
  text-align: center;
  width: 100%;
  margin-top: 0;
  position: relative;
}

.footer-profile-text::before,
.footer-profile-text::after {
  display: none !important;
  content: none !important;
}

.footer-profile-header::before,
.footer-profile-header::after {
  display: none !important;
  content: none !important;
}

/* Hide any purple lines near Artist & Designer text */
.footer-profile-text *::before,
.footer-profile-text *::after {
  display: none !important;
  content: none !important;
  border-left: none !important;
  background: none !important;
}

/* Responsive: Keep vertical layout on all screens */
/* Mobile styles consolidated below */


.footer-profile-text h3 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-profile-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0;
  position: relative;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: none !important;
  background-image: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.footer-profile-text p::before,
.footer-profile-text p::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  border: none !important;
  background: none !important;
  background-image: none !important;
}

.footer-profile-text p.text-muted::before,
.footer-profile-text p.text-muted::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  border: none !important;
  background: none !important;
  background-image: none !important;
}

.footer-profile-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  margin: 1.5rem 0;
  position: relative;
  margin-top: 70px;
}

.footer-profile-divider::after {
  display: none !important;
}

.footer-character-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  margin: 0;
  margin-top: 25px;
  padding: 40px;
  overflow: visible;
}

.footer-character {
  height: 300px;
  width: 180px;
  display: block;
  cursor: pointer;
  transition: transform var(--footer-transition-slow, 0.4s cubic-bezier(0.34, 1.56, 0.64, 1));
  position: relative;
  z-index: 3;
  filter: brightness(1.1) drop-shadow(0 12px 25px rgba(0, 0, 0, 0.15));
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  object-fit: contain;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.footer-character-container:hover .footer-character {
  transform: scale(1.08) rotate(-5deg);
}

.orb-test {
  position: absolute;
  width: 234px;
  height: 234px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.65) 0%, rgba(99, 102, 241, 0.25) 55%, rgba(99, 102, 241, 0.05) 100%);
  z-index: var(--footer-z-overlay, 0);
  opacity: 0;
  transform: translate(-50%, -55%);
  left: 50%;
  top: 50%;
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.5);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.footer-character-container:hover .orb-test {
  opacity: 1;
  transform: translate(-50%, -55%) scale(1.2);
}

/* ===========================================
   TACO HOVER IMAGE
   =========================================== */

.taco-hover-image {
  position: fixed !important;
  right: 160px;
  bottom: 135px;
  z-index: 50 !important; /* Below purple blobs (z-index: 100) */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-300px) scale(0.8);
  pointer-events: none;
  transition: opacity var(--footer-transition-slower, 0.6s ease-out), 
              visibility var(--footer-transition-slower, 0.6s ease-out), 
              transform var(--footer-transition-slower, 0.8s cubic-bezier(0.34, 1.56, 0.64, 1));
  display: block !important;
}

.taco-hover-image.visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
  z-index: 50 !important; /* Below purple blobs (z-index: 100) */
  pointer-events: none;
  transition: opacity 0.6s ease-out, 
              visibility 0.6s ease-out, 
              transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: block !important;
}

.taco-hover-image.exiting {
  opacity: 0;
  transform: translateY(-300px) scale(0.8);
  transition: opacity 0.4s ease-in, 
              transform 0.5s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.taco-img {
  width: 120px;
  height: auto;
  border-radius: 12px;
  animation: tacoBob 2s ease-in-out infinite;
  filter: none;
  transition: filter 3s ease, transform 0.3s ease;
  display: block;
  transform-origin: center bottom;
}

.taco-hover-image.visible .taco-img {
  animation: tacoBob 2s ease-in-out infinite, tacoEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes tacoEntrance {
  0% {
    transform: translateY(-20px) scale(0.9) rotate(-5deg);
    opacity: 0;
  }
  50% {
    transform: translateY(5px) scale(1.05) rotate(2deg);
    opacity: 0.9;
  }
  75% {
    transform: translateY(-2px) scale(0.98) rotate(-1deg);
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes tacoBob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ===========================================
   PURPLE BLOBS - FLOATING IN BOTTOM RIGHT
   =========================================== */

.purple-blobs {
  position: absolute;
  right: 0;
  bottom: 35px;
  z-index: var(--footer-z-brand, 100);
  pointer-events: none;
}

.blob-svg {
  transform: rotate(180deg);
}

.purple-blobs svg {
  animation: gentleWobble 4s ease-in-out infinite;
}

.purple-blobs svg path:nth-child(1) {
  animation: blobWobble 6s ease-in-out infinite;
}

.purple-blobs svg path:nth-child(2) {
  animation: individualBlob 5s ease-in-out infinite;
  animation-delay: 1s;
}

.purple-blobs svg path:nth-child(3) {
  animation: individualBlob 7s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes gentleWobble {
  0%, 100% { transform: rotate(180deg) translateY(0px); }
  50% { transform: rotate(180deg) translateY(-5px); }
}

@keyframes blobWobble {
  0%, 100% { transform: scale(1) rotate(0deg); }
  33% { transform: scale(1.05) rotate(2deg); }
  66% { transform: scale(0.95) rotate(-1deg); }
}

@keyframes individualBlob {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.1) rotate(1deg); }
  50% { transform: scale(0.9) rotate(-1deg); }
  75% { transform: scale(1.05) rotate(0.5deg); }
}

/* ===========================================
   BACK TO TOP BUTTON
   =========================================== */

.back-to-top {

.back-to-top:hover {
  background: rgba(99, 102, 241, 0.4);
  border-color: rgba(99, 102, 241, 0.6);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
  color: #ffffff;
}

.back-to-top:active {
  transform: translateY(-2px) scale(1.05);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

.back-to-top:focus-visible {
  outline: 3px solid rgba(99, 102, 241, 0.5);
  outline-offset: 3px;
}

/* Mobile styles consolidated below */

/* Reduced motion styles consolidated at end of file */

/* ===========================================
   UTILITY CLASSES
   =========================================== */

.letter-spacing-1 {
  letter-spacing: 0.1em;
}

/* ===========================================
   MOBILE OPTIMIZATIONS
   =========================================== */

/* Mobile styles consolidated below */

/* Media queries consolidated at end of file */

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

/* 1. Footer Container - Enhanced Visual Hierarchy */
/* Note: .footer-enhanced base styles defined at top of file */
.footer-enhanced .container-fluid {
  position: relative;
  z-index: var(--footer-z-content, 20);
  max-width: 1400px;
  padding-left: var(--footer-spacing-xl, 2rem);
  padding-right: var(--footer-spacing-xl, 2rem);
}

/* 2. Staggered Column Animations */
.footer-enhanced .row > [class*="col-"] {
  opacity: 0;
  transform: translateY(20px);
  animation: footerColumnFadeIn 0.6s ease-out forwards;
}

.footer-enhanced .row > [class*="col-"]:nth-child(1) {
  animation-delay: 0.1s;
}

.footer-enhanced .row > [class*="col-"]:nth-child(2) {
  animation-delay: 0.2s;
}

.footer-enhanced .row > [class*="col-"]:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes footerColumnFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 3. Enhanced Social Button Interactions */
/* Note: Base .footer-enhanced .social-btn styles defined earlier in file (section 4) */

/* 4. Enhanced Footer Link List Items */
.footer-enhanced .list-unstyled li {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding-left: 0.5rem;
  margin-left: -0.5rem;
  border-radius: 6px;
}

.footer-enhanced .list-unstyled li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, #6366f1, #8b5cf6);
  border-radius: 0 3px 3px 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-enhanced .list-unstyled li:hover::before {
  transform: translateY(-50%) scaleX(1);
  height: 60%;
}

.footer-enhanced .list-unstyled li:hover {
  background: rgba(99, 102, 241, 0.08);
  padding-left: 0.75rem;
  margin-left: -0.75rem;
}

/* Ensure footer links have proper hover colors */
.footer-enhanced .list-unstyled li a.footer-link {
  color: rgba(255, 255, 255, 0.75) !important;
}

.footer-enhanced .list-unstyled li:hover a.footer-link {
  color: #ffffff !important;
}

.footer-enhanced .list-unstyled li a.footer-link:hover {
  color: #ffffff !important;
}

/* 5. Enhanced Footer Profile Header */
.footer-profile-header {
  position: relative;
  overflow: hidden;
}


.footer-profile-header > * {
  position: relative;
  z-index: 1;
}

/* Ensure footer-brand logo is always visible above character */
.footer-profile-header .footer-brand {
  z-index: var(--footer-z-brand, 100);
}

/* 6. Enhanced Footer Profile Text */
.footer-profile-text h3 {
  position: relative;
  display: inline-block;
}

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

.footer-profile-header:hover .footer-profile-text h3::after {
  width: 100%;
}

/* 7. Enhanced Footer Divider */
.footer-profile-divider {
  position: relative;
  overflow: hidden;
}

.footer-profile-divider::before {
  display: none !important;
}

@keyframes dividerShimmer {
  0%, 100% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
}

/* 8. Enhanced Status Badge - Pulse Animation */
.footer-enhanced .badge.bg-success {
  position: relative;
  overflow: visible;
}

.footer-enhanced .badge.bg-success::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.2);
  opacity: 0;
  animation: badgePulse 2s ease-in-out infinite;
  z-index: -1;
}

@keyframes badgePulse {
  0%, 100% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

.footer-enhanced .badge.bg-success:hover::after {
  animation: badgePulseHover 0.6s ease-in-out;
}

@keyframes badgePulseHover {
  0% {
    opacity: 0.6;
    transform: scale(1.1);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

/* 9. Enhanced Section Headings */
.footer-enhanced h4 {
  position: relative;
  cursor: default;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.footer-enhanced h4:hover {
  color: #a5b4fc !important;
  transform: translateX(4px);
}

.footer-enhanced h4::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 4px;
  height: 4px;
  background: #6366f1;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-enhanced h4:hover::before {
  transform: translateY(-50%) scale(1);
}

/* 10. Enhanced Accordion Button */
.footer-enhanced .accordion-button {
  position: relative;
  overflow: hidden;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.footer-enhanced .accordion-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  transform: translateY(-50%);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-enhanced .accordion-button:not(.collapsed)::before,
.footer-enhanced .accordion-button:hover::before {
  width: 40px;
}

.footer-enhanced .accordion-button:not(.collapsed) {
  color: #a5b4fc !important;
}

.footer-enhanced .accordion-button:hover {
  color: #ffffff !important;
}

/* 11. Enhanced Footer Links - Ripple Effect */
.footer-link {
  position: relative;
  overflow: hidden;
}

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

.footer-link:active::after {
  width: 200px;
  height: 200px;
  opacity: 1;
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

.footer-link > * {
  position: relative;
  z-index: 1;
}


/* 13. Enhanced Copyright Text */
.footer-enhanced .text-muted.small {
  position: relative;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-enhanced .text-muted.small::before {
  content: '©';
  margin-right: 0.25rem;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.footer-enhanced .text-muted.small:hover::before {
  opacity: 1;
}

/* 14. Enhanced Footer HR */
.footer-enhanced hr {
  position: relative;
  overflow: visible;
}

.footer-enhanced hr::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, transparent);
  transform: translateY(-50%);
  animation: hrGrow 2s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes hrGrow {
  to {
    width: 120px;
  }
}

/* 15. Enhanced Footer Character Container */
.footer-character-container {
  position: relative;
  cursor: pointer;
}


/* 16. Enhanced Orb Test */
.orb-test {
  animation: orbPulse 3s ease-in-out infinite;
}

@keyframes orbPulse {
  0%, 100% {
    opacity: 0;
    transform: translate(-50%, -55%) scale(0.9);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -55%) scale(1.1);
  }
}

.footer-character-container:hover .orb-test {
  animation: orbPulseHover 1s ease-in-out infinite;
}

@keyframes orbPulseHover {
  0%, 100% {
    opacity: 1;
    transform: translate(-50%, -55%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -55%) scale(1.15);
  }
}

/* 17. Enhanced Back-to-Top Button */
.back-to-top {
  position: relative;
  overflow: hidden;
}

.back-to-top::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.5s ease, height 0.5s ease;
  z-index: 0;
}

.back-to-top:hover::before {
  width: 100px;
  height: 100px;
}

.back-to-top svg {
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.back-to-top:hover svg {
  transform: translateY(-4px) rotate(180deg);
}

/* 18. Enhanced Purple Blobs */
.purple-blobs {
  filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.3));
  transition: filter 0.4s ease;
}

.footer-enhanced:hover .purple-blobs {
  filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.5));
}

/* Footer Purple Blobs - Moving Animated Blobs in Bottom Right */
footer .footer-purple-blobs,
.footer-enhanced .footer-purple-blobs,
.footer-purple-blobs.purple-blobs,
#footer-content .footer-purple-blobs,
#footer-section .footer-purple-blobs {
  position: absolute !important;
  right: 0 !important;
  bottom: 35px !important;
  z-index: var(--footer-z-brand, 100) !important;
  pointer-events: none !important;
  filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.4)) !important;
  transition: filter 0.4s ease, opacity 0.4s ease !important;
  opacity: 0.9 !important;
  will-change: transform, filter, opacity !important;
  display: block !important;
  visibility: visible !important;
  overflow: visible !important;
}

.footer-enhanced:hover .footer-purple-blobs,
.footer-enhanced:hover .purple-blobs {
  filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.5)) !important;
}

.footer-purple-blobs .blob-svg,
.purple-blobs .blob-svg {
  transform: rotate(180deg) !important;
  display: block !important;
  visibility: visible !important;
}

.footer-purple-blobs svg,
.purple-blobs svg {
  animation: gentleWobble 4s ease-in-out infinite !important;
  display: block !important;
  visibility: visible !important;
}

.footer-purple-blobs svg path:nth-child(1),
.purple-blobs svg path:nth-child(1) {
  animation: blobWobble 8s ease-in-out infinite !important;
  transform-origin: 55% 50% !important;
}

.footer-purple-blobs svg path:nth-child(2),
.purple-blobs svg path:nth-child(2) {
  animation: individualBlob 6.5s ease-in-out infinite !important;
  animation-delay: 1.5s !important;
  transform-origin: 50% 45% !important;
}

.footer-purple-blobs svg path:nth-child(3),
.purple-blobs svg path:nth-child(3) {
  animation: individualBlob 7.5s ease-in-out infinite !important;
  animation-delay: 3s !important;
  transform-origin: 50% 50% !important;
}

@keyframes blobFloat1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(-15px, -20px) scale(1.1);
  }
  50% {
    transform: translate(-30px, -10px) scale(0.9);
  }
  75% {
    transform: translate(-10px, -25px) scale(1.05);
  }
}

@keyframes blobFloat2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(20px, -15px) scale(1.15);
  }
  66% {
    transform: translate(-20px, -25px) scale(0.85);
  }
}

@keyframes blobFloat3 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(10px, -30px) scale(1.2);
  }
  50% {
    transform: translate(-15px, -20px) scale(0.8);
  }
  75% {
    transform: translate(5px, -35px) scale(1.1);
  }
}

.footer-enhanced:hover .footer-purple-blobs svg,
.footer-enhanced:hover .purple-blobs svg {
  filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.5)) !important;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .footer-purple-blobs .purple-blob {
    animation: none;
  }
}

/* 19. Enhanced Taco Image */
.taco-img {
  position: relative;
  z-index: 1;
}

.taco-hover-image.visible .taco-img {
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

/* 20. Enhanced Footer Background Gradient */
.footer-enhanced::before {
  background-size: 200% 200%;
  animation: footerGradientShift 20s ease infinite;
}

@keyframes footerGradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 21. Enhanced List Item Spacing */
.footer-enhanced .list-unstyled li {
  margin-bottom: 0.75rem;
  transition: margin-bottom 0.3s ease;
}

.footer-enhanced .list-unstyled li:hover {
  margin-bottom: 1rem;
}

.footer-enhanced .list-unstyled li:not(:hover) {
  margin-bottom: 0.75rem;
}

/* 22. Enhanced Typography */
.footer-enhanced p {
  line-height: 1.7;
  transition: color 0.3s ease;
}

.footer-enhanced p:hover {
  color: rgba(255, 255, 255, 0.95);
}

/* 23. Enhanced Container Fluid */
/* Footer Utility Classes */
.footer-container-fluid {
  position: relative;
  z-index: 2;
}

.footer-container-fluid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(99, 102, 241, 0.3), 
    rgba(139, 92, 246, 0.3), 
    rgba(99, 102, 241, 0.3), 
    transparent
  );
  opacity: 0.5;
}

/* 24. Enhanced Social Button Group */
.footer-enhanced .d-flex.gap-2[role="group"],
.footer-enhanced div[role="group"][aria-label="Social media links"],
.footer-enhanced .d-flex.gap-2.align-items-center[role="group"],
.footer-enhanced .mb-4.d-flex.align-items-center.gap-4 .d-flex.gap-2[role="group"] {
  gap: 0.75rem;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

/* 25. Enhanced Footer Row */
.footer-row-no-margin {
  position: relative;
  margin-bottom: 0;
}

.footer-row-no-margin::after {
  content: '';
  position: absolute;
  bottom: -2rem;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.1), 
    transparent
  );
}

.footer-col-transparent {
  background: transparent;
  background-color: transparent;
  overflow: visible !important; /* Prevent cutoff */
}

/* Ensure footer column with badge has proper overflow */
.footer-enhanced .col-lg-4:first-child,
.footer-enhanced .col-md-6:first-child {
  overflow: visible !important;
  padding-left: 0.75rem !important; /* Add padding to prevent cutoff */
}


.footer-enhanced .accordion-button::after {
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-enhanced .accordion-button:hover::after,
.footer-enhanced .accordion-button:not(.collapsed)::after {
  opacity: 1;
  transform: scale(1.1);
}


/* ===========================================
   REDUCED MOTION
   =========================================== */

/* Reduced motion styles consolidated at end of file */

/* ===========================================
   TRUST INDICATORS - Color Fix
   =========================================== */

.footer-trust-indicators {
  padding: 0.5rem 0;
  margin-top: 70px;
}

/* Status badge and social icons spacing */
.footer-enhanced .col-lg-4 .mb-4.d-flex.align-items-center {
  margin-top: 0;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 90px;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

.trust-badge:hover {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.2));
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.trust-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #a5b4fc;
  line-height: 1.2;
  background: linear-gradient(135deg, #a5b4fc, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all var(--footer-transition-slow, 0.4s ease);
}

.trust-badge:hover .trust-number {
  transform: scale(1.1);
  filter: drop-shadow(0 2px 8px rgba(165, 180, 252, 0.5));
}

.trust-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--footer-spacing-xs, 0.25rem);
  transition: color var(--footer-transition-slow, 0.4s ease);
}

.trust-badge:hover .trust-label {
  color: rgba(255, 255, 255, 0.95);
}

/* Mobile styles consolidated below */



/* =========================================== */
/* INLINE STYLES MOVED FROM index.html */
/* =========================================== */

/* =========================================== */
/* TABLE OF CONTENTS / QUICK NAVIGATION */
/* =========================================== */

.page-toc {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  max-width: 200px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  pointer-events: none;
}

.page-toc.visible {
  opacity: 1;
  pointer-events: auto;
}

.toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.toc-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: #1a202c;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.toc-toggle {
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  color: #64748b;
  transition: color 0.2s ease;
  display: none; /* Hide on desktop, show on mobile */
}

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

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 0.5rem;
}

.toc-link {
  display: block;
  padding: 0.5rem 0.75rem;
  color: #64748b;
  text-decoration: none;
  font-size: 0.875rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
}

.toc-link:hover {
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
  transform: translateX(4px);
}

.toc-link.active {
  color: #6366f1;
  background: rgba(99, 102, 241, 0.15);
  font-weight: 600;
}

.toc-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: #6366f1;
  border-radius: 0 2px 2px 0;
}

[data-bs-theme="dark"] .page-toc {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .toc-title {
  color: #e2e8f0;
}

[data-bs-theme="dark"] .toc-link {
  color: #94a3b8;
}

[data-bs-theme="dark"] .toc-link:hover,
[data-bs-theme="dark"] .toc-link.active {
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.2);
}

/* Media queries consolidated at end of file */

/* =========================================== */
/* BACK TO TOP BUTTON */
/* =========================================== */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.5rem;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.6);
}

.back-to-top:active {
  transform: translateY(-2px) scale(1.05);
}

.back-to-top:focus-visible {
  outline: 3px solid rgba(99, 102, 241, 0.6);
  outline-offset: 4px;
}

/* Mobile styles consolidated below */

/* Reduced motion styles consolidated at end of file */

footer .row {
  margin-bottom: 0;
  overflow: visible !important;
}

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

footer hr {
  margin-bottom: 0;
  margin-top: 1rem;
}

footer .container-fluid {
  margin-bottom: 0;
  padding-bottom: 0;
  overflow: visible !important;
}

footer .col-md-6,
footer .col-lg-4 {
  margin-bottom: 0;
  overflow: visible !important;
}

footer ~ *:not(.taco-hover-image):not(.toast-container):not(script):not(.back-to-top) {
  display: none;
}

/* Prevent scrolling below footer */
body::after {
  content: '';
  display: block;
  height: 0;
  margin: 0;
  padding: 0;
}


/* ===========================================
   SCROLL PROGRESS INDICATOR
   =========================================== */

.footer-scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px; /* Reduced from 4px for thinner appearance */
  background: rgba(255, 255, 255, 0.05);
  z-index: 10;
  overflow: hidden;
}

.footer-scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #6366f1);
  background-size: 200% 100%;
  opacity: 0.7; /* Reduced opacity for less prominence */
  animation: progressGradient 3s ease infinite;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

@keyframes progressGradient {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* ===========================================
   LAZY-LOAD FADE-IN ANIMATIONS
   =========================================== */

.footer-fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: footerFadeIn 0.8s ease-out forwards;
}

@keyframes footerFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduced motion styles consolidated at end of file */

/* ===========================================
   BACK-TO-TOP BUTTON REMOVED
   =========================================== */

/* ===========================================
   CONSOLIDATED MEDIA QUERIES
   =========================================== */

/* Mobile (max-width: 575px) */
@media (max-width: 575px) {
  .footer-profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-character-container {
    align-self: center;
    margin-bottom: var(--footer-spacing-md, 1rem);
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .footer-enhanced {
    padding: 3rem 0 2rem;
  }
  
  .footer-brand {
    justify-content: center;
  }
  
  .footer-enhanced .col-lg-4 {
    text-align: center;
  }
  
  .footer-enhanced .social-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    max-width: 48px;
    min-height: 48px;
    max-height: 48px;
  }
  
  .footer-enhanced .mb-4.d-flex.align-items-center.gap-4,
  .footer-enhanced .col-lg-4 .mb-4.d-flex.align-items-center.gap-4 {
    flex-wrap: nowrap;
    gap: var(--footer-spacing-lg, 1.5rem);
  }
  
  .footer-enhanced .d-flex.gap-2[role="group"],
  .footer-enhanced div[role="group"][aria-label="Social media links"],
  .footer-enhanced .mb-4.d-flex.align-items-center.gap-4 .d-flex.gap-2[role="group"],
  .footer-enhanced .col-lg-4 .mb-4.d-flex.align-items-center.gap-4 .d-flex.gap-2[role="group"] {
    gap: 0.75rem;
    flex-wrap: nowrap;
    flex-shrink: 0;
  }
  
  .footer-link {
    justify-content: flex-start;
  }

  .footer-character {
    height: 180px;
  }

  .taco-hover-image {
    right: 80px;
    bottom: 80px;
    transform: translateY(-300px) scale(0.8);
  }

  .taco-img {
    width: 90px;
  }
  
  .footer-enhanced .container-fluid {
    padding-left: var(--footer-spacing-lg, 1.5rem);
    padding-right: var(--footer-spacing-lg, 1.5rem);
  }
  
  .back-to-top {
    bottom: 5rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
  
  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
  
  .trust-badge {
    padding: 0.625rem var(--footer-spacing-md, 1rem);
    min-width: 80px;
  }
  
  .trust-number {
    font-size: 1.25rem;
  }
  
  .trust-label {
    font-size: 0.65rem;
  }
  
  .page-toc {
    display: none;
  }
}

/* Tablet (min-width: 768px) and (max-width: 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  footer .row.g-4 {
    --bs-gutter-y: var(--footer-spacing-xl, 2rem);
  }
}

/* Tablet and below (max-width: 991px) */
@media (max-width: 991px) {
  .footer-enhanced .col-lg-4:nth-of-type(2) {
    left: 0;
  }
  
  .page-toc {
    position: fixed;
    right: 1rem;
    top: auto;
    bottom: 5rem;
    transform: none;
    max-width: 160px;
    padding: 0.75rem;
  }
  
  .toc-toggle {
    display: block;
  }
  
  .toc-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--footer-transition-base, 0.3s ease);
  }
  
  .page-toc.expanded .toc-list {
    max-height: 500px;
  }
  
  .page-toc.expanded .toc-toggle i {
    transform: rotate(180deg);
  }
}

/* Desktop (min-width: 768px) */
@media (min-width: 768px) {
  .footer-enhanced .row > [class*="col-"]:last-child {
    margin-bottom: 0;
  }
}

/* Large Desktop (max-width: 1200px) */
@media (max-width: 1200px) {
  .page-toc {
    right: 1rem;
    max-width: 180px;
  }
}

/* Reduced Motion - Consolidated */
@media (prefers-reduced-motion: reduce) {
  .footer-enhanced .badge.bg-success {
    animation: none;
  }
  
  .footer-enhanced .social-btn::after,
  .footer-enhanced .social-btn::before {
    transition: none;
  }
  
  .back-to-top {
    transition: opacity var(--footer-transition-fast, 0.2s ease);
  }
  
  .back-to-top:hover {
    transform: none;
  }
  
  .footer-enhanced,
  .footer-brand,
  .social-btn,
  .footer-link,
  .footer-enhanced .row > [class*="col-"],
  .footer-profile-header,
  .footer-character-container,
  .orb-test,
  .purple-blobs,
  .back-to-top {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
  
  .footer-brand:hover,
  .social-btn:hover,
  .footer-link:hover,
  .footer-enhanced h4:hover,
  .back-to-top:hover {
    transform: none;
  }
  
  .footer-enhanced hr::before,
  .footer-profile-divider::before {
    animation: none;
  }
  
  .footer-fade-in {
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  .footer-scroll-progress-bar {
    animation: none;
  }
}


/* =========================================== */
/* assets/css/footer/footer-consistency.css */
/* =========================================== */

/* =========================================== */
/* FOOTER UX/UI CONSISTENCY SYSTEM */
/* Unified footer design tokens and patterns */
/* Ensures consistent footer UX/UI across all pages */
/* =========================================== */

/* ===== FOOTER DESIGN TOKENS (Using UX/UI Consistency Variables) ===== */
footer,
.footer-enhanced {
  /* Use consistent transition timing */
  --footer-transition-fast: var(--transition-fast, 150ms cubic-bezier(0.4, 0, 0.2, 1));
  --footer-transition-base: var(--transition-base, 200ms cubic-bezier(0.4, 0, 0.2, 1));
  --footer-transition-slow: var(--transition-slow, 300ms cubic-bezier(0.4, 0, 0.2, 1));
  --footer-transition-slower: var(--transition-slower, 500ms cubic-bezier(0.4, 0, 0.2, 1));
  
  /* Use consistent easing */
  --footer-ease-in: var(--ease-in, cubic-bezier(0.4, 0, 1, 1));
  --footer-ease-out: var(--ease-out, cubic-bezier(0, 0, 0.2, 1));
  --footer-ease-in-out: var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));
  --footer-ease-bounce: var(--ease-bounce, cubic-bezier(0.68, -0.55, 0.265, 1.55));
  
  /* Use consistent spacing (8px base unit) */
  --footer-spacing-xs: var(--spacing-xs, 0.25rem);   /* 4px */
  --footer-spacing-sm: var(--spacing-sm, 0.5rem);    /* 8px */
  --footer-spacing-md: var(--spacing-md, 1rem);      /* 16px */
  --footer-spacing-lg: var(--spacing-lg, 1.5rem);    /* 24px */
  --footer-spacing-xl: var(--spacing-xl, 2rem);      /* 32px */
  --footer-spacing-2xl: var(--spacing-2xl, 3rem);    /* 48px */
  
  /* Use consistent shadows */
  --footer-shadow-sm: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
  --footer-shadow-md: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
  --footer-shadow-lg: var(--shadow-lg, 0 10px 15px rgba(0, 0, 0, 0.1));
  --footer-shadow-xl: var(--shadow-xl, 0 20px 25px rgba(0, 0, 0, 0.1));
  
  /* Use consistent focus ring */
  --footer-focus-ring-width: var(--focus-ring-width, 2px);
  --footer-focus-ring-offset: var(--focus-ring-offset, 2px);
  --footer-focus-ring-color: var(--focus-ring-color, rgba(99, 102, 241, 0.6));
  
  /* Use consistent z-index layering */
  --footer-z-base: var(--z-base, 1);
  --footer-z-overlay: 0;
  --footer-z-content: 20;
  --footer-z-brand: 100;
  --footer-z-brand-img: 101;
  --footer-z-profile-text: 50;
  --footer-z-dropdown: var(--z-dropdown, 1000);
  --footer-z-sticky: var(--z-sticky, 1020);
  --footer-z-fixed: var(--z-fixed, 1030);
  --footer-z-modal-backdrop: var(--z-modal-backdrop, 1040);
  --footer-z-modal: var(--z-modal, 1050);
  --footer-z-popover: var(--z-popover, 1060);
  --footer-z-tooltip: var(--z-tooltip, 1070);
}

/* ===== FOOTER BASE STYLES (Consistent Structure) ===== */
footer,
.footer-enhanced {
  position: relative;
  z-index: var(--footer-z-base);
  transition: all var(--footer-transition-base);
}

/* ===== FOOTER LINKS (Consistent Hover & Focus States) ===== */
footer a:not(.btn):not(.social-btn),
.footer-enhanced a:not(.btn):not(.social-btn) {
  transition: all var(--footer-transition-base);
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--footer-spacing-sm);
  padding: var(--footer-spacing-sm) var(--footer-spacing-md);
  margin: calc(var(--footer-spacing-sm) * -1) calc(var(--footer-spacing-md) * -1);
  border-radius: 0.5rem;
  min-height: 44px; /* Touch target size */
}

/* Footer link hover state (consistent with UX/UI system) */
footer a:not(.btn):not(.social-btn):hover,
.footer-enhanced a:not(.btn):not(.social-btn):hover {
  color: #ffffff;
  background: rgba(99, 102, 241, 0.15);
  transform: translateX(4px);
  box-shadow: var(--footer-shadow-sm);
}

/* Footer link focus state (consistent with UX/UI system) */
footer a:not(.btn):not(.social-btn):focus,
footer a:not(.btn):not(.social-btn):focus-visible,
.footer-enhanced a:not(.btn):not(.social-btn):focus,
.footer-enhanced a:not(.btn):not(.social-btn):focus-visible {
  outline: 3px solid var(--footer-focus-ring-color, rgba(99, 102, 241, 0.8));
  outline-offset: 3px;
  color: #ffffff;
  background: rgba(99, 102, 241, 0.2);
  border-radius: 0.5rem;
}

/* Footer link active state */
footer a:not(.btn):not(.social-btn):active,
.footer-enhanced a:not(.btn):not(.social-btn):active {
  transform: translateX(2px) scale(0.98);
  transition: all var(--footer-transition-fast);
}

/* Footer link underline animation */
footer a:not(.btn):not(.social-btn)::before,
.footer-enhanced a:not(.btn):not(.social-btn)::before {
  content: '';
  position: absolute;
  bottom: var(--footer-spacing-sm);
  left: var(--footer-spacing-md);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 2px;
  transition: width var(--footer-transition-base);
  z-index: -1;
}

footer a:not(.btn):not(.social-btn):hover::before,
.footer-enhanced a:not(.btn):not(.social-btn):hover::before {
  width: calc(100% - var(--footer-spacing-md) * 2);
}

/* ===== FOOTER BUTTONS (Consistent with UX/UI System) ===== */
footer .btn,
.footer-enhanced .btn {
  transition: all var(--footer-transition-base);
  border-radius: 0.5rem;
  font-weight: 600;
  padding: var(--footer-spacing-sm) var(--footer-spacing-lg);
  min-height: 44px; /* Touch target */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--footer-spacing-sm);
}

/* Footer button hover */
footer .btn:hover,
.footer-enhanced .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--footer-shadow-lg);
}

/* Footer button focus */
footer .btn:focus,
.footer-enhanced .btn:focus {
  outline: var(--footer-focus-ring-width) solid var(--footer-focus-ring-color);
  outline-offset: var(--footer-focus-ring-offset);
}

/* Footer button active */
footer .btn:active,
.footer-enhanced .btn:active {
  transform: translateY(0) scale(0.98);
  transition: all var(--footer-transition-fast);
}

/* ===== FOOTER SOCIAL BUTTONS (Consistent Styling) ===== */
footer .social-btn,
.footer-enhanced .social-btn {
  transition: transform var(--footer-transition-base), 
              opacity var(--footer-transition-base),
              background-color var(--footer-transition-base),
              border-color var(--footer-transition-base),
              box-shadow var(--footer-transition-base);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
  will-change: transform, opacity;
}

/* Social button hover */
footer .social-btn:hover,
.footer-enhanced .social-btn:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: var(--footer-shadow-lg);
  border-color: rgba(99, 102, 241, 0.6);
  background: rgba(99, 102, 241, 0.2);
  color: #ffffff;
}

/* Social button focus */
footer .social-btn:focus,
footer .social-btn:focus-visible,
.footer-enhanced .social-btn:focus,
.footer-enhanced .social-btn:focus-visible {
  outline: 3px solid var(--footer-focus-ring-color, rgba(99, 102, 241, 0.8));
  outline-offset: 3px;
}

/* Social button active */
footer .social-btn:active,
.footer-enhanced .social-btn:active {
  transform: translateY(-2px) scale(0.95);
  transition: all var(--footer-transition-fast);
}

/* ===== FOOTER HEADINGS (Consistent Typography) ===== */
footer h3,
footer h4,
footer h5,
.footer-enhanced h3,
.footer-enhanced h4,
.footer-enhanced h5 {
  transition: color var(--footer-transition-base);
  color: #ffffff;
  font-weight: 700;
  margin-bottom: var(--footer-spacing-lg);
  position: relative;
}

/* Footer heading hover */
footer h3:hover,
footer h4:hover,
footer h5:hover,
.footer-enhanced h3:hover,
.footer-enhanced h4:hover,
.footer-enhanced h5:hover {
  color: #a5b4fc;
}

/* Footer heading underline */
footer h3::after,
footer h4::after,
footer h5::after,
.footer-enhanced h3::after,
.footer-enhanced h4::after,
.footer-enhanced h5::after {
  content: '';
  position: absolute;
  bottom: calc(var(--footer-spacing-sm) * -1);
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 2px;
  transition: width var(--footer-transition-base);
}

footer h3:hover::after,
footer h4:hover::after,
footer h5:hover::after,
.footer-enhanced h3:hover::after,
.footer-enhanced h4:hover::after,
.footer-enhanced h5:hover::after {
  width: 60px;
}

/* ===== FOOTER BADGES (Consistent Styling) ===== */
footer .badge,
.footer-enhanced .badge {
  transition: all var(--footer-transition-base);
  padding: var(--footer-spacing-sm) var(--footer-spacing-md);
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--footer-spacing-sm);
}

/* Footer badge hover */
footer .badge:hover,
.footer-enhanced .badge:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--footer-shadow-md);
}

/* ===== FOOTER ACCORDION (Mobile - Consistent Interactions) ===== */
footer .accordion-button,
.footer-enhanced .accordion-button {
  transition: all var(--footer-transition-base);
  background: transparent !important;
  border: none !important;
  color: #ffffff;
  padding: var(--footer-spacing-md) 0;
}

/* Accordion button hover */
footer .accordion-button:hover,
.footer-enhanced .accordion-button:hover {
  color: #a5b4fc;
  background: transparent !important;
}

/* Accordion button focus */
footer .accordion-button:focus,
.footer-enhanced .accordion-button:focus {
  outline: var(--footer-focus-ring-width) solid var(--footer-focus-ring-color);
  outline-offset: var(--footer-focus-ring-offset);
  box-shadow: none !important;
}

/* Accordion button expanded */
footer .accordion-button:not(.collapsed),
.footer-enhanced .accordion-button:not(.collapsed) {
  color: #a5b4fc;
  background: transparent !important;
}

/* ===== FOOTER LIST ITEMS (Consistent Spacing) ===== */
footer .list-unstyled li,
.footer-enhanced .list-unstyled li {
  margin-bottom: var(--footer-spacing-md);
  transition: all var(--footer-transition-base);
  padding-left: var(--footer-spacing-sm);
  margin-left: calc(var(--footer-spacing-sm) * -1);
  border-radius: 0.375rem;
}

/* List item hover */
footer .list-unstyled li:hover,
.footer-enhanced .list-unstyled li:hover {
  background: rgba(99, 102, 241, 0.08);
  padding-left: var(--footer-spacing-md);
  margin-left: calc(var(--footer-spacing-md) * -1);
}

/* ===== FOOTER DIVIDERS (Consistent Styling) ===== */
footer hr,
.footer-enhanced hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin: var(--footer-spacing-xl) 0;
  transition: border-color var(--footer-transition-base);
}

footer hr:hover,
.footer-enhanced hr:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

/* ===== FOOTER TEXT (Consistent Typography) ===== */
footer p,
footer .text-muted,
.footer-enhanced p,
.footer-enhanced .text-muted {
  transition: color var(--footer-transition-base);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

footer p:hover,
footer .text-muted:hover,
.footer-enhanced p:hover,
.footer-enhanced .text-muted:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* ===== FOOTER TEXT-WHITE-IMPORTANT (Override template-components.css) ===== */
/* This ensures text-white-important works consistently on all pages */
footer .text-white-important,
.footer-enhanced .text-white-important,
.footer-profile-text .text-white-important,
.footer-profile-text h3.text-white-important,
footer h3.text-white-important,
.footer-enhanced h3.text-white-important {
  color: #ffffff !important;
}

/* ===== FOOTER TEXT-MUTED OVERRIDE (Ensure white text in footer) ===== */
footer .text-muted,
.footer-enhanced .text-muted,
.footer-profile-text .text-muted,
.footer-profile-text p.text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* ===== FOOTER CHARACTER IMAGE (Consistent Interactions) ===== */
footer .footer-character,
.footer-enhanced .footer-character {
  transition: transform var(--footer-transition-slow);
  cursor: pointer;
}

footer .footer-character:hover,
.footer-enhanced .footer-character:hover {
  transform: scale(1.08) rotate(-5deg);
}

/* ===== FOOTER CONTAINER (Consistent Spacing) ===== */
footer .container-fluid,
.footer-enhanced .container-fluid {
  padding-left: var(--footer-spacing-xl);
  padding-right: var(--footer-spacing-xl);
}

@media (max-width: 768px) {
  footer .container-fluid,
  .footer-enhanced .container-fluid {
    padding-left: var(--footer-spacing-lg);
    padding-right: var(--footer-spacing-lg);
  }
}

/* ===== FOOTER ROWS & COLUMNS (Consistent Spacing) ===== */
footer .row,
.footer-enhanced .row {
  margin-bottom: var(--footer-spacing-xl);
}

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

footer [class*="col-"],
.footer-enhanced [class*="col-"] {
  margin-bottom: var(--footer-spacing-lg);
}

@media (min-width: 768px) {
  footer [class*="col-"]:last-child,
  .footer-enhanced [class*="col-"]:last-child {
    margin-bottom: 0;
  }
}

/* ===== FOOTER ANIMATIONS (Consistent Timing) ===== */
@keyframes footerFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

footer,
.footer-enhanced {
  animation: footerFadeIn var(--footer-transition-slower) var(--footer-ease-out) forwards;
}

/* ===== REDUCED MOTION SUPPORT ===== */
@media (prefers-reduced-motion: reduce) {
  footer,
  .footer-enhanced,
  footer *,
  .footer-enhanced * {
    animation: none !important;
    transition: none !important;
  }
  
  footer a:hover,
  .footer-enhanced a:hover,
  footer .btn:hover,
  .footer-enhanced .btn:hover,
  footer .social-btn:hover,
  .footer-enhanced .social-btn:hover {
    transform: none !important;
  }
}

/* ===== DARK MODE CONSISTENCY ===== */
[data-bs-theme="dark"] footer,
[data-bs-theme="dark"] .footer-enhanced {
  /* Dark mode styles inherit from base footer styles */
  /* Additional dark mode adjustments if needed */
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
footer a:focus-visible,
.footer-enhanced a:focus-visible,
footer .btn:focus-visible,
.footer-enhanced .btn:focus-visible,
footer .social-btn:focus-visible,
.footer-enhanced .social-btn:focus-visible {
  outline: var(--footer-focus-ring-width) solid var(--footer-focus-ring-color);
  outline-offset: var(--footer-focus-ring-offset);
}

/* ===== RESPONSIVE CONSISTENCY ===== */
@media (max-width: 768px) {
  footer,
  .footer-enhanced {
    padding: var(--footer-spacing-2xl) 0 var(--footer-spacing-xl);
  }
  
  footer .social-btn,
  .footer-enhanced .social-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }
  
  footer a:not(.btn):not(.social-btn),
  .footer-enhanced a:not(.btn):not(.social-btn) {
    padding: var(--footer-spacing-sm);
    margin: calc(var(--footer-spacing-sm) * -1);
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  footer,
  .footer-enhanced {
    background: #ffffff !important;
    color: #000000 !important;
    border-top: 2px solid #000000;
  }
  
  footer a,
  .footer-enhanced a {
    color: #000000 !important;
  }
  
  footer a:hover,
  .footer-enhanced a:hover {
    transform: none !important;
  }
}


/* ===== FORCE SOCIAL ICONS NAV TO BE VISIBLE ===== */
/* Ensure the nav element containing social icons is always visible */
.footer-enhanced .mb-4.d-flex.align-items-center.gap-4.flex-nowrap,
.footer-enhanced .mb-4.d-flex.align-items-center.gap-4.flex-nowrap nav[role="group"][aria-label="Social media links"],
.footer-enhanced nav[role="group"][aria-label="Social media links"],
.footer-enhanced .d-flex.gap-2.align-items-center[role="group"][aria-label="Social media links"] {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Force social buttons to be visible */
.footer-enhanced .mb-4.d-flex.align-items-center.gap-4.flex-nowrap .social-btn,
.footer-enhanced nav[role="group"][aria-label="Social media links"] .social-btn {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Force icon elements to be visible */
.footer-enhanced .social-btn i,
.footer-enhanced nav[role="group"][aria-label="Social media links"] .social-btn i {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 1.4rem !important;
  color: #ffffff !important;
}


/* =========================================== */
/* assets/css/footer/footer-columns-fix.css */
/* =========================================== */

/* =========================================== */
/* FOOTER COLUMNS VISIBILITY FIX */
/* Ensures Quick Links & Collections are always visible */
/* =========================================== */

/* Force Quick Links column to be visible - ALL SELECTORS */
footer .col-lg-4:nth-of-type(2),
footer .col-md-6:nth-of-type(2),
.footer-enhanced .col-lg-4:nth-of-type(2),
.footer-enhanced .col-md-6:nth-of-type(2),
.footer-enhanced .row .col-lg-4:nth-of-type(2),
.footer-enhanced .row .col-md-6:nth-of-type(2) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  left: 0 !important;
  right: auto !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  overflow: visible !important;
}

/* Force Collections column to be visible - ALL SELECTORS */
footer .col-lg-4:nth-of-type(3),
footer .col-md-6:nth-of-type(3),
.footer-enhanced .col-lg-4:nth-of-type(3),
.footer-enhanced .col-md-6:nth-of-type(3),
.footer-enhanced .row .col-lg-4:nth-of-type(3),
.footer-enhanced .row .col-md-6:nth-of-type(3) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  left: 0 !important;
  right: auto !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  overflow: visible !important;
}

/* Ensure Quick Links heading is visible on desktop and white */
.footer-enhanced .col-lg-4:nth-of-type(2) h4,
.footer-enhanced .col-lg-4:nth-of-type(2) .text-uppercase,
.footer-enhanced .accordion-button h4,
.footer-enhanced .accordion-button .text-uppercase {
  color: #ffffff !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Ensure Collections heading is visible on desktop and white */
.footer-enhanced .col-lg-4:nth-of-type(3) h4,
.footer-enhanced .col-lg-4:nth-of-type(3) .text-uppercase,
.footer-enhanced #collectionsAccordion .accordion-button h4,
.footer-enhanced #collectionsAccordion .accordion-button .text-uppercase {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #ffffff !important;
}

/* Ensure lists are visible */
.footer-enhanced .col-lg-4:nth-of-type(2) ul,
.footer-enhanced .col-lg-4:nth-of-type(3) ul {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Override Bootstrap responsive classes */
.footer-enhanced .col-lg-4:nth-of-type(2) .d-none.d-md-block,
.footer-enhanced .col-lg-4:nth-of-type(3) .d-none.d-md-block {
  display: block !important;
}

/* Mobile: Ensure accordions work */
@media (max-width: 767px) {
  .footer-enhanced .col-lg-4:nth-of-type(2),
  .footer-enhanced .col-lg-4:nth-of-type(3) {
    display: block !important;
    visibility: visible !important;
  }
  
  .footer-enhanced .col-lg-4:nth-of-type(2) .d-md-none,
  .footer-enhanced .col-lg-4:nth-of-type(3) .d-md-none {
    display: block !important;
  }
  
  .footer-enhanced .col-lg-4:nth-of-type(2) .d-none.d-md-block,
  .footer-enhanced .col-lg-4:nth-of-type(3) .d-none.d-md-block {
    display: none !important;
  }
}

/* Tablet and Desktop: Show desktop view */
@media (min-width: 768px) {
  .footer-enhanced .col-lg-4:nth-of-type(2),
  .footer-enhanced .col-lg-4:nth-of-type(3) {
    display: block !important;
    visibility: visible !important;
  }
  
  .footer-enhanced .col-lg-4:nth-of-type(2) .d-md-none,
  .footer-enhanced .col-lg-4:nth-of-type(3) .d-md-none {
    display: none !important;
  }
  
  .footer-enhanced .col-lg-4:nth-of-type(2) .d-none.d-md-block,
  .footer-enhanced .col-lg-4:nth-of-type(3) .d-none.d-md-block {
    display: block !important;
  }
}

/* =========================================== */
/* HIDE ALL READING TIME INDICATORS */
/* User requested removal - all reading time displays hidden */
/* =========================================== */

.reading-time,
.reading-time-badge,
.reading-time-inline,
.scroll-reading-time,
.reading-time-progress-label,
.section-reading-time,
.reading-time-summary,
.reading-time-tooltip,
.reading-time-tooltip-content,
[class*="reading-time"],
[class*="reading-time"] * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  pointer-events: none !important;
}



/* =========================================== */
/* assets/css/footer/footer-progressive-disclosure.css */
/* =========================================== */

/* ===========================================
   FOOTER PROGRESSIVE DISCLOSURE
   Lazy-load content as users scroll
   =================================== */

/* Footer sections start hidden, reveal on scroll */
/* Fallback: Show content if JavaScript hasn't run (no-js support) */
.footer-enhanced .row > [class*="col-"] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

/* Hide only if JavaScript is enabled and progressive disclosure is active */
.js-enabled .footer-enhanced .row > [class*="col-"]:not(.footer-revealed) {
  opacity: 0;
  transform: translateY(30px);
}

/* Staggered delays for columns */
.footer-enhanced .row > [class*="col-"]:nth-child(1) {
  transition-delay: 0.1s;
}

.footer-enhanced .row > [class*="col-"]:nth-child(2) {
  transition-delay: 0.2s;
}

.footer-enhanced .row > [class*="col-"]:nth-child(3) {
  transition-delay: 0.3s;
}

/* Revealed state */
.footer-enhanced .row > [class*="col-"].footer-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Footer bottom bar */
.footer-bottom-row {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s,
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
  will-change: opacity, transform;
}

.js-enabled .footer-bottom-row:not(.footer-revealed) {
  opacity: 0;
  transform: translateY(20px);
}

.footer-bottom-row.footer-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Profile image lazy loading */
.footer-character {
  opacity: 1;
  transition: opacity 0.8s ease-out;
  will-change: opacity;
}

.js-enabled .footer-character:not(.footer-loaded) {
  opacity: 0;
}

.footer-character.footer-loaded {
  opacity: 1;
}

/* Blur-up technique for images */
.footer-character::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(99, 102, 241, 0.1);
  filter: blur(20px);
  opacity: 1;
  transition: opacity 0.8s ease-out;
  z-index: -1;
}

.footer-character.footer-loaded::before {
  opacity: 0;
}

/* Progressive link reveal */
.footer-link {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.4s ease-out,
              transform 0.4s ease-out;
  transition-delay: calc(var(--link-index, 0) * 0.05s);
  will-change: opacity, transform;
}

.js-enabled .footer-link:not(.footer-revealed) {
  opacity: 0;
  transform: translateX(-10px);
}

.footer-link.footer-revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Social buttons progressive reveal */
.social-btn {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s ease-out,
              transform 0.4s ease-out;
  transition-delay: calc(var(--social-index, 0) * 0.1s);
  will-change: opacity, transform;
}

.js-enabled .social-btn:not(.footer-revealed) {
  opacity: 0;
  transform: scale(0.8);
}

.social-btn.footer-revealed {
  opacity: 1;
  transform: scale(1);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .footer-enhanced .row > [class*="col-"],
  .footer-bottom-row,
  .footer-character,
  .footer-link,
  .social-btn {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =========================================== */
/* HIDE ALL READING TIME INDICATORS */
/* User requested removal - all reading time displays hidden */
/* =========================================== */

.reading-time,
.reading-time-badge,
.reading-time-inline,
.scroll-reading-time,
.reading-time-progress-label,
.section-reading-time,
.reading-time-summary,
.reading-time-tooltip,
.reading-time-tooltip-content,
[class*="reading-time"],
[class*="reading-time"] * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  pointer-events: none !important;
}



/* =========================================== */
/* assets/css/footer/footer-micro-interactions.css */
/* =========================================== */

/* ===========================================
   FOOTER MICRO-INTERACTIONS
   Hover animations, magnetic buttons, icon rotations
   =================================== */

/* ===== MAGNETIC BUTTON EFFECT ===== */
.social-btn {
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease,
              background-color 0.3s ease;
  will-change: transform;
}

/* Magnetic effect on hover */
.social-btn:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4),
              0 0 0 2px rgba(99, 102, 241, 0.2);
}

.social-btn:active {
  transform: translateY(-2px) scale(1.05);
  transition: transform 0.1s ease;
}

/* Icon rotation on hover */
.social-btn i {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              color 0.3s ease;
  display: inline-block;
  will-change: transform;
}

.social-btn:hover i {
  transform: rotate(360deg) scale(1.2);
}

/* Platform-specific icon animations */
.social-btn[data-platform="LinkedIn"]:hover i {
  color: #0077b5;
  transform: rotate(360deg) scale(1.2);
}

.social-btn[data-platform="Twitter"]:hover i {
  color: #1da1f2;
  transform: rotate(360deg) scale(1.2);
}

.social-btn[data-platform="Instagram"]:hover i {
  color: #e4405f;
  transform: rotate(360deg) scale(1.2);
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.social-btn[data-platform="Dribbble"]:hover i {
  color: #ea4c89;
  transform: rotate(360deg) scale(1.2);
}

.social-btn[data-platform="Behance"]:hover i {
  color: #1769ff;
  transform: rotate(360deg) scale(1.2);
}

/* ===== LINK HOVER ANIMATIONS ===== */
.footer-link {
  position: relative;
  transition: color 0.3s ease,
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  will-change: transform, color;
}

/* Underline animation - draw from left to right */
.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: width;
}

.footer-link:hover {
  color: #ffffff !important;
  transform: translateX(4px);
}

.footer-link:hover::after {
  width: 100%;
}

/* Icon animations on link hover */
.footer-link i {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              color 0.3s ease;
  display: inline-block;
  will-change: transform;
}

.footer-link:hover i {
  transform: translateX(4px) scale(1.15);
  color: #a5b4fc;
}

/* ===== BADGE PULSE ANIMATION ===== */
.footer-badge-link {
  position: relative;
  overflow: visible !important;
  margin-left: 0 !important; /* Prevent left side cutoff */
  padding-left: 0.5rem !important; /* Add padding to prevent spinner cutoff */
}

.footer-badge-link::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: rgba(16, 185, 129, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease,
              transform 0.3s ease;
  z-index: -1;
  will-change: opacity, transform;
}

.footer-badge-link:hover::before {
  opacity: 1;
  transform: scale(1.1);
  animation: badgeRipple 1s ease-out infinite;
}

@keyframes badgeRipple {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* Spinner pulse on hover */
.footer-badge-link:hover .spinner-grow {
  animation: badgeSpinnerPulse 0.6s ease-in-out infinite;
}

@keyframes badgeSpinnerPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.8;
  }
}

/* ===== PROFILE IMAGE INTERACTIONS ===== */
.footer-character-container {
  position: relative;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
  overflow: visible;
  padding: 40px;
}

.footer-character-container:hover {
  transform: translateY(-8px) scale(1.05);
}

.footer-character-container:active {
  transform: translateY(-4px) scale(1.02);
}

/* Orb glow on hover */
.orb-test {
  transition: opacity 0.4s ease,
              transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: opacity, transform;
}

.footer-character-container:hover .orb-test {
  transform: scale(1.2);
}

/* ===== ACCORDION INTERACTIONS ===== */
.accordion-button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, color;
}

.accordion-button:not(.collapsed) {
  transform: translateY(-2px);
  color: #a5b4fc !important;
}

.accordion-button::after {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(180deg) scale(1.2);
}

/* Accordion body slide animation */
.accordion-collapse {
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: height;
}

.accordion-body {
  transition: opacity 0.3s ease 0.1s;
  will-change: opacity;
}

.accordion-collapse:not(.show) .accordion-body {
  opacity: 0;
}

.accordion-collapse.show .accordion-body {
  opacity: 1;
}

/* ===== BOTTOM LINKS INTERACTIONS ===== */
.footer-bottom-link {
  position: relative;
  transition: color 0.3s ease,
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, color;
}

.footer-bottom-link:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
}

.footer-bottom-link i {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
  will-change: transform;
}

.footer-bottom-link:hover i {
  transform: rotate(15deg) scale(1.2);
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
@media (prefers-reduced-motion: reduce) {
  .social-btn,
  .footer-link,
  .footer-badge-link,
  .footer-character-container,
  .accordion-button,
  .footer-bottom-link {
    transition: none !important;
    animation: none !important;
  }
  
  .social-btn:hover i,
  .footer-link:hover i,
  .footer-bottom-link:hover i {
    transform: none !important;
  }
}

/* =========================================== */
/* HIDE ALL READING TIME INDICATORS */
/* User requested removal - all reading time displays hidden */
/* =========================================== */

.reading-time,
.reading-time-badge,
.reading-time-inline,
.scroll-reading-time,
.reading-time-progress-label,
.section-reading-time,
.reading-time-summary,
.reading-time-tooltip,
.reading-time-tooltip-content,
[class*="reading-time"],
[class*="reading-time"] * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  pointer-events: none !important;
}



/* =========================================== */
/* assets/css/footer/footer-visual-hierarchy.css */
/* =========================================== */

/* ===========================================
   FOOTER VISUAL HIERARCHY
   Typography, color, depth, spacing improvements
   =================================== */

/* ===== TYPOGRAPHY SCALE REFINEMENT ===== */
.footer-enhanced {
  /* Base typography */
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

/* Headings hierarchy */
.footer-enhanced h3,
.footer-enhanced h4 {
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.footer-enhanced h3 {
  font-size: 1.25rem;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.footer-enhanced h4 {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Profile text */
.footer-profile-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 12px rgba(99, 102, 241, 0.4);
}

/* Ensure text-white-important class works in footer - Higher specificity to override template-components.css */
.footer-enhanced .text-white-important,
.footer-profile-text .text-white-important,
.footer-profile-text h3.text-white-important {
  color: #ffffff !important;
}

.footer-profile-text p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-weight: 400;
}

/* Ensure text-muted class works correctly in footer (override theme.css) */
.footer-enhanced .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.footer-profile-text .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Link typography */
.footer-link {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

.footer-link:hover {
  color: #ffffff;
  font-weight: 600;
}

/* Bottom bar typography */
.footer-bottom-row p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

/* Footer copyright text - Pure white (override .footer-enhanced .text-white-50) */
.footer-enhanced .footer-copyright p,
.footer-enhanced .footer-copyright .text-white-50,
.footer-enhanced .footer-copyright p.text-white-50,
.footer-enhanced .footer-bottom-row .footer-copyright p,
.footer-bottom-row .footer-copyright p.text-white-50 {
  color: #ffffff !important;
  font-weight: 400;
}

.footer-bottom-link {
  font-size: 0.8125rem;
  font-weight: 500;
}

/* ===== COLOR TEMPERATURE & CONTRAST ===== */
.footer-enhanced {
  /* Improved contrast ratios for accessibility */
  --footer-text-primary: rgba(255, 255, 255, 0.95);
  --footer-text-secondary: rgba(255, 255, 255, 0.7);
  --footer-text-muted: rgba(255, 255, 255, 0.6);
  --footer-accent: #6366f1;
  --footer-accent-light: #a5b4fc;
  --footer-accent-dark: #4f46e5;
}

/* Warmer tones on hover */
.footer-link:hover {
  color: var(--footer-text-primary);
  text-shadow: 0 0 8px rgba(165, 180, 252, 0.5);
}

/* Accent color transitions */
.footer-enhanced h4 {
  color: var(--footer-text-primary);
  transition: color 0.3s ease;
}

.footer-enhanced h4:hover {
  color: var(--footer-accent-light);
}

/* ===== DEPTH LAYERS (Z-INDEX STACKING) ===== */
.footer-enhanced {
  /* Base layer */
  z-index: 1;
  position: relative;
}

.footer-enhanced::before {
  /* Background overlay layer */
  z-index: 0;
}

.footer-enhanced .container-fluid {
  /* Content layer */
  position: relative;
  z-index: 1;
}

.footer-profile-header {
  /* Profile section layer */
  position: relative;
  z-index: 2;
}

.footer-character-container {
  /* Character image layer */
  position: relative;
  z-index: 3;
}

.footer-character {
  /* Character image */
  position: relative;
  z-index: 4;
}

.orb-test {
  /* Orb effect layer */
  position: absolute;
  z-index: 3;
}

.footer-link,
.social-btn {
  /* Interactive elements layer */
  position: relative;
  z-index: 2;
}

/* ===== SPACING OPTIMIZATION ===== */
.footer-enhanced {
  /* Improved padding */
  padding: 6rem 0 2rem;
}

@media (min-width: 992px) {
  .footer-enhanced {
    padding: 7rem 0 2.5rem;
  }
}

/* Column spacing */
.footer-enhanced .row > [class*="col-"] {
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-enhanced .row > [class*="col-"] {
    margin-bottom: 2rem;
  }

}

/* Profile section spacing */
.footer-profile-header {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}

.footer-profile-divider {
  margin: 2rem 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.1) 50%, 
    transparent 100%);
}

/* Link list spacing */
.footer-enhanced .list-unstyled li {
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .footer-enhanced .list-unstyled li {
    margin-bottom: 1.25rem;
  }
}

/* Badge and social container spacing */
.footer-enhanced .mb-4.d-flex.align-items-center {
  margin-bottom: 2rem;
  gap: 1.5rem;
}

/* Bottom bar spacing */
.footer-bottom-row {
  margin-top: 3rem;
  padding-top: 2rem;
}

.footer-hr-no-margin {
  margin: 2.5rem 0 0;
  opacity: 0.3;
}

/* ===== VISUAL WEIGHT DISTRIBUTION ===== */
/* Profile image larger, more prominent */
.footer-character-container {
  margin-bottom: 1.5rem;
}

.footer-character {
  width: 180px;
  height: auto;
  max-width: 100%;
  filter: drop-shadow(0 8px 24px rgba(99, 102, 241, 0.3));
}

@media (min-width: 768px) {
  .footer-character {
    width: 200px;
  }
}

/* Badge prominence */
.footer-badge-link {
  flex-shrink: 0;
}

/* Social buttons balanced */
.social-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== WHITE SPACE OPTIMIZATION ===== */
.footer-enhanced .container-fluid {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (min-width: 1200px) {
  .footer-enhanced .container-fluid {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/* Breathing room between sections */
.footer-enhanced .row {
  margin-bottom: 0;
  overflow: visible !important;
}

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

/* ===== CONTRAST IMPROVEMENTS ===== */
/* Ensure WCAG AAA compliance */
.footer-enhanced .text-white-50 {
  color: rgba(255, 255, 255, 0.75) !important; /* Improved from 0.5 */
}

.footer-enhanced .text-muted {
  color: rgba(255, 255, 255, 0.65) !important; /* Improved contrast */
}

/* Focus states for better visibility */
.footer-link:focus-visible,
.social-btn:focus-visible,
.footer-badge-link:focus-visible {
  outline: 3px solid rgba(99, 102, 241, 0.8);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== RESPONSIVE TYPOGRAPHY ===== */
@media (max-width: 575px) {
  .footer-profile-text h3 {
    font-size: 1.25rem;
  }
  
  .footer-profile-text p {
    font-size: 0.875rem;
  }
  
  .footer-enhanced h4 {
    font-size: 0.8125rem;
  }
  
  .footer-link {
    font-size: 0.875rem;
  }
}

/* =========================================== */
/* HIDE ALL READING TIME INDICATORS */
/* User requested removal - all reading time displays hidden */
/* =========================================== */

.reading-time,
.reading-time-badge,
.reading-time-inline,
.scroll-reading-time,
.reading-time-progress-label,
.section-reading-time,
.reading-time-summary,
.reading-time-tooltip,
.reading-time-tooltip-content,
[class*="reading-time"],
[class*="reading-time"] * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  pointer-events: none !important;
}



/* =========================================== */
/* assets/css/footer/footer-accessibility.css */
/* =========================================== */

/* ===========================================
   FOOTER ACCESSIBILITY ENHANCEMENTS
   Focus indicators, ARIA labels, keyboard navigation
   =================================== */

/* ===== ENHANCED FOCUS INDICATORS ===== */
.footer-link:focus-visible,
.social-btn:focus-visible,
.footer-badge-link:focus-visible,
.accordion-button:focus-visible,
.footer-bottom-link:focus-visible,
.footer-character-container:focus-visible {
  outline: 3px solid rgba(99, 102, 241, 0.9);
  outline-offset: 4px;
  border-radius: 6px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2),
              0 0 0 6px rgba(99, 102, 241, 0.3);
  transition: outline 0.2s ease,
              outline-offset 0.2s ease,
              box-shadow 0.2s ease;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .footer-link:focus-visible,
  .social-btn:focus-visible,
  .footer-badge-link:focus-visible,
  .accordion-button:focus-visible,
  .footer-bottom-link:focus-visible {
    outline: 4px solid #ffffff;
    outline-offset: 4px;
    box-shadow: 0 0 0 2px #000000;
  }
}

/* Focus within containers */
.footer-enhanced:focus-within {
  outline: none;
}

/* ===== KEYBOARD NAVIGATION IMPROVEMENTS ===== */
/* Ensure all interactive elements are keyboard accessible */
.footer-link,
.social-btn,
.footer-badge-link,
.accordion-button,
.footer-bottom-link {
  /* Make sure elements are focusable */
  -webkit-tap-highlight-color: transparent;
}

/* Skip link to footer */
.skip-link-footer {
  position: absolute;
  top: -100px;
  left: 0;
  background: #6366f1;
  color: #ffffff;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: 600;
  z-index: 10000;
  border-radius: 0 0 8px 0;
  transition: top 0.3s ease;
}

.skip-link-footer:focus {
  top: 0;
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

/* ===== ARIA LABEL ENHANCEMENTS ===== */
/* Ensure all interactive elements have proper labels */
.footer-link[aria-label]:empty::before {
  content: attr(aria-label);
}

/* Screen reader only text */
.sr-only-footer {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.sr-only-footer:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: #6366f1;
  color: #ffffff;
  border-radius: 4px;
}

/* ===== KEYBOARD SHORTCUTS ===== */
/* Visual indicator for keyboard shortcuts */
.footer-link[data-shortcut]::after {
  content: attr(data-shortcut);
  position: absolute;
  right: -2rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.3);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.footer-link[data-shortcut]:hover::after,
.footer-link[data-shortcut]:focus::after {
  opacity: 1;
}

/* ===== FOCUS TRAP FOR MODALS/ACCORDIONS ===== */
.accordion-collapse.show {
  /* Ensure focus stays within when open */
  contain: layout style paint;
}

.accordion-collapse.show:focus-within {
  outline: 2px solid rgba(99, 102, 241, 0.5);
  outline-offset: 4px;
  border-radius: 8px;
}

/* ===== REDUCED MOTION SUPPORT ===== */
@media (prefers-reduced-motion: reduce) {
  .footer-enhanced *,
  .footer-enhanced *::before,
  .footer-enhanced *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  /* Keep essential transitions for accessibility */
  .footer-link:focus-visible,
  .social-btn:focus-visible {
    transition: outline 0.2s ease !important;
  }
}

/* ===== COLOR CONTRAST ENFORCEMENT ===== */
/* Ensure all text meets WCAG AAA standards */
.footer-enhanced {
  /* Minimum contrast ratio 7:1 for normal text */
  /* Minimum contrast ratio 4.5:1 for large text */
}

.footer-enhanced .text-white-50 {
  /* Improved contrast */
  color: rgba(255, 255, 255, 0.8) !important;
}

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

/* ===== TOUCH TARGET SIZES ===== */
/* Minimum 44x44px for touch targets */
.footer-link,
.social-btn,
.footer-badge-link,
.accordion-button,
.footer-bottom-link {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

/* ===== LIVE REGION ANNOUNCEMENTS ===== */
.footer-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.footer-announcement[aria-live="polite"],
.footer-announcement[aria-live="assertive"] {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* ===== SEMANTIC HTML ENHANCEMENTS ===== */
/* Ensure proper heading hierarchy */
.footer-enhanced h3 {
  /* Main heading */
}

.footer-enhanced h4 {
  /* Section headings */
  font-size: 0.875rem;
}

/* Proper list semantics */
.footer-enhanced nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-enhanced nav li {
  display: block;
}

/* ===== LANDMARK REGIONS ===== */
footer[role="contentinfo"] {
  /* Main footer landmark */
}

footer nav[aria-label] {
  /* Navigation landmark */
}

/* ===== ERROR STATES ===== */
.footer-link[aria-invalid="true"] {
  border-left: 3px solid #ef4444;
  padding-left: 0.5rem;
}

.footer-link[aria-invalid="true"]:focus {
  outline-color: #ef4444;
}

/* ===== LOADING STATES ===== */
.footer-link[aria-busy="true"]::after {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: footerSpin 0.6s linear infinite;
  margin-left: 0.5rem;
  vertical-align: middle;
}

@keyframes footerSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== DISABLED STATES ===== */
.footer-link[aria-disabled="true"],
.social-btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.footer-link[aria-disabled="true"]:focus,
.social-btn[aria-disabled="true"]:focus {
  outline: 2px dashed rgba(255, 255, 255, 0.5);
}



/* =========================================== */
/* assets/css/footer/footer-mobile-features.css */
/* =========================================== */

/* ===========================================
   FOOTER MOBILE FEATURES
   Sticky footer, quick actions, haptic feedback
   =================================== */

/* ===== STICKY FOOTER ON MOBILE ===== */
@media (max-width: 768px) {
  footer.footer-enhanced {
    position: sticky;
    bottom: 0;
    z-index: 100;
    background: #0f172a;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  }
  
  /* Ensure footer doesn't cover content */
  body {
    padding-bottom: 0;
  }
  
  /* Collapsible footer on mobile */
  footer.footer-enhanced.footer-collapsed {
    max-height: 60px;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  footer.footer-enhanced.footer-expanded {
    max-height: 2000px;
    transition: max-height 0.5s ease;
  }
}

/* ===== QUICK ACTIONS FLOATING BUTTON ===== */
.footer-quick-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: none;
}

@media (max-width: 768px) {
  .footer-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
  }
  
  .footer-quick-action-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
    font-size: 1.5rem;
    will-change: transform;
  }
  
  .footer-quick-action-btn:active {
    transform: scale(0.9);
  }
  
  .footer-quick-action-btn:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.6);
  }
  
  /* Main action button */
  .footer-quick-action-main {
    width: 64px;
    height: 64px;
    font-size: 1.75rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
  }
  
  /* Secondary action buttons */
  .footer-quick-action-secondary {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(99, 102, 241, 0.3);
  }
  
  /* Animation for showing/hiding */
  .footer-quick-action-btn {
    opacity: 0;
    transform: scale(0) translateY(20px);
    animation: footerQuickActionShow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }
  
  .footer-quick-action-btn:nth-child(1) {
    animation-delay: 0.1s;
  }
  
  .footer-quick-action-btn:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .footer-quick-action-btn:nth-child(3) {
    animation-delay: 0.3s;
  }
  
  .footer-quick-action-btn:nth-child(4) {
    animation-delay: 0.4s;
  }
}

@keyframes footerQuickActionShow {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ===== TOUCH TARGET OPTIMIZATION ===== */
@media (max-width: 768px) {
  /* Ensure all interactive elements meet 44x44px minimum */
  .footer-link {
    min-height: 44px;
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
  }
  
  .social-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }
  
  .footer-badge-link {
    min-height: 44px;
    padding: 0.75rem 1.25rem;
  }
  
  .accordion-button {
    min-height: 48px;
    padding: 1rem 0;
  }
  
  .footer-bottom-link {
    min-height: 44px;
    padding: 0.5rem 0.75rem;
  }
}

/* ===== HAPTIC FEEDBACK VISUAL INDICATORS ===== */
/* Visual feedback for touch interactions */
@media (max-width: 768px) {
  .footer-link:active,
  .social-btn:active,
  .footer-badge-link:active,
  .accordion-button:active,
  .footer-bottom-link:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
  }
  
  /* Ripple effect on touch */
  .footer-link,
  .social-btn,
  .footer-badge-link {
    position: relative;
    overflow: hidden;
  }
  
  .footer-link::before,
  .social-btn::before,
  .footer-badge-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: inherit;
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.3s ease,
                transform 0.3s ease;
    pointer-events: none;
  }
  
  .footer-link:active::before,
  .social-btn:active::before,
  .footer-badge-link:active::before {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0s,
                transform 0s;
  }
}

/* ===== MOBILE-SPECIFIC LAYOUT ADJUSTMENTS ===== */
@media (max-width: 575px) {
  .footer-enhanced {
    padding: 3rem 1rem 2rem;
  }
  
  .footer-enhanced .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Stack badge and social vertically on very small screens */
  .footer-enhanced .mb-4.d-flex.align-items-center.gap-4 {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  /* Center align on mobile */
  .footer-enhanced .col-lg-4 {
    text-align: center;
  }
  
  .footer-profile-header {
    align-items: center;
  }
}

/* ===== SWIPE GESTURE INDICATORS ===== */
@media (max-width: 768px) {
  .footer-swipe-indicator {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  
  footer.footer-enhanced:hover .footer-swipe-indicator,
  footer.footer-enhanced:focus-within .footer-swipe-indicator {
    opacity: 1;
  }
}

/* ===== PULL TO REFRESH INDICATOR ===== */
@media (max-width: 768px) {
  .footer-pull-indicator {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(99, 102, 241, 0.3);
    border-top-color: #6366f1;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease,
                transform 0.3s ease;
    pointer-events: none;
  }
  
  .footer-pull-indicator.active {
    opacity: 1;
    animation: footerPullSpin 0.6s linear infinite;
  }
}

@keyframes footerPullSpin {
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

/* ===== LONG PRESS MENU ===== */
@media (max-width: 768px) {
  .footer-context-menu {
    position: fixed;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.2s ease,
                transform 0.2s ease;
    pointer-events: none;
  }
  
  .footer-context-menu.show {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
  }
  
  .footer-context-menu-item {
    padding: 0.75rem 1rem;
    color: #ffffff;
    text-decoration: none;
    display: block;
    border-radius: 8px;
    transition: background 0.2s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  
  .footer-context-menu-item:active {
    background: rgba(99, 102, 241, 0.3);
  }
}

/* ===== MOBILE FOOTER COLLAPSE/EXPAND ===== */
@media (max-width: 768px) {
  .footer-toggle-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.2);
    border: 2px solid rgba(99, 102, 241, 0.4);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
  }
  
  .footer-toggle-btn:hover {
    background: rgba(99, 102, 241, 0.4);
    transform: scale(1.1);
  }
  
  .footer-toggle-btn::before {
    content: '−';
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
  }
  
  footer.footer-enhanced.footer-collapsed .footer-toggle-btn::before {
    content: '+';
  }
}

/* =========================================== */
/* HIDE ALL READING TIME INDICATORS */
/* User requested removal - all reading time displays hidden */
/* =========================================== */

.reading-time,
.reading-time-badge,
.reading-time-inline,
.scroll-reading-time,
.reading-time-progress-label,
.section-reading-time,
.reading-time-summary,
.reading-time-tooltip,
.reading-time-tooltip-content,
[class*="reading-time"],
[class*="reading-time"] * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  pointer-events: none !important;
}



/* =========================================== */
/* assets/css/social-icons-unified.css */
/* =========================================== */

/* =========================================== */
/* UNIFIED SOCIAL ICONS - NAVBAR & FOOTER */
/* Consistent styling across all pages */
/* =========================================== */

/* ===== BASE SOCIAL BUTTON STYLES ===== */
.social-btn {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  text-decoration: none !important;
  position: relative !important;
  overflow: hidden !important;
  will-change: transform !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  color: #ffffff !important;
}

/* ===== SOCIAL ICON ICONS ===== */
.social-btn i {
  font-size: 1.4rem !important;
  color: #ffffff !important;
  line-height: 1 !important;
  display: block !important;
  position: relative !important;
  z-index: 2 !important;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  filter: brightness(0) invert(1) !important; /* Force pure white */
}

/* ===== HOVER STATES ===== */
.social-btn:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  transform: translateY(-6px) scale(1.15) !important;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.6), 0 4px 12px rgba(139, 92, 246, 0.4) !important;
  color: #ffffff !important;
}

.social-btn:hover i {
  color: #ffffff !important;
  transform: scale(1.2) rotate(-5deg) !important;
  filter: brightness(0) invert(1) !important; /* Force pure white on hover */
}

.social-btn:active {
  transform: translateY(-3px) scale(1.05) !important;
  transition: all 0.15s ease !important;
}

/* ===== ANIMATED BACKGROUND EFFECT ===== */
/* Apply to ALL social buttons - navbar and footer (identical behavior) */
.social-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.social-btn:hover::before {
  width: 120px;
  height: 120px;
}

/* ===== GRADIENT BORDER EFFECT ===== */
/* Apply to ALL social buttons - navbar and footer (no tooltips) */
.social-btn::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.5), rgba(139, 92, 246, 0.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.social-btn:hover::after {
  opacity: 1;
}

/* ===== INDIVIDUAL PLATFORM COLORS ON HOVER ===== */
/* LinkedIn */
.social-btn[aria-label="LinkedIn"]:hover,
.social-btn[data-platform="LinkedIn"]:hover {
  background: linear-gradient(135deg, rgba(0, 119, 181, 0.3), rgba(0, 119, 181, 0.2)) !important;
  border-color: rgba(0, 119, 181, 0.7) !important;
  box-shadow: 0 8px 24px rgba(0, 119, 181, 0.5), 0 4px 12px rgba(0, 119, 181, 0.3) !important;
}

/* Twitter */
.social-btn[aria-label="Twitter"]:hover,
.social-btn[data-platform="Twitter"]:hover {
  background: linear-gradient(135deg, rgba(29, 161, 242, 0.3), rgba(29, 161, 242, 0.2)) !important;
  border-color: rgba(29, 161, 242, 0.7) !important;
  box-shadow: 0 8px 24px rgba(29, 161, 242, 0.5), 0 4px 12px rgba(29, 161, 242, 0.3) !important;
}

/* Instagram */
.social-btn[aria-label="Instagram"]:hover,
.social-btn[data-platform="Instagram"]:hover {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.3), rgba(225, 48, 108, 0.2)) !important;
  border-color: rgba(225, 48, 108, 0.7) !important;
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.5), 0 4px 12px rgba(225, 48, 108, 0.3) !important;
}

/* Dribbble */
.social-btn[aria-label="Dribbble"]:hover,
.social-btn[data-platform="Dribbble"]:hover {
  background: linear-gradient(135deg, rgba(234, 76, 137, 0.3), rgba(234, 76, 137, 0.2)) !important;
  border-color: rgba(234, 76, 137, 0.7) !important;
  box-shadow: 0 8px 24px rgba(234, 76, 137, 0.5), 0 4px 12px rgba(234, 76, 137, 0.3) !important;
}

/* Behance */
.social-btn[aria-label="Behance"]:hover,
.social-btn[data-platform="Behance"]:hover {
  background: linear-gradient(135deg, rgba(0, 105, 255, 0.3), rgba(0, 105, 255, 0.2)) !important;
  border-color: rgba(0, 105, 255, 0.7) !important;
  box-shadow: 0 8px 24px rgba(0, 105, 255, 0.5), 0 4px 12px rgba(0, 105, 255, 0.3) !important;
}

/* ===== REMOVE TOOLTIPS - Make footer icons identical to navbar ===== */
/* Footer icons with data-platform should behave EXACTLY like navbar icons */
/* Override any tooltip styles and use same gradient border and animated background */
.footer-enhanced .social-btn[data-platform]::after,
.footer-enhanced .social-btn::after {
  /* Force gradient border - same as navbar, no tooltips */
  content: '' !important;
  position: absolute !important;
  inset: -2px !important;
  border-radius: 50% !important;
  padding: 2px !important;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.5), rgba(139, 92, 246, 0.5)) !important;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
  -webkit-mask-composite: xor !important;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
  mask-composite: exclude !important;
  opacity: 0 !important;
  transition: opacity 0.4s ease !important;
  z-index: 1 !important;
  /* Disable all tooltip properties */
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  color: transparent !important;
  font-size: 0 !important;
  font-weight: normal !important;
  white-space: normal !important;
  visibility: visible !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  box-shadow: none !important;
  border: none !important;
  pointer-events: none !important;
}

.footer-enhanced .social-btn[data-platform]:hover::after,
.footer-enhanced .social-btn:hover::after {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Use animated background for footer icons - same as navbar, no tooltip arrow */
.footer-enhanced .social-btn[data-platform]::before,
.footer-enhanced .social-btn::before {
  /* Force animated background - same as navbar, no tooltip arrow */
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 0 !important;
  height: 0 !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%) !important;
  transform: translate(-50%, -50%) !important;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), height 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
  z-index: 0 !important;
  /* Disable all tooltip arrow properties */
  bottom: auto !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
}

.footer-enhanced .social-btn[data-platform]:hover::before,
.footer-enhanced .social-btn:hover::before {
  width: 120px !important;
  height: 120px !important;
  transform: translate(-50%, -50%) !important;
}

/* ===== CONSISTENT STYLING FOR ALL SOCIAL BUTTONS ===== */
/* Navbar and footer icons are now identical - no differences */
/* All social buttons use the same base styles defined above */
.editorial-nav-overlay-menu .social-btn,
.navbar-quick-actions .social-btn,
.footer-enhanced .social-btn,
.social-btn {
  /* All use base styles - 48px, same background, same border, same effects */
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.editorial-nav-overlay-menu .social-btn i,
.navbar-quick-actions .social-btn i,
.footer-enhanced .social-btn i,
.social-btn i {
  font-size: 1.4rem !important;
  color: #ffffff !important;
  filter: brightness(0) invert(1) !important; /* Pure white */
}

/* ===== CONTAINER SPACING ===== */
[role="group"][aria-label="Social media links"] {
  display: flex !important;
  gap: 0.75rem !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .social-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
  }
  
  .social-btn i {
    font-size: 1.1rem !important;
  }
  
  [role="group"][aria-label="Social media links"] {
    gap: 0.5rem !important;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .social-btn,
  .social-btn::before,
  .social-btn::after,
  .social-btn i {
    transition: none !important;
    animation: none !important;
  }
  
  .social-btn:hover {
    transform: none !important;
  }
}

/* =========================================== */
/* HIDE ALL READING TIME INDICATORS */
/* User requested removal - all reading time displays hidden */
/* =========================================== */

.reading-time,
.reading-time-badge,
.reading-time-inline,
.scroll-reading-time,
.reading-time-progress-label,
.section-reading-time,
.reading-time-summary,
.reading-time-tooltip,
.reading-time-tooltip-content,
[class*="reading-time"],
[class*="reading-time"] * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  pointer-events: none !important;
}



