/* Global Reset and Base Styles */
:root {
  --primary: #000000;
  --secondary: #FF6B35;
  --accent: #f4f5f7;
  --text: #111827;
  --background: #ffffff;
  --card-bg: #ffffff;
  --card-border: rgba(0, 0, 0, 0.1);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

section {
  padding: 4rem 0;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--background);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--secondary);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover,
nav a:focus {
  color: var(--secondary);
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.dropdown-arrow {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  background: var(--background);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 0.5rem 0;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--text);
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-dropdown-menu a:hover {
  background: rgba(255, 107, 53, 0.1);
  color: var(--secondary);
  padding-left: 1.5rem;
}

.nav-dropdown-menu .dropdown-view-all {
  border-top: 1px solid var(--card-border);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  font-weight: 600;
  color: var(--secondary);
}

.mobile-category-dropdown {
  display: flex;
  flex-direction: column;
}

.mobile-category-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
  padding: 0.75rem 0;
  color: var(--text);
  cursor: pointer;
  transition: color 0.3s ease;
}

.mobile-category-toggle:hover {
  color: var(--secondary);
}

.mobile-dropdown-arrow {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
  margin-left: 0.5rem;
}

.mobile-category-dropdown.active .mobile-dropdown-arrow {
  transform: rotate(180deg);
}

.mobile-category-links {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 1.5rem;
  margin: 0.5rem 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
}

.mobile-category-dropdown.active .mobile-category-links {
  display: flex;
  max-height: 500px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.mobile-category-links a {
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.8;
  padding: 0.5rem 0;
  transition: all 0.2s ease;
}

.mobile-category-links a:hover {
  opacity: 1;
  color: var(--secondary);
  padding-left: 0.5rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.auth-buttons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.user-name {
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
}

@media (max-width: 992px) {
  .nav-actions {
    gap: 0.5rem;
  }
  
  .auth-buttons {
    gap: 0.25rem;
  }
  
  .auth-buttons .btn-small {
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
  }
}

.dark-toggle {
  background: transparent;
  border: 1px solid var(--card-border);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.hamburger {
  background: transparent;
  border: 1px solid var(--card-border);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dark-toggle:hover,
.hamburger:hover {
  background: var(--accent);
}

.hamburger span {
  width: 18px;
  height: 2px;
  background: var(--text);
  display: block;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0 2rem;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.mobile-nav a {
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.mobile-nav a:hover {
  color: var(--secondary);
}

.mobile-nav.open {
  display: flex;
}

.mobile-auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.mobile-user-menu {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.mobile-user-info {
  padding: 0.5rem 0;
  margin-bottom: 0.5rem;
}

.mobile-user-name {
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
}

.dark-mode .mobile-auth-buttons,
.dark-mode .mobile-user-menu {
  border-top-color: rgba(255, 107, 53, 0.2);
}

.dark-mode .mobile-user-name {
  color: #e5e7eb;
}

/* Hero */
.hero {
  padding: 6rem 0 4rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-bg-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  transform: scale(1.1);
  will-change: opacity, transform;
}

.hero-bg-slide.active {
  opacity: 1;
  transform: scale(1);
  animation: zoomIn 10s ease-in-out infinite;
  z-index: 1;
}

.hero-bg-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.75));
}

@keyframes zoomIn {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes zoomOut {
  0%, 100% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1.15);
  }
}

/* Page Hero Background (for non-slider pages) */
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  animation: zoomIn 20s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.75));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero h1,
.hero h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
  color: #fff;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #e5e7eb;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  animation: fadeInUp 1s ease-out 0.7s both;
}

/* Hero button styling - make outline button visible on dark background */
.hero .btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  background: transparent;
  font-weight: 600;
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.btn-primary {
  background: var(--secondary);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #FF5722;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-outline {
  border: 1px solid rgba(17, 24, 39, 0.3);
  color: rgba(17, 24, 39, 0.9);
  background: transparent;
  font-weight: 500;
}

.btn-outline:hover {
  background: rgba(17, 24, 39, 0.05);
  border-color: rgba(17, 24, 39, 0.5);
  color: rgba(17, 24, 39, 1);
}

/* Ensure btn-outline is visible on light backgrounds */
.btn-outline.btn-small {
  border: 1px solid rgba(17, 24, 39, 0.4);
  color: rgba(17, 24, 39, 1);
  font-weight: 500;
}

.btn-outline.btn-small:hover {
  background: rgba(17, 24, 39, 0.08);
  border-color: rgba(17, 24, 39, 0.6);
}

/* Slider */
.hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  z-index: 1;
  min-height: 400px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.slides {
  position: relative;
  width: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 1rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
  visibility: hidden;
}

.slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  position: relative;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide.active .slide-title {
  animation: fadeInDown 1s ease-out 0.3s both;
}

.slide.active .slide-text {
  animation: fadeInUp 1s ease-out 0.5s both;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  z-index: 3;
  position: relative;
}

.slider-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dots button:hover {
  background: rgba(255, 107, 53, 0.6);
  border-color: var(--secondary);
  transform: scale(1.2);
}

.slider-dots button.active {
  background: var(--secondary);
  border-color: var(--secondary);
  width: 32px;
  border-radius: 6px;
  transform: scale(1);
}

/* Cards & Sections */
.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.dark-mode .section-heading h2 {
  color: #fff;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.15);
  border-color: rgba(255, 107, 53, 0.3);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 107, 53, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.step {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.25rem;
}

.step-number {
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.category-tile {
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  text-align: center;
  min-height: 160px;
}

/* Modern Categories Grid */
.categories-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.category-card {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), #FF5722);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: var(--secondary);
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.category-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.4s ease;
}

.category-card:hover .category-icon {
  transform: scale(1.15) rotate(5deg);
}

.category-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.dark-mode .category-card h3 {
  color: #fff;
}

.category-card p {
  color: rgba(17, 24, 39, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.dark-mode .category-card p {
  color: rgba(229, 231, 235, 0.8);
}

/* Stats Section */
.stats-section {
  background: var(--accent);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--card-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.15);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dark-mode .stat-label {
  color: #e5e7eb;
}

/* Why Choose About Section */
.why-choose-about {
  background: var(--background);
  padding: 5rem 0;
}

/* Approach Section */
.approach-section {
  background: var(--accent);
  padding: 5rem 0;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.approach-item {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
  position: relative;
}

.approach-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.15);
  border-color: var(--secondary);
}

.approach-number {
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255, 107, 53, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.approach-item h4 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.dark-mode .approach-item h4 {
  color: #fff;
}

.approach-item p {
  color: rgba(17, 24, 39, 0.8);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.dark-mode .approach-item p {
  color: rgba(229, 231, 235, 0.9);
}

/* Category Intro */
.category-intro {
  padding: 4rem 0 2rem;
  background: var(--background);
}

/* Category Benefits */
.category-benefits {
  background: var(--accent);
  padding: 5rem 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  background: var(--card-bg);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: var(--secondary);
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.2);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.benefit-card h4 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.dark-mode .benefit-card h4 {
  color: #fff;
}

.benefit-card p {
  color: rgba(17, 24, 39, 0.7);
  line-height: 1.7;
  font-size: 0.95rem;
}

.dark-mode .benefit-card p {
  color: rgba(229, 231, 235, 0.8);
}

/* Category Stats */
.category-stats {
  background: var(--background);
  padding: 4rem 0;
}

/* Testimonials Section */
.testimonials-section {
  background: var(--accent);
  padding: 5rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.15);
  border-color: var(--secondary);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
  position: relative;
  padding-left: 1.5rem;
}

.testimonial-content p::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 3rem;
  color: var(--secondary);
  opacity: 0.3;
}

.testimonial-author {
  border-top: 1px solid var(--card-border);
  padding-top: 1.5rem;
}

.author-name {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.dark-mode .author-name {
  color: #fff;
}

.author-role {
  font-size: 0.9rem;
  color: rgba(17, 24, 39, 0.7);
}

.dark-mode .author-role {
  color: rgba(229, 231, 235, 0.7);
}

/* Case Studies Section */
.case-studies-section {
  background: var(--background);
  padding: 5rem 0;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.case-study-card {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.case-study-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), #FF5722);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.case-study-card:hover::before {
  transform: scaleX(1);
}

.case-study-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.case-study-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.case-study-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.dark-mode .case-study-card h3 {
  color: #fff;
}

.case-study-card p {
  color: rgba(17, 24, 39, 0.8);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.dark-mode .case-study-card p {
  color: rgba(229, 231, 235, 0.9);
}

.case-study-metrics {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border);
}

.metric {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
}

.metric-label {
  font-size: 0.85rem;
  color: rgba(17, 24, 39, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.5rem;
}

.dark-mode .metric-label {
  color: rgba(229, 231, 235, 0.7);
}

/* Resources Section */
.resources-section {
  background: var(--accent);
  padding: 5rem 0;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.resource-card {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
  text-align: center;
}

.resource-card:hover {
  transform: translateY(-6px);
  border-color: var(--secondary);
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.15);
}

.resource-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.resource-card h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.dark-mode .resource-card h3 {
  color: #fff;
}

.resource-card p {
  color: rgba(17, 24, 39, 0.7);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.dark-mode .resource-card p {
  color: rgba(229, 231, 235, 0.8);
}

.resource-link {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.resource-link:hover {
  color: #FF5722;
}

/* Team Section */
.team-section {
  background: var(--background);
  padding: 5rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  text-align: center;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.15);
  border-color: var(--secondary);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), #FF5722);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.team-card h4 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.dark-mode .team-card h4 {
  color: #fff;
}

.team-role {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.team-bio {
  color: rgba(17, 24, 39, 0.7);
  line-height: 1.7;
  font-size: 0.9rem;
}

.dark-mode .team-bio {
  color: rgba(229, 231, 235, 0.8);
}

/* Certifications Section */
.certifications-section {
  background: var(--accent);
  padding: 5rem 0;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.cert-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  text-align: center;
  transition: all 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.15);
}

.cert-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.1);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.cert-card h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.dark-mode .cert-card h4 {
  color: #fff;
}

.cert-card p {
  color: rgba(17, 24, 39, 0.7);
  font-size: 0.9rem;
}

.dark-mode .cert-card p {
  color: rgba(229, 231, 235, 0.8);
}

/* Process Timeline */
.process-detailed {
  background: var(--background);
  padding: 5rem 0;
}

.process-timeline {
  max-width: 800px;
  margin: 3rem auto 0;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--card-border);
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-marker {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), #FF5722);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-content {
  flex: 1;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
  transform: translateX(10px);
  border-color: var(--secondary);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.15);
}

.timeline-content h4 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.dark-mode .timeline-content h4 {
  color: #fff;
}

.timeline-content p {
  color: rgba(17, 24, 39, 0.8);
  line-height: 1.7;
}

.dark-mode .timeline-content p {
  color: rgba(229, 231, 235, 0.9);
}

/* Product Features */
.product-features {
  background: var(--accent);
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--secondary);
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.feature-card h4 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.dark-mode .feature-card h4 {
  color: #fff;
}

.feature-card p {
  color: rgba(17, 24, 39, 0.7);
  line-height: 1.7;
}

.dark-mode .feature-card p {
  color: rgba(229, 231, 235, 0.8);
}

/* Office Locations */
.office-locations {
  background: var(--accent);
  padding: 5rem 0;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.location-card {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  text-align: center;
  transition: all 0.3s ease;
}

.location-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.15);
}

