/* header */
.scroll-up {
  bottom: 7.5%;
  right: 2.5%;
}
.header .header-top {
  padding: 0.5% 0;
}
.header .header-top .logo-menu .logo img,
.header .header-section .logo img,
.side_bar .logo img,
.footer__item .logo img {
  max-width: 200px;
}
.header-wrapper .main-menu li a {
  padding: 20px 10px;
}
.banner-five__content {
  padding: 100px 0;
}
.achievement__item span {
  font-size: 24px;
  line-height: 40px;
}
.testimonial__item-head {
  padding: 15px 30px;
}
.testimonial__item.sub-bg {
    background-color: var(--sub-bg);
}
.footer__item-blog img {
  max-width: 100px;
}

@media screen and (max-width: 991px) {
  .pt-90 {
    padding-top: 70px;
  }
  .pb-65 {
    padding-bottom: 45px;
  }
  .section-header h5 { 
    font-size: 14px;
  }
  .section-header p {
    margin-top: 15px;
  }
  .header-wrapper .main-menu li a {
    padding: 10px 10px;
  }
  .header-wrapper .main-menu .btn-one-white span {
    color: var(--heading-color) !important;
  }
  .header-wrapper .main-menu .btn-one-white i {
    display: none;
  }
  .service-inner__content h3 {
    min-height: auto !important;
  }
  .team__item h3 {
    margin-bottom: 0%;
  }
  .blog__item-left-content h3,
  .blog__slider .btn-one {
    margin-top: 10px !important;
  }
  .blog__item-left-content p {
    margin-top: 10px;
    margin-bottom: 20px;
  }
  .help-area__item .accordion .accordion-item {
    margin-bottom: 15px;
  }
  .help-area__item .accordion .accordion-item h2 button {
    line-height: 26px;
    padding: 10px 15px;
  }
  .help-area__item .accordion .accordion-item .accordion-body {
    padding: 10px 15px;
  }
}
@media screen and (max-width: 575px) {
  .pt-90 {
    padding-top: 50px;
  }
  .pb-65 {
    padding-bottom: 25px;
  }
  .section-header h5 {
    letter-spacing: -0.5px;
  }
  .section-header h2 { 
    font-size: 24px;
    line-height: 30px;
  }
  .blog__slider .swiper-slide .row {
    flex-direction: column-reverse;
  }
  .event-two__content {
    padding: 15px;
  }
  .event-two__content h3 {
    font-size: 20px;
    line-height: 26px;
  }
  .footer__copyright p {
    font-size: 14px;
  }
}

.section-header h5 {
  padding-bottom: 10px;
}
.side_bar {
  background-color: #fff6e3;
}
.side_bar .info li {
  font-size: 14px;
}
.side_bar .info li :hover {
  color: #e68a00;
}
.our-programs .animal__item {
  border: 1px solid black;
}

.work-five__item h3 {
  font-size: 22px;
}
.work-five__item{
  border-radius: 6px;
}

.work-five__item p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-single__left-item p {
  text-transform: none !important ;
}
.involve-two__item {
  text-transform: none !important ;
}

.help-area__item .accordion .accordion-item h2 button {
  font-size: 17px !important;
}
.vision-mission .work-five__item p {
  -webkit-line-clamp: 10;
}

.help-area__item .accordion .accordion-item h2 button {
  font-size: 17px;
}
.vision-mission .work-five__item h3 {
  font-size: 22px;
  text-align: center;
}
.vision-mission .work-five__item p {
  text-align: justify;
}
.abt-img img {
  width: 100%;
  height: auto;
}


.service-inner__content h3 {
  font-size: 22px;
  min-height: 70px;
}
.footer__copyright p {
  text-align: center !important;
  line-height: 20px;
}
.footer__copyright {
  padding: 4px !important;
}
.footer__copyright a:hover {
  color: #000;
}

/* Gallery Page */
.gallery .img-popup {
  position: relative;
}
.gallery .img-popup .text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 20px;
  line-height: 26px;    
  text-align: center;
  transition: var(--transition);
  opacity: 0;
}
.gallery .img-popup::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  transition: var(--transition);
  opacity: 0;
}
.gallery .img-popup:hover .text,
.gallery .img-popup:hover::after {
  opacity: 1;
}
.gallery .image-container a img {
  min-height: 270px;
  object-fit: fill;
  display: block;
}

/* testimonials */
.testimonial__item-content p {
  font-size: 16px !important;
  line-height: 25px;
}
.testimonial__item-head-info-con span {
    margin-top: 0px;
}

