.pf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  color: #fff;
  padding: 2.8rem 0;
  font-family: 'Inter', Arial, sans-serif;
  box-shadow: none;
  transition: background 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s cubic-bezier(0.4,0,0.2,1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
.container > .pf-header {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}
}
.pf-header > .container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Header background and shadow only when scrolled */
.pf-header.pf-header--scrolled {
  background: rgb(13, 13, 13);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.pf-header__logo img {
    height: 28px;
    width: auto;
    display: block;
}

.pf-header__nav {
  display: flex;
  gap: 1rem;
  margin-left: auto;
}

.pf-header__nav a {
  color: #6b6b6b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.pf-header__nav a:hover {
  color: #fff;
}

/* Current page underline (using .active or aria-current="page") */
.pf-header__nav a.active,
.pf-header__nav a[aria-current="page"] {
  color: #6b6b6b;
  border-bottom: 2px solid #6b6b6b;
  padding-bottom: 2px;
}

.pf-header__socials {
  display: flex;
  gap: 1rem;
  margin-left: 2rem;
}

.pf-header__socials a svg {
  vertical-align: middle;
  transition: transform 0.2s;
}

.pf-header__socials a:hover svg {
  transform: scale(1.15);
  filter: drop-shadow(0 0 4px #38bdf8);
}

@media (max-width: 700px) {
  .pf-header {
    flex-direction: column;
    align-items: flex-start;
    flex-direction: column;
    padding: 1.2rem 0;
    left: 0;
    width: 100%;
  }
  .pf-header__nav, .pf-header__socials {
    margin-top: 0.5rem;
    gap: 0.6rem;
    margin-left: 0;
  }
  .pf-header__socials {
    margin-left: 0;
  }
  /* Mobile header: center logo and labels, stack vertically */
  @media (max-width: 700px) {
    .pf-header > .container {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: flex-start;
      position: relative;
      text-align: left;
    }
    .pf-header__logo {
      position: static;
      margin: 0 auto;
      display: flex;
      justify-content: center;
      align-items: center;
      width: auto;
      order: 1;
      z-index: 10;
    }
    .pf-header__nav {
      flex-direction: row;
      justify-content: center;
      align-items: center;
      width: 100%;
      margin-top: 0.5rem;
    }
    .pf-header__nav a {
      text-align: center;
      margin: 0 0.5rem;
      width: auto;
    }
 }
 
 /* Sidebar backdrop styles */
 .pf-sidebar-backdrop {
   display: none;
   position: fixed;
   inset: 0;
   width: 100vw;
   height: 100vh;
   background: rgba(0,0,0,0.45);
   z-index: 300;
   transition: opacity 0.3s cubic-bezier(0.4,0,0.2,1);
   opacity: 0;
 }
 .pf-sidebar-backdrop--open {
   z-index: 200;
 }
 .pf-sidebar-backdrop--open {
   display: block;
   opacity: 1;
 }
}

/* Hamburger icon styles */
.pf-header__hamburger {
 display: none;
 background: none;
 border: none;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 padding: 0.7rem;
 margin-right: 1rem;
 cursor: pointer;
 z-index: 200;
}
.pf-header__hamburger span {
 display: block;
 width: 24px;
 height: 1px;
 background: #6b6b6b;
 margin: 5px 0;
 border-radius: 2px;
 transition: background 0.2s;
}
@media (max-width: 700px) {
 .pf-header__hamburger {
   display: flex;
   position: static;
   margin-right: 0;
   margin-left: 0;
   order: 0;
   z-index: auto;
 }
 .pf-header__logo {
   position: absolute;
   left: 50%;
   top: 50%;
   transform: translate(-50%, -50%);
   display: flex;
   justify-content: center;
   align-items: center;
   width: auto;
   margin: 0;
   order: 1;
   z-index: 10;
 }
 .pf-header__nav {
   display: none;
 }
 .pf-sidebar {
   display: block;
 }
}

/* Sidebar styles */
.pf-sidebar {
 position: fixed;
 top: 0;
 left: 0;
 height: 100vh;
 width: 80vw;
 max-width: 320px;
 background: #181818;
 box-shadow: 2px 0 16px rgba(0,0,0,0.18);
 z-index: 301;
 transform: translateX(-100%);
 transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
 padding-top: 5.5rem;
 padding-left: 2rem;
 padding-right: 2rem;
 overflow-y: auto;
 display: none;
}
.pf-sidebar--open {
 transform: translateX(0);
 display: block;
}
.sidebar-open {
 overflow: hidden;
}
.pf-sidebar__nav {
 display: flex;
 flex-direction: column;
 gap: 2rem;
}
.pf-sidebar__nav a {
 color: #6b6b6b;
 text-decoration: none;
 font-weight: 500;
 font-size: 1.3rem;
 transition: color 0.2s;
 padding: 0.5rem 0;
 border-bottom: none;
}
.pf-sidebar__nav a:hover {
 color: #fff;
}
.pf-sidebar__nav a.active,
.pf-sidebar__nav a[aria-current="page"] {
  color: #6b6b6b;
  border-bottom: 2px solid #6b6b6b;
  padding-bottom: 2px;
}
@media (max-width: 700px) {
  .pf-sidebar__nav a {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    display: block;
  }
  .pf-sidebar__nav a.active,
  .pf-sidebar__nav a[aria-current="page"] {
    border-bottom-width: 1.5px;
    border-bottom-style: solid;
    border-bottom-color: #6b6b6b;
    width: fit-content;
    margin-left: 0;
    margin-right: 0;
    display: block;
    padding-bottom: 2px;
    text-align: left;
  }
}
.pf-sidebar {
 box-sizing: border-box;
}
@media (min-width: 701px) {
 .pf-sidebar {
   display: none !important;
 }
 .pf-header__hamburger {
   display: none !important;
 }
 .pf-header__nav {
   display: flex;
 }
}