/* =================================================================
   shared.css
   Common styles used across all inner pages (everything except home).
   Covers: Navigation, Dropdowns, Page Header, Search Panel,
           Back-to-Top button, Footer.
   ================================================================= */

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

/* ----------------------------------------------------------------- */
/* RESET & BASE                                                       */
/* ----------------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; overflow-x: hidden; }
body { font-family: 'Inter', sans-serif; background: #fff; color: #333; min-height: 100vh; }

/* ----------------------------------------------------------------- */
/* NAVIGATION                                                         */
/* ----------------------------------------------------------------- */
#scrolledNav {
  position: fixed; top: 0; left: 0; width: 100%; height: 60px;
  z-index: 1000; opacity: 1; pointer-events: auto; transform: translateY(0);
}
#scrolledNav::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: calc(25% + 50px); height: 100%; background: #ffffff; z-index: 1;
}
#scrolledNav::after {
  content: ''; position: absolute; top: 0; left: 25%; width: 75%; height: 100%;
  background: linear-gradient(135deg, #0d274b, #123c73);
  clip-path: polygon(50px 0, 100% 0, 100% 100%, 0 100%); z-index: 1;
}
.scrolled-nav-container {
  position: relative; max-width: 100%; width: 100%; margin: 0 auto;
  display: flex; align-items: center; padding: 0 3rem; height: 60px;
  z-index: 10; box-shadow: 0 2px 10px rgba(0,0,0,0.7);
}
#scrolledNav .logo {
  height: 55px; cursor: pointer; margin-left: 2rem;
  filter: brightness(1); z-index: 10; position: relative;
}
#scrolledNav .logo:hover { filter: brightness(1.1); }
#scrolledNav .nav-menu {
  display: flex; list-style: none; gap: 2.5rem; align-items: center;
  margin: 0; flex-wrap: nowrap; padding: 0; height: 40px;
  position: absolute; left: 55%; transform: translateX(-50%); z-index: 10;
}
#scrolledNav .nav-menu li { position: relative; display: flex; align-items: center; height: 40px; font-family: 'Inter', sans-serif; line-height: 1; }
#scrolledNav .nav-menu li a {
  color: #ffffff; text-decoration: none; font-family: 'Inter', sans-serif;
  font-weight: 300; font-size: 11pt; letter-spacing: 0.5px;
  position: relative; white-space: nowrap; transition: color 0.3s ease; border-bottom: 1px solid transparent; padding-bottom: 6px;
}
#scrolledNav .nav-menu li a:hover { color: #ffcd45; border-bottom-color: #ffcd45; }
#scrolledNav .nav-menu li.nav-current > a { color: #ffcd45; border-bottom-color: #ffcd45; }
#scrolledNav .menu-toggle {
  display: none; flex-direction: column; cursor: pointer; gap: 5px;
  position: relative; z-index: 10; margin-left: auto;
}
#scrolledNav .menu-toggle span { width: 25px; height: 3px; background: #ffffff; transition: all 0.3s ease; }

