 :root {
      --nav-grad-start: #000814;
      --nav-grad-end:   #001d3d;
      --blue-main: #017bff;
      --blue-label: #0085ff;
      --bg-page: #f9fbff;
      --card: #ffffff;
      --border: #d4e0f2;
      --text-main: #122033;
      --text-muted: #647189;
      --nav-shine-color: rgba(255,255,255,0.8);
      --nav-underline-color: #7fe9ff;
    }

  

    * { box-sizing: border-box; margin: 0; padding: 0; }
    img { max-width: 100%; display: block; }

    body {
      font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
      background: var(--bg-page);
      color: var(--text-main);
      overflow-x: hidden;
      scroll-behavior: smooth;
      padding-bottom: 40px;


    }


    /* ===== WELCOME SCREEN (CENTER CARD) ===== */
.welcome-overlay {
   position: fixed;
  inset: 0;
  background: rgba(0, 8, 20, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  
}
/* Fix welcome screen scaling after zoom */

#welcomeOverlay .welcome-card {
  transform: scale(0.95); /* subtle refinement */
}


/* Card */
.welcome-card {
   width: 90%;
  max-width: 340px;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  animation: welcomePop 0.6s ease;
}

/* Animated border ring */
.welcome-ring {
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  border: 2px solid rgba(255, 59, 25, 0.35);
  animation: ringPulse 2s linear infinite;
  pointer-events: none;
}

