:root {
  --bg: #8097b8;
  --text: #1a1a1a;
  --card-bg: white;
  --accent: #4f46e5;
}

body.dark {
  --bg: #000000;
  --text: #ffffff;
  --card-bg: #1f1f1f;
  --accent: #818cf8;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  transition: background 0.3s, color 0.3s;
}

.container {
  max-width: 800px;
  margin: auto;
  padding: 2rem;
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

header .highlight {
  color: var(--accent);
}

.card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: background 0.3s;
}
.pro {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: background 0.3s;
}
.blog {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: background 0.3s;
}

.card h2 {
  margin-top: 0;
  color: var(--accent);
}
.pro h2 {
  margin-top: 0;
  color: var(--accent);
}
.card a{
  color: red;
  font-weight: 500;
  text-decoration: none;

}
.card a:hover{
  color: green;
  text-decoration: underline;
}
.blog h2 {
  margin-top: 0;
  color: var(--accent);
}
.blog a{
  text-decoration: none;
}
.blog a:hover{
  color: green;
  text-decoration: underline;
  
}

ul {
  padding-left: 1.2rem;
}

.theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: var(--card-bg);
  border: none;
  border-radius: 50%;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  font-size: 1.2rem;
}

footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.7;
}
