@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   1. CSS Variables & Design System (Bench.com inspired)
   ========================================================================== */
:root {
  /* Brand Colors (MSD Wired Solutions) */
  --brand-blue: #002a72;
  --brand-blue-dark: #001d50;
  --brand-blue-light: #e6eaf1;
  /* Very soft blue for backgrounds */

  --orange: #dd612c;
  --orange-hover: #c2531e;
  --orange-dim: rgba(221, 97, 44, 0.10);

  /* Neutrals (Clean & Modern) */
  --white: #ffffff;
  --grey-50: #f9fafb;
  --grey-100: #f3f4f6;
  --grey-200: #e5e7eb;
  --grey-300: #d1d5db;
  --grey-400: #9ca3af;
  --grey-500: #6b7280;
  --grey-600: #4b5563;
  --grey-700: #374151;
  --grey-800: #1f2937;
  --grey-900: #111827;

  /* Typography */
  --font-sans: 'Inter', sans-serif;

  /* Shadows & Borders (Soft & Premium) */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --nav-offset: 88px;
}

/* ==========================================================================
   2. Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
  width: 100vw;
}

body {
  font-family: var(--font-sans);
  color: var(--grey-700);
  background-color: var(--white);
  line-height: 1.6;
  font-size: 1.125rem;
  /* 18px base size for better readability */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--nav-offset);
  /* Offset for fixed navbar */
  overflow-x: hidden !important;
  width: 100vw;
  position: relative;
  /* background-color: #374151; */
}

/* Smart Preloader (only shown on slow page loads) */
#msdPreloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

#msdPreloader.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

#msdPreloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

#msdPreloader p {
  margin: 0;
  color: var(--brand-blue);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.msd-preloader-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(0, 42, 114, 0.2);
  border-top-color: var(--brand-blue);
  border-radius: 50%;
  animation: msdSpin 0.8s linear infinite;
}

@keyframes msdSpin {
  to {
    transform: rotate(360deg);
  }
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--orange);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--grey-900);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

p {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   3. Utility Classes (Spacing & Layout)
   ========================================================================== */
.section-pad {
  padding: 6rem 0;
  /* Generous spacing like bench.com */
  overflow: hidden;
  position: relative;
}

@media (min-width: 992px) {
  .section-pad {
    padding: 8rem 0;
  }
}

.bg-light-grey {
  background-color: var(--grey-50);
}

.text-orange {
  color: var(--orange) !important;
}

/* Typography Utilities */
.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-blue);
  margin-bottom: 1rem;
}

.section-heading {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--grey-900);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .section-heading {
    font-size: 3.5rem;
  }
}

.section-sub {
  font-size: 1.25rem;
  color: var(--grey-600);
  max-width: 800px;
  margin-bottom: 2rem;
}

.section-header-centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4rem;
}

/* ==========================================================================
   4. Buttons (Smooth & Modern)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-normal);
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1;
}

.msd-btn-primary {
  background-color: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px 0 rgba(221, 97, 44, 0.39);
}

.msd-btn-primary:hover {
  background-color: var(--orange-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(221, 97, 44, 0.4);
}

.msd-btn-dark {
  background-color: var(--brand-blue);
  color: var(--white);
}

.msd-btn-dark:hover {
  background-color: var(--brand-blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.msd-btn-ghost {
  background-color: transparent;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.msd-btn-ghost:hover {
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  transform: translateY(-2px);
}

.msd-btn-wide-blue {
  background-color: var(--brand-blue);
  color: var(--white);
  width: 100%;
  padding: 1rem;
}

.msd-btn-wide-blue:hover {
  background-color: var(--brand-blue-dark);
  color: var(--white);
}

/* ==========================================================================
   5. Top Bar & Navbar
   ========================================================================== */
