/* Core Disposable/Hygiene Theme Overrides (Light Theme Only) */
@media (prefers-color-scheme: light),
(max-width: 9999px) {
  :root {
    /* Brand Colors mapped to legacy variables so they propagate automatically where applicable */
    --thm-primary: #1E3A8A;
    /* Deep Blue */
    --thm-primary-rgb: 30, 58, 138;

    --thm-base: #F59E0B;
    /* Orange Accent */
    --thm-base-rgb: 245, 158, 11;

    /* Eradicate the remaining green variables */
    --thm-black: #111827;
    /* Was Dark Green #255946 */
    --thm-black-rgb: 17, 24, 39;
    --thm-color: #6B7280;
    /* Was greenish grey #6e7673 */
    --thm-color-rgb: 107, 114, 128;

    /* globals.css overwrites */
    --color-primary: #1E3A8A;
    --color-primary-hover: #3B82F6;
    --color-accent: #F8FAFC;
    --color-footer-top: #111827;
    --color-footer-bottom: #111827;
    --color-bg-light-green: #F8FAFC;
    --theme-color: #1E3A8A;
  }

  /* -------------------------------------
     IMAGE FILTERS (To remove green from baked graphics)
     ------------------------------------- */
  .about-one__bg-shape-1,
  .bnft-img img,
  .icon img,
  .icon-box img,
  .cer-img img {
    /* Converts green to deep blue using color matrix shifting natively in css */
    filter: grayscale(100%) sepia(100%) hue-rotate(185deg) saturate(300%) brightness(0.6) !important;
  }

  /* Handle specific background image greens securely without overwriting their layout path */
  .why-bg {
    filter: grayscale(100%) sepia(100%) hue-rotate(185deg) saturate(300%) brightness(0.4) !important;
  }

  /* -------------------------------------
     1. BACKGROUNDS & SURFACES 
     ------------------------------------- */
  body,
  .page-wrapper {
    background-color: #F8FAFC !important;
  }

  .product-box,
  .benifits-box,
  .bg-secondary-1,
  .bg-secondary-2,
  .bg-secondary-3,
  .bg-secondary-4,
  .bg-secondary-5,
  .white-bg {
    background-color: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
  }

  /* Override specific component backgrounds that shouldn't be boxed */
  .about-one__summery,
  .im-text-hed {
    background-color: transparent !important;
  }

  /* Primary sections */
  .bg-primary,
  .banner-slider.bg-primary {
    background-color: #1E3A8A !important;
  }

  /* -------------------------------------
     5. TYPOGRAPHY
     ------------------------------------- */
  body,
  p,
  span,
  .text-secondary {
    color: #6B7280;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .banner-heading,
  .block-title h3,
  .sml-head {
    color: #1E3A8A !important;
    /* Deep Blue Highlights / Headings */
  }

  /* Text inside cards */
  .product-box .hom-prd-con h3,
  .benifits-box h6,
  .post-classic-title {
    color: #111827 !important;
    /* Primary Text inside white boxes */
  }

  /* Text on dark backgrounds */
  .bg-primary h1,
  .bg-primary h2,
  .bg-primary h3,
  .bg-primary p,
  .banner-slider.bg-primary h1,
  .banner-slider.bg-primary p,
  .banner-slider.bg-primary h3,
  .banner-slider.bg-primary .postitle,
  .banner-slider.bg-primary .subtitle {
    color: #FFFFFF !important;
  }

  .product-box:hover .hom-prd-con h3,
  .benifits-box:hover h6,
  .post-classic:hover .post-classic-title {
    color: #1E3A8A !important;
    /* Subtle interactive highlight */
  }

  /* -------------------------------------
     6. FOOTER 
     ------------------------------------- */
  .site-footer,
  .site-footer__bottom {
    background-color: #111827 !important;
  }

  .site-footer p,
  .site-footer span,
  .site-footer li,
  .site-footer__bottom p {
    color: #E5E7EB !important;
  }

  .site-footer h3,
  .site-footer h4,
  .footer-widget__title {
    color: #FFFFFF !important;
  }

  .site-footer a,
  .footer-widget__social a {
    color: #F59E0B !important;
  }

  .site-footer a:hover,
  .footer-widget__social a:hover {
    color: #FBBF24 !important;
    /* Slightly lighter orange on hover */
  }

  /* -------------------------------------
     TOP NAVIGATION / HEADER 
     ------------------------------------- */
  .topbar {
    background-color: #1E3A8A !important;
    /* Deep Blue Topbar instead of gradient */
    border-bottom: none;
  }

  .topbar__left a,
  .topbar__right a,
  .topbar__right a i,
  .topbar__social a {
    color: #FFFFFF !important;
  }

  /* Nav menu text */
  .main-menu__list>li>a {
    color: #111827 !important;
  }

  /* Main Menu Hover state - ACCENT Orange */
  .main-menu__list>li>a:hover,
  .main-menu__list>li.current>a,
  .main-menu__list>li>a.active,
  .main-menu .dropdown ul li a:hover,
  .stricky-header .main-menu__list>li>a:hover,
  .stricky-header .main-menu__list>li.current>a,
  .stricky-header .main-menu .dropdown ul li a:hover {
    color: #1E3A8A !important;
    background-color: transparent !important;
  }

  /* -------------------------------------
     7. BUTTON STYLING
     ------------------------------------- */
  /* Primary Button */
  .thm-btn,
  .theme-btn,
  .theme-btn-on,
  .btn-primary {
    background: linear-gradient(135deg, #1E3A8A, #3B82F6) !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 4px 6px rgba(30, 58, 138, 0.2);
  }

  .thm-btn:hover,
  .theme-btn:hover,
  .theme-btn-on:hover,
  .btn-primary:hover {
    background: linear-gradient(135deg, #3B82F6, #1E3A8A) !important;
    color: #FFFFFF !important;
  }

  /* Secondary Button */
  .btn-secondary,
  .thm-btn-secondary {
    background: linear-gradient(135deg, #F59E0B, #FBBF24) !important;
    color: #111827 !important;
    border: none !important;
    box-shadow: 0 4px 6px rgba(245, 158, 11, 0.2);
  }

  .btn-secondary:hover,
  .thm-btn-secondary:hover {
    background: linear-gradient(135deg, #FBBF24, #F59E0B) !important;
    color: #111827 !important;
  }

}

/* Ensure no override on dark scheme */
@media (prefers-color-scheme: dark) {
  /* No overrides for dark theme */
}

/* -------------------------------------
   8. ANIMATION SYSTEM UPGRADE 
   ------------------------------------- */

/* Disable all aggressive wow or swiper animations and replace them with static or default states */
.wow,
.animated {
  animation-name: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Strict, fast fades for industrial UI */
.fade-in-up {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUpSoft 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fade-in {
  opacity: 0;
  animation: fadeInSoft 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

@keyframes fadeInSoft {
  to {
    opacity: 1;
  }
}

/* Delay utilities */
.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

/* -------------------------------------
   9. STRICT INDUSTRIAL COMPONENTS 
   ------------------------------------- */

/* Utility Spacing */
.mt-8 {
  margin-top: 8px !important;
}

.mt-16 {
  margin-top: 16px !important;
}

.mt-24 {
  margin-top: 24px !important;
}

.mb-8 {
  margin-bottom: 8px !important;
}

.mb-16 {
  margin-bottom: 16px !important;
}

.mb-24 {
  margin-bottom: 24px !important;
}

/* Sharp Industrial Cards */
.premium-card {
  background: #FFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  /* Slightly softer corners for premium feel */
  padding: 32px;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  /* Premium soft depth */
}

.premium-card:hover {
  transform: translateY(-5px);
  /* Professional lifting effect */
  border-color: #1E3A8A;
  /* Solid brand alignment on hover */
  box-shadow: 0 15px 40px rgba(30, 58, 138, 0.12);
  /* Subtle blue glow shadow */
}

/* Global Corporate Button Override to Kill Legacy Green */
.thm-btn {
  background-color: #1E3A8A !important;
  color: #ffffff !important;
  border-radius: 4px !important;
  letter-spacing: 1px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3) !important;
}

.thm-btn:hover {
  background-color: #F59E0B !important;
  color: #1a1a1a !important;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4) !important;
  transform: translateY(-2px);
}


/* Industrial Layout Image */
.premium-split-img {
  width: 100%;
  border-radius: 4px;
  /* Sharper corners */
  object-fit: cover;
  border: 1px solid #E2E8F0;
}

/* Sticky Header CSS Update */
.main-header.is-sticky .main-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

/* Hero Section Restyling */
.b2b-hero {
  padding: 100px 0;
  background-color: #F8FAFC;
  display: flex;
  align-items: center;
  min-height: 80vh;
}

.b2b-hero .hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #1E3A8A;
  margin-bottom: 20px;
  line-height: 1.2;
}

.b2b-hero .hero-content p {
  font-size: 1.2rem;
  color: #475569;
  margin-bottom: 40px;
  max-width: 600px;
}

@media (max-width: 991px) {
  .b2b-hero {
    padding: 60px 0;
    text-align: center;
  }

  .b2b-hero .hero-content h1 {
    font-size: 2.5rem;
  }

  .b2b-hero .hero-content p {
    margin: 0 auto 30px;
  }

  .b2b-hero-img {
    margin-top: 40px;
  }
}