/* ============================================
   PROTEGE CHEMICALS — Brand CSS
   Overrides Exa theme, blue color system
   ============================================ */

/* --- Shopify Font Stack --- */
/* The exact font stack used by Shopify (Shopify Sans with native system fallbacks) */

/* --- CSS Variables --- */
:root {
  --shopify-font: "Shopify Sans", -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --blue-primary: #1a6abf;
  --blue-dark:    #0d3a73;
  --blue-mid:     #1558a0;
  --blue-light:   #4a90d9;
  --blue-pale:    #e8f1fb;
  --bg-base:      #f8fafd;
  --bg-white:     #ffffff;
  --text-dark:    #1e2a3a;
  --text-body:    #64748b;
  --text-light:   #94a3b8;
  --border:       #e2e8f0;
  --shadow-sm:    0 2px 8px rgba(26,106,191,0.08);
  --shadow-md:    0 8px 32px rgba(26,106,191,0.14);
  --transition:   0.3s ease;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}
::-webkit-scrollbar-track {
  background: #f8fafd;
}
::-webkit-scrollbar-thumb {
  background-color: rgba(26, 106, 191, 0.4);
  border-radius: 10px;
  border: 4px solid #f8fafd;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
  background-color: rgba(26, 106, 191, 0.8);
  border: 2px solid #f8fafd;
}

/* --- Base Overrides --- */
html { background-color: var(--bg-base); }
body, h1, h2, h3, h4, h5, h6, p, a, span, div, .button, input, textarea, select {
  font-family: var(--shopify-font) !important;
}
body {
  color: var(--text-body);
  background-color: var(--bg-base);
}
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
}
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 3px;
}
a { color: var(--blue-primary); }
a:hover { color: var(--blue-dark); }

/* --- Color Replacements (red → blue) --- */
.sep.red, .sep.blue {
  border-top: 3px solid var(--blue-primary);
  width: 36px;
  margin-top: 0.75em;
  margin-bottom: 1.25em;
}
.text-red, .text-blue { color: var(--blue-primary) !important; }
.red-border { border-left: 4px solid var(--blue-primary); padding-left: 1.5em; }

/* --- Navbar --- */
header.navbar {
  background: linear-gradient(120deg, #ffffff, #cce0ff, #ffffff, #99c2ff);
  background-size: 200% 200%;
  animation: headerBgGradient 8s ease infinite;
  border-bottom: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all var(--transition);
  position: sticky;
  top: 0;
  z-index: 1000;
}

@keyframes headerBgGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


header.navbar#top {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}
header.navbar#top .container {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}
@media (min-width: 992px) {
  header.navbar#top .container {
    padding-left: 4rem !important;
    padding-right: 4rem !important;
  }
}

/* Make nav text dark for light background */
#site-menu a {
  color: #292f33 !important;
}
header.navbar nav ul li a:hover,
header.navbar nav ul li.current-menu-item > a {
  color: var(--blue-primary) !important;
}

/* --- Header Logo — Bulletproof Override --- */
.site-title { display: flex; align-items: center; }
.site-title h1 {
  margin-bottom: 0 !important;
  font-size: 1em !important;
  line-height: 1 !important;
  overflow: visible !important;
  display: flex !important;
  align-items: center !important;
}
.site-title h1 a {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
}
.site-title h1 a img,
.site-title h1 img {
  float: none !important;
  display: block !important;
  max-height: 95px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: opacity 0.3s ease, transform 0.3s ease;
  /* Logo is already blue/teal on transparent — no filter needed */
  filter: none !important;
}
.site-title h1 a:hover img { opacity: 0.82; transform: scale(1.02); }

.site-menu-toggle em { background-color: var(--blue-primary); }

/* Nav dropdowns */
header.navbar nav ul li ul {
  background: var(--bg-white) !important;
  border-top: none !important;
  padding-top: 0 !important;
  box-shadow: var(--shadow-md);
}
#site-menu li.menu-item-has-children li:first-child {
  padding-top: 0 !important;
}

