

/* Scrolling content css */
.scrolling__wrapper {
    background: var(--donateBtn);
    overflow: hidden;
}

.floating-text {
  white-space: nowrap;
  font-size: 24px;
  animation: floatLeft 60s linear infinite; /* ⬅️ Increased from 15s to 40s */
  color: var(--bs-white);
  display: inline-block;
}

.scrolling__wrapper:hover .floating-text {
    animation-play-state: paused;
}

@keyframes floatLeft {
    from {
        transform: translateX(100vw);
    }
    to {
        transform: translateX(-100%);
    }
}

/* CSS for Rows, Columns, Headings, Titles, Subheadings, and Paragraphs */
.title__wrapper h4{
    color: var(--h4TextColor);
    font-size: 21px;
    font-weight: bold;
    text-transform: uppercase;
}
.title__wrapper h2{
    color: var(--h2TextColor) !important;
    font-size: 36px !important;
    font-weight: 600 !important;
}

/* Second btn */
.second__btn .cool-btn,.form__heading {
    background: var(--donateBtn);
    border: none;
    color: var(--bs-white);
    font-weight: 600;
    padding: 12px 24px;
    font-size: 21px;
    border-radius: 5px;
    box-shadow: 0 8px 20px rgba(255, 94, 98, 0.4);
    transition: all 0.3s ease-in-out;
    text-transform: capitalize;
    letter-spacing: 1px;
  }
  
  .second__btn .cool-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 132, 21, 0.4);
    filter: brightness(1.1);
  }
  .history__btn.second__btn::before {
    content: '';
    background: rgba(115, 21, 21, 1);
    position: absolute;
    height: 100%;
    width: 1.5px;
    top: 0;
    left: -24px;
}

/* Live update css */
.lotus-img {
    animation: lotusBloom 6s ease-in-out infinite;
    filter: drop-shadow(0 0 6px rgba(255, 170, 0, 0.6));
    transition: transform 0.4s ease;
  }
  
  .lotus-img:hover {
    transform: scale(1.1) rotate(3deg);
    filter: drop-shadow(0 0 12px rgba(255, 210, 50, 1));
  }
  
  @keyframes lotusBloom {
    0%, 100% {
      transform: translateY(0) scale(1);
      filter: drop-shadow(0 0 6px rgba(255, 170, 0, 0.6));
    }
    50% {
      transform: translateY(-5px) scale(1.08);
      filter: drop-shadow(0 0 12px rgba(255, 210, 50, 0.9));
    }
  }
  
  .card_block {
    position: relative;
    z-index: 1;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bs-white); /* Your card content background */
    padding: 35px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    transition: background 0.5s ease-in-out, transform 0.3s ease-in-out;
  }
  
  .card_block::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    padding: 3px;
    background: var(--donateBtn);
    border-radius: 10px;
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
  }

  .card_block:hover {
    transform: translateY(-5px);
    color: #fff; /* Optional: change text color for contrast */
    background: linear-gradient(97.06deg, #FFCC41 -17.85%, #FF8415 28.39%, #F24D16 74.63%);
  }

  .card_block:hover .right__info p{
    background: var(--bs-white);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
  }
  
  .card_block img.img-hover {
    display: none;
  }
  .card_block:hover img.img-default {
    display: none;
  }
  .card_block:hover img.img-hover {
    display: inline;
  }
  
  
  .card_block .right__info p{
    margin: 0 !important;
    font-weight: 600;
    /* background: var(--donateBtn); */
    background: var(--bs-black);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
  }
  .card_block .right__info p:nth-child(1){
    font-size: 25px;
  }
  .card_block .right__info p:nth-child(2){
    font-size: 18px;
  }
  
  .liveUpdate__cards{
    gap: 35px;
  }
  
  .title__wrapper .note{
    color: var(--h4TextColor);
    font-size: 18px;
    font-weight: 600;
  }
  
  .outline__btn {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 12px 24px;
    font-size: 21px;
    font-weight: 600;
    color: #f24d15;
    background-color: transparent;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
  }
  
  .outline__btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 5px;
    padding: 2px; /* Border thickness */
    background: linear-gradient(97.06deg, #FFCC41, #FF8415, #F24D16);
    -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    z-index: -1;
  }
  
  .outline__btn:hover {
    background: linear-gradient(97.06deg, #FFCC41, #FF8415, #F24D16);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 132, 21, 0.4);
    filter: brightness(1.1);
  }

.image-grid {
      padding: 20px;
      display: grid;
      grid-gap: 18px;
      height: 100%;
      grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

.image-grid img{
  max-width: 100%;
  height: 100%;
}

.grid-item-1{
  grid-area: 1 / 4 / 1 / 7;
}
.grid-item-2{
  grid-area: 1 / 1 / 2 / 4;
}
.grid-item-3{
  grid-area: 1 / 9 / 1 / 7;
}
.grid-item-4{
  grid-area: 2 / 1 / 2 / 3;
}
.grid-item-5{
  grid-area: 2 / 3 / 3 / 6;
}
.grid-item-6{
  grid-area: 2 / 6 / 2 / 9;
}


.grid-item-1,.grid-item-2,.grid-item-3,.grid-item-4,.grid-item-5,.grid-item-6,.grid-item-even {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.grid-item-1 img,.grid-item-2 img,.grid-item-3 img,.grid-item-4 img,.grid-item-5 img,.grid-item-6 img, .grid-item-even img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  display: block;
}

.grid-item-1::before,.grid-item-2::before,.grid-item-3::before,.grid-item-4::before,.grid-item-5::before,.grid-item-6::before, .grid-item-even::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s ease;
  z-index: 1;
}

.grid-item-1:hover::before,.grid-item-2:hover::before,.grid-item-3:hover::before,.grid-item-4:hover::before,.grid-item-5:hover::before,.grid-item-6:hover::before, .grid-item-even:hover::before {
  background: rgba(0, 0, 0, 0.2);
}

.grid-item-1:hover img,.grid-item-2:hover img,.grid-item-3:hover img,.grid-item-4:hover img,.grid-item-5:hover img,.grid-item-6:hover img, .grid-item-even:hover img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.devotee_cards p{
  font-size: 21px;
  font-weight: 700;
  margin: 0;
  padding: 15px 0;
}

.grid__form__wrapper {
  display: grid;
  grid-template-columns: 65% auto;
  gap: 30px;
  align-items: center;
}

.grid__form__wrapper .image-grid {
  padding: 0 !important;
  display: grid;
  grid-gap: 18px;
  height: 100%;
  grid-template-columns: 1fr 1fr 1fr;
}

.grid__form__wrapper .image-grid .grid-item-1{
  grid-area: 1 / 1 / 3 / 1;
}
.grid__form__wrapper .image-grid .grid-item-2{
  grid-area: 1 / 4 / 1 / 2;
}
.grid__form__wrapper .image-grid .grid-item-3{
  grid-area: 2 / 1 / 0 / 2;
}
.grid__form__wrapper .image-grid .grid-item-4{
  grid-area: 2 / 4 / 2 / 3;
}

 

.form-floating > .form-control,
.form-floating > .form-select,
.form-floating > textarea {
  transition: all 0.3s ease-in-out;
}

.form-floating > label {
  transition: all 0.3s ease-in-out;
}

.form-floating>.form-select {
  padding-top: 20px !important;
}
.form{
  padding: 1.5rem 0 !important;
  box-shadow: 0px 4px 9px 0px #00000040;
  border-radius: 10px;
}
.form__wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 2px;
  background: linear-gradient(97.06deg, #FFCC41, #FF8415, #F24D16);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 0; /* Put it behind form content */
  pointer-events: none; /* Allow clicks to pass through */
}

body .form-floating>.form-control, .form-floating>.form-control-plaintext, .form-floating>.form-select{
  border-radius: 5px !important;
  transition: all 0.3s ease-in-out;
  background: white;
  border: 1px solid #f2eaea !important;
}

/* Form validation */
.form-floating { position: relative; }
.error-msg { color: red; font-size: 13px; display: block; margin-top: 5px; text-align: start; }
.status-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    display: none;
}
input.invalid, textarea.invalid { border: 2px solid red; }
input.valid, textarea.valid { border: 2px solid green; }
.status-icon.valid { color: green; display: inline; }
.status-icon.invalid { color: red; display: inline; }



.myHomeSwiper {
  width: 100%;
  height: 100%;
}

.myHomeSwiper .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
}

.myHomeSwiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body .myHomeSwiperDekstop .swiper-pagination-clickable .swiper-pagination-bullet,
body .myHomeSwiperMobile span.swiper-pagination-bullet.swiper-pagination-bullet-active {
  cursor: pointer;
  /* margin: 0 4px; */
  width: 28px;
  height: 11px;
  z-index: 50;
  border-radius: 8px;
  background: #f6f6f6;
  opacity: 1;
}

body .myHomeSwiperDekstop span.swiper-pagination-bullet.swiper-pagination-bullet-active,
body .myHomeSwiperMobile span.swiper-pagination-bullet.swiper-pagination-bullet-active{
  opacity: 1;
    background: var(--donateBtn);
}

div#captcha-container {
  border-radius: 5px !important;
  transition: all 0.3s ease-in-out;
  background: white;
  border: 1px solid #f2eaea !important;
  display: flex;
  padding: 12px;
  text-align: left;
}
div#captcha-container button{
  border: none;
  background-color: transparent;
}

#captcha-timer{
  text-align: justify;
}
#captcha_input{
  text-transform: uppercase;
  padding-left: 6px;
  border: 1px solid #f2eaea !important;
  padding-top: 5px;
  padding-bottom: 5px;
  border-radius: 5px;
}

#staticBackdropPDF,
#staticBackdropAnnouncement{
  z-index: 100000;
}

#staticBackdropPDF .modal-dialog{
  max-width: 1000px !important;
}

div#staticBackdropPDF::before,
div#staticBackdropAnnouncement::before {
  position: absolute;
  content: '';
  top: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(15px);
  background: rgb(255 152 0 / 10%);
}

/* By default, show desktop and hide mobile */
.myHomeSwiperDekstop {
  display: block;
}
.myHomeSwiperMobile {
  display: none;
}

/* On mobile, hide desktop and show mobile */
@media screen and (max-width: 768px) {
  .myHomeSwiperDekstop {
    display: none;
  }
  .myHomeSwiperMobile {
    display: block;
  }
}

.about__illustrate{
  position: relative;
    left: 52px;
}