.top-bar {
  display: none !important;
  background-color: var(--brand-blue-dark);
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.top-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.topbar-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.topbar-marquee-content {
  display: inline-block;
  animation: marquee 8s linear infinite;
}

.top-bar-link {
  color: var(--white);
  margin-right: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.top-bar-link:hover {
  opacity: 1;
  color: var(--white);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Navbar */
.msd-navbar {
  background-color: var(--white);
  padding: 1.25rem 0;
  box-shadow: none;
  width: 100%;
  border-bottom: 1px solid var(--grey-100);
}

.navbar-brand {
  padding: 0;
  margin: 0;
  pointer-events: auto;
  opacity: 1 !important;
}

.navbar-brand img {
  height: 75px;
  transition: none !important;
  filter: none !important;
}

.msd-nav-link {
  color: var(--grey-700) !important;
  font-weight: 500;
  padding: 0.5rem 1.25rem !important;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  font-size: 1.05rem;
}

.msd-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 2px;
  background-color: var(--brand-blue);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
  transform-origin: right;
}

.msd-nav-link:hover::after,
.msd-nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Navbar Toggler Styling */
.navbar-toggler.msd-toggler {
  border: 1.5px solid var(--brand-blue-light);
  padding: 8px 10px;
  border-radius: var(--radius-md);
  background-color: var(--grey-50);
  display: none;
  /* Hidden by default on desktop */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

@media (max-width: 1199px) {
  .navbar-toggler.msd-toggler {
    display: flex;
    /* Show only on mobile/tablet */
  }

  .navbar-collapse {
    background-color: var(--white);
    border-top: 1px solid var(--grey-100);
    margin-top: 0.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }

  .msd-nav-link {
    padding: 1rem 1.5rem !important;
    border-bottom: 1px solid var(--grey-50);
  }

  .msd-nav-link::after {
    display: none;
    /* No underline on mobile */
  }

  .msd-mobile-social {
    border-top: 2px solid var(--grey-100);
    background-color: var(--grey-50);
  }

}

.navbar-toggler.msd-toggler:hover {
  background-color: var(--white);
  border-color: var(--brand-blue);
}

.toggler-icon {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--brand-blue);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.msd-toggler:focus {
  outline: none;
  box-shadow: none;
}

.msd-nav-link i {
  font-size: 0.875rem;
  color: var(--grey-400);
}

.msd-nav-link:hover,
.msd-nav-link.active {
  color: var(--brand-blue) !important;
}

.msd-nav-link:hover i,
.msd-nav-link.active i {
  color: var(--orange);
}

@media (min-width: 1200px) {
  .msd-navbar-utility {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: 1rem;
  }
}

.msd-nav-social {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-social-link {
  color: var(--brand-blue);
  background-color: var(--grey-50);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1rem;
  transition: all var(--transition-normal);
  text-decoration: none;
  border: 1px solid var(--grey-200);
}

.nav-social-link:hover {
  background-color: var(--brand-blue);
  color: var(--white) !important;
  transform: translateY(-3px);
  border-color: var(--brand-blue);
}

.nav-quote-btn {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: var(--white) !important;
  padding: 0.7rem 1.6rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  border: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}

.nav-quote-btn:hover {
  background: var(--orange);
  color: var(--white) !important;
  transform: translateY(-2px) scale(1.02);
}

.nav-quote-btn i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.nav-quote-btn:hover i {
  transform: translateX(4px);
}

.msd-mobile-social .msd-nav-social {
  justify-content: center;
}




/* Dropdown & Focus Fixes */
a,
button,
.nav-link,
.dropdown-item {
  -webkit-tap-highlight-color: transparent;
}

*:focus {
  outline: none !important;
  box-shadow: none !important;
}

.notion-dropdown-menu {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  margin-top: 1rem;
  min-width: 300px;
}

.notion-side-root {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notion-side-link {
  color: var(--grey-800);
  font-weight: 600;
  padding: 0.75rem 1rem;
  display: block;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
}

.notion-side-item.is-active>.notion-side-link,
.notion-side-link:hover {
  background-color: var(--orange);
  color: var(--white);
}

.notion-side-submenu {
  display: none;
  padding-left: 1.5rem;
  padding-top: 0.5rem;
}

.notion-side-item.is-active>.notion-side-submenu {
  display: block;
}

.notion-side-submenu a {
  display: block;
  padding: 0.5rem 0;
  color: var(--grey-600);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.notion-side-submenu a:hover {
  color: var(--orange);
}

/* Mobile Nav & Dropdown Refinements */
@media (max-width: 1199px) {
  .notion-dropdown>.notion-dropdown-menu {
    display: none !important;
  }

  .notion-dropdown.mobile-open>.notion-dropdown-menu {
    display: block !important;
  }

  .navbar-collapse {
    max-height: calc(100dvh - var(--nav-offset) - 10px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: 1rem;
  }

  .notion-dropdown-menu {
    width: 100% !important;
    min-width: 100% !important;
    padding: 0.5rem !important;
    margin-top: 0.5rem;
    box-shadow: none;
    border: none;
    background-color: transparent;
    position: static !important;
    transform: none !important;
  }

  .notion-side-root {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--grey-100);
    overflow: hidden;
  }

  .notion-side-item {
    border-bottom: 1px solid var(--grey-100);
  }

  .notion-side-item:last-child {
    border-bottom: none;
  }

  .notion-caret {
    margin-left: auto;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
  }

  .notion-dropdown.show .notion-caret {
    transform: rotate(180deg);
  }
}

/* Mobile Dropdown Arrows */
@media (max-width: 1199px) {
  .notion-side-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    font-size: 1.05rem;
    line-height: 1.35;
  }

  .notion-side-item.has-submenu>.notion-side-link::after {
    content: "\f054";
    /* chevron-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--grey-400);
    transition: transform 0.3s ease;
  }

  .notion-side-item.is-active>.notion-side-link::after {
    transform: rotate(90deg);
    color: var(--orange);
  }

  .notion-side-submenu {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 1rem;
    transition: max-height 0.25s ease, opacity 0.2s ease;
    border-top: 0;
  }

  .notion-side-item.is-active>.notion-side-submenu {
    max-height: 16rem;
    opacity: 1;
    padding: 0.35rem 1rem 0.8rem;
    border-top: 1px solid var(--grey-100);
  }

  .notion-side-submenu a {
    padding: 0.62rem 0.7rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    line-height: 1.3;
  }

  .notion-side-submenu a:active {
    background-color: var(--grey-50);
  }
}

.notion-side-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--grey-200);
  text-align: center;
}

.notion-side-all {
  color: var(--brand-blue);
  font-weight: 600;
}

/* Desktop Side-by-Side Menu -> Desktop Flyout Menu */
@media (min-width: 1200px) {
  .dropdown-menu.notion-dropdown-menu.show {
    display: block !important;
    width: max-content;
    min-width: 280px;
    padding: 0;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    overflow: visible;
    /* Important for flyout out of bounds */
    left: 0 !important;
    /* Align exactly in front of 'Products' */
    transform: none !important;
    border: 1px solid var(--grey-100);
  }

  .notion-side-root {
    width: 100%;
    background-color: var(--white);
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .notion-side-item {
    position: relative;
    /* Position context for flyout */
  }

  .notion-side-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0;
    border-bottom: 1px solid var(--grey-100);
    margin: 0;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    color: var(--grey-700);
    background-color: var(--white);
    transition: all 0.2s ease;
  }

  .notion-side-link::after {
    content: "\f054";
    /* FontAwesome right chevron */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.75rem;
    color: var(--grey-400);
    transition: color 0.2s ease;
  }

  .notion-side-link:hover,
  .notion-side-item:hover>.notion-side-link {
    background-color: var(--brand-blue);
    color: var(--white);
  }

  .notion-side-link:hover::after,
  .notion-side-item:hover>.notion-side-link::after {
    color: var(--white);
  }

  .notion-side-submenu {
    position: absolute;
    top: -1px;
    /* Align perfectly with top edge of the item */
    left: 100%;
    /* Fly out to the right */
    width: max-content;
    /* Fit content width exactly */
    min-width: 220px;
    height: auto;
    /* Fit content height exactly */
    background-color: var(--white);
    padding: 0.5rem 0;
    display: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--grey-100);
    z-index: 1050;
  }

  .notion-side-item:hover>.notion-side-submenu,
  .notion-side-item.is-active>.notion-side-submenu {
    display: block;
    animation: fadeIn 0.2s ease forwards;
  }

  .notion-side-submenu a {
    display: block;
    padding: 0.65rem 1.5rem;
    color: var(--grey-700);
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s;
  }

  .notion-side-submenu a:hover {
    background-color: var(--grey-50);
    color: var(--brand-blue);
  }

  .notion-side-footer {
    width: 100%;
    margin: 0;
    padding: 1rem;
    background-color: var(--grey-50);
    text-align: center;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }
}

/* ==========================================================================
   6. Hero Section
   ========================================================================== */
#home {
  position: relative;
  background-color: var(--grey-50);
}

.hero-slide {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (max-width: 991px) {
  .hero-slide {
    height: auto;
  }
}

@media (max-width: 767px) {
  .hero-slide {
    background-color: transparent;
  }
}

@media (max-width: 480px) {
  .hero-slide {
    height: auto;
  }
}

.hero-slide-img {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: contain;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
  z-index: 1;
}

.hero-caption {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 1rem;
}

.hero-h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--brand-blue-dark);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
}

@media (min-width: 992px) {
  .hero-h1 {
    font-size: 5rem;
  }
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--grey-700);
  margin-bottom: 2.5rem;
  max-width: 600px;
  font-weight: 500;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   7. Certification Marquee
   ========================================================================== */
.cert-strip {
  background-color: var(--brand-blue-dark);
  color: var(--white);
  padding: 1.5rem 0;
  overflow: hidden;
}

.cert-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
}

.cert-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 3rem;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.cert-item i {
  color: var(--orange);
  font-size: 1.25rem;
}

/* ==========================================================================
   8. Stats Counter
   ========================================================================== */
.stats-counter-section {
  position: relative;
  padding: 5rem 0;
  background-color: var(--brand-blue-dark);
  color: var(--white);
  overflow: hidden;
}

.stats-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  mix-blend-mode: luminosity;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--orange);
  margin-bottom: 1rem;
}

.stat-value {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.stat-plus {
  color: var(--orange);
}

.stat-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--grey-300);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   9. About Section
   ========================================================================== */
.about-custom-section {
  background-color: var(--white);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.about-custom-section {
  position: relative;
}

.about-custom-content {
  position: relative;
  z-index: 1;
}

.about-custom-content::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  height: 450px;
  background-image: url('../images/logo/logo.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 991px) {
  .about-custom-content::before {
    width: 300px;
    height: 300px;
  }
}

.about-custom-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
  margin-bottom: 1rem;
}

.about-custom-heading {
  font-size: 3rem;
  font-weight: 800;
  color: var(--brand-blue-dark);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.about-custom-text {
  font-size: 1.125rem;
  color: var(--grey-600);
  margin-bottom: 1.5rem;
}

.about-custom-text strong {
  color: var(--grey-900);
  font-weight: 600;
}

.about-custom-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-visual-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.about-blue-overlay {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background-color: rgba(0, 42, 114, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--white);
}

.overlay-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.header-line {
  height: 2px;
  width: 40px;
  background-color: var(--orange);
}

.overlay-number {
  font-weight: 700;
  color: var(--orange);
}

.overlay-title {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.overlay-subtitle {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-300);
  display: block;
  margin-bottom: 1rem;
}

.overlay-desc {
  font-size: 1rem;
  color: var(--grey-200);
  margin: 0;
}

/* ==========================================================================
   10. Why Choose Us
   ========================================================================== */
.why-choose-section {
  background-color: var(--grey-50);
}

.wcu-split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 992px) {
  .wcu-split-layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
}

.wcu-list {
  list-style: none;
  padding: 0;
  margin: 3rem 0 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 576px) {
  .wcu-list {
    grid-template-columns: 1fr 1fr;
  }
}

.wcu-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.wcu-item-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background-color: var(--white);
  color: var(--orange);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.wcu-item-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 0.25rem;
}

