/* eshop - Custom Styles - Now using Centralized Theme System */
/* Import master.css for all brand variables and theme configuration */
@import 'master.css';
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

:root {
  /* Legacy variable mappings - for backward compatibility */
  --lux-bg: var(--bg-primary);
  --lux-card: var(--surface-default);
  --lux-text: var(--text-primary);
  --lux-muted: var(--text-muted);
  --lux-accent: var(--brand-primary);
  --lux-accent-2: var(--brand-accent);
  --lux-border: var(--border-primary);
  --lux-shadow: var(--shadow-lg);
}

html,
body {
  background: var(--lux-bg);
  color: var(--lux-text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Top Bar */
.top-bar {
  background: var(--grey-600);
  padding: var(--spacing-sm) 0;
  font-size: var(--font-size-base);
}

.top-bar .dropdown-toggle {
  font-size: 0.875rem;
}

/* ========== UTILITY TOP BAR ========== */
.utility-bar {
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-dark);
  height: 36px;
  display: flex;
  align-items: center;
  font-size: var(--font-size-sm);
  overflow: visible;
  box-sizing: border-box;
}

.header-main-wrapper {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: var(--surface-default);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: transform;
}

.utility-left,
.utility-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.utility-btn {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-sm);
  background: transparent;
  border: none;
  color: var(--lux-text);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
}

.utility-btn:hover {
  background-color: var(--brand-secondary-lighter);
  color: var(--lux-accent);
}

.utility-btn svg {
  flex-shrink: 0;
}

.utility-link {
  color: var(--lux-text);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.utility-link:hover {
  color: var(--lux-accent);
  background-color: var(--brand-secondary-lighter);
}

.utility-label {
  font-weight: 500;
  line-height: 1;
  display: inline-block;
}

/* Language and Currency Flags & Labels - Desktop Display */
.language-flag,
.currency-flag {
  font-size: 1rem;
  display: inline-block;
  min-width: 1.2rem;
  text-align: center;
}

.language-label,
.currency-code,
.language-code {
  display: inline-block;
  font-weight: 500;
  font-size: 0.8125rem;
  margin-left: 0.25rem;
}

.utility-dropdown .dropdown-menu {
  border-radius: 8px;
  border: 1px solid var(--lux-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  min-width: 200px;
  z-index: 2000 !important;
}

.utility-dropdown .dropdown-header {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--lux-muted);
  margin: 0;
}

.utility-dropdown .dropdown-item {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--lux-text);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.utility-dropdown .dropdown-item:hover {
  background-color: rgba(194, 155, 91, 0.08);
  color: var(--lux-accent);
}

.utility-dropdown .dropdown-item.active {
  background-color: rgba(194, 155, 91, 0.12);
  color: var(--lux-accent);
  font-weight: 600;
}

.utility-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  flex-shrink: 0;
}

/* Mobile Utility Bar Enhancements */
@media (max-width: 575.98px) {
  .utility-bar {
    height: 36px;
    font-size: 1rem;
  }

  .utility-btn {
    padding: 0.6rem 0.85rem;
    font-size: 1rem;
  }

  .utility-btn svg {
    width: 18px;
    height: 18px;
  }

  .utility-bar .currency-code,
  .utility-bar .language-label {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    /* font-size: 1.125rem !important; */
    font-weight: 700 !important;
    letter-spacing: 0.3px;
    color: var(--lux-text) !important;
    width: auto !important;
    height: auto !important;
  }

  .utility-bar .utility-dropdown span.language-label {
    display: inline-block !important;
  }

  .utility-dropdown .dropdown-toggle::after {
    margin-left: 0.5rem;
  }
}

/* Main Header Default Position */
.main-header {
  position: relative;
}

/* Currency Selector Styling */
.currency-selector-wrapper .currency-code {
  font-weight: 600;
  letter-spacing: 0.3px;
}

.currency-dropdown .currency-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.currency-dropdown .currency-flag {
  font-size: 1.2rem;
  line-height: 1;
}

.currency-dropdown .currency-name {
  margin-left: auto;
  font-size: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 575px) {
  .utility-bar {
    height: 40px;
  }

  .utility-left,
  .utility-right {
    gap: 0.5rem;
  }

  .utility-btn {
    padding: 0.3rem 0.5rem;
    font-size: 0.75rem;
  }

  .utility-label,
  .language-label {
    display: inline-block !important;
  }
}

