/* ==========================================================================
   Marcus Computer Technology — Enterprise Design System v5.0
   Palette: Deep Navy · Steel Blue · Slate White  (Premium Enterprise)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@600;700;800;900&display=swap');

/* ==========================================================================
   CSS Custom Properties — Premium Navy / Steel Blue Palette
   ========================================================================== */
:root {
  /* Primary — Steel Blue */
  --mct-primary: #1a56db;
  --mct-primary-dark: #1344b5;
  --mct-primary-xdark: #0f3490;
  --mct-primary-light: #eef2ff;
  --mct-primary-mid: #c7d7fd;
  --mct-primary-soft: #e0eaff;

  /* Gradient shorthand (used everywhere) */
  --mct-gradient: linear-gradient(135deg, #0d1b4b 0%, #1344b5 60%, #1a56db 100%);

  /* Deep Navy */
  --mct-dark: #0d1b4b;
  --mct-dark-mid: #162255;
  --mct-dark-light: #1e2e6e;
  --mct-navy: #0d1b4b;
  --mct-navy-mid: #162255;
  --mct-navy-light: #1e2e6e;

  /* Accent */
  --mct-accent: #f97316;
  --mct-accent-dark: #ea6b05;
  --mct-teal: #0891b2;
  --mct-green: #059669;
  --mct-yellow: #d97706;

  /* Neutral Surface */
  --mct-bg: #f5f7fb;
  --mct-bg-2: #eef2f7;
  --mct-surface: #ffffff;
  --mct-border: #dde3ee;
  --mct-border-2: #c8d2e4;

  /* Typography */
  --mct-text: #0d1b4b;
  --mct-text-body: #2d3a5e;
  --mct-text-muted: #6475a3;
  --mct-text-light: #97a3c4;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #0d1b4b 0%, #1344b5 55%, #1a56db 100%);
  --grad-blue: linear-gradient(135deg, #1344b5 0%, #1a56db 100%);
  --grad-surface: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
  --grad-topbar: linear-gradient(90deg, #0d1b4b 0%, #162255 100%);
  --grad-glass: rgba(255, 255, 255, 0.07);

  /* Shadows — navy-tinted */
  --shadow-xs: 0 1px 2px rgba(13, 27, 75, .04);
  --shadow-sm: 0 4px 6px -1px rgba(13, 27, 75, .08), 0 2px 4px -2px rgba(13, 27, 75, .05);
  --shadow-md: 0 10px 20px -3px rgba(13, 27, 75, .10), 0 4px 8px -4px rgba(13, 27, 75, .06);
  --shadow-lg: 0 24px 48px -12px rgba(13, 27, 75, .18);
  --shadow-xl: 0 40px 64px -16px rgba(13, 27, 75, .24);
  --shadow-blue: 0 4px 16px rgba(26, 86, 219, .28);
  --shadow-blue-lg: 0 10px 32px rgba(26, 86, 219, .36);

  /* Radii */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;

  /* Typography */
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;

  /* Transitions */
  --trans-fast: all .15s ease;
  --trans: all .25s cubic-bezier(.4, 0, .2, 1);
  --trans-slow: all .38s cubic-bezier(.4, 0, .2, 1);

  /* Layout */
  --admin-sidebar-w: 256px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--mct-text-body);
  background-color: var(--mct-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--mct-text);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--trans);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.section-padding {
  padding: 96px 0;
}

.section-padding-sm {
  padding: 60px 0;
}

.bg-navy {
  background-color: var(--mct-dark) !important;
}
/* Force headings and body text to white inside any dark-navy section */
.bg-navy h1, .bg-navy h2, .bg-navy h3,
.bg-navy h4, .bg-navy h5, .bg-navy h6 {
  color: #fff !important;
}
.bg-navy p, .bg-navy span, .bg-navy li, .bg-navy a:not(.btn) {
  color: rgba(255, 255, 255, 0.7);
}


.bg-navy-mid {
  background-color: var(--mct-dark-mid) !important;
}

.bg-surface {
  background-color: var(--mct-surface) !important;
}

.bg-mct {
  background-color: var(--mct-bg) !important;
}

.bg-mct2 {
  background-color: var(--mct-bg-2) !important;
}

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

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

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

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

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hover-card-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Section Eyebrow Label */
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mct-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--mct-primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--mct-text);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--mct-text-muted);
  line-height: 1.75;
  max-width: 600px;
}

/* ==========================================================================
   TOP INFO BAR
   ========================================================================== */
.site-topbar {
  background: var(--mct-dark);
  padding: 8px 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, .6);
  border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.site-topbar a {
  color: rgba(255, 255, 255, .6);
}

.site-topbar a:hover {
  color: #fff;
}

.site-topbar .topbar-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.site-topbar .topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-topbar .topbar-item i {
  color: #7ba4f5;
  font-size: .8rem;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-social a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .7) !important;
  font-size: 1rem;
  transition: var(--trans);
}

