/* CSS Custom Properties for Theme System */
:root {
  /* Light Theme Colors */
  --primary-gradient: #000000;
;
  --primary-color: #000000;
;
  --primary-dark: #000000;
;
  --secondary-color:#000000;
  --accent-color: #22c55e;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;

  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-quaternary: #e2e8f0;

  /* Text Colors */
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  /* Border Colors */
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;

  /* Shadow Colors */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);

  /* Card backgrounds */
  --card-bg: #ffffff;
  --navbar-bg: #ffffff;
  --hero-overlay: rgba(0, 0, 0, 0.6);
}

/* Dark Theme Colors */
[data-theme="dark"] {
  --primary-gradient: #000000;
  --primary-color: #000000;
  --primary-dark: #3730a3;
  --secondary-color:#000000;
  --accent-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;

  /* Background Colors */
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --bg-quaternary: #475569;

  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #e2e8f0;
  --text-muted: #94a3b8;
  --text-inverse: #0f172a;

  /* Border Colors */
  --border-color: #334155;
  --border-light: #475569;

  /* Shadow Colors */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.3);

  /* Card backgrounds */
  --card-bg: #1e293b;
  --navbar-bg: #1e293b;
  --hero-overlay: rgba(0, 0, 0, 0.6);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* AdSense Ad Container Styles */
.adsense-container {
  margin: 20px auto;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
}

.adsense-container ins {
  display: inline-block;
  width: 100%;
  max-width: 100%;
}

/* Responsive Ad Units */
.ad-responsive {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  min-height: 90px;
}

/* Header Ad Styles */
.header-ad-top,
.header-ad-bottom {
  background: var(--bg-secondary);
  padding: 10px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

/* In-Article Ad Styles */
.in-article-ad {
  margin: 30px 0;
  padding: 20px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

/* Sidebar Ad Styles */
.sidebar-ad {
  margin-bottom: 30px;
  background: var(--bg-primary);
  border-radius: 12px;
  padding: 15px;
  box-shadow: var(--shadow-sm);
}

.post-sidebar .sidebar-ad:first-child {
  position: sticky;
  top: 100px;
}

/* Ad Label */
.ad-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .adsense-container {
    margin: 15px auto;
  }

  .in-article-ad {
    margin: 20px 0;
    padding: 15px 0;
  }

  .sidebar-ad {
    position: static;
    margin: 20px 0;
  }
}

.bg-primary {
  background: #000000 !important;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* Theme Toggle Styles */
.theme-toggle button {
  background: transparent !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.theme-toggle button:hover {
  background: var(--bg-secondary) !important;
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
}

/* Hero Sections - Fixed Color Contrast */
.hero {
  background: var(--primary-gradient) !important;
  color: var(--text-inverse) !important;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero h1,
.hero h2,
.hero h3,
.hero h4,
.hero h5,
.hero h6 {
  color: var(--text-inverse) !important;
}

.hero p,
.hero .lead {
  color: rgba(255, 255, 255, 0.9) !important;
}

.hero .btn-primary {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  color: var(--text-inverse) !important;
  backdrop-filter: blur(10px);
}

.hero .btn-primary:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  transform: translateY(-2px);
}

.hero .badge {
  background: rgba(255, 255, 255, 0.15) !important;
  color: var(--text-inverse) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Page-specific hero sections */
.page-header,
.download-hero-section,
.pack-intro-section {
  background: var(--primary-gradient) !important;
  color: var(--text-inverse) !important;
}

.page-header h1,
.download-hero-section h1,
.pack-intro-section h1 {
  color: var(--text-inverse) !important;
}

/* Cards and Components */
.card,
.pack-card,
.wallpaper-card,
.category-card,
.info-card,
.content-card,
.tech-feature,
.download-card {
  background: var(--card-bg) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
  box-shadow: var(--shadow-md) !important;
  transition: all 0.3s ease;
}

.card:hover,
.pack-card:hover,
.wallpaper-card:hover,
.category-card:hover,
.info-card:hover,
.content-card:hover,
.tech-feature:hover {
  box-shadow: var(--shadow-lg) !important;
  border-color: var(--primary-color) !important;
}

/* Navbar */
.navbar {
  background: var(--navbar-bg) !important;
  border-bottom: 1px solid var(--border-color) !important;
}

.navbar-brand {
  color: var(--text-primary) !important;
}

.nav-link {
  color: var(--text-secondary) !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}

.dropdown-menu {
  background: var(--card-bg) !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: var(--shadow-lg) !important;
}

.dropdown-item {
  color: var(--text-secondary) !important;
}

.dropdown-item:hover {
  background: var(--bg-secondary) !important;
  color: var(--primary-color) !important;
}

/* Form Controls */
.form-control {
  background: var(--bg-secondary) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
}

.form-control:focus {
  background: var(--card-bg) !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(103, 126, 234, 0.25) !important;
  color: var(--text-primary) !important;
}

.form-control::placeholder {
  color: var(--text-muted) !important;
}

/* Buttons */
.btn-primary {
  background: var(--primary-gradient) !important;
  border: none !important;
  color: var(--text-inverse) !important;
}

.btn-primary:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-tertiary) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-secondary) !important;
}

.btn-secondary:hover {
  background: var(--bg-quaternary) !important;
  color: var(--text-primary) !important;
}

.btn-outline-primary {
  border: 1px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  background: transparent !important;
}

.btn-outline-primary:hover {
  background: var(--primary-color) !important;
  color: var(--text-inverse) !important;
}

.btn-outline-secondary {
  border: 1px solid var(--border-color) !important;
  color: var(--text-secondary) !important;
  background: transparent !important;
}

.btn-outline-secondary:hover {
  background: var(--bg-secondary) !important;
  color: var(--text-primary) !important;
}

/* Badges */
.badge {
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color) !important;
}

