/********** Template CSS **********/
:root {
  --primary: #ff6f0f;
  --secondary: #fff0e6;
  --light: #f8f8f9;
  --dark: #001d23;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 500;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
  color: #ffffff;
}

.btn.btn-primary:hover {
  color: var(--primary);
  background: transparent;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

/*** Navbar ***/
.fixed-top {
  transition: 0.5s;
}

.top-bar {
  height: 45px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: #ffffff;
  font-weight: 500;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

.logo img {
  width: 70px;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav {
    margin-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    background: var(--dark);
  }

  .navbar .navbar-nav .nav-link {
    padding: 10px 0;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    transition: 0.5s;
    opacity: 0;
  }

  .navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Header ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(0, 29, 35, 0.8);
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--dark);
  border: 12px solid var(--dark);
  border-radius: 3rem;
}

.carousel-item img {
  width: 100%;
  height: 725px;
  object-fit: cover;
}

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.page-header {
  padding-top: 12rem;
  padding-bottom: 6rem;
  background: linear-gradient(rgba(0, 29, 35, 0.8), rgba(0, 29, 35, 0.8)),
    url(../img/carousel-1.jpg) center center no-repeat;
  background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
  color: #999999;
}

/*** Causes ***/
.causes-item .progress {
  height: 5px;
  border-radius: 0;
  overflow: visible;
}

.causes-item .progress .progress-bar {
  position: relative;
  overflow: visible;
  width: 0px;
  border-radius: 0;
  transition: 5s;
}

.causes-item .progress .progress-bar span {
  position: absolute;
  top: -7px;
  right: 0;
  width: 40px;
  height: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background: var(--primary);
  color: #ffffff;
}

.causes-item .causes-overlay {
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  overflow: hidden;
  opacity: 0;
  transition: 0.5s;
}

.causes-item:hover .causes-overlay {
  height: 100%;
  opacity: 1;
}

.causes-item {
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}


.causes-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/*** Extra banner info *** */
.extra_banner {
  background-image: url(../img/mandir_bg.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  position: relative;
  z-index: 1;
  height: 100%;
}

.overlay {
  background: #000;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.6;
}

.extra_banner .banner_text {
  text-align: center;
  padding: 80px 0;
}

.extra_banner .banner_text h3,
.extra_banner .banner_text p {
  color: #fff;
}

/*** gallery area *****/
.image_gallery_area .gallery_img img {
  width: 100%;
  margin: 0 0 30px 0;
  height: 280px;
  object-fit: cover;
  border-radius: 5px;
}

.single_image img {
  height: 590px;
  width: 100%;
  margin: 0 0 30px 0;
  object-fit: cover;
  border-radius: 5px;
}

/* video gallery start */
.video-gallery iframe {
  width: 100%;
  height: 250px;
}

/*--------------- footer logo ----------------  */
.footer_logo img {
  width: 100px;
  margin: 0 0 20px 0;
}

.footer p{
  /* font-size: 14px; */
}

/* --------------- blog area ------------- */
.card {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.06);
}

.latest_blog .card-text {
  margin: 0 0 1rem 0;
  color: #787878;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.latest_blog a {
  overflow: hidden;
}

.latest_blog a img {
  transition: all 0.3s;
}

.latest_blog:hover a img {
  transform: scale(1.1);
}

.blog_details .main_image {
  height: 600px;
  width: 100% !important;
  object-fit: cover;
  margin-bottom: 30px;
}

/*** Service ***/
.service-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.06);
}

.service-item img {
  width: 90px;
  height: 90px;
  object-fit: cover;
}

/*** Donate ***/
.donate {
  background: rgba(0, 29, 35, 0.8);
}

.btn-group .btn-light:hover,
.btn-group input[type="radio"]:checked+label {
  color: var(--primary);
  border-color: var(--primary);
}

/*** Team ***/
.team-item img {
  position: relative;
  top: 0;
  transition: 0.5s;
}

.team-item:hover img {
  top: -10px;
}

.team-item .team-text h5 {
  margin-bottom: 0;
}

.team-item .team-text {
  padding: 15px;
  position: relative;
  height: 70px;
  transition: 0.5s;
}

.team-item:hover .team-text {
  margin-top: -30px;
  height: 80px;
}

.team-item .team-text .team-social {
  opacity: 0;
  transition: 0.5s;
}

.team-item:hover .team-text .team-social {
  opacity: 1;
}

.team-item .team-social .btn {
  display: inline-flex;
  color: var(--primary);
  background: #ffffff;
  border-radius: 40px;
}

.team-item .team-social .btn:hover {
  color: #ffffff;
  background: var(--primary);
}

.team-item h5 {
  font-size: 16px;
}

/*** Testimonial ***/
.testimonial-carousel::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 100%);
  z-index: 1;
}

.testimonial-carousel::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(to left,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 100%);
  z-index: 1;
}

@media (min-width: 768px) {

  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 200px;
  }
}

@media (min-width: 992px) {

  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 300px;
  }
}

.testimonial-carousel .owl-item .testimonial-text {
  background: var(--light);
  transform: scale(0.8);
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
  background: var(--primary);
  transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
  color: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
  background: var(--primary) !important;
}

.testimonial-carousel .owl-nav {
  position: absolute;
  width: 350px;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  opacity: 0;
  transition: 0.5s;
  z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
  width: 300px;
  opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  position: relative;
  color: var(--primary);
  font-size: 45px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: var(--dark);
}