/* Nav Hover Animation (Underline) */
#site-menu nav > ul > li.current-menu-item > a::after,
#site-menu nav > ul > li.current-menu-parent > a::after {
  display: none !important; /* Hide the old static underline */
}
#site-menu nav > ul > li > a {
  position: relative;
}
#site-menu nav > ul > li > a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--blue-primary);
  transition: width 0.3s ease, left 0.3s ease;
}
#site-menu nav > ul > li:hover > a::before,
#site-menu nav > ul > li.current-menu-item > a::before {
  width: calc(100% - 1.5em);
  left: 0.75em;
}

/* --- Buttons --- */
.button {
  border: 2px solid transparent;
  color: var(--blue-primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.8em;
  padding: 0.9em 2.2em;
  transition: all var(--transition);
  display: inline-block;
  text-decoration: none;
  border-radius: 50px;
}
.button:hover {
  background: var(--blue-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(26,106,191,0.3);
  transform: translateY(-2px) scale(1.02);
}
.button.filled {
  background: var(--blue-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(26,106,191,0.2);
}
.button.filled:hover {
  background: var(--blue-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(13,58,115,0.3);
  transform: translateY(-2px) scale(1.02);
}
.button.white-outline {
  border-color: #fff;
  color: #fff;
  background: transparent;
}
.button.white-outline:hover {
  background: #fff;
  color: var(--blue-dark);
  box-shadow: 0 6px 20px rgba(255,255,255,0.3);
  transform: translateY(-2px) scale(1.02);
}

/* ============================================
   HERO SECTION (Slider)
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: var(--blue-dark);
}
.hero-slider, .hero-slider .owl-stage-outer, .hero-slider .owl-stage, .hero-slider .owl-item, .hero-item {
  height: 100%;
}
.hero-item {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,0.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Slider Animations */
.hero-eyebrow, .hero-title, .hero-subtitle, .hero-ctas {
  opacity: 0;
}
.owl-item.active .hero-eyebrow {
  animation: slideFromLeft 0.8s forwards 0.3s;
}
.owl-item.active .hero-title {
  animation: slideFromLeft 0.8s forwards 0.5s;
}
.owl-item.active .hero-subtitle {
  animation: slideFromLeft 0.8s forwards 0.7s;
}
.owl-item.active .hero-ctas {
  animation: slideFromLeft 0.8s forwards 0.9s;
}

@keyframes slideFromLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78em;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.12;
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero-title span { color: var(--blue-light); }
.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1em;
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
  color: rgba(255,255,255,0.6);
  font-size: 1.4rem;
  animation: bounce 2s infinite 2s;
  opacity: 0;
  transition: opacity var(--transition);
}
.hero:hover .hero-scroll {
  opacity: 1;
}
.hero-scroll a { color: inherit; }

/* Custom Owl Nav for Hero Slider */
.hero-slider .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 5;
  pointer-events: none;
}
.hero-slider .owl-nav .owl-prev,
.hero-slider .owl-nav .owl-next {
  pointer-events: auto;
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.1) !important;
  color: #fff !important;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem !important;
  transition: all var(--transition) !important;
}
.hero-slider .owl-nav .owl-prev:hover,
.hero-slider .owl-nav .owl-next:hover {
  background: var(--blue-primary) !important;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section { padding: 5rem 0; }
.section.white-bg { background: var(--bg-white); }
.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  text-align: center;
  color: var(--text-body);
  max-width: 580px;
  margin: 0 auto 3rem;
  font-size: 1em;
  line-height: 1.8;
}
.section-eyebrow {
  display: block;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.72em;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 0.75rem;
}

/* ============================================
   PRODUCT CATEGORY CARDS (Home Grid)
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.product-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 0.9;
  display: block;
  text-decoration: none;
}
.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.product-card:hover img { transform: scale(1.07); }
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(13,58,115,0.88) 0%,
    rgba(13,58,115,0.25) 60%,
    transparent 100%);
  transition: background var(--transition);
}
.product-card:hover .product-card-overlay {
  background: linear-gradient(to top,
    rgba(13,58,115,0.94) 0%,
    rgba(26,106,191,0.55) 100%);
}
.product-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  color: #fff;
  transform: translateY(8px);
  transition: transform var(--transition);
}
.product-card:hover .product-card-content { transform: translateY(0); }
.product-card-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.product-card-content p {
  font-size: 0.85em;
  color: rgba(255,255,255,0.78);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
  min-height: 4.5em;
}
.product-card:hover .product-card-content p {
  opacity: 1;
  transform: translateY(0);
}
.product-card-arrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.72em;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.product-card-arrow::after {
  content: '→';
  transition: transform var(--transition);
}
.product-card:hover .product-card-arrow::after { transform: translateX(6px); }

/* ============================================
   MARKETS SECTION
   ============================================ */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.market-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.market-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: var(--blue-light);
}
.market-card-icon {
  width: 64px;
  height: 64px;
  background: var(--blue-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.6rem;
  color: var(--blue-primary);
  transition: background var(--transition);
}
.market-card:hover .market-card-icon {
  background: var(--blue-primary);
  color: #fff;
}
.market-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}
.market-card p {
  font-size: 0.88em;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.market-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 0;
}
.market-tag {
  font-size: 0.72em;
  letter-spacing: 1px;
  background: var(--blue-pale);
  color: var(--blue-primary);
  padding: 0.25em 0.75em;
  border-radius: 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

/* ============================================
   ABOUT TEASER (Home)
   ============================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-split-image {
  position: relative;
}
.about-split-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.about-split-image::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 3px solid var(--blue-primary);
  z-index: 0;
  pointer-events: none;
}
.about-split-image img { position: relative; z-index: 1; }

/* Triangular Collage */
.triangular-collage {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  z-index: 1;
}
.triangular-collage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,58,115,0.7) 0%, rgba(21,88,160,0.6) 100%);
  z-index: 5;
  pointer-events: none;
}
.collage-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.collage-item:hover img {
  transform: scale(1.08);
}
.top-triangle {
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  z-index: 1;
}
.left-triangle {
  clip-path: polygon(0 0, 50% 100%, 0 100%);
  z-index: 1;
}
.right-triangle {
  clip-path: polygon(100% 0, 100% 100%, 50% 100%);
  z-index: 1;
}
.collage-overlay-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  text-align: center;
  z-index: 10;
  pointer-events: none;
}
.collage-overlay-center h3 {
  color: #fff;
  margin: 0;
  font-size: 2.2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 1.3;
  text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}
