/* Blog-specific styles */

/* Blog Header */
.blog-header {
  background: linear-gradient(135deg, rgba(148, 0, 211, 0.05) 0%, rgba(75, 4, 130, 0.08) 100%);
  padding: 120px 0 80px 0;
  position: relative;
  overflow: hidden;
}

.blog-section {
  background-color: #0b0f19;
  /* color: #fff; */
}

.blog-card {
  background: #111827;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
}

.blog-title {
  font-size: 1.25rem;
  /* color: #fff; */
  font-weight: 600;
  margin-bottom: 10px;
}

.blog-summary {
  /* color: #cbd5e1; */
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.read-more {
  /* color: #00ffff; */
  text-decoration: none;
  font-weight: 500;
}

.read-more:hover {
  text-decoration: underline;
}


.blog-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(148, 0, 211, 0.03) 0%, transparent 70%);
  animation: blogHeaderFloat 25s ease-in-out infinite;
  z-index: 0;
}

@keyframes blogHeaderFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-10px) rotate(1deg); }
  66% { transform: translateY(10px) rotate(-1deg); }
}

.blog-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.blog-breadcrumb {
  color: #CCC;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.blog-breadcrumb a {
  color: #6f42c1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-breadcrumb a:hover {
  color: #FFF;
}

.blog-breadcrumb i {
  margin: 0 8px;
  font-size: 0.7rem;
}

.blog-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(111, 66, 193, 1);
  color: #FFF;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 30px;
  border: 1px solid rgba(148, 0, 211, 0.4);
}

.blog-main-title {
  color: #FFF;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.blog-subtitle {
  color: #CCC;
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.blog-meta-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(111, 66, 193, 1);
}

.author-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.author-name {
  color: #FFF;
  font-weight: 600;
  margin-bottom: 2px;
}

.publish-date {
  color: #CCC;
  font-size: 0.9rem;
}

.blog-stats {
  display: flex;
  gap: 20px;
  color: #CCC;
  font-size: 0.9rem;
}

.blog-stats span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-stats i {
  color: #6f42c1;
}

/* Blog Content */
.blog-content {
  padding: 80px 0;
  background: #000;
}

.blog-article {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(111, 66, 193, 1);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
}

.blog-featured-image {
  margin-bottom: 40px;
  position: relative;
}

.blog-featured-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
}

.image-caption {
  text-align: center;
  font-style: italic;
  color: #CCC;
  margin-top: 10px;
  font-size: 0.9rem;
}

/* Table of Contents */
.table-of-contents {
  background: rgba(148, 0, 211, 0.05);
  border: 1px solid rgba(148, 0, 211, 0.2);
  border-radius: 15px;
  padding: 25px;
  margin: 40px 0;
}

.table-of-contents h3 {
  color: #6f42c1;
  font-size: 1.2rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.table-of-contents ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.table-of-contents li {
  margin-bottom: 8px;
}

.table-of-contents a {
  color: #CCC;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  padding: 5px 0;
}

.table-of-contents a:hover {
  color: #6f42c1;
}

/* Article Text */
.article-text {
  color: #FFF;
  line-height: 1.7;
}

.article-text h2 {
  color: #FFF;
  font-size: 2rem;
  font-weight: 700;
  margin: 50px 0 25px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-text h2 i {
  color: #6f42c1;
  font-size: 1.5rem;
}

.article-text h3 {
  color: #FFF;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 35px 0 20px 0;
}

.article-text h4 {
  color: #6f42c1;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 25px 0 15px 0;
}

.article-text h5 {
  color: #FFF;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 20px 0 10px 0;
}

.article-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.article-text ul, .article-text ol {
  margin-bottom: 20px;
  padding-left: 25px;
}

.article-text li {
  margin-bottom: 8px;
  color: #CCC;
}

/* Highlight Boxes */
.highlight-box {
  background: rgba(148, 0, 211, 0.1);
  border: 1px solid rgba(148, 0, 211, 0.3);
  border-left: 4px solid #6f42c1;
  border-radius: 10px;
  padding: 25px;
  margin: 30px 0;
}

.highlight-box h4 {
  color: #6f42c1;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Use Case Grid */
.use-case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin: 40px 0;
}

.use-case-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 0, 211, 0.2);
  border-radius: 15px;
  padding: 25px;
  transition: all 0.3s ease;
}

.use-case-card:hover {
  transform: translateY(-5px);
  border-color: rgba(148, 0, 211, 0.5);
  box-shadow: 0 10px 30px rgba(148, 0, 211, 0.2);
}