.topbar-social a:hover {
  background: var(--mct-primary);
  color: #fff !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
#mainNav {
  background: #fff;
  border-bottom: 1px solid var(--mct-border);
  padding: 10px 0;
  transition: var(--trans);
  z-index: 1040;
}

#mainNav.scrolled {
  box-shadow: 0 2px 20px rgba(13, 27, 75, .10);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--mct-dark);
}

.navbar-brand .brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.navbar .nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--mct-text-body);
  padding: 6px 14px !important;
  border-radius: var(--r-sm);
  transition: var(--trans);
  position: relative;
}

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

.navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--mct-primary);
  border-radius: 2px;
}

/* Dropdown */
.navbar .dropdown-menu {
  border: 1px solid var(--mct-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 220px;
  /* margin-top removed — replaced with padding-top to eliminate the hover dead-zone gap */
  margin-top: 0 !important;
  padding-top: 8px;
  animation: dropDown .18s ease;
}

@keyframes dropDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

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

.navbar .dropdown-item {
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 9px 14px;
  color: var(--mct-text-body);
  transition: var(--trans);
}

.navbar .dropdown-item:hover {
  background: var(--mct-primary-light);
  color: var(--mct-primary);
}

.navbar .dropdown-item i {
  color: var(--mct-primary);
}

.navbar .dropdown-divider {
  border-color: var(--mct-border);
  margin: 6px 8px;
}


/* ── Mega menu (desktop ≥ 992px)
   li has position:relative (Bootstrap default), menu positions relative to it.
   left:50% + translateX(-50%) = perfectly centred under the Products button.
   data-bs-display="static" on the toggle disables Popper — CSS wins entirely.
───────────────────────────────────────────────────────────────────────────── */
@media (min-width: 992px) {
  .mega-products-menu {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 560px !important;
    min-width: 0 !important;
    /* override Bootstrap's min-width */
    margin-top: 0 !important;
    z-index: 1050;
    animation: dropDown .18s ease;
  }

  /* ── Hover-to-open dropdowns (desktop only) ── */
  /* The nav-item itself is the hover zone — it encompasses both the toggle
     and the dropdown-menu (which has margin-top:0), so there is NO gap
     for the cursor to accidentally cross. */
  #mainNav .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
  }

  /* Add a tiny invisible padding below the toggle link so the nav-item
     hover zone extends down and smoothly connects to the dropdown menu. */
  #mainNav .nav-item.dropdown > .dropdown-toggle {
    pointer-events: auto;
    padding-bottom: 10px !important;
  }

  /* Pull the dropdown up by the same amount so it visually sits right
     under the toggle without a visible gap. */
  #mainNav .nav-item.dropdown > .dropdown-menu {
    margin-top: -10px !important;
    padding-top: 18px !important; /* transparent top padding = bridge zone */
    background-clip: padding-box;
  }
}

/* ── Mega menu (mobile / tablet < 992px) — flat stacked list ── */
@media (max-width: 991.98px) {
  .mega-products-menu {
    position: static !important;
    width: 100% !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    box-shadow: none !important;
    border-radius: var(--r-sm) !important;
    background: var(--mct-bg-2) !important;
    border: none !important;
    margin: 0 !important;
    min-width: 0 !important;
  }

  /* Stack categories as single column on small screens */
  .mega-products-menu .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* CTA Button */
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--mct-primary);
  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--r-xl);
  border: none;
  cursor: pointer;
  transition: var(--trans);
  box-shadow: var(--shadow-blue);
  white-space: nowrap;
  text-decoration: none !important;
}

.btn-nav-cta:hover {
  background: var(--mct-primary-dark);
  color: #fff !important;
  box-shadow: var(--shadow-blue-lg);
  transform: translateY(-1px);
}

/* Search */
.nav-search-wrapper {
  position: relative;
}

.nav-search-wrapper .form-control {
  height: 36px;
  padding: 6px 36px 6px 14px;
  border: 1px solid var(--mct-border);
  border-radius: var(--r-xl);
  font-size: 0.8rem;
  background: var(--mct-bg);
  width: 200px;
  transition: var(--trans);
  color: var(--mct-text);
}

.nav-search-wrapper .form-control:focus {
  outline: none;
  box-shadow: none;
  border-color: var(--mct-primary);
  background: #fff;
  width: 240px;
}

.nav-search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mct-text-muted);
  font-size: 0.8rem;
  pointer-events: none;
}

#liveSearchResults {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--mct-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 1050;
  padding: 6px;
  max-height: 360px;
  overflow-y: auto;
}

