/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery {
  overflow: hidden;
}

.gallery .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.gallery .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #d1d1d7;
  opacity: 1;
}

.gallery .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
}

.gallery .swiper-slide-active {
  text-align: center;
}

@media (min-width: 992px) {
  .gallery .swiper-wrapper {
    padding: 40px 0;
  }

  .gallery .swiper-slide-active {
    border: 6px solid var(--color-primary);
    padding: 4px;
    background: #fff;
    z-index: 1;
    transform: scale(1.2);
  }
}


/*------------------------
Donor Section 

----------------------*/
.donors .donor-wrap {
  padding-left: 50px;
}

.donors .donor-item {
  box-sizing: content-box;
  padding: 10px 10px 10px 60px;
  box-shadow: 0px 2px 12px rgba(44, 73, 100, 0.08);
  position: relative;
  background: #fff;
}


.donors .donor-item .donor-img {
  width: 90px;
  border-radius: 10px;
  border: 6px solid #fff;
  position: absolute;
  left: -45px;
}


.donors .donor-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

.donors .donor-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.donors .donor-item p {
  font-style: italic;
  margin: 15px auto 15px auto;
}



@media (max-width: 767px) {
  .donors .donor-wrap {
    padding-left: 0;
  }

  .donors .donors-carousel,
  .donors .donors-slider {
    overflow: hidden;
  }

  .donors .donor-item {
    padding: 30px;
    margin: 15px;
  }

  .donors .donor-item .donor-img {
    position: static;
    left: auto;
  }
}
/*------------------
Event Section ---------------
****/
.events {
  overflow: hidden;
}

.events .nav-tabs {
  border: 0;
}

.events .nav-link {
  border: 0;
  padding: 12px 15px 12px 0;
  transition: 0.3s;
  color: #2c4964;
  border-radius: 0;
  border-right: 2px solid #ebf1f6;
  font-weight: 600;
  font-size: 15px;
}

.events .nav-link.active {
  color: #FFFFFF;
  border-color: #1977cc;
  background-color: #1977cc;
  padding-left: 8px;
}

.events .nav-link:hover {
  color: #1977cc !important;
}

.events .nav-link.active:hover {
  color: #FFFFFF !important; 
}

.events .tab-pane {
  position: relative; 
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;

}

.events .tab-pane.inactive {
  animation: slideOutLeft 0.5s ease-out forwards, fadeOut 0.5s ease-out forwards;
}

.events .tab-pane.active {
  animation: slideInRight 0.5s ease-out forwards, fadeIn 0.5s ease-out forwards; 
}



@keyframes slideInRight {
  from {
    transform: translateX(100%); /* Start from off-screen right */
  }
  to {
    transform: translateX(0); /* Slide in to the center */
  }
}

@keyframes slideOutLeft {
  from {
    transform: translateX(0); /* Start from the center */
  }
  to {
    transform: translateX(-100%); /* Slide out to the left */
  }
}

.events .details {
  padding-left: 2.5em;
}


.events .details h3 {
  font-size: 26px;
  font-weight: 600;
  color: #2c4964;
}

.events .details p {
  color: #777777;
  font-size: 16px;
  line-height: 1.6;
}

.events .details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .events .nav-link {
    border: 0;
    padding: 15px;
  }

  .events .nav-link.active {
    color: #FFFFFF !important;   
  }

}

.event-banner img {
  max-width: 100% !important;
  max-height: 100% !important;
  border-radius: 10px;
  padding-bottom: 20px;
}

.events .member {
  position: relative;
  box-shadow: 0px 2px 15px rgba(44, 73, 100, 0.08);
  padding: 30px;
  border-radius: 10px;
}

.events .member .pic {
  display: flex;
  /* justify-content: center;
  align-items: center; */
  overflow: hidden;
  width: 180px;
  height: 180px;
  border-radius: 10%;
  background-image: url('/assetcentral/images/no_profile.png') ; 
  background-size: 80% 80%;
  background-repeat: no-repeat; 
  background-position: center;
}

.events .member .pic img {
  transition: ease-in-out 0.3s;
}

.events .member:hover img {
  transform: scale(1.1);
}

.events .member .member-info {
  padding-left: 30px;
}

.events .member h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
  color: #2c4964;
}

.events .member span {
  display: block;
  font-size: 15px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 500;
}

.events .member span::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: #b2c8dd;
  bottom: 0;
  left: 0;
}

.events .member p {
  margin: 10px 0 0 0;
  font-size: 16px;
}

.events .member .social {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.events .member .social a {
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 32px;
  height: 32px;
  background: #a0bcd5;
}

.events .member .social a i {
  color: #fff;
  font-size: 16px;
  margin: 0 2px;
}

.events .member .social a:hover {
  background: #1977cc;
}

.events .member .social a+a {
  margin-left: 8px;
}

/* Additional styles for responsiveness, if needed */
@media (max-width: 767px) {
  .event-banner img {
    margin-bottom: 20px;
  }
}


.rp0{
  padding: 0px !important
}

.right-padding-60{
  margin-right: 60px;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info {
  width: 100%;
  background: #fff;
}

.contact .info i {
  font-size: 20px;
  color: #1977cc;
  float: left;
  width: 44px;
  height: 44px;
  background: #d6e9fa;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #2c4964;
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: #4b7dab;
}

.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i {
  background: #1977cc;
  color: #fff;
}


/**
* Registration Button *
*/

.floating-buttons {
  position: fixed;
  top: 10px;
  right: 5px;
  z-index: 999;
}

.register-btn,
.login-btn {
  padding: 8px 8px;
  background-color: #3498db;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: box-shadow 0.3s ease; /* Add transition for box-shadow */
}

.register-btn:hover,
.login-btn:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); 
  background-color: #085b92;
}

@media (max-width: 400px) {
  .floating-buttons {
    position: fixed;
    top: unset;
    bottom: 0px !important;
    right: unset;
    left: 0px;
    z-index: 999;
  }
}

