* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body,
html {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: "Open Sans";
}

.image-container {
  position: relative;
  width: 100%;
  /* margin: auto; */
}
.image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.overlay {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  text-align: center;
  width: 85%;
  height: auto;
  text-align: left;
}

.text-wrapper {
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.text-wrapper h1 {
  color: white;
  font-size: 65px;
  margin: 0;
  padding: 2px;
  width: 90%;
  margin-bottom: 50px;
}

.blog-detials {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
}

.blog-detials div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #fff;
}

.blog-detials img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.blog-wrapper {
  display: flex;
  align-items: flex-start;
}
.blogcontentleft {
  position: sticky;
  top: 80px;
  padding-left: 12px;
  width: 25%;
  height: auto;
  margin-bottom: 5rem;
  margin-left: 20px;
}
.spotify_block {
  padding-left: 24px;
  height: auto;
  width: 95%;
  position: relative;
  font-size: 12px;
  top: 0rem;
  margin-bottom: 5rem;
  color: black;
}
.spotify_block p {
  padding-left: 3px;
  height: auto;
  width: 100%;
  position: relative;
  font-size: 12px;
  /* top: 3rem; */
  margin-bottom: 0rem !important;
  color: black;
}
.spotify_block iframe{
  height: 100%;
  width: 90%;
  position: relative;
  top: 0rem;
  right: 0rem;
  margin-right: 20px;
  color: black;
}
@media (min-width: 320px) and (max-width: 767px) {
  .spotify_block p {
    top: 0rem !important;
  }
  .spotify_block iframe{
    height: 100%;
    width: 95%;
    position: static !important;
    top: 2rem !important;
    right: 0rem !important;
    margin-right: 20px;
    color: black;
  }
  .spotify_block {
    margin-bottom: 2rem !important;
  }
  }
.tableofcontents {
  margin-top: 10%;
  position: relative;
  padding-left: 24px;
}
.tableofcontents h5 {
  font-family: "Open Sans";
  font-size: 18px;
  font-weight: 700;
}
.progress-container {
  width: 6px;
  position: relative;
  margin-right: 16px;
  border-radius: 3px;
  height: 100%;
}
.progress-content {
  margin-left: 20px !important;
  margin-bottom: 40px;
}
.progress-content ul li {
  padding: 5px 0;
  width: 80%;
}
.progress-container {
  position: absolute;
  left: 30px;
  top: 46px; /* Adjust to align with list */
  width: 10px;
  height: calc(100% - 48px);
  background-color: #ddd;
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  width: 100%;
  height: 0%;
  background-color: #a1ba5a; /* Green progress */
  transition: height 0.3s ease;
}

.blogcontentright {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 50px;
  padding-bottom: 50px;
  box-sizing: border-box;
}
.blogcontentright div h2 {
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  color: #a1ba5a;
}
.blogcontentright div p {
  font-size: 18px;
  width: 90%;
  text-align: justify;
}
.blogcontentright div img {
  margin-bottom: 2rem;
}

/* Swiper slider */
.recommended-section {
  padding: 40px;
  background: #f7f7f7;
}

.section-title {
  font-size: 32px;
  margin-bottom: 20px;
  margin-left: 5rem;
}

.swiper {
  padding: 10px 0;
  margin-left: 5rem;
}

.card {
  background: white;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 300px;
}

.card img {
  width: 100%;
  height: auto;
  display: block;
}

.card-content {
  padding: 20px;
}

.card-content h4 {
  font-size: 17px !important;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ccc; /* thin underline */
}

.card-content p {
  font-size: 14px;
  color: #555;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  color: #8bc34a;
  font-weight: bold;
  text-decoration: none;
}

.swiper-slide {
  margin-right: 20px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  body,
html {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: "Open Sans";
}

  .image-container {
    position: relative; 
    /* margin: auto; */
  }

  .overlay {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    width: 95%;
    height: auto;
    padding: 8px 12px;
  }

  .text-wrapper h1 {
    font-size: 24px;
    margin-bottom: 20px;
    width: 100%;
  }

  .blog-detials {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin-top: 12px;
  }

  .blog-wrapper {
    flex-direction: column;
    justify-content: center;
  }

  .blogcontentleft {
    position: relative;
    width: 85%;
    top: 0;
    bottom: 2rem;
    padding-left: 0;
    margin: 0 auto 2rem auto; 
    text-align: left;
    align-items: center;
  }

  .spotify_block {
    padding-left: 0;
    top: 0;
    margin-bottom: 2rem;
  }

  .tableofcontents {
    padding-left: 0;
    margin-top: 2rem;
  }

  .progress-content {
    margin-left: 0;
  }

  .progress-container {
    display: none; /* Hide progress bar on small screens */
  }

  .blogcontentright {
    padding: 1rem 0;
    display: flex;
    justify-content: center; 
    text-align: center;
  }
  .blogcontentright > div {
    max-width: 800;
    padding: 16px;
  }
  .blogcontentright div h2 {
    font-size: 20px;
  }

  .blogcontentright div p {
    font-size: 16px;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: justify;
  }

  .recommended-section {
    padding: 20px 1rem;
  }

  .section-title {
    font-size: 24px;
    margin-left: 0;
  }

  .swiper {
    margin-left: 0;
  }

  .card {
    max-width: 100%;
  }

  .card-content {
    padding: 16px;
  }

  .card-content h3 {
    font-size: 16px;
  }

  .card-content p {
    font-size: 13px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body,
  html {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: "Open Sans";
  }

  .image-container {
    position: relative; 
    width: 100%;
    /* margin: auto; */
  }

  .overlay {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    width: 95%;
    height: auto;
    padding: 8px 12px;
  }

  .text-wrapper h1 {
    font-size: 45px;
    margin-bottom: 20px;
    width: 100%;
  }

  .blog-detials {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
  }

  .blog-wrapper {
    flex-direction: column;
    padding: 0 1rem;
  }

  .blogcontentleft {
    position: relative;
    width: 100%;
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 2rem;
  }

  .spotify_block {
    padding-left: 0;
    top: 0;
    margin-bottom: 2rem;
  }

  .tableofcontents {
    padding-left: 0;
    margin-top: 2rem;
  }

  .progress-content {
    margin-left: 0;
  }

  .progress-container {
    display: none; /* Hide progress bar on small screens */
  }

  .blogcontentright {
    padding: 1rem 0;
  }

  .blogcontentright div h2 {
    font-size: 20px;
  }

  .blogcontentright div p {
    font-size: 16px;
    width: 100%;
  }

  .recommended-section {
    padding: 20px 1rem;
  }

  .section-title {
    font-size: 24px;
    margin-left: 0;
  }

  .swiper {
    margin-left: 0;
  }

  .card {
    max-width: 100%;
  }

  .card-content {
    padding: 16px;
  }

  .card-content h3 {
    font-size: 16px;
  }

  .card-content p {
    font-size: 13px;
  }
}

/* Show desktop iframe style */
.iframe-desktop {
  display: block;
}

.iframe-mobile {
  display: none;
}
.iframe-tab {
  display: none;
}

@media (max-width: 1024px){
  .iframe-desktop {
    display: none;
  }
  
  .iframe-mobile {
    display: block;
  }
  .iframe-tab {
    display: none;
  }
}
@media (min-width: 1024px) and (max-width: 1335px) {

  .iframe-desktop {
    display: none;
  }
  .iframe-mobile {
    display: none;
  }
  .iframe-tab {
    display: block;
  }
}