.wcu-item-text {
  font-size: 0.95rem;
  color: var(--grey-600);
  margin: 0;
}

.wcu-side-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 350px;
  /* Reduced for mobile */
}

@media (min-width: 992px) {
  .wcu-side-image-wrap {
    height: 100%;
    min-height: 450px;
    /* Desktop min height */
  }
}

.wcu-image {
  object-fit: fill;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wcu-floating-stats {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: var(--brand-blue);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

.wcu-stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.wcu-stat-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* ==========================================================================
   11. Product Collection Cards
   ========================================================================== */
.products-section {
  background-color: var(--white);
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-200);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--grey-300);
}

.product-card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--grey-50);
}

.product-card-img-wrap img {

  object-fit: fill;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-img-wrap img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--white);
  color: var(--brand-blue);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.product-badge.orange {
  color: var(--orange);
}

.product-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-cat {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.product-desc {
  font-size: 1rem;
  color: var(--grey-600);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-feats {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.product-feats li {
  font-size: 0.95rem;
  color: var(--grey-700);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--brand-blue);
  font-size: 1.05rem;
  transition: color var(--transition-fast);
  margin-top: auto;
}

.product-cta:hover {
  color: var(--orange);
}

.product-cta i {
  transition: transform var(--transition-fast);
}

.product-cta:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   12. Blog Preview
   ========================================================================== */
.blog-preview-section {
  background-color: var(--grey-50);
}

.blog-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  color: inherit;
}

.blog-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-cat-pill {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--white);
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-card-body {
  padding: 2rem;
}

.blog-date {
  font-size: 0.875rem;
  color: var(--grey-500);
  margin-bottom: 0.75rem;
  display: block;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 1rem;
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-title {
  color: var(--brand-blue);
}

.blog-excerpt {
  font-size: 1rem;
  color: var(--grey-600);
  margin-bottom: 1.5rem;
}

.blog-read-more {
  font-weight: 600;
  color: var(--brand-blue);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-read-more {
  color: var(--orange);
}

/* ==========================================================================
   13. FAQ Section
   ========================================================================== */
.faq-section {
  background-color: var(--white);
}

.faq-accordion .accordion-item {
  border: none;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-200);
  overflow: hidden;
}

.faq-accordion .accordion-button {
  background-color: var(--white);
  color: var(--grey-900);
  font-weight: 600;
  font-size: 1.125rem;
  padding: 1.5rem;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background-color: var(--grey-50);
  color: var(--brand-blue);
  box-shadow: none;
}

.faq-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.faq-label i {
  color: var(--orange);
}

.faq-accordion .accordion-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  background-color: var(--grey-50);
  color: var(--grey-600);
  font-size: 1rem;
  line-height: 1.6;
}

/* ==========================================================================
   14. Testimonials
   ========================================================================== */
.testimonials-section {
  background-color: var(--grey-50);
}

.testimonial-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-company-badge {
  position: absolute;
  top: -1rem;
  left: 2.5rem;
  background: var(--brand-blue);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
}

.testimonial-quote-icon {
  font-size: 2.5rem;
  color: var(--orange-dim);
  margin-bottom: 1rem;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-size: 1.125rem;
  color: var(--grey-700);
  font-style: italic;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--grey-100);
  padding-top: 1.5rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.125rem;
}