/* ========== PRIMARY NAVIGATION HEADER ========== */
.main-header {
  z-index: 1030;
  background: white;
  position: relative;
}

.logo {
  height: var(--button-height-md);
  max-width: 150px;
  object-fit: contain;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--lux-text);
  transition: opacity var(--transition-base);
}

.logo-link:hover {
  opacity: 0.8;
}

.logo-text {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  color: var(--lux-text);
}

/* ========== ICON MENU STRIP ========== */
.icon-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  color: var(--lux-text);
  text-decoration: none;
  position: relative;
  border-radius: 8px;
  transition: all 0.2s;
  font-size: 0.75rem;
  font-weight: 500;
  min-width: 70px;
  text-align: center;
}

.icon-nav-item svg {
  width: 20px;
  height: 20px;
  color: var(--lux-muted);
  transition: color 0.2s;
}

.icon-nav-item .icon-label {
  white-space: nowrap;
  font-size: 0.7rem;
}

.icon-nav-item:hover {
  background: var(--lux-bg);
  color: var(--lux-accent);
}

.icon-nav-item:hover svg {
  color: var(--lux-accent);
}

.icon-nav-item.active {
  background: var(--lux-accent);
  color: white;
  box-shadow: 0 4px 12px rgba(194, 155, 91, 0.25);
}

.icon-nav-item.active svg {
  color: white;
}

.icon-badge {
  position: absolute;
  top: 0;
  right: 0.5rem;
  background: #e74c3c;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.35rem;
  border-radius: 999px;
  min-width: 18px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== ACTION ICONS (Menu, Profile, Cart) ========== */
.btn {
  background: transparent;
  border: none;
  padding: 0.5rem;
  color: var(--lux-text);
  position: relative;
  transition: color 0.2s;
}

.btn:hover {
  color: var(--lux-accent);
}

.btn svg {
  color: currentColor;
  transition: color 0.2s;
}

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--lux-accent);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.35rem;
  border-radius: 999px;
  min-width: 18px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Search Bar */
.search-bar-wrapper {
  border-top: 1px solid var(--lux-border);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.search-input {
  padding-left: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--lux-border);
  background: var(--lux-bg);
  font-size: 0.875rem;
}

.search-input:focus {
  background: white;
  border-color: var(--lux-accent);
  box-shadow: 0 0 0 3px rgba(194, 155, 91, 0.1);
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lux-muted);
  pointer-events: none;
}

/* Mobile Menu */
.mobile-menu {
  width: 100%;
  max-width: 320px;
}

