/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #fdfdfd;
  color: #333;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 20px 0;
}

/* Navbar */
.navbar {
  background: #2c3e50 !important;
  padding: 10px 20px !important;
}
.navbar .brand {
  color: #fff !important;
  font-weight: bold !important;
  text-decoration: none !important;
  font-size: 20px !important;
}
.nav-links {
  list-style: none !important;
  display: flex !important;
  gap: 15px !important;
  float: right !important;
}
.nav-links a {
  color: #ecf0f1 !important;
  text-decoration: none !important;
  transition: color 0.3s !important;
}
.nav-links a:hover {
  color: #1abc9c !important;
}

/* Intro */
.intro {
  margin: 30px 0 !important;
  text-align: center !important;
}
.intro h1 {
  font-size: 32px !important;
  margin-bottom: 10px !important;
}
.intro p {
  font-size: 18px !important;
  color: #555 !important;
}

/* Calculator Grid */
.calc-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 20px !important;
  margin-top: 20px !important;
}
.calc-grid a {
  display: block !important;
  padding: 15px !important;
  background: #fff !important;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  text-align: center !important;
  font-weight: bold !important;
  color: #2c3e50 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
}
.calc-grid a:hover {
  background: #1abc9c !important;
  color: #fff !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

/* Buttons (Forms / Calculators) */
button {
  padding: 10px 20px !important;
  margin: 5px !important;
  border: none !important;
  background: #1abc9c !important;
  color: #fff !important;
  font-size: 16px !important;
  border-radius: 5px !important;
  cursor: pointer !important;
  transition: 0.3s !important;
}
button:hover {
  background: #16a085 !important;
}

/* Forms */
form input, form select, form textarea {
  width: 100% !important;
  padding: 10px !important;
  margin-top: 5px !important;
  margin-bottom: 15px !important;
  border: 1px solid #ccc !important;
  border-radius: 5px !important;
}

/* Adsense */
.adsense {
  text-align: center !important;
  background: #f9f9f9 !important;
  padding: 15px !important;
  border: 1px dashed #ccc !important;
  margin: 20px 0 !important;
}

/* Footer */
footer {
  background: #2c3e50 !important;
  color: #ecf0f1 !important;
  text-align: center !important;
  padding: 15px !important;
  margin-top: 40px !important;
}
footer a {
  color: #1abc9c !important;
  text-decoration: none !important;
}
footer a:hover {
  text-decoration: underline !important;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .calc-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
  }
}