.testimonial-name {
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 0.25rem;
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--grey-500);
  margin: 0;
}

/* ==========================================================================
   15. Certificates Carousel
   ========================================================================== */
.cert-carousel {
  max-width: 800px;
  margin: 0 auto;
}

.cert-item-wrap {
  display: block;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  background: var(--white);
}

.cert-img-container {
  padding: 2rem;
  background: var(--grey-50);
  display: flex;
  justify-content: center;
}

.cert-carousel-img {
  max-height: 400px;
  width: auto;
  object-fit: contain;
}

.cert-info-overlay {
  background: var(--brand-blue-dark);
  color: var(--white);
  padding: 1.5rem;
  text-align: center;
}

.cert-info-overlay h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.cert-info-overlay p {
  color: var(--grey-300);
  margin: 0;
  font-size: 0.95rem;
}

/* ==========================================================================
   16. Contact Section
   ========================================================================== */
.msd-contact-info-panel {
  background-color: var(--brand-blue-dark);
  color: var(--white);
  padding: 3rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  height: 100%;
}

.msd-contact-panel-title {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.msd-contact-panel-desc {
  color: var(--grey-300);
  margin-bottom: 3rem;
}

.msd-contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.msd-contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.msd-contact-info-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}

.msd-contact-info-text {
  color: var(--white);
  line-height: 1.5;
}

.msd-contact-info-text a {
  color: var(--white);
}

.msd-contact-info-text a:hover {
  color: var(--orange);
}

.msd-contact-form-wrapper {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.msd-minimal-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--grey-700);
  margin-bottom: 0.5rem;
}

.msd-minimal-field {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-md);
  background-color: var(--grey-50);
  font-family: inherit;
  font-size: 1rem;
  color: var(--grey-900);
  transition: all var(--transition-fast);
  margin-bottom: 1.5rem;
}

.msd-minimal-field:focus {
  outline: none;
  border-color: var(--brand-blue);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 42, 114, 0.1);
}

/* Captcha */
.msd-captcha-box {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.msd-captcha-code {
  background: var(--grey-100);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  color: var(--grey-900);
}

.msd-captcha-refresh {
  background: none;
  border: none;
  color: var(--grey-500);
  cursor: pointer;
  padding: 0.5rem;
  transition: color var(--transition-fast);
}

.msd-captcha-refresh:hover {
  color: var(--brand-blue);
}

.msd-captcha-input {
  flex-grow: 1;
  padding: 1rem;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-md);
  font-size: 1rem;
}

/* ==========================================================================
   17. CTA Banner
   ========================================================================== */
.cta-banner {
  background-color: var(--brand-blue);
  background-image: linear-gradient(rgba(0, 42, 114, 0.6), rgba(0, 42, 114, 0.6)), url('../images/page-banner-cta/cta-bg-image.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 5rem 0;
  color: var(--white);
}

.cta-banner-title {
  color: var(--white);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-banner-sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  margin: 0;
}

.cta-banner-btns {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.cta-banner-btns .msd-btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-banner-btns .msd-btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

/* ==========================================================================
   18. Footer
   ========================================================================== */
.msd-footer {
  position: relative;
  background-color: #f8f9fa;
  background-image:
    radial-gradient(circle at top right, rgba(11, 61, 145, 0.04) 0%, transparent 40%),
    radial-gradient(circle at bottom left, rgba(242, 101, 34, 0.04) 0%, transparent 40%);
  color: var(--grey-800);
  padding-top: 4rem;
  border-top: 4px solid;
  border-image: linear-gradient(to right, var(--brand-orange), var(--brand-blue)) 1;
}

.footer-logo {
  height: 75px;
  margin-bottom: 1.5rem;
}

.footer-about-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-social-strip {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--grey-800);
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background-color: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-heading {
  color: var(--brand-blue-dark);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--grey-700);
  text-decoration: none;
  transition: color var(--transition-fast);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--brand-blue);
}

.footer-contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  color: var(--orange);
  font-size: 1.25rem;
}

.footer-contact-info p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--grey-800);
  font-weight: 500;
}