/* Mobile Menu Dropdown Toggles */
.mobile-menu .dropdown-toggle::after {
  display: inline-block;
  margin-left: auto;
  vertical-align: middle;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

.mobile-menu .utility-btn.dropdown-toggle {
  position: relative;
  padding-right: 1rem;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  color: var(--lux-text);
  text-decoration: none;
  background: #f8f9fa;
  border-bottom: 1px solid var(--lux-border);
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  user-select: none;
}

.mobile-nav-item:hover {
  background: white;
  color: var(--lux-accent);
  padding-left: 1.5rem;
}

.mobile-nav-item svg {
  color: var(--lux-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
  min-width: 16px;
  min-height: 16px;
  width: 16px;
  height: 16px;
  display: block;
}

.mobile-nav-item:hover svg {
  transform: rotate(-90deg);
  color: var(--lux-accent);
}

/* ========== DESKTOP NAV ========== */
.desktop-nav {
  gap: 0.5rem;
}

.desktop-nav-item {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  color: var(--lux-text);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.desktop-nav-item:hover {
  color: var(--lux-accent);
  background-color: rgba(194, 155, 91, 0.08);
}

.desktop-nav-item.active {
  color: var(--lux-accent);
  background-color: rgba(194, 155, 91, 0.12);
}

/* Centered Search Bar */
.search-bar-wrapper .position-relative {
  max-width: 640px;
  margin: 0 auto;
}

.search-input {
  width: 100%;
}

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 10% 0%, rgba(194, 155, 91, 0.12), transparent),
    radial-gradient(900px 400px at 90% 20%, rgba(184, 164, 122, 0.10), transparent);
}

.hero .display-5 {
  letter-spacing: 0.02em;
}

/* Category chips */
.category-chip {
  border: 1px solid var(--lux-border);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  color: var(--lux-text);
  transition: all .2s ease;
}

.category-chip:hover {
  border-color: var(--lux-accent);
  transform: translateY(-1px);
  color: var(--lux-accent);
}

/* Product cards */
.card {
  border: 1px solid var(--lux-border);
  border-radius: 14px;
  box-shadow: var(--lux-shadow);
}

.card-img-top {
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.card-title {
  letter-spacing: 0.02em;
}

.price {
  color: var(--lux-accent);
  font-weight: 700;
}

/* Buttons */
.btn-lux {
  background: var(--lux-accent);
  border: none;
  color: #ffffff;
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.25);
  transition: all 0.2s ease;
}

.btn-lux:hover {
  background: #003fa3;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 82, 204, 0.35);
}

.btn-outline-lux {
  border: 2px solid var(--lux-accent);
  color: var(--lux-accent);
  border-radius: 6px;
  font-weight: 600;
  background: transparent;
}

.btn-outline-lux:hover {
  background: var(--lux-accent);
  color: #fff;
}

/* ========== PRODUCT CARDS ========== */
/* These styles are used globally across the application for product displays.
 * Apply these classes to any product card for consistent styling:
 * 
 * Usage Example:
 * <div class="card product-card h-100">
 *   <img class="card-img-top" src="..." alt="...">
 *   <div class="card-body product-body-modern">
 *     <a class="product-meta" href="...">Category / Subcategory</a>
 *     <span class="discount-pill">Save 20%</span>
 *     <h3 class="product-title line-clamp-2"><a href="...">Product Name</a></h3>
 *     <span class="price-compare">Was $100.00</span>
 *     <span class="price-main">$80.00</span>
 *     <div class="product-actions">
 *       <a class="btn btn-lux" href="...">Buy Now</a>
 *     </div>
 *   </div>
 * </div>
 */

.product-card {
  border: 1px solid var(--lux-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--lux-card);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  box-shadow: var(--lux-shadow);
  transform: translateY(-4px);
  border-color: rgba(0, 82, 204, 0.2);
}

.product-card .card-img-top {
  height: 240px;
  object-fit: cover;
  border-bottom: 1px solid var(--lux-border);
}

/* Product Card Body with Flexbox for Bottom-Aligned Buttons */
.product-body-modern {
  display: flex !important;
  flex-direction: column !important;
  flex: 1;
  padding: 1rem !important;
}

/* Product Meta (Category/Subcategory) */
.product-meta {
  font-size: 0.75rem !important;
  color: var(--lux-muted) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-meta:hover {
  color: var(--lux-accent) !important;
}

/* Product Title */
.product-title {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--lux-text) !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.4 !important;
}

.product-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-title a:hover {
  color: var(--lux-accent);
}

/* Line Clamp Utility */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Price Display */
.price-main {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--lux-accent) !important;
}

.price-compare {
  font-size: 0.875rem !important;
  text-decoration: line-through;
  color: #dc3545 !important;
  opacity: 0.8;
}

/* Discount Badge */
.discount-pill {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: #ffffff;
  padding: 0.25rem 0.6rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

/* Button Container Auto-Margin for Bottom Alignment */
.product-actions {
  margin-top: auto !important;
  display: flex;
  gap: 0.5rem;
  padding-top: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .product-card .card-img-top {
    height: 200px;
  }

  .product-title {
    font-size: 0.9rem !important;
  }

  .price-main {
    font-size: 1.1rem !important;
  }
}

/* Footer */
.footer {
  border-top: 1px solid var(--lux-border);
}

/* Utilities */
.rounded-14 {
  border-radius: 14px;
}

.text-muted-2 {
  color: var(--lux-muted) !important;
}

/* Currency Selector Styles */
.currency-selector-wrapper {
  position: relative;
}

.currency-selector-wrapper .btn-link {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.currency-selector-wrapper .btn-link:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.1);
}

.currency-flag {
  font-size: 1.2rem;
  display: inline-block;
  min-width: 1.5rem;
  text-align: center;
}

