/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

.fourpagebox .button {
  border: 2px solid #ccc;
  color: #6e6d6d;
}

.fourpagebox h3 {
  font-weight: 700;
  margin: 35px 0 20px 0;
  text-transform: uppercase;
}

.fourpagebox {
  padding: 0 15px;
  box-sizing: border-box;
  text-align: center;
}
.fourpagebox .thumbbx {
  width: 70px;
  height: 108px;
  line-height: 108px;
  margin: 0 auto;
  text-align: center;
  background: #004589;
  position: relative;
}
.fourpagebox .thumbbx:before {
  font-size: 0px;
  line-height: 0%;
  width: 0px;
  border-top: 12px solid #2975d1;
  border-right: 12px solid transparent;
  position: absolute;
  content: "";
  left: -12px;
  top: 0;
  transform: rotate(180deg);
}
.fourpagebox .thumbbx img {
  height: auto;
  min-height: 37px;
  vertical-align: middle;
  max-width: 37px;
  width: inherit;
  object-fit: contain;
}

.fadeInUp {
  animation-name: fadeInUp;
  animation-duration: 1s;
  animation-fill-mode: both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Testimonials Slider Widget Styles */
.testimonials-slider {
  position: relative;
  margin: 0 -15px;
  padding: 20px 0;
}

.testimonials-slider .slick-track {
  display: flex;
  align-items: stretch;
}

.testimonials-slider .item {
  height: auto;
  padding: 15px;
  display: flex !important;
}

.testimonials-slider .testimonial-box-bg {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
}

/* Hover animation */
.testimonials-slider .item:hover .testimonial-box-bg {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Quote icon */
.testimonials-slider .testimonial-box-bg p {
  position: relative;
  padding-top: 10px;
}

.testimonials-slider .testimonial-box-bg p:before {
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 60px;
  position: absolute;
  left: -10px;
  top: -20px;
  opacity: 0.1;
}

/* Improved navigation arrows */
.testimonials-slider .slick-prev,
.testimonials-slider .slick-next {
  z-index: 10;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.testimonials-slider .slick-prev {
  left: 0;
}

.testimonials-slider .slick-next {
  right: 0;
}

.testimonials-slider .slick-prev:hover,
.testimonials-slider .slick-next:hover {
  background: #004589;
}

.testimonials-slider .slick-prev:hover:before,
.testimonials-slider .slick-next:hover:before {
  color: #fff;
}

.testimonials-slider .slick-prev:before,
.testimonials-slider .slick-next:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #333;
  opacity: 0.75;
  transition: all 0.3s ease;
}

.testimonials-slider .slick-prev:before {
  content: "\f104";
}

.testimonials-slider .slick-next:before {
  content: "\f105";
}

/* Improved dots */
.testimonials-slider .slick-dots {
  bottom: -30px;
}

.testimonials-slider .slick-dots li {
  margin: 0 3px;
}

.testimonials-slider .slick-dots li button:before {
  font-size: 10px;
  color: #ccc;
  opacity: 1;
}

.testimonials-slider .slick-dots li.slick-active button:before {
  color: #004589;
}

/* Loading state */
.testimonials-slider.slick-loading {
  opacity: 0;
  visibility: hidden;
}

/* Fade animation for slides */
.testimonials-slider.fade-animation .slick-slide {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.testimonials-slider.fade-animation .slick-slide.slick-active {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .testimonials-slider {
    margin: 0 -10px;
  }

  .testimonials-slider .item {
    padding: 10px;
  }

  .testimonials-slider .slick-prev {
    left: -10px;
  }

  .testimonials-slider .slick-next {
    right: -10px;
  }

  .testimonials-slider .testimonial-box-bg {
    padding: 20px !important;
  }

  .testimonials-slider .tmthumb {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 10px !important;
  }
}

/* Gallery Grid Widget Styles */
.gallery-grid-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  width: 100%;
}

.gallery-grid-container.columns-1 {
  grid-template-columns: repeat(1, 1fr);
}

.gallery-grid-container.columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-grid-container.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-grid-container.columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-grid-container.columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-grid-container.columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.gallery-item-image {
  display: block;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

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

.gallery-item-label {
  margin-top: 10px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
  .gallery-grid-container.columns-5,
  .gallery-grid-container.columns-6 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .gallery-grid-container.columns-3,
  .gallery-grid-container.columns-4,
  .gallery-grid-container.columns-5,
  .gallery-grid-container.columns-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid-container.columns-2,
  .gallery-grid-container.columns-3,
  .gallery-grid-container.columns-4,
  .gallery-grid-container.columns-5,
  .gallery-grid-container.columns-6 {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Magnific Popup custom styles */
.mfp-bg {
  opacity: 0.9;
}

.mfp-arrow {
  opacity: 1;
}

.mfp-title {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  padding-right: 30px;
}

.mfp-counter {
  font-size: 14px;
}

/*-------------------------EVENTS CSS START------------------------*/
.column-event-wrapper {
  margin: 0 -15px;
  clear: both;
}
.column-event {
  float: left;
  width: 33.333%;
  margin: 0;
  padding: 15px;
  box-sizing: border-box;
  position: relative;
}
.column-event-left {
  line-height: 20px;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  position: relative;
}
.column-event-content {
  width: 100%;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 9999999;
  color: #fff;
}
.event-content {
  display: table;
  padding: 0 25px 10px 0;
}
.event-content span {
  text-transform: uppercase;
  font-size: 13px;
}
.event-content span i {
  margin: 0 3px 0 0;
}
.event-content span.left {
  padding-right: 5px;
}
.event-content .left,
.event-content .right {
  float: none;
  display: inline-block;
}
.event-content,
.event-content h3 {
  color: #ffffff;
}
.event-content h3 {
  margin: 0 0 0px 0;
}

.column-event-right {
  float: right;
  width: 29%;
  padding: 1.5% 0 1.5% 2.5%;
  box-sizing: border-box;
}
.column-event .event-image {
  background: #000000;
  width: 100%;
  height: 470px;
  margin: 0;
  position: relative;
}
.column-event .event-image:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 10;
  transition: all 0.3s ease;
}
.column-event:hover .event-image:before {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}
.column-event .event-image img {
  object-fit: cover;
  vertical-align: top;
  height: auto;
  opacity: 0.8;
  width: 100%;
  min-height: 470px;
  position: relative;
  z-index: 9;
  transition: all ease 1s;
  -webkit-transition: all ease 1s;
  -o-transition: all ease 1s;
  -ms-transition: all ease 1s;
  -moz-transition: all ease 1s;
}
.column-event .event-image-pastorby span {
  display: block;
  font-size: 12px;
  padding-bottom: 15px;
}
.column-event .event-image-pastorby {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  color: #ffffff;
  z-index: 999999;
  font-size: 24px;
  text-align: center;
}
.date-events {
  padding: 15px 5px;
  box-sizing: border-box;
  display: block;
  margin: 0 15px 25px -10px;
  float: left;
  background: #004589;
  color: #ffffff;
  width: 137px;
  box-sizing: border-box;
  text-align: center;
  font-size: 12px;
  position: absolute;
  z-index: 10;
  top: 7%;
}

.date-events:before {
  font-size: 0px;
  line-height: 0%;
  width: 0px;
  border-top: 10px solid #37a5ef;
  border-right: 10px solid transparent;
  position: absolute;
  content: "";
  left: 0;
  top: 100%;
  transform: rotate(90deg);
}

.date-events span {
  padding: 0 0 5px 0;
  font-size: 15px;
  display: block;
  font-weight: 600;
}
.vanuetiemhost i {
  text-align: center;
  float: left;
  margin-right: 10px;
  font-size: 18px;
  height: 38px;
  width: 38px;
  line-height: 38px;
  border: solid 1px;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
}
.vanue-tiem-host {
  font-style: italic;
  color: #000000;
  line-height: 22px;
}
.vanuetiemhost {
  width: 100%;
  display: table;
  margin: 0 0 10% 0;
}
.fullcolumn-event-right {
  padding-top: 5px;
  float: left;
  min-width: 20%;
}
.fullcolumn-event-right .vanuetiemhost {
  margin-bottom: 20px;
}
.fullcolumn-event-right .vanue-tiem-host strong {
  padding: 0;
}

.sermons-link {
  width: 90px;
  height: 90px;
  text-align: center;
  line-height: 100px;
  display: inline-block;
  margin: 35px;
  border: solid 1px #ff0000;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
}
.sermons-link i {
  font-size: 30px;
  color: #ffffff;
}
.sermons-icon {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
}

/* Responsive styles */
@media only screen and (max-width: 768px) {
  .column-event {
    width: 48%;
    margin: 0 4% 30px 0;
  }

  .column-event:nth-child(2n) {
    margin-right: 0;
  }

  .column-event.lastcols {
    margin-right: 0;
  }
}

@media only screen and (max-width: 480px) {
  .column-event {
    width: 100%;
    margin: 0 0 30px 0;
  }
}

/* Events Grid Styles - Updated to use CSS Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 30px;
  margin: 0 -15px;
  padding: 0 15px;
}

.events-grid.columns-1 {
  grid-template-columns: repeat(1, 1fr);
}

.events-grid.columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.events-grid.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.events-grid.columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Remove the float and width styles since we're using grid */
.events-grid .column-event {
  float: none;
  width: 100%;
  margin: 0;
  border-radius: 5px;
  overflow: hidden;
}

.main-page-wrapper {
  padding-top: 0px;
}
.large_vision_image {
  width: 100%;
  border: 5px solid white;
  border-radius: 10000px;
  overflow: hidden;
}
.small_vision_image {
  border: 5px solid white;
  border-radius: 10000px;
  overflow: hidden;
  width: 40%;
  aspect-ratio: 1;
  position: absolute;
  bottom: 0;
  right: 0;
}

/* Responsive grid adjustments */
@media only screen and (max-width: 992px) {
  .events-grid.columns-3,
  .events-grid.columns-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 576px) {
  .events-grid,
  .events-grid.columns-2,
  .events-grid.columns-3,
  .events-grid.columns-4 {
    grid-template-columns: repeat(1, 1fr);
  }
}

.events-widget-title {
  margin-bottom: 30px;
  text-align: center;
}

/* Event Card Animation */
.column-event.fadeIn {
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Add staggered animation delay for multiple cards */
.events-grid .column-event:nth-child(1) {
  animation-delay: 0.1s;
}
.events-grid .column-event:nth-child(2) {
  animation-delay: 0.2s;
}
.events-grid .column-event:nth-child(3) {
  animation-delay: 0.3s;
}
.events-grid .column-event:nth-child(4) {
  animation-delay: 0.4s;
}
.events-grid .column-event:nth-child(5) {
  animation-delay: 0.5s;
}
.events-grid .column-event:nth-child(6) {
  animation-delay: 0.6s;
}

/* Ensure event cards have consistent height */
.column-event-left {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.event-image {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.column-event-content {
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Ensure the event title has consistent height */
.event-image-title {
  min-height: 50px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Improve text readability with text shadow */
.event-content h3,
.event-content span,
.column-event .event-image-pastorby {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Ensure the content is above the overlay */
.column-event-content,
.column-event .event-image-pastorby {
  z-index: 11;
}

/* Team Members Styles */
.team-members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 30px;
  margin: 0 -15px;
  padding: 0 15px;
}

.team-members-grid.columns-1 {
  grid-template-columns: repeat(1, 1fr);
}

.team-members-grid.columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.team-members-grid.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.team-members-grid.columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.team-member {
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.team-member-image {
  position: relative;
}

.team-member-image:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member:hover .team-member-image:before {
  opacity: 1;
}

/* Ensure the image is behind the overlay */
.team-member-image img {
  position: relative;
  z-index: 0;
}

.team-member-info {
  padding: 20px;
}

.team-member-name {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 600;
}

.team-member-position {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
}

.team-member-bio {
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.team-member-contact {
  margin-bottom: 15px;
  font-size: 14px;
}

.team-member-email,
.team-member-phone {
  margin-bottom: 5px;
}

.team-member-social {
  display: flex;
  gap: 10px;
}

.team-member-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #333;
  transition: all 0.3s ease;
}

.team-member-social a:hover {
  background: #004589;
  color: #fff;
}

.team-member-social a.facebook:hover {
  background: #3b5998;
}

.team-member-social a.twitter:hover {
  background: #1da1f2;
}

.team-member-social a.instagram:hover {
  background: #e1306c;
}

.team-member-social a.linkedin:hover {
  background: #0077b5;
}

/* Team Member Animation */
.team-member.fadeIn {
  animation: fadeIn 0.8s ease-in-out;
}

/* Responsive styles */
@media only screen and (max-width: 992px) {
  .team-members-grid.columns-3,
  .team-members-grid.columns-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 576px) {
  .team-members-grid,
  .team-members-grid.columns-2,
  .team-members-grid.columns-3,
  .team-members-grid.columns-4 {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Circular image style */
.team-member-image.circle-image {
  border-radius: 50%;
  overflow: hidden;
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
}

.team-member-image.circle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* List layout */
.team-members-grid.list-layout {
  display: block;
}

.team-members-grid.list-layout .team-member {
  display: flex;
  margin-bottom: 30px;
  width: 100%;
}

.team-members-grid.list-layout .team-member-image {
  width: 200px;
  flex-shrink: 0;
}

.team-members-grid.list-layout .team-member-info {
  flex-grow: 1;
}

@media only screen and (max-width: 768px) {
  .team-members-grid.list-layout .team-member {
    flex-direction: column;
  }

  .team-members-grid.list-layout .team-member-image {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* Team Members Widget Styles */
.teammember-list {
  text-align: center;
  margin-bottom: 30px;
}
.team_column {
  width: 23%;
  float: left;
  margin: 0 2% 2% 0;
  position: relative;
  display: inline;
  display: inline-block;
}
.team_column h5 {
  margin-bottom: 5px;
}
.team_column h5 a {
  color: #fff;
}
.member-designation {
  color: #2e2e2e;
  display: block;
  margin-bottom: 15px;
}

.og-grid li:hover .memmberdetails {
  background-color: rgba(49, 202, 253, 0.7);
  padding: 10px 0;
  margin-top: -60px;
  position: relative;
  display: block;
}
.memmberdetails h5 {
  font-size: 18px;
  color: #fff;
  margin: 0;
}
.test {
  position: relative;
}
.team-thumb {
  background-color: #696969;
  width: 270px;
  height: 310px;
  overflow: hidden;
}
.team-thumb img {
  width: 100%;
  height: auto;
}
.og-grid li:hover .team-thumb img {
  opacity: 0.6;
}

.end {
  margin-right: 0 !important;
}

.buttonstyle2 {
  background-color: #555;
  color: #fff;
  padding: 6px 15px;
  font: normal 14px/20px;
  display: inline-block;
  border-radius: 20px;
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
}
.buttonstyle2:hover {
  background-color: #fff;
  color: #555;
}
.clientwrap p {
  text-align: center;
  font-size: 16px;
  margin-bottom: 25px;
}

.flipInX {
  animation-name: flipInX;
  animation-duration: 1s;
  animation-fill-mode: both;
}

@keyframes flipInX {
  from {
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    animation-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    animation-timing-function: ease-in;
  }
  60% {
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }
  80% {
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }
  to {
    transform: perspective(400px);
  }
}

/* Team Members Container Grid Styles */
.team-members-container {
  display: grid;
  grid-gap: 30px;
  margin: 0 -15px;
  padding: 0 15px;
}

.team-members-container.columns-1 {
  grid-template-columns: repeat(1, 1fr);
}

.team-members-container.columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.team-members-container.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.team-members-container.columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Responsive grid adjustments */
@media only screen and (max-width: 992px) {
  .team-members-container.columns-3,
  .team-members-container.columns-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 576px) {
  .team-members-container,
  .team-members-container.columns-2,
  .team-members-container.columns-3,
  .team-members-container.columns-4 {
    grid-template-columns: repeat(1, 1fr);
  }
}

.teammember-list {
  margin: 0;
  padding: 15px;
  position: relative;
  box-sizing: border-box;
  text-align: center;
}
.teammember-list:hover {
  cursor: pointer;
}
.teammember-list .thumnailbx {
  width: 100%;
  height: 315px;
  margin: 0 auto;
  position: relative;
  object-fit: cover;
  overflow: hidden;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
.teammember-list img {
  vertical-align: middle;
  width: 100%;
  min-height: 315px;
  height: auto;
}
.teammember-list span.title {
  font-weight: 600;
  color: #303030;
  font-size: 18px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  position: relative;
  display: block;
  text-transform: capitalize;
}
.teammember-list span.title:after {
  width: 35px;
  border-bottom: solid 1px #c0c0c0;
  margin: 0 auto;
  bottom: 0;
  left: 0;
  right: 0;
  position: absolute;
  content: "";
}
.teammember-list cite {
  display: block;
  font-style: normal;
  margin-top: 0;
  color: #333;
}
.titledesbox {
  text-align: center;
  padding: 25px 0 0 0;
  overflow: visible;
}
.member-social-icon {
  text-align: center;
  opacity: 0;
  position: absolute;
  bottom: 50px;
  margin: 0 auto;
  width: 100%;
  z-index: 100;
  transition-duration: 0.5s ease-in-out;
}
.member-social-icon a {
  margin: 0 5px 0 0;
  text-align: center;
  display: inline-block;
  color: #fff;
  width: 35px;
  height: 35px;
  line-height: 35px;
  border-radius: 4px;
}
.teammember-list:hover .member-social-icon {
  opacity: 1;
}
.teammember-list:hover .thumnailbx:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 69, 137, 0.6);
  z-index: 1;
  transition: all 0.3s ease;
}

.teammember-list .thumnailbx {
  position: relative;
}

.teammember-list .thumnailbx:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: 1;
  transition: all 0.3s ease;
}

/* Donation Progress Bar Widget Styles */
.donation-progress-container {
  position: relative;
  margin-bottom: 30px;
}

.donation-progress-bar {
  width: 100%;
  height: 10px;
  background-color: #f0f0f0;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.donation-progress-bar-fill {
  height: 100%;
  background-color: #d4af37;
  border-radius: 5px;
  transition: width 1.5s ease-in-out;
}

.donation-amounts {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-weight: 500;
}

.donation-amount {
  font-size: 18px;
}

.donation-current {
  color: #333;
}

.donation-target {
  color: #333;
}

.donation-percentage {
  font-weight: 700;
  margin-bottom: 5px;
}

/* Animation for progress bar on scroll */
.donation-progress-bar-fill.animated {
  animation: progressAnimation 1.5s ease-in-out;
}

@keyframes progressAnimation {
  0% {
    width: 0;
  }
}

/* Responsive styles */
@media (max-width: 767px) {
  .donation-amount {
    font-size: 16px;
  }
}

/* Image Gallery Widget Styles */
.gallery-container {
  display: grid;
  grid-gap: 30px;
  margin-bottom: 30px;
}

.gallery-container.columns-1 {
  grid-template-columns: repeat(1, 1fr);
}

.gallery-container.columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-container.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-container.columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-container.columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-container.columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

/* Gallery Item */
.gallery-item {
  position: relative;
}

.holderwrap {
  position: relative;
  overflow: hidden;
  background-color: #f9f9f9;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.holderwrap:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.holderwrap img {
  display: block;
  width: 100%;
  height: auto;
  transition: all 0.3s ease;
}

/* Caption Styles */
.holderwrap h5 {
  position: absolute !important;
  opacity: 0;
  z-index: 50;
  width: 100%;
  height: 100%;
  top: 0;
  color: white !important;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 69, 137, 0.8);
  transition-duration: 0.5s;
}
.holderwrap:hover h5 {
  opacity: 1;
}

/* Caption Positions */
.caption-position-below .holderwrap h5 {
  position: relative;
}

.caption-position-overlay .holderwrap h5 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.8);
}

.caption-position-hover_overlay .holderwrap h5 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.8);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.caption-position-hover_overlay .holderwrap:hover h5 {
  transform: translateY(0);
}

/* Hover Effects */
.hover-effect-zoom .holderwrap:hover img {
  transform: scale(1.1);
}

.hover-effect-zoom-reverse .holderwrap img {
  transform: scale(1.1);
}

.hover-effect-zoom-reverse .holderwrap:hover img {
  transform: scale(1);
}

.hover-effect-fade .holderwrap img {
  opacity: 1;
}

.hover-effect-fade .holderwrap:hover img {
  opacity: 0.7;
}

.hover-effect-grayscale .holderwrap:hover img {
  filter: grayscale(100%);
}

.hover-effect-sepia .holderwrap:hover img {
  filter: sepia(100%);
}

/* Responsive */
@media (max-width: 1024px) {
  .gallery-container.columns-5,
  .gallery-container.columns-6 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .gallery-container.columns-3,
  .gallery-container.columns-4,
  .gallery-container.columns-5,
  .gallery-container.columns-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-container.columns-2,
  .gallery-container.columns-3,
  .gallery-container.columns-4,
  .gallery-container.columns-5,
  .gallery-container.columns-6 {
    grid-template-columns: repeat(1, 1fr);
  }
}