.footer-contact-info p a {
  color: var(--brand-blue-dark);
  transition: color var(--transition-fast);
  font-weight: 600;
}

.footer-contact-info p a:hover {
  color: var(--brand-blue);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 42, 114, 0.1);
  padding: 1.5rem 0;
  margin-top: 3rem;
  font-size: 0.875rem;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-bottom-inner p {
  margin: 0;
}

/* ==========================================================================
   19. Fixed Buttons (WhatsApp, Call, Top)
   ========================================================================== */
.msd-fixed-buttons {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 100;
}

.msd-fixed-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-fast);
  border: none;
  cursor: pointer;
}

.msd-fixed-btn:hover {
  transform: scale(1.1);
  color: var(--white);
}

.msd-fixed-whatsapp {
  background-color: #25D366;
}

.msd-fixed-call {
  background-color: var(--brand-blue);
}

.msd-scroll-top {
  background-color: var(--grey-800);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.msd-scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.text-white-dim {
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   20. Page Banner (Subpages)
   ========================================================================== */
.page-banner {
  background-color: var(--brand-blue-dark);
  background-image: linear-gradient(rgba(0, 42, 114, 0.5), rgba(0, 42, 114, 0.5)), url('../images/page-banner-cta/page-banner-bg-image.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 4rem 0;
  text-align: center;
  color: var(--white);
}

/* Keep first content section below subpage banner visually balanced */
.page-banner+section.section-pad {
  padding: 4.5rem 0;
}

.page-banner-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.breadcrumb {
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
}

.breadcrumb .breadcrumb-item a {
  color: var(--white);
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.breadcrumb .breadcrumb-item a:hover {
  color: var(--white);
  opacity: 1;
}

.breadcrumb .breadcrumb-item.active {
  color: var(--white);
}

.breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
  .page-banner {
    background-attachment: scroll;
    padding: 2.75rem 0;
  }

  .page-banner+section.section-pad {
    padding: 3rem 0;
  }

  .page-banner-title {
    font-size: 2rem;
  }

  .breadcrumb {
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   21. Mission & Vision
   ========================================================================== */
.mv-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  height: 100%;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-100);
  transition: all var(--transition-normal);
  text-align: center;
}

.mv-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue-light);
}

.mv-icon {
  width: 80px;
  height: 80px;
  background-color: var(--orange-dim);
  color: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem auto;
}

.mv-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 1rem;
}

.mv-text {
  font-size: 1.125rem;
  color: var(--grey-600);
  margin: 0;
}

/* ==========================================================================
   22. Core Values
   ========================================================================== */
.core-value-item {
  background: var(--grey-50);
  border-radius: var(--radius-lg);
  height: 100%;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.core-value-item:hover {
  background: var(--white);
  border-color: var(--grey-200);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.cv-icon {
  font-size: 2rem;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.cv-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 0.5rem;
}

.cv-text {
  font-size: 0.95rem;
  color: var(--grey-600);
  margin: 0;
}

/* ==========================================================================
   23. Manufacturer Cards
   ========================================================================== */
.mfr-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--grey-200);
  transition: all var(--transition-normal);
  text-align: center;
}

.mfr-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue-light);
}

.mfr-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 0.75rem;
}

.mfr-card p {
  font-size: 0.95rem;
  color: var(--grey-600);
  margin: 0;
}

/* ==========================================================================
   24. Certificates Page
   ========================================================================== */
.cert-static-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-200);
  transition: all var(--transition-normal);
  height: 100%;
}

.cert-static-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue-light);
}

.cert-static-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.cert-img-wrap {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--grey-100);
  background: var(--grey-50);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.cert-img-wrap img {
  height: 350px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.cert-static-card:hover .cert-img-wrap img {
  transform: scale(1.03);
}

.cert-zoom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 42, 114, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-size: 3rem;
  opacity: 0;
  transition: all var(--transition-normal);
}

.cert-static-card:hover .cert-zoom-overlay {
  opacity: 1;
}

.cert-body {
  padding: 1.5rem;
  text-align: center;
}

.cert-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 0.5rem;
}

.cert-body p {
  color: var(--grey-600);
  font-size: 0.95rem;
  margin: 0;
}

/* Stats Box Premium Override */
.stats-box-premium {
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  background-color: var(--brand-blue-dark) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-box-premium::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

/* ==========================================================================
   25. Product Details Page
   ========================================================================== */
.service-detail-wrapper {
  background-color: var(--white);
}

.service-card-wide {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--grey-100);
}

@media (min-width: 992px) {
  .service-card-wide {
    flex-direction: row;
    align-items: stretch;
  }
}

.service-card-img-side {
  flex: 0 0 50%;
  background-color: var(--grey-50);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-img-side img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

.service-card-img-side img:hover {
  transform: scale(1.05);
}

.service-card-content-side {
  flex: 1;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-label-pill {
  display: inline-block;
  background-color: var(--orange-dim);
  color: var(--orange);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  align-self: flex-start;
}

.service-title-large {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.service-desc-text {
  font-size: 1.125rem;
  color: var(--grey-600);
  line-height: 1.7;
}

/* Product Specifications Table */
.product-spec-table {
  width: 100%;
  margin-bottom: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--grey-200);
}

.product-spec-table thead {
  background-color: var(--grey-100);
}

.product-spec-table th {
  color: var(--brand-blue);
  font-weight: 700;
  border-bottom: 2px solid var(--grey-200);
  padding: 1rem 1.5rem;
}

.product-spec-table td {
  padding: 1rem 1.5rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--grey-200);
  color: var(--grey-700);
}

.product-spec-table tbody tr:last-child td {
  border-bottom: none;
}

.product-spec-table tbody tr:hover {
  background-color: var(--grey-50);
}

/* ==========================================================================
   26. Modal Styles (Enquiry)
   ========================================================================== */
.msd-modal .modal-content {
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.msd-modal .modal-header {
  background-color: var(--grey-50);
  border-bottom: 1px solid var(--grey-100);
  padding: 1.5rem 2rem;
}

.msd-modal .modal-title {
  color: var(--brand-blue);
  font-weight: 700;
}

.msd-modal .btn-close {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  border-radius: 50%;
  opacity: 1;
  padding: 0.5rem;
  margin-right: -0.5rem;
}

.msd-modal .modal-body {
  padding: 2rem;
}

.msd-minimal-field {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  background-color: var(--grey-50);
  transition: all var(--transition-fast);
  font-size: 1rem;
}

.msd-minimal-field:focus {
  outline: none;
  border-color: var(--brand-blue-light);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 42, 114, 0.1);
}

.msd-captcha-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--grey-50);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-200);
}