.navbar-toggler {
  border: none;
  padding: 4px 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.hero-slider-section {
  position: relative;
}

.hero-slide {
  height: 80vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(26, 86, 219, .18);
  border: 1px solid rgba(123, 164, 245, .35);
  color: #a5c3ff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7ba4f5;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero-title .accent {
  color: #93bbff;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .78);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mct-primary);
  color: #fff;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: var(--r-xl);
  border: none;
  cursor: pointer;
  font-size: 0.925rem;
  transition: var(--trans);
  box-shadow: 0 8px 24px rgba(26, 86, 219, .45);
  text-decoration: none;
}

.btn-hero-primary:hover {
  background: var(--mct-primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255, 255, 255, .9);
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--r-xl);
  border: 1.5px solid rgba(255, 255, 255, .35);
  cursor: pointer;
  font-size: 0.925rem;
  transition: var(--trans);
  text-decoration: none;
}

.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .6);
}

/* Slick Carousel Controls */
.slick-prev-custom,
.slick-next-custom {
  position: absolute;
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  transition: var(--trans);
  cursor: pointer;
  border: none;
}

.slick-prev-custom {
  left: 60px;
  background: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.slick-next-custom {
  right: 50px;
  background: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.slick-prev-custom:hover {
  transform: translateY(-50%) scale(1.1);
}

.slick-next-custom:hover {
  transform: translateY(-50%) scale(1.1);
}

.slick-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex !important;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 8px;
  height: 8px;
  padding: 0;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: rgba(255, 255, 255, .5);
  border-radius: 50%;
  transition: var(--trans);
}

.slick-dots li.slick-active button {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.stats-bar {
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: 0 -6px 32px rgba(13, 27, 75, .08), var(--shadow-lg);
  margin-top: -48px;
  position: relative;
  z-index: 10;
  border: 1px solid var(--mct-border);
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-blue);
}

.stat-item {
  padding: 32px 24px;
  text-align: center;
  position: relative;
}

.stat-item+.stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--mct-border);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--mct-primary);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mct-text-muted);
}

/* ==========================================================================
   GLOBAL BUTTONS
   ========================================================================== */
/* Bootstrap overrides */
.btn-primary {
  background: var(--mct-primary) !important;
  border-color: var(--mct-primary) !important;
  color: #fff !important;
  font-weight: 600;
  border-radius: var(--r-sm);
  transition: var(--trans);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--mct-primary-dark) !important;
  border-color: var(--mct-primary-dark) !important;
  color: #fff !important;
  box-shadow: var(--shadow-blue-lg);
  transform: translateY(-1px);
}

.btn-outline-primary {
  color: var(--mct-primary) !important;
  border-color: var(--mct-primary) !important;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: var(--trans);
}

.btn-outline-primary:hover {
  background: var(--mct-primary) !important;
  color: #fff !important;
  box-shadow: var(--shadow-blue);
}

.btn-light {
  border-radius: var(--r-sm);
  font-weight: 500;
  transition: var(--trans);
}

.btn-light:hover {
  background: var(--mct-primary-light);
  color: var(--mct-primary);
}

/* Custom pill button — used across pages */
.btn-primary-mct {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mct-primary);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: 12px 26px;
  border-radius: var(--r-xl);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-blue);
  transition: var(--trans);
  text-decoration: none;
}

.btn-primary-mct:hover {
  background: var(--mct-primary-dark);
  color: #fff;
  box-shadow: var(--shadow-blue-lg);
  transform: translateY(-1px);
}

/* Alias — some pages use mct-btn-primary (legacy) */
.mct-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mct-primary);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: 12px 26px;
  border-radius: var(--r-xl);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-blue);
  transition: var(--trans);
  text-decoration: none;
}

.mct-btn-primary:hover {
  background: var(--mct-primary-dark);
  color: #fff;
  box-shadow: var(--shadow-blue-lg);
  transform: translateY(-1px);
}

/* ==========================================================================
   CARDS (Generic mct-card)
   ========================================================================== */
.mct-card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--mct-border);
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
  overflow: hidden;
}

.mct-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--mct-primary-mid);
  transform: translateY(-3px);
}

/* ==========================================================================
   PRODUCT CARDS
   ========================================================================== */
.product-card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--mct-border);
  box-shadow: var(--shadow-xs);
  transition: var(--trans-slow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  box-shadow: 0 16px 40px rgba(13, 27, 75, .12);
  border-color: var(--mct-primary-mid);
  transform: translateY(-5px);
}

.product-card-img {
  position: relative;
  background: var(--mct-bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid var(--mct-border);
  padding: 16px;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--trans-slow);
}

.product-card-img .no-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--mct-text-light);
}

.product-card-img .no-img-placeholder i {
  font-size: 2.5rem;
  opacity: .35;
}

.product-card-img .no-img-placeholder span {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-card:hover .product-card-img img {
  transform: scale(1.06);
}

.featured-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--mct-primary);
  color: #fff;
  font-size: 0.67rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-cat {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--mct-primary);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--mct-text);
  margin-bottom: 8px;
  line-height: 1.35;
}