/* Logo */
.welcome-logo {
  height: 52px;
  margin-bottom: 14px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Text */
.welcome-card h2 {
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #647189;
  margin-bottom: 8px;
}

.welcome-card h1 {
  font-size: 22px;
  color: #ff3b19;
  margin-bottom: 10px;
}

.welcome-card p {
  font-size: 14px;
  color: #122033;
}

/* Animations */
@keyframes welcomePop {
  0% { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes ringPulse {
  0% {
    opacity: 0.25;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.03);
  }
  100% {
    opacity: 0.25;
    transform: scale(1);
  }
}

/* Mobile safety */
@media (max-width: 480px) {
  .welcome-card {
    width: 90%;
  }
}

   #mobileSearchBox { display: none; }


    header {
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    .nav-shell {
  background: linear-gradient(
    90deg,
    rgba(221, 228, 248, 0.9),   /* 90% opacity background only */
    #7fe9ff
  );
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.45);
}

    .nav-inner {
      width: 92%;
      margin: auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px 0;  
      height: 80px;          
    }

    .logo img {
    height: 70px;
    width: auto;
    padding: 8px;
    
    display :block
}
    .logo span { color: #ffffff; }

    nav {
      display: flex;
      align-items: center;
      gap: 28px;
      flex: 1;
      justify-content: flex-end;
      position: relative;
    }

    .nav-links {
      list-style: none;
      display: flex;
      gap: 20px;
      align-items: center;
    }

   
    .nav-links a {
      position: relative;
      color:  #0b1f3f;
      font-size: 16px;
      font-weight: 900;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      text-decoration: none;
      padding: 4px 0;
      overflow: hidden;
      transition: color 0.22s ease;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: -4px;
      width: 0%;
      height: 2px;
      background: var(--nav-underline-color);
      box-shadow: 0 0 10px var(--nav-underline-color);
      transform: translateX(-50%);
      transition: width 0.25s ease, opacity 0.25s ease;
      border-radius: 999px;
      opacity: 0;
    }

    
    .nav-links a::before {
      content: "";
      position: absolute;
      top: -160%;
      left: -160%;
      width: 260%;
      height: 420%;
      background: linear-gradient(
        120deg,
        transparent 0%,
        var(--nav-shine-color) 50%,
        transparent 100%
      );
      transform: translateX(-100%) rotate(20deg);
      opacity: 0;
      pointer-events: none;
    }

   
    .nav-links a:hover {
      color: #fdfdfd;
      text-shadow: 0 0 6px rgba(255,255,255,0.6);
    }

    .nav-links a:hover::after {
      width: 80%;
      opacity: 1;
    }

    .nav-links a:hover::before {
      animation: navDiagonalShine 0.75s ease-out forwards;
      opacity: 1;
    }

    @keyframes navDiagonalShine {
      0% {
        transform: translateX(-100%) rotate(20deg);
        opacity: 0;
      }
      25% {
        opacity: 1;
      }
      100% {
        transform: translateX(70%) rotate(20deg);
        opacity: 0;
      }
    }

/* Dropdown container */
.nav-item-dropdown {
  position: relative;
}

/* Dropdown menu */
.dropdown-menu {
  position: absolute;
  top: 100%; 
  left: 0;
  min-width: 190px;
  background: #7fe9ff;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 14px 26px rgba(0,0,0,0.4);
  padding: 10px 12px;
  display: none;
  z-index: 1001;
}


.dropdown-menu a {
  display: block;
  color: var(--text-main);
  padding: 10px 8px; /* bigger click area */
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 13px;
  border-radius: 6px;
}

.dropdown-menu a:hover {
  background: rgba(255,255,255,0.2);
  color: white;
}


.nav-item-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  display: block;
  animation: fadeDown 0.2s ease both;
}


    .nav-right {
      display: flex;
      align-items: center;
      gap: 14px;
    }


    .nav-search {
      position: relative;
    }

    
    .nav-search input {
      padding: 7px 34px 7px 12px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.4);
      background: rgb(241, 240, 240);
      color: #000;
      font-size: 13px;
      transition: 0.32s ease;
      width: 160px;
    }

    .nav-search input::placeholder { color:#000000; }

    .nav-search input:focus {
      width: 200px;
      background: rgb(255, 255, 255);
      box-shadow: 0 0 14px #f7fafc;
      outline: none;
    }

    .nav-search button {
      position: absolute;
      right: 8px;
      top: 50%;
      transform: translateY(-50%);
      border: none;
      background: transparent;
      cursor: pointer;
      font-size: 16px;
      color: #ffffff;
      transition: 0.25s;
    }

    .nav-search button:hover {
      transform: translateY(-50%) scale(1.25);
    }



    .suggestion-box {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.28);
  overflow: hidden;
  z-index: 3000;
  display: none;
  border: 1px solid #e4e8f0;
}

.suggestion-item {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #122033;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s, color 0.2s;
}

.suggestion-item small {
  color: #7a879a;
  font-size: 11px;
  text-transform: uppercase;
}

.suggestion-item:hover {
  background: #ff3b19;
  color: #ffffff;
}

.suggestion-item:hover small {
  color: rgba(255,255,255,0.85);
}


   .btn-cat {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.9);
  background: #ff3b19;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: 0.10s;
  white-space: nowrap;
  text-decoration: none; /* removes underline */
  display: inline-block;
}


    .btn-cat:hover {
      background:#ffffff;
      color:#000814;
       text-decoration: none;
    }

    .menu-toggle { display:none; }

   

    .hero {
      position: relative;
      overflow: hidden;
      background: #000814;
      color: #ffffff;
    }

    .hero-inner {
      width: 92%;
      max-width: 1120px;
      margin: 40px auto 44px;
      display:flex;
      gap:32px;
      align-items:center;
      justify-content:space-between;
      flex-wrap:wrap;
    }

    .hero-text-block {
      flex: 1.1;
    }

    .hero-eyebrow {
      font-size: 13px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      margin-bottom: 6px;
      opacity: 0.85;
    }

    .hero-heading {
      font-size: 40px;
      line-height:1.22;
      margin-bottom: 10px;
      text-shadow: 0 12px 40px rgba(0,0,0,0.8);
      animation: heroBlurZoom 0.7s ease forwards;
      transform-origin:left center;
    }

    .hero-heading span { color:#8de3ff; }

    .hero-text {
      font-size:15px;
      max-width:480px;
      color:#dfeeff;
      margin-bottom:20px;
      animation: heroBlurZoom 0.7s ease forwards;
      animation-delay:.1s;
    }

    .hero-cta {
      display:flex;
      flex-wrap:wrap;
      gap:10px;
      margin-bottom:20px;
      animation: heroBlurZoom 0.7s ease forwards;
      animation-delay:.16s;
    }

    .btn-primary {
      padding: 11px 24px;
      border-radius:999px;
      border:none;
      background:linear-gradient(90deg,#ffffff,#59c1ff);
      color:#001b3a;
      font-weight:700;
      font-size:13px;
      letter-spacing:0.14em;
      text-transform:uppercase;
      cursor:pointer;
      box-shadow:0 14px 32px rgba(0,0,0,0.65);
      transition:0.25s;
    }

    .btn-primary:hover { transform:translateY(-1px) scale(1.03); }

    .btn-outline {
      padding: 11px 22px;
      border-radius:999px;
      border:1px solid rgba(255,255,255,0.85);
      background:transparent;
      color:#ffffff;
      font-weight:600;
      font-size:13px;
      letter-spacing:0.14em;
      text-transform:uppercase;
      cursor:pointer;
      transition:0.25s;
    }

    .btn-outline:hover { background:rgba(255,255,255,0.15); }

    .hero-meta {
      display:flex;
      flex-wrap:wrap;
      gap:22px;
      font-size:12px;
      color:#d0e6ff;
      animation: heroBlurZoom 0.7s ease forwards;
      animation-delay:.22s;
    }

    .hero-meta strong {
      display:block;
      font-size:18px;
      color:#ffffff;
    }

    .hero-image-wrap {
      flex: 1;
      border-radius:28px;
      overflow:hidden;
      border:1px solid rgba(255,255,255,0.25);
      box-shadow:0 22px 50px rgba(0,0,0,0.9);
      transition: transform 0.25s ease; /* for scroll zoom */
    }

    .hero-image-wrap img {
      height:280px;
      width:100%;
      object-fit:cover;
      transform:scale(1.05);
      animation: heroImageFloat 14s ease-in-out infinite alternate;
    }

    @keyframes heroImageFloat {
      0% { transform: scale(1.05) translateX(0); }
      50%{ transform: scale(1.08) translateX(6px); }
      100%{transform: scale(1.04) translateX(-6px);}
    }

    @keyframes heroBlurZoom {
      0%{ opacity:0; transform:translateY(26px) scale(0.94); filter:blur(10px);}
      60%{opacity:1; transform:translateY(-3px) scale(1.02); filter:blur(2px);}
      100%{opacity:1; transform:translateY(0) scale(1); filter:blur(0);}
    }

   

    .section-title {
      width:92%;
      margin:34px auto 10px;
      font-size:24px;
      font-weight:700;
      color:#001326;
    }

    .section-sub {
      width:92%;
      margin:0 auto 20px;
      font-size:14px;
      color:var(--text-muted);
    }

    

    .about-grid {
      width:92%;
      margin:0 auto 32px;
      display:grid;
      grid-template-columns:2fr 1.2fr;
      gap:26px;
    }

    .about-card {
      background:#ffffff;
      border-radius:18px;
      padding:18px 20px;
      box-shadow:0 12px 32px rgba(15,35,70,0.08);
      border:1px solid #e2ebfc;
    }

    .about-card h3 {
      font-size:18px;
      margin-bottom:8px;
      color:#001326;
    }

    .about-card p {
      font-size:14px;
      color:var(--text-muted);
      line-height:1.6;
    }

    .about-photo img {
      border-radius:18px;
      box-shadow:0 12px 30px rgba(15,35,70,0.22);
    }

   
    .industries {
      width:92%;
      margin:0 auto 36px;
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:22px;
    }

    .industry-card {
      position:relative;
      border-radius:16px;
      overflow:hidden;
      background:#000;
      cursor:pointer;
      box-shadow:0 14px 32px rgba(15,35,70,0.18);
      transform:translateY(30px);
      opacity:0;
      transition:0.7s ease;
    }

    .industry-card.visible {
      transform:translateY(0);
      opacity:1;
    }

    .industry-card img {
      height:210px;
      width:100%;
      object-fit:cover;
      transition:transform 0.7s ease;
    }

    .industry-card:hover img {
      transform:scale(1.06);
    }

    .industry-label {
      position:absolute;
      left:0;
      bottom:0;
      display:flex;
      align-items:center;
      height:60px;
    }

    .industry-icon-box {
      width:58px;
      height:100%;
      background:#ffffff;
      display:flex;
      align-items:center;
      justify-content:center;
    }

    .industry-icon-box span {
      font-size:22px;
      color:#0085ff;
    }

    .industry-text-bar {
      height:100%;
      padding:0 20px;
      display:flex;
      align-items:center;
      background:var(--blue-label);
      clip-path:polygon(0 0,100% 0,96% 100%,0 100%);
      color:#ffffff;
      font-size:16px;
      font-weight:600;
      letter-spacing:0.04em;
    }

   

    .product-gallery {
      width:90%;
      margin:0 auto 40px;
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:10px;
    }

    .pg-cell {
      position:relative;
      overflow:hidden;
      border-radius:14px;
      cursor:pointer;
      background:#ffffff;
      transform:translateY(30px);
      opacity:0;
      transition:0.7s ease;
    }
    .pg-cell.visible { transform:translateY(0); opacity:1; }

    .pg-cell img {
      height: 300px;
      width:100%;
      object-fit:scale-down;
      transition:transform 0.8s ease;
    }

    .pg-cell:hover img {
      transform:scale(1.08);
    }

    .pg-overlay {
      position:absolute;
      inset:0;
      background:linear-gradient(120deg,rgba(0,0,0,0.72),rgba(0,0,0,0.2));
      transform:translateX(100%);
      transition:transform 0.6s ease;
      display:flex;
      align-items:flex-end;
      justify-content:flex-start;
      padding:16px;
    }

    .pg-title {
      color:#ffffff;
      font-size:17px;
      font-weight:600;
    }

    .pg-cell:hover .pg-overlay {
      transform:translateX(-12%);
    }

   

    .strip-grid {
      width:92%;
      margin:0 auto 40px;
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:16px;
    }

    .strip-card {
      position:relative;
      border-radius:16px;
      overflow:hidden;
      background:#000;
      cursor:pointer;
      transform:translateY(30px) scale(0.96);
      opacity:0;
      transition:0.8s cubic-bezier(.19,1,.22,1);
    }

    .strip-card.visible {
      transform:translateY(0) scale(1);
      opacity:1;
    }

    .strip-card img {
      height:150px;
      width:100%;
      object-fit:cover;
      transition:transform 0.8s ease, filter 0.8s ease;
    }

    .strip-card:hover img {
      transform:scale(1.1) rotate(-1deg);
      filter:brightness(1.1);
    }

    .strip-caption {
      position:absolute;
      left:12px;
      bottom:12px;
      background:rgba(255,255,255,0.92);
      color:#001326;
      padding:6px 10px;
      border-radius:999px;
      font-size:12px;
      font-weight:600;
      letter-spacing:0.05em;
      text-transform:uppercase;
    }

    

    .slideshow-section {
      align-self: center;
      width:82%;
      margin:0 auto 40px;
    }

    .slideshow {
      position:relative;
      border-radius:18px;
      overflow:hidden;
      box-shadow:0 18px 40px rgba(0,0,0,0.25);
      background:#000;
      height:400px;
      width: 1000px;
      margin-top:10px;
    }

    .slide {
      position:absolute;
      inset:0;
      opacity:0;
      transform:translateX(12px);
      transition:opacity 0.9s ease, transform 0.9s ease;
    }

    .slide img {
      width:100%;
      height:100%;
      object-fit:cover;
    }

    .slide.active {
      opacity:1;
      transform:translateX(0);
    }

    
    .extra-gallery {
      width:92%;
      margin:0 auto 40px;
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:14px;
    }

    .extra-card {
      border-radius:16px;
      overflow:hidden;
      position:relative;
      background:#000;
      cursor:pointer;
      transform:translateY(30px);
      opacity:0;
      transition:0.7s ease;
    }

    .extra-card.visible {
      transform:translateY(0);
      opacity:1;
    }

    .extra-card img {
      width:100%;
      height:180px;
      object-fit:cover;
      transition:transform 0.6s ease;
    }

    .extra-card:hover img {
      transform:scale(1.06);
    }

    .extra-caption {
      position:absolute;
      right:10px;
      top:10px;
      background:rgba(255,255,255,0.9);
      color:#001326;
      padding:6px 10px;
      border-radius:999px;
      font-size:11px;
      letter-spacing:0.06em;
      text-transform:uppercase;
      font-weight:600;
    }

   

    footer {
      background:#00111f;
      color:#cdd9f0;
      padding:40px 0 26px;
      font-size:14px;
      margin-top:30px;
    }

    .footer-inner {
      width:92%;
      margin:auto;
      display:grid;
      grid-template-columns:2fr 1.2fr 1.2fr 1.2fr;
      gap:26px;
    }

    .footer-inner h3 {
      font-size:18px;
      margin-bottom:10px;
      color:#ffffff;
    }

    .footer-inner p, .footer-inner a {
      font-size:14px;
      color:#cdd9f0;
      margin-bottom:6px;
      text-decoration:none;
    }

    .footer-inner a:hover { color:#88d9ea; }

    .footer-bottom {
      width:92%;
      margin:28px auto 0;
      padding-top:14px;
      border-top:1px solid #233244;
      display:flex;
      justify-content:space-between;
      flex-wrap:wrap;
      gap:10px;
      font-size:13px;
      color:#9eb0cc;
    }

    .footer-badge {
      background:#022b57;
      color:#ffffff;
      padding:4px 10px;
      border-radius:999px;
      font-size:11px;
      text-transform:uppercase;
      letter-spacing:0.08em;
    }

    

    .ticker {
      position:fixed;
      left:0;
      bottom:0;
      width:100%;
      background:  #ff3b19;
      color:#e8f5ff;
      font-size:13px;
      z-index:900;
      overflow:hidden;
      padding:4px 0;
    }

    .ticker-inner {
      display:inline-block;
      white-space:nowrap;
      animation:tickerMove 26s linear infinite;
    }

    .ticker span { margin-right:40px; }

    @keyframes tickerMove {
      0%{transform:translateX(0);}
      100%{transform:translateX(-50%);}
    }

   
    @keyframes fadeDown {
      from{opacity:0;transform:translateY(-8px);}
      to{opacity:1;transform:translateY(0);}
    }

    

    @media(max-width:900px){
      nav {
        position:absolute;
        right:0;
        top:70px;
        width:100%;
        justify-content:flex-end;
      }
      .nav-links{
        position:absolute;
        right:0;
        top:0;
        flex-direction:column;
        align-items:flex-start;
        background: rgba(229, 234, 241, 0.92); /* same color, lighter */
    backdrop-filter: blur(6px);
        padding:12px 18px;
        border-radius:0 0 0 12px;
        border-left:1px solid rgba(255,255,255,0.25);
        border-bottom:1px solid rgba(255,255,255,0.25);
        display:none;
      }
      .nav-links.show{display:flex;}
      .nav-right{display:none;}
      .menu-toggle{
        display:block;
        font-size:26px;
        color:#ffffff;
        cursor:pointer;
      }
      .hero-inner{
        flex-direction:column;
      }
      .hero-image-wrap{order:-1;}
      .industries{grid-template-columns:minmax(0,1fr);}
      .product-gallery{grid-template-columns:minmax(0,1fr);}
      .strip-grid{grid-template-columns:minmax(0,1fr);}
      .about-grid{grid-template-columns:minmax(0,1fr);}
      .extra-gallery{grid-template-columns:minmax(0,1fr);}
      .footer-inner{grid-template-columns:1fr;}
      .footer-bottom{flex-direction:column;}
    }

    /* ===== MOBILE SAFETY FIX ===== */
@media (max-width: 900px) {
  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  * {
    max-width: 100%;
  }

    .welcome-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
  }

   .logo img {
    height: 56px;
    padding: 4px;
  }

  /* Hide desktop button on mobile */
@media (max-width: 900px) {
  .btn-cat {
    display: none;
  }

  .mobile-only a {
    display: block;
    background: #ff3b19;
    color: #ffffff !important;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
  }
}


/* Hide mobile-only links on desktop */
@media (min-width: 901px) {
  a.mobile-only {
    display: none !important;
  }
}



/* Hide Download Catalogue only inside menu on desktop */
@media (min-width: 901px) {
  .nav-links a[href*="DgfCatalogue.pdf"] {
    display: none !important;
  }
}
/* Make mobile catalogue button slightly smaller */
@media (max-width: 900px) {
  .nav-links a[href*="DgfCatalogue.pdf"] {
    padding: 9px 12px;      /* was ~12px */
    font-size: 13px;        /* slightly smaller text */
    border-radius: 6px;     /* a bit tighter */
    font-weight: 600;       /* less bold */
  }
}
/* Fixed navbar on mobile */
@media (max-width: 900px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
  }
}




@media (max-width: 900px) {
  body {
    padding-top: 70px; /* must match header height */
  }
}
/* ===== MOBILE SEARCH BELOW NAVBAR ===== */
@media (max-width: 900px) {

  #mobileSearchBox {
    display: none;
    position: absolute;
    top: 80px;           /* SAME AS NAVBAR HEIGHT */
    left: 0;
    width: 100%;
    background: #eaf6ff;
    padding: 10px 14px;
    z-index: 9998;
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  }

  #mobileSearchBox.active {
    display: block;
  }

  #mobileSearchBox .suggestion-box {
    position: relative;
    top: 6px;
    z-index: 9999;
  }
}

