* {
  font-family: "Segoe UI", sans-serif;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #1e1e1e, #3a3a3a);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  padding: 10px;
  border-radius: 0 0 10px 10px;
  animation: fadeSlideDown 0.8s ease;
}

.nav img {
  height: 40px;
  margin-left: 20px;
  border-radius: 10px;
}

.nav .quicklinks {
  display: flex;
  justify-content: right;
  gap: 20px;
  margin-right: 20px;
}

.nav a {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 20px;
  transition: 0.5s;
}

.nav a:hover {
  background-color: rgb(211, 211, 211);
  color: black;
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  text-align: center;
  margin-top: 40px;
  color: white;
  text-shadow: 2px 2px 4px #1e1e1e;
  font-size: 2.5rem;
}

.blog-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px;
}

.blog-card {
  background: rgba(255, 255, 255, 0.05);
  margin: 20px;
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-card .content {
  padding: 10px 20px;
}
.blog-card h2 {
  margin: 5xpx 10px;
  color: white;
}

.blog-card p {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.blog-card a {
  display: inline-block;
  margin: 10px;
  color: white;
}
.blog-card a:hover {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
}
.blog-card a {
  margin-top: 20px;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  background: #9b59b6;
  animation: pulse 2s infinite;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(155, 89, 182, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(155, 89, 182, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(155, 89, 182, 0);
  }
}

.blog-card a:hover {
  background: #8e44ad;
  box-shadow: 0 6px 20px rgba(0, 86, 179, 0.5);
}

footer {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 24px 60px 16px;
  box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.5);
  border-radius: 20px 20px 0 0;
  margin-top: auto;
  animation: fadeSlideUp 0.8s ease;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.7);
}
