/* ============================================================
       HYDERABAD TUBES – NAVBAR STYLES
       All classes start with "hyd-nav"
       ============================================================ */

    *, *::before, *::after { box-sizing: border-box; }

    :root {
      --hyd-primary:    #2368ad;      /* exact blue navbar color */
      --hyd-primary-dk: #1a5089;      /* darker blue for hover */
      --hyd-secondary:  #ffffff;      /* white accent */
      --hyd-accent:     #7cb8f5;      /* light blue accent */
      --hyd-white:      #ffffff;
      --hyd-ink:        #0a1f17;
      --hyd-body:       #4b5e55;
      --hyd-muted:      #8a9e94;
      --hyd-line:       #e2e8e0;
      --hyd-nav-h:      80px;
      --hyd-container:  1240px;
      --hyd-shadow:     0 24px 48px -24px rgba(35, 104, 173, .35);
      --hyd-ease:       cubic-bezier(.4, 0, .2, 1);
      --hyd-font:       'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    }

    body {
      margin: 0;
      font-family: var(--hyd-font);
     
      color: var(--hyd-ink);
      -webkit-font-smoothing: antialiased;
    }

    a   { text-decoration: none; color: inherit; }
    ul  { list-style: none; margin: 0; padding: 0; }
    img { max-width: 100%; display: block; }
    button { font: inherit; }

    /* ============================================================
       HEADER SHELL
       ============================================================ */
    .hyd-nav-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: var(--hyd-primary);
      border-bottom: 1px solid rgba(255, 255, 255, .1);
      transition: box-shadow .3s var(--hyd-ease);
      font-family: var(--hyd-font);
    }

    .hyd-nav-header.is-scrolled {
      box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .45);
    }

    .hyd-nav-container {
      max-width: var(--hyd-container);
      margin-inline: auto;
      padding-inline: 24px;
      height: var(--hyd-nav-h);
      display: flex;
      align-items: center;
      gap: 20px;
    }

    /* ---------- LOGO ---------- */
    .hyd-nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-right: 72px;
      font-weight: 800;
      font-size: 1.15rem;
      letter-spacing: -.02em;
      color: var(--hyd-white);
      white-space: nowrap;
    }

    .hyd-nav-logo-mark {
      width: 44px;
      height: 44px;
      flex: none;
      border-radius: 12px;
      background: #ffffff;
      color: var(--hyd-primary);
      font-size: .8rem;
      font-weight: 800;
      display: grid;
      place-items: center;
    }

    /* ============================================================
       DESKTOP NAV LIST
       ============================================================ */
    .hyd-nav-menu {
      display: flex;
      align-items: center;
      margin-right: 64px;
    }

    .hyd-nav-list {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .hyd-nav-link {
      position: relative;
      display: flex;
      align-items: center;
      gap: 7px;
      padding: 10px 16px;
      border-radius: 10px;
      font-size: 16px;
      font-weight: 600;
      color: rgba(255, 255, 255, .9);
      white-space: nowrap;
      transition: background .18s var(--hyd-ease), color .18s var(--hyd-ease);
    }

    .hyd-nav-link:hover,
    .hyd-nav-link:focus-visible {
      background: rgba(255, 255, 255, .14);
      color: #ffffff;
      outline: none;
    }

    .hyd-nav-link.hyd-nav-active {
      color: #ffffff;
    }

    /*.hyd-nav-link.hyd-nav-active::after {*/
    /*  content: "";*/
    /*  position: absolute;*/
    /*  left: 16px;*/
    /*  right: 16px;*/
    /*  bottom: 4px;*/
    /*  height: 2px;*/
    /*  border-radius: 2px;*/
    /*  background: #ffffff;*/
    /*}*/

    /* Chevron */
    .hyd-nav-chev {
      flex: none;
      transition: transform .28s var(--hyd-ease);
    }

    /* ============================================================
       MEGA DROPDOWN – DESKTOP
       ============================================================ */
    .hyd-nav-dropdown {
      position: static;
    }

    .hyd-nav-mega {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--hyd-white);
      box-shadow: var(--hyd-shadow);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-12px);
      transition: opacity .24s var(--hyd-ease),
                  transform .24s var(--hyd-ease),
                  visibility .24s;
      z-index: 999;
    }

    .hyd-nav-mega::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: -20px;
      height: 20px;
    }

    .hyd-nav-mega-inner {
      max-width: 1400px;
      margin-inline: auto;
      padding: 32px 24px 38px;
    }

    .hyd-nav-mega-title {
      margin: 0 0 18px;
      font-size: .72rem;
      font-weight: 800;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: #8ba3b8;
    }

    .hyd-nav-submenu {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 4px 20px;
    }

    .hyd-nav-submenu a {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 11px 12px;
      border-radius: 10px;
      font-size: .9rem;
      font-weight: 500;
      color: #4b5e55;
      transition: background .16s var(--hyd-ease),
                  color .16s var(--hyd-ease),
                  transform .16s var(--hyd-ease);
    }

    .hyd-nav-submenu a::before {
      content: "";
      width: 6px;
      height: 6px;
      flex: none;
      border-radius: 50%;
      background: #cbd5e1;
      transition: background .16s var(--hyd-ease), transform .16s var(--hyd-ease);
    }

    .hyd-nav-submenu a:hover,
    .hyd-nav-submenu a:focus-visible {
      background: #eef5fc;
      color: var(--hyd-primary);
      transform: translateX(3px);
      outline: none;
    }

    .hyd-nav-submenu a:hover::before,
    .hyd-nav-submenu a:focus-visible::before {
      background: var(--hyd-primary);
      transform: scale(1.4);
    }

    /* Desktop open states */
    @media (min-width: 1025px) {
      .hyd-nav-dropdown:hover  > .hyd-nav-mega,
      .hyd-nav-dropdown:focus-within > .hyd-nav-mega,
      .hyd-nav-dropdown.hyd-nav-open > .hyd-nav-mega {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
      }

      .hyd-nav-dropdown:hover > .hyd-nav-link .hyd-nav-chev,
      .hyd-nav-dropdown:focus-within > .hyd-nav-link .hyd-nav-chev,
      .hyd-nav-dropdown.hyd-nav-open > .hyd-nav-link .hyd-nav-chev {
        transform: rotate(180deg);
      }

      .hyd-nav-dropdown:hover > .hyd-nav-link,
      .hyd-nav-dropdown.hyd-nav-open > .hyd-nav-link {
        background: rgba(255, 255, 255, .14);
        color: #ffffff;
      }
    }

    /* ============================================================
       GET A QUOTE BUTTON – DESKTOP ONLY
       ============================================================ */
    .hyd-nav-quote-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 11px 22px;
      border-radius: 10px;
      font-size: .9rem;
      font-weight: 700;
      background: #ffffff;
      color: var(--hyd-primary);
      white-space: nowrap;
      transition: background .2s var(--hyd-ease),
                  transform .2s var(--hyd-ease),
                  box-shadow .2s var(--hyd-ease);
    }

    .hyd-nav-quote-btn:hover {
      background: #eef5fc;
      transform: translateY(-1px);
      box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .35);
    }

    .hyd-nav-quote-btn svg {
      flex: none;
      transition: transform .25s var(--hyd-ease);
    }

    .hyd-nav-quote-btn:hover svg {
      transform: translateX(3px);
    }

    /* ============================================================
       HAMBURGER TOGGLE
       ============================================================ */
    .hyd-nav-toggle {
      display: none;
      width: 46px;
      height: 46px;
      flex: none;
      padding: 0;
      border: 1px solid rgba(255, 255, 255, .3);
      border-radius: 12px;
      background: transparent;
      cursor: pointer;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 5px;
      transition: background .2s var(--hyd-ease);
    }

    .hyd-nav-toggle:hover {
      background: rgba(255, 255, 255, .12);
    }

    .hyd-nav-toggle span {
      display: block;
      width: 20px;
      height: 2px;
      border-radius: 2px;
      background: var(--hyd-white);
      transition: transform .3s var(--hyd-ease), opacity .2s var(--hyd-ease);
    }

    .hyd-nav-toggle[aria-expanded="true"] span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .hyd-nav-toggle[aria-expanded="true"] span:nth-child(2) {
      opacity: 0;
    }

    .hyd-nav-toggle[aria-expanded="true"] span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    /* ============================================================
       MOBILE / TABLET  ( ≤ 1024px )
       ============================================================ */
    @media (max-width: 1024px) {

      :root { --hyd-nav-h: 70px; }

      .hyd-nav-container { padding-inline: 18px; }

      .hyd-nav-logo { font-size: 1.02rem; }
      .hyd-nav-logo-mark { width: 38px; height: 38px; border-radius: 10px; }

      .hyd-nav-toggle { display: flex; }

      /* Hide Get a Quote on mobile */
      .hyd-nav-quote-btn { display: none; }

      /* ---------- NEW: White slide-down panel ---------- */
      .hyd-nav-menu {
        position: fixed;
        top: var(--hyd-nav-h);
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .15);
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s var(--hyd-ease);
        z-index: 998;
      }

  .hyd-nav-menu.hyd-nav-open {
  max-height: none;        /* let it grow to content */
  overflow-y: visible;     /* no inner scrollbar */
}

      body.hyd-nav-body-lock { overflow: hidden; }

      /* ---------- FORCE TOP-LEVEL ITEMS TO BE VISIBLE ---------- */
      .hyd-nav-list > li {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
      }

      /* ---------- List ---------- */
      .hyd-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px 16px 32px;
      }

      .hyd-nav-link {
        justify-content: space-between;
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: 10px;
        color: var(--hyd-primary);
        min-height: 48px;
      }

      .hyd-nav-link:hover,
      .hyd-nav-link:focus-visible {
        background: #eef5fc;
        color: var(--hyd-primary);
      }

      .hyd-nav-link.hyd-nav-active {
       
        color: var(--hyd-primary);
      }

      .hyd-nav-link.hyd-nav-active::after { display: none; }

      /* ---------- Accordion mega menu ---------- */
