/* Features Section (Farmitra style) */
.features {
    padding: 60px 0;
    background: #f8fafc;
}


.post-layout {
  display: flex;
  gap: 40px;
}

.post-main {
  flex: 3;
}

.post-sidebar {
  flex: 1;
}

.post-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.post-meta {
  color: #888;
  margin-bottom: 20px;
}

.post-image img {
  width: 100%;
  border-radius: 12px;
  margin: 20px 0;
}

.sidebar-widget {
  background: #111827;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  color: white;
}

.sidebar-widget a {
  color: #22d3ee;
  text-decoration: none;
}

.sidebar-widget a:hover {
  text-decoration: underline;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 40, 80, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 112, 243, 0.1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 112, 243, 0.15);
    border-color: #0070f3;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: #0a2e5c;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-card p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Update Hero to match */
.hero {
    background: linear-gradient(135deg, #0a2e5c 0%, #1b4a8b 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #ffd966;
    display: block;
    font-size: 2rem;
    margin-top: 10px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.95;
}

/* Recent Posts heading */
.recent-posts h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #0a2e5c;
    margin-bottom: 40px;
}

.recent-posts h2 span {
    color: #0070f3;
}

/* Post cards new style */
.post-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eef2f6;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,112,243,0.1);
}

.post-category {
    background: #e6f0ff;
    color: #0070f3;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}

.post-content h3 a {
    color: #0a2e5c;
    text-decoration: none;
}

.post-content h3 a:hover {
    color: #0070f3;
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero h1 span {
        font-size: 1.5rem;
    }
}