.currency-code {
  font-weight: 600;
}

/* Language Selector Styles */
.language-selector-wrapper {
  position: relative;
}

.language-dropdown {
  min-width: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--lux-border);
}

.language-dropdown .dropdown-item {
  padding: 0.65rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  transition: all 0.2s ease;
}

.language-dropdown .dropdown-item:hover {
  background-color: rgba(0, 82, 204, 0.06);
  color: var(--lux-accent);
}

.language-dropdown .dropdown-item.active {
  background-color: rgba(0, 82, 204, 0.12);
  color: var(--lux-text);
}

.language-dropdown .dropdown-item .language-flag {
  font-size: 1rem;
}

.language-dropdown .dropdown-item .language-code {
  min-width: 50px;
  font-weight: 600;
}

.language-dropdown .dropdown-item .language-name {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--lux-muted);
}

.language-dropdown .dropdown-item.active .language-name {
  color: var(--lux-accent);
}

.currency-dropdown {
  min-width: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--lux-border);
}

.currency-dropdown .dropdown-item {
  padding: 0.65rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  transition: all 0.2s ease;
}

.currency-dropdown .dropdown-item:hover {
  background-color: rgba(0, 82, 204, 0.06);
  color: var(--lux-accent);
}

.currency-dropdown .dropdown-item.active {
  background-color: rgba(0, 82, 204, 0.12);
  color: var(--lux-text);
  font-weight: 600;
}

.currency-dropdown .dropdown-item .currency-flag {
  font-size: 1rem;
}

.currency-dropdown .dropdown-item .currency-code {
  min-width: 50px;
  font-weight: 600;
}

.currency-dropdown .dropdown-item .currency-name {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--lux-muted);
}

.currency-dropdown .dropdown-item.active .currency-name {
  color: var(--lux-accent);
}

/* Price Display Styles */
.price {
  font-weight: 600;
  color: var(--lux-accent);
  font-size: 1.1rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .currency-selector-wrapper .btn-link {
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
  }

  .currency-dropdown {
    min-width: 200px;
  }

  .currency-dropdown .dropdown-item .currency-code {
    min-width: 50px;
    display: inline-block;
  }

  .currency-dropdown .dropdown-item .currency-name {
    display: inline-block;
  }

  /* Hide icon menu strip on mobile */
  .icon-nav-item {
    display: none;
  }

  /* Adjust header spacing on mobile */
  .main-header {
    /* top: 36px; */
  }

  .logo {
    height: 35px;
  }

  .btn {
    padding: 0.35rem;
  }
}

@media (max-width: 576px) {
  .utility-bar {
    height: 32px;
    font-size: 0.75rem;
  }

  .main-header {
    /* top: 32px; */
  }

  .search-input {
    font-size: 0.8rem;
    padding-left: 2rem;
  }

  .search-icon {
    width: 16px;
    height: 16px;
  }
}

/* Toast Notification Styles */
.toast-container {
  z-index: 9999;
}

.toast {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Loading State for Currency Changes */
.currency-selector-wrapper .btn-link.loading {
  opacity: 0.6;
  pointer-events: none;
}

.currency-selector-wrapper .btn-link.loading::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 0.25rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========== HERO CAROUSEL ========== */
.hero-carousel {
  width: 100%;
  background: var(--lux-bg);
  overflow: hidden;
  margin-top: var(--header-total-height);
  /* Account for fixed headers: 36px utility + ~80px main header */
  padding: 0;
  padding-top: 40px;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: black;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 10;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.05) 100%);
  z-index: 1;
}

/* Navigation Controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--lux-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-control:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

.carousel-control svg {
  width: 24px;
  height: 24px;
}

/* Slide Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 24px;
  backdrop-filter: blur(4px);
}

.indicator {
  width: 10px;
  height: 10px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.8);
}

.indicator.active {
  width: 28px;
  background: rgba(255, 255, 255, 0.9);
  border-color: white;
}

/* Mobile Carousel Adjustments */
@media (max-width: 768px) {
  .carousel-container {
    height: 450px;
  }

  .carousel-control {
    width: 40px;
    height: 40px;
  }

  .carousel-prev {
    left: 12px;
  }

  .carousel-next {
    right: 12px;
  }
}