/* ==================================================
   FORCE DESKTOP HERO HOVER ANIMATION ON MOBILE MENU
================================================== */

/* Ensure menu links behave same on mobile */
@media (max-width: 900px) {

  .nav-links a {
    position: relative;
    overflow: hidden;              /* REQUIRED */
    padding: 10px 0;
  }

  /* underline glow */
  .nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: var(--nav-underline-color, #7fe9ff);
    box-shadow: 0 0 10px var(--nav-underline-color, #7fe9ff);
    transform: translateX(-50%);
    transition: width 0.25s ease, opacity 0.25s ease;
    opacity: 0;
    border-radius: 999px;
  }

  /* diagonal shine */
  .nav-links a::before {
    content: "";
    position: absolute;
    top: -160%;
    left: -160%;
    width: 260%;
    height: 420%;
    background: linear-gradient(
      120deg,
      transparent 0%,
      rgba(255,255,255,0.8) 50%,
      transparent 100%
    );
    transform: translateX(-100%) rotate(20deg);
    opacity: 0;
    pointer-events: none;
  }

  /* hover / tap effect */
  .nav-links a:hover::after,
  .nav-links a:focus::after,
  .nav-links a:active::after {
    width: 80%;
    opacity: 1;
  }

  .nav-links a:hover::before,
  .nav-links a:focus::before,
  .nav-links a:active::before {
    animation: navDiagonalShine 0.75s ease-out forwards;
    opacity: 1;
  }
}

/* SAME animation as desktop */
@keyframes navDiagonalShine {
  0% {
    transform: translateX(-100%) rotate(20deg);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    transform: translateX(70%) rotate(20deg);
    opacity: 0;
  }
}
.mobile-search-icon { display: none; }
@media (max-width: 900px) {
  .mobile-search-icon { display: block; }
}

  
}
/* ===================================================
   FIX: Prevent mobile search appearing on desktop
   (SAFE PATCH – does not affect existing CSS)
=================================================== */
@media (min-width: 901px) {
  #mobileSearchBox {
    display: none !important;
  }

  .mobile-search-icon {
    display: none !important;
  }
}
/* ===============================
   MOBILE-ONLY MENU ITEM FIX
=============================== */

