* {
  margin: 0;
}
:root {
  --primary-color: #8b6f47;
  --primary-dark: #6b5437;
  --secondary-color: #a67c52;
  --accent-color: #c19a6b;
  --text-dark: #2c2416;
  --text-medium: #5a4a3a;
  --text-light: #8b7a6a;
  --bg-light: #faf8f5;
  --bg-cream: #f5f1eb;
  --bg-white: #ffffff;
  --border-color: #e5ddd5;

  --bg-color: #e9ecef;
  --calc-bg: #ffffff;
  --display-bg: #3d719a;
  --btn-light: #f0f4f7;
  --btn-dark: #b0c4de;
  --btn-blue: #9fb6cd;
  --text-color: #000;

  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Lato", sans-serif;

  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f4f7f6;
  color: #333;
}
.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:#f0f4f7;
  margin: 3px 0;
  transition: var(--transition);
}

.container {
  width: 70%;
  margin-top: 5rem;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}
label {
  display: block;
  margin-top: 8px;
  font-weight: 600;
  font-size: 0.9em;
}
input,
select {
  width: 100%;
  padding: 6px;
  margin-top: 5px;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-sizing: border-box;
}
.payment-card {
  background: #2c3e50;
  color: white;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
}
.total-amount {
  font-size: 2.5em;
  font-weight: bold;
  margin: 10px 0;
  color: #2ecc71;
}
.breakdown p {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}
.table-wrapper {
  height: 300px;
  overflow-y: auto;
  border: 1px solid #eee;
  margin-top: 20px;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th {
  position: sticky;
  top: 0;
  background: #eee;
  padding: 10px;
}
td {
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #eee;
}
@media (max-width: 600px) {
  .calculator-grid {
    grid-template-columns: 1fr;
  }
}
.about-container {
  width:70%;
  margin: auto;
  padding: 20px;
}

.about-section {
  background: #fff;
  margin-bottom: 30px;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.about-section h2 {
    text-align: center;
  color: #3f7cf3;
  margin-bottom: 15px;
  font-size: 24px;
}

.about-section p {
  margin: 2rem;
  margin-bottom: 12px;
  font-size: 15px;
}

ul {
  margin-left: 20px;
  margin-bottom: 10px;
}

ul li {
  margin-bottom: 6px;
}

.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;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
.about-container {
  width:100%;
}
.calculator-grid {
  grid-template-columns: 1fr;
}
.container {
  width: 80%;
}
  header h1 {
    font-size: 22px;
  }

  section {
    padding: 20px;
  }
  .about-container {
  width:90%;
  margin: 3rem 0 0 0;
  padding: 20px;
}
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -120%;
    width: 95%;
    text-align: center;
    background-color: #3b82f6;
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

}

.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;
}

