.banner {
  width: 100%;
  height: 500PX;
}

.banner_main2 {
  position: relative; /* Needed for ::before overlay to position correctly */
  background-image: url('../IMG/Slider/bLOGSLIDE1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%; /* Full viewport height */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Prevent scrollbars from pseudo-element */
  z-index: 0;
}

.banner_main2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 background: linear-gradient(0deg, rgb(145, 219, 255) -17%, rgba(255, 255, 255, 0) 17%);
  /* z-index: 1; */
}


.baneer_cont2 {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    left: 0;
    right: 0;
    bottom: 35%;
    padding: 0 12vw;
    transform: translateY(35%);
    z-index: 10;
    font-family: "linotype-didot";
    max-width: 60vw;
}

.baneer_cont2 h1 {
    font-size: 3.25rem;
    line-height: 3.75rem;
}

.baneer_cont2 p{
        font-family: "Barlow Condensed", sans-serif;
  margin-bottom: 1rem;
  line-height: 2rem;
  font-size: 22px;
}

.blog_cont{
    width: 1210px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  gap: 100px;
  margin: 65px auto;
}

.blog_img{
    width: 516px;
  height: 344px;
  border-radius: 9px;
  overflow: hidden;
}

.blog_img img{
    width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog_text{
    width: 530px;
    
}
.blog_text h2{
   font-family: "linotype-didot";
  font-weight: bold;
  font-size: 35px;
  color: #1e1e1e !important;
  line-height: 3rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: left;
}

.blog_text p{
   text-align: justify;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.5;
  color: #545454;
  font-family: "Barlow Condensed", sans-serif;
  max-width: 800px;
}

.blog_text button{
    padding: 14px 22px;
  background: #f4f4f4;
  border: 1px solid black;
  border-radius: 50px;
  font-size: 1.125rem;
  transition: all .1s ease-in-out;
  transform: scale(1);
}

.blog_text button:hover{
    background: white;
    transform: scale(1.02);
}

@media (max-width: 1200px) {
  .blog2{
    flex-direction: column-reverse;
  }

  .blog1{
    flex-direction: column;
  }

  .blog_cont {
    /* flex-direction: column; */
    gap: 50px;
    width: 90%;
  }

  
  .blog_img,
  .blog_text {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .banner {
    height: auto;
  }

  .baneer_cont2 {
    bottom: 25%;
    padding: 0 8vw;
    transform: translateY(25%);
    max-width: 90vw;
  }

  .baneer_cont2 h1 {
    font-size: 2rem;
    line-height: 2.5rem;
  }

  .baneer_cont2 p {
    font-size: 18px;
    line-height: 1.8rem;
  }

  .blog_text h2 {
    font-size: 35px;
    margin-top: 10px;
   
  }

  .blog_text p {
    font-size: 20px;
    
  }

  .blog_text button {
    font-size: 1rem;
    padding: 12px 20px;
  }

  .blog_img {
    height: auto;
    aspect-ratio: 4/3;
  }

   .blog_cont {
    /* flex-direction: column; */
    gap: 0;
    width: 90%;
  }
}

@media (max-width: 480px) {
  .baneer_cont2 h1 {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .baneer_cont2 p {
    font-size: 16px;
    line-height: 1.5rem;
  }

 


  .blog_text button {
    font-size: 1rem;
    padding: 10px 18px;
  }

  .blog_img {
    border-radius: 6px;
  }
}
