/* Articles Section Styling */
#articles {
  text-align: center;
}
#articles h3{
  text-align: left;
}
  
/* Container */
.articles-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Title */
#articles h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 2px solid #fff;
  display: inline-block;
  padding-bottom: 5px;
}

/* Description */
#articles p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #ccc;
}

/* Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Article Box */
.article-box {
  background: #111;
  padding: 20px;
  border: 2px solid #fff;
  border-radius: 5px;
  text-align: left;
  transition: background 0.3s ease, transform 0.3s ease;
}

.article-box:hover {
  background: #222;
  transform: translateY(-5px);
}

/* Article Title */
.article-box h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #fff;
}

/* Article Description */
.article-box p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 15px;
}

/* Article Footer - Read More + Date */
.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.article-footer .read-more {
  color: #fff;
  background: #333;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.article-footer .read-more:hover {
  background: #ffffff;
  transform: scale(1.05);
  color: #111;
}

.article-footer .article-date {
  font-size: 0.9rem;
  color: #999;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  #articles h2 {
    font-size: 2rem;
  }

  #articles p {
    font-size: 1rem;
  }

  .article-box h3 {
    font-size: 1.5rem;
  }

  .article-box p {
    font-size: 0.9rem;
  }

  .article-footer .read-more {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  .article-footer .article-date {
    font-size: 0.8rem;
  }
}
