* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
}

@media (max-width: 345px) {
  * {
    overflow-x: auto;
  }
}

.header {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #ab183d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  /* allows wrapping on small screens */
  padding: 10px 20px;
  width: 100%;
  text-align: center;

}


.headerImg {
  height: 120px;
  /* default */
  width: 120px;
  /* default */
  border-radius: 50%;
  margin-right: 20px;
  object-fit: cover;
}

.headerS {
  color: #fff;
  /* flex: 1;  */
  min-width: 150px;
    font-size: 24px;

}

.headerS h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.headerS p {
  font-size: 16px;
  margin-top: 5px;
}

/* Navbar */
.nav {
  height: 50px;
  width: 100%;
  background-color: black;
  position: relative;
}

.navList {
  display: flex;
  list-style: none;
  height: 100%;
  margin: 0;
}

.navList li {
  flex: 1;
  text-align: center;
  border-right: 1px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navList a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  width: 100%;
  padding: 10px;
}

/* Active link = orange with underline */
.navList a.active {
  color: #ff6600 !important;
  font-weight: bold;
  border-bottom: 2px solid #ff6600;
}

/* Hover = red */
.navList a:hover {
  color: #ab183d !important;
}


/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
  position: absolute;
  top: 0;
  right: 10px;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background-color: white !important;
  margin: 4px 0;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

.navList li.more {
  position: relative;
}
.more {
  position: relative;
}

.moreMenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;             /* 🔥 full width */
  background-color: black;
  list-style: none;
  z-index: 1000;
  flex-direction: column;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  overflow-x: hidden;       /* no side scroll */
}

/* Show on hover (for desktop only) */
@media (hover: hover) and (pointer: fine) {
  .more:hover .moreMenu {
    display: flex;
  }
}

/* JS click toggle (mobile) */
.moreMenu.open {
  display: flex;
}

.moreMenu li {
  border-bottom: 1px solid white;
}

.moreMenu li:last-child {
  border-bottom: none;
}

.moreMenu a {
  display: block;
  padding: 12px 0;          /* uniform vertical padding */
  text-align: center;       /* center text */
  color: white;
  text-decoration: none;
  white-space: nowrap;
  width: 100%;
}

.moreMenu a:hover {
  color: #ab183d !important;
  background-color: #222;
}


/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navList {
    display: none;
    flex-direction: column;
    background-color: black;
    position: absolute;
    top: 50px;
    width: 100%;
    height: auto;
    z-index: 1000;
  }

  .navList.open {
    display: flex;
  }

  .navList li {
    border-right: none;
    border-bottom: 1px solid white;
  }

  .headerS h1 {
    font-size: 35px;
    font-weight: 700;
  }

  .headerS p {
    font-size: 16px;
  }

}

@media (max-width: 550px) {
  .headerImg {
    height: 90px;
    width: 90px;
    margin-right: 15px;
  }

  .headerS h1 {
    font-size: 28px;
  }

  .headerS p {
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .headerImg {
    height: 80px;
    width: 80px;
    margin: 0 0 10px 0;
  }

  .headerS h1 {
    font-size: 22px;
  }

  .headerS p {
    font-size: 12px;
  }
}

@media (max-width: 345px) {
  .nav {
    overflow: unset;
  }


}