/* Layout & Utility */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.max-w-600 {
  max-width: 600px;
}

/* Custom E-commerce Hero Section */
/* Dynamic Hero Section Styling */
.hero-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  min-height: 380px;
}

.hero-img-container {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.hero-img-container img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.4));
  transition: transform 0.4s ease;
}

.carousel-item:hover .hero-img-container img {
  transform: scale(1.04);
}

.badge-hero {
  letter-spacing: 0.5px;
  font-size: 0.75rem;
}
/* E-Commerce Cards */
.ecommerce-card {
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.ecommerce-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
}

.card-img-wrapper {
  position: relative;
  height: 190px;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-img-wrapper img {
  max-height: 85%;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.ecommerce-card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

/* Truncate multi-line descriptions cleanly */
.card-desc-truncate {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5rem;
}

/* List group filter styling */
.list-group-item.active {
  background-color: #0d6efd !important;
  color: #fff !important;
  font-weight: 600;
}


/* Sticky Category Bar */
.sticky-category-bar {
  position: sticky;
  top: 72px; /* Adjust based on navbar height */
  z-index: 1020;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.95) !important;
}

/* Hide scrollbar for category pills while keeping scroll functionality */
.nav-pills.overflow-x-auto {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.nav-pills.overflow-x-auto::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Smooth Tab styling */
.nav-pills .nav-link {
  color: #495057;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 50rem;
  padding: 0.4rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-pills .nav-link:hover {
  background-color: #e9ecef;
}

.nav-pills .nav-link.active {
  background-color: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}

/* Quick View Action Buttons overlay */
.product-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}

.modal-img-container {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 1rem;
}

.modal-img-container img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.related-product-card {
  transition: transform 0.2s ease;
  cursor: pointer;
}

.related-product-card:hover {
  transform: translateY(-3px);
}


/* Featured Card Highlight */
.featured-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Promotional Banner Styling */
.promo-banner-card {
  min-height: 240px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.promo-banner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}

.promo-img-container {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-img-container img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
}

.promo-banner-card:hover .promo-img-container img {
  transform: scale(1.06);
}

/* Why Choose Us Section Styling */
.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.feature-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #f8f9fa;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
  background-color: #ffffff;
}

.feature-box:hover .icon-circle {
  transform: scale(1.1);
}

.fw-black {
  font-weight: 900;
}

/* Custom FAQ Accordion */
.accordion-custom .accordion-button {
  background-color: #ffffff;
  color: #212529;
  box-shadow: none;
}

.accordion-custom .accordion-button:not(.collapsed) {
  background-color: #ffffff;
  color: #0d6efd;
}

.accordion-custom .accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.125);
}

/* Footer Styles */
.hover-link {
  transition: color 0.2s ease;
}

.hover-link:hover {
  color: #0d6efd !important;
}

#newsletterForm .form-control::placeholder {
  color: #6c757d;
}


/* =========================================
   1. Global Base & Fonts
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

html {
  scroll-behavior: smooth; /* Makes anchor links slide smoothly */
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #f8f9fa;
  /* Adds a subtle fade-in every time a new page loads */
  animation: fadeIn 0.5s ease-in-out;
}

/* =========================================
   2. Custom Scrollbar
   ========================================= */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #b0b0b0;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #888888;
}

/* =========================================
   3. Card & Element Hover Effects (Premium)
   ========================================= */

/* --- Main Product Card Styling --- */
.ecommerce-card {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0,0,0,0.06);
  background: #ffffff;
  overflow: hidden; /* Keeps the zooming image inside the card */
  /* Entry animation when page loads */
  animation: cardEntry 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  opacity: 0; 
}

/* Card Hover State */
.ecommerce-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
  border-color: rgba(13, 110, 253, 0.3); /* Subtle blue glow on the border */
}

/* --- Image Zoom Effect --- */
.ecommerce-card .card-img-wrapper img {
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.ecommerce-card:hover .card-img-wrapper img {
  transform: scale(1.08); /* Gently zooms the image in */
}

/* --- Action Buttons Reveal (Wishlist / Quick View) --- */
.ecommerce-card .product-actions {
  opacity: 0;
  transform: translateX(15px); /* Starts slightly off to the right */
  transition: all 0.3s ease;
}

.ecommerce-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0); /* Slides in cleanly on hover */
}

