* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f4f7fb;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgb(11, 4, 97);
  padding: 12px 20px;
  position: sticky;
  top: 0px;
  z-index: 1000;
  height: 70px;
}

header img {
  height: 80px;
}

.back-btn {
  position: absolute;
  right: 20px;
  top: 20px;
  background: white;
  color: #0a2a4a;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: bold;
}

.blog-container {
  width: 90%;
  max-width: 1100px;
  margin: 40px auto;

  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(300px, 1fr));

  gap: 10px;
}

.blog-card {
  background: rgb(234, 114, 114);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
}

.blog-content h2 {
  margin-bottom: 15px;
  color: #0a2a4a;
}

.blog-content p {
  margin-bottom: 15px;
  color: #555;
}

.read-btn {
  background: #0d6efd;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
}

.hidden-content {
  display: none;
  margin-top: 20px;
}

.hidden-content.show {
  display: block;
}

.hidden-content ul {
  padding-left: 20px;
  line-height: 2;
}

/* BLOG PAGE STYLES */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f7fb;
  color: #222;
}

/* Blog container */
.blog-container {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}

/* Blog title */
.blog-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 20px;
  color: #1a1a1a;
}

/* Blog card layout */
.blog-card {
  background: #f7f5f5;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
  width: 100%;
}

.blog-card:hover {
  transform: translateY(-3px);
}

/* Blog image */
.blog-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 5px;
}

/* Blog heading */
.blog-card h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

/* Blog text */
.blog-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

/* Read more button */
.read-more {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
}

.read-more:hover {
  background: #0056b3;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .blog-title {
    font-size: 24px;
  }

  .blog-card {
    padding: 5px;

  }

  .blog-card h2 {
    font-size: 18px;
  }

  .blog-container {
    width: 100%;
  }

}