* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nunito', sans-serif;
}

/* ================= TOP BAR ================= */
.top-bar {
  background: #3689dc;
  height: 35px;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 30px;
}

.top-bar a {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.top-bar a:hover {
  color: #ddd;
}

.top-bar i {
  margin-right: 5px;
}

/* ================= HEADER ================= */
.header {
  height: 70px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  position: absolute;
  top: 2px;
  left: 30px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 65px;      /* Desktop size */
  width: auto;
  transition: 0.3s ease;
}



.nav-menu {
  display: flex;
  gap: 42px;
  list-style: none;
}

.nav-menu a {
  color: #000;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-menu a:hover {
  color: #3689dc;
}

/* ================= DROPDOWN ================= */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 140%;
  left: 0;
  width: 210px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.dropdown.active {
  max-height: 550px;
}

.dropdown {
  transition: max-height 0.35s ease, opacity 0.25s ease;
  opacity: 0;
}

.dropdown.active {
  opacity: 1;
}

.dropdown li a {
  display: block;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
}

/* ================= SUB HEADER ================= */
.sub-header {
  background: #3689dc;
  padding: 6px 30px;
  
}

.sub-header p {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

/* ================= HAMBURGER ================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #000;
}

/* ================= MOBILE MENU ================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 50%;
  height: 120vh;
  background: #3689dc;
  padding: 80px 25px;
  transition: right 0.4s ease;
  border-radius: 8px;
  z-index: 2000;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  margin-bottom: 20px;
}

.mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}

.mobile-submenu {
  display: none;
  margin-top: 10px;
  margin-left: 15px;
}

.mobile-submenu.active {
  display: block;
}

.menu-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 28px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .top-bar,
  .navbar {
    display: none;
  }

    .logo {
  display: flex;
  position: absolute;
  top: 10px;
  left: 30px;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

  .hamburger {
    display: flex;
  }
}

@media (min-width: 769px) {
  .mobile-menu,
  .hamburger {
    display: none;
  }
}

/*=====hero1======*/
.hero1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.623), rgba(0, 0, 0, 0.575)), url("images/herico-bars-backgro-page1.png");;
    background-size: cover;       /* Fill the entire area */
    background-position: center;  /* Center the image */
    background-repeat: no-repeat; /* No repeating */  
    color: #ffffff;
    height: 200px;
    padding-top: 20px;
}
    
.hero1 h2 {
    text-align: center;
     font-size: 70px;
    font-weight: 100px;
    text-decoration: underline;
  text-underline-offset: 25px; /* space */
  text-decoration-thickness: 3px;
  
}

.hero2 {
  background-color: #ffffff;
  color: #000000;
  height: auto;
  padding-top: 20px;
}



.hero2 h3 {
  text-align: left;
  font-size: 23px;
  font-weight: 600;
  margin-left: 30px;
  margin-top: 50px;
}

.hero2 h5 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 30px;
  margin-left: 30px;
  text-decoration: underline;
  text-underline-offset: 12px; /* space */
  text-decoration-thickness: 2px;
}


.hero2 p {
  font-size: 18px;
  margin-top: 30px;
  margin-left: 30px;
  margin-right: 40px;
  line-height: 1.5;
}

.hero2 li {
  font-size: 16px;
  font-weight: 500;
  margin-left: 90px;
  line-height: 1.5;
  margin-right: 40px;
}

.hero2 li p {
    margin-top: 8px;
}


.table-wrapper {
  width: 100%;
  padding: 20px;
}

.asme-table {
  width: 85%;
  border-collapse: collapse;
  table-layout: fixed;
  margin-left: 100px;
  margin-right: 100px;
}

.asme-table th,
.asme-table td {
  border: 1px solid #e2e2e2;
  padding: 22px 18px;
  vertical-align: middle;
  font-size: 15px;
  color: #222;
}

.asme-table th {
  text-align: left;
  font-weight: 600;
  background-color: #ffffff;
}

.asme-table td {
  text-align: left;
}

