* {
  box-sizing: border-box;
  font-family: Poppins, sans-serif;
}

.blog-detail {
  max-width: 1200px;
  margin: auto;
  padding: 24px;
}

.back-link {
  text-decoration: none;
  color: #555;
  font-size: 16px;
}

.blog-title {
  font-size: 40px;
  margin: 24px 0 32px 0;
  font-weight: 500;
}

.blog-meta {
  color: #777;
  font-size: 14px;
}

.tag {
  border: 1px solid #E8E8E8;
  padding: 4px 10px;
  border-radius: 8px;
  margin-right: 8px;
  color: #252525;
}

.hero {
  display: flex;
  justify-content: center;
}

.hero img {
  height: 500px;
  width: auto;
  border-radius: 20px;
  margin: 32px 0 40px 0;
}

.blog-layout {
  display: flex;
  flex-direction: column;
}

/* TL;DR row */
.tldr-row {
  width: 100%;
}

/* Content + sidebar row */
.content-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
/* 
.blog-content h2 {
  margin-top: 32px;
} */

.blog-content p,
.blog-content li {
  line-height: 1.8;
  color: #333;
  margin-bottom: 15px;
}

.highlight {
  background: #EEFFF7;
  padding: 24px;
  margin-bottom: 40px;
  color: #067052;
  border-radius: 20px;
  font-size: 24px;
}
.highlight ul {
  margin: 12px 0 0 0;     
  padding-left: 20px;     
}

.highlight li {
  margin-bottom: 20px;
  color: #067052;
  font-size: 18px;
  line-height: 28px;
}

details {
  margin: 12px 0;
}

summary {
  cursor: pointer;
  font-weight: 500;
}

/* Sidebar */
/* Overview container */
.sidebar-box {
  border: none;                 /* SS2 has no visible box */
  padding: 0;
  margin-bottom: 32px;
}
.sidebar {
  position: sticky;
  top: 15px; /* adjust based on header height */
  align-self: flex-start;
}


/* Overview heading */
.sidebar-box h3 {
  font-size: 28px;              /* bigger like SS2 */
  font-weight: 500;
  color: #3f3f3f;
  margin-bottom: 24px;
}

/* Remove bullets */


/* First (active-looking) item */
.overview-links li:first-child a {
  color: #4a4a4a;               /* darker */
  font-weight: 500;
}

/* Hover (very subtle) */
.overview-links a:hover {
  color: #454545;
}
.overview a {
  display: block;
  text-decoration: none;
  color: #b0b0b0;
  font-size: 18px;
  margin-bottom: 18px;
  transition: color 0.2s ease;
}

.overview a:first-of-type {
  color: #4a4a4a;
  font-weight: 500;
}

.overview a:hover {
  color: #454545;
}
/* Card wrapper */
.demo-card {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.explore-nav {
  display: flex;
}

.explore-nav .nav-btn {
  margin-left: 20px;
}

.explore-nav .nav-btn:first-child {
  margin-left: 0;
}



/* Both faces */
.demo-face {
  padding: 28px 24px;
  border-radius: 16px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* NORMAL STATE */
.demo-normal {
  background: #f5f5f5;
  border: 1px solid #e3e3e3;
}

.demo-normal h4 {
  font-size: 22px;
  font-weight: 600;
  color: #02207F;
  margin-bottom: 10px;
}

.demo-normal p {
  font-size: 14px;
  color: #454545;
  line-height: 1.6;
  margin-bottom: 20px;
}

.explore-more h3{
  font-size: 32px ;
  font-weight: 500;
  margin-bottom: 26px;
}
/* HOVER STATE */
.demo-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(343deg, #02207f 8.75%, #2d51e1 91.25%);
  opacity: 0;
  pointer-events: none;
  padding: 28px 24px;
  border-radius: 16px;
}
.demo-hover h4 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #FFFFFF;
}
.demo-hover p {
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 20px;
}

/* Icon */
.demo-face .icon {
  font-size: 34px;
  margin-bottom: 10px;
}

/* Buttons */
.btn-outline {
    padding: 10px 18px;
    border-radius: 40px;
    border: none;
    background: #3054e5;
    color: #fff;
    cursor: pointer;
  }
.btn-hover {
    color: white;
}
.btn-white {
  background: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
}

/* Hover swap */
.demo-card:hover .demo-normal {
  opacity: 0;
}

.demo-card:hover .demo-hover {
  opacity: 1;
  pointer-events: auto;
}


.sidebar-box ul {
  padding-left: 18px;
}

.cta {
  background: #f5f8ff;
}

.btn-primary {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  margin-top: 12px;
}


.blog-content h2{
    font-size: 32px ;
    font-weight: 500;
    margin-bottom: 16px;
    color: #3054E5;

}

.blog-content p{
    margin-bottom: 10px ;
    font-size: 18px;
}
.blog-content h3{
    margin-bottom:  10px;
    font-size: 24px;
    font-weight: normal;
}
.faq-list details {
  padding: 18px 0;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 18px;
  font-weight: 500;
  color: #2f2f2f;
}

/* remove default arrow */
.faq-list summary::-webkit-details-marker {
  display: none;
}

/* icon container */
.faq-icon {
  position: relative;
  width: 24px;
  height: 24px;
}

/* show closed icon by default */
.icon-open {
  display: none;
}

/* when open → swap icons */
details[open] .icon-closed {
  display: none;
}

details[open] .icon-open {
  display: block;
}

/* answer text */
.faq-list p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.7;
  color: #4b4b4b;
  max-width: 90%;
}
.share-section {
  margin-top: 40px;
}