/* Make individual action buttons bounce slightly on hover */
.ecommerce-card .product-actions .btn:hover {
  transform: scale(1.1);
  color: #0d6efd !important;
}

/* --- Add to Cart Button Pop --- */
.ecommerce-card .add-to-cart-btn {
  transition: all 0.3s ease;
}

.ecommerce-card .add-to-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* --- Card Entry Animation Keyframes --- */
@keyframes cardEntry {
  from { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* Applies to the 'Why Choose Us' and 'About' info cards */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

/* Smooth link colors in footer and menus */
.hover-link {
  transition: color 0.2s ease, opacity 0.2s ease;
}

.hover-link:hover {
  color: #0d6efd !important;
  opacity: 0.8;
}

/* =========================================
   4. Buttons & Interactions
   ========================================= */
.btn {
  transition: all 0.2s ease-in-out;
}

/* Makes buttons 'click' down when pressed */
.btn:active {
  transform: scale(0.95);
}

/* Icon circle utility for Contact/About pages */
.icon-circle {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* =========================================
   5. Keyframe Animations
   ========================================= */
/* Simple Fade In */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn 0.6s ease-in forwards;
}

/* Slide up effect for main content */
@keyframes slideUp {
  from { 
    opacity: 0; 
    transform: translateY(20px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

main {
  animation: slideUp 0.6s ease-out forwards;
}

/* Fun pop animation we can trigger via JS later if wanted */
@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.pop-animation {
  animation: pop 0.3s ease-out;
}


/* =========================================
   6. Hero Section Animations (Tech Theme)
   ========================================= */

/* Deep tech background with an Animated Digital Grid */
.hero-banner {
  position: relative;
  background-color: #0b132b; /* Deep premium blue/black */
  /* Creates a sleek, subtle grid pattern */
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  /* Animates the grid to look like moving data */
  animation: panGrid 15s linear infinite;
}

/* Animated Glowing Neon Orbs */
.hero-banner::before,
.hero-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none; /* Prevents them from blocking clicks */
}

/* Blue & Purple Dual Orb (Using box-shadow for a second orb) */
.hero-banner::before {
  width: 350px;
  height: 350px;
  background: rgba(13, 110, 253, 0.35); /* Bootstrap Primary Blue */
  box-shadow: 400px 200px 150px rgba(102, 16, 242, 0.25); /* Casts a purple glow across the screen */
  filter: blur(80px);
  top: -150px;
  left: -100px;
  animation: floatOrbs 15s infinite alternate ease-in-out;
}

/* Cyber Teal Orb on the Bottom Right */
.hero-banner::after {
  width: 250px;
  height: 250px;
  background: rgba(32, 201, 151, 0.25); /* Cyber Teal */
  filter: blur(70px);
  bottom: -100px;
  right: -50px;
  animation: floatOrbsReverse 18s infinite alternate ease-in-out;
}

/* --- Keyframes for Background Animations --- */

/* Slowly pans the grid diagonally */
@keyframes panGrid {
  0% { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}

/* Complex multi-point floating path for Blue/Purple */
@keyframes floatOrbs {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(150px, 100px) scale(1.2); }
  66% { transform: translate(300px, -50px) scale(0.9); }
  100% { transform: translate(100px, 150px) scale(1.4); }
}

/* Reverse floating path for the Teal orb */
@keyframes floatOrbsReverse {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-200px, -150px) scale(1.3); }
  100% { transform: translate(-50px, -250px) scale(1.1); }
}

/* Ensure Carousel Content sits ABOVE the glowing background */
#heroSlidesContainer {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* --- Slide Content Entry Animations --- */
.carousel-item.active h2,
.carousel-item.active h1 {
  animation: dropDown 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.carousel-item.active p {
  animation: slideUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.2s; 
  opacity: 0; 
}

.carousel-item.active .btn {
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

@keyframes dropDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Make the universal header container sticky */
#navbar-component {
  position: sticky;
  top: 0;
  z-index: 1030; /* Keeps it above other elements like modals and cards */
}

/* =========================================
   10. Shop Page Styling & Animations
   ========================================= */

/* --- Shop Header Banner --- */
.shop-header-banner {
  background: linear-gradient(135deg, var(--tv-dark) 0%, #1e293b 100%);
  position: relative;
  overflow: hidden;
  margin-top: -1px; /* Seamless connection to the navbar */
}

/* Animated Grid inside Shop Header */
.shop-header-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(6, 182, 212, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: panGrid 20s linear infinite;
  z-index: 0;
}

/* Floating Cyan Tech Orb */
.shop-header-banner::after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: rgba(6, 182, 212, 0.15); /* Accent Cyan */
  filter: blur(80px);
  border-radius: 50%;
  top: -150px;
  right: 5%;
  animation: pulseOrb 8s infinite alternate ease-in-out;
  z-index: 0;
}

@keyframes pulseOrb {
  0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
  100% { transform: scale(1.3) translate(-50px, 50px); opacity: 1; }
}

/* --- Sidebar Glassmorphism --- */
.shop-sidebar {
  background: var(--tv-glass) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--tv-glass-border) !important;
  border-radius: 1.5rem !important;
  box-shadow: 0 15px 35px rgba(0,0,0,0.03);
}

/* --- Premium Category Buttons --- */
/* Target the inputs generated by your JS */
#shopCategoryFilters .form-check {
  margin-bottom: 0;
  padding-left: 0; /* Remove default bootstrap padding */
}

#shopCategoryFilters .form-check-input {
  display: none; /* Hide the default radio circle completely */
}

