.slider-section {
  padding: 50px 0;
}

.slider-section .left-column {
  padding-right: 20px;
}

.slider-section .right-column .owl-carousel .item {
  background: #f8f9fa;

  padding: 20px;

  border-radius: 8px;

  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-nav .owl-prev,
.custom-nav .owl-next {
  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  background: #007bff;

  color: #fff;

  border-radius: 50%;

  width: 40px;

  height: 40px;

  display: flex;

  align-items: center;

  justify-content: center;

  cursor: pointer;

  z-index: 10;

  left: -50px;
}

.custom-nav .owl-next {
  margin-top: 50px;

  border: 1px solid #333 !important;
}

button.owl-prev {
  border: 1px solid #333 !important;
}

@media (max-width: 768px) {
  .slider-section {
    padding: 30px 0;
  }

  .custom-nav .owl-prev,
  .custom-nav .owl-next {
    left: -30px;
  }
}

/* .program-btn a{
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
} */
.program-card {
  padding: 30px;
  /* box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; */
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  border-radius: 15px;
  background-image: url("../images/my/stories/card-2.jpg");
  background-size: contain;
}

.program-card img {
  border-radius: 15px;
}

.program-card h5 {
  font-size: 24px;
  line-height: 34px;
  font-weight: 700;
  text-transform: capitalize;
}

.owl-item .active {
  margin-right: 150px !important;
}

.item {
  margin: 15px;
}

.program-decs {
  padding-right: 20px;
}

.green {
  border: 1px solid var(--anity-extra) !important;
}

.green:hover {
  background-color: var(--anity-extra) !important;
  color: #fff;
}

.green span {
  background-color: var(--anity-extra) !important;
}

.yellow {
  border: 1px solid #ffc107 !important;
}

.yellow:hover {
  background-color: #ffc107 !important;
  color: #fff;
}

.yellow span {
  background-color: #ffc107 !important;
}

.stories-section {
  background-color: var(--anity-extra-two);
}

.mission-two {
  background-image: url("../images/my/b1.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}

.about-three__img img {
  border-radius: 22px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.qoute {
  background-image: url("../images/my/qoute-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  height: 350px;
  background-position: center center;
  position: relative;
  background-color: rgba(255, 255, 255, 0.2);
  background-blend-mode: overlay;
}

.qoute-area {
  background-blend-mode: overlay;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 22px;
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset; */
  /* padding: 50px 20px; */
}

.qoute-text h5 {
  line-height: 1.5;
}

.name {
  padding-top: 30px;
}

.name h4 {
  font-size: 25px;
  /* adjust as needed */
  background: linear-gradient(90deg, #9b5607, #9ba0a0);
  /* gradient colors */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Outline effect */
  /* -webkit-text-stroke: 1px #000;  */
  font-weight: bold;
}

.name h5 strong {
  font-size: 16px;
  color: #333;
}

.testimonial {
  background: linear-gradient(135deg, #f7e5dd, #fef7eb);
}

.testimonial-left {
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
}

.testimonial-text {
  font-size: 18px;
  margin-top: 20px;
  line-height: 1.6;
  font-style: italic;
  color: #333;
}

.left-content {
  background-image: url("../images/my/testimonial/testimonial-bg.jpg");
  padding: 54px;
  /* border: 1px solid #9b5607; */
  border-radius: 22px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px,
    rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px,
    rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.author-info .author-name {
  font-size: 20px;
  font-weight: bold;
}

.author-info .author-role {
  font-size: 16px;
  opacity: 0.8;
  color: #9b5607;
}

.testimonial-img-wrapper {
  height: 100%;
  min-height: 400px;
  overflow: hidden;
  margin-bottom: -80px;
}

.object-cover {
  object-fit: cover;
}

.edu-list {
  list-style: none;
  padding-left: 0;
}

.edu-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 1rem;
}

.edu-list i {
  font-size: 16px;
  margin-right: 15px;
  background: linear-gradient(45deg, #585855, #1d1e81);
  color: white;
  padding: 10px 12px 10px 11px;
  border-radius: 50%;
  /* min-width: 40px; */
  text-align: center;
  height: 40px;
  width: 40px;
}

.edu-list strong {
  color: #070830;
  font-weight: 600;
}

@media (max-width: 576px) {
  .edu-list li {
    /* flex-direction: column; */
    align-items: flex-start;
  }

  .edu-list i {
    margin-bottom: 8px;
  }
}

.section-title__title {
  font-size: 35px;
}

.edu-list .icon-check {
  color: orangered;
  font-size: 18px;
  padding-right: 20px;
}

#highlight-area {
  background-color: #ffc107;
  padding: 50px 0px;
}

.my-text-highlight h5 {
  font-size: 25px;
}

.key {
  background-color: #ebb80f29;
  padding: 50px 0px;
}

h4.section-title__title {
  font-size: 25px;
  padding-top: 30px;
}

/* Newsletter csrd design */
.newsletter-card {
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.newsletter-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.newsletter-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.newsletter-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.btn-view {
  background-color: #ff5722;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-view:hover {
  background-color: #e64a19;
}

.my-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.my-points li {
  position: relative;
  padding-left: 2em;
  margin-bottom: 1em;
  color: #333;
}

.my-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  border: 2px solid #d38637;
  /* Outer ring */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.my-points li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 6px;
  height: 6px;
  background-color: #d38637;
  /* Inner dot */
  border-radius: 50%;
}

.my-bg {
  background: #d38637;
  color: #333;
}

/* Gallery css start */
.masonry-gallery {
  column-count: 3;
  column-gap: 1.5rem;
}

@media (max-width: 992px) {
  .masonry-gallery {
    column-count: 2;
  }
}

@media (max-width: 576px) {
  .masonry-gallery {
    column-count: 1;
  }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-img {
  position: relative;
  overflow: hidden;
}

.gallery-img img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

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

/* Overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-img:hover .overlay {
  opacity: 1;
  visibility: visible;
}

.gallery-icon {
  color: #fff;
  font-size: 28px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  padding: 12px;
  transition: background 0.3s;
}

.gallery-icon:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.gallery-content {
  padding: 15px;
}

.gallery-date {
  font-size: 14px;
  color: #888;
  margin-bottom: 5px;
}

.gallery-desc {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

/* Floating Upload Button */
.floating-upload-btn {
  position: fixed;
  color: #333;
  top: 50%;
  right: -26px;
  transform: rotate(271deg);
  z-index: 999;
  background-color: #ebb80f;
  color: #fff;
  border-radius: 50px;
  padding: 12px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-weight: 600;
  transition: background 0.3s;
}

.floating-upload-btn:hover {
  background-color: #000000;
  color: #fff;
}

/* Modal Styles */
.modal-body {
  padding: 2rem;
}

.upload-label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f7f7f7;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  border: 2px dashed #ccc;
  justify-content: center;
  transition: all 0.3s ease;
}

.upload-label:hover {
  background: #eaeaea;
}

.upload-label i {
  font-size: 20px;
}

#upload-input {
  display: none;
}

.preview-container {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.image-preview {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #ddd;
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.remove-img {
  position: absolute;
  top: 0px;
  right: 0px;
  background: #dc3545;
  color: #fff;
  border-radius: 50%;
  padding: 2px 6px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

@media (max-width: 576px) {
  .floating-upload-btn {
    padding: 10px 16px;
    font-size: 14px;
  }
}

.volunteer-details__img img {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.date-box h3 {
  margin-bottom: 20px;
}

.date-box h3 {
  font-size: 25px;
  background-color: #d38637;
  padding: 5px 10px;
  color: #fff;
}

.gallery-box .gallery-img {
  padding: 10px;
  border-radius: 15px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.gallery-content h5 {
  font-size: 17px;
  color: #575656;
}

.gallery-content h5 span {
  color: #be770d;
}

.gallery-item {
  margin-bottom: 25px;
}

/* tabs */
.my-tabs-nav {
  background-color: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  /* overflow: hidden; */
  flex-wrap: nowrap;
  justify-content: space-around;
  padding: 20px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.my-tabs-nav .my-tab-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #555;
  border: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  padding: 10px 15px;
  white-space: nowrap;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset,
    rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

.my-tabs-nav .my-tab-link.active {
  background-color: #ebb80f;
  color: #121212;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.my-tabs-nav .my-tab-link.active i {
  color: #121212 !important;
}

.my-tabs-nav .my-tab-link i {
  color: #404245;
  transition: color 0.3s ease;
}

.my-tab-content {
  padding: 20px 0px;
}

@media (max-width: 576px) {
  .my-tabs-nav {
    overflow-x: scroll;
  }

  .my-tabs-nav .my-tab-link {
    justify-content: flex-start;
    margin-bottom: 5px;
  }
}

.date {
  /* position: absolute; */
  /* top: -33px; */
  background: #ebb80f;
  color: #fff;
  width: fit-content;
  /* left: 0; */
  padding: 5px 15px;
  border-radius: 22px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.date p {
  font-size: 16px;
  color: #121212;
}

.date p i {
  color: #121212;
}

.member-floating-btn {
  position: fixed;
  color: #333;
  top: 30%;
  right: -26px;
  transform: rotate(271deg);
  z-index: 999;
  background-color: #ebb80f;
  color: #fff;
  border-radius: 50px;
  padding: 12px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-weight: 600;
  transition: background 0.3s;
}

.memnber-floating-btn:hover {
  background-color: #000000;
  color: #fff;
}

/* Gallery end */
.footer-widget-two__title {
  margin-top: 0px;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .testimonial-one__single {
    height: 348px;
    padding: 13px 14px 27px;
  }

  .testimonial-one__text {
    padding: 0px 0px 7px;
  }

  .testimonial-one__client-info {
    flex-wrap: nowrap;
  }

  .testimonial-one__client-name {
    font-size: 20px;
  }

  .testimonial-one {
    padding: 63px 0 0;
  }

  .blog-two {
    padding: 70px 0 68px;
  }

  .footer-widget-two__title {
    margin-top: 0px;
    margin-bottom: 18px;
  }

  .footer-widget-two__about-title {
    font-size: 25px;
    font-weight: 600;
    line-height: 36px;
  }

  .footer-widget-two__contact-list li p {
    font-size: 15px;
    font-weight: 400;
    color: #cfcfcf;
  }

  .site-footer-two__social a {
    height: 35px;
    width: 35px;
  }

  .blog-two__title {
    font-size: 17px;
    line-height: 23px !important;
  }

  .blog-two__single {
    height: 524px;
  }

  .site-footer-two__top-inner {
    padding: 50px 0 50px;
  }

  .cta-one {
    padding: 100px 0 100px;
  }

  .about-One {
    padding: 70px 0 70px !important;
  }

  .program-card {
    height: 420px;
  }

  /* .about-One__img img {
    height: 300px;
    width: auto;
  }

  .about-One__img-2 {
    top: inherit;
    bottom: -89px!important;
    right: 11px!important;
  } */

  /* .about-One__img-2 img {
    height: 200px;
    width: auto;
  } */

  .section-title__title {
    font-size: 30px;
  }

  .about-One__right {
    margin: 0px auto 0;
  }
}

@media only screen and (max-width: 768px) {
  .my-top {
    margin-bottom: 0px !important;
  }
}

.my-top {
  margin-bottom: 70px !important;
}

.team-one__name a {
  font-size: 18px;
}

.my-cta {
  background: #4b4ca9;
  padding: 20px 0px;
}

.my-cta .thm-btn {
  color: #fff;
}

/* Modal */
/* Custom popup styles */
.custom-popup-modal.fade .custom-popup-dialog {
  transform: translateY(-50px);
  transition: transform 0.3s ease-out;
}

.custom-popup-modal.show .custom-popup-dialog {
  transform: translateY(0);
}

.custom-popup-img {
  max-width: 100%;
  height: 500px;
  border-radius: 10px;
}

.custom-popup-content {
  border: none;
  background: transparent;
}

.custom-popup-close {
  position: absolute;
  top: -3px;
  right: 186px;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
  z-index: 10;
}

@media only screen and (max-width: 600px) {
  .custom-popup-img {
    height: auto;
  }
}

/* Modal End */
