.pwt-header,
.pwt-header * {
  box-sizing: border-box;
}

.pwt-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #fff;
  color: #16365b;
  font-family: "DM Sans", Arial, sans-serif;
  box-shadow: 0 3px 16px rgb(15 41 78 / 7%);
}

.pwt-header a {
  color: inherit;
  text-decoration: none;
}

.pwt-header a:focus-visible,
.pwt-header button:focus-visible,
.pwt-header summary:focus-visible {
  outline: 3px solid #00a99d;
  outline-offset: 4px;
}

/* Blue information strip */

.pwt-topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 8px 16px;
  background: #10336d;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
}

.pwt-topbar span {
  color: #a9bfdf;
}

.pwt-topbar a {
  color: #fff;
  white-space: nowrap;
}

/* Logo and navigation */

.pwt-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1280px;
  min-height: 80px;
  margin: auto;
  padding: 14px 24px;
}

.pwt-logo {
  display: block;
  width: 220px;
  max-width: 65%;
  min-width: 0;
  flex-shrink: 1;
}

.pwt-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
}

.pwt-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
}

.pwt-menu > a,
.pwt-menu summary {
  padding: 12px 0;
  white-space: nowrap;
}

.pwt-menu > a:hover,
.pwt-menu summary:hover {
  color: #0866ca;
}

.pwt-menu details {
  position: relative;
}

.pwt-menu summary {
  cursor: pointer;
  list-style: none;
}

.pwt-menu summary::-webkit-details-marker {
  display: none;
}

.pwt-menu summary::after {
  content: "⌄";
  margin-left: 7px;
}

/* Dropdown menus */

.pwt-submenu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 280px;
  max-width: calc(100vw - 32px);
  max-height: 65vh;
  overflow-y: auto;
  padding: 10px;
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgb(15 41 78 / 12%);
}

.pwt-submenu a {
  display: block;
  padding: 11px 12px;
  border-radius: 5px;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.pwt-submenu a:hover {
  color: #0866ca;
  background: #eff6ff;
}

.pwt-toggle {
  display: none;
}

/* Contact links */

.pwt-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #edf1f7;
  border-bottom: 1px solid #edf1f7;
}

.pwt-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px;
  color: #1765cb;
  font-size: 13px;
  font-weight: 700;
}

.pwt-contact a + a {
  border-left: 1px solid #edf1f7;
}

.pwt-contact a:hover {
  background: #f4f8ff;
}

/* Desktop layout */

@media (min-width: 1051px) {
  .pwt-header {
    display: grid;
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1280px)
      minmax(0, 1fr);
    grid-template-rows: auto auto;
    border-bottom: 1px solid #e5edf7;
  }

  .pwt-topbar {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-content: flex-end;
    flex-wrap: nowrap;
    min-height: 36px;
    padding: 7px max(24px, calc((100% - 1280px) / 2 + 24px));
  }

  .pwt-topbar::before {
    content: "Serving Across Delhi NCR";
    margin-right: auto;
    color: #e6f1ff;
    font-weight: 500;
    white-space: nowrap;
  }

  .pwt-topbar > span {
    white-space: nowrap;
  }

  .pwt-main {
    grid-column: 2;
    grid-row: 2;
    min-height: 80px;
    padding-right: 210px;
  }

  .pwt-menu > a,
  .pwt-menu > details {
    flex-shrink: 0;
  }

  .pwt-contact {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    justify-self: end;
    z-index: 1;
    display: block;
    width: 172px;
    margin-right: 24px;
    border: 0;
  }

  .pwt-contact > a:first-child {
    min-height: 52px;
    padding: 12px 16px;
    border-radius: 13px;
    background: #0861d7;
    color: #fff;
    font-size: 0;
    box-shadow: 0 8px 22px rgb(8 97 215 / 22%);
  }

  .pwt-contact > a:first-child span {
    font-size: 17px;
  }

  .pwt-contact > a:first-child::after {
    content: "8920945464";
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
  }

  .pwt-contact > a:first-child:hover {
    background: #074faf;
  }

  .pwt-contact > a + a {
    display: none;
  }
}

/* Smaller desktops */

@media (min-width: 1051px) and (max-width: 1199px) {
  .pwt-main {
    gap: 16px;
    padding-right: 185px;
  }

  .pwt-logo {
    width: 180px;
  }

  .pwt-menu {
    gap: 14px;
    font-size: 13px;
  }

  .pwt-contact {
    width: 150px;
  }
}

/* Wider desktop coverage text */

@media (min-width: 1400px) {
  .pwt-topbar::before {
    content: "Serving Across Delhi NCR — Delhi • Noida • Greater Noida • Ghaziabad • Gurgaon • Faridabad";
  }
}

/* Tablet and mobile navigation */

@media (max-width: 1050px) {
  .pwt-main {
    min-height: 74px;
    padding: 12px 20px;
  }

  .pwt-logo {
    width: 230px;
  }

  .pwt-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 9px;
    flex-shrink: 0;
    background: transparent;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
  }

  .pwt-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    background: #526074;
    transition: transform 0.2s, opacity 0.2s;
  }

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

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

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

  .pwt-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - 180px);
    max-height: calc(100dvh - 180px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px 20px 20px;
    background: #fff;
    border-top: 1px solid #edf1f7;
    box-shadow: 0 12px 20px rgb(15 41 78 / 8%);
  }

  .pwt-menu.is-open {
    display: block;
  }

  .pwt-menu > a,
  .pwt-menu > details {
    display: block;
    border-bottom: 1px solid #edf1f7;
  }

  .pwt-menu > a,
  .pwt-menu summary {
    padding: 14px 0;
  }

  .pwt-submenu {
    position: static;
    width: 100%;
    max-width: 100%;
    max-height: none;
    margin-bottom: 12px;
    background: #f5f9ff;
    border: 0;
    box-shadow: none;
  }
}

/* Small phones */

@media (max-width: 480px) {
  .pwt-topbar {
    gap: 8px 12px;
    font-size: 11px;
  }

  .pwt-main {
    min-height: 68px;
    padding: 10px 18px;
  }

  .pwt-logo {
    width: 210px;
    max-width: 73%;
  }

  .pwt-contact a {
    min-height: 40px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pwt-toggle span {
    transition: none;
  }
}