.about-supply-text {
  margin-top: 2rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-body);
  border-left: 3px solid var(--blue-primary);
  padding-left: 1.25rem;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.stat-item { text-align: center; padding: 1.25rem; background: var(--blue-pale); border-radius: 4px; }
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--blue-primary);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.78em;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-body);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-top: 0.4rem;
  display: block;
}
a.stat-item {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
}
a.stat-item:hover {
  background: var(--blue-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
a.stat-item:hover .stat-number,
a.stat-item:hover .stat-label {
  color: #fff;
}

/* ============================================
   SLIDER IMAGE BOXES
============================================ */
.slider-image-box {
  position: relative;
  height: 240px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.slider-image-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(21, 88, 160, 0.3);
}
.slider-image-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(21, 88, 160, 0.7); /* large square blue box overlay */
  z-index: 1;
  transition: background 0.3s ease;
}
.slider-image-box:hover::before {
  background: rgba(21, 88, 160, 0.5); /* lighter on hover */
}
.slider-image-box a {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-decoration: none;
  padding: 1.5rem;
}
.slider-image-box .big-excerpt {
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  margin-bottom: 0;
}
/* ============================================
   SLIDER ARROWS IMPROVED UI
============================================ */
.owl-carousel .owl-nav.disabled,
.owl-carousel .owl-nav .disabled {
  display: none !important;
}
.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  background: #ffffff !important;
  color: var(--blue-primary) !important;
  border: none !important;
  border-radius: 50%;
  font-size: 1.6rem !important;
  line-height: 54px !important;
  text-align: center;
  box-shadow: 0 8px 24px rgba(21, 88, 160, 0.15);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  font-family: "FontAwesome" !important;
}
.owl-carousel .owl-nav .owl-prev::before {
  content: "\f104";
}
.owl-carousel .owl-nav .owl-next::before {
  content: "\f105";
}
.owl-carousel .owl-nav .owl-prev i,
.owl-carousel .owl-nav .owl-next i {
  display: none !important; /* Hide JS injected icons if they load, to prevent duplicates */
}
.owl-carousel .owl-nav .owl-prev:hover,
.owl-carousel .owl-nav .owl-next:hover {
  background: var(--blue-primary) !important;
  color: #ffffff !important;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 28px rgba(21, 88, 160, 0.3);
}
.owl-carousel .owl-nav .owl-prev {
  left: -27px;
}
.owl-carousel .owl-nav .owl-next {
  right: -27px;
}