/*** Footer ***/

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: rgba(255, 255, 255, 0.5);
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: rgba(255, 255, 255, 0.5);
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--light);
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .btn.btn-square {
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.footer .btn.btn-square:hover {
  color: var(--secondary);
  border-color: var(--light);
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--secondary);
}

.footer .copyright a:hover {
  color: var(--primary);
}

/* -------- contact us ------- */
.contact_details {
  text-align: center;
}

.contact_details .contact_icon i {
  font-size: 32px;
}

.contact_icon {
  margin: 0 0 10px 0;
}

/* ------------------- image gallery ----------------------- */

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.2s;
  display: none;
}

.gallery img.visible {
  display: block;
}

.image_list {
  margin: 0 0 20px 0;
}

.gallery img:hover {
  transform: scale(1.05);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination button {
  padding: 5px 15px;
  margin: 0 10px;
  border: none;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.2s;
}

.pagination button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.pagination button:hover:not(:disabled) {
  background-color: #0056b3;
}

#page-info {
  font-size: 16px;
}


#filter-buttons button {
  border-radius: 3px;
  background: #fff;
  border-color: transparent;
}

#filter-buttons button:hover {
  background: #ddd;
}

#filter-buttons button.active {
  color: #fff;
  background: var(--primary);
  padding: 6px 30px;
}

#filterable-cards .card.hide {
  display: none;
}

#filterable-cards .card {
  box-shadow: none;
  border: none;
}

.filter_tab {
  text-align: center;
  margin: 0 0 20px 0;
}

#filterable-cards .card {
  animation: animate 0.4s ease;
}

#filterable-cards .card .portfolio-wrap img{
  height: 280px;
  width: 100%;
  object-fit: cover;
}

@keyframes animate {
  0% {
    transform: scale(0.5);
  }

  100% {
    transform: scale(1);
  }
}

/* -------------- video gallery page ----------------- */

.visible {
  display: block !important;
}

.gallery img,
.video-gallery .single_video {
  display: none;
}

/* ------------------ donation ---------------------- */

.donation_box h5 {
  color: #ff6f0f;
  margin: 0 0 20px 0;
}

.qr_div {
  text-align: center;
}

.qr_img img {
  height: 120px;
}

/* media */
@media (max-width: 768px) {
  .about_text {
    margin: 30px 0 0 0;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
}

@media (max-width: 400px) {
  .logo img {
    width: 50px;
  }

  .about_area_page .about_image {
    min-height: 300px !important;
  }

  .other_logo {
    width: 120px !important;
    height: 120px !important;
  }

  .button_area {
    display: flex;
  }

  .button_area a {
    font-size: 12px;
  }

  .btn-sm-square {
    width: 26px;
    height: 26px;
  }

  .swami_image {
    padding: 0 !important;
  }

  .extra_banner .banner_text h3,
  .extra_banner .banner_text p {
    font-size: 14px;
  }
}

/*=========== event detail ============= */

.event_detail_img img {
  width: 100%;
  height: 550px;
  object-fit: cover;
}

.event_detail .row {
  margin-top: 30px;
}

.event_right_part {
  border-radius: 10px;
  background-color: #fff;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.event_right_part h2 {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 10px 15px;
  font-size: 25px;
  background-color: var(--primary);
  color: #fff;
  margin-bottom: 0;
}

.event_right_part ul {
  margin: 0;
  padding: 0 15px 15px 15px !important;
  list-style: none;
}

.event_right_part ul i {
  font-size: 25px;
  color: var(--primary);
}

.event_right_part ul li {
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid #d4d4d4;
}

.event_right_part .text p {
  margin-bottom: 0;
  font-weight: 500;
  color: #000;
}

.event_right_part ul:last-child {
  border-bottom: 0 !important;
}

.event_left_part h2 {
  font-size: 30px;
}

.middle_img {
  display: flex;
  align-items: center;
  height: 100%;
}



/* about change css */

.team-item img {
  width: 100%;
  height: 365px;
  object-fit: cover;
  object-position: top center;
}

.team-item p {
  margin-bottom: 0;
}

.about_area_page .swami_image {
  width: 100%;
  height: 550px;
  object-fit: cover;
  padding-top: 50px;
  padding-right: 50px;
  object-position: top center;
}

.about_area_page .sec_img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  padding-left: 8px !important;
  padding-bottom: 8px !important;
}


.about_area_page h1 {
  font-size: 40px;
  margin: 25px 0;
}

.all_title {
  font-size: 40px;
  margin-bottom: 30px;
}

.all_title1 {
  font-size: 40px !important;
  margin-bottom: 30px;
}

.new_team .team_list {
position: relative;
text-align: center;
  
}

.new_team .team_list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
}

/* .new_team .fream{
  position: absolute;
  top: -60px;
  z-index: -1;
  left: -21px;
}

.new_team .fream img{
  width: 350px;
  height: 350px;
} */

.member_details{
  text-align: center;
  /* margin: 30px 0 0 0; */

}

/* blog */
.latest_blog {
  height: 100%;
}

.latest_blog img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
}


.recent_post img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.recent_post {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #fff;
  margin-bottom: 15px;
}

.recent_post h6 {
  padding: 10px;
  margin-bottom: 0;
}

.blog_left h3 {
  font-size: 35px;
}





.carousel-item h1 {
  font-size: 45px;
}

.carousel-item p {
  font-size: 22px;
}


input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0; 
}