* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #f4f6f8;
  color: #333;
}

header {
  text-align: center;
  padding: 2rem 1rem;
}

header h1 { 
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

header p {
  color: #666;
}

.blog-container {
  max-width: 1100px;
  margin: auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-content {
  padding: 1rem;
}

.blog-content h3 {
  margin-bottom: 0.5rem;
}

.blog-content a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.blog-content a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 1.5rem;
  color: #777;
}


body {
  min-height: 100vh;
  color: #333;
  background: linear-gradient(
    -45deg,
    #1d2671,
    #c33764,
    #00c6ff,
    #0072ff
  );
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.background {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  top: 0;
  left: 0;
}

.background span {
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(0, 123, 255, 0.15);
  border-radius: 50%;
  animation: float 20s infinite linear;
}

.background span:nth-child(1) {
  top: 10%;
  left: 10%;
  animation-duration: 18s;
}

.background span:nth-child(2) {
  top: 50%;
  left: 70%;
  animation-duration: 25s;
  background: rgba(255, 0, 150, 0.15);
}

.background span:nth-child(3) {
  top: 80%;
  left: 30%;
  animation-duration: 22s;
  background: rgba(0, 255, 200, 0.15);
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-80px) translateX(60px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}
.blog-card {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
}