.share-text {
  font-size: 16px;
  font-weight: 500;
  color: #3f3f3f;
  margin-bottom: 16px;
}

.share-icons {
  display: flex;
  gap: 12px;
}

.share-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #eef2ff;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.share-icon:hover {
  background: #dbeafe;
}


/* Explore More */
.explore-more {
  margin-top: 60px;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.explore-card img {
  width: 100%;
  border-radius: 16px;
}

.explore-card p {
  font-size: 14px;
  margin-top: 8px;
}
.blog-content ul{
    padding-left: 20px;         
}

.demo-mobile {
  display: none;
}
.explore-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.explore-card {
  cursor: pointer;
}
.table-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #111;
}

.explore-more {
  margin-top: 60px;
}

.explore-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.explore-wrapper {
  display: flex;
  gap: 20px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.explore-card {
  min-width: calc(33.333% - 14px); /* ONLY 3 visible */
  cursor: pointer;
}

.explore-card img {
  width: 100%;
  border-radius: 16px;
}

.explore-card p {
  font-size: 14px;
  margin-top: 8px;
}

/* arrows */
.explore-nav {
  display: flex;
  gap: 10px;
}

.nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #e8efff;
  cursor: pointer;
  font-size: 16px;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
}

.spec-table thead th {
  text-align: left;
  font-weight: 500;
  padding: 12px 16px;
  border-bottom: 2px solid #000;
}

.spec-table tbody td {
  padding: 10px 16px;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}

.spec-table tbody tr:last-child td {
  border-bottom: none;
}

.spec-table th:first-child,
.spec-table td:first-child {
  font-weight: 500;
  width: 35%;
}

.spec-table th:nth-child(2),
.spec-table td:nth-child(2),
.spec-table th:nth-child(3),
.spec-table td:nth-child(3) {
  width: 32.5%;
}

@media (max-width: 425px) {
  .spec-table th,
  .spec-table td {
    font-size: 12px;
    padding: 8px 6px;
  }
}

@media (max-width: 1024px) {
  .content-row {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }
  .hero img {
  margin: 32px 0 28px 0;
  width: 100%;
  height: 100%;
}
}
/* Mobile */
@media (max-width: 768px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .explore-grid {
    grid-template-columns: 1fr;
  }

  .blog-title {
    font-size: 20px;
  }
  .blog-meta {
    color: #777;
    font-size: 12px;
  }
  .hero img {
  margin: 24px 0 36px 0;
  width: 100%;
  height: 100%;
}
.highlight li {
    font-size: 14px;
    margin-bottom: 20px;
}
.highlight {
    font-size: 16px ;
    margin-bottom: 36px;

}
.blog-content h2{
    font-size: 20px;
}
.blog-content p{
    font-size:14px;
}
.blog-content h3{
    font-size: 16px;
}
}
/* Desktop only */
@media (max-width: 1024px) {
  .sidebar {
    display: none;
  }
}

.sidebar {
  width: 90%;
}

/* Overview */
.overview h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #353535;
}

.overview p {
  font-size: 14px;
  color: #959595;
  cursor: pointer;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.overview p:hover {
  color: #454545;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-overlay.show {
  display: flex;
}

/* DEMO MODAL */
.modal-box {
  background: #fff;
  width: 95%;
  max-width: 800px;
  padding: 28px;
  border-radius: 24px;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 20px;
  border: none;
  background: none;
  cursor: pointer;
}

.modal-title {
  font-size: 24px;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 14px;
  color: #555;
  margin-bottom: 28px;
}

/* FORM */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border-radius: 10px;
  border: 1.5px solid #366ccc4d;
  outline: none;
}

.form-group.full {
  margin-top: 20px;
}

.form-group textarea {
  min-height: 110px;
  resize: none;
}

.error {
  color: red;
  font-size: 12px;
  margin-top: 4px;
}

/* SUBMIT */
.submit-btn {
  background: #003cc8;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 999px;
  margin-top: 20px;
  float: right;
  cursor: pointer;
}

/* SUCCESS POPUP */
.success-box {
  background: #fff;
  width: 90%;
  max-width: 420px;
  padding: 28px;
  border-radius: 18px;
  position: relative;
  text-align: left;
}

.success-box h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.success-box p {
  font-size: 14px;
  color: #333;
}

/* MOBILE */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .submit-btn {
    float: left;
  }
}


@media (max-width: 1024px) {
  .demo-mobile {
    display: block;
  }
  .demo-mobile {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e3e3e3;
    margin-top: 24px;
  }

  .demo-mobile h4 {
    font-size: 20px;
    font-weight: 600;
    margin: 12px 0;
  }

  .demo-mobile p {
    font-size: 14px;
    color: #454545;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .demo-mobile .btn-outline {
    padding: 10px 18px;
    border-radius: 40px;
    border: none;
    background: #3054e5;
    color: #fff;
    cursor: pointer;
  }
   .demo-mobile .icon svg {
    display: block;
  }
  .demo-mobile .icon svg {
  display: block;
  width: 52px;
  height: 52px;
}

}

@media (max-width: 768px) {
  /* hide arrows on mobile */
  .explore-nav {
    display: none;
  }

  /* stack cards vertically */
  .explore-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .explore-card {
    min-width: 100%;
  }
}
