
main {
  background: var(--bg);
  padding: 2rem 0;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-around;
  align-items: start;
}

#section_blogs {
  width: 65%;
}

/* right side css */
#section_tags {
  position: sticky;
  right: 0;
  height: auto;
  width: 25%;
  padding: 2rem 3rem;
  border: 1px solid #d32f2f;
  border-radius: 1rem;
}

#setion_tags ul {
  width: 100%;
}

#section_tags ul li {
  list-style: none;
  margin: .5rem 0;
}

#section_tags ul li a {
  font-family: var(--normal_fonts);
  color: var(--subheading_color);
  text-decoration: none;
}





.main_heading {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: end;
}

.notes {
  width: 50%;
}

.notes .short_dips {
  /* font-family: var(--normal_fonts); */
  font-size: 1rem;
  padding-right: .5rem;
}

.main_heading .img {
  width: 50%;
  object-fit: cover;
  height: 50%;
  overflow: hidden;
}

.main_heading .img img {
  border-radius: 2rem;
  width: 100%;
  height: 100%;
}

.main_heading .img ul {
  display: flex;
  justify-content: start;
  gap: 1rem;
  align-items: center;
}

.main_heading .img ul li {
  list-style: none;
  font-family: var(--normal_fonts);
  /* background-color: rgb(91, 91, 231); */
  background-color: black;
  font-size: .7rem;
  padding: .2rem 2rem;
  /* border-radius: 1rem; */
  color: white;
}

.heading {
  text-align: left;
  font-size: 2rem;
  color: black;
  padding: 1rem 0;
}

/* why choose our course */
.choose_our_course {
  display: flex;
  justify-content: start;
  align-items: start;
  flex-direction: column;
  /* gap: .1rem; */
  margin: 1rem 0;
}

.choose_our_course ul li {
  list-style: none;
  /* font-family: var(--normal_fonts); */
  font-size: 1rem;
}

/* Benefits of the Course */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  /* margin-top: 20px; */
}

.box {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.testimonials {
  margin: 1rem;
}

.testimonials .quote {
  background: #fff;
  margin: 20px 0;
  padding: 20px;
  max-width: 600px;
  border-left: 5px solid #3b82f6;
  font-style: italic;
}

.cta{
  margin: 1rem 0;
}

.cta_btn {
  text-decoration: none;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  background: var(--btn_bg);
  color: white;
  font-size: 1rem;
  font-weight: 500;
  transition: transform 0.3s ease, background 0.2s linear;
}

.cta_btn:hover {
  background: black;
  transform: scale(1.03);
}

@media screen and (max-width:845px) {
  main{
    padding: 2rem;
    flex-direction: column;
  }

  #section_blogs{
    width: 100%;
  }

  #section_tags{
    margin: 1rem 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  #section_tags ul{
    display: flex;
    flex-wrap: wrap;
    justify-content:  center;
    align-items: center;
    gap: 1rem;
  }
}

@media screen and (max-width:720px) {
  .main_heading{
    flex-direction: column-reverse;
  }
  .notes{
    width: 100%;
  }

  .main_heading .img{
    width: 100%;
  }
  
}