/* ----------------------------------------------------------------- */
/* DROPDOWN CONTAINER                                                 */
/* ----------------------------------------------------------------- */
.dropdcontainer {
  position: fixed; top: 60px; left: 0; width: 100%; background: #ffffff;
  box-shadow: 0 8px 24px rgba(0,0,0,0); z-index: 999; overflow: hidden;
  opacity: 0; pointer-events: none; transform: translateY(-1000px);
  transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1),
              transform 0.4s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.4s cubic-bezier(0.4,0,0.2,1);
}
.dropdcontainer.active {
  opacity: 1; pointer-events: auto; transform: translateY(0);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.dropdown { position: relative; }
.dropdcontent {
  display: none; padding: 3rem 10%; width: 100%; opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1),
              transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.dropdcontent.active { display: block; opacity: 1; transform: translateY(0); }
.dropdflex-wrapper { display: flex; justify-content: center; align-items: center; width: 100%; gap: 4rem; }
.product-categories {
  display: grid; grid-template-columns: repeat(3, 160px);
  column-gap: 6rem; row-gap: 4rem; justify-content: center;
}
.product-card {
  text-align: center; text-decoration: none; position: relative;
  padding: 0; display: flex; flex-direction: column; align-items: center;
}
.product-card-image {
  width: 120px; height: 120px; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: visible; transition: all 0.5s ease;
}
.product-card:hover .product-card-image { transform: translateY(-10px); }
.product-card-image img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  transition: transform 0.5s ease; position: relative; z-index: 1;
}
.product-card:hover .product-card-image img { transform: scale(1.02); }
.product-card-title {
  font-size: 10.5pt; font-weight: 600; color: #1a1a1a;
  font-family: 'Inter', sans-serif; padding-top: 10px;
  letter-spacing: 0.3px; transition: color 0.3s ease;
}
.product-card:hover .product-card-title { color: #123c73; }

/* Brands section inside dropdown */
.brands-wrapper { display: flex; gap: 6rem; width: 100%; max-width: 1200px; justify-content: center; margin: 0 auto; }
.brasection { flex: 1; display: flex; flex-direction: column; align-items: center; }
.brasection-title { font-family: 'Inter', sans-serif; font-size: 1.8rem; font-weight: 600; color: #123c73; margin-bottom: 2rem; text-transform: uppercase; letter-spacing: 1px; }
.bragrid { display: grid; grid-template-columns: repeat(2, 180px); gap: 2rem; margin-bottom: 2rem; }
.bracard-dropdown {
  background: #f8f8f8; border: 2px solid #e0e0e0; border-radius: 12px;
  padding: 1.5rem; text-align: center; text-decoration: none;
  transition: all 0.3s ease; display: flex; flex-direction: column;
  align-items: center; justify-content: center; min-height: 120px;
}
.bracard-dropdown:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); border-color: #123c73; }
.bracard-dropdown img { max-width: 100%; max-height: 120px; object-fit: contain; margin-bottom: 0.5rem; }
.bracard-name { font-family: 'Inter', sans-serif; font-size: 10pt; font-weight: 600; color: #1a1a1a; margin-top: 0.5rem; }
.view-all-btn {
  padding: 12px 32px; font-size: 10pt; font-weight: 600; font-family: 'Inter', sans-serif;
  background: #123c73; color: #ffffff; border: 2px solid #123c73; border-radius: 8px;
  cursor: pointer; text-decoration: none; text-transform: uppercase;
  letter-spacing: 0.5px; transition: all 0.3s ease; display: inline-block;
}
.view-all-btn:hover { background: transparent; color: #123c73; }

/* About dropdown */
#aboutDropdown { display: none; padding: 1rem 10%; }
#aboutDropdown.active { display: block; }
.about-dropdown-wrapper {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 0; max-width: 540px; margin: 0 auto;
}
.about-dropdown-group { width: 100%; }
.about-dropdown-heading {
  font-size: 1.3rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: #8fa0ba;
  padding-bottom: 0.75rem; margin-bottom: 0;
  border-bottom: 1px solid #e4e7ed; margin-top: 1rem;
}
.about-dropdown-links { display: flex; flex-direction: column; margin-bottom: 1rem; }
.about-dropdown-links a {
  font-size: 0.95rem; font-weight: 500; color: #1a2a3a;
  text-decoration: none; padding: 0.65rem 0;
  border-bottom: 1px solid #f0f2f5;
  transition: color 0.2s ease, padding-left 0.2s ease; display: block;
}
.about-dropdown-links a:last-child { border-bottom: none; }
.about-dropdown-links a:hover { color: #ffcd45; }

/* ----------------------------------------------------------------- */
/* PAGE HEADER                                                        */
/* ----------------------------------------------------------------- */
.page-header { width: 100%; margin-top: 60px; background: #e8e8e8; }
.page-header-top { display: flex; align-items: center; justify-content: space-between; padding: 3.2rem 8% 3rem; }
.page-title { font-family: "Inter", sans-serif; font-size: 2.8rem; font-weight: 200; color: #123c73; letter-spacing: -0.5px; }
.breadcrumb-bar { display: flex; align-items: center; justify-content: space-between; padding: 1.9rem 8%; background: #ffffff; border-top: 1px solid #ddd; margin-bottom: -2rem;}
.breadcrumb { display: flex; align-items: center; gap: 0; font-family: "Inter", sans-serif; font-size: 0.9rem; font-weight: 400;}
.breadcrumb a { color: #666; text-decoration: none; transition: color 0.2s ease; }
.breadcrumb a:hover { color: #123c73;  }
.breadcrumb .separator { margin: 0 0.6rem; color: #aaa; font-weight: 300; }
.breadcrumb .current { color: #123c73; font-weight: 600; background-color: #e9e9e9; padding: 0.5rem 1rem; border-radius: 5px; }

/* ----------------------------------------------------------------- */
/* SEARCH TRIGGER (in breadcrumb bar)                                */
/* ----------------------------------------------------------------- */
.search-trigger {
  display: flex; align-items: left; gap: 0.5rem; cursor: pointer;
  padding: 0.45rem 0.9rem; border-radius: 6px; border: 1px solid #ddd;
  background: #fff; transition: all 0.3s ease; font-family: "Inter", sans-serif;
  font-size: 0.85rem; color: #888;
}
.search-trigger:hover { border-color: #123c73; color: #123c73; }
.search-trigger svg { width: 16px; height: 16px; }

/* Search button when placed inside #scrolledNav (white-on-blue style) */
#scrolledNav .search-trigger {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
  position: absolute;
  right: 5%;
  white-space: nowrap;
  padding: 0.45rem 4.5rem;
}
#scrolledNav .search-trigger:hover {
  border-color: #ffcd45;
  color: #ffcd45;
}

/* ----------------------------------------------------------------- */
/* SEARCH OVERLAY & PANEL                                            */
/* ----------------------------------------------------------------- */
.search-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); z-index: 2000;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.search-overlay.active { opacity: 1; pointer-events: auto; }
.search-panel {
  position: fixed; top: 0; left: 0; width: 100%; background: #fff; z-index: 2001;
  transform: translateY(-100%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}
.search-panel.active { transform: translateY(0); }
.search-panel-inner { max-width: 900px; margin: 0 auto; padding: 2.5rem 2rem 2rem; }
.search-panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.search-panel-title { font-family: "Inter", sans-serif; font-size: 1.1rem; font-weight: 600; color: #333; }
.search-close-btn {
  display: flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border: none; background: #f0f0f0; border-radius: 50%; cursor: pointer; transition: all 0.2s ease;
}
.search-close-btn:hover { background: #123c73; color: #fff; }
.search-close-btn svg { width: 18px; height: 18px; }
.search-input-wrapper { position: relative; margin-bottom: 1.5rem; }
.search-input-wrapper svg {
  position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; color: #bbb; pointer-events: none; transition: color 0.3s ease;
}
.search-input-wrapper:focus-within svg { color: #123c73; }
.search-input {
  width: 100%; padding: 1rem 1rem 1rem 3.2rem; font-family: "Inter", sans-serif;
  font-size: 1.05rem; border: 2px solid #e0e0e0; border-radius: 10px; outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease; background: #fafafa;
}
.search-input:focus { border-color: #123c73; box-shadow: 0 0 0 3px rgba(18,60,115,0.08); background: #fff; }
.search-input::placeholder { color: #bbb; }

/* Page filter chips — shown inside the search panel */
.search-page-filters {
  display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.2rem;
}
.search-page-chip {
  padding: 0.3rem 0.85rem; border-radius: 20px; border: 1.5px solid #e0e0e0;
  font-family: "Inter", sans-serif; font-size: 0.78rem; font-weight: 500;
  cursor: pointer; background: #fff; color: #666; transition: all 0.2s ease;
}
.search-page-chip.active, .search-page-chip:hover { background: #123c73; color: #fff; border-color: #123c73; }

.search-results { max-height: 380px; overflow-y: auto; }
.search-results::-webkit-scrollbar { width: 5px; }
.search-results::-webkit-scrollbar-thumb { background: #ddd; border-radius: 10px; }
.search-result-item {
  display: flex; align-items: center; gap: 1rem; padding: 0.85rem 1rem;
  border-radius: 8px; cursor: pointer; text-decoration: none; transition: background 0.2s ease;
}
.search-result-item:hover { background: #f5f5f5; }
.search-result-icon { width: 40px; height: 40px; background: #f0f0f0; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.search-result-icon svg { width: 20px; height: 20px; color: #123c73; }
.search-result-info { flex: 1; }
.search-result-name { font-family: "Inter", sans-serif; font-size: 0.92rem; font-weight: 500; color: #333; }
.search-result-meta { display: flex; gap: 0.5rem; align-items: center; margin-top: 0.2rem; }
.search-result-category { font-family: "Inter", sans-serif; font-size: 0.78rem; color: #999; }
.search-result-page-tag {
  font-family: "Inter", sans-serif; font-size: 0.7rem; font-weight: 600;
  padding: 0rem rem; border-radius: 10px; color: #123c73;
}
.search-result-arrow { color: #ccc; transition: color 0.2s ease, transform 0.2s ease; flex-shrink: 0; }
.search-result-item:hover .search-result-arrow { color: #123c73; transform: translateX(3px); }
.search-no-results { text-align: center; padding: 2rem 1rem; font-family: "Inter", sans-serif; color: #999; font-size: 0.95rem; }
.search-hint { text-align: center; padding: 1.5rem 1rem; font-family: "Inter", sans-serif; color: #bbb; font-size: 0.85rem; }

/* ----------------------------------------------------------------- */
/* BACK TO TOP                                                        */
/* ----------------------------------------------------------------- */
.back-to-top {
  position: fixed !important; bottom: 24px !important; right: 24px !important;
  left: auto !important; top: auto !important; z-index: 9999;
  width: 70px; height: 70px; min-width: 70px; min-height: 70px;
  border-radius: 50%; border: none; background: rgba(18,60,115,0.95);
  color: #ffffff; cursor: pointer; backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3); opacity: 0; pointer-events: none;
  transform: translateY(10px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
  display: flex; align-items: center; justify-content: center; padding: 0; margin: 0;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.back-to-top:hover { background: rgba(18,60,115,1); transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 32px rgba(0,0,0,0.4); }
.back-to-top-arrow-img {
  width: 24px; height: 24px; filter: brightness(0) invert(1);
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 2; transition: transform 0.3s ease;
}
.back-to-top:hover .back-to-top-arrow-img { transform: translate(-50%, -50%) translateY(-2px); }
.progress-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-90deg); pointer-events: none; width: 70px; height: 70px; }
.progress-ring-bg { fill: none; stroke: rgba(255,255,255,0.1); stroke-width: 3; }
.progress-ring-circle { fill: none; stroke: #ffcd45; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 201.06; stroke-dashoffset: 201.06; transition: stroke-dashoffset 0.1s linear; }

/* ----------------------------------------------------------------- */
/* FOOTER                                                             */
/* ----------------------------------------------------------------- */
/* Gradient red accent line at top of footer */
.footer { background: linear-gradient(135deg, #082947 0%, #002447 100%); padding: 3rem 5% 1.5rem; color: #ffffff; position: relative; }
.footer::before { content: ''; display: block; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent 0%, #c0392b 30%, #e74c3c 50%, #c0392b 70%, transparent 100%); }
.footer-content { max-width: 1800px; margin: 0 auto; }
.footer-main { display: grid; grid-template-columns: auto 1fr; gap: 6rem; align-items: start; margin-bottom: 2rem; }
.footer-logo-section { display: flex; flex-direction: row; align-items: center; gap: 2rem; }
.footer-logo-identity { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; flex-shrink: 0; }
.footer-logo { height: 105px; width: auto; }
/* Tagline bullet list beside logo */
.footer-tagline-list { list-style: none; padding: 0; margin-left: -2rem ; margin-top: -3rem; display: flex; flex-direction: column; gap: 0.55rem; border-left: 2px solid rgba(192,57,43,0.5); padding-left: 0.1rem;}
.footer-tagline-list li { font-size: 0.72rem; font-weight: 300; color: rgba(255,255,255,0.5); line-height: 1.7; position: relative; padding-left: 0.9rem; }
.footer-social { display: flex; gap: 15px; margin-top: 0.5rem; }
.footer-social a {
  display: flex; align-items: center; justify-content: center; width: 45px; height: 45px;
  background: rgba(255,255,255,0.1); border-radius: 6px; color: #ffffff;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1); position: relative; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.15);
}
.footer-social a::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, #1877f2, #0d5bbd); opacity: 0; transition: opacity 0.4s ease; z-index: -1; }
.footer-social a:nth-child(2)::before { background: linear-gradient(135deg, #0077b5, #005885); }
.footer-social a:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 8px 20px rgba(255,255,255,0.2); border-color: rgba(0,0,0,0); }
.footer-social a:hover::before { opacity: 1; }
.footer-social svg { width: 22px; height: 22px; position: relative; z-index: 1; transition: transform 0.3s ease; }
.footer-social a:hover svg { transform: scale(1.1); }
.footer-sections-group { display: grid; grid-template-columns: 0.6fr auto 0.7fr auto 1fr; gap: 4rem; justify-content: center; align-items: start; margin: 0 auto; max-width: 1400px; margin-left: -1rem; }
.footer-nav-section h4,
.footer-projects-section h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 1.2rem; color: #ff0000; text-align: left; }
.footer-contact-section h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.6rem; color: #ff0000; text-align: left; }
.footer-nav-links,
.footer-projects-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 0rem; list-style: none; }
.footer-nav-links li,
.footer-projects-links li { display: flex; }
/* Animated underline on nav/product links */
.footer-nav-links li a,
.footer-projects-links li a { color: #ffffff; text-decoration: none; font-size: 0.95rem; font-weight: 400; transition: color 0.3s ease; white-space: nowrap; position: relative; display: inline-block; }
.footer-nav-links li a::after,
.footer-projects-links li a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: #c0392b; transition: width 0.25s ease; }
.footer-nav-links li a:hover,
.footer-projects-links li a:hover { color: #ff0000; }
.footer-nav-links li a:hover::after,
.footer-projects-links li a:hover::after { width: 100%; }
.footer-divider { width: 1px; background: rgba(255,255,255,0.15); height: 100%; min-height: 100px; }
.footer-contact-section { display: flex; flex-direction: column; }
.footer-contact-columns { display: flex; flex-direction: row; gap: 2rem; }
/* Contact rows with icon + text */
.footer-contact-row { display: flex; align-items: flex-start; gap: 0.65rem; margin-bottom: 0.9rem; }
.footer-contact-row:last-child { margin-bottom: 0; }
.footer-contact-icon { width: 15px; height: 15px; stroke: #c0392b; flex-shrink: 0; margin-top: 6px; opacity: 0.9; }
.footer-contact-info { display: flex; flex-direction: column; gap: 0; font-size: 0.95rem; line-height: 1.8; }
.footer-contact-info a { color: #ffffff; text-decoration: none; transition: color 0.3s ease; text-align: left; display: block; }
.footer-contact-info a:hover { color: #ff0000; }
.footer-address { display: flex; flex-direction: column; gap: 0; font-size: 0.95rem; line-height: 1.8; }
.footer-address p { margin: 0; color: #ffffff; text-align: left; }
/* Copyright bar */
.footer-copyright { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; margin-top: -0.5rem; }
.footer-text { font-size: 0.75rem; color: rgba(255,255,255,0.6); }
/* Back to top link in copyright bar */
.footer-back-top { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; font-weight: 500; color: rgba(255,255,255,0.4); text-decoration: none; letter-spacing: 0.5px; transition: color 0.2s; white-space: nowrap; }
.footer-back-top:hover { color: #c0392b; }
.footer-back-top svg { transition: transform 0.2s; }
.footer-back-top:hover svg { transform: translateY(-2px); }

/* ----------------------------------------------------------------- */
/* MOB BRANDS INTRO LABEL — hidden by default, shown only on mobile  */
/* ----------------------------------------------------------------- */
.mob-brands-intro-label { display: none; }

/* ----------------------------------------------------------------- */
/* JUMP HIGHLIGHT                                                     */
/* ----------------------------------------------------------------- */

/* Generic fallback */
.jump-highlight {
  animation: jumpHighlight 1.8s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative; z-index: 10;
}
@keyframes jumpHighlight {
  0%   { transform: translateY(0) scale(1);        box-shadow: 0 0 0 0 rgba(255,205,69,0); outline: 3px solid rgba(255,205,69,0); }
  15%  { transform: translateY(-18px) scale(1.04); box-shadow: 0 28px 48px rgba(255,180,0,0.55); outline: 3px solid rgba(255,205,69,0.9); }
  45%  { transform: translateY(-8px) scale(1.02);  box-shadow: 0 16px 32px rgba(255,180,0,0.35); outline: 3px solid rgba(255,205,69,0.6); }
  65%  { transform: translateY(-14px) scale(1.03); box-shadow: 0 22px 40px rgba(255,180,0,0.45); outline: 3px solid rgba(255,205,69,0.75); }
  100% { transform: translateY(0) scale(1);        box-shadow: none;                              outline: 3px solid rgba(255,205,69,0); }
}

/* Type cards */
.type-card.jump-highlight { animation: jumpHighlightType 1.8s cubic-bezier(0.22, 1, 0.36, 1); position: relative; z-index: 10; }
@keyframes jumpHighlightType {
  0%   { transform: translateY(0) scale(1);         box-shadow: 0 0 0 0 rgba(255,205,69,0);    outline: 3px solid rgba(255,205,69,0); }
  15%  { transform: translateY(-20px) scale(1.05);  box-shadow: 0 32px 52px rgba(255,180,0,0.6); outline: 3px solid rgba(255,205,69,1); }
  45%  { transform: translateY(-9px) scale(1.025);  box-shadow: 0 18px 34px rgba(255,180,0,0.4); outline: 3px solid rgba(255,205,69,0.65); }
  65%  { transform: translateY(-15px) scale(1.038); box-shadow: 0 26px 44px rgba(255,180,0,0.5); outline: 3px solid rgba(255,205,69,0.8); }
  100% { transform: translateY(0) scale(1);         box-shadow: none;                             outline: 3px solid rgba(255,205,69,0); }
}

/* Lighting brand cards (.bracard) */
.bracard.jump-highlight { animation: jumpHighlightBrand 1.8s cubic-bezier(0.22, 1, 0.36, 1); position: relative; z-index: 10; }
@keyframes jumpHighlightBrand {
  0%   { transform: translateY(0) scale(1);         box-shadow: 0 0 0 0 rgba(255,205,69,0);      outline: 3px solid rgba(255,205,69,0); }
  15%  { transform: translateY(-22px) scale(1.06);  box-shadow: 0 36px 56px rgba(255,180,0,0.65); outline: 3px solid rgba(255,205,69,1); }
  45%  { transform: translateY(-10px) scale(1.03);  box-shadow: 0 20px 36px rgba(255,180,0,0.42); outline: 3px solid rgba(255,205,69,0.7); }
  65%  { transform: translateY(-17px) scale(1.045); box-shadow: 0 30px 48px rgba(255,180,0,0.55); outline: 3px solid rgba(255,205,69,0.85); }
  100% { transform: translateY(0) scale(1);         box-shadow: none;                              outline: 3px solid rgba(255,205,69,0); }
}

/* Earthing page type cards (.lp-card, .lpa-card) */
.lp-card.jump-highlight  { animation: jumpHighlightType 1.8s cubic-bezier(0.22, 1, 0.36, 1); position: relative; z-index: 10; }
.lpa-card.jump-highlight { animation: jumpHighlightType 1.8s cubic-bezier(0.22, 1, 0.36, 1); position: relative; z-index: 10; }

/* Cable management tab headings (.mv-panel-headline) */
.mv-panel-headline.jump-highlight { animation: jumpHighlightType 1.8s cubic-bezier(0.22, 1, 0.36, 1); position: relative; z-index: 10; }


.brand-card.jump-highlight { animation: jumpHighlightBrand 1.8s cubic-bezier(0.22, 1, 0.36, 1); position: relative; z-index: 10; }

/* Power distribution intro brands (.pd-intro-brand-card) */
.pd-intro-brand-card.jump-highlight { animation: jumpHighlightBrand 1.8s cubic-bezier(0.22, 1, 0.36, 1); position: relative; z-index: 10; }

/* Cable management intro brands (.cm-brand-card) */
.cm-brand-card.jump-highlight { animation: jumpHighlightBrand 1.8s cubic-bezier(0.22, 1, 0.36, 1); position: relative; z-index: 10; }

/* Cable management modal brand items (.bm-brand-item) */
.bm-brand-item.jump-highlight { animation: jumpHighlightModal 1.8s cubic-bezier(0.22, 1, 0.36, 1); position: relative; z-index: 10; }
@keyframes jumpHighlightModal {
  0%   { background: transparent;                   outline: 3px solid rgba(255,205,69,0); }
  15%  { background: rgba(255,205,69,0.18);         outline: 3px solid rgba(255,205,69,1); }
  65%  { background: rgba(255,205,69,0.10);         outline: 3px solid rgba(255,205,69,0.7); }
  100% { background: transparent;                   outline: 3px solid rgba(255,205,69,0); }
}

/* Text-only flash — for headings/labels where animating the container looks wrong */
@keyframes textHighlight {
  0%   { color: inherit; text-shadow: none; }
  18%  { color: #d97706; text-shadow: 0 0 18px rgba(217,119,6,0.55); }
  55%  { color: #b45309; text-shadow: 0 0 10px rgba(180,83,9,0.35); }
  100% { color: inherit; text-shadow: none; }
}
.text-highlight { animation: textHighlight 1.6s cubic-bezier(0.22, 1, 0.36, 1); }


/* ----------------------------------------------------------------- */
@media (max-width: 1024px) {
  /* — Mobile hamburger — */
  #scrolledNav .menu-toggle { display: flex; }

  /* Adjust the white/blue diagonal split for smaller screens */
  #scrolledNav::before { width: 35%; }
  #scrolledNav::after  { left: 35%; width: 65%; clip-path: polygon(50px 0, 100% 0, 100% 100%, 0 100%); }

  /* Slide-down nav menu */
  #scrolledNav .nav-menu {
    position: absolute; top: 100%; left: 0; width: 100%;
    flex-direction: column; background: linear-gradient(135deg, #0d274b, #123c73);
    padding: 2rem; gap: 1.5rem; transform: translateY(-100%); opacity: 0;
    pointer-events: none; transition: all 0.3s ease; z-index: 999;
    height: auto; box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  }
  #scrolledNav .nav-menu.active { transform: translateY(0); opacity: 1; pointer-events: all; }

  .product-categories, .bragrid { grid-template-columns: repeat(2, 140px); column-gap: 3rem; row-gap: 3rem; }
  .brands-wrapper { flex-direction: column; gap: 3rem; }

  /* Footer — stack main grid, fix logo orientation, collapse sections */
  .footer-main { grid-template-columns: 1fr; gap: 3rem; }
  .footer-logo-section { flex-direction: column; align-items: flex-start; }
  .footer-sections-group { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-divider { display: none; }

  .page-header-top { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .breadcrumb-bar { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .page-header { margin-top: 0 !important; }
}
@media (max-width: 768px) {
  .page-header-top { padding: 1.5rem 5% 1.2rem; }
  .page-title { font-size: 1.8rem; }
  .breadcrumb-bar { padding: 0.8rem 5%; }

  /* Footer — single column, stack contact columns */
  .footer-sections-group { grid-template-columns: 1fr; }
  .footer-contact-columns { flex-direction: column; gap: 1rem; }
}