/* Hide mobile-only items on desktop */
.mobile-only {
  display: none;
}

/* Show mobile-only items ONLY on mobile */
@media (max-width: 900px) {
  .mobile-only {
    display: block;
  }
}
/* ===============================
   MOBILE SEARCH – FULL WIDTH (ALT)
=============================== */
@media (max-width: 900px) {

  #mobileSearchBox {
    padding: 0;                /* remove side gaps */
  }

  #mobileSearchBox .nav-search {
    position: relative;
    width: 100%;
    padding: 10px;
  }

  #mobileSearchBox .nav-search input {
    width: 100%;
    padding: 14px 48px 14px 12px; /* space for button */
    font-size: 16px;
    box-sizing: border-box;
  }

  #mobileSearchBox .nav-search button {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px 12px;
  }

  #mobileSearchBox .suggestion-box {
    width: 100%;
    left: 0;
    right: 0;
  }
}
/* ===============================
   FACEBOOK LINK – FINAL LOCKED STYLE
=============================== */

/* Facebook link ONLY – do not affect buttons */
.fb-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

/* Reset styles ONLY for fb-box, not the link */
.fb-link .fb-box {
  background: #ffffff;
}


/* White square with rounded edges */
.fb-box {
  width: 38px;
  height: 38px;
  background: #ffffff;
  color: #1877f2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px; /* square with soft round */
  font-size: 18px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fb-link:hover .fb-box {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.22);
}

