/* Featured Post */
.featured {
  display: flex;
  flex-wrap: wrap;
  margin: 20px;
  background: #f1f8f3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.featured img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  flex: 1 1 50%;
}
.featured-content {
  flex: 1 1 50%;
  padding: 20px;
}
.featured-content h2 {
  margin-top: 0;
  color: #2e7d32;
}
.featured-content p {
  font-size: 1rem;
}
.read-more {
  display: inline-block;
  margin-top: 10px;
  color: #2e7d32;
  font-weight: bold;
  text-decoration: none;
}
.read-more:hover {
  text-decoration: underline;
}

/* Other posts list */
.posts {
  max-width: 900px;
  margin: 20px auto;
  padding: 0 15px;
}
.post {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.2s;
}
.post:hover {
  transform: scale(1.01);
}
.post img {
  width: 150px;
  height: 100%;
  object-fit: cover;
}
.post-content {
  padding: 15px;
}
.post-content h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #388e3c;
}
.post-content p {
  font-size: 0.9rem;
  margin: 8px 0;
}

/* Footer */
footer {
  background: #388e3c;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 20px;
}

/* Hero Section */
.hero {
  background: url('../images/logo.jpg') no-repeat center/cover;
  color: rgb(0, 0, 0);
  text-align: center;
  height: 100px;
  padding: 80px 20px;
  
}
.hero h1 {
  font-size: 2.5rem;
  margin: 0;
  background-color: #f1f8f37c;
}
.hero p {
  font-size: 1.2rem;
  margin-top: 0px;
  background-color: #f1f8f37c;
}

/* Blog Posts Grid */
.posts1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px;
}
.post1 {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s;
}
.post1:hover {
  transform: scale(1.02);
}
.post1 img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.post-content1 {
  padding: 15px;
}
.post-content1 h2 {
  margin: 0;
  font-size: 1.3rem;
  color: #2e7d32;
}
.post-content1 p {
  font-size: 0.95rem;
  margin: 10px 0;
}
.read-more {
  display: inline-block;
  margin-top: 5px;
  color: #2e7d32;
  text-decoration: none;
  font-weight: bold;
}
.read-more:hover {
  text-decoration: underline;
}

.post2 {
  display: flex;
  gap: 20px;
  padding: 20px;
  border-bottom: 1px solid #ddd;
  background: white;
  margin: 10px;
  border-radius: 12px;
  box-shadow: 0 3px 5px rgba(0,0,0,0.1);
}
.post2 img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}
.post-content2 h2 {
  margin: 0 0 10px;
  color: #1b5e20;
}
.post-content2 p {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}
.read-more {
  display: inline-block;
  padding: 10px 18px;
  margin-top: 10px;
  background: linear-gradient(135deg, #4cafef, #0077ff);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 119, 255, 0.2);
}

.read-more:hover {
  background: linear-gradient(135deg, #0077ff, #005ae0);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 90, 224, 0.3);
}

.big-card {
  width: 100%;
  margin-bottom: 20px;
}

.big-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.medium-card {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.26);
  overflow: hidden;
  transition: transform 0.2s;
}

.medium-card img {
  width: 40%;
  height: 150px;
  object-fit: cover;
}

.list-card {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.list-card h4 {
  margin: 0;
}