.product-card-desc {
  font-size: 0.83rem;
  color: var(--mct-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   FEATURE / WHY US CARDS
   ========================================================================== */
.feature-card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--mct-border);
  padding: 32px 28px;
  transition: var(--trans-slow);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--trans);
}

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

.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--mct-primary-mid);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--mct-primary-light);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: var(--mct-primary);
  transition: var(--trans);
}

.feature-card:hover .feature-icon {
  background: var(--mct-primary);
  color: #fff;
}

.feature-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--mct-text);
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--mct-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   CATEGORY CARDS (homepage)
   ========================================================================== */
.cat-card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--mct-border);
  padding: 28px 20px;
  text-align: center;
  transition: var(--trans-slow);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.cat-card:hover {
  background: var(--mct-primary-light);
  border-color: var(--mct-primary-mid);
  box-shadow: 0 8px 24px rgba(26, 86, 219, .12);
  transform: translateY(-4px);
}

.cat-card-icon {
  width: 60px;
  height: 60px;
  background: var(--mct-primary-soft);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: var(--mct-primary);
  transition: var(--trans);
}

.cat-card:hover .cat-card-icon {
  background: var(--mct-primary);
  color: #fff;
}

.cat-card-name {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--mct-text);
  margin-bottom: 4px;
  transition: var(--trans);
}

.cat-card:hover .cat-card-name {
  color: var(--mct-primary);
}

.cat-card-count {
  font-size: 0.75rem;
  color: var(--mct-text-muted);
}

/* ==========================================================================
   SOLUTIONS CARDS
   ========================================================================== */
.sol-card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--mct-border);
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--trans-slow);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-xs);
}

.sol-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--mct-primary-mid);
  transform: translateY(-5px);
  text-decoration: none;
  color: inherit;
}

.sol-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--mct-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
  color: var(--mct-primary);
  margin-bottom: 20px;
  transition: var(--trans);
}

.sol-card:hover .sol-card-icon {
  background: var(--mct-primary);
  color: #fff;
}

.sol-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mct-text);
  margin-bottom: 10px;
}

.sol-card p {
  font-size: .875rem;
  color: var(--mct-text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 18px;
}

.sol-card-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--mct-primary);
  margin-top: auto;
}

.sol-card-link i {
  transition: transform .2s;
}

.sol-card:hover .sol-card-link i {
  transform: translateX(4px);
}

/* ==========================================================================
   BLOG CARDS
   ========================================================================== */
.blog-card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--mct-border);
  overflow: hidden;
  transition: var(--trans-slow);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--mct-primary-mid);
  transform: translateY(-4px);
}

.blog-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--mct-bg-2);
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--trans-slow);
}

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

.blog-card-body {
  padding: 22px 22px 24px;
}

.blog-cat-badge {
  display: inline-block;
  background: var(--mct-primary-light);
  color: var(--mct-primary);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.blog-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mct-text);
  line-height: 1.4;
  margin-bottom: 10px;
  transition: var(--trans);
}

.blog-card:hover .blog-title {
  color: var(--mct-primary);
}

/* ==========================================================================
   TESTIMONIAL CARDS
   ========================================================================== */
.testi-card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--mct-border);
  padding: 28px;
  transition: var(--trans);
}

.testi-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--mct-primary-mid);
}

.testi-stars {
  color: #F59E0B;
  font-size: .9rem;
  margin-bottom: 12px;
}

.testi-quote {
  font-size: 0.9rem;
  color: var(--mct-text-body);
  line-height: 1.75;
  margin-bottom: 20px;
}

.testi-author-name {
  font-weight: 700;
  color: var(--mct-text);
  font-size: .9rem;
}

.testi-author-role {
  font-size: .75rem;
  color: var(--mct-text-muted);
}

/* ==========================================================================
   PAGE BANNER
   ========================================================================== */
.page-banner {
  background: var(--grad-brand);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(26, 86, 219, .25) 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(26, 86, 219, .15) 0%, transparent 40%);
  pointer-events: none;
}

.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.page-banner h1,
.page-banner h2,
.page-banner h3,
.page-banner h4,
.page-banner h5,
.page-banner h6 {
  color: #fff !important;
}

.page-banner h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.page-banner p,
.page-banner .lead,
.page-banner .section-label {
  color: rgba(255, 255, 255, .75) !important;
}

.page-banner .breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
}

.page-banner .breadcrumb-item a {
  color: rgba(255, 255, 255, .55);
  font-size: .85rem;
  text-decoration: none;
}

.page-banner .breadcrumb-item a:hover {
  color: #fff;
}

.page-banner .breadcrumb-item.active {
  color: rgba(255, 255, 255, .4);
  font-size: .85rem;
}

.page-banner .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, .3);
  content: '/';
}

/* ── Banner widgets: stat badge (products/solutions banners) ── */
.banner-stat-badge {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  padding: 16px 24px;
  backdrop-filter: blur(10px);
}

