:root {
  --text: #1e293b;
  --gradient: linear-gradient(90deg, #6366f1, #3b82f6);
}

/* BODY */
body {
  max-width: 720px;
  padding: 64px 20px;
  margin: 0 auto;

  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  letter-spacing: 0.2px;

  background-color: #f8fafc; /* light background */
  color: #1e293b; /* dark text */
}

/* HEADING */
h1 {
  text-align: center;
  color: #4f46e5;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* LINKS */
a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* LIST ITEMS */
li {
  margin-bottom: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  list-style: none;

  background-color: #e2e8f0; /* light card */
}

/* HEADER */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 16px 24px;
  border-radius: 8px;
  margin-bottom: 32px;

  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* NAV */
.site-header nav a {
  color: #1e293b;
  margin-left: 24px;

  transition: transform 0.2s ease, color 0.2s ease;
}

.site-header nav a:hover {
  transform: scale(1.1);
  color: #f59e0b;
}

/* IMAGE (centered properly) */
.profile-img {
  display: block;
  margin: 32px auto;
  width: 100%;
  max-width: 300px; /* keeps it proportional to text */
  height: auto;
  border-radius: 12px;
}

/* PULL QUOTE */
.pull-quote-text {
  text-align: center;
  color: var(--text);
}

/* SHADOWS */
.site-header,
li {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}



/*--------------------contact form --------------------*/
form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 480px;
}
input, textarea {
  padding: 8px;
  font-size: 16px;
}
button {
  padding: 10px 16px;
  font-size: 16px;
  cursor: pointer;
}

/* Style for the crossed-out text */
.completed {
  text-decoration: line-through;
  color: gray;
}


#task-list li {
  display: flex;
  align-items: center; /* Aligns checkbox and text vertically */
  gap: 12px;           /* Puts space between box and text */
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.task-checkbox {
  width: 18px;         /* Explicit size to ensure visibility */
  height: 18px;
  cursor: pointer;
}


