.article-section {
  background-color: #f7f8fd;
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 6rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
  position: relative;
}

/* .section-header h2::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  background-color: #ffd109;
  margin: 15px auto 0;
  border-radius: 4px;
} */

.articles-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 0.5s ease;
}

/* .article-card:hover .card-image img {
  transform: scale(1.05);
} */

.card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  color: #292930;
  margin-bottom: 20px;
  line-height: 1.4;
}

.tool-info {
  display: flex;
  align-items: center;
  margin-top: auto;
  padding: 15px 0;
  border-top: 1px solid #eee;
}

.tool-icon {
  width: 50px;
  height: 50px;
  background: #f5f7fd;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.tool-icon img {
  width: 30px;
  height: 30px;
}

.tool-name {
  font-size: 18px;
  font-weight: 600;
  color: #5956e9;
}

.card-button {
  display: inline-block;
  background: #5956e9;
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  margin-top: 20px;
  text-align: center;
  border: none;
  cursor: pointer;
  width: fit-content;
}

.card-button:hover {
  background: #423ef3;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(89, 86, 233, 0.3);
}

.card-button i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.card-button:hover i {
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 992px) {
  /* .section-header h2 {
    font-size: 6rem;
  } */
}

@media (max-width: 768px) {
  /* .section-header h2 {
    font-size: 5.5rempx;
  } */

  .articles-container {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

@media (max-width: 480px) {
  /* .section-header h2 {
    font-size: 4rem;
  } */

  .card-title {
    font-size: 20px;
  }
}
