.features {
  background-color: white;
  margin-top: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-top: 50px;
}

.feature-item {
  background: var(--light);
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
}

.feature-item h3 {
  color: #000;
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 700;
}

.feature-item i {
  font-size: 30px;
  color: #ed1c24;
  margin-bottom: 20px;
  display: block;
}

.new-cst {
  margin: 50px 0px;
  background: transparent;
  padding: 0px 15px;
  margin-bottom: 25px;
  text-align: center;
}

.new-cst h2 {
  /* color: #ed1c24; */
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.111;
  color: #333;
}
.new-cst p {
  margin: 0px;
}

/* Blog */

.blog-page {
  padding: 50px;
}

.blog-page .section-title {
  font-family: "Poppins", sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.111;
  color: #333;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 0.5rem;
  display: inline-block;
}

.blog-page .section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 3px;
  background-color: #e01e1e;
}

.blog-page .section-description {
  color: #333;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.blog-card {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.blog-img {
  height: 275px;
  position: relative;
  overflow: hidden;
}

.blog-img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, rgba(255, 0, 0, 0.3), transparent);
}

.blog-card:hover .blog-img::after {
  height: 100%;
  background: linear-gradient(to top, rgba(255, 0, 0, 0.5), transparent);
}

.blog-content {
  padding: 25px;
}

.blog-category {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #e01e1e;
  color: white;
  padding: 8px 15px;
  line-height: normal;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 1px;
  z-index: 1;
}

.blog-content h3 {
  margin-bottom: 15px;
  font-size: 16px;
  color: #000;
  line-height: normal;
}

.blog-content p {
  color: #555;
  margin-bottom: 15px;
  font-size: 14px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: #e01e1e;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.read-more:hover {
  color: #000;
}

.read-more::after {
  content: "→";
  margin-left: 0.5rem;
  transition: transform 0.3s;
}

.read-more:hover::after {
  transform: translateX(5px);
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: cover;
}

/* Article page styles */
.article-page {
  padding: 50px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
  margin: 50px;
  overflow: hidden;
}

.article-header {
  padding: 0px;
  margin-bottom: 25px;
}

.article-category {
  display: inline-block;
  background-color: #e01e1e;
  color: white;
  padding: 8px 15px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: normal;
  line-height: normal;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(224, 30, 30, 0.3);
}

.article-title {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: normal;
}

.article-meta {
  display: flex;
  gap: 15px;
  color: #777;
  font-size: 0.9rem;
}

.article-meta span {
  font-size: 16px;
  line-height: normal;
  letter-spacing: normal;
  color: #555;
  font-weight: normal;
}

.article-featured-image {
  width: 100%;
  height: auto;
  margin-bottom: 40px;
  overflow: hidden;
  border-radius: 10px;
}

.article-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  padding: 0px;
}

.article-content p {
  font-size: 16px;
  line-height: normal;
  letter-spacing: normal;
  font-weight: normal;
}

.article-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 25px 0px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
  line-height: normal;
  letter-spacing: normal;
}

.article-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 15px;
  margin-bottom: 15px;
  color: #333;
  line-height: normal;
  letter-spacing: normal;
}

.article-content h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #444;
  line-height: normal;
  letter-spacing: normal;
}

.bellow-type {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 25px;
  border-left: 4px solid #e01e1e;
}

.bellow-best-for {
  display: inline-block;
  background-color: #f0f0f0;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 16px;
  margin-bottom: 15px;
  line-height: normal;
  letter-spacing: normal;
}

.article-content ul {
  padding-left: 15px;
}

.article-content ul li {
  font-size: 16px;
  line-height: normal;
  letter-spacing: normal;
  font-weight: normal;
  padding-bottom: 10px;
  color: #555;
}

.article-content ul li:last-child {
  margin-bottom: 0px;
  padding-bottom: 0px;
}