@media (max-width: 576px) {
  .carousel-container {
    height: 450px;
  }

  .carousel-control {
    width: 36px;
    height: 36px;
    opacity: 0.7;
  }

  .carousel-control svg {
    width: 20px;
    height: 20px;
  }

  .carousel-indicators {
    bottom: 16px;
    gap: 6px;
  }

  .indicator {
    width: 8px;
    height: 8px;
  }

  .indicator.active {
    width: 24px;
  }
}

/* ===== YouTube Video Section ===== */
.video-section {
  /* spacing handled via utility classes */
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  /* Rounded top, flat bottom */
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.08) 50%, rgba(0, 0, 0, 0) 100%);
}

@media (max-width: 576px) {
  .video-container {
    aspect-ratio: 16 / 9;
    /* keeps good ratio on mobile */
  }
}

/* ===== Category Grid ===== */
.category-strip-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 14px 14px 0 0;
  /* Rounded top, flat bottom */
}

.category-section-header {
  text-align: center;
}

.category-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0D0E11;
  margin-bottom: 0.5rem;
  letter-spacing: -0.3px;
}

.category-section-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: #495057;
  margin: 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0;
  position: relative;
  /* Ensure pseudo-elements are contained */
  overflow: hidden;
  /* Prevent shimmer animations causing horizontal scroll */
}

@media (min-width: 576px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 992px) {
  .category-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  color: #0D0E11;
  background: #ffffff;
  border: 2px solid rgba(0, 82, 204, 0.12);
  border-radius: 14px 14px 0 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 24px 16px;
  min-height: 120px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0052CC 0%, transparent 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 82, 204, 0.25);
  border-color: #0052CC;
  background: #ffffff;
}

.category-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(0, 82, 204, 0.1) 0%, rgba(0, 82, 204, 0.05) 100%);
  border-radius: 14px;
  transition: all 0.3s ease;
}

.category-card:hover .category-card-icon {
  background: linear-gradient(135deg, #0052CC 0%, #0041a8 100%);
  transform: scale(1.1);
}

.category-card-icon svg {
  width: 28px;
  height: 28px;
  color: #0052CC;
  transition: color 0.3s ease;
}

.category-card:hover .category-card-icon svg {
  color: #ffffff;
}

.category-card-icon img {
  transition: filter 0.3s ease;
}

.category-card:hover .category-card-icon img {
  filter: brightness(0) invert(1);
}

.category-card-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  color: #0D0E11;
  transition: color 0.3s ease;
}

.category-card:hover .category-card-label {
  color: #0052CC;
}

@media (max-width: 576px) {
  .category-section-title {
    font-size: 1.5rem;
  }

  .category-section-subtitle {
    font-size: 0.9rem;
  }

  .category-card {
    min-height: 110px;
    padding: 20px 12px;
    gap: 10px;
  }

  .category-card-icon {
    width: 48px;
    height: 48px;
  }

  .category-card-icon svg {
    width: 24px;
    height: 24px;
  }

  .category-card-label {
    font-size: 0.8rem;
  }
}


/* Spacer below fixed header to prevent overlap */
.header-spacer {
  height: 100px;
}

@media (max-width: 576px) {
  .header-spacer {
    height: 120px;
  }
}

/* ===== Mobile Bottom Navigation ===== */
.navbar-toolbar {
  background: transparent;
  /* Let parent section own background */
  border-top: none;
  /* Border handled by section wrapper */
  padding: 12px 0;
}

.navbar-tool {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #000000;
  transition: all 0.2s ease;
  padding: 6px 10px;
  border-radius: 8px;
}

.navbar-tool:hover,
.navbar-tool:active {
  color: #000000;
  background: rgba(0, 0, 0, 0.05);
}