.location-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.location-card h4 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.dark-mode .location-card h4 {
  color: #fff;
}

.location-card p {
  color: rgba(17, 24, 39, 0.8);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.dark-mode .location-card p {
  color: rgba(229, 231, 235, 0.9);
}

/* Contact Options */
.contact-cta {
  background: var(--background);
  padding: 5rem 0;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-option-card {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-option-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.15);
}

.option-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.contact-option-card h4 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.dark-mode .contact-option-card h4 {
  color: #fff;
}

.contact-option-card p {
  color: rgba(17, 24, 39, 0.7);
  margin-bottom: 1.5rem;
}

.dark-mode .contact-option-card p {
  color: rgba(229, 231, 235, 0.8);
}

.partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.partner {
  border: 1px dashed var(--card-border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  font-weight: 600;
  color: var(--primary);
  background: var(--card-bg);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.partner:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

.dark-mode .partner {
  color: #fff;
}

.cta-strip {
  background: linear-gradient(135deg, var(--secondary), #FF5722);
  color: #fff;
  padding: 4rem 2rem;
  border-radius: 24px;
  text-align: center;
}

.cta-strip h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  color: #fff;
}

.cta-strip p {
  margin-bottom: 2rem;
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Breadcrumbs */
.breadcrumbs {
  background: var(--accent);
  padding: 0.85rem 0;
}

.breadcrumbs a {
  color: var(--primary);
  font-weight: 500;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: var(--secondary);
}

.breadcrumbs span {
  margin: 0 0.5rem;
  color: rgba(17, 24, 39, 0.5);
}

/* Sidebar products */
.products-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
}

.sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.5rem;
  background: var(--card-bg);
}

.sidebar h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.sidebar a {
  display: block;
  padding: 0.5rem 0;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s ease;
}

.sidebar a:hover {
  color: var(--secondary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.product-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card img {
  border-radius: 12px;
  margin-bottom: 1rem;
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.product-card h4 {
  color: var(--primary);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.product-card:hover h4 {
  color: var(--secondary);
}

.dark-mode .product-card h4 {
  color: #fff;
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: var(--card-bg);
  border: none;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--secondary);
}

.faq-item.active .faq-question {
  color: var(--secondary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  font-weight: 600;
  margin-bottom: 0.35rem;
  display: block;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  font: inherit;
  transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.error {
  color: #d14343;
  font-size: 0.85rem;
}

.success-message {
  background: #e6f6ed;
  color: #0f5c2e;
  padding: 1rem;
  border-radius: 12px;
  display: none;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background: var(--primary);
  color: #fff;
  padding: 3rem 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-links a {
  display: block;
  margin-bottom: 0.5rem;
  opacity: 0.8;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--secondary);
}

/* Hide categories dropdown inside footer quick links on all pages */
.footer-links .nav-dropdown {
  display: none;
}

.socials {
  display: flex;
  gap: 0.75rem;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.socials a:hover {
  background: var(--secondary);
  color: #fff;
}

/* Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Parallax Effects */
.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 200%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  z-index: 0;
}

.parallax-section > *:not(.parallax-bg) {
  position: relative;
  z-index: 1;
}

/* Product Detail Page */
.product-detail-page .product-hero {
  padding: 6rem 0 4rem;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.75));
  color: #fff;
}

.product-hero .parallax-bg {
  background-image: url('https://source.unsplash.com/1600x900/?products,warehouse');
  opacity: 0.3;
}

.dark-mode .product-hero .parallax-bg {
  opacity: 0.5;
}

.product-hero-content {
  position: relative;
  z-index: 2;
}

.product-hero-content .breadcrumbs {
  background: transparent;
  padding: 0 0 2rem;
}

.product-hero-content .breadcrumbs a,
.product-hero-content .breadcrumbs span {
  color: rgba(255, 255, 255, 0.9);
}

.product-hero-content .breadcrumbs a:hover {
  color: var(--secondary);
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.product-image-container {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.dark-mode .product-image-container {
  background: #1a1a1a;
}

.product-main-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.product-info h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 1rem;
}

.product-category {
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.product-description {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.product-description p {
  color: rgba(255, 255, 255, 0.95);
}

.product-specs {
  background: rgba(255, 255, 255, 0.15);
  padding: 2rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark-mode .product-specs {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.product-specs h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.product-specs ul {
  list-style: none;
  padding: 0;
}

.product-specs li {
  color: rgba(255, 255, 255, 0.95);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-weight: 500;
}

.product-specs li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Product Detail Content Section */
.product-detail-content {
  background: var(--background);
  padding: 4rem 0;
}

.product-detail-content .container {
  max-width: 1000px;
}

/* Product Tabs */
.product-tabs {
  display: flex;
  gap: 1rem;
  border-bottom: 2px solid var(--card-border);
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 1rem 2rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: -2px;
}

.tab-btn:hover {
  color: var(--secondary);
}

.tab-btn.active {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
}

.dark-mode .tab-btn {
  color: #e5e7eb;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-section h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.dark-mode .content-section h2 {
  color: #fff;
}

.content-section p {
  color: rgba(17, 24, 39, 0.8);
  line-height: 1.8;
  font-size: 1.05rem;
}

.dark-mode .content-section p {
  color: rgba(229, 231, 235, 0.9);
}

.feature-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--card-border);
  margin-bottom: 1rem;
}

.feature-item .feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.1);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.feature-item h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.dark-mode .feature-item h4 {
  color: #fff;
}

.feature-item p {
  color: rgba(17, 24, 39, 0.7);
  margin: 0;
}

.dark-mode .feature-item p {
  color: rgba(229, 231, 235, 0.8);
}

/* Product Card Links */
.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
}

.view-details {
  display: inline-block;
  margin-top: 1rem;
  color: var(--secondary);
  font-weight: 600;
  transition: transform 0.3s ease;
}

.product-card:hover .view-details {
  transform: translateX(5px);
}

.product-benefits .parallax-bg {
  background-image: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 87, 34, 0.1)),
    url('https://source.unsplash.com/1600x900/?warehouse,products');
}

.product-cta .parallax-bg {
  background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.6)),
    url('https://source.unsplash.com/1600x900/?business,partnership');
}

/* Dark Mode */
.dark-mode {
  --background: #000000;
  --text: #e5e7eb;
  --card-bg: #1a1a1a;
  --card-border: rgba(255, 107, 53, 0.2);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
  --accent: #1a1a1a;
  --primary: #ffffff;
}

.dark-mode header {
  background: #000000;
  border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

.dark-mode .hero::after {
  background: rgba(0, 0, 0, 0.85);
}

.dark-mode .breadcrumbs {
  background: #1a1a1a;
}

.dark-mode footer {
  background: #000000;
}

.dark-mode .logo {
  color: var(--secondary);
}

.dark-mode nav a:hover,
.dark-mode nav a:focus {
  color: var(--secondary);
}

.dark-mode .stats-section {
  background: #1a1a1a;
}

.dark-mode .approach-section {
  background: #1a1a1a;
}

.dark-mode .category-benefits {
  background: #1a1a1a;
}

.dark-mode .testimonials-section,
.dark-mode .resources-section,
.dark-mode .certifications-section,
.dark-mode .product-features,
.dark-mode .office-locations {
  background: #1a1a1a;
}

/* Parallax Background Overlay for Light Sections */
.parallax-section {
  position: relative;
}

.parallax-section .parallax-bg {
  opacity: 0.1;
}

.parallax-section.value-prop .parallax-bg,
.parallax-section.stats-section .parallax-bg,
.parallax-section.category-benefits .parallax-bg {
  opacity: 0.05;
}

.dark-mode .parallax-section .parallax-bg {
  opacity: 0.15;
}

/* Media Queries */
@media (max-width: 992px) {
  .products-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
    .slider-dots-container {
    display: block;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}
  nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }
  
  .nav-actions {
    gap: 0.5rem;
  }
  
  /* Hide auth buttons and user menu on mobile - they're in hamburger menu */
  .auth-buttons {
    display: none !important;
  }
  
  .user-menu {
    display: none !important;
  }
  
  /* Keep cart, wishlist, and dark toggle visible */
  .cart-icon-link,
  .wishlist-icon-link,
  .dark-toggle {
    display: inline-flex !important;
  }

  .hero {
    padding: 5rem 0 3rem;
  }

  section {
    padding: 3rem 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cta-strip {
    padding: 3rem 1.5rem;
  }

  .testimonials-grid,
  .case-studies-grid,
  .resources-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .team-grid,
  .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline {
    padding-left: 1rem;
  }

  .product-hero {
    padding: 4rem 0 2rem;
    min-height: auto;
  }

  .product-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
  }

  .card,
  .category-tile {
    text-align: left;
  }

  .categories-grid-modern {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .category-card {
    padding: 2rem 1.5rem;
  }

  .category-icon {
    font-size: 2.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2rem;
  }

  .approach-item {
    padding: 2rem 1.5rem;
  }

  .approach-number {
    font-size: 3rem;
  }

  .testimonials-grid,
  .case-studies-grid,
  .resources-grid,
  .team-grid,
  .certifications-grid,
  .features-grid,
  .locations-grid,
  .contact-options {
    grid-template-columns: 1fr;
  }

  .case-study-metrics {
    flex-direction: column;
    gap: 1rem;
  }

  .process-timeline::before {
    left: 20px;
  }

  .timeline-marker {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .timeline-item {
    gap: 1rem;
  }

  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tab-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }
}

/* ============================================
   ECOMMERCE STYLES
   ============================================ */

/* Cart Icon and Badge */
.cart-icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.3s ease;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.cart-icon-link:hover {
  background: rgba(17, 24, 39, 0.05);
  transform: scale(1.05);
}

.dark-mode .cart-icon-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.cart-icon {
  font-size: 1.5rem;
  display: inline-block;
  line-height: 1;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--secondary);
  color: #fff;
  border-radius: 12px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  border: 2px solid var(--background);
  z-index: 10;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.cart-badge:empty {
  display: none;
}

/* Adjust badge for larger numbers */
.cart-badge:not(:empty) {
  min-width: 22px;
  padding: 0 6px;
}

.dark-mode .cart-badge {
  border-color: var(--card-bg);
}

/* Search Bar */
.products-search-section {
  padding: 2rem 0;
  background: var(--accent);
}

.search-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border-radius: 50px;
  border: 2px solid var(--card-border);
  background: var(--card-bg);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  pointer-events: none;
}

/* Products Grid (ECommerce) */
.products-grid-ecommerce {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.product-card-ecommerce {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card-ecommerce:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: var(--accent);
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.product-category {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-name {
  font-size: 1.25rem;
  color: var(--primary);
  margin: 0;
  font-weight: 700;
}

.dark-mode .product-name {
  color: #fff;
}

.product-description {
  font-size: 0.9rem;
  color: rgba(17, 24, 39, 0.7);
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

.dark-mode .product-description {
  color: rgba(229, 231, 235, 0.8);
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 0.5rem 0;
}

.btn-add-cart {
  width: 100%;
  margin-top: auto;
}

.no-products-message {
  text-align: center;
  padding: 4rem 2rem;
  color: rgba(17, 24, 39, 0.7);
}

.dark-mode .no-products-message {
  color: rgba(229, 231, 235, 0.8);
}

/* Toast Notification */
.toast-message {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--card-bg);
  color: var(--text);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border: 1px solid var(--card-border);
  max-width: 300px;
}

.toast-message.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-message.toast-error {
  border-left: 4px solid #d14343;
}

.toast-message.toast-success {
  border-left: 4px solid #0f5c2e;
}

/* Cart Page Styles */
.cart-section {
  padding: 3rem 0;
}

.empty-cart-message {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-cart-content {
  max-width: 500px;
  margin: 0 auto;
}

.empty-cart-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
}

.empty-cart-content h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.dark-mode .empty-cart-content h2 {
  color: #fff;
}

.empty-cart-content p {
  color: rgba(17, 24, 39, 0.7);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.dark-mode .empty-cart-content p {
  color: rgba(229, 231, 235, 0.8);
}

.cart-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.cart-items-container {
  flex: 1;
}

.cart-items-container h2 {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.dark-mode .cart-items-container h2 {
  color: #fff;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto auto auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  transition: box-shadow 0.3s ease;
}

.cart-item:hover {
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.1);
}

.cart-item-image {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--accent);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cart-item-name {
  font-size: 1.1rem;
  color: var(--primary);
  margin: 0;
  font-weight: 700;
}

.dark-mode .cart-item-name {
  color: #fff;
}

.cart-item-category {
  font-size: 0.85rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cart-item-price {
  font-size: 0.9rem;
  color: rgba(17, 24, 39, 0.7);
}

.dark-mode .cart-item-price {
  color: rgba(229, 231, 235, 0.8);
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--accent);
  padding: 0.5rem;
  border-radius: 8px;
}

.quantity-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--secondary);
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  font-weight: 700;
}

.quantity-btn:hover {
  background: #FF5722;
}

.quantity-value {
  min-width: 30px;
  text-align: center;
  font-weight: 600;
  color: var(--text);
}

.cart-item-total {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  min-width: 100px;
  text-align: right;
}

.dark-mode .cart-item-total {
  color: #fff;
}

.cart-item-remove {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.cart-item-remove:hover {
  background: rgba(209, 67, 67, 0.1);
}

/* Cart Summary */
.cart-summary {
  position: sticky;
  top: 120px;
  width: 350px;
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  height: fit-content;
}

.cart-summary h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.dark-mode .cart-summary h2 {
  color: #fff;
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 1.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  color: rgba(17, 24, 39, 0.8);
}

.dark-mode .summary-row {
  color: rgba(229, 231, 235, 0.9);
}

.summary-row.summary-total {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.5rem;
}

.dark-mode .summary-row.summary-total {
  color: #fff;
}

.btn-checkout {
  width: 100%;
  margin-bottom: 1rem;
}

/* Checkout Page Styles */
.checkout-section {
  padding: 3rem 0;
}

.checkout-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: flex-start;
}

.checkout-form-container {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2.5rem;
}

.checkout-form-container h2 {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.dark-mode .checkout-form-container h2 {
  color: #fff;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  background: var(--background);
  font: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary);
}

.form-group input.error,
.form-group select.error {
  border-color: #d14343;
}

.error-message {
  display: block;
  color: #d14343;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn-submit-order {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem;
  font-size: 1.1rem;
}

.btn-submit-order:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Checkout Summary */
.checkout-summary {
  position: sticky;
  top: 120px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  height: fit-content;
}

.checkout-summary h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.dark-mode .checkout-summary h2 {
  color: #fff;
}

.checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--card-border);
  max-height: 400px;
  overflow-y: auto;
}

.checkout-item {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.checkout-item-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--accent);
  flex-shrink: 0;
}

.checkout-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-item-details {
  flex: 1;
}

.checkout-item-details h4 {
  font-size: 0.9rem;
  color: var(--primary);
  margin: 0 0 0.25rem 0;
  font-weight: 600;
}

.dark-mode .checkout-item-details h4 {
  color: #fff;
}

.checkout-item-details p {
  font-size: 0.85rem;
  color: rgba(17, 24, 39, 0.7);
  margin: 0.25rem 0;
}

.dark-mode .checkout-item-details p {
  color: rgba(229, 231, 235, 0.8);
}

.checkout-item-price {
  font-weight: 700;
  color: var(--secondary);
}

.checkout-summary-totals {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Order Success Message */
.order-success-message {
  text-align: center;
  padding: 4rem 2rem;
}

.success-content {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 3rem;
}

.success-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
}

.success-content h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.dark-mode .success-content h2 {
  color: #fff;
}

.success-content p {
  color: rgba(17, 24, 39, 0.7);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.dark-mode .success-content p {
  color: rgba(229, 231, 235, 0.8);
}

.order-id {
  font-weight: 700;
  color: var(--secondary);
  font-size: 1.2rem;
}

/* Responsive Styles for ECommerce */
@media (max-width: 992px) {
  .cart-content {
    flex-direction: column;
  }
  
  .cart-summary {
    width: 100%;
    position: static;
  }
  
  .checkout-content {
    grid-template-columns: 1fr;
  }
  
  .checkout-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .cart-item {
    grid-template-columns: 100px 1fr;
    gap: 1rem;
  }
  
  .cart-item-quantity,
  .cart-item-total,
  .cart-item-remove {
    grid-column: 1 / -1;
  }
  
  .cart-item-quantity {
    justify-self: start;
  }
  
  .cart-item-total {
    justify-self: end;
    text-align: right;
  }
  
  .cart-item-remove {
    justify-self: end;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .toast-message {
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
}

@media (max-width: 576px) {
  .products-grid-ecommerce {
    grid-template-columns: 1fr;
  }
  
  .search-container {
    padding: 0 1rem;
  }
  
  .checkout-form-container {
    padding: 1.5rem;
  }
  
  .cart-summary,
  .checkout-summary {
    padding: 1.5rem;
  }
}

/* ============================================
   ADVANCED PRODUCTS PAGE STYLES
   ============================================ */

/* Hero Section Enhancements */
.products-hero {
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.hero-text-wrapper {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

.hero-title-animated {
  animation: slideInLeft 1s ease-out 0.3s both;
}

.hero-subtitle-animated {
  animation: slideInRight 1s ease-out 0.5s both;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Featured Products Slider */
.featured-products-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--accent) 0%, rgba(255, 107, 53, 0.05) 100%);
}

.section-header-modern {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title-modern {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.dark-mode .section-title-modern {
  color: #fff;
}

.title-accent {
  font-size: 1.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.section-subtitle {
  font-size: 1.1rem;
  color: rgba(17, 24, 39, 0.7);
}

.dark-mode .section-subtitle {
  color: rgba(229, 231, 235, 0.8);
}

.featured-slider-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

.featured-slider {
  display: flex;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.featured-slide {
  min-width: 100%;
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: translateX(20px);
}

.featured-slide.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.featured-slide-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: var(--card-bg);
  padding: 3rem;
  align-items: center;
}

.featured-slide-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
}

.featured-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-slide.active .featured-slide-image img {
  animation: zoomIn 8s ease-in-out infinite;
}

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--secondary), #FF5722);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.featured-slide-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.featured-category {
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.featured-slide-info h3 {
  font-size: 2rem;
  color: var(--primary);
  margin: 0;
}

.dark-mode .featured-slide-info h3 {
  color: #fff;
}

.featured-slide-info p {
  color: rgba(17, 24, 39, 0.7);
  line-height: 1.7;
  font-size: 1.05rem;
}

.dark-mode .featured-slide-info p {
  color: rgba(229, 231, 235, 0.8);
}

.featured-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 1rem 0;
}

.featured-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
  transform: translateY(-50%) scale(1.1);
}

.slider-btn-prev {
  left: 0;
}

.slider-btn-next {
  right: 0;
}

.slider-dots-container {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--card-border);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot:hover {
  border-color: var(--secondary);
  transform: scale(1.2);
}

.slider-dot.active {
  background: var(--secondary);
  border-color: var(--secondary);
  width: 32px;
  border-radius: 6px;
}

/* Advanced Products Layout */
.products-layout-advanced {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  padding: 3rem 0;
}

.products-sidebar-advanced {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem;
  height: fit-content;
  position: sticky;
  top: 120px;
  transition: transform 0.3s ease;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--card-border);
}

.sidebar-header h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0;
}

.dark-mode .sidebar-header h3 {
  color: #fff;
}

.sidebar-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 0.5rem;
  cursor: pointer;
  font-size: 1.25rem;
}