.msd-captcha-code {
  font-family: monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--grey-300);
  min-width: 100px;
  text-align: center;
}

.msd-captcha-refresh {
  background: none;
  border: none;
  color: var(--grey-500);
  font-size: 1.25rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.msd-captcha-refresh:hover {
  color: var(--orange);
}

.msd-captcha-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.5rem;
  font-size: 1rem;
  outline: none;
}

.msd-btn-wide-blue {
  width: 100%;
  padding: 1rem;
  background-color: var(--brand-blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 1.125rem;
  font-weight: 700;
  transition: background-color var(--transition-fast);
  cursor: pointer;
}

.msd-btn-wide-blue:hover {
  background-color: var(--brand-blue-dark);
}

/* ==========================================================================
   27. Product Cards (Used in Related Products & Products Page)
   ========================================================================== */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-200);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue-light);
}

.product-card-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--grey-50);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--grey-100);
}

.product-card-img-wrap img {

  object-fit: cover;
  transition: transform var(--transition-normal);
}

.product-card:hover .product-card-img-wrap img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--orange);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}

.product-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-cat {
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 0.75rem;
}

.product-desc {
  color: var(--grey-600);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.product-feats {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  flex: 1;
}

.product-feats li {
  margin-bottom: 0.5rem;
  color: var(--grey-700);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-cta {
  color: var(--brand-blue);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-fast);
  margin-top: auto;
}

.product-cta:hover {
  color: var(--orange);
}

/* ==========================================================================
   28. Tweaks (Modal Logo & Footer Size)
   ========================================================================== */
.msd-modal .modal-header img {
  max-height: 35px;
  width: auto;
}

.msd-footer {
  padding-top: 0;
}

.msd-footer .footer-top {
  padding: 3rem 0 1.5rem;
}

.msd-footer .footer-heading {
  margin-bottom: 1.25rem;
}

.msd-footer .footer-about-text {
  margin-bottom: 1.25rem;
}

/* Shape Divider */
.custom-shape-divider-top-1778656161 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.custom-shape-divider-top-1778656161 svg {
  position: relative;
  display: block;
  width: calc(260% + 1.3px);
  height: 73px;
}

.custom-shape-divider-top-1778656161 .shape-fill {
  fill: #FFFFFF;
}

/* ==========================================================================
   29. Blog Detail Page
   ========================================================================== */
.blog-detail-body {
  background-color: var(--white);
}

.blog-detail-cover {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
}

.blog-detail-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.article-content {
  color: var(--grey-700);
  font-size: 1.125rem;
  line-height: 1.8;
}

.article-content h2 {
  color: var(--brand-blue);
  font-size: 2rem;
  font-weight: 800;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.75rem;
}

.blog-highlight-box {
  background-color: var(--orange-dim);
  border-left: 4px solid var(--orange);
  padding: 1.5rem 2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
  color: var(--brand-blue-dark);
  font-size: 1.05rem;
}

.blog-comparison-table {
  overflow-x: auto;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200);
}

.blog-comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.blog-comparison-table th {
  background-color: var(--grey-100);
  color: var(--brand-blue);
  font-weight: 700;
  padding: 1.25rem 1.5rem;
  text-align: left;
  border-bottom: 2px solid var(--grey-200);
}

.blog-comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--grey-100);
  vertical-align: middle;
}

.blog-comparison-table tr:last-child td {
  border-bottom: none;
}

.col-zhfr {
  background-color: rgba(0, 42, 114, 0.03);
  font-weight: 600;
  color: var(--brand-blue);
}

.blog-cta-box {
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-top: 3rem;
  text-align: center;
}

.blog-cta-box h3 {
  color: var(--brand-blue);
  font-weight: 800;
  margin-bottom: 1rem;
}

.blog-cta-box p {
  color: var(--grey-600);
  margin-bottom: 2rem;
}

.blog-cta-box .d-flex {
  justify-content: center;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--grey-200);
}

.blog-tag {
  background-color: var(--grey-100);
  color: var(--grey-600);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.blog-tag:hover {
  background-color: var(--brand-blue);
  color: var(--white);
}

.blog-share {
  background-color: var(--grey-50);
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.blog-share-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--grey-700);
  margin-bottom: 1rem;
}

.blog-share-btn {
  background-color: var(--white);
  border: 1px solid var(--grey-200);
  color: var(--grey-600);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.blog-share-btn:hover {
  background-color: var(--brand-blue);
  color: var(--white);
  border-color: var(--brand-blue);
}

/* ==========================================================================
   30. Sidebar (Sticky)
   ========================================================================== */
.blog-sidebar {
  position: sticky;
  top: 120px;
  /* Offset for fixed navbar */
}

.sidebar-card {
  background-color: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--grey-100);
  padding-bottom: 1rem;
}

.related-product-card {
  display: block;
  text-decoration: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--grey-100);
  transition: all var(--transition-normal);
}