/* ============================================
   HERO SLIDER ARROWS ADJUSTMENTS
============================================ */
.hero-slider .owl-nav .owl-prev,
.hero-slider .owl-nav .owl-next {
  opacity: 0.6;
}
.hero-slider .owl-nav .owl-prev:hover,
.hero-slider .owl-nav .owl-next:hover {
  opacity: 1;
}
.hero-slider .owl-nav .owl-prev {
  left: 20px;
}
.hero-slider .owl-nav .owl-next {
  right: 20px;
}

/* ============================================
   PRINCIPALS STRIP
   ============================================ */
.principals-strip {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}
.principals-label {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.72em;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 2rem;
}
.principals-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}
.principal-logo {
  text-align: center;
  transition: transform var(--transition);
}
.principal-logo:hover { transform: translateY(-3px); }
.principal-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-light);
  transition: color var(--transition);
  line-height: 1.3;
}
.principal-logo:hover .principal-logo-text { color: var(--blue-primary); }
.principal-logo-sub {
  display: block;
  font-size: 0.7em;
  color: var(--text-light);
  letter-spacing: 1px;
  font-family: 'Montserrat', sans-serif;
}

/* Enhanced Logo Styling */
.enhanced-logo {
  mix-blend-mode: multiply;
  filter: contrast(1.2) saturate(1.1) brightness(1.05);
  transition: all var(--transition);
}
.enhanced-logo:hover {
  filter: contrast(1.3) saturate(1.2) brightness(1.1);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  top: -200px; right: -100px;
  pointer-events: none;
}
.cta-banner h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-banner p {
  color: rgba(255,255,255,0.78);
  max-width: 480px;
  margin: 0 auto 2rem;
}

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  padding: 6rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/hero-bg.jpg') center/cover;
  opacity: 0.12;
}

.page-header .inner { position: relative; z-index: 1; }
.page-header h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 0.75rem;
}
.breadcrumb {
  font-size: 0.82em;
  color: rgba(255,255,255,0.65);
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1px;
}
.breadcrumb a { color: var(--blue-light); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { margin: 0 0.5rem; }

/* ============================================
   PRODUCT CATEGORIES PAGE
   ============================================ */
.category-section { margin-bottom: 4rem; }
.category-section h6 {
  font-size: 0.82em;
  letter-spacing: 4px;
  color: var(--text-dark);
}
.sub-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.sub-product-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue-primary);
  padding: 1rem 1.25rem;
  font-size: 0.88em;
  color: var(--text-dark);
  font-family: 'Montserrat', sans-serif;
  transition: box-shadow var(--transition), transform var(--transition);
  border-radius: 0 4px 4px 0;
}
.sub-product-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.contact-info-text p { margin-bottom: 0; font-size: 0.9em; }
.contact-info-text strong { color: var(--text-dark); display: block; margin-bottom: 0.2rem; font-size: 0.75em; letter-spacing: 2px; text-transform: uppercase; font-family: 'Montserrat', sans-serif; font-weight: 600; }

/* Form inputs brand override */
input[type=text], input[type=email], textarea, select {
  border-color: var(--border);
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
}
input[type=text]:focus, input[type=email]:focus, textarea:focus {
  border-color: var(--blue-primary);
}
input[type=submit] {
  background: var(--blue-primary);
  color: #fff;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.78em;
  padding: 1em 2.8em;
  cursor: pointer;
  border-radius: 50px;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(26,106,191,0.2);
}
input[type=submit]:hover { 
  background: var(--blue-dark);
  box-shadow: 0 6px 20px rgba(13,58,115,0.3);
  transform: translateY(-2px) scale(1.02);
}

/* ============================================
   SOCIAL LINKS
   ============================================ */
a.social-link, footer#footer a.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
  margin: 0 0.2rem;
}
a.social-link:hover, footer#footer a.social-link:hover { 
  background: var(--blue-primary); 
  color: #fff; 
}

/* ============================================
   FOOTER
   ============================================ */
