* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  /*font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f4f6f9;
  color: #333;
   /* space for fixed footer */
}

/* ===== HEADER ===== */
header {
  background: #2c3e50;
  color: white;
  padding: 15px 0;
}
h1, h2, h3, p {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  opacity: 0.8;
}
.nav {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline;
}


/* ===== HERO ===== */
.hero {
  background: linear-gradient(to right, #3498db, #2ecc71);
  color: white;
  padding: 70px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  max-width: 700px;
  margin: auto;
}

/* ===== SECTIONS ===== */
.section {
  width: 90%;
  max-width: 1100px;
  margin: 50px auto;
}

.section h2 {
  margin-bottom: 20px;
  color: #2c3e50;
}

/* ===== CARD ===== */
.card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

/* ===== FORM ===== */
input, textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 12px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

button {
  background: #3498db;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background: #2980b9;
}

/* ===== POSTS ===== */
.post {
  background: #ecf0f1;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* ===== TOOLS ===== */
.tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.tool {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.tool a {
  display: inline-block;
  margin-top: 10px;
  background: #e67e22;
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  text-decoration: none;
}

.tool a:hover {
  background: #d35400;
}

/* ===== FIXED FOOTER ===== */
footer {
  position: absolute;
  left: 0;
  width: 100%;
  background: #2c3e50;
  color: white;
}

.footer-container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding: 20px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.footer-col p,
.footer-col a {
  font-size: 13px;
  color: #ecf0f1;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col a:hover {
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  padding: 15px;
  font-size: 14px;
}