.badge {
  background: #000000;
  color: var(--text-inverse) !important;
}

.badge.bg-success {
  background: var(--accent-color) !important;
  color: var(--text-inverse) !important;
}

.badge.bg-warning {
  background: var(--warning-color) !important;
  color: var(--text-inverse) !important;
}

.badge.bg-info {
  background: var(--secondary-color) !important;
  color: var(--text-inverse) !important;
}

/* Background Sections */
.bg-light {
  background: var(--bg-secondary) !important;
}

.bg-dark {
  background: var(--bg-tertiary) !important;
}

/* Text Colors */
.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--text-secondary) !important;
}

.text-muted {
  color: #64748b !important;
}

.text-success {
  color: var(--accent-color) !important;
}

.text-warning {
  color: var(--warning-color) !important;
}

.text-danger {
  color: var(--danger-color) !important;
}

/* Borders */
.border {
  border-color: var(--border-color) !important;
}

.border-top {
  border-top-color: var(--border-color) !important;
}

.border-bottom {
  border-bottom-color: var(--border-color) !important;
}

.border-left {
  border-left-color: var(--border-color) !important;
}

.border-right {
  border-right-color: var(--border-color) !important;
}

/* Additional Theme Improvements */
.bg-white {
  background: var(--card-bg) !important;
}

.text-white {
  color: var(--text-inverse) !important;
}

.text-dark {
  color: var(--text-primary) !important;
}

/* Modal and Overlay Components */
.modal-content {
  background: var(--card-bg) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
}

.modal-header {
  border-bottom: 1px solid var(--border-color) !important;
}

.modal-footer {
  border-top: 1px solid var(--border-color) !important;
}

/* Table Styles */
.table {
  color: var(--text-primary) !important;
}

.table td,
.table th {
  border-color: var(--border-color) !important;
}

.table-striped > tbody > tr:nth-of-type(odd) > td,
.table-striped > tbody > tr:nth-of-type(odd) > th {
  background: var(--bg-secondary) !important;
}

/* Progress Bars */
.progress {
  background: var(--bg-tertiary) !important;
}

.progress-bar {
  background: var(--primary-gradient) !important;
}

/* Alert Components */
.alert {
  border-color: var(--border-color) !important;
}