.banner-stat-badge__label {
  font-size: .7rem;
  color: rgba(255, 255, 255, .45);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.banner-stat-badge__value {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

/* ── Icon box used in solution-detail page banner ── */
.banner-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, .2);
}

.banner-icon-box i {
  font-size: 1.75rem;
  color: #fff;
}

/* ── Sidebar section label ── */
.sidebar-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--mct-text-muted);
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

/* ── Image hover zoom: CSS replacement for inline JS onmouseover ── */
.img-hover-zoom {
  overflow: hidden;
  display: block;
}

.img-hover-zoom img,
a.img-hover-zoom img {
  transition: transform .35s ease;
  display: block;
}

.img-hover-zoom:hover img {
  transform: scale(1.06);
}

/* Team avatar circle */
.team-avatar-wrap {
  overflow: hidden;
  border-radius: 50%;
  display: inline-block;
}

.team-avatar-wrap img {
  transition: transform .35s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-avatar-wrap:hover img {
  transform: scale(1.1);
}

/* ── Blog / article .content-area (moved from blog-detail.php <style> block) ── */
.content-area img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-md);
  margin: 20px 0;
}

.content-area h2,
.content-area h3 {
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--mct-dark);
}

.content-area ul,
.content-area ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

.content-area li {
  margin-bottom: 10px;
}

.content-area blockquote {
  border-left: 4px solid var(--mct-primary);
  padding: 20px 20px 20px 24px;
  color: #64748b;
  font-style: italic;
  background: #f8fafc;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin: 20px 0;
}

/* ==========================================================================
   CTA STRIP
   ========================================================================== */
.cta-strip {
  background: var(--grad-blue);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(255, 255, 255, .06) 0%, transparent 60%);
}

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-control,
.form-select {
  border: 1px solid var(--mct-border);
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  color: var(--mct-text);
  background: #fff;
  padding: 10px 14px;
  transition: var(--trans);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--mct-primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, .12);
  outline: none;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mct-text-body);
  letter-spacing: .03em;
  margin-bottom: 6px;
}

.form-text {
  color: var(--mct-text-muted);
  font-size: .78rem;
}

.input-group-text {
  background: var(--mct-bg);
  border-color: var(--mct-border);
  color: var(--mct-text-muted);
  font-size: .875rem;
}

/* ==========================================================================
   BADGES & ALERTS
   ========================================================================== */
.badge.bg-primary {
  background: var(--mct-primary) !important;
}

.badge.bg-danger {
  background: #dc2626 !important;
}

.alert-danger {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.alert-success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.alert-warning {
  background: #fffbeb;
  border-color: #fef08a;
  color: #92400e;
}

.alert-info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}

/* Pagination */
.pagination .page-link {
  color: var(--mct-primary);
  border-color: var(--mct-border);
  font-weight: 500;
  transition: var(--trans);
}

.pagination .page-link:hover {
  background: var(--mct-primary-light);
  border-color: var(--mct-primary-mid);
  color: var(--mct-primary-dark);
}

.pagination .page-item.active .page-link {
  background: var(--mct-primary) !important;
  border-color: var(--mct-primary) !important;
  color: #fff;
}

.pagination .page-item.disabled .page-link {
  color: var(--mct-text-light);
}

/* Modal heading fix — prevent global h* dark color from overriding .text-white on modal headers */
.modal-header h1,
.modal-header h2,
.modal-header h3,
.modal-header h4,
.modal-header h5,
.modal-header h6 {
  color: inherit;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (WhatsApp, Enquiry, BackToTop)
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background: #25D366;
  color: #fff;
  border-radius: 0 4px 4px 0;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: 2px 4px 15px rgba(37, 211, 102, .4);
  z-index: 1030;
  transition: var(--trans);
}

.whatsapp-float span {
  display: none !important;
}

.whatsapp-float:hover {
  background: #1ebe57;
  color: #fff;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 4px 4px 20px rgba(37, 211, 102, .5);
}

.wa-icon {
  font-size: 1.3rem;
  margin: 0;
  padding: 0;
}

.enquiry-float {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: #4A90E2;
  color: #fff;
  padding: 18px 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 8px 0 0 8px;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.15);
  z-index: 1040;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: background 0.3s, padding-right 0.3s;
}

.enquiry-float i {
  font-size: 18px;
}

.enquiry-float span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-orientation: mixed;
}

.enquiry-float:hover {
  background: #357ABD;
  color: #fff;
  padding-right: 12px;
}

#backToTop {
  position: fixed;
  bottom: 90px;
  right: 28px;
  width: 40px;
  height: 40px;
  background: var(--mct-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--trans);
  z-index: 1025;
  box-shadow: var(--shadow-blue);
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  background: var(--mct-primary-dark);
  transform: translateY(-2px);
}