.filter-group {
  margin-bottom: 2rem;
}

.filter-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
  font-size: 0.95rem;
}

.search-container-advanced {
  position: relative;
}

.search-input-advanced {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.5rem;
  border-radius: 12px;
  border: 2px solid var(--card-border);
  background: var(--background);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.search-input-advanced:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.search-icon-advanced {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  pointer-events: none;
}

.category-filters {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.category-dropdown {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--background);
  border: 2px solid var(--card-border);
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
}

.category-dropdown:hover {
  border-color: var(--secondary);
  background-color: rgba(255, 107, 53, 0.05);
}

.category-dropdown:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.category-dropdown option {
  padding: 0.5rem;
  background: var(--background);
  color: var(--text);
}

.category-filter-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--background);
  border: 2px solid var(--card-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  font-size: 0.95rem;
  color: var(--text);
}

.category-filter-btn:hover {
  border-color: var(--secondary);
  background: rgba(255, 107, 53, 0.05);
  transform: translateX(5px);
}

.category-filter-btn.active {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 87, 34, 0.1));
  border-color: var(--secondary);
  color: var(--secondary);
  font-weight: 600;
}

.filter-icon {
  font-size: 1.25rem;
}

.filter-count {
  margin-left: auto;
  background: var(--accent);
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.category-filter-btn.active .filter-count {
  background: var(--secondary);
  color: #fff;
}

.price-filter {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-inputs input {
  flex: 1;
  padding: 0.75rem;
  border-radius: 8px;
  border: 2px solid var(--card-border);
  background: var(--background);
  font-size: 0.9rem;
}

.price-inputs span {
  color: var(--text);
  font-weight: 600;
}

.btn-filter-apply {
  width: 100%;
  padding: 0.75rem;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-filter-apply:hover {
  background: #FF5722;
}

.sort-select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 2px solid var(--card-border);
  background: var(--background);
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.sort-select:focus {
  outline: none;
  border-color: var(--secondary);
}

.btn-clear-filters {
  width: 100%;
  padding: 0.85rem;
  background: transparent;
  border: 2px solid var(--card-border);
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.btn-clear-filters:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  background: rgba(255, 107, 53, 0.05);
}

/* Products Content Area */
.products-content-area {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.products-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
}

.results-info {
  font-weight: 600;
  color: var(--text);
  font-size: 1.05rem;
}

.view-toggle {
  display: flex;
  gap: 0.5rem;
  background: var(--accent);
  padding: 0.25rem;
  border-radius: 8px;
}

.view-btn {
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--text);
  transition: all 0.3s ease;
}

.view-btn.active {
  background: var(--card-bg);
  color: var(--secondary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Advanced Product Grid */
.products-grid-advanced {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.products-list-advanced {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-card-advanced {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px);
}

.product-card-advanced.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.product-card-advanced:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(255, 107, 53, 0.2);
  border-color: var(--secondary);
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--accent);
}

.product-image-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.product-image.active {
  opacity: 1;
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card-advanced:hover .product-overlay {
  opacity: 1;
}

.product-actions {
  display: flex;
  gap: 0.75rem;
}

.product-action-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.product-action-btn:hover {
  background: var(--secondary);
  color: #fff;
  transform: scale(1.1);
}

.product-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 2;
}

.product-badge {
  padding: 0.4rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.badge-featured {
  background: linear-gradient(135deg, var(--secondary), #FF5722);
  color: #fff;
}

.badge-category {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
}

.product-info-advanced {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-category-badge {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-name-advanced {
    font-size: 1.25rem;
    color: var(--primary);
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s 
ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dark-mode .product-name-advanced {
  color: #fff;
}

.product-card-advanced:hover .product-name-advanced {
  color: var(--secondary);
}

.product-description-advanced {
  font-size: 0.9rem;
  color: rgba(17, 24, 39, 0.7);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dark-mode .product-description-advanced {
  color: rgba(229, 231, 235, 0.8);
}

.product-price-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.5rem 0;
}

.product-price-advanced {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--secondary);
}

.product-savings {
  font-size: 0.75rem;
  color: #0f5c2e;
  background: #e6f6ed;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-weight: 600;
}

.btn-add-cart-advanced {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.btn-icon {
  font-size: 1.1rem;
}

/* List View Styles */
.product-card-list {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.product-card-list:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.15);
  border-color: var(--secondary);
}

.product-card-list .product-image-wrapper {
  aspect-ratio: 1;
  border-radius: 12px;
}

.product-card-list .product-info-advanced {
  padding: 0;
}

.product-card-list .btn-add-cart-advanced {
  width: auto;
  min-width: 150px;
}

/* No Products Message */
.no-products-message-advanced {
  text-align: center;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.no-products-icon {
  font-size: 4rem;
  opacity: 0.5;
}

.no-products-message-advanced h3 {
  font-size: 1.75rem;
  color: var(--primary);
  margin: 0;
}

.dark-mode .no-products-message-advanced h3 {
  color: #fff;
}

.no-products-message-advanced p {
  color: rgba(17, 24, 39, 0.7);
  font-size: 1.1rem;
}

.dark-mode .no-products-message-advanced p {
  color: rgba(229, 231, 235, 0.8);
}

/* Loading Animation */
.products-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  gap: 1.5rem;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--accent);
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.products-loading p {
  color: var(--text);
  font-weight: 600;
}

/* Cart Badge Animation */
.cart-badge.badge-pulse {
  animation: pulseBadge 0.6s ease;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

/* Enhanced Toast */
.toast-message.toast-success {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
}

.toast-icon {
  font-size: 1.5rem;
  background: #0f5c2e;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.toast-content strong {
  font-size: 1rem;
  color: var(--text);
}

.toast-content p {
  font-size: 0.85rem;
  color: rgba(17, 24, 39, 0.7);
  margin: 0;
}

.dark-mode .toast-content p {
  color: rgba(229, 231, 235, 0.8);
}

/* Responsive Styles for Advanced Products */
@media (max-width: 992px) {
  .products-layout-advanced {
    grid-template-columns: 1fr;
  }
  
  .products-sidebar-advanced {
    position: static;
    margin-bottom: 2rem;
  }
  
  .sidebar-toggle {
    display: block;
  }
  
  .products-sidebar-advanced:not(.sidebar-open) {
    display: none;
  }
  
  .products-sidebar-advanced.sidebar-open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: var(--background);
    border-radius: 0;
    padding: 1.5rem;
    overflow-y: auto;
    margin: 0;
    max-height: 100vh;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }
  
  .products-sidebar-advanced.sidebar-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    animation: fadeIn 0.3s ease;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  .sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--card-border);
  }
  
  .sidebar-header h3 {
    margin: 0;
    font-size: 1.5rem;
  }
  
  .sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
  }
  
  .sidebar-toggle:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--secondary);
  }
  
  .sidebar-toggle .toggle-icon,
  .sidebar-toggle .close-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-size: 1.5rem;
    line-height: 1;
  }
  
  .sidebar-toggle .close-icon {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    pointer-events: none;
  }
  
  .products-sidebar-advanced.sidebar-open .sidebar-toggle .toggle-icon {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    pointer-events: none;
  }
  
  .products-sidebar-advanced.sidebar-open .sidebar-toggle .close-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
    display: block;
  }
  
  .products-sidebar-advanced:not(.sidebar-open) .sidebar-toggle .close-icon {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    pointer-events: none;
  }
  
  .products-sidebar-advanced:not(.sidebar-open) .sidebar-toggle .toggle-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
  }
  
  /* Mobile Filter Button */
  .mobile-filter-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
    align-items: center;
    gap: 0.5rem;
  }
  
  .mobile-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
  }
  
  .mobile-filter-btn:active {
    transform: translateY(0);
  }
  
  .filter-icon-mobile {
    font-size: 1.2rem;
  }
  
  .filter-badge-mobile {
    background: rgba(255, 255, 255, 0.3);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.85rem;
    min-width: 20px;
    text-align: center;
  }
  
  .filter-badge-mobile:empty {
    display: none;
  }
  
  .featured-slide-content {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  
  .featured-slider-wrapper {
    padding: 0 1rem;
  }
}

