/* ===== BLOG PAGE DESIGN ===== */

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

/* CARD STYLE */
.trend-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: 0.3s;
  border-left: 4px solid transparent;
}

.trend-card:hover {
  transform: translateY(-6px);
  border-left: 4px solid #6c3bff;
  box-shadow: 0 15px 45px rgba(108,59,255,0.15);
}

.trend-number {
  font-size: 22px;
  font-weight: 700;
  color: #6c3bff;
  min-width: 50px;
}

.trend-content h3 {
  margin: 0;
  font-size: 20px;
  color: #111;
}

/* 🔥 KEY INSIGHT BOX (THIS IS WHAT WAS MISSING) */
.highlight {
  margin: 10px 0;
  padding: 10px 14px;
  background: #f5f0ff;
  border-left: 3px solid #6c3bff;
  border-radius: 8px;
  font-size: 14px;
  color: #444;
}

/* TEXT */
.trend-content p {
  margin-top: 10px;
  color: #555;
  line-height: 1.8;
  font-size: 15px;
}



.blog-hero {
  padding: 100px 20px 60px;
  text-align: center;
  background: linear-gradient(135deg, #6c3bff, #9b6bff);
  color: #fff;
}

.blog-hero h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.blog-hero p {
  max-width: 700px;
  margin: auto;
  opacity: 0.9;
}

.blog-container {
  max-width: 850px;
  margin: auto;
  padding: 50px 20px;
}

.section-title {
  text-align: center;
  font-size: 30px;
  margin-bottom: 10px;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #6c3bff;
  margin: 10px auto 0;
  border-radius: 2px;
}

.blog-content {
  line-height: 1.8;
  color: #444;
  font-size: 16px;
}

.blog-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.blog-content h3 {
  margin-top: 30px;
  color: #6c3bff;
}

.blog-content h3::before {
  content: "✔ ";
}

.blog-content p {
  margin: 10px 0;
}

.blog-card {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* CTA */
.blog-cta {
  margin-top: 40px;
  padding: 30px;
  text-align: center;
  background: #f4f0ff;
  border-radius: 10px;
}

.blog-cta h3 {
  margin-bottom: 10px;
}

.blog-cta a {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 20px;
  background: #6c3bff;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}

/* Responsive */
@media(max-width:768px){
  .blog-hero h1 {
    font-size: 30px;
  }
}

/* ===== INSIGHTS SECTION ===== */
.blog-insights {
  margin-top: 60px;
  text-align: center;
}

.insight-title{
  font-size: 28px;
  margin-bottom: 30px;
}

.insight-boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.insight-box {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.insight-box:hover {
  transform: translateY(-5px);
}

.insight-box h4 {
  font-size: 24px;
  color: #6c3bff;
}

.graph-section {
  margin: 50px 0;
}

.graph-section canvas {
  max-width: 100%;
  height: 300px;
}

/* GRAPH CENTER FIX */
.graph-section {
  text-align: center;
  margin: 60px 0;
}

.graph-wrapper {
  width: 100%;
  max-width: 500px;   /* controls size */
  margin: 0 auto;     /* centers horizontally */
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.graph-wrapper canvas {
  width: 100% !important;
  height: 250px !important; /* smaller height */
}

/* IMAGE GRID */
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.image-grid img {
  width: 100%;
  border-radius: 10px;
  transition: 0.3s;
}

.image-grid img:hover {
  transform: scale(1.05);
}

/* MOBILE */
@media(max-width:768px){
  .insight-boxes {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-grid {
    grid-template-columns: 1fr;
  }
}

.blog-filters {
  margin-bottom: 25px;
}

.blog-filters button {
  margin: 5px;
  padding: 8px 15px;
  border: none;
  background: #eee;
  border-radius: 20px;
  cursor: pointer;
}

.blog-filters .active {
  background: #6c3bff;
  color: #fff;
}


/* CARD */
.blog-card {
  min-width: 280px;
  max-width: 280px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  flex-shrink: 0;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: #fff;
  padding: 8px;
}

.blog-card-content {
  padding: 15px;
}

.blog-meta {
  font-size: 12px;
  color: #888;
  margin-bottom: 5px;
}

/* CONTROLS */
/* FILTER BUTTONS */
.blog-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 18px;
  border-radius: 30px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: #f3f0ff;
  border-color: #6c3bff;
  color: #6c3bff;
}

.filter-btn.active {
  background: #6c3bff;
  color: #fff;
  border-color: #6A4ED9;
  box-shadow: 0 5px 15px rgba(108,59,255,0.3);
}

/* WRAPPER */
.blog-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* NAV BUTTONS (FLOATING STYLE) */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  cursor: pointer;
  font-size: 18px;
  z-index: 10;
  transition: all 0.3s ease;
}

/* LEFT & RIGHT POSITION */
.nav-btn.prev {
  left: -20px;
}

.nav-btn.next {
  right: -20px;
}

/* HOVER EFFECT */
.nav-btn:hover {
  background: #6A4ED9;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

/* SLIDER FIX */
.blog-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
}

/* LOAD MORE BUTTON (PREMIUM CTA STYLE) */
.load-more {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 25px;
}

.load-btn {
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(135deg, #6c3bff, #6A4ED9);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(108,59,255,0.3);
}

/* MOBILE FIX */
@media(max-width:768px){
  .nav-btn {
    display: none; /* hide arrows on mobile (better UX) */
  }
}

/* READ MORE LINK */
.read-btn {
  display: inline-block;
  margin-top: 10px;
  color: #6A4ED9;
  font-weight: 500;
  text-decoration: none;
}



  .marketing-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: Arial, sans-serif;
    font-size: 16px;
  }

  .marketing-comparison-table th,
  .marketing-comparison-table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
  }

  /* Center align table headers */
  .marketing-comparison-table th {
    background-color: #f4f6f8;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
  }

  .marketing-comparison-table td {
    text-align: left;
    vertical-align: middle;
  }

  .marketing-comparison-table tr:nth-child(even) {
    background-color: #fafafa;
  }

  .marketing-comparison-table tr:hover {
    background-color: #f1f1f1;
  }

  /* ===== BLOG LIST STYLING ===== */
.blog-content ul {
  list-style: none;
  padding-left: 0;
  margin: 15px 0 25px;
}

.blog-content ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* Custom bullet (modern accent dot) */
.blog-content ul li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  color: #6A4ED9; /* change to your brand color */
  font-size: 14px;
  line-height: 1.6;
}

/* Optional hover effect for better UI feel */
.blog-content ul li:hover {
  color: #000;
  transform: translateX(3px);
  transition: all 0.2s ease-in-out;
}

/* Strong emphasis inside list */
.blog-content ul li strong {
  color: #111;
}




/* SEPARATE */

.intro-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 25px 30px;
  margin-bottom: 30px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  font-family: Arial, sans-serif;
  color: #444;
  line-height: 1.7;
  position: relative;
  border-left: 6px solid #3F7AD9;
}

.intro-label {
  font-size: 13px;
  font-weight: bold;
  color: #3F7AD9;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.intro-box p {
  margin: 0;
}

.intro-box strong {
  color: #3F7AD9;
}

#blogContainer {
  scroll-behavior: smooth;
}

.nav-btn.prev { left: 5px; }
.nav-btn.next { right: 5px; }

.blog-slider::-webkit-scrollbar {
  display: none;
}
