.blog-banner{
    width: 100%;
    height: 500px;
    overflow: hidden;
}
.blog-banner-img{
    width: 100%;
    height: 100%;
}
.blog-banner-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

b{
  font-weight: 500;
}

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");


body {
  margin: 0;
  /* color: #333; */
  background-color: black;
  font-family: "Outfit", sans-serif;
    
}

:root {
  --selection-color: #3685b6;
  --primary-color: #2b65f5;
  --linear-gradient: linear-gradient(45deg, #162ba2, #060c2c);
}
::selection {
  background-color: var(--primary-color);
  color: white;
}

.main-container{
  display: flex;
  justify-content: center;
  align-items: start;
}

.blog-section {
    
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  
}
.blog-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #fff;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.blog-card {
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
}
.blog-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-content {
  padding: 20px;
}
.blog-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1e1e1e;
}
.blog-description {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}
.read-more {
  display: inline-block;
  margin-top: 15px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}
.read-more:hover {
  color: #23519f;
}

.single-blog-post>p{
  /* background-color: red; */
  font-size: 1.2rem;
  font-weight: 200;
  
}


@media (max-width: 500px) {
  .blog-section h2 {
    font-size: 2rem;
  }
  .blog-card .blog-content {
    padding: 15px;
  }
}

.single-blog-post>h1{
    margin: 20px 0;
}

.single-blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background-color: rgb(0, 0, 0);
  color: #e9e9e9;
  line-height: 30px;
}

.single-blog-post img {
  width: 100%;
  margin: 1rem 0;
}

.single-blog-post a {
  display: inline-block;
  color: #0077cc;
  text-decoration: none;
}

.breadcrumbs-back a{
  display: inline-block;
  margin-top: 2rem;
  color: #586AC6;
  font-weight: 600;
  text-decoration: none;
}

.breadcrumbs-back a:hover {
  color: #e0e0e0;
}


.breadcrumbs-back span{
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}


.blog-main-container {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 2rem;
  max-width: 1300px;
  margin: auto;
}

/* Table of Contents */
.blog-toc {
  flex: 0 0 280px;
  background: #111;
  padding: 1rem;
  border-radius: 8px;
  position: sticky;
  top: 100px;
  max-height: 70vh;
  overflow-y: auto;
  border: 1px solid #333;
  color: #fff;
}
.blog-toc h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #2b65f5;
}
.blog-toc ul {
  list-style: none;
  padding-left: 0;
}
.blog-toc li {
  margin-bottom: 10px;
}
.blog-toc a {
  color: #ccc;
  font-size: 0.95rem;
  text-decoration: none;
}
.blog-toc a:hover {
  color: var(--primary-color);
}
.blog-toc li.indent {
  margin-left: 15px;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .blog-main-container {
    flex-direction: column;
  }
  .blog-toc {
    position: relative;
    max-height: none;
    margin-bottom: 2rem;
  }
}


.comparison-table {
  display: grid;
  border: 1px solid #ccc;
  border-collapse: collapse;
  width: 100%;
}

.table-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #ccc;
}

.table-row:last-child {
  border-bottom: none;
}

.table-cell {
  padding: 12px;
  border-right: 1px solid #ccc;
  font-size: 14px;
}

.table-cell:last-child {
  border-right: none;
}

.table-header {
  background: var(--primary-color);
  color: white;
  font-weight: bold;
  text-align: left;
}

/* ✅ Responsive for tablets */
@media (max-width: 992px) {
  .table-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .table-header {
    display: none; /* hide main header */
  }
  .table-row {
    border: 1px solid #ccc;
    margin-bottom: 10px;
  }
  .table-cell {
    border-right: none;
    border-bottom: 1px solid #eee;
  }
}

/* ✅ Responsive for mobile */
@media (max-width: 600px) {
  .table-row {
    grid-template-columns: 1fr;
  }
  .table-cell {
    border-bottom: 1px solid #eee;
    padding: 8px;
  }
  .table-cell:last-child {
    border-bottom: none;
  }
}


.cta-button-wrap {
  margin-top: 2rem;
  text-align: center;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color); /* Use your theme color */
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-family: "Outfit", sans-serif;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  background-color: #1c47d1; /* Slightly darker on hover */
}

.author-pic{
    border-radius: 50px;
}

.author-container{
    display: flex;
    gap: 30px;
    border-radius: 20px;
    padding: 20px;
    margin: 20px 0;
    background-color: #2B65F5;
}

.author-bio>p> a {
  display: inline-block;
  margin-top: 2rem;
  color: #000000;
  text-decoration: none;
  border-bottom: 1px solid rgb(232, 232, 232);
}

.author-bio,h3,h4,p{
  color: #fff;
}

ul,li{
    font-size: 1.2rem;
    color: rgb(255, 255, 255);
    font-weight: 200;
}

.share-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 5px 20px;
  background-color: #111;
  border-radius: 8px;
  margin-top: 2rem;
  color: white;
  font-size: 1.1rem;
}

/* Text block */
.share-container p {
  flex: 1 1 300px;
  margin: 0;
}

/* Share icons */
.share-icons {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
}

.share-icons a{
    margin: unset !important;
}

.share-icons a img {
  height: 35px;
  width: 35px;
  border-radius: 20%;
  padding: 6px;
  transition: 0.3s;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.share-icons a img:hover {
  transform: scale(1.1);
  background: var(--primary-color); /* Optional primary color */
}

@media (max-width: 600px) {
  .share-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .share-icons {
    justify-content: flex-start;
  }
}

