* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f4f6f9;
  color: #333;
}

.swp-wrapper {
  display: flex;
  flex-direction: column;
}

.swp-calculator {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background: linear-gradient(to right, #e3f2fd, #ffffff);
}

.container {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.form-group {
  margin-bottom: 15px;
  text-align: left;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #555;
}

input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

button {
  width: 100%;
  padding: 12px;
  background: #3498db;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  color: white;
  cursor: pointer;
  margin-top: 10px;
}

button:hover {
  background: #2980b9;
}

.result {
  margin-top: 20px;
  font-size: 16px;
}

.result span {
  font-weight: 600;
  color: #27ae60;
}

.swp-breakdown {
  margin-top: 20px;
  overflow-x: auto;
}

.swp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 10px;
}

.swp-table th, .swp-table td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}

.swp-table th {
  background-color: #3498db;
  color: white;
}

.swp-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

.swp-description {
  padding: 40px 20px;
  background-color: #fff;
  text-align: center;
}

.description-inner {
  max-width: 720px;
  margin: 0 auto;
}

.cta-line {
  margin-top: 15px;
  font-weight: 600;
  color: #007bff;
}
#howToUseBtn {
  background-color: #d35400;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

#howToUseBtn:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

* {
  box-sizing: border-box;
}
/* === MAIN NAVBAR === */
.navbar {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo {
  font-size: 2rem;
  font-weight: 700;
  color: #0077b6;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: #0077b6;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #0077b6;
  transition: width 0.4s ease;
}
.nav-links a:hover::after {
  width: 100%;
}
.navbar {
  transition: top 0.3s ease-in-out;
}
.navbar {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  opacity: 1;
  transition: top 0.3s ease, opacity 0.3s ease;
}
@media (max-width: 768px) {
  .navbar {
    padding: 0.8rem 1.2rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .nav-links {
    gap: 1rem;
    flex-direction: column;
    background: rgba(255,255,255,0.95);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }
}

.site-footer {
  background-color: #f8f9fa;
  padding: 2rem 1rem;
  border-top: 1px solid #ddd;
  font-size: 0.8rem;
  color: #555;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1.5rem;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 160px;
  text-align: center; /* 👈 Center everything */
}

.footer-column h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0077b6;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.3rem;
}

.footer-column a {
  text-decoration: none;
  color: #0077b6;
  font-weight: 500;
  font-size: 0.8rem;
  transition: color 0.3s ease;
  display: inline-block;
}

.footer-column a:hover {
  color: #023e8a;
}

.footer-column p {
  line-height: 1.5;
  margin: 0;
  font-size: 0.75rem;
}
@media (max-width: 768px) {
  .footer-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .footer-column {
    flex: 1 1 30%;
    min-width: 140px;
    margin-bottom: 1rem;
    text-align: center;
  }

  .footer-column h4 {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  .footer-column a {
    font-size: 0.75rem;
  }

  .footer-column ul li {
    margin-bottom: 0.25rem;
  }

  .site-footer {
    padding: 1.5rem 0.8rem;
  }
}