/* Responsive Adjustments for floating buttons */
@media (max-width: 768px) {
  .whatsapp-float {
    padding: 10px 12px;
    font-size: 1.1rem;
  }

  .enquiry-float {
    padding: 14px 6px;
    font-size: 12px;
  }

  .slick-prev-custom {
    left: 40px;
    width: 40px;
    height: 40px;
  }

  .slick-next-custom {
    right: 40px;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--mct-dark);
  padding: 72px 0 0;
  color: rgba(255, 255, 255, .6);
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

/* Footer logo: mix-blend-mode:screen makes white bg transparent on dark footer */
.footer-logo-img {
  height: 44px; width: auto;
  object-fit: contain;
  display: block;
  mix-blend-mode: screen;    /* white bg disappears, colored logo stays visible */
  opacity: .9;
}
.footer-logo-text {
  flex-direction: column;
  line-height: 1;
}


.footer-heading {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
  margin-bottom: 16px;
}

.footer-link {
  display: block;
  color: rgba(255, 255, 255, .55);
  font-size: 0.875rem;
  font-weight: 400;
  padding: 5px 0;
  transition: var(--trans);
  text-decoration: none;
}

.footer-link:hover {
  color: #93bbff;
  padding-left: 4px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .07);
  border-radius: 50%;
  color: rgba(255, 255, 255, .55);
  font-size: 0.9rem;
  transition: var(--trans);
  text-decoration: none;
}

.footer-social-btn:hover {
  background: var(--mct-primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-newsletter-input {
  flex: 1;
  padding: 11px 16px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  color: #fff;
  font-size: 0.85rem;
  outline: none;
  transition: var(--trans);
}

.footer-newsletter-input::placeholder {
  color: rgba(255, 255, 255, .3);
}

.footer-newsletter-input:focus {
  border-color: var(--mct-primary);
  background: rgba(255, 255, 255, .1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 18px 0;
  margin-top: 56px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, .35);
}

/* ==========================================================================
   QUOTE MODAL
   ========================================================================== */
#quoteModal .modal-content {
  border: none;
}

#quoteModal .modal-header {
  background: var(--grad-brand);
}

#quoteModal .modal-body .form-control {
  background: #f8fafc;
}

#quoteModal .modal-body .form-label {
  color: var(--mct-text-body);
  font-weight: 600;
}

/* ==========================================================================
   ADMIN PANEL — Login
   ========================================================================== */
.admin-login-body {
  background: var(--mct-dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}

.admin-login-body::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(26, 86, 219, .18) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(19, 68, 181, .12) 0%, transparent 40%);
  pointer-events: none;
}

.admin-login-card {
  background: #fff;
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .4);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.admin-login-header {
  background: var(--grad-brand);
  padding: 36px 32px 28px;
  text-align: center;
  color: #fff;
}

.admin-login-header .login-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, .12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.4rem;
  border: 1px solid rgba(255, 255, 255, .2);
}

.admin-login-header h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.admin-login-header p {
  color: rgba(255, 255, 255, .6);
  font-size: .82rem;
  margin: 0;
}

.admin-login-body-inner {
  padding: 28px 32px 32px;
}

/* ==========================================================================
   ADMIN PANEL — Sidebar & Layout
   ========================================================================== */
.admin-sidebar {
  width: var(--admin-sidebar-w);
  background: var(--mct-dark);
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  transition: var(--trans);
  border-right: 1px solid rgba(255, 255, 255, .04);
  overflow: hidden;
  /* clip children, nav scrolls internally */
}

.admin-sidebar-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  /* never let the header compress */
  min-width: 0;
}

.admin-sidebar-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Sidebar logo icon circle */
.admin-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--mct-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Sidebar brand text next to icon */
.admin-logo-text {
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-logo-text small {
  display: block;
  font-size: .62rem;
  color: rgba(255, 255, 255, .4);
  font-weight: 400;
}

.admin-sidebar-brand {
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  min-width: 0;
  /* allow text to truncate inside flex */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-sidebar-brand small {
  display: block;
  font-size: .65rem;
  color: rgba(255, 255, 255, .4);
  font-weight: 400;
  white-space: nowrap;
}

.admin-nav-label {
  padding: 8px 12px 4px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .3);
  flex-shrink: 0;
}

.admin-nav {
  flex: 1;
  /* fill remaining sidebar height */
  overflow-y: auto;
  /* scroll when links overflow viewport */
  overflow-x: hidden;
  padding-bottom: 16px;
  /* room at bottom so last item isn't flush */
  /* Custom slim scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .12) transparent;
}

.admin-nav::-webkit-scrollbar {
  width: 4px;
}

.admin-nav::-webkit-scrollbar-track {
  background: transparent;
}

.admin-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .12);
  border-radius: 4px;
}

.admin-nav::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, .25);
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, .55);
  border-radius: var(--r-sm);
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--trans);
  margin: 2px 8px;
}

.admin-nav-link i {
  font-size: 1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.admin-nav-link:hover {
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .9);
}

.admin-nav-link.active {
  background: var(--mct-primary);
  color: #fff;
}

.admin-nav-link.active i {
  color: #fff;
}

/* Admin Content */
.admin-main {
  margin-left: var(--admin-sidebar-w);
  min-height: 100vh;
  background: var(--mct-bg);
}

.admin-topbar {
  background: #fff;
  border-bottom: 1px solid var(--mct-border);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-xs);
}

.admin-page-content {
  padding: 28px;
}

/* Admin Cards & KPIs */
.admin-card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--mct-border);
  box-shadow: var(--shadow-xs);
  transition: var(--trans);
}