.navbar-tool-icon-box {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-tool-icon {
  font-size: 20px;
  color: #000000;
}

.navbar-tool-icon-box svg {
  width: 20px;
  height: 20px;
  color: #000000;
}

/* ===== Welcome Section ===== */
.welcome-section {
  background: var(--lux-bg);
  border-radius: 14px 14px 0 0;
  /* Rounded top, flat bottom */
}

.welcome-section h2 {
  color: var(--lux-text);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.service-box-link {
  display: block;
  height: 100%;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  /* Rounded top, flat bottom */
  border: 1px solid var(--lux-border);
  box-shadow: var(--lux-shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.service-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: transform 0.4s ease;
  border-radius: 14px 14px 0 0;
}

.service-card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.service-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 2rem 1.5rem;
  text-align: center;
  color: white;
  transition: all 0.3s ease;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.service-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
  color: white;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.service-card-description {
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.service-card:hover .service-card-image {
  transform: scale(1.08);
}

.service-card:hover .service-card-image::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.8) 100%);
}

.service-card:hover .service-card-title {
  color: #ffffff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.7);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .service-card {
    min-height: 240px;
  }

  .service-card-title {
    font-size: 1.25rem;
  }

  .service-card-description {
    font-size: 0.95rem;
  }

  .service-card-content {
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 576px) {
  .service-card {
    min-height: 200px;
  }

  .service-card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .service-card-description {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .service-card-content {
    padding: 1.25rem 1rem;
  }
}

/* ========== WELCOME SECTION HEADER ========== */
.welcome-header {
  text-align: center;
  position: relative;
  margin-bottom: 3rem;
}

.welcome-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0D0E11;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.welcome-subtitle {
  font-size: 1.3rem;
  font-weight: 500;
  color: #495057;
  line-height: 1.8;
  margin: 0;
  letter-spacing: -0.2px;
}

.welcome-subtitle br {
  display: block;
}

.welcome-subtitle .highlight {
  color: #0052CC;
  font-weight: 700;
  position: relative;
}

/* Underline effect for highlight */
.welcome-subtitle .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0052CC, transparent);
  border-radius: 2px;
}

@media (min-width: 768px) {
  .welcome-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }

  .welcome-subtitle {
    font-size: 1.5rem;
    line-height: 1.9;
  }
}

@media (max-width: 576px) {
  .welcome-title {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
  }

  .welcome-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
  }

  .welcome-subtitle .highlight::after {
    bottom: -3px;
    height: 2px;
  }
}

/* ========== WELCOME TAGLINE BOX ========== */
.welcome-tagline-box {
  position: relative;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 82, 204, 0.08) 0%, rgba(0, 82, 204, 0.04) 100%);
  border: 2px solid rgba(0, 82, 204, 0.15);
  box-shadow: 0 8px 32px rgba(0, 82, 204, 0.08);
  overflow: hidden;
}

.welcome-tagline-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0052CC 0%, #0052CC 50%, transparent 100%);
}

.welcome-tagline-box::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 82, 204, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.welcome-tagline {
  position: relative;
  z-index: 1;
  font-size: 1.75rem;
  font-weight: 600;
  color: #0D0E11;
  line-height: 1.6;
  margin: 0;
  text-align: center;
  letter-spacing: -0.3px;
}

.welcome-tagline br {
  display: none;
}

/* Highlight the key phrase */
.welcome-tagline strong {
  color: #0052CC;
  font-weight: 700;
}

@media (min-width: 768px) {
  .welcome-tagline-box {
    padding: 3rem 3.5rem;
  }

  .welcome-tagline {
    font-size: 2rem;
  }

  .welcome-tagline br {
    display: block;
  }
}

@media (max-width: 576px) {
  .welcome-tagline-box {
    padding: 2rem 1.5rem;
  }

  .welcome-tagline {
    font-size: 1.35rem;
    line-height: 1.5;
  }
}

/* ========== FLOATING SCROLL BUTTON ========== */
.scroll-float-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 40px;
  border-radius: 12px;
  background: transparent;
  border: none;
  color: rgba(0, 0, 0, 0.6);
  box-shadow: none;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
}

.scroll-float-btn.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.scroll-float-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px) scale(1.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #333;
  backdrop-filter: blur(8px);
}

.scroll-float-btn:active,
.scroll-float-btn.clicked {
  background: rgba(0, 82, 204, 0.5);
  color: white;
  border-color: rgba(0, 82, 204, 0.3);
  transform: none;
}

.scroll-float-btn svg {
  transition: transform 0.3s ease;
}

.scroll-float-btn:hover svg {
  transform: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .scroll-float-btn {
    bottom: 75px;
    /* Above mobile bottom nav, below chat button */
    right: 15px;
    width: 40px;
    height: 38px;
  }
}