/* Facebook text (mobile only) */
.fb-text {
  font-weight: 1000;
  font-size: 16px;
  color: #1368d6;
}

/* Desktop / Mobile visibility */
@media (max-width: 900px) {
  .fb-desktop {
    display: none !important;
  }
}

@media (min-width: 901px) {
  .fb-mobile-item {
    display: none !important;
  }
}

/* Mobile menu spacing */
.fb-mobile-item {
  padding: 5px 0;
  display: flex;
  justify-content: center;
}
/* ===============================
   FORCE DESKTOP DOWNLOAD BUTTON
=============================== */

/* Always show Download Catalogue on desktop */
@media (min-width: 901px) {
  .btn-cat {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .nav-right {
    display: flex !important;
    align-items: center;
    gap: 14px;
  }
}
/* Facebook must never affect buttons */
.fb-link {
  background: none;
}

.fb-box {
  pointer-events: auto;
}
/* ===============================
   INDUSTRIES CARDS – FINAL MOBILE LOCK
=============================== */
@media (max-width: 600px) {
  .industries {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .industry-card {
    border-radius: 14px;
  }

  .industry-card img {
    height: 190px;
    object-fit: cover;
  }
}
/* =========================================
   FASTENER GALLERY – MOBILE FINAL TIGHT SIZE
========================================= */
@media (max-width: 600px) {

  .fastener-gallery {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;          /* tighter gap */
  }

  .fastener-gallery img {
    width: 100% !important;
    height: 140px !important;      /* 🔽 reduced height */
    padding: 0 !important;
    background: transparent !important;
    object-fit: cover !important;
    border-radius: 10px;
  }

}
/* =========================================
   DESKTOP NAVBAR CONTENT SIZE ADJUSTMENT
   (MAKE 100% LOOK LIKE OLD 90%)
========================================= */
@media (min-width: 901px) {

  /* Menu text */
  .nav-links > li > a {
    font-size: 15px;          /* was ~14–15 */
    padding: 8px 1px; 
    font-weight: 50px;       /* reduce vertical + horizontal */
  }

  /* Search box */
  .nav-search input {
    height: 30px;
    font-size: 12px;
    padding: 4px 10px;
  }

  .nav-search button {
    font-size: 12px;
    padding: 4px 8px;
  }

  /* Download Catalogue button */
  .btn-cat {
    padding: 6px 14px;        /* reduced */
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  /* Facebook icon box */
  .fb-box {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  /* Optional: logo height control */
  .logo img {
    height: 65px;
  }
}
/* =========================================
   LOGO SIZE – MOBILE (LEVEL 3)
========================================= */
@media (max-width: 900px) {
  .logo img {
    height: 45px;   /* balanced size for mobile */
    width: auto;
  }
}






