.blogs-hero-section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: relative;
}

.blogs-hero-left {
  display: flex;    
  max-width: 502px;
  flex-direction: column;
  padding-top: 152px;
  margin-bottom: 6rem;
  margin-left: 177px;
}

.blogs-hero-text {
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.blogs-hero-text p {
  width: 71%;
  font-family: "Raleway";
  font-style: normal;
  font-weight: 400;
  font-size: 21px;
  line-height: 27px;
  letter-spacing: 0.4px;
  color: #6d6488;
}

.blogs-hero-image {
  max-width: 720px;
  height: auto;
  padding-top: 64px;
  left: 40%;
  position: absolute;
}

.blogs-hero-text h1 {
  font-family: Rubik;
  font-size: 70px;
  font-weight: 500;
  line-height: 84px;
  text-align: left;
  color: #8056f6;
  margin: 0;
  padding: 0px;
  line-height: 105%;
  padding-right: 3rem;        
}

.blogs-hero-button:hover {
  color: white;
}
.blogs-hero-button {
  width: 233px;
  display: flex;
  flex-direction: row;
  height: 56px;
  padding: 15.15px 38.97px 15.15px 38.97px;
  gap: 4.33px;
  border-radius: 36px;
  font-family: Rubik;
  font-size: 21px;
  font-weight: 600;
  line-height: 25.98px;
  text-align: center;
  border: none;
  background-color: #8056f6;
  cursor: pointer;
  color: #f9f9f9;
  text-decoration: none;
}
a.card-button:hover {
  background-color: #5a43c3;
  text-decoration: none;
  color: white;
  transform: scale(1.1);
}

.blog-card-footer .profile-pic{
  width: 100% !important;
  height: 100% !important;
  object-fit: fill;
}

@media (max-width: 998px) {
  .blogs-hero-section {
    width: 100%;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
  }

  .blogs-hero-left {
    padding: 2rem;
    gap: 20px;
    margin: 0;
  }

  .blogs-hero-image {
    width: 100%;
    height: 450px;
    padding: 15px;
    position: static;
  }
  .blogs-hero-text h1 {
    margin: 0;
  }

  .blogs-hero-text p {
    margin: 0;
    width: 100%;
  }
}

@media (min-width: 1600px) {
  .blogs-hero-section {
    justify-content: center;
    gap: 64rem;
  }
 
  .blogs-hero-text p {
    width: 60%;
  }

  .blogs-hero-text h1{
    padding-right: 3rem;
  }

  .blogs-hero-image {
    left: 47%;
    max-width: 742px;
  }
}


.featured-section-area {
  height: 892px;
  background-color: #f6f8ff;
  margin-top: 2rem;
}

/* featured-section */

.featured-section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 58px;
  margin-left: 124px;
  padding-top: 200px;
  margin-right: 122px;
}