.hyd-nav-mega {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  background: #f8fafc;
  max-height: none;
  overflow: visible;
  display: none;           /* hidden by default */
  border-radius: 10px;
  margin-top: 4px;
}

.hyd-nav-dropdown.hyd-nav-open > .hyd-nav-mega {
  display: block;          /* shown when open */
}

      .hyd-nav-mega::before { display: none; }

      .hyd-nav-mega-inner {
        padding: 0;
        max-width: none;
      }

      .hyd-nav-mega-title { display: none; }

      .hyd-nav-submenu {
        grid-template-columns: 1fr;
        gap: 1px;
        margin: 0;
        padding: 8px;
        border-left: none;
        height: 250px;
        overflow-y: auto;
      }

      .hyd-nav-submenu a {
        padding: 12px 14px;
        font-size: .93rem;
        color: #4b5e55;
        border-radius: 8px;
        min-height: 44px;
      }

      .hyd-nav-submenu a:hover {
        transform: none;
        background: #eef5fc;
        color: var(--hyd-primary);
      }

      .hyd-nav-submenu a::before {
        background: #cbd5e1;
      }

      .hyd-nav-submenu a:hover::before {
        background: var(--hyd-primary);
      }

      .hyd-nav-dropdown.hyd-nav-open > .hyd-nav-link .hyd-nav-chev {
        transform: rotate(180deg);
      }

      .hyd-nav-dropdown.hyd-nav-open > .hyd-nav-link {
        background: #eef5fc;
        color: var(--hyd-primary);
      }
    }
    @media(max-width : 576px){
        .hyd-nav-menu {

  margin-right: 0px;
}
    }