/* Mobile-First Optimizations for Threads Traffic */
@media (max-width: 768px) {
  /* Compact Hero for Mobile */
  .mobile-compact-hero {
    min-height: auto !important;
    padding: 1.5rem 0 !important;
  }

  .mobile-compact-hero h1 {
    font-size: 1.75rem !important;
    margin-bottom: 0.5rem !important;
  }

  .mobile-compact-hero .lead {
    font-size: 0.95rem !important;
    margin-bottom: 1rem !important;
  }

  /* Wallpaper Cards - 2 Column Grid on Mobile */
  .trending-section .card {
    border-radius: 8px;
  }

  .trending-section .card-title {
    font-size: 0.9rem !important;
    line-height: 1.3;
  }

  .trending-section .card-footer .btn {
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
  }

  /* Fast Loading Images - Mobile Optimization */
  .pack-preview img,
  .pack-preview video {
    min-height: 180px;
    background: #f0f0f0;
    content-visibility: auto;
  }

  /* Improve scroll performance */
  .card {
    contain: layout style paint;
  }

  /* Optimize image rendering */
  img {
    image-rendering: -webkit-optimize-contrast;
  }

  /* AGGRESSIVE Mobile Spacing Optimization - Minimum Scrolling */
  section.py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  section.py-4 {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }

  section.py-3 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }

  section.py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }

  /* Compact Download Page Hero */
  .download-hero-section {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }

  .download-hero-section h1,
  .download-hero-section h2 {
    font-size: 1.25rem !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.3 !important;
  }

  .download-hero-section .lead,
  .download-hero-section p {
    font-size: 0.85rem !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.4 !important;
  }

  .download-hero-section .badge {
    font-size: 0.7rem !important;
    padding: 0.2rem 0.4rem !important;
  }

  /* Compact Download Container */
  #download-container {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }

  .wallpaper-preview-container {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }

  /* Compact all sections - Download & Pack pages */
  .download-info-section,
  .faq-section,
  .buying-guide-section,
  .tech-specs-section {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  /* Compact section headers */
  .download-info-section h2,
  .faq-section h2,
  .buying-guide-section h2,
  .tech-specs-section h2 {
    font-size: 1.25rem !important;
    margin-bottom: 1rem !important;
  }

  .download-info-section h3,
  .faq-section h3,
  .buying-guide-section h3 {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
  }

  /* Reduce all margins aggressively */
  .mb-5 {
    margin-bottom: 1rem !important;
  }

  .mb-4 {
    margin-bottom: 0.75rem !important;
  }

  .mb-3 {
    margin-bottom: 0.5rem !important;
  }

  .mb-2 {
    margin-bottom: 0.35rem !important;
  }

  /* Compact row gaps */
  .row.g-4 {
    gap: 0.75rem !important;
  }

  .row.g-3 {
    gap: 0.5rem !important;
  }

  /* Compact card spacing */
  .card {
    margin-bottom: 0.75rem !important;
  }

  .card-body {
    padding: 0.75rem !important;
  }

  /* Compact info cards */
  .info-card,
  .guide-card,
  .faq-item {
    padding: 0.75rem !important;
    margin-bottom: 0.75rem !important;
  }

  /* Line height optimization */
  p {
    line-height: 1.4 !important;
  }

  h1, h2, h3, h4, h5, h6 {
    line-height: 1.3 !important;
  }

  /* Hide Non-Essential Content on Mobile */
  .features-section,
  .more-packs-section {
    display: none !important;
  }
}

/* Tablet Optimization */
@media (min-width: 769px) and (max-width: 1024px) {
  .mobile-compact-hero {
    padding: 2rem 0 !important;
  }
}

.alert-primary {
  background: rgba(103, 126, 234, 0.1) !important;
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
}

.alert-secondary {
  background: var(--bg-secondary) !important;
  color: var(--text-secondary) !important;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1) !important;
  border-color: var(--accent-color) !important;
  color: var(--accent-color) !important;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1) !important;
  border-color: var(--warning-color) !important;
  color: var(--warning-color) !important;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1) !important;
  border-color: var(--danger-color) !important;
  color: var(--danger-color) !important;
}

/* List Group */
.list-group-item {
  background: var(--card-bg) !important;
  border-color: var(--border-color) !important;
  color: var(--text-primary) !important;
}

.list-group-item:hover {
  background: var(--bg-secondary) !important;
}

.list-group-item.active {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--text-inverse) !important;
}

/* Breadcrumb */
.breadcrumb {
  background: var(--bg-secondary) !important;
}

.breadcrumb-item a {
  color: var(--primary-color) !important;
}

.breadcrumb-item.active {
  color: var(--text-secondary) !important;
}

/* Pagination */
.page-link {
  background: var(--card-bg) !important;
  border-color: var(--border-color) !important;
  color: var(--text-primary) !important;
}

.page-link:hover {
  background: var(--bg-secondary) !important;
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
}

.page-item.active .page-link {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--text-inverse) !important;
}

.page-item.disabled .page-link {
  background: var(--bg-tertiary) !important;
  border-color: var(--border-color) !important;
  color: var(--text-muted) !important;
}

/* Navbar Toggle */
.navbar-toggler {
  border-color: var(--border-color) !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{to-rgb(var(--text-primary))}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-quaternary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Focus States */
.btn:focus,
.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(103, 126, 234, 0.25) !important;
}

/* Selection */
::selection {
  background: rgba(103, 126, 234, 0.3);
  color: var(--text-primary);
}

/* Theme Transition Animation */
* {
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease !important;
}

/* Ensure proper contrast for all text elements */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-primary) !important;
}



/* Footer styling */
footer {
  background: var(--bg-secondary) !important;
  border-top: 1px solid var(--border-color) !important;
  color: var(--text-secondary) !important;
}

footer a {
  color: var(--text-secondary) !important;
}

footer a:hover {
  color: var(--primary-color) !important;
}

/* Pack Cards Styles */