@media (max-width: 768px) {
  .mobile-filter-btn {
    display: flex;
  }
  
  .products-sidebar-advanced.sidebar-open {
    padding: 1rem;
  }
  
  .sidebar-header {
    position: sticky;
    top: 0;
    background: var(--background);
    z-index: 10;
    padding: 1rem 0;
    margin-bottom: 1rem;
  }
  
  .filter-group {
    margin-bottom: 1.5rem;
  }
  
  .category-filter-btn {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .price-inputs {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .price-inputs input {
    width: 100%;
  }
  
  .btn-filter-apply,
  .btn-clear-filters {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .products-grid-advanced {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .product-card-list {
    grid-template-columns: 150px 1fr;
  }
  
  .product-card-list .btn-add-cart-advanced {
    grid-column: 1 / -1;
    width: 100%;
  }
  
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
  
  .featured-actions {
    flex-direction: column;
  }
  
  .featured-actions .btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .products-grid-advanced {
    grid-template-columns: 1fr;
  }
  
  .products-header-bar {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .view-toggle {
    justify-content: center;
  }
}

/* ============================================
   ADVANCED PRODUCT DETAIL PAGE STYLES
   ============================================ */

.product-hero-advanced {
  padding: 3rem 0;
  background: var(--background);
}

.breadcrumbs-advanced {
  margin-bottom: 2rem;
  padding: 1rem 0;
}

.breadcrumbs-advanced a,
.breadcrumbs-advanced span {
  color: rgba(17, 24, 39, 0.7);
  font-size: 0.9rem;
}

.breadcrumbs-advanced a:hover {
  color: var(--secondary);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Image Gallery */
.product-gallery-section {
  position: sticky;
  top: 120px;
}

.gallery-main-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  background: var(--accent);
  margin-bottom: 1rem;
  cursor: zoom-in;
}

.gallery-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-main-image:hover img {
  transform: scale(1.05);
}

.gallery-zoom-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  opacity: 0;
}

.gallery-main-image:hover .gallery-zoom-btn {
  opacity: 1;
}

.gallery-zoom-btn:hover {
  background: var(--secondary);
  color: #fff;
  transform: scale(1.1);
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.gallery-thumbnail {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  background: var(--accent);
}

.gallery-thumbnail:hover,
.gallery-thumbnail.active {
  border-color: var(--secondary);
  transform: scale(1.05);
}

.gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info Section */
.product-info-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.product-header-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-category-badge-large {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 107, 53, 0.1);
  color: var(--secondary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
}

.product-title-advanced {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary);
  margin: 0;
  line-height: 1.2;
}

.dark-mode .product-title-advanced {
  color: #fff;
}

.product-rating-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-stars {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  color: #ffc107;
}

.rating-text {
  color: rgba(17, 24, 39, 0.7);
  font-size: 0.9rem;
}

.dark-mode .rating-text {
  color: rgba(229, 231, 235, 0.8);
}

.product-price-section-large {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 87, 34, 0.05));
  border-radius: 16px;
  border: 2px solid rgba(255, 107, 53, 0.2);
}

.product-price-main {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
}

.product-price-label {
  font-size: 0.9rem;
  color: rgba(17, 24, 39, 0.7);
}

.dark-mode .product-price-label {
  color: rgba(229, 231, 235, 0.8);
}

.product-description-short {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(17, 24, 39, 0.8);
}

.dark-mode .product-description-short {
  color: rgba(229, 231, 235, 0.9);
}

.product-features-quick {
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
}

.product-features-quick h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.dark-mode .product-features-quick h3 {
  color: #fff;
}

.features-list-quick {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.features-list-quick li {
  padding-left: 1.5rem;
  position: relative;
  color: rgba(17, 24, 39, 0.8);
  line-height: 1.6;
}

.features-list-quick li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.1rem;
}

.dark-mode .features-list-quick li {
  color: rgba(229, 231, 235, 0.9);
}

/* Product Actions */
.product-actions-advanced {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quantity-selector label {
  font-weight: 600;
  color: var(--text);
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  padding: 0.25rem;
  border-radius: 12px;
}

.qty-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--card-bg);
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.qty-btn:hover {
  background: var(--secondary);
  color: #fff;
  transform: scale(1.1);
}

#product-quantity {
  width: 60px;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.btn-add-cart-large {
  padding: 1.25rem 2rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.btn-wishlist {
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.product-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.1);
}

.info-card-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.info-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.info-card-content strong {
  font-size: 0.9rem;
  color: var(--primary);
}

.dark-mode .info-card-content strong {
  color: #fff;
}

.info-card-content p {
  font-size: 0.8rem;
  color: rgba(17, 24, 39, 0.7);
  margin: 0;
}

.dark-mode .info-card-content p {
  color: rgba(229, 231, 235, 0.8);
}

/* Advanced Tabs */
.product-detail-content-advanced {
  padding: 4rem 0;
  background: var(--accent);
}

.product-tabs-advanced {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--card-border);
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn-advanced {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: -2px;
}

.tab-btn-advanced:hover {
  color: var(--secondary);
  background: rgba(255, 107, 53, 0.05);
}

.tab-btn-advanced.active {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
  background: rgba(255, 107, 53, 0.05);
}

.tab-icon {
  font-size: 1.1rem;
}

.tab-content-advanced {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content-advanced.active {
  display: block;
}

.content-section-advanced {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--card-border);
}

.content-section-advanced h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.dark-mode .content-section-advanced h2 {
  color: #fff;
}

.product-description-full {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(17, 24, 39, 0.8);
}

.dark-mode .product-description-full {
  color: rgba(229, 231, 235, 0.9);
}

.features-list-advanced {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item-advanced {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--accent);
  border-radius: 16px;
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
}

.feature-item-advanced:hover {
  border-color: var(--secondary);
  transform: translateX(5px);
}

.feature-icon-advanced {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.1);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-item-advanced h4 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.dark-mode .feature-item-advanced h4 {
  color: #fff;
}

.feature-item-advanced p {
  color: rgba(17, 24, 39, 0.7);
  margin: 0;
  line-height: 1.7;
}

.dark-mode .feature-item-advanced p {
  color: rgba(229, 231, 235, 0.8);
}

/* Reviews Section */
.reviews-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.reviews-summary {
  padding: 2rem;
  background: var(--accent);
  border-radius: 16px;
  text-align: center;
}

.reviews-rating-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.rating-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
}

.rating-stars-large {
  font-size: 1.5rem;
  color: #ffc107;
}

.rating-count {
  color: rgba(17, 24, 39, 0.7);
  font-size: 0.95rem;
}

.dark-mode .rating-count {
  color: rgba(229, 231, 235, 0.8);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.review-item {
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
}

.reviewer-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.reviewer-info strong {
  color: var(--primary);
  font-size: 1.05rem;
}

.dark-mode .reviewer-info strong {
  color: #fff;
}

.review-stars {
  color: #ffc107;
  font-size: 0.9rem;
}

.review-date {
  color: rgba(17, 24, 39, 0.6);
  font-size: 0.85rem;
}

.dark-mode .review-date {
  color: rgba(229, 231, 235, 0.7);
}

.review-text {
  color: rgba(17, 24, 39, 0.8);
  line-height: 1.7;
  margin: 0;
}

.dark-mode .review-text {
  color: rgba(229, 231, 235, 0.9);
}

/* Related Products */
.related-products-advanced {
  padding: 4rem 0;
  background: var(--background);
}

.section-heading-advanced {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading-advanced h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.dark-mode .section-heading-advanced h2 {
  color: #fff;
}

.section-heading-advanced p {
  color: rgba(17, 24, 39, 0.7);
  font-size: 1.1rem;
}

.dark-mode .section-heading-advanced p {
  color: rgba(229, 231, 235, 0.8);
}

.related-products-slider {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

/* Image Zoom Modal */
.image-zoom-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.image-zoom-modal.active {
  display: flex;
}

.modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: rotate(90deg);
}

#zoomed-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Responsive Product Detail */
@media (max-width: 992px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .product-gallery-section {
    position: static;
  }
  
  .product-info-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .gallery-thumbnails {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .product-tabs-advanced {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .tab-btn-advanced {
    white-space: nowrap;
    padding: 0.85rem 1.25rem;
  }
  
  .related-products-slider {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .gallery-thumbnails {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-actions-advanced {
    gap: 0.75rem;
  }
  
  .btn-add-cart-large,
  .btn-wishlist {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  
  .content-section-advanced {
    padding: 1.5rem;
  }
}

/* ============================================
   COMPREHENSIVE DARK MODE FIXES
   ============================================ */

/* Dark Mode - Advanced Products Section */
.dark-mode .products-search-section {
  background: #1a1a1a;
}

.dark-mode .search-input {
  background: #1a1a1a;
  border-color: rgba(255, 107, 53, 0.3);
  color: #e5e7eb;
}

.dark-mode .search-input:focus {
  border-color: var(--secondary);
  background: #1a1a1a;
}

.dark-mode .featured-products-section {
  background: linear-gradient(135deg, #1a1a1a 0%, rgba(255, 107, 53, 0.05) 100%);
}

.dark-mode .featured-slide-content {
  background: #1a1a1a;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.dark-mode .slider-btn {
  background: #1a1a1a;
  border-color: rgba(255, 107, 53, 0.3);
  color: #e5e7eb;
}

.dark-mode .slider-btn:hover {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

.dark-mode .slider-dot {
  border-color: rgba(255, 107, 53, 0.3);
}

.dark-mode .slider-dot:hover {
  border-color: var(--secondary);
}

.dark-mode .slider-dot.active {
  background: var(--secondary);
  border-color: var(--secondary);
}

/* Dark Mode - Sidebar Filters */
.dark-mode .products-sidebar-advanced {
  background: #1a1a1a;
  border-color: rgba(255, 107, 53, 0.2);
}

.dark-mode .filter-label {
  color: #e5e7eb;
}

.dark-mode .search-input-advanced {
  background: #000000;
  border-color: rgba(255, 107, 53, 0.3);
  color: #e5e7eb;
}

.dark-mode .search-input-advanced:focus {
  border-color: var(--secondary);
  background: #000000;
}

.dark-mode .category-dropdown {
  background: #000000;
  border-color: rgba(255, 107, 53, 0.3);
  color: #e5e7eb;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23e5e7eb' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
}

.dark-mode .category-dropdown:hover {
  background-color: rgba(255, 107, 53, 0.1);
  border-color: var(--secondary);
}

.dark-mode .category-dropdown:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.dark-mode .category-dropdown option {
  background: #000000;
  color: #e5e7eb;
}

.dark-mode .category-filter-btn {
  background: #000000;
  border-color: rgba(255, 107, 53, 0.3);
  color: #e5e7eb;
}

.dark-mode .category-filter-btn:hover {
  background: rgba(255, 107, 53, 0.1);
  border-color: var(--secondary);
}

.dark-mode .category-filter-btn.active {
  background: rgba(255, 107, 53, 0.15);
  border-color: var(--secondary);
  color: var(--secondary);
}

.dark-mode .filter-count {
  background: rgba(255, 107, 53, 0.2);
  color: #e5e7eb;
}

.dark-mode .category-filter-btn.active .filter-count {
  background: var(--secondary);
  color: #fff;
}

.dark-mode .price-inputs input {
  background: #000000;
  border-color: rgba(255, 107, 53, 0.3);
  color: #e5e7eb;
}

.dark-mode .price-inputs input:focus {
  border-color: var(--secondary);
  background: #000000;
}

.dark-mode .price-inputs span {
  color: #e5e7eb;
}

.dark-mode .sort-select {
  background: #000000;
  border-color: rgba(255, 107, 53, 0.3);
  color: #e5e7eb;
}

.dark-mode .sort-select:focus {
  border-color: var(--secondary);
}

.dark-mode .btn-clear-filters {
  border-color: rgba(255, 107, 53, 0.3);
  color: #e5e7eb;
}

.dark-mode .btn-clear-filters:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  background: rgba(255, 107, 53, 0.1);
}

/* Dark Mode - Products Header Bar */
.dark-mode .products-header-bar {
  background: #1a1a1a;
  border-color: rgba(255, 107, 53, 0.2);
}

.dark-mode .results-info {
  color: #e5e7eb;
}

.dark-mode .view-toggle {
  background: #000000;
}

.dark-mode .view-btn {
  color: #e5e7eb;
}

.dark-mode .view-btn.active {
  background: #1a1a1a;
  color: var(--secondary);
}

/* Dark Mode - Advanced Product Cards */
.dark-mode .product-card-advanced {
  background: #1a1a1a;
  border-color: rgba(255, 107, 53, 0.2);
}

.dark-mode .product-card-advanced:hover {
  border-color: var(--secondary);
  box-shadow: 0 25px 50px rgba(255, 107, 53, 0.3);
}

.dark-mode .product-image-wrapper {
  background: #000000;
}

.dark-mode .product-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.dark-mode .product-action-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.dark-mode .product-action-btn:hover {
  background: var(--secondary);
  color: #fff;
}

.dark-mode .badge-category {
  background: rgba(0, 0, 0, 0.7);
  color: #e5e7eb;
}

.dark-mode .product-info-advanced {
  background: transparent;
}

.dark-mode .product-card-list {
  background: #1a1a1a;
  border-color: rgba(255, 107, 53, 0.2);
}

.dark-mode .product-card-list:hover {
  border-color: var(--secondary);
}

/* Dark Mode - No Products Message */
.dark-mode .no-products-message-advanced p {
  color: rgba(229, 231, 235, 0.8);
}

.dark-mode .products-loading p {
  color: #e5e7eb;
}

.dark-mode .loading-spinner {
  border-color: rgba(255, 107, 53, 0.2);
  border-top-color: var(--secondary);
}

/* Dark Mode - Product Detail Page Advanced */
.dark-mode .product-hero-advanced {
  background: #000000;
}

.dark-mode .breadcrumbs-advanced a,
.dark-mode .breadcrumbs-advanced span {
  color: rgba(229, 231, 235, 0.7);
}

.dark-mode .breadcrumbs-advanced a:hover {
  color: var(--secondary);
}

.dark-mode .product-detail-layout {
  color: #e5e7eb;
}

.dark-mode .gallery-main-image {
  background: #1a1a1a;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.dark-mode .gallery-thumbnail {
  border-color: rgba(255, 107, 53, 0.3);
}

.dark-mode .gallery-thumbnail:hover,
.dark-mode .gallery-thumbnail.active {
  border-color: var(--secondary);
}

.dark-mode .gallery-zoom-btn {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark-mode .gallery-zoom-btn:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}

.dark-mode .product-info-section {
  color: #e5e7eb;
}

.dark-mode .product-price-section-large {
  background: rgba(255, 107, 53, 0.15);
  border-color: rgba(255, 107, 53, 0.3);
}

.dark-mode .product-features-quick {
  background: #1a1a1a;
  border-color: rgba(255, 107, 53, 0.2);
}

.dark-mode .quantity-controls {
  background: #000000;
}

.dark-mode .qty-btn {
  background: #1a1a1a;
  color: #e5e7eb;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.dark-mode .qty-btn:hover {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

.dark-mode #product-quantity {
  color: #e5e7eb;
}

.dark-mode .btn-wishlist {
  border-color: rgba(255, 107, 53, 0.3);
  color: #e5e7eb;
}

.dark-mode .btn-wishlist:hover {
  border-color: var(--secondary);
  background: rgba(255, 107, 53, 0.1);
}

.dark-mode .info-card {
  background: #1a1a1a;
  border-color: rgba(255, 107, 53, 0.2);
}

.dark-mode .info-card:hover {
  border-color: var(--secondary);
}

/* Dark Mode - Advanced Tabs */
.dark-mode .product-detail-content-advanced {
  background: #1a1a1a;
}

.dark-mode .product-tabs-advanced {
  border-bottom-color: rgba(255, 107, 53, 0.2);
}

.dark-mode .tab-btn-advanced {
  color: rgba(229, 231, 235, 0.8);
}

.dark-mode .tab-btn-advanced:hover {
  color: var(--secondary);
  background: rgba(255, 107, 53, 0.1);
}

.dark-mode .tab-btn-advanced.active {
  color: var(--secondary);
  background: rgba(255, 107, 53, 0.1);
  border-bottom-color: var(--secondary);
}

.dark-mode .content-section-advanced {
  background: #000000;
  border-color: rgba(255, 107, 53, 0.2);
}

.dark-mode .feature-item-advanced {
  background: #1a1a1a;
  border-color: rgba(255, 107, 53, 0.2);
}

.dark-mode .feature-item-advanced:hover {
  border-color: var(--secondary);
}

.dark-mode .feature-icon-advanced {
  background: rgba(255, 107, 53, 0.2);
  color: var(--secondary);
}

/* Dark Mode - Reviews Section */
.dark-mode .reviews-summary {
  background: #000000;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.dark-mode .review-item {
  background: #1a1a1a;
  border-color: rgba(255, 107, 53, 0.2);
}

/* Dark Mode - Related Products */
.dark-mode .related-products-advanced {
  background: #000000;
}

/* Dark Mode - Image Zoom Modal */
.dark-mode .image-zoom-modal {
  background: rgba(0, 0, 0, 0.98);
}

.dark-mode .modal-close {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.dark-mode .modal-close:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}

/* Dark Mode - Toast Messages */
.dark-mode .toast-message {
  background: #1a1a1a;
  border-color: rgba(255, 107, 53, 0.3);
  color: #e5e7eb;
}

.dark-mode .toast-content strong {
  color: #e5e7eb;
}

.dark-mode .toast-content p {
  color: rgba(229, 231, 235, 0.8);
}

/* Dark Mode - Additional Fixes */
.dark-mode .products-main-section {
  background: var(--background);
}

.dark-mode .products-showcase {
  background: var(--background);
}

.dark-mode .hero-scroll-indicator {
  color: rgba(255, 255, 255, 0.8);
}

.dark-mode .section-heading-advanced p {
  color: rgba(229, 231, 235, 0.8);
}

.dark-mode .related-products-slider .product-card-advanced {
  background: #1a1a1a;
  border-color: rgba(255, 107, 53, 0.2);
}

/* Dark Mode - Form Elements */
.dark-mode input[type="text"],
.dark-mode input[type="email"],
.dark-mode input[type="tel"],
.dark-mode input[type="number"],
.dark-mode textarea,
.dark-mode select {
  background: #000000;
  border-color: rgba(255, 107, 53, 0.3);
  color: #e5e7eb;
}

.dark-mode input[type="text"]:focus,
.dark-mode input[type="email"]:focus,
.dark-mode input[type="tel"]:focus,
.dark-mode input[type="number"]:focus,
.dark-mode textarea:focus,
.dark-mode select:focus {
  border-color: var(--secondary);
  background: #000000;
  color: #e5e7eb;
}

.dark-mode input::placeholder,
.dark-mode textarea::placeholder {
  color: rgba(229, 231, 235, 0.5);
}

/* Dark Mode - Navigation Links */
.dark-mode nav a {
  color: rgba(229, 231, 235, 0.9);
}

.dark-mode .nav-dropdown-menu {
  background: #000000;
  border-color: rgba(255, 107, 53, 0.3);
}

.dark-mode .nav-dropdown-menu a {
  color: #e5e7eb;
}

.dark-mode .nav-dropdown-menu a:hover {
  background: rgba(255, 107, 53, 0.15);
  color: var(--secondary);
}

.dark-mode .nav-dropdown-menu .dropdown-view-all {
  border-color: rgba(255, 107, 53, 0.3);
}

.dark-mode .mobile-category-toggle {
  color: rgba(229, 231, 235, 0.9);
}

.dark-mode .mobile-category-toggle:hover {
  color: var(--secondary);
}

.dark-mode .mobile-category-links a {
  color: #e5e7eb;
}

.dark-mode .mobile-category-links a:hover {
  color: var(--secondary);
}

.dark-mode .mobile-nav {
  border-top-color: rgba(255, 107, 53, 0.2);
}

.dark-mode .mobile-nav a {
  color: rgba(229, 231, 235, 0.9);
}

.dark-mode .mobile-nav a:hover {
  color: var(--secondary);
}

/* Dark Mode - Breadcrumbs */
.dark-mode .breadcrumbs a {
  color: rgba(229, 231, 235, 0.8);
}

.dark-mode .breadcrumbs span {
  color: rgba(229, 231, 235, 0.5);
}

/* Dark Mode - Button Hover States */
.dark-mode .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.dark-mode .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Dark Mode - Cart Icon */
.dark-mode .cart-icon-link {
  color: #e5e7eb;
}

/* Dark Mode - Hamburger Menu */
.dark-mode .hamburger span {
  background: #e5e7eb;
}

/* Dark Mode - Dark Toggle Button */
.dark-mode .dark-toggle {
  border-color: rgba(255, 107, 53, 0.3);
  color: #e5e7eb;
}

.dark-mode .dark-toggle:hover {
  background: rgba(255, 107, 53, 0.1);
}

/* Dark Mode - Additional Text Colors */
.dark-mode .product-category-badge {
  background: rgba(255, 107, 53, 0.2);
  color: var(--secondary);
}

.dark-mode .product-category-badge-large {
  background: rgba(255, 107, 53, 0.2);
  color: var(--secondary);
}

.dark-mode .product-savings {
  background: rgba(15, 92, 46, 0.3);
  color: #4ade80;
}

/* Dark Mode - Rating Stars */
.dark-mode .product-stars,
.dark-mode .rating-stars-large,
.dark-mode .review-stars {
  color: #ffc107;
}

/* Dark Mode - Price Display */
.dark-mode .product-price-main {
  color: var(--secondary);
}

/* Dark Mode - Quantity Input */
.dark-mode .quantity-value {
  color: #e5e7eb;
}

/* Dark Mode - Info Cards Text */
.dark-mode .info-card-content strong {
  color: #fff;
}

/* Dark Mode - Feature Items */
.dark-mode .features-list-quick li {
  color: rgba(229, 231, 235, 0.9);
}

.dark-mode .features-list-quick li::before {
  color: var(--secondary);
}

/* Dark Mode - Compliance and Packaging Content */
.dark-mode .compliance-content,
.dark-mode .packaging-content {
  color: rgba(229, 231, 235, 0.9);
}

/* Dark Mode - Reviewer Info */
.dark-mode .reviewer-info strong {
  color: #fff;
}

/* Dark Mode - Rating Count */
.dark-mode .rating-count {
  color: rgba(229, 231, 235, 0.8);
}

/* Dark Mode - Review Date */
.dark-mode .review-date {
  color: rgba(229, 231, 235, 0.6);
}

/* Dark Mode - Review Text */
.dark-mode .review-text {
  color: rgba(229, 231, 235, 0.9);
}

/* Dark Mode - Sidebar Toggle */
.dark-mode .sidebar-toggle {
  border-color: rgba(255, 107, 53, 0.3);
  color: #e5e7eb;
}

.dark-mode .sidebar-toggle:hover {
  background: rgba(255, 107, 53, 0.1);
  border-color: var(--secondary);
}

/* Dark Mode - Filter Apply Button */
.dark-mode .btn-filter-apply {
  background: var(--secondary);
  color: #fff;
}

.dark-mode .btn-filter-apply:hover {
  background: #FF5722;
}

/* Dark Mode - Empty Cart Icon */
.dark-mode .empty-cart-icon,
.dark-mode .no-products-icon {
  opacity: 0.6;
}

/* Dark Mode - Success Icon */
.dark-mode .success-icon {
  opacity: 1;
}

/* Dark Mode - Hero Overlay */
.dark-mode .hero-overlay {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.8));
}

/* Dark Mode - Featured Badge */
.dark-mode .featured-badge {
  background: linear-gradient(135deg, var(--secondary), #FF5722);
  color: #fff;
}

/* Dark Mode - Category Badge in Cards */
.dark-mode .product-category-badge {
  color: var(--secondary);
}

/* Dark Mode - Product Price Section */
.dark-mode .product-price-section {
  border-top: 1px solid rgba(255, 107, 53, 0.2);
  padding-top: 1rem;
  margin-top: 1rem;
}

/* Dark Mode - Additional Spacing Fixes */
.dark-mode .products-layout-advanced {
  background: var(--background);
}

.dark-mode .products-content-area {
  background: transparent;
}

/* Dark Mode - Additional Global Fixes */
.dark-mode .hero-content h1,
.dark-mode .hero-content h2,
.dark-mode .hero-content p {
  color: #fff;
}

.dark-mode .hero-content p {
  color: rgba(255, 255, 255, 0.9);
}

.dark-mode .section-heading h2 {
  color: #fff;
}

.dark-mode .section-heading p {
  color: rgba(229, 231, 235, 0.8);
}

.dark-mode .card h3,
.dark-mode .card h4 {
  color: #fff;
}

.dark-mode .card p {
  color: rgba(229, 231, 235, 0.8);
}

.dark-mode .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.dark-mode .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

/* Dark Mode - Links */
.dark-mode a {
  color: rgba(229, 231, 235, 0.9);
}

.dark-mode a:hover {
  color: var(--secondary);
}

.dark-mode footer a {
  color: rgba(255, 255, 255, 0.8);
}

.dark-mode footer a:hover {
  color: var(--secondary);
}

/* Dark Mode - Form Labels */
.dark-mode label {
  color: #e5e7eb;
}

/* Dark Mode - Select Options */
.dark-mode select option {
  background: #1a1a1a;
  color: #e5e7eb;
}

/* Dark Mode - Error Messages */
.dark-mode .error-message {
  color: #f87171;
}

.dark-mode input.error,
.dark-mode select.error,
.dark-mode textarea.error {
  border-color: #f87171;
  background: rgba(248, 113, 113, 0.1);
}

/* Dark Mode - Success Message */
.dark-mode .success-message {
  background: rgba(15, 92, 46, 0.2);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

/* Dark Mode - Empty States */
.dark-mode .empty-cart-message {
  background: transparent;
}

/* Dark Mode - Scrollbar (Optional Enhancement) */
.dark-mode ::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.dark-mode ::-webkit-scrollbar-track {
  background: #1a1a1a;
}

.dark-mode ::-webkit-scrollbar-thumb {
  background: rgba(255, 107, 53, 0.5);
  border-radius: 5px;
}

.dark-mode ::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 107, 53, 0.7);
}

/* ============================================
   AUTHENTICATION STYLES
   ============================================ */

.auth-section {
  padding: 4rem 0;
  min-height: 60vh;
}

.auth-container {
  max-width: 500px;
  margin: 0 auto;
}

.auth-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow);
}

.auth-card h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.auth-subtitle {
  color: rgba(17, 24, 39, 0.7);
  margin-bottom: 2rem;
}

.dark-mode .auth-subtitle {
  color: rgba(229, 231, 235, 0.8);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: var(--text);
}

.form-hint {
  font-size: 0.85rem;
  color: rgba(17, 24, 39, 0.6);
}

.dark-mode .form-hint {
  color: rgba(229, 231, 235, 0.6);
}

.btn-block {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.auth-footer {
  margin-top: 2rem;
  text-align: center;
  color: rgba(17, 24, 39, 0.7);
}

.dark-mode .auth-footer {
  color: rgba(229, 231, 235, 0.8);
}

.auth-footer a {
  color: var(--secondary);
  font-weight: 500;
}

.error-message {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(239, 68, 68, 0.3);
  margin-bottom: 1rem;
}

.success-message {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  margin-bottom: 1rem;
}

.auth-buttons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-name {
  color: var(--text);
  font-weight: 500;
}

.wishlist-icon-link {
  position: relative;
  color: var(--text);
  font-size: 1.5rem;
  text-decoration: none;
  margin-right: 0.5rem;
}

.wishlist-icon-link:hover {
  color: var(--secondary);
}

/* ============================================
   WISHLIST STYLES
   ============================================ */

.wishlist-section {
  padding: 4rem 0;
  min-height: 60vh;
}

.wishlist-login-prompt {
  text-align: center;
  padding: 4rem 2rem;
}

.login-prompt-content {
  max-width: 500px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 3rem;
}

.login-prompt-content h2 {
  margin-bottom: 1rem;
  color: var(--text);
}

.login-prompt-content p {
  margin-bottom: 2rem;
  color: rgba(17, 24, 39, 0.7);
}

.dark-mode .login-prompt-content p {
  color: rgba(229, 231, 235, 0.8);
}

.wishlist-container {
  padding: 2rem 0;
}

.wishlist-loading {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text);
}

.wishlist-empty {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-wishlist-content {
  max-width: 500px;
  margin: 0 auto;
}

.empty-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
}

.empty-wishlist-content h2 {
  margin-bottom: 1rem;
  color: var(--text);
}

.empty-wishlist-content p {
  margin-bottom: 2rem;
  color: rgba(17, 24, 39, 0.7);
}

.dark-mode .empty-wishlist-content p {
  color: rgba(229, 231, 235, 0.8);
}

.wishlist-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.wishlist-item-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.wishlist-item-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--secondary);
}

.wishlist-item-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--accent);
}

.wishlist-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wishlist-remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.wishlist-remove-btn:hover {
  background: #ef4444;
  color: #fff;
  transform: scale(1.1);
}

.wishlist-item-info {
  padding: 1.5rem;
}

.wishlist-item-category {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wishlist-item-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0.5rem 0;
  color: var(--text);
}

.wishlist-item-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.wishlist-item-actions {
  display: flex;
  gap: 0.75rem;
}

.wishlist-item-actions .btn {
  flex: 1;
}

.product-actions-bottom {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.product-actions-bottom .btn {
  flex: 1;
}

.wishlist-btn.in-wishlist {
  color: #ef4444;
}

.wishlist-btn.in-wishlist span {
  color: #ef4444;
}

/* Responsive */
@media (max-width: 768px) {
  .auth-card {
    padding: 2rem;
  }
  
  .wishlist-items-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .auth-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .user-menu {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 576px) {
  .wishlist-items-grid {
    grid-template-columns: 1fr;
  }
  
  .wishlist-item-actions {
    flex-direction: column;
  }
  
  .product-actions-bottom {
    flex-direction: column;
  }
}

/* ============================================
   STANDARD INDEX PAGE SECTIONS
   ============================================ */

/* Section Header Standard */
.section-header-standard {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--secondary);
  margin-bottom: 1rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 50px;
}

.dark-mode .section-label {
  background: rgba(255, 107, 53, 0.2);
  color: #ff8c5a;
}

.section-header-standard h2 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.dark-mode .section-header-standard h2 {
  color: #fff;
}

.section-header-standard p {
  font-size: 1.125rem;
  color: rgba(17, 24, 39, 0.7);
  line-height: 1.7;
}

.dark-mode .section-header-standard p {
  color: rgba(229, 231, 235, 0.8);
}

/* Features Section Standard */
.features-section-standard {
  padding: 6rem 0;
  background: var(--background);
}

.features-grid-standard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item-standard {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(17, 24, 39, 0.08);
  position: relative;
  overflow: hidden;
}

.feature-item-standard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), #ff8c5a);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-item-standard:hover::before {
  transform: scaleX(1);
}