.use-case-icon {
  width: 50px;
  height: 50px;
  background: rgba(148, 0, 211, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.use-case-icon i {
  color: #6f42c1;
  font-size: 1.5rem;
}

.workflow-steps {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.step {
  background: rgba(148, 0, 211, 0.2);
  color: #FFF;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Capabilities Grid */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.capability-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 0, 211, 0.2);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.capability-card:hover {
  transform: translateY(-5px);
  border-color: rgba(148, 0, 211, 0.5);
}

.capability-icon {
  width: 60px;
  height: 60px;
  background: rgba(148, 0, 211, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.capability-icon i {
  color: #6f42c1;
  font-size: 1.8rem;
}

/* Architecture Diagram */
.architecture-diagram {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(148, 0, 211, 0.2);
  border-radius: 15px;
  padding: 30px;
  margin: 40px 0;
}

.architecture-diagram h5 {
  text-align: center;
  color: #6f42c1;
  margin-bottom: 30px;
}

.architecture-layers {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.layer {
  background: rgba(148, 0, 211, 0.05);
  border: 1px solid rgba(148, 0, 211, 0.2);
  border-radius: 10px;
  padding: 20px;
}

.layer-title {
  color: #6f42c1;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.layer-content {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.component {
  background: rgba(148, 0, 211, 0.2);
  color: #FFF;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
}

/* Application Cases */
.application-cases {
  margin: 40px 0;
}

.case-study {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(148, 0, 211, 0.2);
  border-radius: 15px;
  margin-bottom: 30px;
  overflow: hidden;
}

.case-header {
  background: rgba(148, 0, 211, 0.1);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.case-header i {
  color: #6f42c1;
  font-size: 1.5rem;
}

.case-header h4 {
  color: #FFF;
  margin: 0;
}

.case-content {
  padding: 25px;
}

.case-results {
  display: flex;
  gap: 30px;
  margin-top: 20px;
  justify-content: center;
}

.result-metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #6f42c1;
  margin-bottom: 5px;
}

.metric-label {
  font-size: 0.9rem;
  color: #CCC;
}

/* Implementation Phases */
.implementation-phases {
  margin: 40px 0;
}

.phase {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.phase-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #6f42c1, #4B0082);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.phase-content h4 {
  margin-bottom: 15px;
}

/* Challenges Grid */
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.challenge-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 0, 211, 0.2);
  border-radius: 15px;
  padding: 25px;
}

.challenge-card h5 {
  color: #6f42c1;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.challenge-content p {
  margin-bottom: 10px;
}

/* Timeline */
.roadmap-timeline {
  margin: 40px 0;
}

.timeline-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.timeline-date {
  background: linear-gradient(135deg, #6f42c1, #4B0082);
  color: #FFF;
  padding: 10px 15px;
  border-radius: 20px;
  font-weight: 600;
  min-width: 80px;
  text-align: center;
  flex-shrink: 0;
}

.timeline-content h5 {
  margin-bottom: 10px;
}

/* Code Blocks */
.code-block {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(148, 0, 211, 0.3);
  border-radius: 10px;
  padding: 25px;
  margin: 30px 0;
}

.code-block h5 {
  color: #6f42c1;
  margin-bottom: 15px;
}

/* Comparison Table */
.comparison-table {
  margin: 30px 0;
  overflow-x: auto;
}

.comparison-table table {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(148, 0, 211, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

.comparison-table th {
  background: rgba(148, 0, 211, 0.2);
  color: #FFF;
  padding: 15px;
  font-weight: 600;
}

.comparison-table td {
  color: #CCC;
  padding: 15px;
  border-bottom: 1px solid rgba(148, 0, 211, 0.1);
}

/* Workflow Example */
.workflow-example {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(148, 0, 211, 0.2);
  border-radius: 15px;
  padding: 25px;
  margin: 30px 0;
}

.workflow-visual {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.workflow-node {
  background: rgba(148, 0, 211, 0.2);
  border: 1px solid rgba(148, 0, 211, 0.4);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  min-width: 120px;
}

.workflow-node i {
  color: #6f42c1;
  font-size: 1.5rem;
  margin-bottom: 8px;
  display: block;
}

.workflow-arrow {
  color: #6f42c1;
  font-size: 1.5rem;
  font-weight: 700;
}

/* Tips Grid */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.tip-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 0, 211, 0.2);
  border-radius: 15px;
  padding: 25px;
}

.tip-card h5 {
  color: #6f42c1;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* CTA Section */
.cta-section {
  background: rgba(148, 0, 211, 0.1);
  border: 1px solid rgba(148, 0, 211, 0.3);
  border-radius: 20px;
  padding: 40px;
  margin: 50px 0;
  text-align: center;
}

.cta-content h3 {
  color: #FFF;
  font-size: 2rem;
  margin-bottom: 20px;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #CCC;
  font-weight: 500;
}

.service-item i {
  color: #6f42c1;
  font-size: 1.2rem;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-primary {
  background: linear-gradient(135deg, #6f42c1, #4B0082);
  color: #FFF;
  border: none;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(148, 0, 211, 0.4);
  color: #FFF;
}

.cta-secondary {
  background: transparent;
  color: #6f42c1;
  border: 2px solid #6f42c1;
}

.cta-secondary:hover {
  background: #6f42c1;
  color: #FFF;
}

/* Article Tags */
.article-tags {
  margin: 50px 0 30px 0;
  padding-top: 30px;
  border-top: 1px solid rgba(148, 0, 211, 0.2);
}

.article-tags h5 {
  color: #6f42c1;
  margin-bottom: 15px;
}

.tags-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  background: rgba(148, 0, 211, 0.2);
  color: #FFF;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag:hover {
  background: rgba(148, 0, 211, 0.4);
  color: #FFF;
}

/* Social Share */
.social-share {
  margin: 30px 0;
  padding-top: 30px;
  border-top: 1px solid rgba(148, 0, 211, 0.2);
}

.social-share h5 {
  color: #6f42c1;
  margin-bottom: 15px;
}

.share-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  color: #CCC;
  text-decoration: none;
  border-radius: 25px;
  border: 1px solid rgba(148, 0, 211, 0.2);
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.share-btn:hover {
  background: rgba(148, 0, 211, 0.2);
  color: #FFF;
  border-color: rgba(148, 0, 211, 0.5);
}

.share-btn.linkedin:hover { background: #0077B5; border-color: #0077B5; }
.share-btn.twitter:hover { background: #1DA1F2; border-color: #1DA1F2; }
.share-btn.facebook:hover { background: #4267B2; border-color: #4267B2; }

/* Sidebar */
.blog-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 0, 211, 0.2);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
}

.sidebar-widget h4 {
  color: #6f42c1;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.related-articles {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.related-article {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  transition: background 0.3s ease;
}

.related-article:hover {
  background: rgba(148, 0, 211, 0.1);
}

.related-article img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.article-info h6 {
  color: #FFF;
  margin-bottom: 5px;
  font-size: 0.9rem;
  line-height: 1.3;
}

.read-time {
  color: #CCC;
  font-size: 0.8rem;
}

/* Newsletter Widget */
.newsletter-widget {
  background: linear-gradient(135deg, rgba(148, 0, 211, 0.1), rgba(75, 4, 130, 0.1));
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.newsletter-form input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 0, 211, 0.3);
  border-radius: 8px;
  padding: 12px;
  color: #FFF;
  font-size: 0.9rem;
}

.newsletter-form input::placeholder {
  color: #CCC;
}

.newsletter-form button {
  background: linear-gradient(135deg, #6f42c1, #4B0082);
  color: #FFF;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(148, 0, 211, 0.4);
}

/* Contact Widget */
.contact-widget {
  text-align: center;
}

.contact-cta {
  display: block;
  width: fit-content;          /* shrink to its content width */
  margin: 15px auto 0;
  background: linear-gradient(135deg, #6f42c1, #4B0082);
  color: #FFF;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.contact-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(148, 0, 211, 0.4);
  color: #FFF;
}


/* Responsive Design */
@media (max-width: 992px) {
  .blog-main-title {
    font-size: 2.5rem;
  }
  
  .blog-meta-info {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .blog-article {
    padding: 30px;
  }
  
  .blog-sidebar {
    position: static;
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .blog-header {
    padding: 100px 0 60px 0;
  }
  
  .blog-main-title {
    font-size: 2rem;
  }
  
  .blog-subtitle {
    font-size: 1.1rem;
  }
  
  .blog-article {
    padding: 20px;
  }
  
  .blog-featured-image img {
    height: 250px;
  }
  
  .article-text h2 {
    font-size: 1.5rem;
  }
  
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  
  .challenges-grid {
    grid-template-columns: 1fr;
  }
  
  .case-results {
    flex-direction: column;
    gap: 15px;
  }
  
  .workflow-visual {
    flex-direction: column;
  }
  
  .workflow-arrow {
    transform: rotate(90deg);
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .services-list {
    grid-template-columns: 1fr;
  }
  
  .share-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .share-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .blog-header {
    padding: 80px 0 40px 0;
  }
  
  .blog-main-title {
    font-size: 1.8rem;
  }
  
  .blog-article {
    padding: 15px;
  }
  
  .table-of-contents {
    padding: 20px;
  }
  
  .cta-section {
    padding: 30px 20px;
  }
  
  .sidebar-widget {
    padding: 20px;
  }

  
  

}

