:root {
  --primary: #ff7723;
  --primary-hover: #e06010;
  --navy: #0f172a;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --hover-light: #f1f5f9;
  --card-border: #e2e8f0;
  --red-accent: #f05454;
}

body {
  font-family: "Mulish", sans-serif;
  overflow-x: hidden;
  color: var(--navy);
  background-color: #fff;
}

.fw-black {
  font-weight: 900;
}

.transition-all {
  transition: all 0.3s ease;
}

/* Sleeker Header with Reduced Spacing */
.site-header {
  padding: 10px 0;
  transition: all 0.3s ease;
  z-index: 1050;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 8px 0;
}

.navbar-brand img {
  height: 48px;
}

.nav-link {
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  color: #1e293b !important;
  padding: 0.8rem 0.6rem !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  text-transform: uppercase;
}

.nav-link:hover {
  color: var(--primary) !important;
  text-decoration: none;
}

.nav-link i.fa-chevron-down {
  font-size: 0.6rem;
  margin-left: 5px;
  color: #94a3b8;
  transition: 0.3s;
}

/* Mega Menu Styles */
@media (min-width: 992px) {
  .nav-item.is-full-mega {
    position: static !important;
  }

  .mega-menu-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border-top: 1px solid #f1f5f9;
    padding: 40px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1000;
  }

  .nav-item:hover .mega-menu-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .dropdown-standard {
    position: relative !important;
  }

  .dropdown-standard .mega-menu-wrapper {
    width: 240px;
    left: 0;
    padding: 15px 0;
    border-radius: 0 0 12px 12px;
    transform: none;
  }
}

/* --- MOBILE MENU FIXES --- */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    overflow-y: auto;
    padding: 20px;
    display: none;
  }

  .navbar-collapse.show {
    display: block !important;
  }

  .nav-item {
    border-bottom: 1px solid #f1f5f9;
  }

  .nav-link {
    justify-content: space-between;
    padding: 1.2rem 0 !important;
  }

  .mega-menu-wrapper {
    display: none;
    position: static;
    box-shadow: none;
    padding: 15px 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-item.open > .mega-menu-wrapper {
    display: block;
  }

  .nav-item.open > .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
  }

  .expert-toggle-btn {
    padding: 1rem 0 !important;
  }

  .btn-contact-sale {
    margin-top: 20px;
    width: 100%;
    justify-content: center;
  }
}

/* Products Mega Menu Alignment */
.promo-banner-red {
  background-color: var(--red-accent);
  border-radius: 16px;
  padding: 30px;
  color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(240, 84, 84, 0.2);
}

.promo-tag {
  background: rgba(255, 255, 255, 0.25);
  display: inline-block;
  padding: 4px 14px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  margin-bottom: 25px;
  width: fit-content;
}

.product-item {
  padding: 8px 15px;
  border-radius: 14px;
  transition: 0.3s;
  text-decoration: none !important;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

.product-item:hover,
.product-item.active {
  background: #f8fafc;
}

.icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.1rem;
}

.menu-col-header {
  font-weight: 900;
  color: #94a3b8;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
}

.key-feature-item,
.industry-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-weight: 700;
  color: #475569;
  font-size: 0.9rem;
}

.key-feature-item i {
  color: #fb923c;
  margin-right: 12px;
}

.industry-item i {
  color: #cbd5e1;
  margin-right: 12px;
}

/* Trending Category Grid (Image Matched) */
.trending-card {
  background: white;
  border: 1px solid #edf2f7;
  border-radius: 16px;
  padding: 35px 20px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none !important;
}

.trending-card:hover {
  border-color: #f05454;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-5px);
}

.trending-icon {
  color: #f05454;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.trending-title {
  font-weight: 800;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 8px;
}

.trending-offers {
  color: #f05454;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Best Selling Products Grid (High Fidelity) */
.product-card {
  border: 1px solid #eee;
  border-radius: 20px;
  overflow: hidden;
  background: white;
  transition: all 0.3s;
  margin-bottom: 0px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none !important;
}

.product-item i {
  background: #e5e5e5;
  padding: 10px;
  border-radius: 8px;
}

.product-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}

.badge-lightning {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #4cc3f5;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.heart-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  background: white;
  color: #e11d48;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
  cursor: pointer;
}

.product-card-img {
  width: 100%;
  height: 180px;
  background: #fdfdfd;
}

.product-card-body {
  padding: 20px 20px 0px 20px;
  flex-grow: 1;
  border-top: 1px solid #f8fafc;
}

.product-card-title {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 5px;
  height: 2.8em;
  overflow: hidden;
  display: block;
}

.product-card-category {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-rating {
  color: #facc15;
  font-size: 0.8rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.product-price {
  padding: 0 20px 20px;
  font-weight: 900;
  color: var(--navy);
  font-size: 1.15rem;
}

/* Expert Button & UI Extras */
.expert-toggle-btn {
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  color: #1e293b !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  letter-spacing: 0.5px;
}

.expert-toggle-btn i {
  font-size: 0.7rem;
  margin-left: 6px;
}

.btn-contact-sale {
  background-color: #fff;
  color: #1e293b;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.85rem;
  border: 1.5px solid #e2e8f0;
  transition: all 0.3s ease;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
}

.btn-contact-sale:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateX(5px);
}

.expert-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  min-width: 260px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 15px 0;
  z-index: 1100;
  border: 1px solid #eee;
}

.expert-menu.show {
  display: block;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  background-color: #fff;
  border-top: 1px solid #f1f5f9;
  padding: 60px 0 30px;
}

.footer-link {
  color: #64748b;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
  transition: color 0.3s;
  text-decoration: none !important;
  font-size: 0.8rem;
}

.footer-link:hover {
  color: var(--primary);
}

.feature-bg {
  padding-top: 0px;
}

.service-text a {
  color: #000;
}

.home6 .slider-content h1,
.single-page h1,
.slider-content h1 {
  font-size: 48px;
}

@media (max-width: 786px) {
  .home6 .slider-content h1,
  .single-page h1,
  .slider-content h1 {
    font-size: 18px;
  }
}