footer#footer {
  background: var(--blue-dark);
  padding: 3rem 0 2rem;
  text-align: center;
}
footer#footer p { color: rgba(255,255,255,0.55); font-size: 0.85em; margin-bottom: 0.75rem; }
footer#footer a { color: rgba(255,255,255,0.55); }
footer#footer a:hover { color: var(--blue-light); }
footer#footer .mini-logo { display: inline-block; margin-bottom: 0.5rem; }
.footer-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}
.footer-logo-text span { color: var(--blue-light); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .markets-grid { grid-template-columns: 1fr 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-split-image::before { display: none; }
}
@media (max-width: 767px) {
  /* --- Header: smaller logo --- */
  .site-title h1 a img,
  .site-title h1 img {
    max-height: 55px !important;
  }
  header.navbar#top {
    padding-top: 0.3rem !important;
    padding-bottom: 0.3rem !important;
  }

  /* --- Hero slider --- */
  .hero {
    height: 80vh;
    min-height: 480px;
  }
  .hero-title { font-size: 1.7rem; line-height: 1.2; }
  .hero-subtitle { font-size: 0.88em; margin-bottom: 1.5rem; }
  .hero-content { padding: 1.25rem 1rem; }

  /* Push nav arrows to edges, below text level */
  .hero-slider .owl-nav {
    top: auto;
    bottom: 1.5rem;
    transform: none;
    padding: 0 1rem;
  }
  .hero-slider .owl-nav .owl-prev,
  .hero-slider .owl-nav .owl-next {
    position: static;
    transform: none !important;
    width: 38px;
    height: 38px;
    font-size: 1rem !important;
  }
  .hero-slider .owl-nav .owl-prev:hover,
  .hero-slider .owl-nav .owl-next:hover {
    transform: none !important;
  }

  /* --- Product pills: 2 per row --- */
  .sub-product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  .sub-product-item {
    font-size: 0.8em;
    padding: 0.75rem 0.9rem;
  }

  /* --- Other responsive --- */
  .product-grid { grid-template-columns: 1fr; }
  .markets-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .section { padding: 3.5rem 0; }
  .cta-banner { padding: 3.5rem 0; }
  .page-header { padding: 4.5rem 0 3rem; }
  .principals-logos { gap: 2rem; }
  .hero-ctas { flex-direction: column; align-items: center; }

  /* Show the man reading newspaper in centre on mobile */
  .hero-item--main {
    background-position: 75% center;
    background-size: cover;
  }

  /* Allow certification logos to wrap on mobile so none are hidden */
  #principals .card-cert-logos,
  [style*="flex-wrap:nowrap"] {
    flex-wrap: wrap !important;
  }

  /* ── Mobile nav theme fixes ── */

  /* Main nav items: match the gradient header background */
  #site-menu li {
    background: transparent !important;
    border-top: 1px solid rgba(26, 106, 191, 0.15) !important;
  }
  #site-menu li:first-child {
    border-top: none !important;
  }

  /* Sub-menu items: slightly deeper blue tint */
  #site-menu ul ul li,
  #site-menu .menu-item-has-children ul li {
    background: rgba(26, 106, 191, 0.06) !important;
    border-top: 1px solid rgba(26, 106, 191, 0.1) !important;
  }

  /* All nav links on mobile: brand dark text */
  #site-menu a,
  #site-menu ul ul a {
    color: var(--blue-dark) !important;
    padding: 0.85rem 1.25rem !important;
  }

  /* Active / current page: blue accent */
  #site-menu li.current-menu-item > a,
  #site-menu li.current-menu-parent > a {
    color: var(--blue-primary) !important;
    font-weight: 700 !important;
    background: rgba(26, 106, 191, 0.08) !important;
  }

  /* Remove the old short underline pseudo-element on mobile */
  #site-menu li.current-menu-item > a::after,
  #site-menu li.current-menu-parent > a::after,
  #site-menu nav > ul > li.current-menu-item > a::after,
  #site-menu nav > ul > li.current-menu-parent > a::after {
    display: none !important;
  }

  /* Expand toggle (+ / —) — always visible */
  #site-menu .menu-expand {
    color: var(--blue-primary) !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10;
  }
  #site-menu .menu-item-has-children > .menu-expand:after,
  #site-menu .menu-item-has-children.collapse > .menu-expand:after {
    color: var(--blue-primary) !important;
  }
}