.use-case {
  background-color: #f5f5f5;
  padding: 25px;
  border-radius: 8px;
  margin: 25px 0;
}

.application-section {
  margin-bottom: 25px;
}

.application-section h3 {
  color: #e01e1e;
  margin-bottom: 10px;
}

.cta-section {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  margin: 40px 0;
  text-align: center;
  border: 1px solid #eee;
}

.cta-section h3 {
  margin-bottom: 15px;
}

.cta-button {
  display: inline-block;
  background-color: #e01e1e;
  color: white;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  margin-top: 0px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(224, 30, 30, 0.2);
}

.cta-button:hover {
  background-color: #c01818;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(224, 30, 30, 0.3);
}

.article-footer {
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid #eee;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.tag {
  background-color: #ed1c24;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 16px;
  line-height: normal;
  letter-spacing: normal;
  font-weight: normal;
  color: #fff;
}

.article-share {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.article-share span {
  margin-right: 15px;
  color: #000;
  font-size: 16px;
  line-height: normal;
  letter-spacing: normal;
  font-weight: 700;
}

.share-links {
  display: flex;
  gap: 15px;
  font-size: 16px;
  line-height: normal;
  letter-spacing: normal;
  font-weight: normal;
}

.share-link {
  color: #555;
  font-weight: 500;
}

.related-articles h3 {
  margin-bottom: 15px;
  font-size: 20px;
  line-height: normal;
  letter-spacing: normal;
  font-weight: 700;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.related-article {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  transition: all 0.3s;
}

.related-article:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

.related-article h4 {
  font-size: 16px;
  line-height: normal;
  letter-spacing: normal;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}

.related-article .read-more {
  font-size: 14px;
  line-height: normal;
  letter-spacing: normal;
  font-weight: normal;
  display: inline-flex;
  align-items: center;
}

.related-article .read-more::after {
  content: "→";
  margin-left: 5px;
  transition: transform 0.3s;
}

.related-article:hover .read-more::after {
  transform: translateX(5px);
}

@media only screen and (max-width: 768px) {
  .features {
    margin-bottom: 50px;
  }
  .features h2 {
    font-size: 25px;
  }
  .features-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .new-cst {
    padding: 0px 15px;
    text-align: left;
  }
  .blog-page {
    padding: 50px 15px;
  }
  .blog-list {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 25px;
  }
  .blog-img {
    height: 200px;
  }
  .blog-content {
    padding: 15px;
  }
  .article-page {
    padding: 25px 15px;
    margin: 50px 15px;
  }
  .article-header {
    padding: 0px;
  }
  .article-title {
    font-size: 2rem;
  }
  .article-featured-image {
    height: auto;
    margin-bottom: 25px;
  }
  .article-content {
    padding: 0px;
  }
  .bellow-type {
    padding: 15px;
  }
  .related-articles-grid {
    grid-template-columns: 1fr;
    grid-gap: 15px;
  }
  .cta-section {
    padding: 25px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .blog-page {
    padding: 50px 25px;
  }
  .blog-list {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 25px;
  }
  .blog-img {
    height: 205px;
  }
  .blog-content {
    padding: 15px;
  }
  .article-page {
    padding: 25px;
    margin: 50px 25px;
  }
  .article-header {
    padding: 0px;
  }
  .article-title {
    font-size: 2rem;
  }
  .article-featured-image {
    height: auto;
    margin-bottom: 25px;
  }
  .article-content {
    padding: 0px;
  }
  .bellow-type {
    padding: 25px;
  }
  .related-articles-grid {
    grid-template-columns: 1fr 1fr;
    grid-gap: 25px;
  }
  .cta-section {
    padding: 25px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .blog-page {
    padding: 50px 25px;
  }
  .blog-list {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 25px;
  }
  .blog-img {
    height: 275px;
  }
  .blog-content {
    padding: 25px;
  }
}

@media (min-width: 1200px) and (max-width: 1300px) {
}
