@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap");

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

body {
  font-family: "Roboto", sans-serif;
  background: linear-gradient(135deg, #046026 0%, #c3cfe2 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: center;
  padding: 20px;
}

.calculator-container {
  background: rgb(159, 159, 159);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 100%;
  max-width: 850px;
  transition: transform 0.2s ease;
}

.calculator-container:hover {
  transform: translateY(-5px);
}

h2 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 500;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  color: #34495e;
  margin-bottom: 8px;
  font-weight: 500;
}

.input-field,
select {
  width: 100%;
  padding: 12px;
  border: 2px solid #ecf0f1;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.input-field:focus,
select:focus {
  outline: none;
  border-color: #3498db;
}

.flex-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.flex-item {
  flex: 1;
  min-width: 200px;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.button-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

button {
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  color: white;
}

button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

#calculate-button {
  background: #2ecc71;
}

#reset-button {
  background: #e74c3c;
}

#load-example {
  background: #3498db;
}

.results {
  margin-top: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 5px solid #3498db;
}

.results p {
  margin: 10px 0;
  color: #2c3e50;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .calculator-container {
    padding: 20px;
  }
  .flex-row {
    flex-direction: column;
  }
}
.navbar {
  background-color: #000;
  width: calc(100% - 2rem); /* w-96 equivalent */
  color: #fff;
  margin: 1rem; /* m-4 equivalent */
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Arial, sans-serif;
  border-radius: 7px;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
}

.navbar-links {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ddd;
}

.nav-link.active {
  color: #379f51; /* Gold color for active link */
  font-weight: bold;
}

/* Optional: Style for your calculator cards if you want to keep them consistent */
.calculator-selection {
  margin: 1rem;
}
