*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure all slideshow images are uniform size */
.mySlides img {
  height: 600px;
  object-fit: cover;
}

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}


/* this is slide to container  */
.campaign-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px;
  padding-bottom: 60px;
  margin-bottom: 40px;
  box-sizing: border-box;
}

.campaign-scroll {
  display: flex;
  overflow: hidden;
  gap: 20px;
  animation: marquee 30s linear infinite;
  width: calc(100% * 2);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.campaign-card {
  max-width: 384px;
  min-width: 336px;
  height: 462px;
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  padding: 20px;
  padding-bottom: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12), 0 4px 10px rgba(0,0,0,0.08);
  flex-shrink: 0;
  border: 1px solid rgba(173, 89, 30, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.campaign-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15), 0 8px 15px rgba(0,0,0,0.1);
  border-color: rgba(173, 89, 30, 0.2);
}

.campaign-card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.campaign-card:hover img {
  transform: scale(1.02);
}

.item-info-index {
  height: 70px;
  width: 100%;
  overflow: hidden;
  margin: 15px 0 10px 0;
  padding: 0 5px;
}

.item-info-index p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3em;
  color: #2c3e50;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  text-align: center;
}

.scroll-buttons {
  position: absolute;
  top: 50%;
  width: 97%;
  display: none;
  justify-content: space-between;
  transform: translateY(-50%);
}

.scroll-buttons button {
  background: linear-gradient(135deg, #AD591E, #8B4513);
  color: white;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(173, 89, 30, 0.3);
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-buttons button:hover {
  background: linear-gradient(135deg, #8B4513, #AD591E);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(173, 89, 30, 0.4);
}

.donate_location {
  height: 25px;
  width: 100%;
  display: flex;
  align-items: center;
  margin: 8px 0;
  padding: 0 5px;
}

.donate_location p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.donate_location i {
  color: #AD591E;
  font-size: 0.9rem;
}

.donate_date {
  height: 25px;
  width: 100%;
  display: flex;
  align-items: center;
  margin: 8px 0;
  padding: 0 5px;
}

.donate_date p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.donate_date i {
  color: #AD591E;
  font-size: 0.9rem;
}

.donate_shere {
  height: 40px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  gap: 10px;
}

.shere1 {
  height: 40px;
  width: 48%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #AD591E;
  border: 2px solid #AD591E;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background: rgba(173, 89, 30, 0.05);
}

.shere1:hover {
  background: #AD591E;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(173, 89, 30, 0.3);
}

.donate {
  height: 40px;
  width: 48%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  background: linear-gradient(135deg, #AD591E, #8B4513);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(173, 89, 30, 0.3);
}

.donate:hover {
  background: linear-gradient(135deg, #8B4513, #AD591E);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(173, 89, 30, 0.4);
}

.donation_score {
  max-width: 100%;
  min-width: 200px;
  background: #f8f8f8;
  padding: 15px;
  border-radius: 15px;
  display:flex;
  justify-content: space-evenly;
  align-items: center;
}

#moti {
  width: 100%;
  height: 330px;
  border-radius: 8px;
  display: block;
}

.donation_raised1 {
  height: 80px;
  width: 200px;
  margin-top: 15px;
  text-align: center;
  border-radius: 10px;
  background-color: #FCF4F0;
  border: 1px solid #AD591E;
}

.donation_raised2{
  height: 60px;;
  width: 150px;
  margin-left: 10px;
  margin-top: 10px;
}

.donate_temples {
  height: 200px;
  width: 75%;
  background: #f8f8f8;
  padding: 15px;
  border-radius: 15px;
  display:flex;
  justify-content: space-evenly;
  align-items: center;
}

.works {
  height: 300px;
  width: 100%;
  background-color: #FFEACD;
}

.How_work {
  height: 70px;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

#know {
  margin-top: 10px;
  height: 40px;
  width: 130px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #AD591E;
}

.works_container {
  height: 200px;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.works_step1 {
  width: 200px;
  text-align: center;
}

.woman_donate {
  width: 50%;
  min-width: 90%;
  height: 500px;
  display: flex;
}

.woman_image {
  width: 50%;
  min-width: 35%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: scale(1.521);
  transform-origin: center;
}
.woman_layer{
  width: 60%;
  min-width: 40%;
  height: 100%;
  text-align: center;
}
.layer1 {
  width: 400px;
  min-width: 70px;
  height: 80px;
  background-color: #FFF4E4;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  border: 1px solid #AD591E;
  border-radius: 13px;
  margin-left: 300px;
  margin-top: 35px;
}

.nice_bg{
  height: 320px;
  max-width: 100%;
  min-width: 50%;
  background-size: cover;
}