  * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #0f0f0f;
  color: #ffffff;
  line-height: 1.6;
}
/* Sticky Navbar */
nav {
  background-color: #111;
  padding: 1rem;
  z-index: 1000;
}

.nav-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.navbar-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Navbar and menu toggle */
.menu-toggle {
  font-size: 2rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

.navbar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  padding: 0.5rem;
  position: relative;
}

.navbar > li {
  position: relative;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
  padding: 0.5rem 1rem;
  display: inline-block;
}

.navbar a:hover {
  color: #00c6ff;
  border-radius: 5px;
}

/* Dropdown Content */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1f1f1f;
  min-width: 180px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.5);
  z-index: 1;
  border-radius: 5px;
}

.dropdown-content li {
  display: block;
}

.dropdown-content a {
  padding: 0.75rem 1rem;
  display: block;
  color: white;
}

.dropdown-content a:hover {
  background-color: #00c6ff;
  color: black;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

header {
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.container-Calculator {
  max-width: 1200px;
  margin: 0 auto; /* horizontal center */
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center; /* centers children horizontally */
}

.input-wrapper {
  display: flex;
  align-items: baseline; /* aligns to the baseline of the text */
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.unit {
  font-size: 1rem;
  color: white;
  padding: 5px;
  border-radius: 8px;
}

.hideImg {
  display: none;
}

section {
  margin: 3rem 0;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #00c6ff;
}

.workout-card {
  background-color: #1e1e1e;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  display: block;
  transition: transform 0.2s ease;
}

a {
  text-decoration: none; /* Remove underline */
  color: inherit; /* Keep the text color from the parent */
}

.workout-card:hover {
  transform: scale(1.02);
}

/* Mobile styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .navbar {
    display: none;
    flex-direction: column;
    background-color: #111;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
  }

  .navbar.active {
    display: flex;
  }

  .dropdown-content {
    position: static;
    background-color: #1a1a1a;
    padding-left: 1rem;
  }

  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown.open .dropdown-content {
    display: block;
  }
}

.bg-content {
  dl {
    margin: 2rem;
    padding: 1rem;

    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  .dt-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00c6ff;
    margin-top: 1.5rem;
  }

  dd {
    font-size: 1rem;
    line-height: 1.6;
    margin: 1rem 0;
  }
  .gif {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
  }
  .gif:hover {
    transform: scale(1.05);
  }
  .pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
  }
  .pagination a {
    padding: 10px 20px;
    background-color: #00c6ff;
    color: white;
    text-decoration: none;
    margin: 0 5px;
    border-radius: 5px;
    transition: background-color 0.3s;
  }

  .pagination a:hover {
    background-color: #0072ff;
  }

  .pagination a.active {
    background-color: #0072ff;
  }
}

.submit {
  background-color: #00c6ff;
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit:hover {
  background-color: #0072ff;
  color: #fff;
  transform: scale(1.05);
}

.hideImg {
  display: none;
  width: 200px;
  height: 200px;
  margin-left: auto;
  margin-right: auto;
}
#hiddenTable {
  border: none;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
  background-color: #1e1e1e;
  box-shadow: 0 8px 20px rgba(0, 198, 255, 0.2);
  overflow: hidden;
  width: 100%;
  max-width: 500px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  border-collapse: collapse;
}

#hiddenTable tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#hiddenTable tr:last-child {
  border-bottom: none;
}

/* Arrow box (Label column) */
.arrowBox {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  padding: 10px 14px;
  text-align: left;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  width: 50%;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

/* Result box (Value column) */
.resultBox {
  background: #f9f9f9;
  color: #111;
  padding: 10px 14px;
  font-weight: 500;
  text-align: right;
  width: 50%;
  transition: background-color 0.3s ease;
}

.resultBox:hover {
  background-color: #e0f7ff;
}

/* Text input box styled to fit theme */
.textBox {
  border: 1px solid #00c6ff;
  background-color: #fff;
  color: #111;
  font-family: "Poppins", sans-serif;
  line-height: 1.4;
  vertical-align: baseline;
}

.radios {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.radios div {
  margin-top: 0.25rem;
} 