.dark-mode .feature-item-standard {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.feature-item-standard:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 107, 53, 0.2);
}

.dark-mode .feature-item-standard:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon-box {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 140, 90, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.feature-item-standard:hover .feature-icon-box {
  background: linear-gradient(135deg, var(--secondary), #ff8c5a);
  transform: scale(1.1);
}

.feature-emoji {
  font-size: 2rem;
  display: block;
  transition: transform 0.3s ease;
}

.feature-item-standard:hover .feature-emoji {
  transform: scale(1.1);
}

.feature-item-standard h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.875rem;
  line-height: 1.3;
}

.dark-mode .feature-item-standard h3 {
  color: #fff;
}

.feature-item-standard p {
  color: rgba(17, 24, 39, 0.7);
  line-height: 1.7;
  font-size: 0.95rem;
}

.dark-mode .feature-item-standard p {
  color: rgba(229, 231, 235, 0.75);
}

/* Process Section Standard */
.process-section-standard {
  padding: 6rem 0;
  background: var(--accent);
}

.process-steps-standard {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.process-item-standard {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 12px;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.process-item-standard:hover {
  border-left-color: var(--secondary);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.dark-mode .process-item-standard {
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.dark-mode .process-item-standard:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.process-number-standard {
  min-width: 56px;
  height: 56px;
  background: var(--secondary);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
}

.process-content-standard h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.625rem;
  line-height: 1.3;
}

.dark-mode .process-content-standard h3 {
  color: #fff;
}

.process-content-standard p {
  color: rgba(17, 24, 39, 0.7);
  line-height: 1.7;
  font-size: 0.95rem;
}

.dark-mode .process-content-standard p {
  color: rgba(229, 231, 235, 0.75);
}

/* Services Section Standard */
.services-section-standard {
  padding: 6rem 0;
  background: var(--background);
}

.services-grid-standard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-item-standard {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-item-standard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), #ff8c5a);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-item-standard:hover::before {
  transform: scaleX(1);
}

.dark-mode .service-item-standard {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.service-item-standard:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 107, 53, 0.2);
}

.dark-mode .service-item-standard:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.service-icon-standard {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.service-item-standard h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.dark-mode .service-item-standard h3 {
  color: #fff;
}

.service-item-standard p {
  color: rgba(17, 24, 39, 0.7);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-size: 0.95rem;
}

.dark-mode .service-item-standard p {
  color: rgba(229, 231, 235, 0.75);
}

.service-link-standard {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.service-link-standard span {
  transition: transform 0.3s ease;
}

.service-link-standard:hover {
  color: #ff8c5a;
}

.service-link-standard:hover span {
  transform: translateX(4px);
}

/* Categories Section */
.categories-section-modern {
  padding: 5rem 0;
  background: var(--accent);
}

.categories-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.category-card-modern {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 16px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  border: 1px solid rgba(17, 24, 39, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.dark-mode .category-card-modern {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.category-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--secondary);
}

.dark-mode .category-card-modern:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.category-icon-modern {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.category-card-modern h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.dark-mode .category-card-modern h3 {
  color: #fff;
}

.category-card-modern p {
  color: rgba(17, 24, 39, 0.7);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.dark-mode .category-card-modern p {
  color: rgba(229, 231, 235, 0.8);
}

.category-link {
  color: var(--secondary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.category-card-modern:hover .category-link {
  gap: 0.75rem;
  color: #ff8c5a;
}

/* Testimonials Section */
.testimonials-section-modern {
  padding: 5rem 0;
  background: var(--background);
}

.testimonials-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card-modern {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.dark-mode .testimonial-card-modern {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.testimonial-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.dark-mode .testimonial-card-modern:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.testimonial-rating {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.testimonial-quote p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(17, 24, 39, 0.8);
  font-style: italic;
  margin-bottom: 2rem;
}

.dark-mode .testimonial-quote p {
  color: rgba(229, 231, 235, 0.9);
}

.testimonial-author-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), #ff8c5a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 600;
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.dark-mode .author-name {
  color: #fff;
}

.author-role {
  font-size: 0.9rem;
  color: rgba(17, 24, 39, 0.6);
}

.dark-mode .author-role {
  color: rgba(229, 231, 235, 0.7);
}

/* Success Stories Section */
.success-stories-section {
  padding: 5rem 0;
  background: var(--accent);
}

.success-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.success-card-modern {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.dark-mode .success-card-modern {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.success-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.dark-mode .success-card-modern:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.success-icon-modern {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.success-card-modern h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.dark-mode .success-card-modern h3 {
  color: #fff;
}

.success-card-modern p {
  color: rgba(17, 24, 39, 0.7);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.dark-mode .success-card-modern p {
  color: rgba(229, 231, 235, 0.8);
}

.success-metrics-modern {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.metric-modern {
  text-align: center;
}

.metric-value-modern {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.metric-label-modern {
  display: block;
  font-size: 0.9rem;
  color: rgba(17, 24, 39, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dark-mode .metric-label-modern {
  color: rgba(229, 231, 235, 0.7);
}

/* Partners Section */
.partners-section-modern {
  padding: 5rem 0;
  background: var(--background);
}

.partners-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
}

.partner-logo-modern {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  color: rgba(17, 24, 39, 0.7);
  border: 1px solid rgba(17, 24, 39, 0.1);
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.dark-mode .partner-logo-modern {
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(229, 231, 235, 0.8);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.partner-logo-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: var(--secondary);
}

.dark-mode .partner-logo-modern:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

/* Resources Section */
.resources-section-modern {
  padding: 5rem 0;
  background: var(--accent);
}

.resources-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.resource-card-modern {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.dark-mode .resource-card-modern {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.resource-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.dark-mode .resource-card-modern:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.resource-icon-modern {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.resource-card-modern h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.dark-mode .resource-card-modern h3 {
  color: #fff;
}

.resource-card-modern p {
  color: rgba(17, 24, 39, 0.7);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.dark-mode .resource-card-modern p {
  color: rgba(229, 231, 235, 0.8);
}

.resource-link-modern {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.resource-link-modern:hover {
  color: #ff8c5a;
  gap: 0.75rem;
}

/* CTA Section */
.cta-section-modern {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--secondary), #ff8c5a);
  color: #fff;
  text-align: center;
}

.cta-content-modern h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.cta-content-modern p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons-modern {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons-modern .btn-primary {
  background: #fff;
  color: var(--secondary);
  border: 2px solid #fff;
}

.cta-buttons-modern .btn-primary:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.cta-buttons-modern .btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.cta-buttons-modern .btn-outline:hover {
  background: #fff;
  color: var(--secondary);
}

/* Responsive Styles for Modern Sections */
@media (max-width: 768px) {
  .features-grid-modern,
  .services-grid-modern,
  .categories-grid-modern,
  .testimonials-grid-modern,
  .success-grid-modern,
  .resources-grid-modern {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .process-step-modern {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .process-step-number {
    margin: 0 auto 1rem;
  }

  .partners-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-buttons-modern {
    flex-direction: column;
  }

  .cta-buttons-modern .btn {
    width: 100%;
  }

  .success-metrics-modern {
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
      .slider-dots-container {
    display: block;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}
  .section-heading-modern {
    margin-bottom: 2.5rem;
  }

  .feature-card-modern,
  .service-card-modern,
  .category-card-modern,
  .testimonial-card-modern,
  .success-card-modern,
  .resource-card-modern {
    padding: 2rem;
  }

  .partners-grid-modern {
    grid-template-columns: 1fr;
  }
}

