/* Blog Page Styles */
body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  margin: 0;
  padding: 0;
}

/* Header Section */
.blog-header {
  text-align: center;
  padding: 40px 20px;
  background: #004080;
  color: #fff;
}

.blog-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.blog-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Blog Cards Grid */
#blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.read-more-btn {
    background-color: #3b82f6;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.read-more-btn:hover {
    background-color: #2563eb;
}

/* Individual Blog Card */
.blog-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s;
}

.blog-card h3 {
  margin: 15px;
  color: #004080;
}

.blog-card p {
  margin: 0 15px 15px 15px;
  color: #555;
  flex-grow: 1;
}

.blog-card span {
  margin: 0 15px 15px 15px;
  font-size: 0.8rem;
  color: #999;
}

/* Hover Effects */
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.blog-card:hover img {
  transform: scale(1.05);
}

@media(max-width:768px){
  .blog-header h1 { font-size: 2rem; }
  .blog-header p { font-size: 1rem; }
}