.featured-section p {
  font-family: Raleway;
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  letter-spacing: 0.4px;
  text-align: justify;
  color: #6d6488;
}
.featured-section-text {
  width: 493px;
  height: 475px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.featured-section-headings {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.featured-section-headings h4 {
  width: 488px;
  height: 200px;
  font-family: "Rubik";
  font-style: normal;
  font-weight: 600;
  font-size: 40px;
  line-height: 125%;
  color: #443476;
}

.featured-section-headings h6 {
  width: 493px;
  height: 30px;
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400;
  font-size: 28px;
  line-height: 105.95%;
  color: #8056f6;
}

.featured-section-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.featured-button {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px 26px;
  gap: 4px;
  width: 159px;
  height: 40px;
  border: 2px solid #8056f6;
  border-radius: 34px;
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  line-height: 10px;
  text-align: center;
  background-color: transparent;
  color: #8056f6;
  justify-content: center;
}

.featured-button:hover {
  background-color: #8056f6;
  color: white;
}

.featured-button:hover {
  background-color: #8056f6;
  color: white;
}


.featured-button,.blog-posts-button:hover svg path{
  fill: white;
}


@media (max-width: 998px) {
  .featured-section {
    flex-direction: column;
    margin: 10px;
    padding-top: 100px;
    padding-bottom: 100px;
    flex-direction: column-reverse;
  }

  .featured-section-area {
    width: 100%;
    height: auto;
  }

  .featured-section-text {
    width: 100%;
    height: auto;
  }

  .featured-section-headings h4 {
    width: 100%;
    height: auto;
    font-size: 30px;
  }

  .featured-section-headings h6 {
    font-size: 20px;
    width: 100%;
    height: auto;
  }
}

/* blog posts */

.blog-post-section {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 65px;
  margin-bottom: 50px;
  height: 650px;
}

.blog-post-section h2 {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 600;
  font-size: 40px;
  line-height: 125%;
  color: #443476;
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.blog-posts-row {
  display: flex;
  flex-wrap: wrap;
  gap: 43px;
}

.blog-post-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 369px;
  height: 450px;
}

.blog-post-card img{
  width: 100% !important;
  height: 280px !important;
  border-radius: 20px;
  object-fit: cover;
}

.blog-card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-card-content h3 {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 600;
  font-size: 28px;
  line-height: 35px;
  letter-spacing: 0.4px;
  color: #38266d;
  text-decoration: none;
}

.blog-paragraph {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 23px;
  letter-spacing: 0.4px;
  color: #38266d;
  text-decoration: none;
}

.blog-card-footer {
  display: flex;
  flex-direction: row;
  gap: 85px;
  width: 321px;
  height: 20px;
  text-decoration: none;

}

.blog-card-footer h6 {
  display: flex;
  gap: 20px;
  text-decoration: none;

}

.blog-post-section button {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  padding: 8px 26px;
  justify-content: center;
  gap: 4px;
  width: 158px;
  height: 40px;
  border: 2px solid #8056f6;
  border-radius: 34px;
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  text-align: center;
  color: #8056f6;
  margin: auto;
  background-color: transparent;
  text-decoration: none;

}

.blog-post-section button:hover {
  background-color: #8056f6;
  color: white;
}
.blog-post-card a{
  text-decoration: none;
}
@media (max-width: 998px) {
  .blog-post-section {
    margin: 60px 10px;
    height: auto;
  }

  .blog-post-section button {
    line-height: 10px;
  }

  .blog-post-section h2 {
    text-align: center;
    font-size: 35px;
  }

  .blogs-hero-text p{
    width: 100%;
    height: auto;
  }

  .blog-posts-row{
    gap: 100px;
  }
}



/* ..................................................................... */
/* Blog Post Page CSS */
/* ..................................................................... */

.blog-post-hero-section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: relative;
}

.blog-post-hero-left {
  display: flex;    
  max-width: 502px;
  flex-direction: column;
  padding-top: 152px;
  margin-bottom: 6rem;
  margin-left: 177px;
}


.blog-post-hero-image {
  max-width: 360px;
  height: auto;
  padding-top: 64px;
  left: 55%;
  position: absolute;
  object-fit: cover;
}

.blog-post-hero-left h1 {
font-family: 'Rubik';
font-style: normal;
font-weight: 500;
font-size: 55px;
line-height: 105%;
color: #8056F6;
max-width: 437px;
max-height: 347px;
}

@media (max-width: 998px) {
  .blog-post-hero-section {
    width: 100%;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
  }

  .blog-post-hero-left {
    padding: 2rem;
    gap: 20px;
    margin: 0;
  }

  .blog-post-hero-image {
    width: 100%;
    margin-left: 14px;
    position: static;
  }
  .blog-post-hero-left h1 {
    margin: 0;
    font-size: 48px;
  }

}

@media (min-width: 1600px) {
  .blog-post-hero-section {
    justify-content: center;
    gap: 64rem;
  }


  .blog-post-hero-left h1{
    padding-right: 3rem;
  }

  .blog-post-hero-image {
    left: 60%;
    max-width: 400px;
  }

  .blog-post-section-area{
    margin-top: 5rem;
  }
}
/* blog-content */

.blog-post-section-area {
  height: 1745px;
  background-color: #f6f8ff;
}

.blog-post-section-area-one{
  height: 1000px;
  background-color: #f6f8ff;
}
.blog-post-section-area-three{
  height: 2040px; 
  margin-top: 50px;
  background-color: #f6f8ff;

}

.post-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 1194px;
  height: 1019px;
  margin: auto;
  padding-top: 120px;
}

.post-content h3{
font-family: 'Rubik';
font-style: normal;
font-weight: 600;
font-size: 40px;
line-height: 125%;
color: #443476;
}

.post-content p{
font-family: 'Raleway';
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 23px;
text-align: justify;
letter-spacing: 0.4px;
color: #6D6488;
}

.blog-post-image-row{
  display: flex;
  justify-content: center;
  gap: 50px;
  /* padding-top: 100px;
  padding-bottom: 150px; */
}



@media (max-width: 998px) {

  .blog-post-section-area {
    height: 4025px;
  }
  .blog-post-section-area-one{
    height: 2100px; 
  }
  .blog-post-section-area-three{
    height: 3600px; 
  }

.post-content{
  padding: 90px 15px;
  width: 100%;
}

.blog-post-image-row{
  flex-direction: column;
}
.blog-post-image-row img{
  width: 100%;
}
}

@media (min-width:1600px) {
  .blog-post-section-area-one{
    height: 1000px;
    background-color: #f6f8ff;
  }
  .blog-post-section-area-three{
    height: 2050px; 
    background-color: #f6f8ff;
  }
  .post-content{
    margin-top: 75px;
  }
}