.pack-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.pack-header h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.pack-header h3 a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
}

.pack-header h3 a:hover {
  color: var(--primary-color);
}

.pack-header p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.pack-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.pack-count {
  background: #f1f5f9;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #475569;
  font-weight: 500;
}

.tag {
  background: #e0e7ff;
  color: #000000;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.pack-preview {
  background: #f0f0f0;

  padding: 20px 20px;
  margin: 0 15px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pack-preview img,
.pack-preview video {
  min-height: 150px;
  max-height: 270px;
  border-radius: 10px;
}
.preview-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.pack-preview:hover .preview-thumb {
  opacity: 0.8;
}

.pack-link {
  display: block;
  background: #000000;
  color: white;
  text-align: center;
  padding: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pack-link:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
  color: white;
}


/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.btn-primary {
  background: #000000;
  color: white;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3730a3 0%, #6d28d9 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
  color: white;
}

.btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
}

.btn-secondary:hover {
  background: #e5e7eb;
  color: #111827;
}

.btn-outline {
  background: transparent;
  color: #000000;
  border: 2px solid #000000;
}

.btn-outline:hover {
  background: #000000;
  color: white;
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Custom navbar brand styling */
.navbar-brand .text-primary {
  background: #000000;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Let Bootstrap handle all other navbar styles */

/* Bootstrap dropdown styles will handle this */

.navbar-search {
  display: flex;
  align-items: center;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  padding: 8px 40px 8px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
  width: 250px;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: #000000;
  background: white;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-btn {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.search-btn:hover {
  color: #000000;
  background: #f3f4f6;
}

/* Bootstrap navbar-toggler handles mobile navigation */

/* Main Content */
.main-content {
  margin-top: 58px;
  min-height: calc(100vh - 58px);
}

.hero {
  background: #000000;
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-search {
  max-width: 500px;
  margin: 0 auto;
}

.search-box-large {
  position: relative;
  display: flex;
  align-items: center;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.search-input-large {
  flex: 1;
  padding: 16px 20px;
  border: none;
  font-size: 16px;
  color: #333;
}

.search-input-large:focus {
  outline: none;
}

.search-btn-large {
  padding: 16px 20px;
  background: #000000;
  border: none;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn-large:hover {
  background: linear-gradient(135deg, #3730a3 0%, #6d28d9 100%);
}

/* Sections */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: #000000;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

.section-cta {
  text-align: center;
  margin-top: 60px;
}

/* Wallpaper Grid */
.wallpaper-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

/* Video Wallpaper Support */
.wallpaper-video-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.wallpaper-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.video-play-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  padding: 12px;
  color: white;
  opacity: 0.8;
  transition: all 0.3s ease;
  pointer-events: none;
}

.wallpaper-card:hover .video-play-indicator {
  opacity: 1;
  background: rgba(79, 70, 229, 0.8);
}

.live-badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.wallpaper-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #6b7280;
}

.wallpaper-type {
  display: flex;
  align-items: center;
  gap: 4px;
}

.wallpaper-size {
  color: #9ca3af;
}

.wallpaper-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.wallpaper-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.wallpaper-image-container {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.wallpaper-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.wallpaper-card:hover .wallpaper-image {
  transform: scale(1.05);
}

.wallpaper-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(79, 70, 229, 0.8) 0%,
    rgba(124, 58, 237, 0.8) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.wallpaper-card:hover .wallpaper-overlay {
  opacity: 1;
}

.wallpaper-actions {
  display: flex;
  gap: 12px;
}

.wallpaper-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trending-badge {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

.featured-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

.wallpaper-info {
  padding: 20px;
}

.wallpaper-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111827;
}

.wallpaper-category {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 12px;
  text-transform: capitalize;
}

.wallpaper-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  background: #f3f4f6;
  color: #6b7280;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

/* Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.category-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.category-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.category-card:hover .category-image {
  transform: scale(1.1);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 30px;
  transition: all 0.3s ease;
}

.category-card:hover .category-overlay {
  background: linear-gradient(
    135deg,
    rgba(79, 70, 229, 0.6) 0%,
    rgba(124, 58, 237, 0.8) 100%
  );
}

.category-info {
  color: white;
}

.category-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #fff !important;
  
}

.category-count {
  font-size: 14px;
  opacity: 0.9;
  color: #fff !important;
}

.category-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.blog-image-container {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.blog-card:hover .blog-image {
  transform: scale(1.05);
}

.blog-content {
  padding: 24px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #6b7280;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.blog-title a {
  color: #111827;
}

.blog-title a:hover {
  color: #000000;
}

.blog-excerpt {
  color: #6b7280;
  margin-bottom: 16px;
  line-height: 1.6;
}

.blog-read-more {
  color: #000000;
  font-weight: 500;
  font-size: 14px;
}

.blog-read-more:hover {
  color: #3730a3;
}

/* Wallpaper Details Page */
.wallpaper-details-page {
  padding-top: 0;
}

/* Video Wallpaper Large Preview */
.wallpaper-video-large {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  max-height: 70vh;
  object-fit: contain;
}

.video-controls-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.video-play-pause-btn {
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  padding: 16px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-play-pause-btn:hover {
  background: rgba(79, 70, 229, 0.8);
  transform: scale(1.1);
}

/* Download and Thank You Page Video Styles */
.download-video,
.thank-you-video {
  width: 100%;
  height: auto;
  border-radius: 16px;
  max-height: 400px;
  object-fit: cover;
}

.wallpaper-hero {
  padding: 40px 0;
  background: #f9fafb;
}

.wallpaper-preview {
  text-align: center;
}

.wallpaper-image-large-container {
  position: relative;
  display: inline-block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  width: 100%;
}

.wallpaper-image-large {
  width: 100%;
  height: auto;
  display: block;
}

.wallpaper-actions-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
}

.wallpaper-info-section {
  padding: 60px 0;
}

.wallpaper-details-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.wallpaper-title-large {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111827;
}

.wallpaper-description-large {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.wallpaper-meta {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.meta-item {
  text-align: center;
}

.meta-label {
  display: block;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 4px;
}

.meta-value {
  font-weight: 600;
  color: #111827;
}

.wallpaper-tags-large {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.wallpaper-tags-large .tag {
  background: #eef2ff;
  color: #000000;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
}

.wallpaper-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Download Page */
.download-hero {
  padding: 60px 0;
  background: #f9fafb;
}

.download-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.download-image-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.download-image {
  width: 100%;
  height: auto;
  display: block;
}

.download-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111827;
}

.download-description {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 30px;
}

.download-meta {
  margin-bottom: 40px;
}

.download-meta .meta-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
}

.download-meta .meta-item:last-child {
  border-bottom: none;
}

.download-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.download-info-section {
  padding: 80px 0;
}

.download-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.detail-card {
  text-align: center;
  padding: 40px 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.detail-icon {
  width: 60px;
  height: 60px;
  background: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
}

.detail-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111827;
}

.detail-card p {
  color: #6b7280;
}

/* Thank You Page */
.thank-you-hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.thank-you-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.thank-you-image-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.thank-you-image {
  width: 100%;
  height: auto;
  display: block;
}

.thank-you-info {
  text-align: center;
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  color: white;
}

.thank-you-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}

.thank-you-message {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 40px;
}

.thank-you-wallpaper-info {
  margin-bottom: 40px;
}

.thank-you-wallpaper-info .wallpaper-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.thank-you-wallpaper-info .wallpaper-meta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.meta-badge {
  background: #eef2ff;
  color: #000000;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.thank-you-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.thank-you-features {
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.feature-card {
  text-align: center;
  padding: 40px 20px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #000000;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111827;
}

.feature-card p {
  color: #6b7280;
}

.thank-you-share {
  padding: 60px 0;
  background: #f9fafb;
}

.share-section {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.share-section h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #111827;
}

.share-section p {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 40px;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.share-twitter {
  background: #1da1f2;
  color: white;
}

.share-twitter:hover {
  background: #1991da;
  color: white;
}

.share-facebook {
  background: #4267b2;
  color: white;
}

.share-facebook:hover {
  background: #365899;
  color: white;
}

.share-copy {
  background: #f3f4f6;
  color: #374151;
}

.share-copy:hover {
  background: #e5e7eb;
  color: #111827;
}

/* Category Pages */
.category-page-header {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, #f3f4f6 0%, #f9fafb 100%);
  text-align: center;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #6b7280;
}

.breadcrumb-separator {
  color: #d1d5db;
}

.breadcrumb a {
  color: #000000;
}

.category-page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111827;
}

.category-page-description {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto 30px;
}

.category-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #6b7280;
}

.stat-separator {
  color: #d1d5db;
}

.category-wallpapers {
  padding: 60px 0;
}

.category-filters {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 40px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-group label {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

.filter-select {
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: white;
  color: #374151;
  font-size: 14px;
}

.filter-select:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.empty-category {
  text-align: center;
  padding: 80px 20px;
}

.empty-icon {
  width: 80px;
  height: 80px;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  color: #9ca3af;
}

.empty-category h3 {
  font-size: 1.5rem;
  color: #111827;
  margin-bottom: 12px;
}

.empty-category p {
  color: #6b7280;
  margin-bottom: 30px;
}

.related-categories {
  padding: 80px 0;
  background: #f9fafb;
}

.categories-grid-small {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.category-card-small {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-card-small:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

/* Blog Pages */
.blog-page-header {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, #f3f4f6 0%, #f9fafb 100%);
  text-align: center;
}

.blog-page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111827;
}

.blog-page-description {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

.blog-content {
  padding: 60px 0;
}

.blog-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.blog-main {
  min-width: 0;
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.blog-post-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.blog-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.blog-post-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-post-content {
  padding: 30px;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #6b7280;
}

.blog-post-category {
  background: #eef2ff;
  color: #000000;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.blog-post-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.blog-post-title a {
  color: #111827;
}

.blog-post-title a:hover {
  color: #000000;
}

.blog-post-excerpt {
  color: #6b7280;
  margin-bottom: 20px;
  line-height: 1.6;
}

.blog-post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.blog-tag {
  background: #f3f4f6;
  color: #6b7280;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.blog-sidebar {
  background: #f9fafb;
  border-radius: 16px;
  padding: 30px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.sidebar-section {
  margin-bottom: 40px;
}

.sidebar-section:last-child {
  margin-bottom: 0;
}

.sidebar-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #111827;
}

.sidebar-categories {
  list-style: none;
}

.sidebar-categories li {
  margin-bottom: 8px;
}

.sidebar-categories a {
  color: #6b7280;
  padding: 8px 0;
  display: block;
  transition: all 0.3s ease;
}

.sidebar-categories a:hover {
  color: #000000;
}

.sidebar-wallpapers {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-wallpaper {
  display: flex;
  gap: 12px;
  align-items: center;
}

.sidebar-wallpaper-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-wallpaper-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-wallpaper-info h4 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.sidebar-wallpaper-info h4 a {
  color: #111827;
}

.sidebar-wallpaper-info h4 a:hover {
  color: #000000;
}

.sidebar-wallpaper-info p {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-input {
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
}

.newsletter-input:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.newsletter-btn {
  padding: 12px;
  background: #000000;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  background: linear-gradient(135deg, #3730a3 0%, #6d28d9 100%);
}

.blog-empty {
  text-align: center;
  padding: 80px 20px;
}

/* Post Page */
.blog-post-page {
  padding-top: 0;
}

.post-header {
  padding: 120px 0 60px;
  background: #f9fafb;
}

.post-hero-image {
  margin-bottom: 40px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  font-size: 14px;
  color: #6b7280;
  flex-wrap: wrap;
}

.post-category {
  background: #eef2ff;
  color: #000000;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 500;
}

.post-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #111827;
  line-height: 1.2;
}

.post-description {
  font-size: 1.25rem;
  color: #6b7280;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.post-content {
  padding: 60px 0;
}

.post-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.post-main {
  min-width: 0;
}

.post-body {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 40px;
}

.post-body h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #111827;
}

.post-body h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 16px;
  color: #111827;
}

.post-body p {
  margin-bottom: 20px;
}

.post-body img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 30px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.post-body blockquote {
  border-left: 4px solid #000000;
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  background: #f9fafb;
  padding: 20px;
  border-radius: 8px;
}

.post-tags {
  margin-bottom: 40px;
  padding-top: 40px;
  border-top: 1px solid #e5e7eb;
}

.post-tags h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #111827;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-tag {
  background: #eef2ff;
  color: #000000;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.post-share {
  padding-top: 40px;
  border-top: 1px solid #e5e7eb;
}

.post-share h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #111827;
}

.post-sidebar {
  background: #f9fafb;
  border-radius: 16px;
  padding: 30px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.sidebar-posts {
  list-style: none;
}

.sidebar-posts li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
  gap: 12px;
}

.sidebar-posts li:last-child {
  border-bottom: none;
}

.sidebar-posts a {
  color: #374151;
  font-size: 14px;
  line-height: 1.4;
  flex: 1;
}

.sidebar-posts a:hover {
  color: #000000;
}

.sidebar-posts time {
  font-size: 12px;
  color: #9ca3af;
  white-space: nowrap;
  flex-shrink: 0;
}

.related-posts {
  padding: 80px 0;
  background: #f9fafb;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.related-post-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.related-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.related-post-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.related-post-content {
  padding: 24px;
}

.related-post-meta {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 12px;
}

.related-post-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.related-post-title a {
  color: #111827;
}

.related-post-title a:hover {
  color: #000000;
}

.related-post-excerpt {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}

/* Footer */
.footer {
  background: #111827;
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
  color: white;
  margin-bottom: 20px;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  background: #000000;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.footer-description {
  color: #9ca3af;
  margin-bottom: 24px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: #374151;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #000000;
  color: white;
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #9ca3af;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #374151;
  color: #9ca3af;
}

/* Related Wallpapers */
.related-wallpapers {
  padding: 80px 0;
  background: #f9fafb;
}

.wallpaper-grid-small {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.wallpaper-card-small {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.wallpaper-card-small:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.wallpaper-card-small .wallpaper-image-container {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}

.wallpaper-card-small .wallpaper-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(79, 70, 229, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.wallpaper-card-small:hover .wallpaper-overlay {
  opacity: 1;
}

.overlay-link {
  color: white;
  padding: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.overlay-link:hover {
  background: rgba(255, 255, 255, 0.3);
  color: white;
}

.wallpaper-info-small {
  padding: 16px;
}

.wallpaper-title-small {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #111827;
}

.wallpaper-category-small {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  text-transform: capitalize;
}

/* Wallpaper Gallery Page */
.wallpaper-gallery-page {
  padding-top: 0;
}

.page-header {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, #f3f4f6 0%, #f9fafb 100%);
  text-align: center;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111827;
}

.page-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto 40px;
}

.filter-controls {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.wallpapers-grid-section {
  padding: 60px 0;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(4px);
}

.modal-content {
  background: white;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close:hover {
  color: #374151;
}

.modal-body {
  padding: 24px;
}

.share-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.modal .share-btn {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}

/* Loading and Error States */
.loading-container,
.error-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 60px 20px;
}

.loading-content,
.error-content {
  text-align: center;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #000000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 30px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-content h2,
.error-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
}

.loading-content p,
.error-content p {
  color: #6b7280;
  margin-bottom: 30px;
}

.error-icon {
  width: 80px;
  height: 80px;
  background: #fee2e2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  color: #dc2626;
}

/* Lazy Loading */
.lazy-load {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lazy-load.loaded {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .wallpaper-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
  }

  .blog-layout,
  .post-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .download-preview,
  .thank-you-main {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .wallpaper-meta {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  /* Bootstrap handles all navbar responsive behavior */

  .hero {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .wallpaper-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .wallpaper-grid-small {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .categories-grid-small {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .filter-controls {
    flex-direction: column;
    gap: 16px;
  }

  .filter-group {
    justify-content: space-between;
  }

  .filter-select {
    flex: 1;
    max-width: 200px;
  }

  .wallpaper-actions,
  .download-actions,
  .thank-you-actions {
    flex-direction: column;
  }

  .share-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .share-btn {
    width: 100%;
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-header,
  .blog-page-header,
  .category-page-header {
    padding: 100px 0 40px;
  }

  .page-title,
  .blog-page-title,
  .category-page-title {
    font-size: 2rem;
  }

  .post-title {
    font-size: 2rem;
  }

  .wallpaper-title-large {
    font-size: 1.75rem;
  }

  .download-title,
  .thank-you-title {
    font-size: 1.75rem;
  }

  .hero-image {
    height: 250px;
  }

  .wallpaper-meta {
    gap: 16px;
  }

  .category-stats {
    flex-direction: column;
    gap: 8px;
  }

  .stat-separator {
    display: none;
  }

  .breadcrumb {
    font-size: 12px;
  }

  .features-grid,
  .download-details {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .blog-posts {
    gap: 30px;
  }

  .post-meta {
    flex-direction: column;
    gap: 8px;
  }

  .post-layout {
    gap: 30px;
  }

  .post-sidebar {
    position: static;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .page-title,
  .blog-page-title,
  .category-page-title {
    font-size: 1.75rem;
  }

  .post-title {
    font-size: 1.75rem;
  }

  .wallpaper-title-large {
    font-size: 1.5rem;
  }

  .download-title,
  .thank-you-title {
    font-size: 1.5rem;
  }

  .wallpaper-grid-small,
  .categories-grid-small {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .btn-large {
    padding: 14px 28px;
    font-size: 15px;
  }

  .hero {
    padding: 40px 0;
  }

  section {
    padding: 40px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-cta {
    margin-top: 40px;
  }

  .modal-content {
    width: 95%;
    margin: 20px;
  }

  .modal-header,
  .modal-body {
    padding: 20px;
  }

  .wallpaper-info {
    padding: 16px;
  }

  .blog-post-content,
  .related-post-content {
    padding: 20px;
  }

  .footer {
    padding: 40px 0 20px;
  }

  .footer-content {
    margin-bottom: 30px;
  }
}
.card-footer{
  border: none;
}

/* ==========================================
   ENHANCED UX & ACCESSIBILITY STYLES
   ========================================== */

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Skip to Content Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 8px 16px;
  z-index: 10000;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

/* Enhanced Card Hover Effects */
.card,
.pack-card,
.blog-post-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.pack-card:hover,
.blog-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Image Zoom on Hover */
.card-img-top,
.pack-preview img,
.wallpaper-image img {
  transition: transform 0.4s ease;
}

.card:hover .card-img-top,
.pack-card:hover .pack-preview img,
.wallpaper-card:hover .wallpaper-image img {
  transform: scale(1.08);
}

/* Button Ripple Effect */
.btn,
.download-btn {
  position: relative;
  overflow: hidden;
  background-color: #000000;
}

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

.btn:active::after,
.download-btn:active::after {
  width: 300px;
  height: 300px;
}

/* Link Underline Animation */
.nav-link,
.footer-links a {
  position: relative;
}

.nav-link::after,
.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after,
.footer-links a:hover::after {
  width: 100%;
}

/* Active Navigation State */
.nav-link.active {
  color: var(--primary-color) !important;
  font-weight: 600;
}

/* Loading Placeholder Animation */
.loading-placeholder {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Tooltip Styles */
[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 12px;
  background: #333;
  color: white;
  font-size: 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

[data-tooltip]:hover::before {
  opacity: 1;
  visibility: visible;
  bottom: calc(100% + 8px);
}

/* Image Loading State */
img {
  background-color: #f3f4f6;
}

img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
  opacity: 1;
}

/* Enhanced Form Inputs */
.form-control {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(110, 61, 235, 0.15);
}

/* Breadcrumb Enhancement */
.breadcrumb {
  padding: 12px 0;
  margin-bottom: 20px;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-muted);
}

.breadcrumb-item a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Tag/Badge Hover Effects */
.tag,
.badge,
.category-tag {
  transition: all 0.3s ease;
  cursor: pointer;
}

.tag:hover,
.badge:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Search Enhancement */
#search-input {
  transition: all 0.3s ease;
}

#search-input:focus {
  width: 100%;
  box-shadow: 0 4px 20px rgba(110, 61, 235, 0.2);
}

/* Mobile Touch Feedback */
@media (hover: none) {
  .card:active,
  .pack-card:active,
  .btn:active {
    transform: scale(0.98);
  }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print Styles */
@media print {
  .back-to-top,
  .scroll-progress,
  .ad-container,
  nav,
  footer {
    display: none !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #000000;
    --text-primary: #000000;
    --bg-primary: #ffffff;
  }
}

/* Content Visibility for Performance */
.footer,
section:not(:first-child) {
  content-visibility: auto;
  contain-intrinsic-size: 500px;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Quick Action Buttons */
.quick-actions {
  position: fixed;
  bottom: 140px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.quick-action-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.quick-action-btn:hover {
  transform: scale(1.1);
}

/* Notification Toast */
.toast-notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #333;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 10000;
  opacity: 0;
  transition: all 0.3s ease;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Enhanced Search Results */
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.search-results.active {
  display: block;
}

.search-result-item {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.search-result-item:hover {
  background: #f8f9fa;
}

.search-result-item:last-child {
  border-bottom: none;
}

/* Page Transition Effect */
.page-transition {
  animation: pageLoad 0.5s ease;
}

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

/* Better Mobile Menu */
@media (max-width: 991px) {
  .navbar-collapse {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
  }

  .navbar-nav .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Prominent CTA Button Animation */
@keyframes pulse-cta {
  0% {
    box-shadow: 0 8px 25px rgba(110, 61, 235, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 12px 35px rgba(110, 61, 235, 0.6);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 8px 25px rgba(110, 61, 235, 0.4);
    transform: scale(1);
  }
}

.view-all-cta {
  position: relative;
  overflow: hidden;
}

.view-all-cta:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 15px 40px rgba(110, 61, 235, 0.5) !important;
}

.view-all-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shine 3s infinite;
}

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

/* Enhanced Pagination Styles */
.pagination {
  gap: 5px;
}

.pagination .page-item .page-link {
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  color: var(--text-secondary);
  padding: 8px 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination .page-item .page-link:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(110, 61, 235, 0.3);
}

.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #000000 0%, #000000 100%);
  border-color: var(--primary-color);
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(110, 61, 235, 0.4);
}

.pagination .page-item.disabled .page-link {
  background: #f8f9fa;
  color: #adb5bd;
  cursor: not-allowed;
}}

/* Hero Section Feature Badges */
.feature-badge-hero {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  color: white;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-badge-hero:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.feature-badge-hero svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Mobile optimizations for hero badges */
@media (max-width: 768px) {
  .feature-badge-hero {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .feature-badge-hero svg {
    width: 16px;
    height: 16px;
    margin-right: 4px !important;
  }
}

.promotion-banner,.global-promo-banner,.service-promo-card{
 display:none;
}