@media (max-width: 767px) {

  /* HERO SECTION */
  .hero1 {
    height: 160px;
    padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero1 h2 {
    font-size: 32px;
    text-underline-offset: 10px;
  }

  /* CONTENT SECTION */
  .hero2 {
    padding: 30px 15px;
  }

  .hero2 h3 {
    font-size: 20px;
    margin: 30px 0 15px 0;
  }

  .hero2 h5 {
    font-size: 16px;
    margin: 25px 0 10px 0;
  }

  .hero2 p {
    font-size: 15px;
    margin: 15px 0;
  }

  .hero2 li {
    font-size: 14px;
    margin: 10px 0 10px 20px;
  }

  /* TABLE */
  .table-wrapper {
    padding: 0;
    overflow-x: auto;
  }

  .asme-table {
    width: 100%;
    margin: 0;
    font-size: 13px;
  }

  .asme-table th,
  .asme-table td {
    padding: 12px;
  }

}

@media (min-width: 768px) and (max-width: 1024px) {

  .hero1 {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero1 h2 {
    font-size: 42px;
  }

  .hero2 {
    padding: 50px 30px;
  }

  .hero2 h3 {
    font-size: 24px;
    margin: 40px 0 20px 0;
  }

  .hero2 h5 {
    font-size: 17px;
    margin: 30px 0 15px 0;
  }

  .hero2 p {
    font-size: 16px;
    margin: 20px 0;
  }

  .hero2 li {
    font-size: 15px;
    margin: 12px 0 12px 30px;
  }

  .asme-table {
    width: 100%;
    margin: 0;
  }

  .asme-table th,
  .asme-table td {
    padding: 16px;
  }

}









.site-footer {
  background-color: #ffffff;
  color: #000000;
  height: 400px;
}

.footer-section {
  display: flex;
  margin: 60px;
  gap: 50px;

}

.column-a {
  width: 700px;
  height: 300px;
  border: 2px solid#ffffff;
} 


.column-a h3 {
    font-size: 40px;
    font-weight: 500;
    margin-left: 10px;
}

.column-a p {
  font-size: 17px;
  font-weight: 500;
  margin-left: 10px;
  margin-top: 60px;
  line-height: 1.5;
}

.column-a a {
  color: #000000;
  text-decoration: none;
}
.column-b {
  width: 400px;
  height: 300px;
  border: 2px solid#ffffff;
}

.column-b h4 {
   font-size: 28px;
    font-weight: 600;
    margin-left: 10px;
}

.column-b p {
   font-size: 17px;
  font-weight: 500;
  margin-left: 10px;
  margin-top: 30px;
  line-height: 1.5;
}

.column-b a {
  display: block;
  color: #000000;
  text-decoration: none;
  margin-bottom: 5px;
  margin-left: 10px;

}


/* ---------- Mobile Responsive Footer ---------- */
@media (max-width: 768px) {

  .site-footer {
    height: auto; /* allow footer to expand */
    padding-bottom: 30px;
  }

  .footer-section {
    flex-direction: column; /* stack columns */
    margin: 20px;
    gap: 30px;
  }

  .column-a,
  .column-b {
    width: 100%;
    height: auto;
  }

  .column-a h3 {
    font-size: 28px;
    margin-left: 0;
    text-align: left;
  }

  .column-a p {
    font-size: 15px;
    margin-left: 0;
    margin-top: 20px;
  }

  .column-b h4 {
    font-size: 22px;
    margin-left: 0;
  }

  .column-b p {
    font-size: 15px;
    margin-left: 0;
    margin-top: 15px;
  }

  .column-b a {
    margin-left: 0;
    font-size: 15px;
  }
}

/* ---------- Extra Small Devices (phones < 480px) ---------- */
@media (max-width: 480px) {

  .footer-section {
    margin: 15px;
  }

  .column-a h3 {
    font-size: 24px;
  }

  .column-b h4 {
    font-size: 20px;
  }

  .column-a p,
  .column-b p,
  .column-b a {
    font-size: 14px;
  }
}