.related-product-card:hover {
  border-color: var(--brand-blue-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.related-product-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background-color: var(--grey-50);
}

.related-product-card-body {
  padding: 1.25rem;
}

.related-p-cat {
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.related-p-name {
  color: var(--brand-blue);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.more-article-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--grey-100);
  transition: opacity var(--transition-fast);
}

.more-article-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.more-article-item:hover {
  opacity: 0.7;
}

.more-article-item img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.more-article-title {
  color: var(--brand-blue);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.more-article-date {
  color: var(--grey-500);
  font-size: 0.75rem;
}

/* ==========================================================================
   Category Section Styles
   ========================================================================== */
.category-section {
  background-color: var(--white);
  border-bottom: 1px solid var(--grey-100);
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
}

.category-card:hover {
  transform: translateY(-8px);
  background-color: var(--grey-50);
}

.category-icon-wrap {
  width: 130px;
  height: 130px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  overflow: hidden;
  border: 1.5px solid var(--grey-100);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

@media (max-width: 767px) {
  .category-icon-wrap {
    width: 100px;
    height: 100px;
  }
}

.category-card:hover .category-icon-wrap {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}

.category-icon-wrap img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.category-card:hover .category-icon-wrap img {
  transform: scale(1.1);
}

.category-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--grey-900);
  margin: 0;
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.category-card:hover .category-name {
  color: var(--brand-blue);
}

/* ==========================================================================
   31. Blog Cards (Knowledge Hub)
   ========================================================================== */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-200);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue-light);
}

.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-cat {
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-excerpt {
  color: var(--grey-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.blog-read-more {
  color: var(--brand-blue);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-fast);
}

.blog-read-more:hover {
  color: var(--orange);
  gap: 8px;
}

.blog-meta {
  color: var(--grey-500);
  font-size: 0.85rem;
  margin: 0;
}

/* ========================================================================== 
   32. Mobile Typography Tuning
   ========================================================================== */
@media (max-width: 767px) {
  body {
    font-size: 1rem;
    line-height: 1.55;
  }

  .msd-nav-link {
    font-size: 1rem;
  }

  .section-label {
    font-size: 0.76rem;
    letter-spacing: 0.04em;
  }

  .section-heading {
    font-size: 2.1rem;
    line-height: 1.18;
    letter-spacing: -0.02em;
  }

  .section-sub,
  .hero-sub,
  .about-custom-text,
  .testimonial-text,
  .body-text,
  .article-content,
  .faq-accordion .accordion-body {
    font-size: 1rem;
  }

  .hero-h1 {
    font-size: 2.25rem;
    line-height: 1.15;
  }

  .about-custom-heading {
    font-size: 2.2rem;
    line-height: 1.15;
  }

  .product-name {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .product-desc,
  .blog-excerpt,
  .blog-read-more,
  .category-name {
    font-size: 0.92rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.97rem;
  }

  .section-heading {
    font-size: 1.9rem;
  }

  .hero-h1 {
    font-size: 2rem;
  }

  .about-custom-heading {
    font-size: 1.95rem;
  }
}

/* Phone-only products dropdown layout (left category + right subcategory panel) */
@media (max-width: 767px) {
  .notion-side-root {
    position: relative;
    min-height: 22rem;
    overflow: hidden;
  }

  .notion-side-item {
    position: relative;
  }

  .notion-side-link {
    width: 56%;
    min-height: 3.4rem;
    padding: 0.9rem 1rem;
    border-radius: 0;
  }

  .notion-side-item.is-active>.notion-side-link {
    background-color: var(--orange);
    color: var(--white);
  }

  .notion-side-item.is-active>.notion-side-link::after {
    color: var(--white);
    transform: none;
  }

  .notion-side-submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 56%;
    width: 44%;
    max-height: 100%;
    overflow-y: auto;
    opacity: 1;
    padding: 0.35rem 0;
    border-left: 1px solid var(--grey-200);
    background-color: var(--white);
    transition: none;
    z-index: 2;
  }

  .notion-side-item.is-active>.notion-side-submenu {
    display: block;
    max-height: 100%;
    padding: 0.35rem 0;
    border-top: 0;
  }

  .notion-side-submenu a {
    padding: 0.65rem 0.85rem;
    border-radius: 0;
    font-size: 0.96rem;
    line-height: 1.3;
  }
}



/* ==========================================================================
   SHOP BY CATEGORY — Premium Card Grid
   ========================================================================== */

/* Section wrapper */
.cat-section {
  padding: 5rem 0 6rem;
  background: var(--grey-50);
  position: relative;
  overflow: hidden;
}

.cat-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 42, 114, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cat-section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3.5rem;
}

.cat-section-header .section-sub {
  max-width: 580px;
  margin: 0 auto;
}

/* ── Grid layout ── */
.cat-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  grid-auto-rows: 200px;
}

@media (min-width: 576px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
}

@media (min-width: 992px) {
  .cat-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
  }
}

.cat-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 42, 114, 0.85) 0%,
      rgba(0, 20, 60, 0.45) 45%,
      rgba(0, 20, 60, 0.08) 100%);
  transition: background 0.38s ease;
}

.cat-card:hover .cat-card__overlay {
  background: linear-gradient(to top,
      rgba(0, 42, 114, 0.92) 0%,
      rgba(0, 42, 114, 0.55) 50%,
      rgba(0, 42, 114, 0.12) 100%);
}

/* ── Card body ── */
.cat-card__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem 1.5rem;
  z-index: 2;
}

/* Tag badge */
.cat-card__tag {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.6rem;
  width: fit-content;
  transition: background 0.25s ease, color 0.25s ease;
}

.cat-card:hover .cat-card__tag {
  background: #fff;
  color: var(--brand-blue);
}

/* Name */
.cat-card__name {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  line-height: 1.2;
  transition: transform 0.32s ease;
}

.blog-excerpt,
.blog-read-more,
.category-name {
  font-size: 0.92rem;
}

