.academy-section {
  background-position: top left;
  background-attachment: fixed;
}
.title-ourblog {
  text-align: center;
  position: relative;
  top: 165px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.title-ourblog h2 {
  color: var(--color-b);
  font-family: var(--font-family);
  font-size: 52px;
  font-weight: 700;
  line-height: 78px;
  margin: 0;
}
@media (max-width:768px) {
  .title-ourblog h2 {
    font-size: 25px;
    line-height: 40px;
  }
}
.title-ourblog span {
  color: var(--color-one);
  font-family: var(--font-family);

}
.quote {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  align-items: center;
}
.quote h6 {
  color: var(--color-b);
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: 600;
  line-height: 32px;
  margin: 0;
}
.quote span {
  color: 454b4f;
  font-family: var(--font-family);

}
.title-element h4 {
  color: var(--color-b);
  font-family: var(--font-family);
  font-size: 40px;
  font-weight: 700;
  line-height: 60px;
  margin: 0;
}
.tags {
  padding: 64px 40px 64px 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tags span {
  color: #000;
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: 600;
  line-height: 32px;
}
.button-tags {
  display: flex;
  flex-direction: column;
  /* gap: 8px; */
}
.button-tags-one,
.button-tags-three {
  display: flex;
  flex-wrap: wrap;
  /* gap: 8px; */
}
.button-tags button {
  border-radius: 8px;
  border: 1px solid var(--color-grey);
  background: var(--background-color);
  padding: 8px 10px;
  color: var(--color);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  margin-bottom: 10px;
}
@media (max-width:768px) {
  .button-tags button {
    font-size: 12px;
    padding: 8px 6px;
    margin-inline-end: 2px;
}
}
.button-one,
.button-two {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  /* gap: 8px; */
}
/* Blog Details */
.hero-section-blog {
  background-image: url(../images/blog.png);
  background-repeat: no-repeat;
  background-size: cover;
  height: 625px;
}
.ourblog-details {
  position: relative;
  top: 192px;
  /* left: 275px; */
  width: 964px;
  margin: auto;
}
.ourblog-details h2 {
  color: var(--color-b);
  font-family: var(--font-family);
  font-size: 52px;
  font-weight: 700;
  margin: 0;
  line-height: 78px;
}
@media (max-width:768px) {
  .ourblog-details h2 {
    font-size: 26px;
    line-height: 40px;
  }
}
.title-ourblog-details {
  display: flex;
  gap: 24px;
  align-items: center;
}
.title-ourblog-details h6 {
  color: var(--color-one);
  font-family: var(--font-family);
  font-weight: 600;
  line-height: 24px;
  margin: 0;
}
.title-ourblog-details span {
  color: var(--color-one);
  font-family: var(--font-family);

}
.content-blog {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.item p {
  width: auto;
  padding: 0;
  text-align: left;

}
.para-one-blog p{
  margin-bottom: 10px;
}
.section1 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-carousel-one {
  position: relative;
  margin-top: -200px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.img-content-blog {
  text-align: center;
}
.img-content-blog img{
  width: 100%;
}
@media (max-width:768px) {
  .content-blog{
    width: 100%;
  }
  .img-content-blog img{
    width: 300px ;
  }
  .content-blog img{
    max-width: 100% !important;
  }
}
.owl-item.active {
  margin-right: 0;
}
.section-carousel {
  background-image: url(../images/Clip\ path\ group.webp);
  background-repeat: no-repeat;
  background-position: left top;
  background-attachment: fixed;
}
.custom-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  width: 964px;
  padding: 16px 0;
  border-top: 1px solid var(--color-grey);
  border-bottom: 1px solid var(--color-grey);
}
.card {
  background-color: transparent;
}
button.custom-prev-btn,
button.custom-next-btn {
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid var(--color-grey);
  background: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color);
}
button.custom-prev-btn span,
button.custom-next-btn span {
  color: var(--color);
  font-family: var(--font-family);
  font-weight: 600;
  line-height: 24px;

}
.title-blog h5 {
  color: var(--color-b);
  font-family: var(--font-family);
  font-size: 32px;
  font-weight: 700;
  line-height: 48px;
  margin: 0;
}
.blog-section {
  padding: 0 0;
  margin-top:50px;
}
@media (max-width:768px) {
  .blog-section {
    margin-top:20px;
  }
}
section.section-group-courses-one {
  padding: 64px 0;
}
section.section-group-courses-one h5 {
  color: var(--color-b);
  font-family: var(--font-family);
  font-size: 32px;
  font-weight: 700;
  line-height: 48px;
  margin: 0;
  padding-bottom: 24px;
}
@media (max-width:768px) {
  .title-blog{
    padding-bottom: 0;
  }
  .title-blog h5{
    margin: 0 auto;
  }
  section.section-group-courses-one h5 {
    font-size: 24px;
    line-height: 30px;
    padding-bottom: 0;
    margin-top: 40px;
    text-align: center;

  }
}
div#card-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 64px 100px 0 64px;
}
.publications h4 {
  margin: 0;
  color: var(--color-b);
  font-family: var(--font-family);
  font-size: 40px;
  font-weight: 700;
  line-height: 60px;
}
.img-blog img {
  width: 100%;
  height: 100%;
}
.content-our-blog {
  display: flex;
  flex-direction: column;
  gap: 24px;
  cursor: pointer;
}
/* .title-our-blog {

} */
.one-column-blog{
  margin-bottom: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: .5s;
  overflow: hidden;
}
.one-column-blog .info-blog-card{
padding:10px 20px;
text-align: left;
}
.one-column-blog .info-blog-card p,.one-column-blog .info-blog-card h4{
  text-align: left;
  font-size: 16px;
  margin-bottom: 5px;
  color: #666666;
  }
@media (min-width: 768px) {
  .one-column-blog{
   display: flex;
  }
  .one-column-blog .img-blog{
    width: 40%;
  }
  .one-column-blog .info-blog-card{
    width: 60%;
  }
  }
.one-column-blog:hover{
  border: 1px solid #0b3953;
}
.title-our-blog h5 {
  margin: 0;
  color: var(--color-b);
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 48px;
  border-bottom: 2px solid transparent;
  margin-top: 0;
}
.one-column-blog h2{
  font-size: 18px;
  color: #0b3954;
  font-weight: 501;
}
@media (max-width:768px) {
  .title-our-blog h5 {
    font-size: 18px;
    line-height: 30px;
  }
}
.content-our-blog:hover .title-our-blog {
  color: var(--color);
  border-bottom: 2px solid var(--color);
}
.offer-blog {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
}
.offer-blog span {
  color: var(--color-one);
  font-family: var(--font-family);
  font-weight: 600;
}
.offer-blog small {
  color: var(--color-one);
  font-family: var(--font-family);

}
.text-content-blog P {
  color: var(--color-one);
  font-family: var(--font-family);

  margin: 0;
}
.pagination {
  justify-content: center;
  padding: 64px 100px 64px 64px;
  margin: 0;
}
.pagination li {
  margin: 0 4px;
  cursor: pointer;
  padding: 8px;
  background-color: var(--color-white);
  border: 1px solid var(--color-grey);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-b);
  font-family: var(--font-family);
  font-weight: 600;
  line-height: 24px;

  transition: 0.3s;
}
.pagination li.active,
.pagination li:hover {
  background-color: var(--color);
  color: var(--color-white);
  border-color: var(--color);
}
.pagination li:hover i.fa-solid.fa-chevron-left,
.pagination li:hover i.fa-solid.fa-chevron-right {
  color: var(--color-white);
}
i.fa-solid.fa-chevron-right,
i.fa-solid.fa-chevron-left {
  font-size: 14px;
  color: var(--color-b);
  display: block;
  padding: 0px;
}
button.custom-prev-btn:hover,
button.custom-next-btn:hover {
  background-color: #e1e4e6;
}
button.owl-next i.fa-solid.fa-chevron-right,
button.owl-prev i.fa-solid.fa-chevron-left {
  font-size: 24px;
}
@media (min-width: 1000px) {
  .button-tags-one,
  .button-tags-three {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .button-tags button {
    width: 80%;
  }
}
@media (min-width: 1000px) {
.button-tags-two{
  margin: 20px 0;
}
}
@media (max-width: 1000px) {
  .button-tags-one,
  .button-tags-three {
    flex-direction: column;
  }
  .button-tags button {
    width: 80%;
  }
  .button-tags-two,
  .button-tags-four {
    text-align: left;
  }
}
@media (max-width: 1200px) {
  .tags {
    padding: 64px 35px 64px 35px;
  }
  .item {
    width: auto;
  }
}
@media (max-width: 1100px) {
  .tags {
    padding: 64px 0px 64px 15px;
  }
}
@media (max-width: 992px) {
  .ourblog-details {
    width: max-content;
    margin: unset;
  }
  .custom-nav {
    margin: auto 0;
    width: auto;
  }
}
@media (min-width: 1000px) {
  div#card-container {
    padding: 64px 100px 0 40px;
  }
}
@media (max-width: 1000px) {
  div#card-container {
    padding: 64px 64px 0 64px;
  }
}
@media (max-width: 768px) {

  .tags span {
    text-align: left;
  }
  .tags {
    flex-direction: column;
    padding: 64px 0px 0 15px;
  }
}
@media (max-width: 767px) {
  .button-one,
  .button-two,
  .button-tags-one,
  .button-tags-three {
    flex-direction: row;
  }
  .button-tags button {
    width: auto;
  }
}
@media (max-width: 575px) {
  .hero-section {
    background-image: url(../images/services\ mobile.webp);
  }
  .tags {
    padding: 48px 0;
  }
  div#card-container {
    padding: 48px 16px 0 16px;
  }
  div#card-container {
    gap: 64px;
  }
  .pagination {
    padding: 64px 16px 48px 16px;
  }
  .title-element h4 {
    font-size: 22px;
  }
  #footer-section-one {
    padding: 0 16px;
  }
  .hero-section-blog {
    background-image: url(../images/Hero\ Section\ contact.png);
    height: 400px;
  }
  .section-carousel {
    background-image: none;
  }
  .ourblog-details {
    width: auto;
  }
  .ourblog-details {
    top: 180px;
  }
  .section-carousel-one {
    margin-top: 0;
    padding: 0;
  }
  .title-ourblog-details {
    justify-content: center;
  }
  .blog-section,
  section.section-group-courses-one {
    height: auto;
    padding: 10px 0;
  }
  .section-group-courses-one{
    margin-top: -80px;
  }
  #custom-nav-desktop {
    display: none;
  }
  #custom-nav-mobile {
    display: flex !important;
  }
}


@media (max-width: 406px) {
  #custom-nav-mobile {
    gap: 10px;
  }
}
@media (min-width: 768px) {
  .container-post{
    margin: 0 90px;
  }
}

@media (max-width: 768px) {
  .container-post{
    margin: 0 20px;
  }
}
