:root {
    --primary-color: #00a2e0;
    --secondary-color: #00a651;
    --text-light: #777777;
    --gray-color: #f9f9f9;
    --transition: all 0.3s ease;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.breadcrumbs {
    background-color: var(--gray-color);
    padding: 15px 0;
    margin-bottom: 30px;
}

.breadcrumbs ul {
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.breadcrumbs li:not(:last-child):after {
    content: '/';
    margin-left: 10px;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .breadcrumbs ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
        font-size: 0.8rem;
    }

    .breadcrumbs li:not(:last-child)::after {
        margin: 0 5px;
    }
}


:root {
    --primary-color: #00a2e0;
    --secondary-color: #00a651;
    --light-color: #ffffff;
    --text-light: #777777;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(12, 83, 111, 0.9), rgba(0, 166, 81, 0.9)), url(../images/hero-bg.jpg) no-repeat center center / cover;
    overflow: hidden;
    color: var(--light-color);
    /* padding-top: 80px; */
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.svg') repeat;
    opacity: 0.1;
}

.page-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 40px;
    right: 40px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.1;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .page-hero {
        height: 60vh;
        min-height: 350px;
        padding-top: 60px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .page-hero::before {
        width: 60px;
        height: 60px;
        top: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .page-hero h1 {
        font-size: 1.8rem;
    }

    .page-hero p {
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }
}




.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.blog-meta i {
  color: var(--primary-color);
}

.blog-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.blog-content h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: var(--text-color);
}

.blog-content p {
  margin-bottom: 20px;
  color: var(--text-color);
}

.blog-content ul,
.blog-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.blog-content li {
  margin-bottom: 10px;
}

.blog-content img {
  width: 100%;
  border-radius: var(--border-radius);
  margin: 30px 0;
}

.blog-share {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.blog-share h3 {
  margin-bottom: 20px;
}

.share-buttons {
  display: flex;
  gap: 15px;
}

.share-button {
  padding: 10px 20px;
  border-radius: 25px;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.share-button.twitter {
  background-color: #1da1f2;
}

.share-button.linkedin {
  background-color: #0077b5;
}

.share-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-posts {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.related-posts h3 {
  margin-bottom: 30px;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.resource-card {
  background: #fff;
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.resource-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-color);
  line-height: 1.4;
}

.resource-card p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.resource-card .resource-meta {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.resource-card .resource-meta i {
  color: var(--primary-color);
}

.resource-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Hero CTA Styles */
.hero-cta {
  margin-top: 30px;
}

.hero-cta .btn {
  padding: 15px 30px;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: white;
  color: var(--primary-color);
  border: 2px solid white;
  transition: all 0.3s ease;
}

.hero-cta .btn:hover {
  background-color: transparent;
  color: white;
  transform: translateY(-3px);
}

.hero-cta .btn i {
  font-size: 1.2em;
}

/* Blog Meta PDF Link */
.blog-meta a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-meta a:hover {
  color: var(--secondary-color);
}

/* PDF Generation Button Styles */
.pdf-actions {
  position: fixed;
  left: 30px;
  bottom: 30px;
  z-index: 100;
  display: flex;
  gap: 15px;
}

.generate-pdf {
  background: var(--primary-color);
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
  font-weight: 500;
}

.generate-pdf:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Print styles for PDF */
@media print {
  .pdf-actions,
  .blog-share,
  .related-posts {
    display: none !important;
  }

  .blog-post {
    padding: 0;
    margin: 0;
  }

  body {
    background: white;
  }

  .resource-header {
    padding: 40px 0;
    margin-bottom: 30px;
    page-break-after: avoid;
  }

  h1,
  h2,
  h3 {
    page-break-after: avoid;
  }

  table {
    page-break-inside: avoid;
  }

  p {
    orphans: 3;
    widows: 3;
  }
}

/* Table Styles */
.table {
  width: 100%;
  margin: 25px 0;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
}

.table th,
.table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
  font-size: 1rem;
}

.table tr:last-child td {
  border-bottom: none;
}

.table td {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-color);
}

.table tr:hover td {
  background-color: #f8f9fa;
}

/* Value Dimension column styling */
.table td:first-child {
  font-weight: 500;
  color: var(--primary-color);
}

/* Results column styling */
.table td:last-child {
  color: var(--text-color);
}

/* Key Insights Box Styles */
.key-insight {
  background: linear-gradient(to right, var(--primary-color-light), #fff);
  border-left: 4px solid var(--primary-color);
  padding: 20px 25px;
  margin: 30px 0;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.key-insight h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.key-insight h4 i {
  font-size: 1.1em;
}

.key-insight p {
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Section Header Improvements */
.blog-content section {
  margin: 60px 0;
}

.blog-content h2 {
  font-size: 2rem;
  margin: 50px 0 30px;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 15px;
}

.blog-content h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.blog-content h3 {
  font-size: 1.5rem;
  color: var(--text-color);
  margin: 35px 0 20px;
}

/* List Improvements */
.blog-content ul,
.blog-content ol {
  background: #f8f9fa;
  padding: 25px 40px;
  border-radius: var(--border-radius);
  margin: 25px 0;
}

.blog-content li {
  margin-bottom: 15px;
  line-height: 1.6;
}

.blog-content li strong {
  color: var(--primary-color);
}

/* Progress Indicator */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.reading-progress-bar {
  height: 100%;
  background: var(--primary-color);
  width: 0;
  transition: width 0.2s ease;
}

/* Quick Navigation */
.quick-nav {
  position: fixed;
  right: 30px;
  top: 40%;
  transform: translateY(-50%);
  background: white;
  padding: 15px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  display: none;
}

@media (min-width: 1400px) {
  .quick-nav {
    display: block;
  }
}

.quick-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-nav li {
  margin: 10px 0;
}

.quick-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.quick-nav a:hover {
  color: var(--primary-color);
}

.quick-nav a.active {
  color: var(--primary-color);
  font-weight: 500;
}

/* PDF Header Styles */
.pdf-header {
  display: none; /* Hidden by default, shown only in PDF */
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
  border-bottom: 2px solid var(--primary-color);
}

.pdf-header img {
  max-width: 200px;
  margin-bottom: 15px;
}

.pdf-header h1 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin: 10px 0;
}

@media print {
  .pdf-header {
    display: block !important;
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  /* Blog Post */
  .blog-post {
    padding: 30px 15px;
  }

  .blog-content h2 {
    font-size: 1.8rem;
    margin: 30px 0 15px;
  }

  .blog-content h2::after {
    width: 40px;
  }

  .blog-content h3 {
    font-size: 1.3rem;
    margin: 25px 0 15px;
  }

  .blog-content p,
  .blog-content ul,
  .blog-content ol {
    font-size: 0.9rem;
  }

  .blog-content ul,
  .blog-content ol {
    padding: 15px 20px;
  }

  .blog-content li {
    margin-bottom: 10px;
  }

  /* Blog Meta */
  .blog-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8rem;
  }

  /* Key Insight */
  .key-insight {
    padding: 15px 20px;
    margin: 20px 0;
  }

  .key-insight h4 {
    font-size: 1.1rem;
  }

  .key-insight p {
    font-size: 0.9rem;
  }

  /* Tables */
  .table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .table th,
  .table td {
    padding: 10px;
    font-size: 0.85rem;
  }

  /* Blog Share */
  .blog-share {
    margin-top: 40px;
    padding-top: 20px;
  }

  .share-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .share-button {
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  /* Related Posts */
  .related-posts {
    margin-top: 50px;
    padding-top: 30px;
  }

  .resource-card {
    padding: 20px;
  }

  .resource-card h3 {
    font-size: 1.3rem;
  }

  .resource-card p,
  .resource-card .resource-meta {
    font-size: 0.85rem;
  }

  .resource-card .btn {
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  /* PDF Actions */
  .pdf-actions {
    left: 15px;
    bottom: 15px;
  }

  .generate-pdf {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* Quick Navigation */
  .quick-nav {
    display: none;
  }
}

@media (max-width: 576px) {
  /* Blog Post */
  .blog-post {
    padding: 20px 10px;
  }

  .blog-content h2 {
    font-size: 1.5rem;
    margin: 25px 0 10px;
  }

  .blog-content h3 {
    font-size: 1.2rem;
    margin: 20px 0 10px;
  }

  .blog-content p,
  .blog-content ul,
  .blog-content ol {
    font-size: 0.8rem;
  }

  .blog-content ul,
  .blog-content ol {
    padding: 10px 15px;
  }

  /* Key Insight */
  .key-insight h4 {
    font-size: 1rem;
  }

  .key-insight p {
    font-size: 0.8rem;
  }

  /* Tables */
  .table th,
  .table td {
    padding: 8px;
    font-size: 0.8rem;
  }

  /* Blog Share */
  .share-button {
    font-size: 0.8rem;
  }

  /* Related Posts */
  .resource-card h3 {
    font-size: 1.2rem;
  }

  .resource-card p,
  .resource-card .resource-meta {
    font-size: 0.8rem;
  }

  /* PDF Actions */
  .generate-pdf {
    padding: 8px 15px;
    font-size: 0.8rem;
  }
}