@media (max-width: 480px) {
  body {
    font-size: 0.97rem;
  }

  .section-heading {
    font-size: 1.9rem;
  }

  .hero-h1 {
    font-size: 2rem;
  }

  .about-custom-heading {
    font-size: 1.95rem;
  }
}

/* Phone-only products dropdown layout (left category + right subcategory panel) */
@media (max-width: 767px) {
  .notion-side-root {
    position: relative;
    min-height: 22rem;
    overflow: hidden;
  }

  .notion-side-item {
    position: relative;
  }

  .notion-side-link {
    width: 56%;
    min-height: 3.4rem;
    padding: 0.9rem 1rem;
    border-radius: 0;
  }

  .notion-side-item.is-active>.notion-side-link {
    background-color: var(--orange);
    color: var(--white);
  }

  .notion-side-item.is-active>.notion-side-link::after {
    color: var(--white);
    transform: none;
  }

  .notion-side-submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 56%;
    width: 44%;
    max-height: 100%;
    overflow-y: auto;
    opacity: 1;
    padding: 0.35rem 0;
    border-left: 1px solid var(--grey-200);
    background-color: var(--white);
    transition: none;
    z-index: 2;
  }

  .notion-side-item.is-active>.notion-side-submenu {
    display: block;
    max-height: 100%;
    padding: 0.35rem 0;
    border-top: 0;
  }

  .notion-side-submenu a {
    padding: 0.65rem 0.85rem;
    border-radius: 0;
    font-size: 0.96rem;
    line-height: 1.3;
  }
}



/* ==========================================================================
   SHOP BY CATEGORY — Premium Card Grid
   ========================================================================== */

/* Section wrapper */
.cat-section {
  padding: 5rem 0 6rem;
  background: var(--grey-50);
  position: relative;
  overflow: hidden;
}

.cat-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 42, 114, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cat-section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3.5rem;
}

.cat-section-header .section-sub {
  max-width: 580px;
  margin: 0 auto;
}

/* ── Grid layout ── */
.cat-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  grid-auto-rows: 200px;
}

@media (min-width: 576px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
}

@media (min-width: 992px) {
  .cat-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
  }
}

/* ── Base card ── */
.cat-card {
  position: relative;
  display: block;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  background-color: #1a2a4a;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.cat-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 16px 48px rgba(0, 42, 114, 0.20);
}

/* ── Large feature cards (span 2 rows on desktop) ── */
@media (min-width: 992px) {
  .cat-card--large {
    grid-row: span 2;
  }
}

/* ── Image wrapper ── */
.cat-card__img-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Force override global img { height: auto } so image fills the card */
.cat-card__img-wrap img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.cat-card:hover .cat-card__img-wrap img {
  transform: scale(1.10);
}

/* ── Gradient overlay ── */
.cat-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 20, 60, 0.88) 0%,
      rgba(0, 20, 60, 0.45) 45%,
      rgba(0, 20, 60, 0.08) 100%);
  transition: background 0.38s ease;
}

.cat-card:hover .cat-card__overlay {
  background: linear-gradient(to top,
      rgba(0, 42, 114, 0.92) 0%,
      rgba(0, 42, 114, 0.55) 50%,
      rgba(0, 42, 114, 0.12) 100%);
}

/* ── Card body ── */
.cat-card__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem 1.5rem;
  z-index: 2;
}

/* Tag badge */
.cat-card__tag {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.6rem;
  width: fit-content;
  transition: background 0.25s ease, color 0.25s ease;
}

.cat-card:hover .cat-card__tag {
  background: #fff;
  color: var(--brand-blue);
}

/* Name */
.cat-card__name {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  line-height: 1.2;
  transition: transform 0.32s ease;
}

.cat-card--large .cat-card__name {
  font-size: 1.55rem;
}

.cat-card:hover .cat-card__name {
  transform: translateY(-3px);
}

/* Desc (shown on large cards) */
.cat-card__desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  margin: 0 0 0.75rem;
  line-height: 1.45;
  max-width: 280px;
}

/* CTA arrow */
.cat-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cat-card__cta i {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.cat-card:hover .cat-card__cta {
  opacity: 1;
  transform: translateY(0);
}

.cat-card:hover .cat-card__cta i {
  transform: translateX(4px);
}

/* Footer CTA */
.cat-section-footer {
  text-align: center;
  margin-top: 3rem;
}

/* ── Mobile ── */
@media (max-width: 575px) {
  .cat-section {
    padding: 3.5rem 0 4rem;
  }

  .cat-grid {
    gap: 0.85rem;
    grid-auto-rows: 170px;
  }

  .cat-card__name {
    font-size: 1rem;
  }

  .cat-card--large .cat-card__name {
    font-size: 1.2rem;
  }

  .cat-card__body {
    padding: 1rem 1.1rem;
  }

  .cat-card__cta {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Tablet 2-col: always show CTA ── */
@media (min-width: 576px) and (max-width: 991px) {
  .cat-card__cta {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   GLOBAL SECTION CARDS
   ========================================================================== */
body {
  background-color: #f4f6f9 !important;
  /* Soft backdrop so cards pop */
}

.msd-section-card {
  background-color: #ffffff !important;
  background-color: #1e30ff1a !important;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  margin: 3rem auto;
  max-width: 1360px;
  /* slightly wider than 1320px container to give padding */
  overflow: hidden;
  position: relative;
}

/* On mobile/tablet, add some side margin so the border and shadow are visible */
@media (max-width: 1400px) {
  .msd-section-card {
    margin-left: 1rem;
    margin-right: 1rem;
    width: calc(100% - 2rem);
  }
}

@media (max-width: 768px) {
  .msd-section-card {
    border-radius: 16px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Helper Classes for Blog Detail */
.author-name {
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0;
}

.author-role {
  font-size: 0.72rem;
  color: var(--grey-500);
  margin: 0;
}

.section-label-light {
  color: rgba(255, 255, 255, 0.5) !important;
}