/* Style the labels to look like clickable UI blocks */
#shopCategoryFilters .form-check-label {
  display: block;
  padding: 0.75rem 1.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.6);
  color: #64748b;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

/* Hover State for Unselected Items */
#shopCategoryFilters .form-check-label:hover {
  background: #ffffff;
  color: var(--tv-primary);
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateX(5px); /* Gentle nudge to the right */
}

/* Active/Checked State */
#shopCategoryFilters .form-check-input:checked + .form-check-label {
  background: var(--tv-primary);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
  transform: translateX(5px);
}

/* =========================================
   About Page Custom Styling & Animations
   ========================================= */

/* --- 1. Hero Section Styling --- */
section.bg-dark {
  background-color: #0b132b !important;
  position: relative;
  overflow: hidden;
}

/* Subtle Animated Background Grid */
section.bg-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: panGrid 15s linear infinite;
  z-index: 0;
}

/* Glowing Neon Background Orb */
section.bg-dark::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(13, 110, 253, 0.3);
  filter: blur(80px);
  border-radius: 50%;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  animation: pulseOrb 8s infinite alternate ease-in-out;
  z-index: 0;
}

section.bg-dark .container {
  position: relative;
  z-index: 1;
}

/* --- 2. Interactive Image Hover & Float --- */
.col-lg-6 img, .col-lg-5 img {
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.5s ease;
}

.col-lg-6 img:hover, .col-lg-5 img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

/* --- 3. Glassmorphism & Card Upgrades --- */
.bg-primary-subtle {
  background-color: #eff6ff !important;
}

.bg-primary-subtle .bg-white {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.bg-primary-subtle .bg-white:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.08) !important;
}

/* --- 4. Core Values Cards --- */
.hover-lift {
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
}

.hover-lift:hover {
  transform: translateY(-8px);
  background-color: #ffffff !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06) !important;
}

.hover-lift:hover .icon-circle {
  transform: scale(1.1) rotate(5deg);
}

.icon-circle {
  transition: transform 0.3s ease;
}

/* --- 5. Keyframe Animations --- */
@keyframes panGrid {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

@keyframes pulseOrb {
  0% { transform: translateX(-50%) scale(1); opacity: 0.5; }
  100% { transform: translateX(-50%) scale(1.3); opacity: 0.9; }
}


/* =========================================
   12. Legal Pages Styling (Terms, Privacy, Refund)
   ========================================= */

/* --- Legal Page Header Banner --- */
body > .bg-dark.text-white.py-5 {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  position: relative;
  overflow: hidden;
  margin-top: -1px;
}

/* Moving Grid Effect in Header */
body > .bg-dark.text-white.py-5::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: panGrid 20s linear infinite;
  z-index: 0;
}