.kpi-card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--mct-border);
  padding: 24px;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.kpi-card.kpi-blue::before {
  background: var(--grad-blue);
}

.kpi-card.kpi-red::before {
  background: linear-gradient(90deg, #dc2626, #ef4444);
}

.kpi-card.kpi-green::before {
  background: linear-gradient(90deg, #059669, #10b981);
}

.kpi-card.kpi-orange::before {
  background: linear-gradient(90deg, #d97706, #f59e0b);
}

.kpi-card.kpi-purple::before {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}

.kpi-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.kpi-icon.kpi-blue {
  background: var(--mct-primary-light);
  color: var(--mct-primary);
}

.kpi-icon.kpi-red {
  background: #fef2f2;
  color: #dc2626;
}

.kpi-icon.kpi-green {
  background: #f0fdf4;
  color: #059669;
}

.kpi-icon.kpi-orange {
  background: #fffbeb;
  color: #d97706;
}

.kpi-icon.kpi-purple {
  background: #f5f3ff;
  color: #7c3aed;
}

.kpi-value {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--mct-text);
  line-height: 1;
}

.kpi-change {
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.kpi-change.up {
  color: #059669;
}

.kpi-change.down {
  color: #dc2626;
}

/* Admin Tables */
.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: var(--mct-bg-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mct-text-muted);
  padding: 12px 16px;
  border-bottom: 1px solid var(--mct-border);
}

.admin-table td {
  padding: 14px 16px;
  font-size: 0.85rem;
  color: var(--mct-text-body);
  border-bottom: 1px solid var(--mct-border);
  vertical-align: middle;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: var(--mct-primary-light);
}

/* Bootstrap table hover override */
.table-hover>tbody>tr:hover>* {
  background-color: var(--mct-primary-light) !important;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.status-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

.status-active {
  background: #f0fdf4;
  color: #166534;
}

.status-inactive {
  background: #fef2f2;
  color: #991b1b;
}

.status-pending {
  background: #fffbeb;
  color: #92400e;
}

.status-resolved {
  background: #eff6ff;
  color: #1e40af;
}

/* Products sidebar active category */
.products-sidebar .cat-active,
.products-sidebar .cat-active:hover {
  background: var(--mct-primary) !important;
  color: #fff !important;
  border-color: var(--mct-primary) !important;
}

/* ==========================================================================
   RESPONSIVE — Comprehensive Mobile-First
   ========================================================================== */

/* --- Tablet & below (< 992px) --- */
@media (max-width: 991.98px) {

  /* Admin sidebar off-canvas */
  .admin-sidebar {
    transform: translateX(-100%);
  }

  .admin-sidebar.open {
    transform: translateX(0);
    box-shadow: var(--shadow-xl);
  }

  .admin-main {
    margin-left: 0;
  }

  .admin-topbar {
    padding: 12px 16px;
  }

  /* ---- Navbar mobile collapse ---- */
  .stat-item+.stat-item::before {
    display: none;
  }

  .stats-bar {
    margin-top: -24px;
  }

  #mainNav .navbar-collapse {
    background: #fff;
    border-top: 1px solid var(--mct-border);
    border-radius: 0 0 var(--r-md) var(--r-md);
    padding: 12px 8px;
    box-shadow: var(--shadow-md);
    margin-top: 8px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  /* All dropdowns inside collapsed nav are flat */
  #mainNav .dropdown-menu {
    border: none;
    box-shadow: none;
    background: var(--mct-bg-2);
    border-radius: var(--r-sm);
    margin-top: 0 !important;
    padding: 4px 8px;
  }

  #mainNav .nav-link {
    border-radius: var(--r-sm);
  }

  /* Nav search — full width on tablet */
  .nav-search-wrapper {
    display: block !important;
    width: 100%;
    margin-top: 8px;
  }

  .nav-search-wrapper .form-control {
    width: 100% !important;
  }

  /* Get Quote button — show on all sizes in mobile nav */
  .btn-nav-cta {
    display: inline-flex !important;
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }

  /* Section spacing */
  .section-padding {
    padding: 72px 0;
  }

  .section-padding-sm {
    padding: 40px 0;
  }

  /* Products layout */
  .products-sidebar {
    position: static !important;
  }

  /* Hero — tablets show slightly shorter hero */
  .hero-slide {
    min-height: 75vh !important;
  }

  .hero-title {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
  }

  .hero-desc {
    font-size: .95rem;
    max-width: 100%;
  }

  .slick-prev-custom {
    left: 12px !important;
  }

  .slick-next-custom {
    right: 12px !important;
  }
}

/* --- Mobile (< 768px) --- */
@media (max-width: 767.98px) {
  .section-padding {
    padding: 52px 0;
  }

  .section-padding-sm {
    padding: 32px 0;
  }

  /* Hero */
  .hero-slide {
    min-height: 80vh;
  }

  .hero-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem) !important;
  }

  .hero-desc {
    font-size: .9rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-actions .btn-primary-mct,
  .hero-actions .btn-outline-mct {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero-chip {
    font-size: .7rem;
    padding: 4px 10px;
  }

  .slick-prev-custom {
    left: 8px !important;
  }

  .slick-next-custom {
    right: 8px !important;
  }

  /* Stats bar — 2x2 grid on mobile */
  .stats-bar {
    border-radius: var(--r-md);
    margin-top: 0;
    overflow: hidden;
  }

  .stats-bar .row {
    flex-wrap: wrap;
  }

  .stats-bar .col {
    flex: 0 0 50%;
    max-width: 50%;
    border-right: 1px solid var(--mct-border);
  }

  .stats-bar .col:nth-child(3) {
    border-right: none;
  }

  .stats-bar .col:nth-child(5) {
    border-right: none;
  }

  .stat-number {
    font-size: 1.65rem;
  }

  .stat-item {
    padding: 20px 12px;
  }

  .stat-divider {
    display: none !important;
  }

  /* Section headings */
  .display-6 {
    font-size: 1.5rem !important;
  }

  .display-5 {
    font-size: 1.75rem !important;
  }

  /* Product cards */
  .product-card-img {
    height: 180px;
  }

  /* About section */
  .trust-mini-card {
    padding: 14px !important;
  }

  /* Category blocks */
  .cat-block {
    padding: 16px 10px !important;
  }

  .cat-block-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  /* Brands marquee */
  .brands-track {
    animation-duration: 18s;
  }

  .brand-pill {
    padding: 8px 20px;
    font-size: .82rem;
  }

  /* Contact strip */
  .contact-quick-strip {
    padding: 36px 0;
  }

  .contact-quick-strip .row>* {
    text-align: center;
  }

  .cqs-link {
    justify-content: center;
  }

  .btn-wa-strip,
  .btn-outline-mct,
  .btn-primary-mct {
    width: 100%;
    justify-content: center;
  }

  /* CTA section */
  .cta-section .btn-primary-mct,
  .cta-section .btn-outline-mct {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  /* Page banner */
  .page-banner {
    padding: 40px 0;
  }

  .page-banner h1 {
    font-size: 1.5rem;
  }

  /* WhatsApp & Enquiry floating buttons */
  .whatsapp-float {
    padding: 10px;
    border-radius: 50%;
  }

  .whatsapp-float span {
    display: none !important;
  }

  .enquiry-float {
    padding: 10px 8px;
  }

  .enquiry-float span {
    font-size: .55rem;
    letter-spacing: .08em;
  }

  /* Testimonials */
  .testi-card {
    padding: 20px;
  }

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* --- Small phones (< 576px) --- */
@media (max-width: 575.98px) {
  .section-padding {
    padding: 40px 0;
  }

  /* Hero */
  .hero-slide {
    min-height: 100svh;
  }

  .hero-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem) !important;
  }

  .hero-badge {
    font-size: .7rem;
  }

  /* Stats — single column stack */
  .stats-bar .col {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  /* Cards */
  .feature-card {
    padding: 20px;
  }

  .feature-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .mct-card {
    border-radius: var(--r-md);
  }

  /* Products grid: 1 column */
  .col-6.cat-col {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* Floating buttons — ensure no overlap with main content */
  .enquiry-float {
    top: auto !important;
    bottom: 80px !important;
    right: 0 !important;
    padding: 8px 6px;
  }

  .whatsapp-float {
    top: auto !important;
    bottom: 16px !important;
    left: 16px !important;
    transform: none !important;
  }

  /* Admin page content */
  .admin-page-content {
    padding: 16px;
  }

  /* Forms */
  .form-control,
  .form-select {
    font-size: .875rem;
  }

  .btn {
    font-size: .875rem;
  }
}

/* --- Touch: Improve tap target size on mobile nav --- */
@media (hover: none) {
  .admin-nav-link {
    padding: 12px 14px;
  }

  .nav-link {
    padding: 10px 14px !important;
  }

  .dropdown-item {
    padding: 10px 16px;
  }
}