@media only screen and (min-width: 1200px) and (max-width: 1399px) {

  /* about trust */
  .team-item img {
    height: 290px !important;
  }

  .about_area_page .swami_image {
    height: 480px !important;
  }

  .new_team .fream {
    left: -44px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {

  /* about trust */
  .team-item img {
    height: 240px !important;
  }

  .team-item h5 {
    font-size: 14px;
  }

  .team-item .team-text {
    padding: 10px;
  }

  .about_area_page .swami_image {
    height: 500px !important;
    padding-top: 50px;
    padding-right: 35px !important;
  }

  .about_area_page .sec_img {
    width: 150px !important;
    height: 150px !important;
  }

  .about_area_page h1 {
    font-size: 35px;
  }

  .causes-item img {
    height: 230px;
  }

  .new_team .fream {
    top: -43px;
  }

  .member_details h5 {
    font-size: 16px;
  }
}

@media only screen and (max-width: 991px) {
  .event_detail_img img {
    height: 450px;
  }

  .event_left_part h2 {
    font-size: 28px;
  }

  .event_right_part {
    margin-top: 20px;
  }

  .page-header {
    padding-top: 6rem;
    padding-bottom: 0rem;
    height: 300px;
  }

  .event_detail_img img {
    height: 450px;
  }

  /* home  */

  .carousel-item img {
    height: 600px !important;
  }

  .res_gallery {
    display: flex;
    width: 100%;
    gap: 25px;
  }

  .res_gallery .gallery_img {
    flex: 1 1 100%;
    /* Make each gallery image take full width */
  }

  .new_team .fream {
    left: -7px;
  }
}

@media only screen and (max-width: 767px) {
  .event_detail_img img {
    height: 300px;
  }

  .event_left_part h2 {
    font-size: 20px;
  }

  .event_left_part p {
    font-size: 14px;
  }

  .event_right_part h2 {
    font-size: 20px;
  }

  /* about */


  .team-item h5,
  .team-item p {
    font-size: 14px;
  }

  .about_area_page .swami_image {
    padding-top: 35px !important;
    padding-right: 35px !important;
  }

  .about_area_page h1 {
    font-size: 30px;
  }

  .all_title {
    font-size: 30px;
    margin-bottom: 30px;
  }

  .all_title1 {
    font-size: 30px !important;
  }

  .blog_details .main_image {
    height: 450px;
  }

  .blog_left p {
    font-size: 14px;
  }

  .blog_left h3 {
    font-size: 30px;
  }

  .carousel-item h1 {
    font-size: 35px;
  }

  .carousel-item p {
    font-size: 18px;
  }

  .causes-item p {
    font-size: 13px;
    margin-bottom: 0;
  }

  .causes-item h5 {
    font-size: 16px;
  }

  .causes-item img {
    height: 170px;
  }

  .single_image img {
    height: 490px;
  }

  .image_gallery_area .gallery_img img {
    height: 230px;
  }
}

@media only screen and (max-width: 575px) {
  .page-header {
    padding-top: 6rem;
    height: 250px;
  }

  .latest_blog img {
    height: 200px !important;
  }

  .latest_blog .card-title {
    font-size: 16px;
  }

  .latest_blog .card-text {
    font-size: 14px;
  }

  .blog_details .main_image {
    height: 400px;
  }

  .blog_left h3 {
    font-size: 25px;
  }

  .causes-item h5 {
    font-size: 20px;
  }

  .causes-item p {
    font-size: 17px;
    margin-bottom: 0;
  }

  .causes-item img {
    height: 300px;
  }

  .res_gallery1 {
    display: flex;
    width: 100%;
    gap: 25px;
  }

  .res_gallery1 .gallery_img {
    flex: 1 1 100%;
    /* Make each gallery image take full width */
  }


}

@media only screen and (max-width: 500px) {

  /* about */
  .team-item img {
    height: 260px !important;
  }

  .about_area_page .swami_image {
    height: 410px !important;
  }

  .about_area_page .sec_img {
    width: 150px !important;
    height: 150px !important;
  }

  .all_title {
    font-size: 25px;
  }

  .latest_blog img {
    height: 150px !important;
  }

  .donation_box p {
    font-size: 14px;
  }
}

@media only screen and (max-width: 450px) {

  /* about */
  .team-item img {
    height: 220px !important;
  }

  .team-item h5 {
    font-size: 12px;
  }

  .about_area_page .swami_image {
    height: 370px !important;
  }

  .blog_list .col-6 {
    width: 100% !important;
  }

  .latest_blog img {
    height: 250px !important;
  }

  .gallery-container .col-6 {
    width: 100% !important;
  }

  .blog_left h3 {
    font-size: 20px;
  }

  .carousel-item img {
    height: 450px !important;
  }

  .carousel-item h1 {
    font-size: 25px;
  }

  .carousel-item p {
    font-size: 16px;
  }

  .res_gallery1,
  .res_gallery {
    flex-direction: column;
    gap: 0;
  }

  .single_image img {
    height: 350px;
  }
}

@media only screen and (max-width: 425px) {
  .blog_details .main_image {
    height: 350px;
  }

  .new_team .fream {
    display: none;
  }
}

@media only screen and (max-width: 400px) {
  .event_detail_img img {
    height: 230px;
  }

  .event_left_part h2 {
    font-size: 20px;
  }

  .event_right_part ul li {
    gap: 15px;
  }

  .event_right_part .text p {
    font-size: 14px;
  }

  .event_right_part ul i {
    font-size: 20px;
  }

  /* about */
  .team-item img {
    height: 180px !important;
  }

  .page-header {
    padding-top: 5rem;
    height: 200px;
  }

  .about_area_page .swami_image {
    height: 325px !important;
  }

  .about_area_page .sec_img {
    width: 120px !important;
    height: 120px !important;
  }

  .about_area_page h1 {
    font-size: 25px;
  }

  .donation_box h5 {
    font-size: 18px;
    text-align: center;
  }

  .recent_post h6 {
    font-size: 14px;
  }

  .recent_post img {
    width: 70px;
    height: 70px;
  }

  .causes-item img {
    height: 250px;
  }
}

@media only screen and (max-width: 375px) {
  .all_title {
    font-size: 20px;
  }

  .all_title1 {
    font-size: 25px !important;
  }

  .blog_details .main_image {
    height: 300px;
  }
}

@media only screen and (max-width: 350px) {
  /* about */

  .team_area .col-6 {
    width: 100% !important;
  }

  .team-item img {
    height: 350px !important;
  }

  .team-item h5 {
    font-size: 15px;
  }

  .about_area_page .sec_img {
    width: 100px !important;
    height: 100px !important;
  }

  .about_area_page .swami_image {
    height: 280px !important;
  }

  .latest_blog img {
    height: 215px !important;
  }
}