.event-slider img{
  border-radius: 6px;
}
/* Blogs Details Page */
.blog-details{
  display: flex;
  justify-content: center;
}
.blog__slider .btn-one{
  font-size: 16px;
}
.blog__slider .btn-one:hover {
  background: var(--primary-color);
}
.blog-image{
  border-radius: 8px;
}
.blog-two__item .blog-two__info {
  bottom: -25px;
  left: 15px;
  padding: 10px 15px;
}
.blog-two .donation__item {
  padding: 5%;
}
.blog-two__item .blog-two__info h4 {
  padding-bottom: 0px;
}
.blog-two .donation__item h3 {
  margin: 8px 0;
  line-height: 30px;
  min-height: 90px;
}
.blog-page-desc {
  padding: 2.5% 0%;
  line-height: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-two__item-arrow {
  margin-top: 5%;
}

/* Blogs Details Pages */
.blog-slingle .item {
  padding: 10px!important;
}
.blog-slingle .blog-details .blog-title{
  font-size: 34px;
  line-height: 40px;
  margin-top: 5px;
}
.blog-slingle .recent-post {
  padding: 10px;
  display: flex;
  justify-content: space-evenly;
}
.blog-slingle .recent-post .con {
  padding-left: 2.5%;
}
.blog-slingle .recent-post .con1 {
  text-align: end;
  padding-right: 2.5%;
}
@media only screen and (max-width: 767px) {
  .blog-slingle .recent-post .con1 {
    text-align: start;
  }
}
/* news and events  */
.news-events-details{
  display: flex;
  justify-content: center;
}
.news-events-details .img1 img{
  border-radius: 8px;
}


/* services section */
.service-single__left-item h1{
  font-size: 34px;
}
.service-details{
  display: flex;
  justify-content: center;
}

.header-five .header-section.menu-fixed {
  background-color: white !important;
}
.menu-fixed .header-wrapper .main-menu li a {
  color: black !important;
}
.menu-fixed .header-wrapper .main-menu .btn-one-white {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  border: 2px solid var(--primary-color);
}
.menu-fixed .header-wrapper .main-menu .btn-one-white span {
  color: var(--white) !important;
}


.menu-fixed .header-wrapper .main-menu .btn-one-white:hover:before,
.menu-fixed .header-wrapper .main-menu .btn-one-white:hover {
  background-color: var(--white) !important;
  color: var(--primary-color) !important;
}
.menu-fixed .header-wrapper .main-menu .btn-one-white:hover span {
  color: var(--primary-color) !important;
}
/* .menu-fixed .header-wrapper .main-menu .btn-one-white {
  background-color: var(--primary-color) !important;
  color: #000 !important;
  border: 2px solid #212529;
}
.menu-fixed .header-wrapper .main-menu .btn-one-white:hover {
  background-color: white !important;
  color: #000 !important;
  border: 2px solid var(--primary-color) !important;
} */

/* contact */
.contact .contact-info1 li :hover {
  color: #e68a00;
}

/* footer section */
.footer__item-blog span {
  margin-top: 0px;
}
.service-image img {
  border-radius: 8px;
}
@media (max-width: 768px) {
  .header-five .header-section {
    background-color: #fff6e3;
  }
  .header-five .header-bar span {
    background-color: var(--primary-color) !important;
  }
  .header-wrapper .logo-menu img {
    max-width: 200px;
  }
}
.gallery h5{
  font-size: 34px !important;
  font-weight: 700 !important;
  line-height: 40px !important;
}
.gallery h2{
  color: var(--primary-color) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 19px !important;
}
.accordion-header {
  line-height: 32px !important;

}
/* background images for the  9 service sections  */
.ms-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../../assets/images/service/medical-services-and-healthcare-facilities.png);
}
.wd-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../../assets/images/service/water-distribution-during-scarcity.png);
}
.sf-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../../assets/images/service/scholarships-and-financial-aid-for-students.png);
}
.tp-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../../assets/images/service/training-programs-for-skill-development.png);
}
.ei-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../../assets/images/service/essential-items-distribution.png);
}
.so-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../../assets/images/service/support-for-orphans.png);
}
.bd-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../../assets/images/service/blood-donation-camps.png);
}
.ru-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../../assets/images/service/rural-and-urban-development.png);
}
.tl-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../../assets/images/service/transforming-lives-affected-by-addiction.png);
 }
 .donation__item .blog-btn {
  margin-top: 8px;
  margin-left: auto;
 }
 @media (max-width: 991px) {
  .banner-three__slider .swiper-wrapper .swiper-slide .bg-seshaiah {
    background-position: 70% 70%;
  }
  .page-banner h2 {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 15px;
  }
  .event-two__content .time {
    font-size: 14px;
    justify-content: center;
  }
  .blog-slingle .blog_testimonial {
    padding: 7.5%;
  }
  .blog-slingle .blog_testimonial p {
    line-height: 1.1;
  }
  .blog-slingle .list_here {
    text-align: justify;
  }
  .blog-slingle .tag-share {
    flex-wrap: wrap;
    gap: 10px;
  }
  .blog-slingle .tag-share .tag a {
    font-size: 12px;
  }
  .contact .content {
    padding: 2.5%;
  }
  .contact .content ul li {
    margin-bottom: 15px;
  }
  .contact .content ul li a {
    font-size: 14px;
  }
  .contact .content ul li a i {
    width: 30px;
    min-width: 30px;
    height: 30px;
    line-height: 30px;
    margin-right: 5px;
  }
 }
  


  