body {
  font-family: Arial, sans-serif;
  background: #f4f6f8;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #3b82f6;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

.navbar .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 20px;
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #f0f4f7;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #f0f4f7;
  font-weight: 400;
  transition: var(--transition);
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #f0f4f7;
  transition: var(--transition);
}

.nav-menu a:hover {
  color: #f0f4f7;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: var(--transition);
}


.container {
  max-width: 900px;
  margin: 7rem auto;
  background: #fff;
  border: 1px solid #ccc;
}

.header {
  background: #35699a;
  color: white;
  text-align: center;
  padding: 12px;
  font-size: 18px;
}

.content {
  display: flex;
  gap: 20px;
  padding: 20px;
}

.left,
.right {
  width: 50%;
}

.tabs button {
  padding: 8px 15px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.tabs .active {
  background: #35699a;
  color: white;
}

.tabs .inactive {
  background: #e0e0e0;
}

label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

input[type="number"] {
  width: 90%;
  padding: 6px;
  margin-top: 5px;
}

.radio-group {
  margin-top: 10px;
}

.buttons {
  margin-top: 20px;
}

.calculate {
  background: #5a8f29;
  color: white;
  border: none;
  padding: 10px 18px;
  cursor: pointer;
  font-weight: bold;
}

.clear {
  background: #bdbdbd;
  border: none;
  padding: 10px 18px;
  margin-left: 10px;
  cursor: pointer;
  font-weight: bold;
}

.result-header {
  background: #5a8f29;
  color: white;
  padding: 10px;
  font-size: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

th,
td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}

th {
  background: #35699a;
  color: white;
}

.value {
  color: green;
  font-weight: bold;
}
.footer-bottom {
  background-color: #3b82f6;
  border-top: 1px solid rgba(245, 241, 235, 0.2);
  padding-top: 1rem;
  text-align: center;
}
.footer-bottom a {
  text-decoration: none;
  color: #f0f4f7;
  margin: 2px;
}
.footer-bottom a:hover {
  text-decoration: underline;
}

.footer-bottom p {
  color: #f0f4f7;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