/* Soft Radial Glow behind Heading */
body > .bg-dark.text-white.py-5::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(37, 99, 235, 0.2); /* Royal Blue */
  filter: blur(80px);
  border-radius: 50%;
  top: -100px;
  right: 10%;
  pointer-events: none;
}

body > .bg-dark.text-white.py-5 .container {
  position: relative;
  z-index: 1;
}

/* --- Legal Document Container --- */
main.container .card {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05) !important;
  border-radius: 1.5rem !important;
}

/* --- Section Titles & Paragraph Styling --- */
main.container h4.fw-bold {
  color: #0f172a !important;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f1f5f9;
  margin-top: 1.5rem;
}

main.container p.text-muted, 
main.container ul.text-muted {
  color: #475569 !important;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Highlight bullet point key labels */
main.container ul li strong {
  color: #1e293b;
}

/* Custom styling for list bullets */
main.container ul {
  padding-left: 1.25rem;
}

main.container ul li {
  margin-bottom: 0.5rem;
}

/* Highlight box for Last Updated date */
main.container .card > p.text-muted.mb-5 {
  background-color: #f8fafc;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  border-left: 4px solid var(--tv-primary);
  margin-bottom: 2rem !important;
}

/* =========================================
   13. Ultra-Premium SaaS Polish & Micro-Interactions
   ========================================= */

/* --- Animated Gradient Text Glow --- */
.hero-banner h1, 
.display-4.text-white,
.text-gradient-animated {
  background: linear-gradient(
    90deg, 
    #ffffff 0%, 
    #93c5fd 25%, 
    #3b82f6 50%, 
    #93c5fd 75%, 
    #ffffff 100%
  );
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shineText 6s linear infinite;
}

@keyframes shineText {
  to { background-position: 200% center; }
}

/* --- Floating Pill Badges --- */
.badge.bg-primary-subtle,
.badge-hero {
  animation: badgeFloat 4s ease-in-out infinite alternate;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
  backdrop-filter: blur(8px);
}

@keyframes badgeFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

/* --- Animated Border Glow on Cards --- */
.ecommerce-card::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(45deg, #2563eb, #06b6d4, #3b82f6, #06b6d4);
  background-size: 400% 400%;
  z-index: -1;
  border-radius: 1.1rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.ecommerce-card:hover::before {
  opacity: 1;
  animation: glowingBorder 8s ease infinite;
}

@keyframes glowingBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Custom Image Spotlight Reflection --- */
.card-img-wrapper::after {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.ecommerce-card:hover .card-img-wrapper::after {
  opacity: 1;
}

/* --- Interactive Icon Pulse --- */
.icon-circle i {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-lift:hover .icon-circle i,
.feature-box:hover .icon-circle i {
  transform: scale(1.25);
}

/* --- Custom Active Link Indicators --- */
.navbar-nav .nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--tv-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

/* =========================================
   14. Contact & Subscription Page Enhancements
   ========================================= */

/* --- Animated Contact Header Banner --- */
.contact-header-banner {
  background: linear-gradient(135deg, #0b132b 0%, #1e293b 100%);
  position: relative;
  overflow: hidden;
  margin-top: -1px;
}

.contact-header-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: panGrid 20s linear infinite;
  z-index: 0;
}

.contact-header-banner::after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: rgba(37, 99, 235, 0.25);
  filter: blur(80px);
  border-radius: 50%;
  top: -100px;
  left: 20%;
  animation: pulseOrb 8s infinite alternate ease-in-out;
  z-index: 0;
}

/* --- Glassmorphic Containers --- */
.glass-card {
  background: var(--tv-glass) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--tv-glass-border) !important;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.04) !important;
}

/* --- Form Input Enhancements --- */
.form-control-lg {
  border-radius: 50rem !important;
  padding: 0.8rem 1.5rem !important;
  font-size: 1rem !important;
}

/* Form Submit Button Shine Trigger */
#contactForm .btn-primary,
#subscribeForm .btn-primary {
  position: relative;
  overflow: hidden;
}

/* Subtle Icon Pulse inside Sub/Unsub pages */
.icon-circle i {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glass-card:hover .icon-circle i {
  transform: scale(1.2) rotate(-5deg);
}